Laugh tracks have a purpose though. I understand they're not to everyone's liking - and that's fine, but they work for some comedy shows - and usually they're from the live audience that sees things performed in front of them.
Ah yes now I can... dereference a raw pointer (yes that's essentially the only thing unsafe rust actually enables you to do, it doesn't disable the borrow checker or anything else, it just allows you to play with pointers)
I still have an IRC server but the eggdrop's usefulness has pretty much been reduced to fetching YouTube titles and the URL of images on tenor. Its main use was to fetch titles for all URLs pasted on channels where it is, but because me and most of the users are now using TheLounge as a client, there is no need for that anymore, except for a few exceptions. At one point it was also displaying all the things my friends upvoted on reddit, but since reddit closed its API and I came here...
reinventing shell scripting. Though I am guilty of this, I do something like this (more complex) but essentially a shell script in rust just because for some application, reading files is slower that way
No set rules, just goofing around. When we got too annoying for the rest of the newsgroup we moved to a mailing list and met up in real life a bunch of times.
First time my father flew me there in a small sports plane. They had gotten the permission to greet me on the air field with a limousine blasting the Force Commander remix of the Imperial March and a black carpet. All the Jedi, Sith and in-betweens were waving Emperor-flags and greeted me as was befitting a man of my status.
Did I mention that I was 14 at the time and everyone else about 30?
44 Comments
Scoopta@programming.dev · 112 pts · 1y
...this is so much more cursed than it needs to be. If you want to bash in C just
system("echo hello world");tempest@lemmy.ca · 58 pts · 1y
That wouldn't necessarily be bash though
smeg@feddit.uk · 58 pts · 1y
xthexder@l.sw0.com · 9 pts · 1y
Now print "¯\_(ツ)_/¯" with the quotes
ultrafastsloth@lemmy.world · 16 pts · 1y
I decided to throw my PC in the composter and become a gardener
Beanie@programming.dev · 4 pts · 1y
my best guess:
system("bash -c 'echo \\\"¯\\\\_(ツ)_/¯\\\"'");which will get parsed as:
bash -c 'echo \"¯\\_(ツ)_/¯\"'which will run:
echo "¯\_(ツ)_/¯"and since
echojust prints whatever was given to it, it'll print"¯\_(ツ)_/¯"with the quotessmeg@feddit.uk · 3 pts · 1y
Scoopta@programming.dev · 21 pts · 1y
Fair, should've just said shell
xia@lemmy.sdf.org · 65 pts · 1y
Tsk tsk... forgot to clean up your temp file!
ClassifiedPancake@discuss.tchncs.de · 40 pts · 1y
That emoji annoys me more than I would like
kamen@lemmy.world · 24 pts · 1y
As if someone's telling a joke and saying "This is where you should laugh"
Deebster@programming.dev · 16 pts · 1y
It's the meme version of a laugh track
kamen@lemmy.world · -2 pts · 1y
Laugh tracks have a purpose though. I understand they're not to everyone's liking - and that's fine, but they work for some comedy shows - and usually they're from the live audience that sees things performed in front of them.
tdawg@lemmy.world · 40 pts · 1y
For shame. They forgot to make a script to make a tmp script using mktmp, so they can store their tmp script in the tmp script and have proper cleanup
Artyom@lemm.ee · 32 pts · 1y
Always follow best practices, make sure you cleanup by deleting the hello world bash file!
misteloct@lemmy.world · 28 pts · 1y
MonkderVierte@lemmy.ml · 25 pts · 1y
Sure.
potoo22@programming.dev · 10 pts · 1y
Okay but 🍒 shouldn't output 🍉. This is inconsistent and confusing. We have standards.
Opisek@lemmy.world · 9 pts · 1y
Picking emojis that make sense actually made it easy to read.
mkwt@lemmy.world · 20 pts · 1y
Violates CERT C ENV33-C.
ArtVandelay@lemmy.world · 14 pts · 1y
It violates oh so much including that.
tetris11@lemmy.ml · 19 pts · 1y
why would you hurt me like this
tiredofsametab@fedia.io · 19 pts · 1y
Now call that C program from some other program in another language.
JasonDJ@lemmy.zip · 26 pts · 1y
bjoern_tantau@swg-empire.de · 22 pts · 1y
Rust, to make it safe.
tiredofsametab@fedia.io · 15 pts · 1y
step 1:
unsafe fn()...Traister101@lemmy.today · 1 pts · 1y
Ah yes now I can... dereference a raw pointer (yes that's essentially the only thing unsafe rust actually enables you to do, it doesn't disable the borrow checker or anything else, it just allows you to play with pointers)
calcopiritus@lemmy.world · 1 pts · 1y
It is a bit more than just dereferencing raw pointers.
xthexder@l.sw0.com · 7 pts · 1y
May I present to you: https://github.com/mame/quine-relay
tiredofsametab@fedia.io · 2 pts · 1y
It's..... Beautiful.
CrimsonMishaps@lemmy.world · 17 pts · 1y
Fucking brilliant
BartyDeCanter@lemmy.sdf.org · 11 pts · 1y
Thanks, I hate it.
thann@lemmy.dbzer0.com · 6 pts · 1y
Who says C isnt mem safe?
qaz@lemmy.world · 6 pts · 1y
Some time ago I wrote a program in COBOL and half of it was just
CALL "SYSTEM" BY CONTENTin the end.mexicancartel@lemmy.dbzer0.com · 4 pts · 1y
I did the same with python once lol.
I didn't know enoug python or bash so i mixed both with os.system
snausagesinablanket@lemmy.world · 4 pts · 1y
Dave is not here.
pedz@lemmy.ca · 3 pts · 1y
That's me with TCL.
I've had an eggdrop for years (obviously) and I'm very bad with TCL, so any new script that I want to add is a bash script executed by the TCL script.
aquafunk@lemmy.sdf.org · 1 pts · 1y
TIL people still run eggdrop bots. I don't think Ive touched one since maybe 2003. was probably the last time I messed with tcl
pedz@lemmy.ca · 2 pts · 1y
I still have an IRC server but the eggdrop's usefulness has pretty much been reduced to fetching YouTube titles and the URL of images on tenor. Its main use was to fetch titles for all URLs pasted on channels where it is, but because me and most of the users are now using TheLounge as a client, there is no need for that anymore, except for a few exceptions. At one point it was also displaying all the things my friends upvoted on reddit, but since reddit closed its API and I came here...
IRC with TheLounge is still very useful though.
ZILtoid1991@lemmy.world · 3 pts · 1y
I C what you did there!
AnAustralianPhotographer@lemmy.world · 2 pts · 1y
sga@lemmings.world · 2 pts · 1y
reinventing shell scripting. Though I am guilty of this, I do something like this (more complex) but essentially a shell script in rust just because for some application, reading files is slower that way
Irelephant@lemm.ee · 2 pts · 1y
subprocess.run()CosmicCleric@lemmy.world · -1 pts · 1y
Apologies for being off-topic, but the domain name, "swg-empire.de", does the 'swg' part 'Star Wars Galaxies' by chance?
ThiscommentislicensedunderCCBY-NC-SA4.0bjoern_tantau@swg-empire.de · 5 pts · 1y
No. It was for a Star Wars roleplay but not a video game. It started life in the newsgroup de.rec.sf.starwars and I played the role of Emperor.
CosmicCleric@lemmy.world · -1 pts · 1y
Ah, ok, nice! Was that the old D6 version, or the newer D20 one?
You dark person you! 😜
ThiscommentislicensedunderCCBY-NC-SA4.0bjoern_tantau@swg-empire.de · 8 pts · 1y
No set rules, just goofing around. When we got too annoying for the rest of the newsgroup we moved to a mailing list and met up in real life a bunch of times.
First time my father flew me there in a small sports plane. They had gotten the permission to greet me on the air field with a limousine blasting the Force Commander remix of the Imperial March and a black carpet. All the Jedi, Sith and in-betweens were waving Emperor-flags and greeted me as was befitting a man of my status.
Did I mention that I was 14 at the time and everyone else about 30?
Good times.
CosmicCleric@lemmy.world · -1 pts · 1y
Sounds like good times, indeed.
ThiscommentislicensedunderCCBY-NC-SA4.0