Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
keyneus
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
keyneus
2y ago
I remember upgrading from a 4x to 24x, and being excited for the much faster data transfer rate. What I didn't anticipate was the fact that it sounded like a jet taking off when it spun that fast! I figured out how to ratchet it down t
2.
▲
by
keyneus
3y ago
I switched to Vivaldi as a result of the removal of this feature from Firefox, because Vivaldi still allows you to choose this behavior. Are there other Unix browsers you're aware of that allow you to disable click-to-select? It'
3.
▲
by
keyneus
3y ago
At least Audacious (in its audacious-plugins package) as well as Qmmp support chiptunes via the Game_Music_Emu library. I'd imagine many other plugin-based players for Linux/Unix have support as well.
4.
▲
by
keyneus
3y ago
In C, it's perfectly legal to do this: struct S { ... }; typedef int S; That's not valid in C++ (so would be a breaking change in C, if it were to adopt this). I don't really think changing this in C would break
5.
▲
by
keyneus
4y ago
If you're at all interested in digging through the Zork code yourself, you no longer need to know Z-machine assembly: the source code for most Infocom games was released/leaked a few years back, and is available here: https:/
6.
▲
by
keyneus
4y ago
As of libpng 1.6.0, a so-called "simplified API" was added, which does not use setjmp/longjmp. A while back I had a C project using the old API, and I converted it to C++, and the interaction of setjmp/longjmp with excep
7.
▲
by
keyneus
4y ago
> There is no reader mode. There is, but as far as I know it's not something you can manually toggle. On sites which Vivaldi deems can be shown in reader mode, you're prompted to switch to it. I don't know what criteria it
8.
▲
by
keyneus
6y ago
Am I correct in saying that functions written in C do not get pre-empted like Erlang functions? If that is true, you could write computationally intense code in C within a BEAM app. They cannot be pre-empted, but they must also return qui
9.
▲
by
keyneus
10y ago
I prefer it because it means less fiddling with tabs/the back button. Plus you can collapse comments. But by default it's very difficult on my eyes due to the low contrast, so to make it at all usable I make use of a Stylish scri
10.
▲
by
keyneus
11y ago
C++14: auto p = std::make_unique<int>(5); auto q = std::move(p); std::cout << *p << std::endl; Segfault using the “safe” C++ features. I'm a fan of modern C++, but it's not safe (in a Rust sense) even
11.
▲
by
keyneus
11y ago
Type annotations. They're the sole reason we moved from Python2 to Python3, and it was completely worth it. With mypy, we now have at least some semblance of a type system and type checking, which is a huge win. Unicode support is va
12.
▲
by
keyneus
11y ago
The sqlite3 module that comes with python is terrible when it comes to errors. For example, if OperationalError is raised, it could be any of the following SQLite errors: SQLITE_ERROR, SQLITE_PERM, SQLITE_ABORT, SQLITE_BUSY, SQLITE_LOCKED,
13.
▲
by
keyneus
11y ago
Anecdotal data to agree with type annotations: We have a fairly large Python codebase here. I've been wanting to move away from Python for a whole host of reasons, a top one being that it's dynamically typed. However, when mypy
14.
▲
by
keyneus
12y ago
If the interviewer is truly confrontational (as in, you're being asked something like "why did you do stupid thing A when thing B is clearly better"), then you're better off not working there. However, I'll often as
15.
▲
by
keyneus
12y ago
Go allows pointers to be sent over channels, so it's up to you to make sure you send copies of data to prevent problems. So no, I'd say Go isn't doing that; or rather, it does require message passing but there's a huge