Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonnytran
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
jonnytran
4mo ago
Some Rust libraries have started to implement unioning multiple error types and handling a subset of them while propagating the rest. But as far as I know, the idea hasn't caught on. Here are the crates I know of. https://gi
2.
▲
by
jonnytran
4mo ago
Is it time for the literate programming renaissance?
3.
▲
by
jonnytran
5mo ago
Have you tried Clojure?
4.
▲
by
jonnytran
1y ago
Somebody save Kathy Sierra’s blog! https://headrush.typepad.com/ I’ll try to archive it. I love her work. But even if I save it, it should live on somewhere else.
5.
▲
by
jonnytran
1y ago
Have you seen Scrappy? It’s still early, but it’s the most interesting thing I’ve seen in a while. https://pontus.granstrom.me/scrappy/
6.
▲
by
jonnytran
2y ago
Pinboard was a clone with a different business model: users actually paid for it. Fast forward, and delicious died, only to be acquired by — you guessed it — Pinboard [1]. Because Pinboard was actually serving its paying customers, it just
7.
▲
by
jonnytran
3y ago
Yes, I did this at my startup. Fast forward a few years, and now the company has more Rust code than Python, and the majority of the company's IP is in Rust. I suggest beginning with small, one-off things that don't have much impa
8.
▲
by
jonnytran
3y ago
Yeah, this is just baffling. A team can be so averse to learning new tools, good ones too, that they would rather dump their time into rewriting. Instead of getting paid to level up their skills, they'd rather block forward movement of
9.
▲
by
jonnytran
3y ago
How long ago was that?
10.
▲
by
jonnytran
3y ago
Better resources, like what? Please share links.
11.
▲
by
jonnytran
3y ago
The same author has a post from 2022 [1]. > Is it possible to achieve arbitrary code execution on any Go version, even with PIE, and with no package import at all, just builtins? Yes! Whether it's capture the flag is irrelevant, IMO
12.
▲
by
jonnytran
3y ago
It's unfortunate that there's no mention that not all these languages are equally safe. Go isn't memory safe when using goroutines. See: Golang data races to break memory safety: https://blog.stalkr.net/2015&#
13.
▲
by
jonnytran
3y ago
Hollow Knight
14.
▲
by
jonnytran
4y ago
Don't forget all the variations on how to use the format() method. # In order 'Hello, {}!'.format(who) # Numbered 'Hello, {0}!'.format(who) # Named 'Hello, {name}!'.format(n
15.
▲
by
jonnytran
4y ago
> Ruby not having first-class functions This is simply false. Ruby has first-class functions. Not only that, it has blocks, which few other languages have. Ruby optimizes for the common use-case of a method that takes a single callback
16.
▲
by
jonnytran
4y ago
I currently work for a company where one of my co-workers is a maintainer of the official Gitea repo. There was no mention of this anywhere prior to the blog post, including in private Discord channels. It has _not_ been public knowledge f
17.
▲
by
jonnytran
4y ago
Git isn't designed for "noobs trying to pick up coding just to experiment". It also isn't really designed for solo developers as the OP is about. Git is designed for collaboration. Git's UI is absolutely unintuiti
18.
▲
by
jonnytran
4y ago
I know you're asking about Computerphile, but this video explains how one of the Numberphile videos is wrong: https://www.youtube.com/watch?v=YuIIjLr6vUA
19.
▲
by
jonnytran
4y ago
When I was new to Ruby and hadn't learned the available tools yet, I had similar problems because I brought practices from other languages that didn't work. Typically, what you're describing is solved, in different ways depen
20.
▲
by
jonnytran
4y ago
This is simply false. Ruby modules are first class. They're objects that you can pass around like any other object. You can put them in a local variable. You can define methods on them. You can do metaprogramming using them. You
21.
▲
by
jonnytran
4y ago
The only thing I disliked more than moving from Ruby to Python was moving to Go. All the things I love about Ruby are the antithesis of Go.
22.
▲
by
jonnytran
4y ago
IMO, Ruby optimizes for reading. You simply cannot write concise code in Python as in Ruby. One reason (of many) is because of all the import statements required in Python. In Ruby, there is often only a single require statement, or may
23.
▲
by
jonnytran
4y ago
Did you try asking users to pay? I.e. tell your users, you're shutting down unless everyone starts paying. It could be Kickstarter style in that X number of users have to put in their payment information by some date, or you still sh
24.
▲
by
jonnytran
5y ago
And before someone criticizes Ruby for being inconsistent in how the method is called, Ruby isn't a callable oriented language [1]. The common case is calling methods, so the fact that you need to say `.call(5)` both makes it more con
25.
▲
by
jonnytran
5y ago
I second both of these. Even though they write a lot about tech, you can replace the specific technologies with the modern day equivalent and it's still relevant. For a lot of the topics, I haven't come across anything else that
26.
▲
by
jonnytran
5y ago
I started using the DuckDuckGo app on iOS to do exactly this. You can choose to "fireproof" any site you're on, adding it to a list of sites that's immune to clearing all data. I don't think it has a history featur
27.
▲
by
jonnytran
5y ago
This tells me that you've never used a well-managed language or framework. Those aren't the only two options. Ruby 1.9 was released around the same time as Python 3, with a similar amount of large breaking changes, and no one was
28.
▲
by
jonnytran
5y ago
Is there a 2021 update to this topic? How has the state of WASM changed? How have JS engines changed? Is it still a good idea to make these changes to your JS code?
29.
▲
by
jonnytran
5y ago
Can you elaborate on why you think they “botched” the standardization? I don’t know much about the topic, and I’m genuinely curious about what went right and wrong.
30.
▲
by
jonnytran
5y ago
Yes. It contributes to RSI. It's best to use thumbs for frequently used key modifiers.
More ›