Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diath
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
151.
▲
by
diath
1y ago
Please read the original article that this is in response to. The poor engineering was on Rockstar's side.
152.
▲
by
diath
1y ago
How would an open operating system fix a bug caused by sloppy game developers? I don't think anyone would think "let's not optimize the (equivalent of) critical sections in our operating system so that we don't break GTA
153.
▲
by
diath
1y ago
The problem with Firefox is that the money has to go through Mozilla, and Mozilla is not spending most of that money on Firefox. You cannot sponsor the development of Firefox directly, so your money ends up being wasted.
154.
▲
by
diath
1y ago
There's more up to date discussion about it in https://discourse.haskell.org/t/haskell-wlroots-bindings/842...
155.
▲
by
diath
1y ago
It's even more funny and amusing when you remember that in the initial release mail for Linux, Torvals said "just a hobby, won't be big and professional like gnu". https://groups.google.com/g/comp.os
156.
▲
by
diath
1y ago
This is actually very impressive - such a high quality project on technical level. I'll definitely dig into the source to see how the React & C++ widgets integration works as it looks like an interesting approach.
157.
▲
by
diath
1y ago
It would be nice if desktop software had to explicitly request access to different APIs on the system (network, filesystem, etc) as well as only request access to specific filesystem paths, then give us prompts that list the permissions tha
158.
▲
by
diath
1y ago
There are a number of areas in programming where I'd always choose C++ over Rust - gameplay programming, retained-mode GUI programming and interpreted programming languages to name a few have very complex circular memory models that ar
159.
▲
by
diath
1y ago
> Now the boxes get filled with pixels, colors, borders, shadows and images. Think of someone coloring in the board game pieces. This also uses the CPU and some extra memory to store the painted bits. Are you sure this is happening on th
160.
▲
by
diath
1y ago
Has anything changed in CS2? You could always just `connect host:port` in the console in Counter-Strike.
161.
▲
by
diath
1y ago
If you want something to remain private, don't post it on the public internet.
162.
▲
by
diath
1y ago
It's not universally supported by all packages, for instance C-based packages will not work, more info about it here: https://pypy.org/posts/2018/09/inside-cpyext-why-emulating-c... With that being said,
163.
▲
by
diath
1y ago
On semi-related note, it's worth noting that if you're trying to make a Python script run faster and don't have the know-how to re-write your program in C or how to write SIMD (if applicable), you can always try to run the sc
164.
▲
by
diath
1y ago
Considering the fact that these payment processors are still happily processing payments from PornHub, OnlyFans and other big real porn platforms, I don't think your explanation about the networks not wanting to be associated with porn
165.
▲
by
diath
1y ago
It's actually really small, according to Steam Hardware Survey, Macs are only 1.88% of Steam users, which is less than that of Linux, which is probably why most developers don't care.
166.
▲
by
diath
1y ago
As far as I know Wayland does not protect you from Chinese malware being distributed by Debian maintainers.
167.
▲
by
diath
1y ago
The first problem with people unable to lose weight is simply not counting calories and trying to "switch to healthier food and eyeball it". You have to have a kitchen scale and measure portions. Track every meal in an app. It
168.
▲
by
diath
1y ago
You probably want to pin requirements to specific versions of the libraries.
169.
▲
by
diath
1y ago
This was the original sort function (it was meant to force "last" to be first on the list after the sort which obviously violated the requirement): std::sort(entries.begin(), entries.end(), [&last] (const auto &a, cons
170.
▲
by
diath
1y ago
This had bit me in the past with std::sort that made seemingly benign code randomly crash a live service, cppreference has a list of all the standard facilities that need to meet these requirements: https://en.cppreference.com&#x
171.
▲
by
diath
1y ago
Not at all, it may be a useful marketing metric, but not a performance one. The average load does not matter when your backend can't handle the peaks.
172.
▲
by
diath
1y ago
https://isocpp.org/files/papers/P2996R4.html#the-reflection-...
173.
▲
by
diath
1y ago
This is yet another issue with Rust, nowhere in my post have I mentioned C++, I made no effort comparing the two languages, I just pointed out poor developer ergonomics in Rust and you're instigating a language flame war as if you took
174.
▲
by
diath
1y ago
The first code snippet, which is as simple as it gets, perfectly illustrates why Rust is extremely annoying to work with. I understand why you need the into_iter bit and why the borrow checker complains about it, but the fact that even the
175.
▲
by
diath
2y ago
Not hidden gems, no, but some of big titles originated from /agdg/, both Risk of Rain and VA-11 Hall-A started as progress posts in /agdg/ before hitting combined >1M sales.
176.
▲
by
diath
2y ago
Those are just sprites rendered onto the same canvas, not multiple canvases.
177.
▲
by
diath
2y ago
The "context" in "context menu" means displaying different options depending on the context of the UI/where you clicked, not having 20+ different ways to render the menus depending on the flavor of the Windows UI AP
178.
▲
by
diath
2y ago
It's not a matter of personal preference, Windows UI is objectively atrocious. Like what is this even? Why does Windows need 20 different ways to handle context menus? https://i.imgur.com/uLLiMxS.png
179.
▲
by
diath
2y ago
This is such a weird article, not only it seems like it's the company itself trying to glaze themselves in third person, but claiming that it's a single line of change when they're swapping out a library feature is just disin
180.
▲
by
diath
2y ago
> Even Claude/ChatGPT will suggest it as an optimisation. LLMs just repeat what people on the internet say, and people are often wrong.
More ›