Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
541.
▲
by
teo_zero
2y ago
Easy: it asks you the details of your accounts on first access, and stores them in its configuration. When launched the next time, it tries to log you in automatically. It also waits for the login to complete before drawing the button, so t
542.
▲
by
teo_zero
2y ago
> imagine you had a way to make a stock go up or down based on what you said Please add "and you are a normal citizen, not a hedge fund, not a bank", because the latter subjects are allowed to and routinely do trade and influen
543.
▲
by
teo_zero
2y ago
In fact the bottom line is > The time differences for individual characters are often below one nanosecond, making it virtually impossible to detect remotely. What I'm taking away is: scrutinizing the algorithm used for string compa
544.
▲
by
teo_zero
2y ago
Shouldn't we call this "Right to have repaired" instead?
545.
▲
by
teo_zero
2y ago
Interesting. I know this is a purely academic question as these constraints are something of the past, but was it really necessary to have 16 bits for the velocity? Was the ratio between the quickest and the slowest objects more than 256 ti
546.
▲
by
teo_zero
2y ago
I think TFA is too quick to dismiss the fadd_fast intrinsic as "incredibly dangerous". In many cases you do know that your numbers are not infinities nor NaNs. I'd be curious to see the performance of hypothetical block_pairw
547.
▲
by
teo_zero
2y ago
I think part of the challenge is to not exceed the word size, 16 bits in this case.
548.
▲
by
teo_zero
2y ago
On a machine where you can't easily install and maintain a runtime but you can install bash and amber and bc and sed?
549.
▲
by
teo_zero
2y ago
Oh yes, introducing expressions on types means defining a new, specific syntax for each construct. However, I strongly believe well-known symbols should keep their properties independently of whether they are used in type expression or in v
550.
▲
by
teo_zero
2y ago
If the wasi+weval version is better than the compiled one, doesn't it mean that the compiler made a bad job at optimizing out the constant parts? To be fair, in order for weval to do its magic, the code has to be changed and annotated.
551.
▲
by
teo_zero
2y ago
Of course you can read it. That was just an example to show that C declarations can't always be decomposed into a left part which is the type and a right one which is the variable. It works on the simple case of a pointer, because * is
552.
▲
by
teo_zero
2y ago
And how would you read the following? int* i, j; C declarations simply are not "first the type, then the variable"...
553.
▲
by
teo_zero
2y ago
I think wrong block sizes, or, to be more precise, misaligned blocks, affect writes more than reads, so the performance impact will be limited in all common cases. But they will worsen the write amplification and thus shorten the life of yo
554.
▲
by
teo_zero
2y ago
I understood "rise of AGI" as if preceded by "uncontrolled": a runaway intelligence that ultimately turns against its creators. In that sense, yes, those movies do include this theme. Your comment makes sense if you inte
555.
▲
by
teo_zero
2y ago
While you're right that median is more useful than mean in this case, it doesn't address the specific issue jltsiren raised, that this kind of statistics tends to exclude luxury goods. This seems reasonable, as luxury is not relat
556.
▲
by
teo_zero
2y ago
The fact that GTK3 is considered the new thing still in alpha is a red flag for me.
557.
▲
by
teo_zero
2y ago
Smoother scrolling?
558.
▲
by
teo_zero
2y ago
You can do it with one shift: 0x10880 & (24 << (i*4))
559.
▲
by
teo_zero
2y ago
This would be quite expensive to apply to whole-disk encryption, as you'd need 8x the size of the data that you want to store. Whether this is worth it or not depends on the threat model you're facing, of course.
560.
▲
by
teo_zero
2y ago
I still remember my first steps with C on my Amiga, after years of BASIC. I opted for the Dice compiler because Lattice was too expensive. At that time the norm was to send the money via mail and receive floppy disks in exchange via the sam
561.
▲
by
teo_zero
2y ago
Doesn't Zed only run on MacOS?
562.
▲
by
teo_zero
2y ago
Is there a reason why New Dehli doesn't show up at any zoom level?
563.
▲
by
teo_zero
2y ago
I'd venture to guess it's to avoid confounding it with a Ø used in Scandinavian languages.
564.
▲
by
teo_zero
2y ago
> I don't find this "easy" at all. The writing style is annoyingly formal ... and you need to know what a shilling and a farthing are to understand some of the examples.
565.
▲
by
teo_zero
2y ago
Who ever said that aligning things, especially text, on a page was easy? Just look at what Donald Knuth had to invent to solve this problem!
566.
▲
by
teo_zero
2y ago
Unfortunately your version doesn't free map and stack in case of success.
567.
▲
by
teo_zero
3y ago
Yours seems a good practice. But apart from having concentrated it in the outer function, you have not reduced the cleanup burden. In fact, the outer function might grow out of control if the number of resources increases. In your example,
568.
▲
by
teo_zero
3y ago
I had the same reaction! I was excited about this article before realizing that "only elementary functional programming techniques" promised in the abstract actually means a full programming language used by 1% of programmers.
569.
▲
by
teo_zero
3y ago
Right! But it was more than that: it was the separator between data you wanted to print without any blank in-between, as opposed to the comma that would add a Tab.
570.
▲
by
teo_zero
3y ago
Let's not forget that BASIC used the colon.
More ›