Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
im3w1l
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
841.
▲
by
im3w1l
3y ago
Don't people use ?format=json or /foobar.json anyway?
842.
▲
by
im3w1l
3y ago
I think people will gladly engage on a superficial level, but refuse to engage more deeply if that makes sense?
843.
▲
by
im3w1l
3y ago
The overhead really isn't that bad is it? Since the the python code is mostly about saying multiply matrix A with matrix B, and then that actual computation is done by optimized low level code.
844.
▲
by
im3w1l
3y ago
I've heard many people say “you cannot reason a person out of a position he did not reason himself into in the first place." With the implication being that conspiracy theorists can not be engaged in good faith debate and must be
845.
▲
by
im3w1l
3y ago
> Funny part is that even the library of gpg (gpgme) is internally calling the binary. Sounds like a great way to transition things in a saner direction. You know it will be bug-for-bug compatible with calling the gpg-binary. Having one
846.
▲
by
im3w1l
3y ago
They have programs to help historically disadvantaged groups. To give them equity. To include them. How is that not dei?
847.
▲
by
im3w1l
3y ago
Must say I'm pleasantly surprised.
848.
▲
by
im3w1l
3y ago
Pretty sure India has caste-based DEI
849.
▲
by
im3w1l
3y ago
I have seen people write bash scripts with a lot of love and attention trying really hard to pay attention to modern best practices and avoiding known pitfalls and using shellcheck. It still looked like shit imo. I challenge you to find a s
850.
▲
by
im3w1l
3y ago
Picking up one order from a restaurant takes the same amount of time as picking up a dozen. This is a much more important economy-of-scale than having a large app country-wide install base to spread dev costs over. So I think a third-party
851.
▲
by
im3w1l
3y ago
If I understand the situation correctly, in Haskell an unbounded number is the default that you get if you do something similar to JSON.parse(mystr). That means you can have issues basically anywhere. Whereas in Rust with Serde you would
852.
▲
by
im3w1l
3y ago
Incognito meant the browser itself doesn't track you / store history. Any website you visit (including googles, and including any website using google adwords etc) would still track you. I guess what this change means is that ever
853.
▲
by
im3w1l
3y ago
I think struct-of-arrays was a quite delibarate wording. It stands out as a strategy that is at odds with object orientation and is sometimes more efficient.
854.
▲
by
im3w1l
3y ago
Yes I know, and that's what I meant when I said "their own can of worms". Distro-provided python packages don't use pip however, at least afaik.
855.
▲
by
im3w1l
3y ago
Wild guess, but it could be that whoever was behind this was highly motivated but didn't have the skill required to find zerodays and didn't have the connections required to buy them (and distrusted the come one come all marketpla
856.
▲
by
im3w1l
3y ago
Pip and similar are their own can of worms yeah. They trade convinience for an almost complete lack of oversight. But in this case we are talking about people (distro packagers) manually downloading the source and building it which is not q
857.
▲
by
im3w1l
3y ago
This hack exploited a fairly unique quirk in the linux C ecosystem / culture. That packages are built from "tarballs" that are not exact copies of the git HEAD as they also contain generated scripts with arbitrary code. It wo
858.
▲
by
im3w1l
3y ago
I'm not convinced this is such a cure-all as any library must necessarily have the ability to "taint" its output. Like consider this library. It's a compression library. You would presumably trust it to decompress things
859.
▲
by
im3w1l
3y ago
This is kind of a tangent, but there are two types of programming that seem like fun little games. On the one hand low-level assembly and on the other hand high-level code that uses logic or type system trickery to prove various correctness
860.
▲
by
im3w1l
3y ago
Yes I agree, ideally we should move to using TAI for timestamps, and then leapseconds can be added as part of the timezone calculation when formatting the date for the user.
861.
▲
by
im3w1l
3y ago
Safe rust is a turing complete language. That implies that it is possible to build an emulator for any other programming language in safe rust. That emulated language and programs running on it can have memory-safety issues, even if the emu
862.
▲
by
im3w1l
3y ago
I used to believe this but then I found myself spending way more time on clean single-purpose commits than I saved looking at a clean commit log. Especially if the cleanup touches the same code you are semantically modifying you are basical
863.
▲
by
im3w1l
3y ago
Like disabling frame pointers
864.
▲
by
im3w1l
3y ago
It goes both ways. I see people with ultra-bloated applications trying to add even more bloat and force it on the rest of us too. Like the guy saying that DWARF unwinding is impractical when you have 1Gbyte code cache. I don't see the
865.
▲
by
im3w1l
3y ago
Tradtional lossy compressors have well-understood artifacts. In particular they provide guarantees such that you can confidently say that an object in the image could not be an artifact.
866.
▲
by
im3w1l
3y ago
Wrote this which runs basically instantly https://pastebin.com/ax4eTKMr I hope I didn't make some embarassing mistake, but it seems to match the results of the code in part 2.
867.
▲
by
im3w1l
3y ago
Brain waves are approximately in the 1hz to 100hz range. While smartphone waves are much higher frequency. AC however is 50/60hz depending on country. Maybe I'm overly cautious, but I have a thick wire that runs right next to the
868.
▲
by
im3w1l
3y ago
The standard solution in ML for this is cross entropy loss. You can think about it like this: from the probability estimate you derive two codewords, one saying it will happen and one say it won't happen. Then when the event happens (o
869.
▲
by
im3w1l
3y ago
How much code out there does stuff to the effect of union MyObject { void* ptr; unsigned long data; } (...) MyObject obj; obj.ptr = (void*)some_function; (...) store_context(obj.data); And what would happen to suc
870.
▲
by
im3w1l
3y ago
Light bends spacetime too.
More ›