Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chris_st
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
chris_st
5y ago
Excellent! I really like the idea of doing a lot of small, unique exercises. Even something as simple as, "Okay, you built a linked list of integers, now start from an empty file and write a linked list of floats, then do the same for
242.
▲
by
chris_st
5y ago
As much as I agree with a lot in this article, I totally don't understand the "Code Kata" thing promoted by Uncle Bob Martin and others. I understand drilling a specific skill in the arts, but writing the same piece of code
243.
▲
by
chris_st
5y ago
Yup. When I was painting, I spent some time thinking about what it "meant" to be an artist. I finally decided that an artist is just executing a vision in some particular medium.
244.
▲
by
chris_st
5y ago
This question came up in a guitar discussion group I'm part of. Someone who was really good at the drills wasn't happy, because they could kind of only do the drills. You have to perform eventually, which for painting is finishi
245.
▲
by
chris_st
5y ago
You may be able to tell from this reply that I've never built a JSON parser and prettyfier :-) but I'd guess that in this case, I'd never have any reason to ask for a bit of the JSON "out of order", so I'd just
246.
▲
by
chris_st
5y ago
Turns out it's the default implementation in Ruby as of 2.7 or so as well.
247.
▲
by
chris_st
5y ago
> * It's a little bit like asking what's the use of a linked list.* Well, no, it's more like asking why you'd use data structure X instead of Y. I was asking why you'd want that property as part of your data st
248.
▲
by
chris_st
5y ago
The surprising/interesting thing about this article is the notion that insertion order is the order that you want to iterate through a hash map. In my experience, I'm doing either (A) using them as associative memory (I want the v
249.
▲
by
chris_st
5y ago
Maybe some kind of vertical line through the hex, say green on left, blue on the right, and as the line moves away from the middle it's obvious which side is gaining influence there? When it hits one side or the other, it's locked
250.
▲
by
chris_st
5y ago
No sarcasm intended at all on my part -- I think this is a very good move. SMS is very bad as a 2FA, in that someone can fairly easily social-engineer your phone company to send them a new SIM card for your account, and once it's in
251.
▲
by
chris_st
5y ago
For whatever it's worth, the US government has shown itself to be spectacularly bad at keeping secrets (proof left as an exercise for the reader).
252.
▲
by
chris_st
5y ago
Well... I think that if they don't require 2FA, then, well, they don't require 2FA, and not having SMS is neither worse nor better. If they do require it, then I believe the consensus is that 2FA via SMS is a very bad choice. An
253.
▲
by
chris_st
5y ago
Indeed. I really love the Kind of Bloop[0] album, an 8-bit tribute to Kind of Blue[1] by Miles Davis (often cited as the best-selling jazz record of all time). Example song here[2]. [0] https://kindofbloop.com [1] https:/&
254.
▲
by
chris_st
5y ago
Got an email from Heroku last night saying they're discontinuing SMS as a 2FA scheme... yay Heroku!
255.
▲
by
chris_st
5y ago
Well, you don't have to be Jewish or an atheist to think that standing around for eternity singing hymns sounds boring! And I didn't mean to be pushy about shopping around, but just to slightly counter the idea that church is, by
256.
▲
by
chris_st
5y ago
Thanks, I keep hearing about NT Wright, I'll have to look into his stuff. It's hard to imagine a God bigger (in various non-physical dimensions) than us, and that "making God in our image" just is so limiting. Notably, K
257.
▲
by
chris_st
5y ago
That's brilliant, thanks. Also there's things "everyone knows" which are "supported by scripture" that are, in fact, nowhere in the Bible.
258.
▲
by
chris_st
5y ago
> 2. [...] Again, consider Christian Heaven: singing hymns doesn't sound like loads of endless fun, but you're supposed to enjoy praying, so no one can point this out. Clearly written by someone who's either never been to
259.
▲
by
chris_st
5y ago
Sounds great! One question about pricing -- I can't tell if the "free" tier costs are for one month, or ongoing. That is, do you get the free tier amounts for one month and then pay from then on, or is that level of service f
260.
▲
by
chris_st
5y ago
Having written a lot of parsers, I really loved how you put a newline in a "keyword"-type thing, just to keep it interesting :-)
261.
▲
by
chris_st
5y ago
I bought a bass recently, which came with three free months of Fender Play [0]. I'm happy with it -- yeah, I've skipped stuff since I already know note values, scales, etc., but I like their progression. They have a number of diff
262.
▲
by
chris_st
6y ago
The "Flash Forward" podcast did a great episode on Akon's projected cities and similar celebrity projects here [0] (you can listen directly from the webpage without downloading anything). Really enjoy that podcast, well resea
263.
▲
by
chris_st
6y ago
Observability, for one. In the article, the author talks about the Y-junction that has a flag that directs the train, and the train flips it in some cases, and not in others. Being able to see exactly what happens the moment it happens is j
264.
▲
by
chris_st
6y ago
Thanks! That's a much cleaner implementation, and I learned some cool nim. I got a note on GitHub with a similar implementation, so I went with theirs. And, cool, "BS-scaling" is my new term of art :-)
265.
▲
by
chris_st
6y ago
Thanks for doing a nim version! I've been learning nim, and am very much a beginner, so I thought I'd tackle a simple version [0]. I'd appreciate any critiques... I don't know how idiomatic it is. Honestly, the optimi
266.
▲
by
chris_st
6y ago
We were using a consultant for a while whose (temporary, I believe) office was in a friend's architecture office/studio. I remember seeing these very artsy steel-tubing-and-leather-sheets-at-weird-angles chairs, and scoffing. My
267.
▲
by
chris_st
6y ago
Thanks! Doing a game in Defold right now, really liking it. Glad to have this reference.
268.
▲
by
chris_st
6y ago
Commentary from the 60's: There was a young girl named McCall Wore a newspaper dress to a ball The dress caught fire And burned her entire Front page, sporting section, and all.
269.
▲
by
chris_st
6y ago
Nim has garbage collection, Zig you must manage memory on your own. Each side has pros and cons.
270.
▲
by
chris_st
6y ago
Nope, no relationship, and I don't even remember how I found them :-). I added that link to pinboard in November, 2019, so they've been around at least that long. But by all means reach out to me if you've got a winning opt
More ›