News for hackers. Stuff that matters.

jshawl

Re:Ask HN: How to Start as Golang Developer? on Monday September 02, 2024 @09:00PM (#41430179)
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.

Re:Ask HN: What programming language should I learn? on Thursday August 29, 2024 @08:56PM (#41396847)
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/)

minisign - https://jedisct1.github.io/minisign/ super simple digital signatures!
Re:Ask HN: How do you get over charging for a product? on Wednesday December 07, 2022 @08:49PM (#33903064)
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.

The E-Myth Revisited: Why Most Small Businesses Don't Work and What to Do About It - https://www.goodreads.com/book/show/81948.The_E_Myth_Revisit...

Changed the way I think about being an independent contributor vs an entrepreneur.

Re:What makes brain fog so unforgiving on Monday September 12, 2022 @07:28PM (#32818725)
Re:Ask HN: What Are You Working On? (August 2022) on Monday August 01, 2022 @02:55PM (#32310559)
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.

Re:Ask HN: What do you use to build auth? on Wednesday June 29, 2022 @10:11AM (#31920360)
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

Re:Making popular Ruby packages more secure on Monday June 13, 2022 @08:21PM (#31733342)
FWIW signed packages are available out of the box with rubygems: <http://docs.seattlerb.org/rubygems/Gem/Security.html>
Re:DiffLens: Language Aware Diffs on GitHub Pull Requests on Thursday June 09, 2022 @08:45AM (#31680523)
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.

Re:Public CDNs Are Useless and Dangerous on Thursday June 09, 2022 @08:15AM (#31680229)
>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.)

Re:Americans overwhelmingly say marijuana should be legal on Wednesday April 21, 2021 @09:41PM (#26897717)
Is there another window in your house you can open so that the airflow comes in from the other side of the house?
Re:Deno 1.9 on Tuesday April 13, 2021 @10:31PM (#26802311)
I wish deno files had a different file extension. Editor gets confused often switching between front end typescript and deno typescript.
Re:Dropbox to cut 11% of its global workforce on Wednesday January 13, 2021 @12:33PM (#25765296)
I churned when Dropbox started removing features and asking for more money. e.g. limits on number of devices, more frequent nags, forcing me to unlink devices that had already been linked. I'm not going to be bullied into being a paying customer.
To be fair you have the burden of proof by asserting "computers connected to the internet can not be secured."
Re:I Created a Trading Simulator on Thursday December 03, 2020 @02:59PM (#25293866)
Risk tolerance?
If you say you're willing to accept an offer at 50K less than they had budgeted for, you just lost 50K.
but.. what if they lowball in the end? isn't that a reason to give up your expected salary?

IMHO I'd rather have the interview and negotiation experience than the time back. Practice makes perfect.

"I'm looking for the right fit in a career and am open to many different compensation options".

and then after three or so more iterations of that:

"I appreciate your persistence but there's truly no single thing, including salary, that would convince me to accept or pass on an offer"

Re:NPM Was Down on Thursday August 06, 2020 @06:06AM (#24069593)
oof just spent a solid 30 minutes trying to debug why I was getting 404s in a docker build. Thanks HN!
Re:Independence, autonomy, and too many small teams on Wednesday July 29, 2020 @10:41AM (#23987156)
My experience with this has been that when teams dissolve, new apis are created on top of the existing apis to avoid making changes to the original api. Debugging a production issue now involves a lot of finger pointing about which API is working correctly, and which one needs "the fix".
Re:Ask HN: How do you fall (back) asleep? on Tuesday July 28, 2020 @08:57AM (#23975186)
I don’t try to fight it. Get up, make a cup of coffee, start my day essentially. About 30 mins in I will feel like I need a nap. So I nap and then wake up at a reasonable hour.
Re:Ask HN: How do you develop internal motivation? on Friday June 19, 2020 @07:59AM (#23573456)
I've been thinking a lot about this Nietzsche quote lately:

> You great star, what would your happiness be had you not those for whom you shine?

This has made me question not a lack of internal motivation, but an abundance of external motivation. i.e. examining what ways I am motivated by how others will perceive me.

I am trying to appreciate the "eating straight from the packet" state of mind.

Re:Fears Grow of an Eviction Apocalypse on Friday June 12, 2020 @09:05AM (#23498797)
Not OP but my guess is that a new tenant signed the lease to move in. So, not evicted, but no chance to renew the existing lease.
Re:Ask HN: What kind of math do you study in your free time? on Wednesday June 10, 2020 @03:10PM (#23480872)
I'm working through Oscar Levin's "Discrete Mathematics" - http://discrete.openmathbooks.org/dmoi3.html

I studied philosophy in college and am hoping several years of programming experience since will shed some new and interesting light on one of my favorite topics.

I learned that if I follow the tutorial exactly I don’t care as much about what I am doing. Instead, I’ll swap out file names and functionality to something I’m more interested in working on. The small gap between my project and the tutorial means I have to really think about what I’m doing at each step, and at some point I’ll be able to keep progressing without the tutorial.
Re:Gatsby raises $28M Series B led by Index Ventures on Wednesday May 27, 2020 @05:40PM (#23330396)
You're right that HTML is generated with `gatsby build`.

All of the CSS is loaded from the webpack runtime though.

Older »