jshawl

Joined 13 years ago

Karma
117
Submissions
80
Member since
May 18
https://proof.im/jshawl/on-hn

[ my public key: https://keybase.io/jshawl; my proof: https://keybase.io/jshawl/sigs/5xSMqJqlIRbO0X6XBLVx1wQxrBgluOJxhh_8_lDCPr4 ]

View on Hacker News

Recent submissions

Comment · 2 years ago
https://gobyexample.com/ was helpful for me to understand what is possible with Go. Visit a topic that seems interesting or completely unfamiliar and try to think of a small exercise that will allow you to practice the topic.

Another thing I did was implement a common tool like `ls` or `tree` or `grep` using go. This will allow you to compare the output and performance of your program against the binaries provided by the OS.

Lastly, there are some really cool libraries out there (see https://charm.sh/) with great communities. Try building something small and ask for feedback in the Discord channel.

Comment · 2 years ago
Gleam is fantastic! https://gleam.run/ The syntax is familiar but there are several next-level features: - no conditionals (case all the way down) - `use` expressions - pipe operator

It compiles to either erlang or JavaScript, so I was able to jump right into building something fun with a new language.

>I previously gave Clojure a try, that was a pretty good fit, but the JVM / ecosystem put me off.

I felt similarly w/ leiningen (too much boilerplate) but was lisp-curious still so gave racket (https://racket-lang.org/) a try and appreciated the batteries included philosophy of the standard library and was inspired to learn more about writing a programming language (also see: https://beautifulracket.com/)

Comment · 2 years ago
minisign - https://jedisct1.github.io/minisign/ super simple digital signatures!
Comment · 3 years ago
Comment · 3 years ago
I saw a t-shirt from a local plant nursery that I absolutely loved. The price was $25 USD, and for me it was an instant purchase because I loved the design and wanted to support the business.

This purchase was the highlight of my day, if not the week, and I wear the shirt proudly often.

When I charge for things, I think about how I can create a similar experience: someone paying a few dollars thinking they're getting a great deal and supporting a business they want to see more from.

Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago
Proving identity and authentication with public keys: https://proof.im/jshawl

Signing a session claim to "log in" means I can authenticate users without storing any sensitive information.

Comment · 4 years ago
I'm exploring a signature-based authentication scheme here: https://github.com/jshawl/proof.im

At a high level:

1. Claim and prove ownership of a public key 2. Sign a session claim that links the handle with the public key 3. Service verifies the claim's signature was signed by the corresponding private key

Comment · 4 years ago
Comment · 4 years ago
I was curious about trying out my own diff so I went to the home page: https://www.difflensapp.com/ and didn't see an option.

It would be interesting to be able to append a github compare / pr / tree-ish link to see the diff via difflens, so maybe something like:

https://www.difflensapp.com/github.com/rails/rails/commit/7d...

would render that diff via diff lens. just an idea to get more people testing.

Comment · 4 years ago
>Meanwhile, if your caching reverse-proxy goes down, you have the option to immediately put a different caching service in front of your site, or temporarily serve static content from your servers directly, and get things working again with no code changes or backend deployments required

I think I'd prefer deploying a new CDN link to updating DNS. "No code changes or backend deployments" makes the assumption that DNS is a manual change (not terraform, etc.)

Comment · 5 years ago
Is there another window in your house you can open so that the airflow comes in from the other side of the house?
Comment · 5 years ago
I wish deno files had a different file extension. Editor gets confused often switching between front end typescript and deno typescript.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton