Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diath
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
diath
3d ago
The company could have rejected the government deal if they cared about the moral aspect of spying on citizens instead of money; by accepting the deal and executing the contract they are complicit.
2.
▲
by
diath
4d ago
I'm not asking about the syntax, I'm asking about the logic where a value can be equal to itself plus another value when the pre-condition is that it must be > 0.
3.
▲
by
diath
4d ago
out (; balance == balance + amount) // checked after method returns How exactly does it work? Is this a typo?
4.
▲
by
diath
5d ago
You are free to donate your money to your project of choice.
5.
▲
by
diath
5d ago
They are the right abstraction for people that do not want to relocate terabytes of their existing data and filesystem structure to migrate to some sort of an esoteric filesystem just so they can let a tool work "properly" accordi
6.
▲
by
diath
8d ago
Not necessarily, in C++ you'd still drop from smart pointers to raw pointers, from virtual dispatch to switches/computed gotos, from std::function to function pointers and so on. These abstractions all come at a cost.
7.
▲
by
diath
8d ago
Highly optimized code in hot paths is rarely readable.
8.
▲
by
diath
14d ago
We're in a reply chain discussing a mob of digital artists exercising verbal violence against a digital painting software author who used LLM to assist with the code. This is literally an analogous situation.
9.
▲
by
diath
14d ago
Makes no sense. I don't see physical artists being upset that their pencils were manufactured in a factory instead of hand made.
10.
▲
by
diath
17d ago
Huh. Boomers really did live their lives on tutorial mode.
11.
▲
by
diath
17d ago
...what kind of credentials did you have to become a hw/sw engineer at a nuclear power plant as your first job?
12.
▲
by
diath
29d ago
That's good to know, I'd usually go about it in a roundabout way: soft reset the commit then git add --patch to stage the hunks to split it into multiple commits.
13.
▲
by
diath
1mo ago
> Western disease and sugar heavy diets broadly speaking No, just being sedentary. There's no such thing as acquired diabetes in physically active people.
14.
▲
by
diath
2mo ago
Nutriscore is a meme because it only refers to products in the same product category. Some Nestle's ultra processed sugary cereal has scores of A-B, it does not mean it's healthy, it just means it's less bad than other sugary
15.
▲
by
diath
3mo ago
> Immigrants economic contributions are net-positive, its not at the expense of anyone bc economies are no zero sum games. It's at the expense of women and their safety, for example. Between years 2010 and 2015, 60% of rapes in Swed
16.
▲
by
diath
3mo ago
"just know people bro"
17.
▲
by
diath
3mo ago
Why is it surprising? This is essentially a pre-built PC in a small form factor and most PC peripherals are USB-A.
18.
▲
by
diath
3mo ago
Minecraft has two versions, Java and Bedrock (C++), the Bedrock edition uses bgfx: https://www.minecraft.net/en-us/attribution
19.
▲
by
diath
3mo ago
There's so few gun related homicides in Poland that an execution style murder is 100% either mafia affairs or assassinations: https://en.wikipedia.org/wiki/Gun_laws_in_Poland#Gun_deaths_...
20.
▲
by
diath
3mo ago
With regards to 1), do not write/read structs directly to/from files. Instead write a proper serializer/deserializer. Without it, you may encounter another breakage soon when a different compiler/compiler options insert
21.
▲
by
diath
3mo ago
These jobs are unpopular because the pay is shit, not because people don't want to do them, the government could simply have grants/bonus program for people employed in these positions so that the taxpayer money directly funds the
22.
▲
by
diath
4mo ago
It has not lagged behind depending on how you look at it, video game development can be split into engine programming and gameplay programming. For engine programming, you only need a handful of senior engineers specializing in low level de
23.
▲
by
diath
4mo ago
So... git rebase -i?
24.
▲
by
diath
4mo ago
I just have a rule in AGENTS.md that any additions, removals or modifications to the public facing APIs should update the corresponding API documentation, works fine for me (assuming both sit in the single workspace).
25.
▲
by
diath
4mo ago
If you have a VPS that's always running, you can just use it as a git remote through SSH without moving things around or any third party software, just put the Git repo on the VPS and clone it via "git clone ssh://user@h
26.
▲
by
diath
5mo ago
> Who said anything about recreating the exact code? The person I'm replying to? Who said you will get the same code as if it were the original source?
27.
▲
by
diath
5mo ago
Absolutely. This is just some delusions of a vibe coder at best. Not with just current generation of AI tools but essentially never. The conversion from C, C++, Rust or whatever, through post-processing (macros etc), through IR generation,
28.
▲
by
diath
5mo ago
It has been available since GCC 12.1 (May 2022), Clang 19.1 (Sep 2024), and Visual Studio 17.13 (2022~): https://godbolt.org/z/on1v6qdf3 These days compiler developers implement accepted standard features pretty fast.
29.
▲
by
diath
5mo ago
It's an advertisement for their tool that found the exploit: https://copy.fail/#contact , https://xint.io/products/xint-code
30.
▲
by
diath
5mo ago
I have read it, if you scroll down to the API list for the new text functions, they all relate to text (string) manipulation, not text rendering. There's still no native mechanism for caching text vertexes between frames.
More ›