Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jffhn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
jffhn
2y ago
Yes, that's nearly semantic f(x)=x, I added that we could also find an x such as f(x)=1/x and f(1/x)=x.
32.
▲
by
jffhn
2y ago
'shiny' gives pitch black, and 'obscure' gives blue sky color.
33.
▲
by
jffhn
2y ago
>any recommendations for a low latency work queue (with in a jvm)? I toyed around the ring buffer pattern a decade ago, creating a unicast one (using CAS on entries, and eventually a logarithmic scan for next readable entry, not to brute
34.
▲
by
jffhn
2y ago
>Performance isn’t a luxury—it’s foundational. Reasons to always try to be nearly optimal on performance from the start, that I rarely saw stated: 1) What you can specify depends on what can be done, and to know what can be done you need
35.
▲
by
jffhn
2y ago
Some people learned to be fearful. At some point I was working on a piece of software we knew inside out, had good tests for and often ran through hand curated stress tests for benches, analysis or just exploratory testing, so we had a high
36.
▲
by
jffhn
2y ago
>"it seems to work and we don't dare change it" What they mean is: "we don't understand it and we don't have good tests, so there is a high probability that it doesn't work and that doing even the most
37.
▲
by
jffhn
2y ago
>I appended (...) traces into (...) memory. (...) An unrelated process would read (...) at opportune time and hand over to the developer. I did something similar to debug concurrent treatments in Java, that allows to accumulate log state
38.
▲
by
jffhn
2y ago
Reminds me of an interview with Fields Medalist Laurent Lafforgue, where he mentioned that at one point, he had only been interested in literature, particularly Dostoevsky, and couldn't understand how anyone could bother with mathemati
39.
▲
by
jffhn
2y ago
>I worry overall that this could signal the complete end of new programming languages Programming often involves creating new languages (or APIs) (like domain specific languages) on top of lower level languages (like the base programming
40.
▲
by
jffhn
2y ago
>those are like two major emotions most people feel "The oldest and strongest emotion of mankind is fear, and the oldest and strongest kind of fear is fear of the unknown." (H. P. Lovecraft)
41.
▲
by
jffhn
2y ago
>The limbic system won. The limbic system always wins. "The mind is always the dupe of the heart." (La Rochefoucauld)
42.
▲
by
jffhn
2y ago
>each blog post helps me think more deeply The most on point quote I know about this idea: "I don't write to say what I think, but to know what I think." (E. Berl) Writing can help to become less confused, but being confus
43.
▲
by
jffhn
2y ago
For IEEE 754, and in Java for example, they are. Only NaN is not equal to itself (and different from itself).
44.
▲
by
jffhn
2y ago
If both terms are infinites and of same sign, subtraction will give NaN and it will fail.
45.
▲
by
jffhn
2y ago
>Fast reliable unit tests are difficult Not difficult if you build your code (not just the test suite) around scheduling APIs (and queues implementations, etc.) that can be implemented using virtual time instead of CPU/wall clock ti
46.
▲
by
jffhn
2y ago
>With Java, you have to go out of your way to maintain good cache locality because you give up control over memory layout for automatic memory management. There is a shadowy cult in a hidden corner of the Java community, an heresy to man
47.
▲
by
jffhn
2y ago
You can put these comments into the name of a function, getting rid of the redundancy and having them read by whoever would just be reading the code not to be distracted by the comments.
48.
▲
by
jffhn
2y ago
"Plato had defined Man as an animal, biped and featherless, and was applauded. Diogenes plucked a fowl and brought it into the lecture room with the words, "Here is Plato's man."" (Diogenes Laertius, Lives of Eminen
49.
▲
by
jffhn
2y ago
exam: implement add. "return a + b": plagiarism, disqualified. "return a + 1 + b - 1": A+
50.
▲
by
jffhn
2y ago
Thanks, I also recall he was talking about G. Kahn as in the second pdf, so both must originate from this colloquium: https://ercim-news.ercim.eu/en68/in-brief/colloquium-in-memo...
51.
▲
by
jffhn
2y ago
15 or 20 years ago there was an online video of Milner giving a talk at Inria, about building the "tower of digital computing" (I recall this expression), but since I never managed to find it again.
52.
▲
by
jffhn
2y ago
>It is not necessarily even a goal to maximize happiness, because being too happy for too long causes problems. Reminds me of the experiment with rodents pushing the morphine button until death, and of the recent opioid crisis.
53.
▲
by
jffhn
2y ago
>I don't agree that "chasing" happiness is pointless Considering that chasing happiness is the complement to contemplation, is considering that contemplation excludes happiness. >We haven't managed to find any quot
54.
▲
by
jffhn
2y ago
>I don’t really know what “think algorithmically means,” I would say thinking about algorithms and data structures for algorithmic complexity not to explode. >Nothing clever A lot of devs use nested loops and List.remove()/indexO
55.
▲
by
jffhn
3y ago
The mystery didn't last long, and no problem to admit it, I maybe even contacted them. I guess they put safeguards after that, but I didn't try again to check ;)
56.
▲
by
jffhn
3y ago
Here is mine. The admins could connect to their machines, but not to any user machine. It was winter and we had some heating issues, so I made a script "warmup_the_office.sh" that was meant to launch a "while(true){}" on
57.
▲
by
jffhn
3y ago
>I see a lot of people who absolutely want kids but feel they can't have them, for a number of reasons I remember thinking about that in the street, and then be overtaken by a rom family, the father pushing the kids in a shopping ca
58.
▲
by
jffhn
3y ago
Kafka's costume, obviously.
59.
▲
by
jffhn
3y ago
>when their brain actually fires up when they are 25 or 30 Their brain fires up at about 14, and soon starts to figure out that life is actually a costume party, so they spend the next decade in their cave pondering about it while making
60.
▲
by
jffhn
3y ago
>IMO the best thing about being a manager is that you get to spend a lot of your time thinking about the future In some places it's the opposite: domain-specific codebases far outlive the separate projects they are used for, and the
More ›