discuss.tchncs.de

zepto7 , to AnarchyChess in New response just dropped

Our target is to have only the best quality free online games

gandalf_der_12te , to Programmer Humor in The easiest problem
@gandalf_der_12te@discuss.tchncs.de avatar

How to write spaghetti code:

lars , to Programmer Humor in The easiest problem

An important professor constantly and frustratingly said

we can call this variable whatever we want, so we’ll call it Fred

Made me panic and irate and focus on the wrong part of the problem. Every. Single. Time.

steventhedev , to Programmer Humor in The easiest problem

Older C compilers would truncate a variable name if it was too long, so VeryLongGlobalConstantInsideALibraryInSeconds might accidentally collide with VeryLongGlobalConstantInsideALibraryInMinutes.

Legend says that they used to do it after a single letter with Dennis declaring "26 variables ought to be enough for anyone".

olutukko ,

I had this problem in my job as a drafter. I was wondering why the hell Tekla would complain about the same object name already being in use despite everything having its own name. took me way too long to realize there wad some stupidly max name length and the program did nothing to alarm the user about trying to put too long name. it just cut the overflow away.

MentalEdge , to Programmer Humor in The easiest problem
@MentalEdge@sopuli.xyz avatar

FullSentenceExplainingExactlyWhatItDoes(GiveThisVariable, SoItCanWork)

kautau ,
JoYo , to Programmer Humor in The easiest problem
@JoYo@lemmy.ml avatar

^- triggered

NegativeLookBehind , to Programmer Humor in The easiest problem
@NegativeLookBehind@lemmy.world avatar

You should really be naming all your variables by generating 64 character (minimum) random strings.

rufus ,

Make it 63 (31?) to align with what C99 can distinguish.

Also: I really like unicode in identifiers. So if at all possible don't just have a random string of letters and numbers, make sure to include greek letters and all the funny emojis. (I just forgot which languages and compilers etc allow that.)

NegativeLookBehind ,
@NegativeLookBehind@lemmy.world avatar

Wingdings as well

aBundleOfFerrets ,

Wingdings is a font and has no effect on the actual code. Only people who set their IDE font to wingdings will see wingdings

NegativeLookBehind ,
@NegativeLookBehind@lemmy.world avatar

Remove all fonts from the devs computers except for Wingdings and Webdings.

BodilessGaze ,

For extra fun, you can name your variables using solely Unicode invisible characters (e.g. non-breaking space) so they're impossible to visually distinguish

LostXOR ,

Who needs private variables when you can generate cryptographically secure variable names? Much better security.

perviouslyiner , to Programmer Humor in The easiest problem

Just be careful naming your function "stdout()" or things could get weird...

mkwt ,

Or Fortran variables that collide with Fortran built-in functions.

Keep in mind that array subscript and function call are both () in Fortran.

doingthestuff , to 196 in Yet Another Post Or Comment Where I NEED To Block Those Who Downvoted Rule

I upvote and downvote for the silliest of reasons all the time. Don't overthink everything. Not everything is a value statement.

MachineFab812 OP , (edited )

Going into a community to downvote one of the most wholesome posts that community gets is very much something like a value statement.

I get that a lot of people are looking at the unfiltered "all" feeds for their instances, but damn, it seems like few, if any, communities here are large enough for the outrage some of their content will attract from outsiders.

MareOfNights , to 196 in Yet Another Post Or Comment Where I NEED To Block Those Who Downvoted Rule

Eyo what.

49 Partners??

I think at this point its more F+ than a relationship. Which is cool, but where do you get the time to talk to all of them? Are they a full-time partner? Even then. This has to be bait. Ain't no way u talking to 49 partners on the regular. Is the whole neighborhood in on this? What is happening.

Droechai ,

They all live out in a camp they call "The Compound", but Bobby has started stocking fuel and guns ever since the barbed topped fence got built.

Apparently the title Prophet are being used for when they elect a new Speaker at the council

Source: I made it all up

androogee ,

Gotta get to 99 so we can all play Tetris

MachineFab812 OP ,

Not my post in the screenshot ... Nice freakout over another's business though. Quality stuff.

spujb , to 196 in Yet Another Post Or Comment Where I NEED To Block Those Who Downvoted Rule

try reaching out to mods or admins, that post shows 0 downvotes from my instance which could mean there is vote manipulation/botting happening on an instance mine is defederated from

that said, 196 may not be the place to air this grievance. better communities for this exist really

MachineFab812 OP ,

More likely the downvotes come from users you've already blocked or an instance with which yours is not federated. Supposedly, there are also instances that only show local votes as well.

Regardless, you are the only one who has said they didn't see any downvotes, so far.

spujb ,

nope, blocking users does not hide their downvotes. know this from experience. also confirmed without being signed in. my instance also does not show only local votes either, but pulls them in from all federated instances. so neither of those are realistic possibilities.

edit: link to see exactly how it looks from my end

MachineFab812 OP ,

I don't care about hiding the downvotes. I simply have no interest in seeing their comments/replies to others or myself.

Xtallll ,
@Xtallll@lemmy.blahaj.zone avatar

196 lives on the Blajah Zone instance, which has down votes disabled. BZ doesn't federate down votes so 196 Post will only show the down votes from other users on your instance, and each instance will show a different number of down votes.

spujb ,

yeah but none of the users or posts involved are blahaj zone. literally the only blahaj related element to this post is that OP complained here.

