Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SuchAnonMuchWow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
SuchAnonMuchWow
4y ago
A connected rabbit hole is image decoding of lossy format such as jpeg: from my experience depending on the library used (opencv vs tensorflow vs pillow) you get rgb values that varies between 1-2% of each others with default decoders.
62.
▲
by
SuchAnonMuchWow
4y ago
Your analogy with a company processes doesn't quite work because patents works differently from copyright: With copyright, you are allowed to use the original work as your own if you transform it enough (basically, you can get inspirat
63.
▲
by
SuchAnonMuchWow
4y ago
How do you work with max-char-per-line limits of coding conventions ? Does code you write with tabs as 4 spaces follow the convention but then break on Linus computer ?
64.
▲
by
SuchAnonMuchWow
4y ago
and in python/numpy, transpose is a O(1) operation: it doesn't actually move any data, just changes the strides used to access data points in the underlying buffer.
65.
▲
by
SuchAnonMuchWow
4y ago
> 8. Not taking advantage of matrix structure (symmetric, sparse, banded, Toeplitz, ...) This is the sin no 5 of the article: "5. Not Exploiting Structure in the Matrix"
66.
▲
by
SuchAnonMuchWow
4y ago
From the thread: > Amazon recommends that purchasers also buy Tagamet to avoid vomiting up the poison, a personal use scale to measure the proper quantity, and the Amazon Edition of the Peaceful Pill Handbook, a suicide manual with an en
67.
▲
by
SuchAnonMuchWow
4y ago
The effort wanted to replace all uses of Pi (including the ones in math formulas) and not just their use in (floating-point) computer programs where we implement approximations of those formulas.
68.
▲
by
SuchAnonMuchWow
4y ago
this only works because you are sourcing the file, and not just executing it: $(exit 5) ./show_error.sh outputs 0. Sourcing the file is the same as copying and pasting its content into the current shell. It is designed to allow this ki
69.
▲
by
SuchAnonMuchWow
4y ago
> At the right we see the usage pattern of a scrole bar My guess would be the dock from MacOS (or the one from unity) instead of a scroll bar: its too large for a scroll bar, and clicks are grouped in chucks which could be centered on ap
70.
▲
by
SuchAnonMuchWow
4y ago
I believe restrict is a C only keyword, so no, it couldn't have helped.
71.
▲
by
SuchAnonMuchWow
4y ago
hash functions are not what is new with blockchains: its the distributed zero-trust consensus algorithms.
72.
▲
by
SuchAnonMuchWow
4y ago
> Hard disagree, big-endian is right and little-endian is wrong. At least, unless you think this year is 2202. If you think a bit about it, it would have been much more natural to write number in the opposite order compared to what we ha
73.
▲
by
SuchAnonMuchWow
4y ago
OOO is definitely observable when dealing with multithreading. That's why you have things like memory order constraints on atomic operations in C, and why you need to be extremely careful with how you place things like memory fences wh
74.
▲
by
SuchAnonMuchWow
5y ago
note that this boot loader is in ROM, so it can't be patched or replaced
75.
▲
by
SuchAnonMuchWow
5y ago
beauford is much more similar to compté
76.
▲
by
SuchAnonMuchWow
5y ago
Reading just the title, I was expecting storing/serving magnet files on DNS, as someone did a few years back if I remember correctly (just as a joke/poc, not as a serious solution). I'm pretty sure it was posted on hw, but I
77.
▲
by
SuchAnonMuchWow
5y ago
When you forecast your spending rate, you naturally take some security margin, for example by retiring when your passive earnings gets 1.5x times larger than your targeted spending. And that security margin (which won't be spend most y
78.
▲
by
SuchAnonMuchWow
5y ago
Topologically, your mouth and anus are the same hole. Yet everybody count them as two holes.
79.
▲
by
SuchAnonMuchWow
5y ago
> Blame those systems, not me. Yes I completely agree with you, and if you don't need it, any unicode handling library is overkill and add more headaches than simply handling utf-8 string as byte arrays. I just wanted to insist on t
80.
▲
by
SuchAnonMuchWow
5y ago
I assume you never had to deal with unicode normalization ? When you send your unicode string to an external system (for example a storage server with a database) and latter retrieve the string, only to find out that it has been normalized
81.
▲
by
SuchAnonMuchWow
5y ago
and the most cache-friendly
82.
▲
by
SuchAnonMuchWow
5y ago
Strassen method is faster than native multiplication, but it is not stable: you will get much larger rounding errors when implementing it using floating point numbers, compared to native multipllication. And fine precision is required for a
83.
▲
by
SuchAnonMuchWow
5y ago
To be fair, a determined child with a sharp tool can ruin most houses. A few years ago, the neighbor kid from where my parents live made a hole in a wall of his room leading to outside.
84.
▲
by
SuchAnonMuchWow
5y ago
> > "... and the raise itself would be very exclusionary." > If you mean "open to accredited investors" well, I'm ok with that. How dare you. Drug lords and ransomware writers have as much rights to buy the
85.
▲
by
SuchAnonMuchWow
5y ago
see https://en.wikipedia.org/wiki/Wave_power which include a description of the device you mention, among other ideas to extract the power from sea waves.
86.
▲
by
SuchAnonMuchWow
5y ago
I always though that "command -v" was more portable than "which": "command -v" is specified in posix and should always be present but "which" is not. But all my knowledge about that comes from a small
87.
▲
by
SuchAnonMuchWow
5y ago
That doesn't work if you are never (or not often) online at the same time as the other. I use signal to chat with my cousin who is in another continent, and he is online only when within reach of public wifi when he's outside, whi
88.
▲
by
SuchAnonMuchWow
5y ago
From the article: "North Ayrshire Council said 97 per cent of children or their parents had consented to the new system" With a wording like that and a percentage that high, I imagine it went down more or less like that: an adult
89.
▲
by
SuchAnonMuchWow
5y ago
You will have the exact same issue with the fixed-point presented in the article than with floating-point: they shouldn't be used for financial transactions because they are in base 2 so they can not accurately represent decimal fracti
90.
▲
by
SuchAnonMuchWow
5y ago
You should check Zig comptime keyword, which does exactly that. Its the feature from zig I miss the most in C.
More ›