In Lua all arrays are just dictionaries with integer keys, a[0] will work just fine. It’s just that all built-in functions will expect arrays that start with index 1.
In Lua all arrays are just dictionaries with integer keys, a[0] will work just fine. It’s just that all built-in functions will expect arrays that start with index 1.
You can actually use / as a path separator on Windows in functions like fopen(), because it supports some ancient version of POSIX standard.
I have switched from XTerm to Konsole only a year ago.
It’s just C++ without templates. So whatever element you want to put into std::list, it must virtually inherit std::list::value_type. And of course there will be a macro-based list monstrosity inside Boost.
it’s used to verify that OpenGL ES2 works on your system. It’s the variant of 3D graphics drivers that is used on smartphones. Many apps nowadays write their GFX frontend with GLES2 so it uses the same code on phones and PCs, and if they compile the app to run in the web browser, WebGL is also based on GLES2.
Nah, it will end up simply as “John” in the database. You need “John%sDoe” to crash C software with unsafe printf() calls, and even then it’s better to use several “%s”
Torvalds kicked out a bunch of Russia-based kernel maintainers.
The security issue is very likely scenario. If you’re in Russia, you can go to jail at any moment on totally bogus charges. It is very easy for FSB to pressure some random kernel maintainer into adding hard to detect backdoor into their code, it will be XZ situation all over again.
Yes they do. See the long-standing debate over the ban to export crypto algorithms to Iran.
What about systemctl poweroff
?
I had the root canal done without an anesthesia, because I did not want a needle sticking into my gum.
It was tolerable, I did not cry or anything like. The nerve was mostly dead anyway.
The dentist took his sweet time removing the nerve piece by piece with a probe, instead of just drilling the whole tooth through. It did not matter at the end anyway, because he filled the canal afterwards. And the molar has three roots, so he repeated that two more times.
I guess it depends on your pain tolerance.
SDL2, with Android NDK, commandline version.
You can install Linux on rooted phones using Linux Deploy, or you can install Linux-in-an-app such as Userland or Termux if you don’t have root.
Inside the building it’s the first floor, even if it’s exactly at the sea level altitude. Outside the building it’s the ground. Basement levels start at minus one, there is no zeroth floor.
If the walkway goes inside the building, then yes. And the walkway usually leads directly to the second floor, because the airplane door is 3 metres above the ground.
In the UK it’s called a ground table.
Yet I still had an urge to explain an obvious thing. Because it’s C++, so everyhing goes. There are even tools to auto-generate C++ interfaces, because of course someone decided that C++ is inadequate and must be improved using some kind of poorly-documented ad-hoc extension language on top of C++.
Nope, the whole
${variable/regex/replacement}
syntax