I mean, at the end of the day, if you really understand your language of choice, you know that it is jusf a bunch of fancy libraries and compiler tricks of top of C. So in my mind, I’m a fully evolved programmer in a language, when I could write anything I can write in that language in C instead.
- 0 Posts
- 26 Comments
Rednax@lemmy.worldto Programmer Humor@programming.dev•top 5 unsolved problems in computer science9·1 month agoI have this experience with a certain type of pedestrian traffic light “button”.
I quote button, because nothing physically moves when you press it. I’m not sure if it registers pressure or heat, but you don’t even feel anything move when you press it.
Usually when you press the button, a red text lights up on the button, telling you to wait. This text gives you feedback that the button registered your press, and the traffic light will schedule a green light for you.
However, sometimes you didn’t press hard enough, and the text doesn’t light up. Simple solution: press harder.
But there is a scenario where it doesn’t matter how hard you press, the button won’t light up. You keep staring at it, while slamming the damn thing with the fury of a Hulk wealding Mjolnir. Still, nothing lights up. The reason: the light instantly went green, so it never needed to light up the text telling you to wait. And all that time slamming your fist on the button, could have been spend crossing the intersection. Instead you have been standing there, looking like a drunk person having a fistfight with an inanimate object.
Rednax@lemmy.worldto Programmer Humor@programming.dev•Does this exist anywhere outside of C++?1·3 months agoConsidering std::cout should only directly be used when you are too lazy to place breakpoints, I totally get the decision to auto-flush.
I remember a javascript library where the was a function that returned, according to the documentation, “a color”. Did it return an object with 3 fields? Were those fields RGB or some other color scheme? Is it a string encoding a color? What format is that string? None of these questions could be answered without just running the code, and analyzing the object you got back.
Rednax@lemmy.worldto Programmer Humor@programming.dev•Why do people faint at the sight of plain-text code?10·5 months agoDo you mean that programming languages are hard to read/write, or that the languages themselves are poorly designed?
In the former case, I invite you to read machine code. Not assembly, but straight machine code. Just zeros and ones as far as the editor can see. Any popular language is better than that.
In the latter case, I invite you to look at the design of an arbitrary natural language. Weird grammer rules, regional differences, loan words that don’t fit in, etc. No programmming language is worse than that. Although I would argue that Javascript has all of those problems too in some degree.
Rednax@lemmy.worldto Patient Gamers@sh.itjust.works•Foundation - Foundation 1.0 Is Now Available! - Steam News3·5 months agoI played for several hours yesterday, and had no issues with crashing at all. They released a patch since you made this comment that fixed several crashes, so I guess you found at least some of the causes stated in the patchnotes.
The biggest issues I encountered were a problem with selecting submodules of a storage while editing the storage, and a lack of explenation on what watchman actually do other than stand there and look pretty.
Simple solution: only allow lower case characters in file names.
Battlebit is great for a couple of rounds of brainless fun every other night. I’m not yet on linux myself, but it seems to work well via proton according to google, and it doesn’t use an external launcher.
Of myself of the now dead purpetrator?
Rednax@lemmy.worldto linuxmemes@lemmy.world•Got my books and my CDs I am ready for Linux 74·9 months agoThe RHEL 7 book from OP is most certainly still relevant. For example, my department at work has not managed to switch over to the brand new RHEL 8 machines just yet.
Rednax@lemmy.worldto You Should Know@lemmy.world•YSK about the studies done about Online Disinhibition3·1 year agodisHINIbition
Rednax@lemmy.worldto Programmer Humor@programming.dev•Surely "1337" is the same as 1337, right?123·1 year agoThe worst thing is: you can’t even put an int in a json file. Only doubles. For most people that is fine, since a double can function as a 32 bit int. But not when you are using 64 bit identifiers or timestamps.
Rednax@lemmy.worldto Firefox@lemmy.ml•Firefox development is moving from Mercurial to Git25·1 year agoSince they will not use Github for Pull Requests, bug tracking, or any other bonus feature on top of git, I have to disagree. It would be super easy to change the host of their git repo.
Rednax@lemmy.worldto Firefox@lemmy.ml•Apple limits third-party browser engine work to EU devices1·1 year agoWhat you are mentioning is forcing companies to comply when selling inside the EU or California. The EU does not force companies to comply with their specifications outside of the EU. Companies simply do so because it is convenient.
The EU cannot decide how cars should be made that are sold in California. If they tried, I bet the US government would have something to say about it.
What the EU can do, is exert influence to get other governments to adopt the same rules. This already happens with a lot of countries surrounding the EU. But asking another government to adopt rules, is wildly different from forcing companies to adhere to those rules inside the borders of another government.
Rednax@lemmy.worldto Firefox@lemmy.ml•Apple limits third-party browser engine work to EU devices82·1 year agoNot entirely. There still exists trade agreements, and diplomatic pushback.
Forcing companies to make products to a certain specification, would mean the EU is attempting to regulate other markets. Markets it has no direct governance over. While it may come from good intentions, it still invades the authonomy of the governments that should have governance over these markets.
Much better would be to work together with other countries, and help these countries implement similar rules, and enforce them together. Like, pretty much that the EU is doing for its members in the first place.
Rednax@lemmy.worldto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•I hope someday we'll find a way to pirated a carEnglish1·1 year agoI don’t understand why someone would want to rent their car. Maintenance is not that hard, and companies always make you pay way more for their subscription models. By owning the car, you can pick who does maintenance. Meaning there can be competition, so prices/quality remains good.
Rednax@lemmy.worldto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•I hope someday we'll find a way to pirated a carEnglish1·1 year agoFor some, this subscription model is great. But do you agree, that is it a bad thing if they force it on us?
Rednax@lemmy.worldto Selfhosted@lemmy.world•Relative size comparison of social media platforms (December 2023)English18·2 years agoI already saw this happening on Reddit. The largest subreddit were filled with generic posts. They got a lot of content, not necessarily good content. But there were plenty of small or medium sized subreddits that had much better content. The Fediverse feels like it is missing the big subreddits. It also feels too small to have the small niche subreddits. What is here in terms of content feels more like a few medium sized subreddits.
Rednax@lemmy.worldto Games@sh.itjust.works•From design to game without coding - "...and this is the part where I'm starting to look for a new job"English5·2 years agoIn order to get good results out of an LLM, you need to be very precise in what you want. Even if it can spit out an entire game, you will have to describe it so well, you are basically creating the entire game yourself. But instead of using a standard programming language, you are using something understood by the LLM.
But how does the Rust compiler do that? What does it actually check? Could I write a compiler in C that does this check on a piece of Rust code?
C is so simplictic, that if I can write a piece of functionality in C, I must understand its inner workings fully. Not just how to use the feature, but how the feature works under the hood.
It is often pointless to actually implement the feature in C, since the feature already has a good implementation (see the Rust compiler for the memory safety). But understanding these features, and being able to mentally think about what it takes in C to implement them, is still helpfull for gaining an understanding of the feature.