foone , Englisch
@foone@digipres.club avatar

when is GCC gonna have support for shock collars?
it might help to shock the programmer whenever the compile fails

griibor ,
@griibor@mas.to avatar

@foone Shock on error, vibration on warning.

foone OP ,
@foone@digipres.club avatar

@griibor lewd! I'll sexualize a lot, but I try to keep it away from my CI job

ppxl ,
@ppxl@social.tchncs.de avatar

@foone did you just? Invent a contraption so C is no longer used?

If so: Bravo!

foone OP ,
@foone@digipres.club avatar

@ppxl it'd either get people to stop writing C, or it'd get them to write better C.

Seems like we win either way.

curtmack ,
@curtmack@floss.social avatar

@foone That's... not all that difficult to do.

Just wrap GCC in a shell script that faithfully copies all of the inputs and outputs to and from the real executable, except that whenever the compiler exits with a non-zero status, it triggers the shock collar.

fishidwardrobe ,
@fishidwardrobe@mastodon.me.uk avatar

@foone I'd be shocked if that worked

mmu_man ,
@mmu_man@m.g3l.org avatar

@foone 3rd party opportunity!!!

dannotdaniel ,
@dannotdaniel@mastodon.social avatar

@foone cake mean 🎂 😈

gooba42 ,
@gooba42@mastodon.social avatar

@foone I can only support this if it's also going to give you very clear errors on failure.

I've spent too much time already pounding my head against cryptic messages that some vendor never thought a human would read to be willing to accept punishment when they screw me again.

vxo ,
@vxo@digipres.club avatar

@gooba42 panic("Splunge!"); was more useful than some other error messages I've run into.

Earlier today I had something that kept spitting "Access violation" over and over like a fountain. No details, not even any description of what function was throwing it.

On an unrelated note I want a big heavy leather collar that actually does serve as a grounding strap as suggested in that old story
@foone

vxo ,
@vxo@digipres.club avatar

@gooba42 if you haven't seen said story, here it is, it's glorious.
https://milk.com/true-stories/grounding_story.html
@foone

foone OP ,
@foone@digipres.club avatar

@vxo @gooba42 nice

realtime ,
@realtime@fosstodon.org avatar

@foone for some reason I read gcc as sgdq and that would definitely enhance the experience

foone OP ,
@foone@digipres.club avatar

@realtime that's one way to try and get the record!

realtime ,
@realtime@fosstodon.org avatar

@foone oh it certainly won't improve the runners' performance. maybe as a donation incentive

virtulis ,
@virtulis@loud.computer avatar

@foone -Wall but it's literally a wall and some guns pointed at you

whitequark ,
@whitequark@mastodon.social avatar

@foone that will just result in failing every compilation

foone OP ,
@foone@digipres.club avatar

and you might say "foone this is just a masochism kink", but no!

I'm a python programmer. I don't compile my code. I just want C/C++ programmers to suffer. This is clearly a Sadism kink, keep up.

luna ,
@luna@pony.social avatar

@foone I mean they’re using C/C++, surely that’s already punishment enough?

JLab8 ,

@foone I want a compiler for python. Shouldn't have to execute code to know it's invalid. >:(

foone OP ,
@foone@digipres.club avatar

@JLab8 you can use pyflakes for that. It does a syntax check without executing anything

JLab8 ,

@foone but what if I want the code to still be valid when some new version of python is released?
(Not seeking serious responses.)

TheColourOfFear ,
@TheColourOfFear@spacey.space avatar

@foone I thought python compiled into .pyc files when it was imported the first time by the interpreter?

foone OP ,
@foone@digipres.club avatar

@TheColourOfFear it usually does, but only as an optimization for if it has to import that module again. It doesn't do it for the main program, and it can be turned off with no side effects other than it eunningly a little slower

websterleone ,
@websterleone@meemu.org avatar

@foone >:c

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine