Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adamch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
adamch
6y ago
We kept running into this issue at my job. A lot of our original database queries for our Go service called db.QueryRow, not db.QueryRowContext. The former doesn't respect timeouts, the latter does. So I ended up writing my own wrapper
92.
▲
by
adamch
6y ago
The Rust teams discusses their post-Mozilla future here: https://blog.rust-lang.org/2020/08/18/laying-the-foundation-... TLDR: they're feeling pretty good.
93.
▲
by
adamch
6y ago
In a redesigned shell, ideally there would be a richer way to describe the result of a program. Maybe "return an integer and consult the manual to see what it means" isn't the best way forward. Personally, I think Result type
94.
▲
by
adamch
6y ago
Wow. He was right. I just changed my 15 inch Macbook Pro scaling away from default and WOW the text is clear. I also just turned my second monitor onto 144hz and WOW the animations are fast. My work from home setup just got significantly be
95.
▲
by
adamch
6y ago
Yep, this is exactly the use case I was talking about.
96.
▲
by
adamch
6y ago
Finally. Better late than never. I have to write a lot of Go code at $BIGCORP and keep reaching for generic helper functions like Keys or Map or Filter or Contains. This is going to make my code much more readable.
97.
▲
by
adamch
6y ago
> Tech is and should never be political I'm curious, do you think internet companies should refrain from releasing statements about political issues like net neutrality or the Patriot Act?
98.
▲
by
adamch
6y ago
Robodebt is definitely going to join the Tacoma Bridge collapse as an anti-example in ENG1001 Professional Engineering in Australian universities.
99.
▲
by
adamch
6y ago
You could say requesting dox is a form of violence. But it's a lot less violent than ordering the military to shoot people. It's reasonable that a policy of removing tweets that glorify violence would catch one but not the other.
100.
▲
by
adamch
6y ago
Cloudflare | Software/Systems Engineer | Full-time | Austin, TX USA or Lisbon, Portugal | Onsite | https://g.co/kgs/t6N2jb I work on Argo Tunnel at Cloudflare. It lets you run servers on localhost and route traffi
101.
▲
by
adamch
7y ago
This makes sense. My guess is that Amazon was lower prices by taking a loss on this service, trying to scale it up. They definitely have the cash necessary to sustain losses until they can drive down competition!
102.
▲
by
adamch
7y ago
+1 to the Rust Discord being _really_ helpful. If you can provide an example on play.rust-lang.org, someone will definitely help you.
103.
▲
by
adamch
7y ago
The USSR/Maoist China were authoritarian communist regimes. I'm not sure how that's relevant to the democratic socialism of Sanders etc.
104.
▲
by
adamch
7y ago
I think you're thinking of Everything Is Broken by Quinn Norton https://medium.com/message/everything-is-broken-81e5f33a24e1
105.
▲
by
adamch
7y ago
I admit, when I moved to the US, I didn't expect "likelihood of arresting my children" to be a factor I'd need to consider in choosing schools.
106.
▲
by
adamch
7y ago
You can always use a fixed-precision numeric type. You might be thinking "what about libraries that require floating-point", and that's a good concern. Luckily in Haskell there's the Num typeclass, so your libraries can
107.
▲
by
adamch
7y ago
How is this fundamentally different from the electorate voting for an army to protect them, or firefighters to put out their fires? These are also paid for by taxes and where the electorate will vote for their own benefit. Aren't the e
108.
▲
by
adamch
7y ago
Is this confounded by the number of Americans would _want_ treatment, but can't afford it or can't access it via their health insurance?
109.
▲
by
adamch
7y ago
I don't understand why this wasn't done via Google Forms instead. A bunch of sites each reporting some numbers, which are then tallied and analyzed separately. Why is a whole app infrastructure necessary?
110.
▲
by
adamch
7y ago
Or in functional rust (1..5) .into_iter() .filter(|i| i % 3 == 1) .map(|i| i * i) .sum(); I don't know if we really need a new syntax for map reduce.
111.
▲
by
adamch
7y ago
This is simply untrue. The great thing about being bald is you can never have a bad haircut. Bald men, like men with long hair, or women with really short hair, appeal more to some people and less to others. But there's definitely no n
112.
▲
by
adamch
7y ago
80% of male attractiveness comes down having a good haircut and clothes that fit you. Assuming you're in SF and have a high-paying software job. Find a hair stylist in a mid-range salon who you can actually talk to, show them some pict
113.
▲
by
adamch
7y ago
The Masters of Rome novels by Colleen McCullough are historically accurate, incredibly dramatic, gripping and realistic. They tell the story of Rome from the birth of Caesar in the Republic to the ascension of his successor Augustus in the
114.
▲
by
adamch
7y ago
Whistleblower is the title of her book.
115.
▲
by
adamch
7y ago
Buckle up your seatbelt, I've got some bad news about the detention centers in Australia...
116.
▲
by
adamch
7y ago
Almost! It's like the Holocaust, where Jewish people kept trying to sneak into Poland (and got sent to concentration camps), because they were trying to escape Germany.
117.
▲
by
adamch
7y ago
A few weeks ago there was another story about air pollution and cognitive decline that made it onto the frontpage. I noticed that most of the comments on that story were people discussing air filters, respirators, etc. I wanna get ahead of
118.
▲
by
adamch
7y ago
This is a really beautiful way to demo this feature. Thanks!
119.
▲
by
adamch
7y ago
Strange. I'm on a Macbook and this page nukes my CPU on FF Nightly, but not on Chrome.
120.
▲
Civility Is Overrated
(theatlantic.com)
1 points
by
adamch
7y ago
|
0 comments
More ›