Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Asooka
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
Asooka
2y ago
Doing one funny thing on platform A and a different funny thing on platform B when an edge case arises is way better than completely deleting the code on all platforms with no warning.
152.
▲
by
Asooka
2y ago
There is a difference between strings used internally, usually as IDs, and text entered by a human. For the former you'd always use straight ASCII in 8-bit encoding, for the latter ... things get difficult. A straightforward example ar
153.
▲
by
Asooka
2y ago
As someone else said - your best bet is to just download videos you deem to be good and put them on a plex server for your children. You can even automate it to automatically download from a given channel when new videos are posted to it. O
154.
▲
by
Asooka
2y ago
> This works as long as there is no one combining the information together, like Apple together with Cloudflare, or the US government. If that is your threat model, you need something a lot stronger than Private Browsing, whose purpose b
155.
▲
by
Asooka
2y ago
lol () / Oh wait you're \ JL | serious. Let me | || \laugh even harder./ LJ . _,--"""""""---.
156.
▲
by
Asooka
2y ago
One female mouse will give birth to six pups at once on average. They are unable to avoid the population bomb scenario. On the other hand, a human female rarely gives birth to more than one baby at a time, and we have contraceptives. So in
157.
▲
by
Asooka
2y ago
People who breed pet mice exist and they probably have a lot more data from much longer time periods on this kind of thing. I also briefly talked with a person who maintains the herpetology exhibits at a museum. They breed rats to feed to t
158.
▲
by
Asooka
2y ago
You can, in fact, buy a dozen pet mice and build a pen like that. In fact that's what breeders do regularly. There are no laws against it.
159.
▲
by
Asooka
2y ago
Heaven requires that your birth rate stays at around replacement rate, which for humans is easy - a human female rarely gives birth to more than one baby at a time, but a mouse female on average gives birth to a litter of six. The only way
160.
▲
by
Asooka
2y ago
My big takeaway is that Calhoun must have been world champion at giving blowjobs, because how else do you get the ethics board to approve twenty five of these cursed experiments?
161.
▲
by
Asooka
2y ago
Ideally we'd have the equivalent of an ipython notebook for the terminal. But GUI on Unix is still an unsolved question with more and more incompatible implementations being written daily, so I'm not holding my breath. After using
162.
▲
by
Asooka
2y ago
If you want it to be fully native and not have to carry a runtime, C++ is pretty much your best choice. I think technically Python could be pretty slim if you just bring the runtime and build the GUI out of raw Win32 calls in Cython. That i
163.
▲
by
Asooka
2y ago
The whole problem is that putting any sesame in might kill somebody with a severe enough allergy. There should be some gradation to the labelling, because "contains absolutely no sesame" is extremely hard at industrial scale, but
164.
▲
by
Asooka
2y ago
It should have been split into something like systemd-tmpfiles and systemd-systemfiles. You can keep the same syntax and daemon binary, just keep the configuration of actually temporary and volatile files that can go away at any time separa
165.
▲
by
Asooka
2y ago
Reason number 256 to never run Linux on any of your personal computers.
166.
▲
by
Asooka
2y ago
No? The CPU doesn't have undefined behaviour, thus any code running on it doesn't have undefined behaviour either. There are certain operations whose result is not defined in certain states, I think on Intel some SSE operations ha
167.
▲
by
Asooka
2y ago
I'm not sure that last paragraph had to be so toxic. We've had enough toxic egos in this industry, we don't need any more. I've never heard of this person before, but I do not think I wish to be part of his project.
168.
▲
by
Asooka
2y ago
Yeah, the Unix tools' unfriendliness comes from their history of being developed for a literal teletype, i.e. the computer's output would come out on a roll of paper, not a screen. In that environment you want to be very conservat
169.
▲
by
Asooka
2y ago
I am a bit confused how the formula is different from a simple lerp. k(x) = 1/x y_i * k(x - x_i) + y_i+1 * k(x_i+1 - x) F = --------------------------------------- = k(x - x_i) + k(x_i+1 - x)
170.
▲
by
Asooka
2y ago
I see one artist has already downvoted me. If you feel the need to do so, you're part of the problem plaguing modern society.
171.
▲
by
Asooka
2y ago
I would not claim it's more obvious, but this is an illustration on the cover of a mathematics journal. It should show mathematics, not an artistic misunderstanding. If people have to stop and think through the math to understand it, t
172.
▲
by
Asooka
2y ago
It is still wrong and could have been trivially fixed by putting the stones in the centres of the 1x1 squares making the rectangles rather than at the corners. The fact that the artist had 3 stones left over should have clued him that what
173.
▲
by
Asooka
3y ago
Oh thank God! I have been asking for something like "erroneous behaviour" for years. Clang in particular is very fond of deleting safety checks if they check for conditions which it thinks are only possible under undefined behavio
174.
▲
by
Asooka
3y ago
If your small function is not getting inlined, you should investigate why that is instead of globally breaking performance analysis of your code.
175.
▲
by
Asooka
3y ago
It would be interesting to see how feasible it is to run that on an Arm workstation, e.g. an Ampere Altra. Or going the other way and trying to squeeze macOS on to the latest Raspberry Pi.
176.
▲
by
Asooka
3y ago
The animations are useful when you can't easily see the instantaneous change, but I'm with you on the slowed feedback. I think the best feedback would be for the slider to move instantly, but with a fading motion blur effect. So i
177.
▲
by
Asooka
3y ago
An actual use case I can see is for a tracing setup, i.e. when you have to trace or draw over a real object that you can't digitise for use in your usual drawing software. I wouldn't be surprised if there are some really niche app
178.
▲
by
Asooka
3y ago
We review each other's code before it goes in. If the team says they're happy to work with it, then I've fulfilled my obligation. I am literally not paid to write the best code in the world. In fact, the company gives bonuses
179.
▲
by
Asooka
3y ago
>Hardware addition is filled with edge cases that cause it to not work as expected I am not aware of a single case where integer addition does not work as expected at the hardware level. Of course if you have a different expectation than
180.
▲
by
Asooka
3y ago
In the end he recommends if you need cataract surgery, i.e. a lens replacement, to get a lens focused at reading distance. Note that there is progress being made on accommodating implantable ocular lenses (also called variable-focus) which
More ›