Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jffhn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
jffhn
4y ago
Reminds me of this: << Recognize the team is the product. In software, the product life cycle is shortening. “In traditional accounting,” says Bjork, “the business asset is the product. But more and more, in practice, the asset is a t
92.
▲
by
jffhn
4y ago
>It took 60 people 3 years to not produce a correctly working service. [...] She spent 3 months building it. Using 60 people to produce something 1 person could do, is like cutting this person's brain in 60 parts and connecting them
93.
▲
by
jffhn
4y ago
>I'm pretty sure this is related to people "on the spectrum" often having low "theory of mind" capabilities. To create good code, developpers must have good "theory of mind" capabilities, because they m
94.
▲
by
jffhn
4y ago
It's a bit extreme, but did you try Antarctica expedition suits? They're designed for minus 30c or below. Or just the top and one or two hiking overpants. Also mittens if you need your fingertips. Got myself some of that but it&#x
95.
▲
by
jffhn
4y ago
Reminds me of the soccer player Platini. A journalist asked him how come he was so good while not being so strong physically, he replied that he saw what was going to happen a few seconds before others.
96.
▲
by
jffhn
4y ago
>It breaks quickly You can sometimes easily reinforce the weak parts, like screwing brittle backs of shelves on the main structure, with large repair washers else it doesn't hold.
97.
▲
by
jffhn
4y ago
>It’s because we are super sedentary. I think about that too. Sitting in front of screens for most of the day, people don't need as much energy as they used to when the tradition of 2 to 3 meals a day was established. I chose to eat
98.
▲
by
jffhn
4y ago
I would not say top level design. Software is often born out of software. It's more like a woman keeping her children in her womb instead of giving birth to them.
99.
▲
by
jffhn
4y ago
The value was superior to mathematical Pi (as is best float approximation, but not best double approximation), such as having 2*PI normalized into [0,2*Pi] by standard trigonometric functions (which use accurate approximations of Pi) would
100.
▲
by
jffhn
4y ago
We don't want to be too abstract, to get a feel for what we are doing, especially for collections and their different and possibly touchy algorithmic complexities, but if it makes sense we can use fooColl to reference a set as a genera
101.
▲
by
jffhn
4y ago
All the domain revolves around things moving around in the real world, there is no pixel. Also at some point, to prevent unit problems, someone tried to add methods for units handling (set value and unit, get value for unit, or get value an
102.
▲
by
jffhn
4y ago
Yes, SI base, for example second, not powers of tens of it, but we just call it SI. For linear positions no suffix means meters (x, y, z, etc.), same vx is in m/s etc. Autocomplete is nice but in my IDE it requires hitting ctrl+space a
103.
▲
by
jffhn
4y ago
>Look for coding conventions that make wrong code look wrong. Or code more readable, and more obviously right or wrong. A few I use : - always suffix with the unit, for quantities for which we are likely to not always use SI units (ex.:
104.
▲
by
jffhn
4y ago
"For the things we have to learn before we can do them, we learn by doing them." (Aristotle)
105.
▲
by
jffhn
4y ago
>When the problem is found and fixed, I use `git diff` to find all the added debug logic I use "TODO" with a specific suffix to mark all the places in the code that are of interest for the work at hand (unfinished code, debug l
106.
▲
by
jffhn
4y ago
This is how requirements are integrated into the codebase.
107.
▲
by
jffhn
5y ago
And in Java, Math.cos(double) might do allocation as well, for large angles reduction. In Jafama I took care to avoid that, by encoding the quadrant in two useless bits of reduced angle exponent.
108.
▲
by
jffhn
5y ago
I didn't use any tool, I just knew these casts could be slow and changed one to avoid a suspected factorization, which just worked, but there are ways to show the code generated by the JIT, cf. https://stackoverflow.com/
109.
▲
by
jffhn
5y ago
>the optimiser decides to recompile the bytecode to improve performance, but the recompiled version actually ends up being slower. I had that happen while developing a fast "exp(double)" implementation: for some reason casting
110.
▲
by
jffhn
5y ago
>I hate seeing this. On the contrary I like it, for it makes me more confident about the general quality of the work, even though I understand that it can increase cycle time. Reminds me of Majorana not wanting to publish, due to conside
111.
▲
by
jffhn
5y ago
Reminds me of the Surgical Team from The Mythical Man-Month, and of an interview of I think one of the authors of the agile manifesto, talking about IBM internal experiments concluding that it was the most effective organisation. I've
112.
▲
by
jffhn
5y ago
>One approach, then, is to present a common API abstraction over top of these platform APIs For those interested in a similar topic, but with an opinion/taste cursor much more tilted towards pathological simplicity than towards feat
113.
▲
by
jffhn
5y ago
>But high IQ people can have bad beliefs and poor models. Without self-correction and a reality-testing loop they're just as likely to believe wrong and dangerous things. As likely, or even more likely. Experts on a subject can be t
114.
▲
by
jffhn
6y ago
Air-gapping is common in some industries, and there are also network diodes: https://en.wikipedia.org/wiki/Unidirectional_network
115.
▲
by
jffhn
6y ago
I´ve always been curious about reading and listening to the most crazy people, for the same reason doctors are interested into studying the most pathological cases, such as split-brain patients: because it can teach you a lot about normal p
116.
▲
by
jffhn
6y ago
Had a similar issue while using a JTree, where programmatic nodes modifications generated events as if user had clicked on the tree, such as I had to override and disable a few JTree treatments to avoid triggering a wave of undesired side e
117.
▲
by
jffhn
6y ago
Reminds me of this article by Li Hongyi: https://www.csc.gov.sg/articles/how-to-build-good-software Quotes: "The main value in software is not the code produced, but the knowledge accumulated by the people who pro
118.
▲
by
jffhn
6y ago
I remember the time (10 years ago?) where you could go to google webpage and start typing your search immediately. Then one day I got my typing deleted once the page finished loading. I thought Google would quickly fix this, but soon realiz
119.
▲
by
jffhn
6y ago
>we can't know how any decision we make is going to turn out. Reminds me of: "The man quite often knows what he does, he never knows what does what he does." (P. Valery) >I also don't know who "I" am. &qu
120.
▲
by
jffhn
6y ago
>For me, nothing is even remotely close to be able to replace whiteboard, brown paper and marker pens. Reminds me of an interview of David Fattal, where the journalist asked him about how he got the idea of the holographic 3D screen: &qu
More ›