Is that just like the shared memory model of parallel computing or are there any added complications? Have you done this before? Please do share your experiences if so cause now I’m interested :p
It’s similar, but the general idea of a hypervisor is to separate resources and avoid this exact situation (it’s nuanced and there are some exceptions, but that’s the general use case).
The added complication would be that when you compile a binary for one virtual machine, the compiler may optimize things, blissfully unaware that there are other players possibly affecting memory. In a typical multithreaded environment, the compiler has a better picture of how shared resources are being used across threads, but that has to be declared manually for a hypervisor. So if you configure your hypervisor to share resources, you have to be even more vigilant in configuring the individual compilers to play nice.
I don’t have a ton of experience with embedded hypervisors, though. And it’s worth noting that there are lots of “hypervisors” out there, and some work very differently from others.
Software dev is full of obscure keywords that describe otherwise pretty simple or basic concepts you stumble upon in practice naturally and that you probably already understand.
singleton: a class/object that is designed to be single use, i.e. only ever instantiated with a single instance. Typically used when you use class/objects more for flow control or to represent the state of the program itself, rather than using it to represent data
immutable: read-only, i.e. unchangeable
dependency injection: basically when you pass a function or object into another function object, thereby extending their effective functionality, typically for modular code and to separate concerns.
Here’s one more of my favourite examples of such a keyword: memoization
But we might need to add more features in the future so it might not just be a list in a few years. Better encapsulate it in a few layers of abstractions just to be safe.
Also, the Sarah Connor Chronicles seemed to be moving in the direction of preventing Judgement Day by befriending Skynet when it gained consciousness rather than trying to destroy it. Alas, the series got cancelled before its time.
There are A LOT of people training AI with faulty models that are learning from heavily biased data sets. Never underestimate humans’ ability to fuck shit up. For every genius that makes a technical breakthrough, there are thousands of morons ready to misuse it or break it.
It makes me sad because Google used to be great. The main feature that made Google great was the click rejection. Basically the search would know when you clicked on a link and didn’t come back to the search results. This action would add weight to that result as “this probably has the information that was being searched for” so it would be nearer to the top later when others made similar queries.
This was their killer feature, it basically crowd sourced the correct information. After a small amount of time, the correct results would kind of float to the top so subsequent searches would put those results near the top to help satisfy queries faster.
Now? They seem to want to give you results that satisfy their partners, and keep you tied to the results page as long as possible. The focus seems to have shifted from being a good search engine with accurate results, to a meme of how to make money.
Never before has this shift been more clear to me than right now, directly in the wake of I/O 2024; an event my friends have taken to calling AI/O. Pretty much every single presentation was about Gemini and AI generated garbage, but this isn’t what made Google’s new direction clear to me. In the last 20-30 minutes of the event it was made perfectly clear what they were doing with I/O. And to drive the point home, every I/O has showcased stuff you can’t use yet, stuff they’re working on, and other cool shit. Some of it cost money, but there was usually some stuff that was just done because it could be done and it would be made available at some point, a nontrivial amount of it was free. At AI/O, the entire focus was on AI, with little to no non-AI stuff in there, at all, then at the end, they kicked everyone in the shorts. Here’s our prices to access this shit. Buy it. As far as I’m concerned AI/O was a gigantic marketing circle jerk to sell their AI.
It seems that Google has entered the final phases of enshittification.
Saw an article that said that some execs demanded for search to have better user retention. I.e make the user search multiple times to find what they’re looking for, so they can be shown more ads.
Just in case you’re not just satirically listing things that are already awful;
Supermarkets increase their “retention” by limiting signage to keep you wandering and avoid “just get that thing and go” shopping. I don’t know how common this is, but when I was a kid the major supermarkets had long lists of what items were in each aisle, plus highly visible signs in the aisle to show exactly where each category was. Now days at the major chains those in aisle signs are completely gone, and the categories have been whittled down to a few major categories; most products aren’t represented on the sign at all e.g. you have to assume “cake mix/decorating” are in the same aisle as “flour”.
Unskippable ads on all pumps are absolutely a thing that are getting more popular. Mobil is particularly bad for it in my experience.
The square button second from the bottom mutes the audio. I’ve taken to carrying a marker in my car and writing “<— MUTE” next to them. Alternatively, a small screwdriver between the speaker grating.
It’s frustrating because it’s all done by people. Like if a volcano erupts you can’t really get mad at it. It’s just physics stuff. But all of this? People are making these choices. People made of meat and bone. Like, you could find the decision makers at Google who decided to shit up their product and kick them in the junk.
What if peoples relationships create a superstructure no single human can control, and we need active collective effort to supercede it?
If a single human refuses from a moral standpoint, a humongous amount of money to do something crap as CEO controller of whichever crap company, boards will replace them, and some other human will, because material condition dictate it has to be done. No one is really in control. The boards are all just optimising for profit, because if they’re not, someone else will.
How to break the capitalist cycle of control over peoples will?
Supermarkets already optimise many things, products with lower margins are at the bottom in aisles, and all the junk food or cheap liquor is next to the cashier.
Supermarkets maximizing profit: put ads everywhere and hide the most commonly bought foods!
Many supermarkets already do things like putting the milk and bread at opposite sides of the store, so you have to walk through the whole store to get both. You’d often be walking past the end caps while doing so, which are essentially ads (companies pay to have their products displayed at the end caps)
This is possibly something you could implement in a meta search engine like SearXNG, though there are some privacy concerns.
Maybe it could locally store which domains you personally tend to click (and stay) on. Then automatically raise those domains when it sees them somewhere in the output of the underlying engines. This isn’t perfect because you wouldn’t get data from other users. But I think it could do a lot to improve search results.
I might actually clone the repo and see if I can get somewhere soon
The thing with Google was that the data about click through vs click back was supposed to be anonymised. Whether it was or not, inside of the black box that is Google’s algorithm, who knows?
Either way, I’d be interested if you get any progress here. I’ve never tried to self host a search engine, but I might consider it.
I remember how people used to joke about the second page of Google results being a desolate wasteland where no one ever looks, now I just instinctively scroll down a bit because I know the first page of results is going to be trash.
One day someone will use the SQL injection to execute code on the remote server to add message to the web site that tells the workers to unionise and demand actually fair wages and put an end to the whole tipping nonsense
Considering it uses day then month, 24hr clock, and distance in km, I’m guessing the reason why it’s not “human readable in American” is because it’s intended to be “human readable for pretty much everybody else”
I once worked in a software shop where all release packages had the Unix epoch timestamp in the filename. Yes, these sorted brilliantly making it trivial to find the last one. But good luck finding a build from a specific date/time.
programmer_humor
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.