Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
divingdragon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
divingdragon
6y ago
You might be thinking of Halons, which are CFCs that depletes the ozone layer? They are mostly phased out worldwide but existing installations might still be in use. FM200 is something else that is often used in modern builds (not just data
32.
▲
by
divingdragon
6y ago
Hmm, could it be a system glitch when Namecheap tries to register the domain for you during checkout? This seems less likely to be a coincidence.
33.
▲
by
divingdragon
6y ago
Small correction: TS (MPEG transport stream) is mainly used for transmissions or broadcasts (e.g. DVB). The container format used for DVDs is PS (MPEG program stream), which is often stored as .mpeg files, and isn't quite the same as T
34.
▲
by
divingdragon
6y ago
But scaling down from A4 to A5 makes the text less readable.
35.
▲
by
divingdragon
6y ago
It is a very intriguing idea, but without integrated mouse buttons and a dedicated scroll wheel, it has to be used in conjunction with a custom keyboard. I love my CST (now X-Keys) L-Trac trackball and I don't think the OP trackball ca
36.
▲
by
divingdragon
6y ago
Some browsers automatically "fix" addresses by appending `.com` for you. I think even Firefox used to do that until mid 2010s.
37.
▲
by
divingdragon
6y ago
Ah right, createWindowContainer should work for this. I believe there is a reason why we don't call createWindowContainer with our use of QOpenGLWidget, though I currently can't remember it. If it still applies, then I suppose we
38.
▲
by
divingdragon
6y ago
Just curious: Is it possible to do rendering with QRhi inside QWidget in a similar way as one would do with QOpenGLWidget? Actually, the post also stated that using `QQuickWidget` will force OpenGL composition, so if an application uses QML
39.
▲
by
divingdragon
6y ago
It appears that one might not even be able to make use of QRhi without porting all the QWidget-based UI over to Qt Quick. Given how some high-profile Qt applications are using OpenGL, continuing with using ANGLE would seem to be the superio
40.
▲
by
divingdragon
6y ago
You don't even need `std::mem::take`, you can just `drain` the `Vec`. This also allows the allocation to be reused, unlike your `mem::take` which ends up dropping the allocation. `Vec::drain`: https://doc.rust-lang.org/
41.
▲
by
divingdragon
6y ago
> putting the tty into cbreak or raw mode and then just reading keys from stdin You're saying this like most beginners even have an idea what a tty is. An anecdote: When I wrote my first C++ program that reads an input (using `cin`,
42.
▲
by
divingdragon
6y ago
> make a [...] ntfs partition I think it would only work if your UEFI firmware happen to contain a driver for reading NTFS partitions. UEFI firmwares are only required to read FAT12/FAT16/FAT32. Rufus solves this by making an e
43.
▲
by
divingdragon
6y ago
I have been using a rooted Android phone with DriveDroid which mounts images as a USB drive for a PC. It works pretty well too. (Except for Windows setup ISOs. Those does not support direct booting from a USB drive and I had to mount a blan
44.
▲
by
divingdragon
6y ago
It's blocking me too. I have no issues with other Cloudflare sites however. I wonder what site-specific firewall filters has been triggered.
45.
▲
by
divingdragon
6y ago
This doesn't help with some of the difference between ANSI and ISO layouts. For example ANSI uses a long Enter key while ISO uses one that looks like the shape of a "7".
46.
▲
by
divingdragon
6y ago
There was a "distribution" called "pubuntu" (aka Portable Ubuntu) that makes use of coLinux, along with an X server (probably Xming) and even PulseAudio running on the host Windows system. For a while I used it to play a
47.
▲
by
divingdragon
6y ago
This approach seems a bit weird to me. While I appreciate them separating the models of Traditional and Simplified Chinese, I think I might prefer them to be combined (perhaps even including Japanese Kanji), and instead provide a way for th
48.
▲
by
divingdragon
6y ago
IME do have some uses for games, like for in-game text chat. I think it is reasonable to ask for at least some IME input capabilities in a game engine UI library. It is a must if one wants to make a multiplayer game targeting CJK markets.