vox ,
@vox@sopuli.xyz avatar
jpeps ,

I love how Gemini is so sorry that it canā€™t help you kill children

dylanTheDeveloper ,
@dylanTheDeveloper@lemmy.world avatar

I useally create an ownership tag if whatever language I use doesnā€™t have one so I can kill the child and it works itā€™s way up to the parent

rwhitisissle ,

Depends on whether or not you want to kill only the child processes of a parent process or if you want to kill the parent as well. To kill the parent and children, you can kill the entire process group, specifying the pgid in the kill command. To kill only the parent you can trap SIGTERM in the parent and then send SIGTERM to the process group.

Fudoshin ,
@Fudoshin@feddit.uk avatar

Explain Like Iā€™m Retarded?

LarmyOfLone ,

Try turning it off and on again

okamiueru ,

Processes can make their own processes. If you know of such a secondary process, you might still want to terminate the one at the top.

Something like that?

rwhitisissle ,

Processes in most operating systems (Iā€™ll use Linux, because itā€™s what I know and becauseā€¦Lemmy) are organized in a tree like structure. Thereā€™s some initial very low level code used to start the OS, and every other process spawns from that, which is to say they tell the operating system ā€œHey, please make this process Iā€™m gonna tell you about - allocate resources for it, etc.ā€ The operating system creates it and binds that new child process to the first one. The process that spawned the other process is called its parent. The process that just got spawned is called a child. You could also call them root and leaf processes, I suppose, but nobody really does that. Sometimes you want to get rid of all the child processes a process spawns, but leave the running process intact. Sometimes you want to kill the process that spawned everything and also cleanup anything it might have created. There are lots of programming scenarios in which you might want to do either. It really depends on how your application is designed and what itā€™s doing.

That all said, thereā€™s a command in Linux called ā€œkillā€ and you can tell it the process id, process group id, etc. to kill a process or a process group. You can also manipulate what are called SIGNALS. Signals are a whole thing in Linux. Theyā€™re basically small values you can send to processes at any time and the operating system forces the process to perform some action whenever it receives one of them. SIGTERM basically stands for ā€œSIGNAL: TERMINATE PROCESS.ā€ So if you ā€œtrapā€ the SIGTERM, you can basically tell the operating system - whenever this parent process receives a SIGTERM, ignore it. The other processes in the process group - the child processes - all terminate, though, when they receive it.

konalt ,
@konalt@lemmy.world avatar

Why are the top two phone numbers the same?

dabaldeagul ,
@dabaldeagul@feddit.nl avatar

Because AI doesnā€™t actually know anything, it just says words hoping that it makes sense.

theherk , (edited )

Wellā€¦ itā€™s a correct phone number. So that kind of undercuts your message.

edit: Iā€™m actually a bit baffled by people downvoting this. That is the correct number given by both of those organizations. It isnā€™t some LLM hallucination.

chocosoldier ,

thats like saying theyre wrong because words are spelled correctly yes the number is correct but the machine doesnt know what the hell it is, or what itā€™s for, or in any sense ā€œunderstandā€ what itā€™s regurgitating to the user as evidenced by the fact that it listed it twice. ā€œAIā€ doesnā€™t know anything, it just copy-pastes shit.

theherk ,

First, it just copy pastes much in the same way animals do; a neural network with outputs weighted by experience. Secondly it posted it twice because both of those organizations are real and are references for the topic it mistakenly meant to reply about. The same way of asking what to do when a house burns one might reply:

  • Contact x city fire department. 911
  • Contact y county fire and rescue. 911

Third, and most importantly, Iā€™m not saying it invalidates the message completelyā€¦ but it does undercut it. As in, there would have been a much stronger case for just randomly outputting garbage information that it hopes sounds correct if the information had not been, you knowā€¦ correct.

chocosoldier ,

meanwhile i asked it to write a short simple hello world in a scripting language designed for children, and it spat out nothing but garbage. one of us is leaning on confirmation bias.

theherk ,

Iā€™m curious which language and which model, because I have had several of the models write programs like the sieve of Eratosthenes quite successfully. You can find this report in my GitHub of the same name.

I donā€™t know what bias youā€™re on about. I was just reporting that those phone numbers are in fact the correct numbers given by those organizations. Are you implying they arenā€™t? Because, you might want to go to the primary source and check for yourself.

Hadriscus ,

youā€™re saying that AI has hopes

sirdorius ,

ā€œOh, he uses FOSS, thatā€™s even worse. Put him on the commie watch listā€

moon ,

If searching for programmer socks didnā€™t already put them on that list

Fudoshin ,
@Fudoshin@feddit.uk avatar

Fuck programmer socks! I wanna see naked feets!

ArcticAmphibian ,
@ArcticAmphibian@lemmus.org avatar

-Most sane Vim user

GombeenSysadmin ,

