Tumgik
#service supervision
Text
systemd won the Linux init system and service supervision game because a side-effect of being a monolith is being a "no assembly required" solution.
This is probably the most important lesson I took away from the unfortunate way that played out.
If you're making an s6, runit, or perp, and you want to win over a systemd, you need to understand that systemd is playing an entirely different game than you.
You are designing the best LEGO pieces for building a castle - you're thinking how to elegantly decompose service supervision, socket activation, cgroup management, and all the other things, to make the pieces that best enable a user like you to build exactly the castle you want. Systemd is shipping a premade castle - they're throwing it all into one project and showing users how easily they can do each of those things with a config line.
So design your LEGOs, sure. Wax poetic in your docs and blogs about how elegantly minimal and composable your LEGOs are to your heart's content. Bask in that subtly morally and intellectually elitist satisfaction of building a toolset which maximizes flexibility and freedom for the power user who wants to understand and control each piece.
Then take all your LEGOs, build an opinionated all-features-included castle out of them, build it so that it makes it easy to do all those things without grokking the elegance and vision of how all your LEGOs fit together. That competes with systemd. That's what you market to the mass of users.
Because when most system admins or developers come to you, they don't want to understand your LEGOs, how to put them together, which separately released pieces to install for those features, or how to bootstrap a system from them, either just because they don't care, or because they don't have the time. Or if they do, the rest of their team certainly doesn't.
Monoliths win the quick-and-dirty, good-enough, 20%-effort-for-80%-of-the-result, I-just-want-this-to-just-work usability game.
If you want to beat the monoliths with LEGOs, pre-assemble the LEGOs into a better monolith, then market that monolith the way monoliths market themselves - on features, efficiency, operational ease, and so on.
Save the UNIX philosophy for the philosophers.
167 notes · View notes
7millionheartemojis · 2 months
Text
"i can take care of myself" <- girl who absolutely fucking cannot
240 notes · View notes
trans-cuchulainn · 8 months
Text
strongly dislike the hyperbolic violence of a punitive justice system that seems to be how the internet responds to any bad thing because. the implications of being like "the person who cut down this tree should be tortured to death/put through a wood chipper/hanged/locked up forever"... do you really think that would help? do you think a tree, however special, is worth more than a human life? do you think an act like this negates the possibility of that person ever doing anything good and contributing to the world? do you think it is your right to declare somebody irredeemable?
you're being hyperbolic, i hope, but the underlying mindset of "bad thing = physically hurt this person and take away their future" could use some interrogating, actually! that's not an effective way of dealing with things! it's not going to put the tree back up, it's not going to help the environment, it's only going to cause additional harm. and that is the thing that gets me, how everything always seems to be about PUNISHMENT and hurting wrongdoers and not about minimising harm, not about reducing future damage, not about actual, real justice that might put some goddamn good into this world
this is ESPECIALLY true for crimes that, while shocking and cruel, don't actually physically harm any human beings. like cutting down a special tree. our response to a bad thing should not be to add more, worse things to the world, to be honest. and i am concerned that the tone of these jokes/hyperbolic remarks normalises a mindset and an approach to justice that should not, in fact, be normalised
110 notes · View notes
Text
A new bill in the capitol would legalize safe spaces to use drugs.
The bill would allow the Department of Human Services to license what the bill calls “Overdose Prevention Sites.” People could go to these locations and use illegal drugs under direct supervision, with no fear of criminal prosecution.
Right now, they are far from common in the United States. Rhode Island is the only state to legalize them, but New York City and several other cities have them. A pair of lawmakers are saying those spaces are the next logical step as the state tries to curb overdose deaths.
Opioid overdoses continue to be a leading cause of accidental deaths in the state for those between the ages of 18 and 49. In 2021, 3,013 people died from overdoses. The bill’s sponsor, Rep. La Shawn Ford (D-Chicago), said supervised injection sites are a logical step to help curb those numbers.
“Why would we turn our backs on people struggling with a substance use disorder saying, ‘no, we don’t want to allow space for you,'” Ford said. “‘We would rather see you die on the streets.'”
Taylorville Police Chief Dwayne Wheeler takes his own unique approach to helping people who are suffering from addiction. The Taylorville Safe Passage program has helped hundreds of people get clean before they get in trouble with the law. The increased supervision is a sensible idea for Wheeler, but he is skeptical of the ramifications that come with giving people a safe space to use.
“There’s a lot of work to be done,” Wheeler said. “But let’s treat the people.”
Ford said in an ideal situation, there would be treatment options available at these facilities.
“I think we should have the debate to make sure that when we have overdose prevention sites, that they’re not places where people just go use drugs,” Ford said. “It’s the place where people go and get the help that they need while struggling with a substance use disorder.”
But the bill does not require those services. At a minimum, the bill would require these facilities to have a clean space to use, have naloxone to help people survive an overdose, staff that can help people who are in the middle of an overdose and equipment like fentanyl testing strips. It also would give legal immunity to people who use in those facilities.
Wheeler’s Safe Passage program gives people the opportunity to come into the police department and say they need help. It’s gained state wide acclaim, and even earned his department a $250,000 grant from the state to expand.
The program prioritizes getting people to treatment centers. It relies on people to take that first step and admit they need help, and once they take that step, the department — and it’s long list of volunteers — will drive that person to whatever rehab center they can find a spot in, no matter where it is in the state.
He said if the state is going to allow supervised injection sites, they need to carefully design the program, and make sure it leaves no questions unanswered on how it would work.
There is data that shows supervised injection sites have positive impacts, but they also come with societal ramifications, including arguments over where the sites will be located.
“Illinois should answer the call, knowing that this is the best harm reduction tool that we have in our toolbox,” Ford said. “When you look at overdose prevention sites, and you look at other harm reduction tools, this is the number one harm reduction tool that has proven to save lives across the world.”
This is not the first time the proposal has made its way around the Capitol, but it hasn’t found any traction in past years. So far, the bill has not been voted on in any committees.
14 notes · View notes
spookyboywhump · 10 months
Note
darknet pet owner forums, baby. (i feel like cain wouldn’t know how to access it though)
When asked why he’s not on the darknet pet owner forums Cain says he’s simply too busy to bother with it but in actuality he just can’t figure that shit out
6 notes · View notes
jukeboxhound · 1 year
Text
awwww my executive director described me as "wicked smart" to my department director and my gothy little heart is bashfully pleased
in other news i'm once again taking over legal services in addition to everything else i do and i am READY for assholes who think they can intimidate me in the courthouse ✪ ω ✪
7 notes · View notes
nightmaretour · 7 months
Text
Literally everyone I've spoken to, including two paramedics, think the cortisone injections are the way to go and would give me a much better quality of life. However the NHS has decided that I can't have them until we know that I'm still in pain after my brain has been liquified by the maximum dose of three different controlled drugs
5 notes · View notes
Text
In principle, PID 1 in a UNIX-like system only needs to run one process, then reap any orphaned process exits that come up, and somehow pass the PID and exit information to that one process.
The first variant of this in my mind is to spawn a single process, with a pipe from init into that process, then supervise it and restart it if needed. Orphan exit information gets written to the pipe. That process, in turn, could be the root of any other fancy features like service supervision and so on.
A more extreme version doesn't even need to supervise any process. The most minimal distillation can just execute a command once at start - then execute that same command again whenever it reaps a dead orphan, with the exit information as one or more extra arguments.
Of course this is probably maybe taking the minimalism too far. It's notable that s6, runit, and perp all put more logic than that into PID 1.
The obvious problem is that everything I just described adds overheads.
In all of these cases, the whole philosophy and benefit of this is undermined unless you pass the reaped orphan information in a human-friendly form, so there's some stringification and parsing overhead. Although... I think the stringified form ripples far in this design, without ever needing to be parsed, so that most code is just dealing with process identifiers as opaque byte strings, which just happen to be readable as integers when a human looks at them.
The first version needlessly takes a round trip through a pipe to handle any reaped orphans, which is an overhead that at a minimum you pay for the worst-case service supervision path - when the supervisor dies and then the supervised process dies. A reliable wills implementation - as reliable as you could get in userspace at least - would also have to go through this path in the worst case.
Of course a pipe between two processes could be easily and safely optimized to a futex and a shared memory mapping, but you still have to context switch between processes.
The second version seems at a glance like even more of a toy, with even worse overheads. It takes system call overhead to fork and execute a new process on each PID. It takes overhead to convert PIDs to and from a form compatible with command-line arguments. If you fire off a process each time you reap, then you pay overheads to save and load any state externally. Though there is a certain elegance and power to all this state being stored in the file system - imagine the manual debugging and introspection potential.
But a possible redemption I see here is that once you know what functionality you want to go to production with, even the second version could actually be optimized by rolling the functionality of both this most-minimal init and the command it invokes and the external state-saving into a larger binary which runs as one process, and if you want to keep the file system view of the state you can expose it as a virtual file system mount.
One last negative: forking and executing does create surface area for problems where none previously existed. By definition, those system calls can fail - maybe not in practice in this context, especially if you carefully set up process resource limits, but in principle. Then again, a basic function call compiled down to machine code can fail too, we just pretend it can't - for example if you overflow your stack, or because you ran it on an older CPU or from a corrupted binary and hit an illegal instruction, or the CPU overheats. So in all cases we could - and maybe for an init system should - ask ourselves what is the right behavior in such cases. Going through a fork and exec just forced us to see it.
I suspect there is something elegant and powerful in this design direction, and I know for sure it would be a great learning exercise to try to build a system that boots to a usable state based on something like this. This idea has been rattling in my head for some time... and maybe these bits of vision - state as a file system, ability to optimize it down to one binary and process later, and the analogy of fork+exec errors in this specific use-case to inescapable lower-level errors... that feels like maybe that's the last pieces I need to confidently start tinkering.
2 notes · View notes
monster42069 · 1 year
Text
Someone validate my ability to do well at work today lol
5 notes · View notes
chthonic-cassandra · 2 years
Text
Promotion is actually being made official, after months of (expected and unavoidable) delays related to things like waiting to hear back from grants and (less expected and more avoidable) sorting out internal organizational politics stuff (ugh). I am torn between wanting to dismiss it as expected and not a big deal and wanting to actually celebrate it and be celebrated.
18 notes · View notes
becca-alexa · 1 year
Text
as someone who spent three years working a retail job if i ever hear someone complain about retail workers not smiling while working they are getting a punch to the throat
#becca.txt#i hate that comment so much#they're doing you a service my guy they absolutely do not get paid enough to smile while they deal with your sorry ass#don't ever complain to me about this you will find zero sympathy#and just don't complain about retail workers in general#it's not their fault there's no registers open or that the parking lot's full or that your item's out of stock#literally leave them alone and let them do their jobs#you couldn't pay them ENOUGH to make dealing with the general public bearable#i have horror stories of my time working at a wholesale store#literally part of the reason i hate goimg shopping now because the general public are all a bunch of menaces#i've been on the other side of the register and the counter and whatever and let me tell you people are vile#especially the 45+ crowd - obv not everyone but yeah the older they are generally the worse they get#i never had an issue with 20 year olds#once you get into 30s you get a few entitled assholes but those are here and there#the older crowd???should not be allowes to shop w/o supervision they will go for blood#and it's like they leave their brain in the car when they shop it's incredible#and that's not even talking about the amount of food waste they produce#people PLEASE you leaving refrigerated items anywhere because you don't want it anymore and you 'want to give the workers something to do'#is the WORST THING you can do#at the store i worked at the policy was if it's out it's trash - they took 0 risks w/food contamination#even if it's still cold to the touch if it's found out it's trashed#if you take something out PUT IT BACK WHERE YOU FOUND IT YOU ANIMALS#IS THAT SO HARD?WILL IT KILL YOU TO WALK 30 FEET AND PUT THE DAMN CHICKEN BACK INSTEAD OF LEAVING IT OUT ON THE TOWELS#god you couldn't pay me enough to go back to working retail#a million blessings to the brave souls still in the trenches i pray you all get jobs 1000 times better than what you have now
6 notes · View notes
blennie · 2 years
Text
eeeek have to lead a field trip tmmr but i've never actually been trained for this LOL hopefully i can just watch somebody else do it first....
4 notes · View notes
Text
Supervised Visitation In BC
"At Links Supervision, we provide supervised visitation services in British Columbia, offering a safe and supportive environment for families navigating difficult circumstances. Our trained professionals ensure the well-being of all parties involved while facilitating meaningful connections between parents and children. Trust us to oversee visitations with compassion, integrity, and respect. Contact us today for supervised visitation services tailored to your family's needs."
0 notes
incarnatedevotion · 1 month
Text
Tumblr media
if you see me acting literally insane in the coming weeks, mind your business…
1 note · View note
wigoutlet · 1 month
Text
Tumblr media
Tesla Supervised Full Self Driving is $99/month
0 notes
apopticghoul · 2 months
Text
why do i keep having vivid dreams about boyfriend that doesn’t exist
1 note · View note