Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Asooka
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
421.
▲
by
Asooka
4y ago
That is something we should strive to correct people on. I've missed online events with friends because they would tell me "X pm PST", so I obviously just put the time in any time conversion app and end up being an hour late.
422.
▲
by
Asooka
4y ago
You can think of a lock-free data structure as a data structure with an embedded wait-free lock implemented with atomics. This has several advantages: - Less memory - a pthread mutex is around 40 bytes, compared to 4 bytes for this queue. -
423.
▲
by
Asooka
4y ago
My question would be why isn't the fence solid? If you're worried about people peeping on kids during recess, the fence should be solid and quite high. A voyeur won't helpfully sit next to the sidewalk, salivating, with his h
424.
▲
by
Asooka
4y ago
A good example are Joel Haver's videos on youtube. He explains his process here: https://youtu.be/tq_KOmXyVDo . He produces animations by rotoscoping live footage, with only a few keyframes being done by hand and the r
425.
▲
by
Asooka
4y ago
Every push to the repo will create a new derivative work and reset the clock. If you don't pay, then your ten years old code will enter the public domain, but I would gladly agree to let anyone do whatever they want with my ten years o
426.
▲
by
Asooka
4y ago
No, we shouldn't all live this way. The argument is how to build the dense parts of cities so they're nice to live in. If you want to live in the countryside, that's great, but that's an entirely different thing.
427.
▲
by
Asooka
4y ago
Yeah, the Soviets and central planning get a lot of deserved flak, but as someone who grew in that part of the world, I hold that they got high density urban planning right. Not the execution, of course - the endemic corruption saw to that,
428.
▲
by
Asooka
4y ago
I don't see what's implausible about the medical community following orders from big pharma. Both tobacco and sugar were once promoted as healthy lifestyle even though it was patently obvious exactly the opposite were true. If a b
429.
▲
by
Asooka
4y ago
If eating meat were bad for the environment, all predators who eat exclusively large prey would be extinct. We can have a discussion about how much meat per year production is sustainable, but I'm not going to start eating bugs.
430.
▲
by
Asooka
4y ago
It should be on the employee to pay the relevant tax on the income they receive, anything past that is outside the state's jurisdiction, as the company has no physical presence or business there. A government doesn't have the powe
431.
▲
by
Asooka
4y ago
The ABI for a specific platform will define how bit fields are arranged in memory, or at least you can always rely on GCC to not change behaviour. They work perfectly well for data in memory, at work we use them all the time for storing tin
432.
▲
by
Asooka
4y ago
Yeah but that means we need to have a way of securely running binaries, not move a simple program to a service. Something like taking a snapshot of the system at various stages during init and have the binary start in a known context. This
433.
▲
by
Asooka
4y ago
What's the difference between a service that you send a string to and get a string back and a binary that you execute with a string argument and it prints a string argument back? I quite like the latter, as you're free from keepin
434.
▲
by
Asooka
4y ago
> Elementary preparations consist of those things whereof one is constantly in need, which may be prepared in advance, and which are kept available for use at a moment's notice. I think this one sentence much better describes what I
435.
▲
by
Asooka
4y ago
Microsoft somehow manage to maintain backwards compatibility for much longer than two years.
436.
▲
by
Asooka
4y ago
I believe the term for that is treason.
437.
▲
by
Asooka
4y ago
That doesn't remove their right to basic human decency. Like not being spied on.
438.
▲
by
Asooka
5y ago
The problem for me is that, as a computer scientist, I'm focused on the numerical representation of things. Geometric algebra is presented by omitting that until the last second and instead focusing on abstract concepts and how they fi
439.
▲
by
Asooka
5y ago
Wait hold up, you mean that's not normal? Hearing a high pitch noise all the time I mean. I thought it was like when you're in full darkness and you "see" shapes because your brain is trying to interpret the subtle resid
440.
▲
by
Asooka
5y ago
I'm starting to think we need a way to allow UB-based optimisations on a per-function or per-block basis, with the rest of the code being compiled with the simplest mental model. It's getting a bit hard to reason about whether you
441.
▲
by
Asooka
5y ago
Can't you do that in Rust with a macro?
442.
▲
by
Asooka
5y ago
You can always just convert your float to a bit-equivalent int and back for the type param if you really want it. I have never seen floats used for template parameters in the wild, other than party tricks like wrapping a float in a struct w
443.
▲
by
Asooka
5y ago
Try and search for SDKs of some large software. Usually those would be programs for creating content - audio, 3d modelling, 2d drawing, etc. Every major vendor has a plugin architecture that quite obviously leaks implementation details. So
444.
▲
by
Asooka
5y ago
Also, you must work in linear colour space. In OP's case you would have to apply the inverse sRGB transform, do the calculation, then apply the forward sRGB transform. Best if you just work with linear colour end to end, if you have th
445.
▲
by
Asooka
5y ago
A similar thing that's been bothering me is the meme about "The difference between poisonous and venomous is if you eat it and you die, it's poisonous, if it bites you and you die, it's venomous", with endless discu
446.
▲
by
Asooka
5y ago
"Everything on the internet is false, unless proven otherwise" - Abraham Lincoln.
447.
▲
by
Asooka
5y ago
If only Julia didn't index arrays starting from 1, rather than the more natural 0.
448.
▲
by
Asooka
5y ago
You should be able to do something like this: - if the resource isn't in cache, download it and note the time it took. - if the current site has requested the resource before, just return it instantly. - otherwise, wait the exact same
449.
▲
by
Asooka
5y ago
Ugh, disgusting. Guess I'm never giving money to Brompton.
450.
▲
by
Asooka
5y ago
If you're referring to people spamming "desu" with a picture of Suiseiseki from Rozen Maiden, that's not meaningless. The original joke is that the character uses "desu" at the end of her sentences way more tha
More ›