Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stabbles
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
241.
▲
by
stabbles
3y ago
It's not that remarkable at all? The proof requires the definition and triangle inequality, that's all? Given Ax=λx, take i for which |xᵢ| is largest. Look at the i'th equation: sum aᵢⱼxⱼ = λxᵢ, move the aᵢᵢxᵢ term to the rhs
242.
▲
by
stabbles
3y ago
The AI might as well look like this old_horoscopes[rand() % N] and nobody will ever notice.
243.
▲
by
stabbles
3y ago
This comment really drives the point home
244.
▲
by
stabbles
3y ago
In Python it should turn a list of strings ["foobar", "baz"] into [ "foo" "bar", "baz" ] to infuriate people further. Also possible in C and C++:
245.
▲
by
stabbles
3y ago
Basically - don't subtract almost equal numbers - don't add numbers of vastly different magnitudes
246.
▲
by
stabbles
3y ago
I think the title is alright. The curious thing is that both `f` and `g` have catastrophic cancellation, so you expect both to be inaccurate, but magically `g` recovers from it. Alternative title: catastrophic cancellation cancels out
247.
▲
by
stabbles
3y ago
Would probably be better to show X and Y and let people select which is better (or skip), and compute an ELO score. A list with hundreds of items isn't great
248.
▲
by
stabbles
3y ago
The equivalent of "this behavior too can be explained by the laws of natural selection" in physics would be "this object too follows the laws of Newtonian mechanics". Usually solving the paradox (something looks redundan
249.
▲
by
stabbles
3y ago
Similarly the overuse evolutionary biology. Obviously this ... seemingly useless feature must have been ... crucial to survival of this species. I guess Thomas Kuhn calls this ordinary science. Explanation within the framework. But it'
250.
▲
by
stabbles
3y ago
> Fix a couple of harmless compiler warnings that appeared in debug builds with GCC 16. Some projects use -Werror, only ever test with older GCC, and builds fail with anything recent. SQLite on the other hand anticipates the new compiler
251.
▲
by
stabbles
3y ago
I don't know what the state of things is right now, but if Fortran is the language of choice for HPC, then explain to me why it's so hard to write portable code that targets accelerators. Some folks have attempted to port Fortran
252.
▲
by
stabbles
3y ago
Looks like the stdio example includes compilation and linking, fmt example only times compilation.
253.
▲
by
stabbles
3y ago
Hitting that key in-game will increase the difficulty as the computer can leverage more AI
254.
▲
by
stabbles
3y ago
For performance benchmarking the minimal runtime is typically the best estimator if the computations are identical, cause it measures perf w/o interrupts. If the language is garbage collected, or if the test is randomized you obviously
255.
▲
by
stabbles
3y ago
> I also do a bit of aerobic exercices (cardio). But excessive cardio is counterproductive, leading to loss of muscle mass and potential joint issues. It's fine to do a lot of aerobic training. You almost certainly build up muscle i
256.
▲
by
stabbles
3y ago
Yeah, a century old approach using frequency tables where the next word is generated based just on the previous two words is highly competitive with contemporary neural nets. To produce coherent sentences, do you ever need to remember more
257.
▲
by
stabbles
3y ago
Are there any guidelines for tar files? Are you supposed to list all containing directories too? I noticed when creating container image layers the answer seems to be generally no, but AWS lambda functions with these types of images error w
258.
▲
by
stabbles
3y ago
Chris van Tulleken has an excellent book (and talk [1]) on the subject [1] https://youtu.be/5QOTBreQaIk
259.
▲
by
stabbles
3y ago
It's just a nuance to the rule of thumb, that doesn't warrant such a strong reaction? If a 1st order rule of thumb is keeping caloric contents in check, a 2nd order rule doing that for nutrients individually, I wonder if someone k
260.
▲
by
stabbles
3y ago
Desktop is secondary in mobile first development
261.
▲
by
stabbles
3y ago
Take a look at the chess engine Stockfish: they tossed out years and years of human written heuristics in board evaluation, to a small neural net that does the same but better. Now consider all the heuristics for inlining, loop unrolling, v
262.
▲
by
stabbles
3y ago
It's impressive that this can be done in a few lines of bash: https://gist.github.com/sontek/1505483
263.
▲
by
stabbles
3y ago
This is in contrast to small large language models like GPT3
264.
▲
by
stabbles
3y ago
What are all the comments regarding fiber supplements about? Why would you ever take fiber supplements? How about whole-weat bread and veggies? Isn't the point of fibers that they're healthy in the sense that they can't be di
265.
▲
by
stabbles
3y ago
It because of this exact technical challenge that ads nowadays appear between paragraphs in the middle content column, instead of in the right column where they belong.
266.
▲
by
stabbles
3y ago
As W3Schools still likes to call it: the new, modern clearfix hack [1] .clearfix::after { content: ""; clear: both; display: table; } [1] https://www.w3schools.com/howto/howto_
267.
▲
by
stabbles
3y ago
What is really oddly specific is this instruction :p but I believe it is a common trick to quickly scan for short string matches. It computes `sum(|x[i] - y[i]|)` for consecutive `i` at different offsets, so it should be zero at substring m
268.
▲
by
stabbles
3y ago
But is any of them using `_mm256_sad_epu8` for small, literal strings?
269.
▲
by
stabbles
3y ago
Before this gets downvoted, are there any notable features that could only have been added thanks to the Microsoft acquisition? I think GitHub actions are pretty successful, which may not have been developed by Microsoft as it was launched
270.
▲
by
stabbles
3y ago
The replacement is not without issues: each package can pick an ABI, nothing is enforced. A define in C toggles time_t between 32 and 64 bits, so if that struct is exposed in a library, dependents have to deal with it. Similar of course to
More ›