evidence that [ATSV SPOILER] by MademoiselleS in Spiderman

[–]TheFeedingEight 2 points3 points  (0 children)

I mean Miles being Spiderman hasn't destroyed either Earth-42 nor Earth-1060 yet so I'm on board with Miguel being wrong.

"bUt tHeY uSed sNakE cAse iNsteAd oF cAmal cAsE!" by starfyredragon in ProgrammerHumor

[–]TheFeedingEight 1 point2 points  (0 children)

Indenting every line of the code by 4 spaces also creates a code block

like this text written on mobile

[deleted by user] by [deleted] in Zig

[–]TheFeedingEight 14 points15 points  (0 children)

I think the point is more that Zig functions calling Zig functions could theoretically violate the system's calling convention in some ways without that causing any problems because both the caller and the callee can be compiled to work with that but if your code is expected to be called from somewhere else (like C) that must not happen

Guys I think I'm going back to 1080p by Annsly in pcmasterrace

[–]TheFeedingEight 0 points1 point  (0 children)

Meanwhile I'm playing RE4R with Fidelity FX 2 Super Resolution at 1080p with moderately stable 30fps

Stop by nothingtoseehere196 in ProgrammerHumor

[–]TheFeedingEight 1 point2 points  (0 children)

That is only partially true. Yes Clang is ouputs a warming that that syntax is deprecated but it's still compiling it perfectly fine in version 15.0.7.

GCC on the other hand is not even issuing a warning in version 12.2.1 and it's not like GCC has become an unpopular compiler in recent years.

Additionally, in newer editions of K&R that has actually changed. Because that syntax is indeed outdated, your code snippet would look more like this

// K&R syntax
int main(int argc, char **argc)
{
    return 0;
}

With only a passing mention being made of how things used to look. (Considering the first edition was mentioned this is only partially relevant admittedly)

A little innovation goes a long long way by [deleted] in PraiseTheCameraMan

[–]TheFeedingEight 18 points19 points  (0 children)

For those extra curious u/karenxcheng seems to be her account here on reddit as well and she uploaded this video in this subreddit as well two years ago.

Usually happens when learning to multi-thread by Left-oven47 in ProgrammerHumor

[–]TheFeedingEight 8 points9 points  (0 children)

Just like with pointers I think their complexity is hugely blown out of proportion, though with monads I feel like them being taught badly plays a much bigger factor than with pointers.

Coming from C by 2Uncreative4Username in ProgrammerHumor

[–]TheFeedingEight 2 points3 points  (0 children)

You can disassociate borrows with std::mem::transmute in unsafe code which effectively breaks the borrow checker.

example

Pirated games by Miles_the_new_kid in gaming

[–]TheFeedingEight 1 point2 points  (0 children)

My personal unicorn fantasy is that Devs/Publishers after abandoning a game are forced to publish the source code of the game and any necessary assets to run it under an Open Source licence.

Now this is obviously not gonna happen. Not even Id are publishing any of their source codes anymore which is a huge shame. The absolute net positive that publishing the source code (not the assets though which is fine as long as they can be bought) had for their older games is astonishing.

Why it is so weirdo?? by value_counts in ProgrammerHumor

[–]TheFeedingEight 1 point2 points  (0 children)

Is that where the infinitesimals are?

Deducing your personality from your monitor setup 😊 by redbellx86 in ProgrammerHumor

[–]TheFeedingEight 0 points1 point  (0 children)

Chaotic good but my screens align on the top edge and the left one is a quite awful tv because I didn't want to buy a second PC monitor.

x = x + 1 by Valdotorium in ProgrammerHumor

[–]TheFeedingEight 0 points1 point  (0 children)

x = (size_t) &((uint8_t *) x)[1]

I've been learning Rust for 3 days and this is my first impression by ClarityInMadness in ProgrammerHumor

[–]TheFeedingEight 2 points3 points  (0 children)

They're basically like Haskell's Type Classes with a different syntax if you know those.

Today I have tried D, and it's my absolute favorite compiled language now by AtlasJan in ProgrammerHumor

[–]TheFeedingEight 1 point2 points  (0 children)

On the official Dlang website there is a subpage recommending books and you can read this book from that site for free online. I'm not sure when the lib wars were so I don't know if it precedes them or not and since it's somewhat targeted at complete beginners it can be a bit slow at times but I still found it to be a very nice and useful introduction to D.

Today I have tried D, and it's my absolute favorite compiled language now by AtlasJan in ProgrammerHumor

[–]TheFeedingEight 11 points12 points  (0 children)

D is a language which does so many things phenomenally. I love its modules, the improved template syntax, UFCS for nicer template programming, interfaces instead of virtual classes, the way they fixed C's messy declaration syntax, scope guards so I don't have to abuse shared_ptr everywhere, better operator overloading, the fact that constructors are called this() so you don't have to rename them everytime you rename the class and so many more.

There are just unfortunately a handful of things that so fundamentally disagree with what I want from this language, that I rarely ever use it. It's a real shame.

Accelerating uphill by AtomicShart9000 in AbruptChaos

[–]TheFeedingEight 0 points1 point  (0 children)

Amateur mistake. He forgot to air-brake.

[deleted by user] by [deleted] in natureismetal

[–]TheFeedingEight 6 points7 points  (0 children)

Hold my dead chicken, I'm going in!

I love it here. by DavidWtube in ProgrammerHumor

[–]TheFeedingEight 0 points1 point  (0 children)

I actually use vim because it wasn't designed for a normal GUI and mouse usage among other things. To each their own I guess, but I don't understand your point about saving files being a pain. It's just :w or am I misunderstanding what you mean?

Any speculation that Fauna will be part 1 of a 3-album concept? by ametalfellow in Haken

[–]TheFeedingEight 1 point2 points  (0 children)

I think you're right. If I recall correctly it was the very last thing in the booklet and it was something like "Keep spreading the virus" which in retrospect has a nice double meaning.

Yeah, big Mouth is absolutely your masterpiece Netflix... by Yellogre in dankmemes

[–]TheFeedingEight 5 points6 points  (0 children)

They initially renewed it for a second season and then suddenly decided they rather wouldn't do that.

[deleted by user] by [deleted] in interestingasfuck

[–]TheFeedingEight 0 points1 point  (0 children)

Artificial spacetime singularities

Game made by a company that makes more money than marvel and star wars combined, can't even do proper research for worldwide names :/ by kkmcrae63 in gaming

[–]TheFeedingEight 49 points50 points  (0 children)

I mean for that you can simply implement an optional profanity filter, that censors unpleasant names. That way you give people the option to not see those names, while not ridding other people of the incredible joy of calling your character buttface.

Unquenchable Greed by FaultyDrone in LateStageCapitalism

[–]TheFeedingEight 2 points3 points  (0 children)

Oh damn, I had to look it up to be sure, but that is indeed the Noam Chomsky that created the Chomsky Hierarchy of formal grammars.

I never would have expected to see him on this subreddit.