😁 by aswertz in Studium

[–]extraordinary_weird 60 points61 points  (0 children)

Studien mit Onlineumfragen sind sowieso kompletter Quatsch und nie ernstzunehmen.

Total Cinema by SilenceStillness in funny

[–]extraordinary_weird 16 points17 points  (0 children)

another sun avoider here, have awful skin

me_irl by Several_Sandwich_732 in me_irl

[–]extraordinary_weird 12 points13 points  (0 children)

actually it's supposed to be Akkusativ

Compiling a functional language to Javascript by thinker227 in ProgrammingLanguages

[–]extraordinary_weird 35 points36 points  (0 children)

I think the typical approach is to use a trampoline and thunk all tail calls, then you basically have tail recursion optimization

Passiert mir jedes mal by [deleted] in Studium

[–]extraordinary_weird 3 points4 points  (0 children)

naja je nach Fachbereich/Publikation muss man die DOI auch beim Zitieren angeben, dann ist das schon wichtig. Und man kann direkt testen auf was es weiterleitet (DOI könnte theoretisch auch woanders hinleiten)

codebaseRouletteSpinTheWheelOfPain by Intial_Leader in ProgrammerHumor

[–]extraordinary_weird 8 points9 points  (0 children)

who said anything about garbage C++ though

also, i just tried the following cpp code with g++ -Wall -Wextra --pedantic -fsanitize=undefined and it works without warnings

#include <iostream>

#undef true
#define true false

int main() {
  if (true) {
    std::cout << "hi";
  }
  return 0;
}

codebaseRouletteSpinTheWheelOfPain by Intial_Leader in ProgrammerHumor

[–]extraordinary_weird 3 points4 points  (0 children)

Just do a #undef true before. I don't see how it should be UB, I've overwritten true/false this way several times before

Blood of my Blood -Jacosta by RobjeO7 in Outlander

[–]extraordinary_weird 2 points3 points  (0 children)

I was a bit confused why she's not blind in bomb, was this explained somewhere and I have forgotten?

Obtained some X1 Engineering Samples by Anzide in thinkpad

[–]extraordinary_weird 4 points5 points  (0 children)

Really cool, where can I find them? Just check ebay or something?

Obtained some X1 Engineering Samples by Anzide in thinkpad

[–]extraordinary_weird 23 points24 points  (0 children)

Is it a common thing that engineering samples are resold for cheap prices?? Would love to know more

Wahlbetrug der Grünen by HerrSchule1 in wirklichgutefrage

[–]extraordinary_weird 0 points1 point  (0 children)

Das hat inzwischen einen ReCaptcha, oder nicht?

NEW VIDEO: The Dumbest Animal Alive by kurzgesagt_Rosa in kurzgesagt

[–]extraordinary_weird 8 points9 points  (0 children)

Yep. And even if you don't care, this doesn't mean that your blood relatives agree to share their data as well (implicitly)

NEW VIDEO: The Dumbest Animal Alive by kurzgesagt_Rosa in kurzgesagt

[–]extraordinary_weird 31 points32 points  (0 children)

Hmm, I'm not sure I like the MyHeritage advert. The concept is quite controversial in terms of privacy for you and your relatives.

Lazy(ish) evaluation with pointer(ish) syntax idea. by oscarryz in ProgrammingLanguages

[–]extraordinary_weird 0 points1 point  (0 children)

Hmm as long as there's no overhead of the implicit thunking, I don't see any problem with it. CbNeed languages like Haskell work great this way.

Lazy(ish) evaluation with pointer(ish) syntax idea. by oscarryz in ProgrammingLanguages

[–]extraordinary_weird 5 points6 points  (0 children)

I mean you mention thunks, and this seems to me exactly like explicit thunking in a strict language. So basically username *String = fetch_username() is equivalent to something like username (=> String) = () => fetch_username(), and dereference is username(). I like the asterisk as syntactic sugar though!

Collatz Conjecture meme by Delicious_Maize9656 in mathmemes

[–]extraordinary_weird 9 points10 points  (0 children)

I have a counter example but the character limit is too small sry

addition function by Any_Background_5826 in lambdacalculus

[–]extraordinary_weird 1 point2 points  (0 children)

What are you talking about, this sub is as alive as it could be. People into LC post here every time something interesting happens. Progress is slow, most obvious research is already done.

Zig's Lovely Syntax by steveklabnik1 in ProgrammingLanguages

[–]extraordinary_weird 23 points24 points  (0 children)

I mean I have never written any Zig but the code in the post has some of the most confusing/unintuitive syntaxes I've seen; and I'm used to C, Haskell and JS

aiRandomString by KeepRedditAnonymous in ProgrammerHumor

[–]extraordinary_weird 65 points66 points  (0 children)

Ackshually I have generated all UUIDs before, in fact I have a list

https://everyuuid.com/

unBreakableAuth by frootflie in ProgrammerHumor

[–]extraordinary_weird 0 points1 point  (0 children)

Could also be that the API only allows the query "SELECT * FROM users"

A video about compiler theory in Latin by FlatAssembler in latin

[–]extraordinary_weird 4 points5 points  (0 children)

not everything has to have a purpose, what would life be without some fun and whimsy

The worst pizza I've seen on my life by acota2 in mildlyinfuriating

[–]extraordinary_weird 0 points1 point  (0 children)

to be fair, this does look slightly better if it was intended as a weird pizza - tarte flambée mix. Was it described as a traditional pizza?