Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
361.
▲
by
teo_zero
2y ago
> I'd rather prefer people use easy to remember flags Like -fhardened?
362.
▲
by
teo_zero
2y ago
I've read the article and the comments with interest. I just have a question: if Windows ABI is so stable that 20-year-old programs are guaranteed to run, why are there computers with Win95 or NT that nobody dares touching lest some sp
363.
▲
by
teo_zero
2y ago
Very well explained, thank you. > Let Linux be Linux and Windows be Windows. They're both great if you appreciate them for what they are and use the accordingly. What if you technically prefer the Windows way, but are worried abou
364.
▲
by
teo_zero
2y ago
> I kinda just don't get wireless CarPlay/Android Auto at all. If I'm going to connect my phone to my car wirelessly for that, it's gonna drain the battery. So I'm going to plug it in so it can charge. So... now
365.
▲
by
teo_zero
2y ago
I think the parent poster was not arguing that allowing this combination of accesses is invalid, just that it can't be called read-ONLY if it's not ONLY read. "Any color the customer wants, as long as it's black"
366.
▲
by
teo_zero
2y ago
We should have two distinct, independent LLMs: one generates the code, the other one the tests.
367.
▲
by
teo_zero
2y ago
Suppose that, since next March 20th, the government adopts a standard time and school schedule that are perfectly synchronized with the local astronomical time, i.e. kids wake up at dawn, go to bed when it's dark, etc. On March 21st th
368.
▲
by
teo_zero
2y ago
IIUC Dell will have a line called Dell Premium that will cover the same market segment. It's just the XPS name that will disappear.
369.
▲
by
teo_zero
2y ago
As you pointed out, the latter does a very different kind of highlighting. The former is truly semantic, but needs an external compiler (via LSP).
370.
▲
by
teo_zero
2y ago
Analyzing the json_value struct, I don't get why values, object_keys and length are fields outside the union. I expected something like: struct json_value { enum json_type type; union { bool boolean; char *strin
371.
▲
Ask HN: Any editor with semantic, not syntax, highlighting?
9 points
by
teo_zero
2y ago
|
7 comments
372.
▲
by
teo_zero
2y ago
You are not supposed to change anything on your Fil-C program to have it compiled by a regular C compiler. FUGC is not a feature your code uses, just something that runs in the background to catch possible use-after-free cases, but triggeri
373.
▲
by
teo_zero
2y ago
> On windows, I type the name of an app, and right before I hit enter, the search changes and launches something else. This shouldn't happen. If KeePass, for example, is the best guess for an app beginning with k, ke, or kee, it mus
374.
▲
by
teo_zero
2y ago
Like this one? > Roc's compiler has always been written in Rust, and we do not plan to self-host. We have a FAQ entry explaining why, and none of our reasoning has changed on that subject.
375.
▲
by
teo_zero
2y ago
It's worth noting that the original FizzBuzz problem is not "given a number n, print..." but rather "for the first 100 natural numbers, print...". In this formulation, you don't need the modulo operator: you ju
376.
▲
by
teo_zero
2y ago
In Germany ATU charges 22€ for tires (17"), 18€ for wheels [1] In Italy Norauto charges 11€ for tires (17"), 10.50€ for wheels [2] Other countries show higher differences, though. [1] https://www.atu.de/pages/
377.
▲
by
teo_zero
2y ago
No idea what prices you're referring. In Europe, the most popular car repairs franchise offers tire swap at less than 2 euro (per wheel) more than wheel swap. What steel wheel can you buy for 6 euro?
378.
▲
by
teo_zero
2y ago
You are right. What gitless does differently is it saves (git stash) the uncommitted files before switching: branches are well isolated, it doesn't let uncommited files be "copied over", if you understand what I mean.
379.
▲
by
teo_zero
2y ago
From a cursory read of the readme and design documents, it looks to me the key point about Evo is a different use of existing concepts, like branches, merges, etc. rather than new concepts. I guess if you want ephemeral branches, nobody sto
380.
▲
by
teo_zero
2y ago
Interesting. If only it supported little-endian architectures!
381.
▲
by
teo_zero
2y ago
Thank you, but this thread was not about writing good code, but rather how often one ends up acritically copying existing "legacy" parts without even attempting to understand it. I probably used the wrong words: "conveys no i
382.
▲
by
teo_zero
2y ago
> the tool (or system) is too complicated (or annoying) to use from scratch. Or boring: some systems require boilerplate with no added value. It's normal to copy & paste from previous works. Makefiles are a good example. Every m
383.
▲
by
teo_zero
2y ago
And of course pi = 22/7! ;)
384.
▲
by
teo_zero
2y ago
What I find weird is that the chunk's size is fixed, while the caller must specify how many chunks a pool contains at pool creation. I would do exactly the dual: the chunk's size should be defined at pool creation, so that you can
385.
▲
by
teo_zero
2y ago
In some way it's the dual of break, in that you want to jump into the middle of the loop, while break is to jump out of it. Let's rewrite the loop this way, with 'break' expanded to 'goto': while (true) {
386.
▲
by
teo_zero
2y ago
The macro implementation requires braces. Even when the deferred action is a single statement you can't use this: defer fclose(f); Not a serious problem, just inelegant.
387.
▲
by
teo_zero
2y ago
Is there any particular reason why this straightforward implementation of a well-known PRNG (published by Marsaglia 20 years ago) is worth being linked from HN's first page?
388.
▲
by
teo_zero
2y ago
Godbolt shows 40 asm instructions, or am I misreading it?
389.
▲
by
teo_zero
2y ago
> So you can often construct values m1, m2, and compute: And what would m1 and m2 be for the specific problem¹ described in TFA? ¹ Namely, to find out if the input belongs to [0-9A-Za-z]
390.
▲
by
teo_zero
2y ago
I was taught that the s is omitted after plural nouns, not after nouns ending in s. Julia Evans's house, but the Evans' house.
More ›