Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fleventynine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
181.
▲
by
fleventynine
4y ago
No tests can be better than a bunch of brittle mock object tests that don't test anything important. Thankfully it's very easy to delete them. If changing one line of code regularly requires me to update mocks in 100 test cases,
182.
▲
by
fleventynine
4y ago
Correlation is not causation. Without a proper randomized trial, these observations aren't worth much. The sort of people that keep their Tdap vaccination up to date likely do other things that reduce their risk (or are just in a bette
183.
▲
by
fleventynine
4y ago
The USB host controller does the polling in hardware. The cpu does not get involved until a key is pressed (the host controller can interrupt the cpu, telling it that new data is available).
184.
▲
by
fleventynine
4y ago
The histograms are useful on their own (visualized as a heatmap). If percentile lines are necessary (and they often aren't), I prefer to overlay them on top of the heatmap so it is clear where the bucket edges are.
185.
▲
by
fleventynine
5y ago
Some observations after using many different testing philosophies on many different teams in the past 20 years: 1. Unit tests for code with no side effects (code that takes well defined input and produces well-defined output) are easy to wr
186.
▲
by
fleventynine
5y ago
More anecdotes that omicron infected patients are not a huge problem in highly vaccinated areas: https://www.sfgate.com/bayarea/article/COVID-San-Francisco-s...
187.
▲
by
fleventynine
5y ago
https://www.thestar.com/news/gta/2022/01/11/are-you-for-or-w... For what it's worth, I've been trying to find evidence of hospitals running out of ICU beds due to Omicron, but I'm not
188.
▲
by
fleventynine
5y ago
A marriage certificate that you bought from some random guy on the street and has no legal significance.
189.
▲
by
fleventynine
5y ago
It does say that, but I'm still skeptical. Shouldn't the total number of beds in use also be skyrocketing along with the Covid number? Also: ""In ICU” numbers include people testing positive for COVID-19 and people who a
190.
▲
by
fleventynine
5y ago
FYI: the number of ICU beds in use in Ontario has been trending down over the last 4 days: https://covid-19.ontario.ca/data/hospitalizations#hospitaliz... Over those same 4 days, a significantly increasing number of th
191.
▲
by
fleventynine
5y ago
Incrementing an atomic counter every time a reference is copied is a significant amount of overhead, which is why most runtimes prefer garbage collection to reference counting (that, and the inability of referencing counting to handle cycle
192.
▲
by
fleventynine
5y ago
I'm not super familiar with Swift, but I don't see how it could be memory-safe in a multi-threaded context without some sort of borrow checker or gc. So I think it is rejected by question #2.
193.
▲
by
fleventynine
5y ago
If it can really guarantee single-digit microsecond pauses in my realtime thread no matter what happens in other threads of my application, that is indeed a game changer. But I'll believe it when I see it with my own eyes. I've ne
194.
▲
by
fleventynine
5y ago
By complicated I guess I mean "lots of types". Static typing makes up for its cost once I can't keep all the types in my head at the same time. Point number 2 excludes pretty much all network-connected software, and that'
195.
▲
by
fleventynine
5y ago
My language selection checklist: 1. Does the program need to be fast or complicated? If so, don't use a scripting language like Python, Bash, or Javascript. 2. Does the program handle untrusted input data? If so, don't use a memor
196.
▲
by
fleventynine
5y ago
It depends on your camera's low light sensitivity and how much noise you can tolerate. A cheap prime lens will let in an order of magnitude more light than a cheap kit lens. And some folks want that creamy bokeh effect behind them.
197.
▲
by
fleventynine
5y ago
Ignore the drama. The language in its current state is great, and will survive bureaucratic spats. Other languages may be more ergonomic or have more batteries included, but none of them can offer the holy grail of memory safety without gar
198.
▲
by
fleventynine
5y ago
We've had significant house price inflation for years due to insufficient supply. I want CPI to increase similarly, along with wages. If housing prices stay the same as today (in dollars) the house buying power of a young person will b
199.
▲
by
fleventynine
5y ago
In order for young people to have any chance at the same quality of life of their parents, the "real" value of housing needs to come down to at least 50% of the current value. The only way to accomplish this without wiping out tho
200.
▲
by
fleventynine
5y ago
10GBASE-T is power hungry and unreliable, but dirt-cheap 10GBASE-LR and 25GBASE-LR transceivers work great up to 10km. If only they could figure out how to fit the transceivers into mobile-friendly packaging. But for a workstation they'
201.
▲
by
fleventynine
5y ago
I worked in Calgary as a software engineer from 2000-2012 at various places, but never in big oil. At the time, a low cost of living, outdoor recreation opportunities, relatively young and healthy population, and good wages for engineers (c
202.
▲
by
fleventynine
5y ago
Fun the article: "The GeekBench running score before changing the location to France is 286,632. However, after changing the location to France, the running score is 298,321." I have a hard time caring about a 4% difference in per
203.
▲
by
fleventynine
5y ago
Interfacing with CMOS image sensors, basic DSP, and transmitting uncompressed 4k video over 10G or 40G Ethernet.
204.
▲
by
fleventynine
5y ago
Once we have a high quality "LLVM of digital logic", we have a great foundation for better high-level tools. It's just a matter of funding and motivation. In my dreams some Chinese FPGA upstart decides to invest huge in the o
205.
▲
by
fleventynine
5y ago
Unfortunately, 10G serdes and >50kLUTs are table stakes to run the applications I have in mind...I think we're a long way from officially supported open toolchains for medium-size FPGAs.
206.
▲
by
fleventynine
5y ago
If we could get similar momentum we have with gcc and LLVM behind projects like yosys and nextpnr, FPGAs would be much more useful and likely be a larger market overall. I'm willing to personally donate 10k a year to projects like thes
207.
▲
by
fleventynine
5y ago
AwaaAaaaaaaaaaaaaaaa
208.
▲
by
fleventynine
6y ago
I don't hate it, but I don't love it either. For the projects I've used it with, it works fine up until I need some complex data structures, then it falls apart into bunch of runtime-casting-infected code. Also, I don't
209.
▲
by
fleventynine
11y ago
I wonder how much of this discrimination is due to housing inequality. I suspect many young programmers resent paying $3500 a month rent to a landlord who bought their property for 75k 20 years ago. Denying jobs to that generation might be