Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
38
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
38
2y ago
agreed the format parser is stupid, but thats more a cosmetic issue. its had the ability to create location aware dates since the first version 12 years ago
122.
▲
by
38
2y ago
about time, Go has had this since 2012: https://pkg.go.dev/time#Date
123.
▲
by
38
2y ago
> none of those options are alternatives to serde_json, unless you restrict yourself to serde_json::Value - which no one does in practice. check your facts, all the above options have derive support, serde is not special in that.
124.
▲
by
38
2y ago
more like an orange versus a slightly better orange
125.
▲
by
38
2y ago
thats over the course of like 5 years. maybe they get lost, or when I am jogging I am pouring sweat into them, so eventually they give out. they are cheap enough that I can stock up and then I dont have to go hunting for ones I like if I lo
126.
▲
by
38
2y ago
and this folks is why I will never buy airpods. for $249, I can get 8 pairs of these: https://electronics.sony.com/audio/headphones/in-ear/p/mdrex... have purchased 4 already, happy with my decision
127.
▲
by
38
2y ago
https://wikipedia.org/wiki/Poe's_law
128.
▲
by
38
2y ago
this 100%. serde is a bloated monster, its sad that its the popular JSON, because all it does is make Rust look bad in my opinion. here are some smaller options: https://lib.rs/crates/humphrey_json https://l
129.
▲
by
38
2y ago
this will panic: v := hello.(world) this never panic: v, ok := hello.(world) and yes, its awesome. people rag on Go because BLARG ERRORS BOILERPLATE, but if you can get over that Go is not Python/JavaScript, you're left with a sim
130.
▲
by
38
2y ago
that an who the fuck uses interface literals? I do Go personally and professionally for years and never seen it.
131.
▲
by
38
2y ago
duh, its localhost: https://github.com/biemster/FindMy/blob/113ebf4017729b92a381...
132.
▲
by
38
2y ago
what does that have to do with anything?
133.
▲
by
38
2y ago
> I think returning an iterator is acceptable, the docs could explain the expense of the operation, and the implementation could change in the future as needed. But that does hide some complexity. if a function returns an iterator, it sh
134.
▲
by
38
2y ago
no windows https://github.com/zed-industries/zed/issues/5394
135.
▲
by
38
2y ago
if you want your comments to make any sense, you need to use "key value" with every usage of "value", otherwise people are going to think "container value"
136.
▲
by
38
2y ago
> This type is about the order of its contents by value. No, by key.
137.
▲
by
38
2y ago
its completely pointless to make this an iterator, because you have to loop the entire map to do so, which kills any benefit of using iterators
138.
▲
by
38
2y ago
the point is you dont need it. by your own admission, it would save literally 0 lines of code from your current example. you need discipline when adding sugar otherwise you can ruin a language.
139.
▲
by
38
2y ago
> maps.SortedByKeys thats what you call overfitting kids
140.
▲
by
38
2y ago
sense... this comment makes none.
141.
▲
by
38
2y ago
this 100%
142.
▲
by
38
2y ago
he really doesn't need the make up - just makes him seem like a joke. otherwise great content
143.
▲
by
38
2y ago
Why is it not dated?
144.
▲
by
38
2y ago
Those methods are not magic pixy dust. Chain a few a those and you've looped through the entire array 3 times, instead of one for loop.
145.
▲
by
38
2y ago
> lean and kiss da fuq
146.
▲
by
38
2y ago
good point about the lindy
147.
▲
by
38
2y ago
infinitely doesn't mean what you think it means
148.
▲
by
38
2y ago
why fork chrome rather than another browser, or starting from scratch?
149.
▲
by
38
2y ago
are you being intentionally ignorant? the more browsers in popular use, the less control each has. currently Chrome has more usage than the other browsers combined: https://gs.statcounter.com/browser-market-share which mean
150.
▲
by
38
2y ago
doesn't work with windows https://github.com/versotile-org/verso/issues/118
More ›