Details
-
AboutLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
Skillsvimscript for stress relief, rust for feeling like a productive member of society, JS for actually contributing to the internet's entropy instead
-
LocationHell, IT department
Joined devRant on 9/15/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@mojo2012 "Most of then don‘t even know there are linters and auto formatters. Instead they prefer go manually align their content - which they need spaces for."
Auto-formatters are garbage for readability, they aren't designed with humans in mind. In larger teams you have to use them for practical reasons, but that doesn't make the outcome less miserable.
"they waste precious development time for formatting code manually."
No, they don't. They use plugins to make it a matter of two keypresses. It's not AI rocket science. -
@mojo2012 When in doubt show an error, whatever. Because no, inconsistencies are not as common as you make it out to be - in Python that would be a syntax error and I've never encountered it. It's almost impossible to unintentionally mess up space-based indenting. The editor can treat it as if it were tabs, but without the cursor going crazy. Best of both worlds.
-
@12bitfloat Out of genuine curiosity, what ass-backwards editor do you use that can't insert space-based indentation with the tab key?
Where do people even get the idea that space-based indentation needs the spacebar at all? -
@Midnight-shcode "one tap of tab key versus arbitrary number of bashes on spacebar"
Most people avoid Notepad, but no kinkshaming. -
Tabs make editor controls inconsistent dogshit.
Will the cursor move 1 character or 4? Who knows, it's a tab so fuck you.
And don't bring up that stupid "it looks right for everyone" argument, it would be easy for editors to automatically detect indentation width of a source file - tabs or not - and display it according to the user's settings.
So in that sense spaces are superior - they always stay consistent when vertically aligning code, and the editor could automatically handle everything else. And you wouldn't have to deal with an invisible character that can theoretically have any length, because what text rendering/editing in the era of Unicode really needed was more pointless inconsistencies. -
@Midnight-shcode "oh, that's a fun idea - purely commandline image editing program where each function is a switch"
That exists, it's called ImageMagick. And it's pretty nice actually, if you need to convert or edit hundreds of pictures you're gonna have a bad time with some fancy GUI. Talk shit about "CLI fetishists" all you want, the CLI still exists because it cannot be properly replaced for many tasks without it becoming an insufferable experience.
Gimp is definitely not the best program and has some weird bugs, but it does everything I need as a casual user in an intuitive way. Also it's free and I don't need to fear it becoming unusable over night because the US were in a bad mood and decided to sanction a country. -
@johnmelodyme "vlang is faster than rustlang ,golang and as fast as C"
Sure, it's in theory as fast as C because it's translated to C and uses C's standard library for many things. But at that point you can just use C directly because at least it isn't riddled with bugs or doing false advertising.
Not to mention the V compiler originally didn't even use an AST and the developer's excuse was that it's for performance reasons. I don't know how anyone can take this project seriously. -
@HyperCoder Worse: literally the absence of tabs is treated as a piece of code in Python. It's how the parser detects and represents the end of a scope.
Oh and also Python lets you vary the number of spaces in indents, it only has to be consistent within each scope. -
@sariel Yes, they are. But as we can see with the Google vs. Oracle court case similarities in the code may not be enough. If you have a unique watermark it's undeniable, and using a license that explicitly forbids use as AI training data avoids those bullshit arguments which compare the AI to a human who read some code.
Of course that doesn't make it much easier to sue Microsoft. But I think the shady ways they're running this makes them vulnerable to the copyright counterpart of patent trolls. One can hope. -
@sariel You know I wouldn't even be mad if in 2029 dependency issues are solved automatically.
The rest is not gonna happen though. All it takes is a bunch of bots feeding bullshit code to Copilot so it breaks production everywhere if people use it blindly. Or go a step further and watermark all your code and then sue Microsoft each time you find a watermark in Copilot output. -
3% of people cannot visualize things in their mind. It's called aphantasia. Not sure if that applies here but I can't really relate to what you wrote there.
-
Can't fucking wait for the Steam version. Apparently people figured out the internal release date in Steam is set to roughly August 10th, I hope that's true.
-
@Midnight-shcode That guy just doesn't know the properties of processed adamantine when it reaches critical mass smh.
-
@Geoxion Browns don't make any clicking sound. Though they're not explicitly silenced like the MX Red Silent.
-
@12bitfloat Interesting. For me it's basically the perfect keyboard sound.
-
And don't forget importing a library to make your code "clean" by replacing a single 15-line function.
The only drawback is that now you can only setup the repo in a specific docker container and upgrading dependencies is basically impossible without rebuilding the whole thing from scratch. -
If you really want to piss people off get Box Jades. They'll beg you to go back to MX Blues.
Though imho all clicky switches sound like cheap ballpoint pens. Lubed linear switches are the real shit. -
@AlmondSauce By writing a lot of comments apparently
-
In case exact matches are enough, look at tries (aka prefix trees). You can index the dataset and then look for words (or their prefixes). Insanely fast lookup times. Just not really useful if you also want to find similar but different words.
-
Quite the opposite. Crypto is shit but now at least it's funny.
-
@Nanos Smooth scrolling means smooth acceleration and deceleration of the scrolling movement, basically simulated inertia. You get custom smooth scrolling when an absolute idiot decides to code smooth scrolling themselves instead of just letting the web browser handle it.
If you're using Firefox you can see the difference by toggling the "use smooth scrolling" checkbox in the settings, I'm sure Chrome has a similar option.
Screen tears are caused by a difference between framerate and screen frequency. Scrolling just makes it more visible. -
"just be careful not to write any bugs"
Well some dumbfucks only learn from their own mistakes bonking them into another dimension.
I say write the code and enjoy the fireworks if something goes wrong. -
@bittersweet And the middle mouse button worked reliably to open stuff in new tabs.
Modern web UIs are simply broken, period.
The wealthiest tech companies that literally build their own web standards fail at making basic things like bug-free text input fields, or back button support that can handle more than one click per two seconds on a fiber connection. -
It's a fantastic field if you wanna get burned out for mediocre pay.
Aside from that, all you need is knowledge how to code and some kind of game engine. -
@Lensflare Well in that case good riddance.
I'm pretty left-wing but the only good thing about this enforced German gendered language is that it helps you differentiate between rational people and idiots who behave like a whole Twitter mob. -
Turns out it's not really about the advancement of the tech but the gap between the tech and the user's brain.
-
The continued quasi monopoly of Chrome is much worse.
-
@gogokun Adding back what they took away, how innovative.
-
Framework probably.
Should have good Linux support, mainly USB-A ports and a fan that doesn't sound like an airplane.
And a threadripper. Hey, you said free choice. -
It might just be someone who doesn't have experience explaining those concepts to others.
Classes and interfaces are abstract concepts and not everyone who understands them also memorized the bullshit bingo text. Give them code to look at so they know what you're even asking.
The fact OOP today is basically the "we have OOP at home" version of what it's supposed to be while some people (like educators) pretend otherwise doesn't make things easier.