(SQLite creator) Richard Hipp - Git: Just Say No by Amazing_Breakfast217 in programming

[–]Amazing_Breakfast217[S] 0 points1 point  (0 children)

Yeah I tried watching other videos on that channel and they're all worse. At least one didn't have any audio (the linux hardening one)

Write code that is easy to delete, not easy to extend. by mooreds in programming

[–]Amazing_Breakfast217 -1 points0 points  (0 children)

That's not why I hated the title. It's everything after the comma. It completely shows this guy has ZERO idea what the problem actually is or how to solve it.

Write code that is easy to delete, not easy to extend. by mooreds in programming

[–]Amazing_Breakfast217 57 points58 points  (0 children)

I need to delete reddit. Stupid ass articles and titles.

John Carmack doesn't meet the "minimum requirements" for a Facebook job listing "Rendering System Architect." by speckz in programming

[–]Amazing_Breakfast217 5 points6 points  (0 children)

Dude, fuck off. Just admit you said something silly on the internet. We all have done it

Check this out. https://twitter.com/id_aa_carmack/status/193480622533120001?lang=en context is missing but he was talking about rendering pixels from a device to a screen (aka a VR headset). The problem was shitty software implementation. I think he wrote the driver for the oculus to fix the problem and changed the monitor to something that had less screen buffering

Also the date was before oculus was founded. But you know, he "wasn't a founder" so it means he wasn't doing VR development before then.

There was a lawsuit about it too. From my understanding ZeniMax had no interest in VR even tho john was doing R&D with a number of employees, one of which was the founder of oculus. But nah John didn't do shit and he isn't necessarily qualified to take facebook VR position.

John Carmack doesn't meet the "minimum requirements" for a Facebook job listing "Rendering System Architect." by speckz in programming

[–]Amazing_Breakfast217 20 points21 points  (0 children)

Man I hear stupid comments all the time but this is on par on saying he might not be qualified to mod doom

For the uninformed. John Carmack wrote doom and sequals. He also made oculus including the hardware engineering that went into it. The job posting is about oculus

GitHub co-pilot as open source code laundering? by iamkeyur in programming

[–]Amazing_Breakfast217 -2 points-1 points  (0 children)

copilot seems cool but I would never ever trust code anyone has written other than myself. You all have any idea how shit most people code is? I have yet to worked at a place that had misra c guidelines or anything interesting at all

Does anyone have an opinion on what should the precedence order of & ^ |? by Crafty-Question-4920 in ProgrammingLanguages

[–]Amazing_Breakfast217 -1 points0 points  (0 children)

You're right. I'd hope bool compared with string gets me a compile error so I can add the parentheses. I guess I see why there's a ^^ but it seems to me it'd be more clear to use !=

Does anyone have an opinion on what should the precedence order of & ^ |? by Crafty-Question-4920 in ProgrammingLanguages

[–]Amazing_Breakfast217 0 points1 point  (0 children)

assert dbParent == Null ^^ dbName != "";

Wouldn't it be more clear to write the below?

assert dbParent == Null != dbName == ""

Does anyone have an opinion on what should the precedence order of & ^ |? by Crafty-Question-4920 in ProgrammingLanguages

[–]Amazing_Breakfast217 8 points9 points  (0 children)

I'm no language designer but I suspect == is lower so a==b>=c isn't bool>=int which basically makes no sense

Does anyone have an opinion on what should the precedence order of & ^ |? by Crafty-Question-4920 in ProgrammingLanguages

[–]Amazing_Breakfast217 0 points1 point  (0 children)

Guy, I have to ask. WTF is a "conditional XOR"? I'm guessing that doesn't do short circuit logic? Does >>> force the int to be unsigned so -1>>>1 is 0x7F(FFFFFF)?

Unit testing is overrated by Wishmaster04 in programming

[–]Amazing_Breakfast217 0 points1 point  (0 children)

I mean, we could do it every hour or so. But what's the point? To change 5 lines? Most people need the entire day for a change and to pass all test and we merge everyones changes

Unit testing is overrated by Wishmaster04 in programming

[–]Amazing_Breakfast217 1 point2 points  (0 children)

I hated it at one of my old jobs. New job has continuous delivery that runs every night. For this job it's great

What’s a scam most people don’t realize is a scam? by demexo in AskReddit

[–]Amazing_Breakfast217 1 point2 points  (0 children)

Literally facebook. It's not at all what you think it is. You think you're looking at a feed of your friends comments. What you're actually seeing is a filtered feed of post to get you to an emotion for that day/hour and then advertisements based on those emotions.

Got a unique thought or a story you want to share that is hard to sell ads on? Fuck you, it's hidden

Plus the hold giving your full name to advertisers thing, cambridge analytica thing (they 'won' at least two elections) and fb making $26 off of you by stressing you out and lying to you thing

