Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gnulinux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
301.
▲
by
gnulinux
3y ago
I write integration tests as well as unittests, but mostly integration tests, to a reasonable extent. I also don't commit all integration tests if it's impractical e.g. makes the test suite too slow, instead have equivalent unitte
302.
▲
by
gnulinux
3y ago
Just like many other big cities in the US, downtown Boston definitely has brutalist areas, probably due to being built back when brutalism was a common style -- for example, Boston city hall is in brutalist style [1]. However, the most comm
303.
▲
by
gnulinux
3y ago
Boston housing/rent is extraordinarily expensive. It's up there with SF, Manhattan, certain areas are even more expensive them. It's absolutely ridiculous. My girlfriend is from NYC and we both love the city, and visit it fre
304.
▲
by
gnulinux
3y ago
Boston people call public transportation "T". It's an abbreviation of "MBTA" which stands for "Massachusetts Bay Transport Authority".
305.
▲
by
gnulinux
3y ago
Yes I used debuggers many many times, I'm also relatively experienced with e.g. gdb commands syntax etc. It doesn't seem to fit my workflow for various reasons. In very short, my development style is some form of extreme TDD: when
306.
▲
by
gnulinux
3y ago
> In this thread it is revealed that all (almost all) Rust devs are printf() not breakpoint devs, and why. I'm a non-proud printf() debugger. I understand that if I get use to debugger debugging it'd be in many ways better.
307.
▲
by
gnulinux
3y ago
My uncle (<60, healthy) was diagnosed with pancreatic cancer. Although they used extremely expensive wonder drugs, personalized drugs targeting his cancer cells etc, they were completely ineffective and he died less than 11 months after
308.
▲
by
gnulinux
3y ago
I'm completely with you on this one. Sci-fi and AI hype are extremely strong on these threads. I bet we're not any closer to human level intelligence with ML than we were in 1500s with mechanical clocks. Both are impressive noneth
309.
▲
by
gnulinux
3y ago
How can a layman determine the right book? Anti-vax kooks also think they're reading the right sources.
310.
▲
by
gnulinux
3y ago
Can people not make games that are not intended to sell much? Like Passage (2008), Escape from Woomera (2004) etc, i.e. games that have a political or artistic purpose. I ask this as someone who doesn't play video games (never played a
311.
▲
by
gnulinux
3y ago
Fingers crossed there is no network issue. `time.sleep(5)` is ridiculous.
312.
▲
by
gnulinux
3y ago
Can you fly to Philadelphia/NYC/Boston/Baltimore etc?
313.
▲
by
gnulinux
3y ago
I've been working in the tech industry in the US for about 5 years. Ever since I knew myself I've been coding. From middle school to high school, given any problem, like Sudoku, or keeping up daily chores, my solution was Programm
314.
▲
by
gnulinux
3y ago
I think this very much depends on the context, and being a good virtuoso violinist (or cellist, or singer etc) picking the right temperament for the right effect. If you're playing in an orchestra with many other instruments, you lik
315.
▲
by
gnulinux
3y ago
It's not losing relative pitch at all[0], it's actually kind of the opposite. Relative pitch and absolute pitch are at odds with each other in some contexts. There are many reasons as to why, and if you search tuning theory [1] yo
316.
▲
by
gnulinux
3y ago
The reality in 2023 is all software is unbaked software. All software is buggy, frustrating, and almost-broken to the point of almost-unusable. There is simply nothing else, and we all navigate through this dystopic universe by finding soft
317.
▲
by
gnulinux
3y ago
> Your theoretical company can do a quick check to see what c/c++ libraries are imported and estimate how much code would need to be checked. If it's too daunting, they can just keep operating with the GIL enabled. Once again,
318.
▲
by
gnulinux
3y ago
This is not true, you should never use spinlocks in userspace unless you know exactly what you're doing. Using spinlocks well requires scheduling, which you have no control over in userspace, this is why it makes more sense for kernel
319.
▲
by
gnulinux
3y ago
This is extremely naive, and you answer your own question: > [Par 2] ["Removing GIL creates performance costs that people don't want"] > [Par 3] ["Removing GIL breaks CPython API which tons of codebases rely on and
320.
▲
by
gnulinux
3y ago
This is your opinion, but many disagree. I personally find processes infinitely easier to deal with than thread, it's not even a discussion in my mind. For me, threads are banned from usage, until it's absolutely necessary to do
321.
▲
by
gnulinux
3y ago
Yeah, I bet nothing of that sort happens. This programming sci-fi is entertaining to read but it's not grounded in reality.
322.
▲
by
gnulinux
3y ago
There is no programming language problem related to concurrency and C-level APIs that change the amount of code Python represents that is NOT insurmountable. This is like linux "we don't break userspace" motto. There is conce
323.
▲
by
gnulinux
3y ago
> we people are very soon capable of communicating using quantum entanglement This is nothing other than sci-fi. I don't understand how you can be so sure of something like this.
324.
▲
by
gnulinux
3y ago
The worst dark pattern I see in big cities I frequent in (Boston and NYC) is that these POS systems have absolutely ridiculous default settings. I've seen coffee shops that show "25%, 30%, 35%" on the tipping screen. Look, be
325.
▲
by
gnulinux
3y ago
That doesn't make sense. What's the difference between a 20% tip vs 20% required service charge. You pay the same $$$ which means people wouldn't be priced out.
326.
▲
by
gnulinux
3y ago
Of course, for example, if you're in need of an automated theorem prover, your only options are Coq, Agda, Isabelle/HOL etc for now all of which come with very serious trade-offs which leads to the development of newer languages s
327.
▲
by
gnulinux
3y ago
As a composer software engineer: all I can personally say is that MIDI is a pretty terrible protocol that's borderline unusable for everything except very limited applications. It's fine to use it for keyboard (piano, organ, cel
328.
▲
by
gnulinux
3y ago
> My attitude is that if you really need them you should switch to e.g. OCaml or something that does them right. I strongly disagree. I personally think there is no programming problem where types aren't useful. When I write code, I
329.
▲
by
gnulinux
3y ago
Hmm, I've never seen code like the latter so it's unclear what problem this solves. I'd just write the pandas code snippet given below. Possibly with polars to make it lazy.
330.
▲
by
gnulinux
3y ago
What difference does it make? They're conceptually the same thing. You're mapping immutable data to map/reduce/filter like pure functions to get new data.
More ›