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…
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…
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.
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 all…
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:…
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…
> 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…
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…
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…
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 if you stick to…
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…
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,…
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,…
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 ask…
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…
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…
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…
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.
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 all…
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:…
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…
> 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…
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…
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…
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 if you stick to…
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…
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,…
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,…
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 ask…
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…