ycp has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
ycp has joined #osdev
netbsduser has joined #osdev
<ring0_starr>
grrr i had the coolest job writing firmware hax for the military and now im unemployed where the fuck do they expect me to channel my creative energies into. i have to learn how to develop things for hobby that doesn't have destructive capabilities.
<ring0_starr>
im sorry im really drunk right now
<ring0_starr>
i can't handle my family
teardown has quit [Remote host closed the connection]
teardown has joined #osdev
<ring0_starr>
its like the world wants me to become a supervillian
<ring0_starr>
ahhhhhhhhhhhhh
<ring0_starr>
i need to read more about CHERI and verifiable C
the_oz_ has quit [Remote host closed the connection]
the_oz_ has joined #osdev
troseman has joined #osdev
emntn has joined #osdev
troseman has quit [Client Quit]
troseman has joined #osdev
troseman has quit [Client Quit]
<kof673>
"destructive" :/ ye olde philosophies didn't believe in death, just the first step of transformation :D > unless a grain of wheat falls into the earth and dies, it remains alone; but if it dies, it bears much fruit.
<kof673>
<phoenix starts ...crackling/sparkling/bursts into flame>
<ring0_starr>
not like this
<ring0_starr>
fml
<ring0_starr>
i am suposta be one of the good guys
hwpplayer1 has joined #osdev
<kof673>
i mean you are worried about liability, no longer have access to tools...why can't you keep writing destructive things :D
<fedaykin>
ring0_starr: how about making money? i love making money =) try writing something to make money
<kof673>
you say destruction, other people say.......letting me control the device i purchased fair and square
<kof673>
this channel doesn't want people posting things though of course :D
<ring0_starr>
i am at odds with my own interests
<ring0_starr>
supposed to be wanting better security, but my job is to break security
<ring0_starr>
dumb game of cat and mouse
<ring0_starr>
i am my own worst enemy
netbsduser has quit [Ping timeout: 252 seconds]
Dead_Bush_Sanpai has joined #osdev
<ring0_starr>
the people truly in control of all the devices are unworthy
<ring0_starr>
untrustworthy
<ring0_starr>
through network effects and legal shenanigans they stop people from owning their own technology
msv has quit [Ping timeout: 265 seconds]
msv has joined #osdev
<ring0_starr>
i just had this interview not too long ago with a big audio company about seecure monitor hypervisors and attested boot and so on and i realized shit id be doing this work to prevent ppl from getting fucked over by that same company when they decide to delete songs off their ipad automatically
<ring0_starr>
err was that a different one
<ring0_starr>
they're all assholes anymore
<ring0_starr>
sorry dont mean to make osdev into my personal soapbox
svm has joined #osdev
msv has quit [Ping timeout: 272 seconds]
svm is now known as msv
housemate has joined #osdev
<fedaykin>
ring0_starr: i don't think i undersand what you are saying, what is the problem? a job is a just job, nothing to be stressed out about
<fedaykin>
ring0_starr: do you have any savings? do you think you can invent a job instead of getting a job?
<ring0_starr>
yeah but your work has real impact on the world.
mrpops2ko has joined #osdev
<ring0_starr>
sorta doubt it, no
<ring0_starr>
i just can't do business nonsense
<fedaykin>
i see
<ring0_starr>
man you gootta be making the world a better place
<fedaykin>
well, you gotta lie then, because it is all business nonsense and powerpoint bullshit in the corporate world
mrpops2ko has quit [Client Quit]
<fedaykin>
the cuck fucking ceos gaslight us every day in corporate america
<ring0_starr>
if i got that job at amazon then i would've been making robotics to replace people's jobs
mrpops2ko has joined #osdev
<fedaykin>
the world is already a better place, it is beautiful, most of our jobs are bullshit jobs, have you read that book called bs jobs something like that?
<ring0_starr>
and their warehouse ppl that stay will just sweat to death because there will be less jobs and same amount of ppl
<ring0_starr>
i heard of it
<ring0_starr>
but there's all this active decay and damage happening
<ring0_starr>
to society because of my job
<fedaykin>
it is not because of your job or you, the shit is going down the hill because the system gives people wrong incentives
<ring0_starr>
yaeh i get you
<ring0_starr>
but this is one thing i can focus on i guess, is not contribtuing to it
<ring0_starr>
it just gets used for closed firmware and centralized control of everything
<fedaykin>
but, if you ignore all that, the world is still a great place, the damage and decay will stop when shit hits the fan
<ring0_starr>
unless it's open then it doesn't matter becaue you don't own it
<ring0_starr>
at my first job i told people this is why open source is so important
<ring0_starr>
and everyone laughed
<fedaykin>
open source is the way to go, no doubt about it =)
<ring0_starr>
AI is just going to be a new way of obfuscating decision making behind an un-auditable black box
<ring0_starr>
-_-
<ring0_starr>
open source is here for sure but it doesn't feel at all like the way we imagined it in the 1970s
<kof673>
well the bs jobs thing is funny because that was the supposed "soviet" "flaw" .......wasn't supposed to happen in supposed "capitalism" :D
housemate has quit [Ping timeout: 252 seconds]
<kof673>
but you know, you can't just hand out free credit...........not to people anyways...who knows what they'd do......much of it is culture....
<ring0_starr>
everybody's been programmed to consoom at maximum
<fedaykin>
kof673: lol, but we don't have capitalism anymore =) it's all bail out and money printing shit
<ring0_starr>
so they'd waste it
<kof673>
i know but the image still survives, at least places i worked...
<fedaykin>
kof673: what we have is something trully special =) profits are privatized and losses are socialized, and nancy pelosy making 174k a year has millions of dollars, it is all corruption and oligarchy
<fedaykin>
i mean, right now we have trump and musk, and i am all for common sense and change, but people are now flying to FL to kiss the bosses ring =)
<fedaykin>
flying to Mar-a-Lago to kiss the emperor's ring
<fedaykin>
this is bullshit =)
<fedaykin>
so, guys, take it easy, ring0_starr just lie during the interview, tell them how much you value their corporate powerpoint values =)
<fedaykin>
and work on something meaningful on the sidelines
<ring0_starr>
ugh that's assuming i ever get another job in this economy...
<ring0_starr>
life has become very hard in recent years
<fedaykin>
ring0_starr: have you applied for unemployment insurance? this economy is not that bad, just sprinkle your resume with hype words, like ai ai ai, and quantum computing is also hot right now
<fedaykin>
just make sure there is enough hype in it, and you will be fine
<fedaykin>
the people interviewing you will know less about the hype subject than you do
hwpplayer1 has quit [Remote host closed the connection]
<fedaykin>
i can guarantee you that
ThinkT510 has quit [Quit: WeeChat 4.5.0]
ThinkT510 has joined #osdev
muffin has joined #osdev
muffin has quit [Quit: leaving]
xenos1984 has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
GeDaMo has joined #osdev
goliath has joined #osdev
goliath has quit [Quit: SIGSEGV]
Left_Turn has joined #osdev
DrPatater has joined #osdev
DrPatater has quit [Client Quit]
gildasio has quit [Remote host closed the connection]
craigo has joined #osdev
gildasio has joined #osdev
DrPatater has joined #osdev
FreeFull has quit [Quit: rebooting]
FreeFull has joined #osdev
Dead_Bush_Sanpa1 has joined #osdev
Dead_Bush_Sanpai has quit [Ping timeout: 272 seconds]
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
Dead_Bush_Sanpa1 has joined #osdev
Dead_Bush_Sanpai has quit [Ping timeout: 265 seconds]
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
msv has quit [Remote host closed the connection]
DrPatater has quit [Quit: Explodes into a thousand pieces]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 265 seconds]
DrPatater has joined #osdev
DrPatater has quit [Ping timeout: 248 seconds]
DrPatater has joined #osdev
goliath has joined #osdev
<sortie>
supness
<Mutabah>
o/
<sortie>
yo Mutabah
<sortie>
How are you?
thinkpol has quit [Remote host closed the connection]
thinkpol has joined #osdev
<isabella>
wanna see the dumbest thing you've ever seen bash do
<isabella>
strace bash -c '/bin/true; for i in {1..100}; do :; done'
<sortie>
The rt_sigprocmask calls?
<isabella>
yes
<sortie>
That's not too bad. I'm happy to see the rest of it is entirely in-process.
<isabella>
it's pretty bad lol
<sortie>
I imagine the way the code is written it's probably really hard to know at the sigprocmask call site whether there actually are any child processes that could give SIGCHLD or not
<isabella>
nah it's checking for dead children
<isabella>
it does so at the end of every loop iteration
<isabella>
any kind of loop
<isabella>
recursion isn't a "kind of loop" in this context
<isabella>
and to check it first blocks sigchld, then does nothing interesting, then immediately unblocks it
<isabella>
i'm sorry i re read what you've written and it was basically the same
<sortie>
I imagine there could be a fast path if it has never forked at all, but if it ever has forked, it's really hard to know if any unexpected children might still be around, I suppose
<sortie>
Considering all the recursion and subshell stuff going on in bash
<isabella>
;-; but it's a shell, it's supposed to be good at keeping track of processes
<isabella>
that's the point
<sortie>
And commands that look like they're going to fork but turns out last minute to be a shell builtin
<sortie>
That is what it's doing, keeping track of processes. It uses SIGCHLD to be told about asynchronous events, and to be safe, since signal handlers must be written correctly, it unblocks SIGCHLD so it only happens at a safe point
<sortie>
And if bash is somehow running as pid 1, it might get unexpected children reparented
<isabella>
it can just know which processes it has forked that haven't terminated yet
<isabella>
it's just so hard to get good performance in bash to begin with and this is making it even harder
<isabella>
like i disabled this and it made my code 3% faster
<sortie>
I totally agree. Performant computational bash scripts suck