Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvratil
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
dvratil
1mo ago
Cannot unlock, though: Prompt: "Unlock my doors" { "function_calls": [], "reasoning": "No tool for unlocking or locking door exists. lock_door only performs lock/unlock actions, not unlock.",
2.
▲
by
dvratil
2mo ago
I think the parent's point is that we started with raw pointers to implement PIMPL, then we had std::unique_ptr, and now we have std::indirect. So there are now three different ways how PIMPL can be implemented, each has its gotcha
3.
▲
by
dvratil
2mo ago
It's often used in libraries where you need to guarantee ABI compatibility. Fixing a bug or implementing a feature may require adding a new member into the class, which would change its size (thus break ABI compatibility). PIMPL is the
4.
▲
by
dvratil
2mo ago
I sometimes wonder how these systems are being tested on the road and whether there's any feedback from the test drivers, or what kind of morons are there saying "this is completely fine, exactly like intended" when they read
5.
▲
by
dvratil
3mo ago
I learned HTML thanks to Operation Flashpoint so that I could write mission briefings in the editor...one thing led to another, and I have a successful career as a software developer. Thanks, Bohemia Interactive.
6.
▲
by
dvratil
4mo ago
For me (as an EU citizen), sovereignty is about being independent of companies operating under law that I have no control of (can't vote in the US) and is veeery unpredictible (Trump administration). I don't want to wake up one da
7.
▲
by
dvratil
4mo ago
One thing I haven't seen mentioned here yet and really like about OpenRouter is their openrouter "meta" model, that automatically routes the prompt to an appropriately capable model. Saves me a ton of money on not routing eve
8.
▲
by
dvratil
5mo ago
Maybe I'm missing something, but how would GTA6 source leak really harm Rockstar? I mean it's unlikely it would be possible to compile a full working game from the leak, and even if so, it's such a non-trivial task, that I do
9.
▲
by
dvratil
6mo ago
Just yesterday I used Jellyfin2Samsung to install Moonlight on my TV. After the installation, the app shown a popup to donate to the author ("buy me a beer"). And I figured why not? The software turned a tedious process into a one
10.
▲
by
dvratil
7mo ago
I used to have a git post-checkout hook that set the repo identity based on the repo origin url [0] on checkout - maybe there's some post-clone hook these days, but 10 years ago when I wrote it there was only post-checkout hook. [0] h
11.
▲
by
dvratil
8mo ago
Well, there's a SELinux coloring book - you need to start with SELinux while they are still young! https://people.redhat.com/duffy/selinux/selinux-coloring-boo...
12.
▲
by
dvratil
9mo ago
Happened on the first day of my first on-call rotation - a cert for one of the key services expired. Autorenew failed, because one of the subdomains on the cert no longer resolved. The main lesson we took from this was: you absolutely need
13.
▲
by
dvratil
9mo ago
I believe every sensible open-source developer strives to keep their software performant. To me, a performance regression is a bug like any other and I got and fix it. Sure, there's no warranty guaranteed in the license, yet no-one who
14.
▲
by
dvratil
9mo ago
The question is, does Mozilla rigorously review every single update of every featured extension? Or did they just vet it once, and a malicious developer may now introduce data collection or similar "features" though a minor update
15.
▲
by
dvratil
9mo ago
I always enjoyed being a metal head, the music is the main reason of course (I like it), but the community is a very big aspect of it too. I always thought about metal shows and festivals as a "safe space", where people can really
16.
▲
by
dvratil
10mo ago
But that's extra time when the ship is sitting idle, while it could've already been on its way with new cargo, making more money.
17.
▲
by
dvratil
11mo ago
It's not that long ago that tables were the only reliable layout tool for HTML emails (mostly due to Outlook supporting only very limited subset of CSS).
18.
▲
by
dvratil
11mo ago
I would guess this is just to make the explanation of the bug easier. In real world, the futurelock could occur even with very short locks, it just wouldn't be so deterministic. Having a minimal reproducer that you have to run a thousa
19.
▲
by
dvratil
1y ago
I was involved in porting some software to Qt back when Photon was deprecated, and I always found the system very interesting. This is the first time I'm actually learning more about its history. Thanks for the great read. I was also a
20.
▲
by
dvratil
1y ago
It's more about having the LLM give you a plan of what it wants to do and how it wants to do it, rather rhan code. Then you can mold the plan to fit what you really want. Then you ask it to actually start writing code. Even Claude Code
21.
▲
by
dvratil
1y ago
This is my gripe with C++ - I have to have a CI pipeline that runs a job with clang-tidy (which is slow), jobs with asan, memsan and tsan, each running the entire test-suite, and ideally also one job for clang and one for gcc to catch all
22.
▲
by
dvratil
1y ago
The problem I found about the adaptors is that you can't charge your phone and listen to music at the same time. I have an older car with an old stereo where the only external input is via jack. Worked perfectly fine with my old phone.
23.
▲
by
dvratil
1y ago
The one thing that sold me on Rust (going from C++) was that there is a single way errors are propagated: the Result type. No need to bother with exceptions, functions returning bool, functions returning 0 on success, functions returning 0
24.
▲
by
dvratil
1y ago
With pi-hole, you can also block telemetry from smart devices (TVs, dish washers and stuff), and if you run it on a VPN that your phone is connected to, you can also block ads and tracking in phone apps. As mentioned in the article, pi-hole
25.
▲
by
dvratil
1y ago
Amazing, now could I just get a way to do asynchronous network requests in two lines of code, like I have with other languages? Honestly, it seems to me like the committee is constantly chasing the easy bits but is failing to address the bi
26.
▲
by
dvratil
2y ago
We installed Daikin AC in our house two years ago. Luckily, those units can be controlled locally (no cloud) via Daikin app (which says is unsupported and I should update to another app, but that one requires creating an account so screw t
27.
▲
by
dvratil
2y ago
Windows did not disable the driver because Crowdstrike marked their driver as critical for boot. Had they not done that, Windows would disable the driver automatically.
28.
▲
by
dvratil
4y ago
What I miss mentioned here is AUR and the fact that almost any software that you can think of is packaged there. You read about some cool software (like git-bug I learned about today here on HN), you do `yay -S cool-software` and it's
29.
▲
by
dvratil
4y ago
I had a chance to use Bro a few years back in a network traffic analysis software and the code was fairly bad - global states, no multithreading, weird scripting language (because of which everything was dynamically allocated with measurabl
30.
▲
by
dvratil
4y ago
Syscalls are provided by the operating system, it doesn't matter which C library you use. The C library usually just provides a nice API to call the syscall. And it it doesn't, you can still call it directly via syscall(1).
More ›