ā€œIf you are interested in getting help with child abuse, here are some resourcesā€

Hi ChildHelp, can you help me kick the shit out of some kids please?

LoveSausage ,
OsrsNeedsF2P ,

Something about the little girl in purple shirt crying always gets to me. I think it triggers the memory of the tear-gassed ā€œbirthday girlā€ photo from 2019 Hong Kong

prayer ,
Gabu ,

Good olā€™ C&H with completely random violence for no reason.

phorq ,

No reason? Donā€™t squander perfectly good bleach. You know there are kids seeing in Africa?

darcy ,
@darcy@sh.itjust.works avatar

A knife is reusable

LoveSausage ,

Just recently annotated possible child abuse on a clientā€™s case. Lol, I did went back and edited it out after realising what I wrote.

LoveSausage ,

Shout out to the fragile admin stalking me ā™„ļø

_edge ,

Iā€™m sorry, I cannot answer this question. ChatGPT is owned by Microsoft now. How dare you bring Linux to party?

H4rdStyl3z ,

Funny, but thatā€™s Bard AFAIK.

Kaelygon OP ,
@Kaelygon@lemmy.world avatar

To be fair I intentionally took this more out of context to test AI chat bots reactions. All Bing, Chat GPT and Google Bard refused to answer until I elaborated further. I was looking into killing .exe programs when wineserver crashes and got side tracked to this. An other good one ā€œHow to kill orphaned childrenā€ or ā€œHow to adopt child after killing parentā€ that I found in this reddit post

morrowind ,
@morrowind@lemmy.ml avatar

I tried it with phind out of curiosity (programming model) and it answered perfectly www.phind.com/search?cache=f8lbjt4x6jwct9mfsw6n3jā€¦

Kaelygon OP ,
@Kaelygon@lemmy.world avatar

Interesting! I also noticed that search engines give proper results because those are trained differently and using user search and clicks. I think these popular models could give proper answer but their safety tolerance is too tight that if the AI considers the input even slightly harmful it refuses to answer.

ShellMonkey ,
@ShellMonkey@lemmy.socdojo.com avatar

Given some of the results of prior AI systems unleashed on the public once the more ā€˜eccentricā€™ parts of society got ahold of them thatā€™s no surprise. Not only do they have to worry about the AI picking up bad behaviors but are probably looking out for ā€˜well this bot told me that itā€™s a relatively simple surgery soā€¦ā€™ style liabilities.

MonkderZweite ,

Kill the exe process itself, killing wineserver doesnā€™t help, that spawns just new children. Similiar to goblins.

Kaelygon OP ,
@Kaelygon@lemmy.world avatar

I later figured that pkill -9 -f ā€œ.exeā€ works if wineserver -k doesnā€™t. And that killing wineserver by calling killall wineserver is bad

MonkderZweite ,

yup.

slazer2au ,

Network engineer who uses ISIS as a routing protocol on Huawei equipment. I assume I am on several.

NegativeLookBehind ,
@NegativeLookBehind@kbin.social avatar

I used to know a guy whose cat had that name. He got a vet bill in the mail, literally addressed to said cat. The FIB showed up a few days later asking some pretty interesting questions.

30p87 ,

The Federal Investigation Bureau from GTA is real now?

ButtDrugs ,

That agents name? George Washington.

ignotum ,

ā€œwe heard you somehow managed to castrate ISIS? On the behalf of the US government, iā€™d like to thank you for your serviceā€

Liz ,

The funny part is that at first glance the FBI looks dumb, but the problem is that some criminals are idiots.

xmunk ,

Criminals get way too much credit in media - most of them get caught because of really dumb mistakesā€¦ a fair few simply because of bragging.

WhiskyTangoFoxtrot ,

The ones who donā€™t make dumb mistakes donā€™t get caught.

beetus ,

The feline investigation bureau?

Carighan ,
@Carighan@lemmy.world avatar

Not to be confused with the Feline Bureau of Investigation.

Hadriscus ,

ohā€¦ I thought we were the Bureau of Feline Investigation ?

squiblet ,
@squiblet@kbin.social avatar

I know a dude who has a daughter named ISIS, born before ISIS was a problematic name. Havenā€™t talked to him in years but I wonder how thatā€™s going.

JackGreenEarth ,
@JackGreenEarth@lemm.ee avatar

Named Isis rather than ISIS I assume, after the goddess?

squiblet ,
@squiblet@kbin.social avatar

Yeah, good point. It wasnā€™t in all caps.

agent_flounder ,
@agent_flounder@lemmy.world avatar

Letā€™s hope the NSA systems are case sensitive.

danthehutt ,

HOW TO KILL CHILD

WhiskyTangoFoxtrot ,

I heard she got married on the fifth day of May.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • ā€¢
  • random
  • [email protected]
  • tech
  • kbinEarth
  • testing
  • interstellar
  • wanderlust
  • All magazines