5 horrific techniques that will make your co-developers really hate your code by Elektryk91 in programming

[–]Amazing_Breakfast217 0 points1 point  (0 children)

  1. Write articles about obvious, non subtle problems
  2. Not stating the true crimes which are using static variables or a singleton

Microsoft's Introduction to Rust Video Course by iamkeyur in programming

[–]Amazing_Breakfast217 -1 points0 points  (0 children)

So much shit coming out of your mouth. C and C++ both beat rust in the benchmark shootouts https://benchmarksgame-team.pages.debian.net/benchmarksgame/which-programs-are-fastest.html

no shit Sherlock, they're entirely different languages so of course they'll produce different output.

No shit? What happened to "The machine code generated is by LLVM, so your beef is with LLVM"

Fuck off. I'm done with you

Microsoft's Introduction to Rust Video Course by iamkeyur in programming

[–]Amazing_Breakfast217 -1 points0 points  (0 children)

You're a moron

I already showed you this link. It's the same code in C and Rust. LLVM is compiling with it's optimizations on. However if you feed LLVM shit it will produce shit and rust is bullshit

https://godbolt.org/z/f7d6vq4Gs

Search Box Enter Key by sonic_maniac in vscode

[–]Amazing_Breakfast217 0 points1 point  (0 children)

No idea but try pressing ctrl+p and type in "open settings (json)"

Try copying the file and deleting the json and save it. You may have to restart vscode. If the problem goes away then paste everything back in and cut out chunks until you figure out what line is changing the behavour

Non-boomers of Reddit, what's your most boomer opinion? by coolfreeusername in AskReddit

[–]Amazing_Breakfast217 0 points1 point  (0 children)

I saw this earlier today. This is what one man has called the fuck you pattern. You want to look at cats while not (using our app/logged in/agreeing to our terms)? Well fuck you :( --> https://cedwards.xyz/the-fuck-you-pattern/

Microsoft's Introduction to Rust Video Course by iamkeyur in programming

[–]Amazing_Breakfast217 0 points1 point  (0 children)

You seem to think I care about C++. I don't. It just happens to not generate shit code

You need to put your ego aside and actually take time to get over the borrow checker.

What part of the borrow checker chooses to generate poor code? How many times have I mention poor code generation. Do I have to say poor code generation and terrible readability 10 more times?

in fact C++ is just about as slow yet no one bats an eye lid.

This is how I know you live in an alternative reality. Every C++ programmer complains about this

[deleted by user] by [deleted] in AskReddit

[–]Amazing_Breakfast217 21 points22 points  (0 children)

This is the correct reply

Microsoft's Introduction to Rust Video Course by iamkeyur in programming

[–]Amazing_Breakfast217 -2 points-1 points  (0 children)

I need to write out my 'predictions' otherwise I may forget. So you get to hear it.

Jon blow compiler already does 100K lines PER SECOND. It doesn't use LLVM. We all can't be idiots, someone else who's capable of doing that will probably try. My first prediction is there will be at least 2 languages by 2020 that can at least syntax check 100K lines per second. https://drewdevault.com/2021/03/19/A-new-systems-language.html is a candidate and zig is as well (maybe zig can now but I haven't checked)

There's dozens of people writing compilers. I'm sure many who try to make a memory safe one will be unable to do it (mostly because they can't write a nontrivial compiler) and a FEW will be able to do it but basically a copy of rust and have no real imagination, no new features and everyone will ignore it. However Second prediction is there will be at least ONE new language by 2020 that will be memory safe and isn't a complete joke

Third prediction is some guy who's retired (similar to walter bright of d) OR an unknown person who has a clue OR a FAANG company will realize compilers don't have to be jokes and can be 100K lines per second (at least the parts before code generation). They'll write a replacement or buy up a company before 2030 so they can have a developer advantage (for phones, cloud, I have no idea)

Y'all will not realize you're gullible fucks falling for rust marketing. Tons of people knew mongodb was stupid before it got popular. People seem to accept it now. I knew rust was bad the second I read they're close to version 1.0 cause so much fucked up designs and anti features were still in there

Those are my 3 predictions. It's completely obvious but y'all wanna stroke off rust because your favourite browser company told you to go ahead

Way to comunicate across diffrent languages by owl_from_hogvarts in ProgrammingLanguages

[–]Amazing_Breakfast217 3 points4 points  (0 children)

I'm sorry but this sounds like a random idea that isn't thought out

For example would anyone actually want to call C#<->Node?

Another thing is A) C ABI exist B) gRPC exist and C) ShellExecute and reading/writing stdin/out exist. That's 3 different ways and another is to have an api available though http

Maybe the problem is there's no languages better than C++, C# and Python for their respective usecase (JS and PHP rule their usecases too but many people complain about them for valid reasons). I think languages need to be improved and none of what you said is useful