Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rossy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
rossy
8y ago
Bash has this as well set autocd
182.
▲
by
rossy
8y ago
I agree in principle. NT IO is way more elegant than Linux IO, especially when it comes to AIO, and especially AIO to disk files. I don't agree with your examples though. I think NT has those flaws as well. Accidental handle reuse in N
183.
▲
by
rossy
8y ago
MakeMKV seems to have processing keys dating from late 2018 (at time of writing) so, ignoring BD+, it should be able to decrypt every disc pressed before then.
184.
▲
by
rossy
8y ago
From the perspective of a Windows user, GTK+ 3 does a less-good job of fitting in than Qt Widgets 5. Even with the win32 theme (GTK seems to use the Adwaita theme by default) GTK is missing shadows and the icon gutter in menus, and animatio
185.
▲
by
rossy
8y ago
They probably can't remove it as long as they have Win32. Real Windows programs sometimes do things like fopen("con") or CreateFile("nul", ...) for the same reason a program might open /dev/null or /d
186.
▲
by
rossy
8y ago
The most annoying aspect of HiDPI KDE for me is that Gwenview doesn't support it. It might appear to support HiDPI, but if you look closely, it always renders images with jumbo 2x2 pixels, even when downscaling. Okular used to have thi
187.
▲
by
rossy
8y ago
The patent restrictions make Apache 2.0 less permissive (even if you think they're a good thing.) They cause practical problems, even for well-meaning free software developers, because they make the licence incompatible with GPLv2.0, w
188.
▲
by
rossy
8y ago
char has another use. I've always figured char pointers were the proper way to provide byte-level access to other objects, since char pointers are allowed to alias other pointer types. That is, they're not bound by strict aliasing
189.
▲
by
rossy
8y ago
For what it's worth, even Richard Stallman condones the use of proprietary software on a device you don't control, like an ATM or a supermarket payment kiosk. This is not the same thing as being forced to run proprietary software
190.
▲
by
rossy
8y ago
I'm probably not as stringent about buying "direct from the artist" as the GP, but yeah, I do follow my own set of standards in regards to other media. > I mean watching YouTube videos would clearly not meet your requirem
191.
▲
by
rossy
8y ago
Maybe the artists should care. The music industry is pretty consumer-hostile these days. Could you imagine if, twenty years ago, it was commonplace to sell CD or vinyl records that only worked on a specific brand of stereo. These days it&#x
192.
▲
by
rossy
8y ago
> because nobody really depends on DNSSEC That's not true. A lot of people use DNSSEC validating public resolvers like 1.1.1.1 and 8.8.8.8, especially on Android devices. I use DNSSEC on my personal domain, and when my zone-resign
193.
▲
by
rossy
8y ago
Don't let that answer confuse you. It seems to be phrased in an intentionally confusing way, but it's really only talking about time zones. At midnight 1970-01-01 UTC, Los Angeles, North America, and roughly half of the world stil
194.
▲
by
rossy
8y ago
I think the behaviour of cmd.exe is part of the problem here. When an interactive cmd.exe launches a console-subsystem app, it waits for the process to finish before showing the prompt again, but when it launches a GUI-subsystem app, cmd.ex
195.
▲
by
rossy
8y ago
Nope, CreateFile and NtCreateFile are synchronous, only reading and writing are asynchronous.
196.
▲
by
rossy
8y ago
> DirectWrite is on the CPU, though, AFAIK. DirectWrite rasterises glyphs on the GPU when used with Direct2D. GPU path rasterisation was Direct2D's killer feature when it was initially released with Windows 7.
197.
▲
by
rossy
8y ago
The offline brotli compression tool uses maximum compression by default. The ngx_brotli module uses 6. I think that's reasonable. If you're compressing a file offline, you probably don't have big time constraints, so it makes
198.
▲
by
rossy
8y ago
You can put a hash of your public key in the TLSA record (TLSA 3 1 1). Unlike the full certificate hash (TLSA 3 0 1,) the public key hash shouldn't change when your LE certs rollover. See: https://community.letsencrypt.org&#
199.
▲
by
rossy
8y ago
rm /bin/sh ln -s /bin/bash /bin/sh Oh shit. Please do not do this in your install scripts. Making permanent changes to core system utilities from an unrelated package seems like a level beyond the usu
200.
▲
by
rossy
8y ago
That depends on who you ask. OpenGL is in the deprecated API section on MSDN[1]. Because of the ICD model, Microsoft can't prevent GPU vendors from adding OpenGL features, but they don't bother integrating it with modern Windows A
201.
▲
by
rossy
8y ago
You quote it like this: parent_dir="$(basename "$dir")" Quotes are syntactic in bash, so it understands that the outer pair of quotes are surrounding the command substitution and the inner pair are inside it. Th
202.
▲
by
rossy
8y ago
Yeah, I think it's safe to say most Linux and macOS systems don't have an editor as basic as Notepad (even ed has regex support!) The closest equivalent I can think of is Mousepad from Xfce. I don't really see the need for it
203.
▲
by
rossy
8y ago
This is addressed in the article under "What if we make the hash slow?" You might be tempted to use salted hashes, but apparently this only works for protecting data that is supposed to be unpredictable, like passwords, and it
204.
▲
by
rossy
8y ago
That issue is about supporting Vulkan on macOS via MoltenVK, but mpv already supports Vulkan on Windows and Linux. The problem that I think the parent post is referring to is that mpv 0.28.0, which introduced Vulkan support, also introduced
205.
▲
by
rossy
9y ago
> which means that it's not based on MS documentation I think looking at MS documentation is okay. You're allowed to look at MSDN for Wine development[1]. Since the projects share code, you're probably allowed to do so f
206.
▲
by
rossy
9y ago
Like I said, stretching and centering. The justify-content property works on each row of a flexbox, so you can have a flexbox full of items with different initial sizes, automatically wrap the items that don't fit to multiple rows, and
207.
▲
by
rossy
9y ago
flex-wrap. flexbox is one-dimensional, so it can "wrap" items that don't fit to the next line. The wrapped items don't have to line up with vertical grid lines, like they would in a grid, and they can be stretched or cen
208.
▲
by
rossy
9y ago
I always figured this was to support Material Design, where the size of a drop shadow depends on the difference in elevation between the surface casting the shadow and the surface underneath.[1] A Material Design compositor would have to kn
209.
▲
by
rossy
9y ago
You shouldn't be able to lose any committed work in git. If you botch a merge, you can reset to one of the merge parents and try it again. If you botch a "destructive" operation like a reset or a rebase, you can undo it using
210.
▲
by
rossy
9y ago
Huh? I've been running a 2x/192dpi Linux/X11 laptop for a couple of years, and the experience has been near perfect. Hands down better than on Windows. Some DEs even detect the panel DPI and configure toolkit scaling automati
More ›