Is it just me, or is it worrying how companies keep packing up and selling off the only parts of their businesses that actually, you know, make stuff, in favor of becoming full time bullshit peddlers?
Is it just me, or is it worrying how companies keep packing up and selling off the only parts of their businesses that actually, you know, make stuff, in favor of becoming full time bullshit peddlers?
“Trending on Occupied Twitter”
I’ve been thinking we need to get aspirational and take it to the next level:
Instead of “X (formally know as Twitter)”, the time has come for “Twitter (currently called X)”.
Are you in the czech republic, speaking in Czech, and presumably not using a VPN?
I agree with the other suggestions so far, to wit:
1.dyn is fine, when you need it. People will give you a lot of guff about performance but vtable lookup on a dyn is no less performant than the same thing in C++ (in higher level languages almost every call is dynamically dispatched and those are used for plenty of serious, performant work).
Use enums more.
Use traits and generic functions
And I would add a couple of other thoughts.
For some DI type work, you can use cargo’s Features to define custom build flags. You can then put variants on the same code (usually implementing a trait) in different modules and use conditional compilation on the Features to swap out which code is used. This is like a compile-time strategy pattern. I use it for testing, but also to swap out databases (using a local in-memory to test and a real one in prod) and to swap out graphical backends on my roguelike (compiles to OpenGL on windows but Metal on my Mac).
You’ll probably want to learn Rust’s macro system sooner than later as well. Sometimes a macro is better than a function when you need to generically operate over several types (function argument overloading, in other languages) or work on something in a general but well-structured way (tree walking for example).
Overly fawning and positive tone when the terrible examples speak for themselves. I did laugh loudly at the “black man eating spaghetti” when he goes to take a second bite which transforms mid-flight into a wine glass and smooshes his face. As an unintentional comedy generator, B+. As a useful tool that isn’t built on the stolen labor of millions of youtubers, F.
Our administrator is understandably a little bitter about the whole experience as it has unfolded, saying, "We were forced to switch from the perfectly good ESET solution which we have used for years by our central IT team last year.
Sounds like a lot of architects and admins are going to get thrown under the bus for this one.
“Yes, we ordered you to cut costs in impossible ways, but we never told you specifically to centralize everything with a third party, that was just the only financially acceptable solution that we would approve. This is still your fault, so we’re firing the entire IT department and replacing them with an AI managed by a company in Sri Lanka.”
Ah Texas, where children can’t make decisions or be held accountable in any way, unless they’re brown skinned and can be accused of a crime, then they must he tried as adults and sentenced to life as an imprisoned slave.
Out past the planets is the heliopause, the final boundary between the solar system and interstellar space. Voyager discovered it, but other probes have confirmed it. The radiation and particles emitted by the sun create a pressurized bubble around it, where plasma (energized particles, mostly hydrogen) is much denser than past the heliopause. Cosmic rays are more prevalent outside it.
I’ve heard it compared to the empty zone around where a sink faucet first hits, creating a little “wall” of water around it as the splashing water pushes back the standing water.
“Empty” space is anything but. There’s tons of particles and energy flying though it, just not as dense.
Ah man, living the dream!
I do wonder what’s up with fascist nerds and Tolkien names.
People in times of desperate oppression and violence rarely turn to the uncaring vastness of the chaotic universe for comfort.