Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
porphyra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
571.
▲
by
porphyra
2y ago
I wish there was some kind of small, soundless video supporting transparency for emojis, stickers, small animations, diagrams in slide shows, etc, that is guaranteed to autoplay and loop without issues. The problem with <video> of cou
572.
▲
by
porphyra
2y ago
using namespace std; is considered kinda bad since you don't want your namespace to be polluted with a bunch of std stuff. For example if you have `int count` lying around somewhere you'd want to be able to call `std::co
573.
▲
by
porphyra
2y ago
I also find that, in C++, int sum = 0; for (int i = 0; i < n; ++i) sum += x[i]; return sum is a lot easier to understand than return std::accumulate(x.begin(), x.end(), 0, [](int a, b) {return a + b;});
574.
▲
by
porphyra
2y ago
I like how the Truck kernel's github [1] says that their choice to use Rust and WGPU is due to "Trendy Tools" being a core principle. I'm super excited about this. [1] https://github.com/ricosjp/truc
575.
▲
by
porphyra
2y ago
I just retried Sway on nvidia proprietary drivers. It is still a bad experience imo compared to i3. * Cursor didn't show up at first. I had to use `export WLR_NO_HARDWARE_CURSORS=1`, but the software cursor had some noticeable latency
576.
▲
by
porphyra
2y ago
fyi wlroots is an implementation of Wayland.
577.
▲
by
porphyra
2y ago
With recent nvidia versions, proprietary drivers work decently with Sway if you enable kernel modesetting. There was some jank with fbdev (an optional framebuffer thing with better performance) at some point, not sure if version 550 fixed i
578.
▲
by
porphyra
2y ago
I wish Nvidia would work nicely with Sway. I fully understand the Sway developers' dislike of Nvidia considering how hostile Nvidia was for many years. I suppose nowadays Sway should work with Nvidia but you still have to use the `--un
579.
▲
by
porphyra
2y ago
Yeah and good luck if your native language requires CJK characters, right-to-left scripts like Arabic, or whatever. Fortunately Unicode is fairly good nowadays but the olden days of the wild west of encoding was terrible.
580.
▲
by
porphyra
2y ago
Yes, it looks pretty bad imho. It seems that the researchers have learned about a handful of recent techniques, such as Gaussian Splatting, and decided to apply it to a novel domain (hand drawn images) without any deeper understanding. Gaus
581.
▲
by
porphyra
2y ago
Yeah, for example, The Talos Principle, which was championed as a great example of a game that works natively on Linux, decided to go with a Windows-only release with Proton support on Linux for the sequel, The Talos Principle 2. To be fair
582.
▲
by
porphyra
2y ago
That's true but in Steam on Linux there's a dropdown menu in the settings that lets you choose the Proton Version. And tools like protontricks can add additional wine/wine-staging/proton versions that would show up in St
583.
▲
by
porphyra
2y ago
Danke schön this is a great answer that I was looking for.
584.
▲
by
porphyra
2y ago
Crossover uses Rosetta in order to run on Apple Silicon afaik.
585.
▲
by
porphyra
2y ago
Yes, I am aware of this fact. That doesn't answer the question of why anyone would run the Windows version of Steam on Wine, rather than running the Linux version of Steam, which would use Proton (which is built on Wine) automatically
586.
▲
by
porphyra
2y ago
Hmm but Wine doesn't work on recent versions of macOS or Apple Silicon anyway, right? But hopefully the Apple Game Porting Toolkit makes it easier for Mac users to play games...
587.
▲
by
porphyra
2y ago
Apart from games, there are many CAD tools such as Rhinoceros 3D which don't work in Linux and have no open source equivalents.
588.
▲
by
porphyra
2y ago
Just curious: what's the point in running Steam in Wine nowadays? It seems that every Windows game in Steam that I've tried recently (Helldivers 2, Hades 2, Hogwarts Legacy, Talos Principle 2, etc) have been flawless in Steam for
589.
▲
by
porphyra
2y ago
Yeah the duplicate letters is bugged and also it lets you enter invalid words.
590.
▲
by
porphyra
2y ago
It's not just a quarter size hole. It's a quarter size hole in the high voltage battery pack, which is indeed extremely dangerous and needs specialized equipment and skill to replace.
591.
▲
by
porphyra
2y ago
I feel like humans, especially children, are in some respects similar to LLMs or current AI models. With an LLM, if you explicitly tell it not to do something, like keeping a secret hidden, it's notoriously eager to disobey the command
592.
▲
by
porphyra
2y ago
Human eyes are basically black and white in low light since rod cells can't detect color. But when the northern lights are bright enough you can definitely see the colors. The fact that some things are too dark to be seen by humans but
593.
▲
by
porphyra
2y ago
The Landauer principle gives a lower bound for the energy needed for computation (specifically, irreversible information erasure). Is it possible that there is a heretofore undiscovered lower bound that is higher? As an aside, modern comput
594.
▲
by
porphyra
2y ago
On Wikimedia Commons there's a large list of the legality of taking pictures of buildings in different countries [1], and an article about taking pictures of people [2]. Both contain a useful table organized by country. [1] https:
595.
▲
by
porphyra
2y ago
So these benchmark lists like TOP500 are just fundamentally flawed because the serious players are too busy doing actual work than to participate?
596.
▲
by
porphyra
2y ago
I feel like a lot of the big GPU clusters that companies like Meta are using would score highly on the benchmark, even though Linpack seems to be based on fp64 which the H200 is kinda sucky at. However, there's only one GH200-based mac
597.
▲
by
porphyra
2y ago
It's a neat demo but surprisingly laggy for a static webpage that has a minimalistic implementation of chess.
598.
▲
by
porphyra
2y ago
Pretty interesting how it turns out that --- contrary to science fiction movies --- talking naturally and modelling language is much easier and was achieved much sooner than solving complex problems or whatever it is that robots in science
599.
▲
by
porphyra
2y ago
Human eyes are basically black and white in low light since rod cells can't detect color.
600.
▲
by
porphyra
2y ago
> In 1992, [East Palo Alto] had the country's highest per-capita murder rate, with 42 murders for 25,000 residents. In 2023, the city had no murders, the first time in its history. --- https://en.wikipedia.org/wiki&#
More ›