Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
38
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
38
2y ago
Big difference between getting rows and changing rows
182.
▲
by
38
2y ago
> Pull Request-like Review/Approval flow for database queries Terrible description IMO. a query should not need approval. Should use mutation or edit or update or modification. Even if query is technically correct it just sounds wro
183.
▲
by
38
2y ago
> const float f = *data++; cursed code. people might say "oh that's normal idiomatic C", I don't care. I am glad Go does not allow code like this
184.
▲
by
38
2y ago
see for yourself https://github.com/golang/go/commits/master/src/crypto
185.
▲
by
38
2y ago
Thank goodness. I am kind of sick of the constant churn in the crypto package. I get that you want to keep up to date with security, but the entire crypto tree is basically a playground for Filippo Valsorda at this point. Meanwhile stuff th
186.
▲
by
38
2y ago
Little trick with xml.Decoder. unlike unmarshal, decoder ignores any garbage after the XML, which is nice if you want to parse HTML without dealing with the DOM
187.
▲
by
38
2y ago
Title edit results in nonsense, here is original Netflix wants managers to ask themselves whether they would rehire their current employees
188.
▲
by
38
2y ago
Exactly why I have a whitelist https://github.com/3052/blog/blob/main/2024-06/ublock-origin...
189.
▲
by
38
2y ago
wrong https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
190.
▲
by
38
2y ago
http://avtok.com/2014/11/05/interface-upgrades.html#the-prox...
191.
▲
by
38
2y ago
> It's better that I don't name an example as you should always be on the lookout for (until having learned) them. "this gun will shoot you in the foot in some cases. It's better that I don't name an example as y
192.
▲
by
38
2y ago
what does this even mean?
193.
▲
by
38
2y ago
> get rid of most zoning regulations "most" is doing a lot of work here. don't forget you probably don't want to live next to an airport, railroad, chemical plant
194.
▲
by
38
2y ago
thanks :) https://wikipedia.org/wiki/Ward_Cunningham#%22Cunningham's_L...
195.
▲
by
38
2y ago
not at all - you ever tried to export or unexport an identifier module wide? its a huge fucking pain in the ass - versus a one line change with other languages
196.
▲
by
38
2y ago
> for i, v := range someSlice { ... what a ridiculous comment - every single programming language has this or similar syntax for iterating a slice.
197.
▲
by
38
2y ago
no there arent
198.
▲
by
38
2y ago
> scanner.Scan, strings.Split, regex.FindAll or sql.Query should return iterators Will never happen. Best you can hope for is new functions
199.
▲
by
38
2y ago
> No hidden magic thats the whole point of the article. this change trashes that. now many loops are going to have hidden magic
200.
▲
by
38
2y ago
jesus. both of those examples are awful. I dont mean that as a statement against the author, I mean it as a statement to the language designers. people are gonna start writing code like this, or worse, and Go is gonna end up like many other
201.
▲
by
38
2y ago
https://wikipedia.org/wiki/Ward_Cunningham#%22Cunningham's_L...
202.
▲
by
38
2y ago
jesus. both of those examples are awful. I dont mean that as a statement against the author, I mean it as a statement to the language designers. people are gonna start writing code like this, or worse, and Go is gonna end up like many other
203.
▲
by
38
2y ago
no, they dont.
204.
▲
by
38
2y ago
God damn it, I still have no idea what the context package does
205.
▲
by
38
2y ago
This addon cannot be installed because it has not been verified
206.
▲
by
38
2y ago
> You don't need Mozilla's approval; anyone can publish an add-on anywhere and anyone can install it in Firefox. Nope. Not on Android.
207.
▲
by
38
2y ago
you seem to be intentionally downplaying the dangers of this software, under the guise of pedantry. please stop.
208.
▲
by
38
2y ago
> downsize or get a better job wow great idea, why didn't I think of that
209.
▲
by
38
2y ago
Good riddance. These days I download a repo and "go build". That's literally it. I used C/C++ for years, and it was always a nightmare to build something, unless it was completely self contained. When your "packagi
210.
▲
by
38
2y ago
Is this a joke comment?
More ›