Valmond , to Asklemmy in Whats your such opinion

We should invest massively in longevity. Healthy longevity, fighting aging.

BruceTwarzen ,

Why would you wanna fight aging when we reproduce in such a massive way that we are pretty much doomed? The last thing we need is a bunch of 120 year olds who rule the world.

Valmond ,

Well the old people in power just gets replaced withother old people. Making people grow old and die isn't working against dictators either.

But your idea is that it would be better if we became ill even earlier then, like we should stop fighting aging the way we do it today (medicin, operations, transplants...)?

Ragdoll_X ,
@Ragdoll_X@lemmy.world avatar

"Kill the old people because of their politics" is all I hear whenever someone argues against longevity.

520 , to Asklemmy in Whats your such opinion

That pedos shouldn't be subject to extra-legal punishments. Think being lynched and shit. I also don't think they should be getting their own special cases in the law beyond those with a clear purpose of preventing reoffending.

Don't get me wrong, I think they are pure scum.

But things we allow on the basis of the accused being a pedo or terrorist have a habit of spilling over and affecting the general population. A lot of bad laws have made it onto books by blaming these two groups, for example.

Dirk ,
@Dirk@lemmy.ml avatar

A lot of bad laws have made it onto books by blaming these two groups, for example.

You can't even classify or discuss pedophilia as a sexual disorder and not an intentional decision without sounding like a pedophile.

520 ,

I think the worst thing we do is basically shut down non-harmful outs.

We attack therapists who don't outright vilify non-offending pedos, without considering the fact that said pedos come to them because they don't want to offend, don't want to hurt.

If these people don't have harmless outs, they will instead turn to harmful outs and covering up their crimes.

Dirk ,
@Dirk@lemmy.ml avatar

If these people don’t have harmless outs, they will instead turn to harmful outs and covering up their crimes.

Wasn't it that studies show that in most child abuse cases the abuser is not a pedophile?

Zoboomafoo ,
@Zoboomafoo@lemmy.world avatar

It's possible to think both "these people deserve to have their fingernails removed" and "a just society cannot inflict cruel punishment"

Sanyanov , to Asklemmy in Whats your such opinion

People are crazy when they promote closed-source AI (okay, okay, generative model) projects like ChatGPT, Bard etc.

This is literally one of the most important technologies of the future, and after all the times technology companies screwed them (us) up big time and monopolized the Internet, they go into the same trap again and again.

First they surrendered the free Internet, now they surrender the new frontiers.

Wake up, people. Go HuggingFace, advocate for free AI, and ideally - for a GPL one. We cannot afford for this part of our future to be taken away from us.

HiddenLayer5 ,
@HiddenLayer5@lemmy.ml avatar

Abso-fucking-lutely. Time and time and time again proprietary technology fucks us over, this is no different.

phoenixz ,

99% (likely more even) of the people out there don't have a clue what software is, or remotely how it works, what it does, and what open or closed software is, let alone why it's important.

Most people are seriously ignorant about these topics, so obviously everyone runs with closed source.

All the open source gods are getting older, the eff founder has cancer... I don't really see a next generation step up like the previous one and that one was already a miracle that it had gotten us this far. We're screwed on the software front. Eh, humanity is screwed in so many ways anyway

Sanyanov ,

It's true that majority is unaware and doesn't care, which is sad.

But we shouldn't give up. There is plenty of youth going for freedom, and while we don't yet have RMS of our generation, we will.

charlytune , to Asklemmy in Whats your such opinion
@charlytune@mander.xyz avatar

Myers Briggs is posh astrology.

cybersandwich ,

I think that's actually been proven at this point hasn't it?

charlytune ,
@charlytune@mander.xyz avatar

That doesn't stop an absolute fuck ton of people believing in it. One of my friends is quite deeply into it, she's in FB groups about it, and decides what everyone's type is upon meeting them. According to her I only think it's nonsense because I've only done the free online tests, not the proper one. She wouldn't listen the other day when I tried to put her right about flouride in the water, either.

kshade ,
@kshade@lemmy.world avatar

Sounds like the test itself isn't the problem but how it's used and how much people attach to the results, like with IQ tests. Neither that nor Myers-Briggs should be part of interviewing for a job either but apparently some US companies do it anyway.

FunctionFn ,

No, the test itself is definitely the problem. Regardless of whether you believe a personality type test can be effective, the MBTI is particularly and provably ineffective in just about every measurable way:

It's not reliable. It has terrible test-retest reliability. If I'm X personality type, I shouldn't test as X type one time, and Y type the next, and Z 6 months laters.

It's not predictive. If a personality test accurately judges someone, it should mean you now know something about someone's behaviours, and can extrapolate that forwards and predict behavioural trends. MBTI does not.

It fundamentally doesn't match the data. MBTI relies upon the idea that people fall neatly into binary buckets (introverted vs extroverted, thinking vs feeling, etc). But the majority of people don't, and test with MBTI scores close to the line the test draws, following a normal distribution. So the line separating two sides of a bell curve ends up being arbitrary.

And finally, it's pushed very hard by the Myers-Briggs foundation, and not at all by independent scientific bodies. copying straight from wikipedia:

Most of the research supporting the MBTI's validity has been produced by the Center for Applications of Psychological Type, an organization run by the Myers–Briggs Foundation, and published in the center's own journal, the Journal of Psychological Type (JPT),

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinchat
  • All magazines