A compiler. I mean, yeah, I guess I could go back to writing asm, but I really don’t want to.
A compiler. I mean, yeah, I guess I could go back to writing asm, but I really don’t want to.
Then Diogenes comes rolling through in an RV.
This is the meet cute for a bi rom com, right?
I use the “short meetings” option in gcal, which shortens meetings by 5-10 minutes to give me a passing period between meetings. Twice this week people have had the audacity to try and schedule a meeting in that break. 😬
Exactly, the same way I handle all my credentials.
If you mean emissions wise, that’s really going to depend on the bike. Old two-strokes rocking carbs? Yeah, they’re terrible. Modern fuel injected four strokes with cats? Pretty good, actually. And they get better mileage than most hybrids. I get 60mpg on my 900cc Triumph, which is a mid-sized bike by American standards and a big bike by world standards. Smaller bikes and scooters can get over 100mpg.
Take a look at motorcycles. They tend to be far behind the curve technology wise, and only Zerocycles have a telemetry system afaik.
And… they’re basically all correct. Linux does run on all sort of machines, even really ancient ones. It has a solid command line environment, or rather lots of them. And it’s astounding powerful. Windows does still blue screen, is currently the best place for gaming, and wow is MS fucking you with Win11. Macs can have a cool setup, are really simplified for most users and expensive.
Fun fact: Leaded solder is still required in aircraft because it doesn’t grow whiskers like this, while pure tin solder does.
I know that’s supposed to be a jokey edgy comment but advanced planning is really important for those you leave behind. They will absolutely appreciate it if you have done the basics of estate planning (will, advance directives, digital account planning) so that it’s not one more burden during one of their most difficult time in life.
I’ve only worked on a few embedded systems where C++ was even an option, but they allowed 2, 4, 5, and 7. Though, for the most part most classes were simple interfaces to some sort of SPI/I2C/CAN/EtherCAT device, most of which were singletons.
Take a look at what even the proposer is saying wouldn’t be allowed in:
(1) new and delete. There's no way to pass GFP_* flags in.
(2) Constructors and destructors. Nests of implicit code makes the code less
obvious, and the replacement of static initialisation with constructor
calls would make the code size larger.
(3) Exceptions and RTTI. RTTI would bulk the kernel up too much and
exception handling is limited without it, and since destructors are not
allowed, you still have to manually clean up after an error.
(4) Operator overloading (except in special cases).
(5) Function overloading (except in special inline cases).
(6) STL (though some type trait bits are needed to replace __builtins that
don't exist in g++).
(7) 'class', 'private', 'namespace'.
(8) 'virtual'. Don't want virtual base classes, though virtual function
tables might make operations tables more efficient.
C++ without class
, constructors, destructors, most overloading and the STL? Wow.
According to the github analysis, the kernel repository is:
So yeah, its basically all C, plus a tiny bit of assembly for very low level bootstrapping and some helper scripts.
There is no C++ allowed in the Linux kernel and Linus has gone on several major rants about how terrible a language it is.
There was an interesting physics paper recently that suggested that time travel was possible, but you wouldn’t be able to travel to before when the machine was built. Of course, it also would require an impossibly huge amount on energy, but that’s a problem for the engineers.
Man, now I’m nostalgic for my 3DS. I sold it when I got a Switch, which is a nice system but the 3DS had so many fun little things about it like Streetpass.
When I was a very junior EE I ended up working mostly on microcontroller code. There was one bit of extremely ugly code I inherited that parsed a terribly designed serial communication protocol by using a giant maze of nested if statements. I really wanted to rewrite it to something better, but I never quite came up a solution while I worked there. Years later after I was no longer at the company I had a stress dream about it and finally came up with a working solution. I still wish I could go fix it. I really hope it’s no longer used, or that someone else has finally fixed it.
There are lots of options, use a CD changer, burn a mix CD, listen to the radio, run a pirate radio station. I’m not saying that physical media is always better in every situation, but neither is streaming. I like having the option depending on the situation.
I love physical media because it’s just much easier to use. If I want to play some album in my car I put the cd in and press play. No fumbling around with search or menus, just put a disc in a slot and done. If I want a friend to listen, read or watch something I hand them a small object and they have it. No need to text them the title so they can search for it later and then forget it.
This seems both awesome and dangerous. The two analogies that come to mind are home canning and home brewing. They’re both generally safe and easy. But every so often someone gives their family botulism.