I know right? They completely fucked up the head on that. A badly poured Gonster is almost as bad as no Gonster at all. 4/10.
- 0 Posts
- 23 Comments
skisnow@lemmy.cato Programmer Humor@lemmy.ml•I'm new to using Ruby and this tickled me pinkEnglish121·26 days agoI was on a project a while back that used Ruby, and what I concluded was that cute things like that look good at first glance if you’re skim-reading some already-correct code, but are pretty much a net wash in terms of writing or debugging code.
It’s not unusual for people to think that code would be better if it scanned like regular English, but the problem is that English is woefully imprecise and doesn’t always correlate to what kind of operations get run by the code, and so you still end up having to learn all that syntax and mentally process it like any other programming language anyway, but now you’ve also got a bunch of false friends tricking you into thinking they do one thing but actually they do another.
(also, the bulk of the text in that python example is the import statement, which is like… ok so what, it’s not like Ruby doesn’t have its own dependency hell problems)
skisnow@lemmy.cato Memes@lemmy.ml•If its meant to be they will teleport into my basementEnglish47·26 days agothis one time a girl at a party started to fondle my balls in the corridor and I thought she was just joking so I reciprocated by crushing a Dorito onto her head
I want to see someone with too much time on their hands build a haunted typewriter, by hooking an electronic typewriter up to an LLM
This is what they call the exception proving the rule; you think you’ve countered them, but by explaining that it’s literally one of three army surplus shops you have to go to and not just the local Wal-Mart equivalent (EDIT: or whatever clothing store, the size of the chain isn’t relevant), you’ve proven their point quite well.
My first genie wish is for the EU to declare Windows 7 public domain and set up a team to maintain security and driver updates for it.
Total annual healthcare cost: $4.9 trillion
Guess why that number is so much higher per capita, than it is in countries with universal healthcare.
Also, spending their money isn’t the only benefit to boiling them in lead. You also get the benefit of them not using that money to corrupt democracy, or fund propaganda designed to turn the working class against itself.
Yeah, I’m sure the Democrats will eventually move back to the left of their own accord if we just keep voting for them, keep our heads down, and try not to rock the boat.
skisnow@lemmy.cato Tech@programming.dev•LibreOffice calls out Microsoft for using "complex" file formats to lock in Office usersEnglish16·2 months agoOnly way this is getting sorted is if the EU force them to release proper documentation.
most devs… Kinda suck at their job
Also they like to make memes about how it’s the rest of the world that’s doing best practices, software testing, teaching, and interviewing all wrong
skisnow@lemmy.cato Programmer Humor@programming.dev•Interviews as seen by HR and the candidateEnglish32·3 months agoYeah, some of the bandwagonny replies I’m seeing in this thread do not make their posters sound like someone you’d want to spend your working life sat next to.
You don’t have to show interest in the company to help the CEO get richer, but you should probably show an interest in the company because it’s where you’re going to be spending 1/3rd of your entire waking hours from now on, and you’re going to have a fucking miserable time of it if you’ve already decided to mentally check out before you’ve even got to the interview. Have some self-respect.
skisnow@lemmy.cato Linux@programming.dev•How I discovered that Bill Gates monopolized ACPI in order to break LinuxEnglish19·4 months agoI remember they once tried some similar shit with the Kerberos protocol, sneaking a patented feature in there so they could then seize the whole thing in the name of Active Directory, but I think they were forced to back down(?)
I’m actually having difficulty finding details on it now because they’ve done a solid job drowning the story out from the search results…
skisnow@lemmy.cato Programmer Humor@programming.dev•There be Gremlins in the CodeEnglish1·4 months agodeleted by creator
skisnow@lemmy.cato Programmer Humor@programming.dev•There be Gremlins in the CodeEnglish6·4 months agoA significant percentage of developers regard frontend dev as a branch of the Arts, and therefore not “proper” software engineering.
I once had a fresh grad Junior complain to me about being given a frontend ticket, because they wanted to be writing Real Code and apparently thought they were too good to learn how to change the margin on a div.
skisnow@lemmy.cato Programmer Humor@programming.dev•Vibe Coders might be serious, but I cannot take them seriously, especially when they say "It is a must-have skill".English21·4 months agoMy LinkedIn has recently become flooded with Suggested Posts from 3rd degree connections who have “Vibe Coding Guru” listed as their job and post lots of stuff saying “people who mock Vibe Coding just don’t get it, and you too will be left behind if you don’t subscribe to my newsletter (which ChatGPT writes for me)”
skisnow@lemmy.cato Programmer Humor@programming.dev•Which of these javascript expressions is false?English24·4 months agoThat one wasn’t the one I had issues with, since the concept is essentially the same across all languages. We say it’s false because we can’t conclusively say that it’s true. Same as the reason why null != null in SQL.
The code is a set of preprocessor macros to stuff loads of booleans into one int (or similar), in this case named ‘myFlags’. The preprocessor is a simple (some argue too simple) step at the start of compilation that modifies the source code on its way to the real compiler by substituting #defines, prepending #include’d files, etc.
If myFlags is equal to, e.g. 67, that’s 01000011, meaning that BV00, BV01, and BV07 are all TRUE and the others are FALSE.
The first part is just for convenience and readability. BV00 represents the 0th bit, BV01 is the first etc. (1 << 3) means 00000001, bit shifted left three times so it becomes 00001000 (aka 8).
The middle chunk defines macros to make bit operations more human-readable.
SET_BIT(myFlags, MY_FIRST_BOOLEAN)
gets turned into((myFlags) |= ((1 << 0)))
, which could be simplified asmyFlags = myFlags | 00000001
. (Ignore the flood of parentheses, they’re there for safety due to the loaded shotgun nature of the preprocessor.)
Back in the day when it mattered, we did it like
#define BV00 (1 << 0) #define BV01 (1 << 1) #define BV02 (1 << 2) #define BV03 (1 << 3) ...etc #define IS_SET(flag, bit) ((flag) & (bit)) #define SET_BIT(var, bit) ((var) |= (bit)) #define REMOVE_BIT(var, bit) ((var) &= ~(bit)) #define TOGGLE_BIT(var, bit) ((var) ^= (bit)) ....then... #define MY_FIRST_BOOLEAN BV00 SET_BIT(myFlags, MY_FIRST_BOOLEAN)
I feel like I’m in some bizarro-world situation when people keep saying about how the new model blows everything else out the water. I’ve been hearing it on a near monthly basis for the last 3 years and they’re still shit.