Modern Python code uses explicit type annotation everywhere, meanwhile modern C++ code uses implicit type "auto" everywhere and relying on template type deduction to match it to a compatible function automatically. What a strange new world we find ourselves living in.
Why isn't "import things you're going to use into the main namespace first" an accepted code style in C++? Because std:: prefix in std::vector is short enough? Well, in modern C++ with things like std::chrono::duration_cast(t2 - t1), I suspect "import first" is going to be the new norm soon...
@lanodan@queer.hacktivis.me@chjara@akko.wtf For the note, PaX supported zero-poison after free (PAX_MEMORY_SANITIZE) since the year 2010. But of course LKML and PaX Team hate each other so it took 7 years before the Google / Kees Cook gang pushed it for upstreaming.
@lanodan@queer.hacktivis.me@chjara@akko.wtf There are many well-known mitigation techniques, like memory poisoning, and have already existed for 10+ years. But many are very aggressive (to them, Linux is exploitable despite some mitigations because they're too half-assed). Meanwhile kernel developers don't like them and think they're either too invasive or too paranoid (e.g. In PaX, you must call pax_open_kernel() whenever you need to change a critical kernel data structure). Linus in particular, hates security people and think they're mostly impractical jerks.
@Suiseiseki@freesoftwareextremist.com Hardware is not crappy. They are rigorously engineered to pass IEC 61000-4-2, which is the industry-standard ESD compliance test for the past 40 years. The lesson is that the office chairs can generate a highly non-trivial amount of ESD well exceeding the known engineering knowledge at that time: ~100 pulses in several seconds, in comparison to 10 in compliance tests.
@lanodan@queer.hacktivis.me Without exposed signal lines, the only thing you are likely to touch is the grounded enclosure or a metal connector. Ideally, ESD into ground = nothing.
Problem Exists Between Chair and Keyboard? But sometimes the problem is the chair. https://www.emcesd.com/pdf/uesd99-w.pdf"Some office chairs are capable of producing several hundreds of discharges over as much as a minute after a person rises from the chair. The sheer number and close spacing of possible ESD events makes the probability of equipment failure more likely [...]"
"There is an urgent need for a standardized test so that procurement contracts can specify chairs that do not radiate this type of electromagnetic interference"
@nomad@hackers.town "It is just as foolish to complain that people are selfish and treacherous as it is to complain that the magnetic field does not increase unless the electric field has a curl."- John von Neumann
Early radio history is also fascinating. You could find the 20th century equivalence of patent monopolists, the Oracle-Google lawsuit, the lonewolf hacker, Silicon Valley VC money-grabbing startup founders, and programmers who really hate Web ads.
@lanodan@queer.hacktivis.me@chjara@akko.wtf All high-speed links need termination, including twisted pairs, it's physics. The difference is just that silicons are cheap enough to make "switches everywhere" affordable, so now every link is point-to-point and terminations became a "private matter" for transceivers at both sides, instead of asking your local sysadmin to manage a big public terminator per bus.
@amberxorluci@crimew.gay Time to go back to 1800s Britain which made "bringing industrial machine designs out of the country" a criminal offense because the Empire's enemies should not be allowed to use them. Even taking a public patent application out of the country was enough to get you arrested. Of course it didn't do anything as this was officially encouraged by the US government (you could do this safely if you have good memory).
Previously: @niconiconi@cybre.space / Code monkey and sysadmin / No nations, no flags, no patriots. / Chaotic Neutral / Now Accelerationist / currently NEET + hikikomori / ? “Onii-chan is watching you!", use OpenPGP: FAD3EB05E88E8D6D / biologically male, self-identified as '; DROP TABLE genders;