Joined devRant on 6/30/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
A && (B || C)
Is there any way to get rid of the parenthesis?
I know how to remove the OR but the parenthesis are still there:
A && !(!B && !C)18
English is weird.
Take the double oo for example.
There are so many different pronunciations for it and there seems to be no rules whatsoever.
"I use arch btw"
Now I can say it too.
(On the mac, using the terminal)
arch -arch x86_64 gem install5
Sometimes, using git feels like performing a particle experiment in physics.
When I have some added lines staged for a commit, then remove those lines and stage it too, the changes annihilate into no changes at all.
Lines add and lines remove is like particle and antiparticle.
The energy that is released upon annihilation is equivalent to the joy of having a clean commit with few changes.2
It‘s just amazing how much a proper type system and a modern language makes refactoring a good dev experience.4
devRant is messed up!
I often open the app (iOS), see a rant that I want to read, tap on it, and the app crashes.
Now I almost got used to that shit but for some reason when I open the app again, that rant that I wanted to read is gone! Never to be found again!
No matter how often I reload, how much I scroll down, it’s simply gone.
This annoys me more than it should maybe. But seriously, wtf is wrong with this platform? I don’t know if it’s only the iOS app but so many other things are broken here, it’s disturbing. And those problems are there for many years, nobody seems to care. 😩
Don’t get me wrong, I like devRant. It’s the only social platform that I use. But… ugh…8
Me, talking to a colleague:
"No, thats impossible. The problem can not be in my code. Let me show you why. You see, the code does this, and than it goes here, and then… oohhhh…. I’ve found the bug."4
I want to replace Windows with Linux on a very old Notebook. It‘s for my father who uses it only for web browsing and Skype.
Can you recommend me a distro?
I think Ubuntu should be fine but I don‘t know.25
I don‘t get notifications about @Mentions anymore.
Noticed a few days ago and today in the iOS app.10
Fucking Windows sporadically gets into an endless loop of playing the sound of a USB device plugged in and out. It requires one or two reboots to fix it. I’ve tried everything, nothing else helps.10
It’s truly amazing how almost all SDKs that cost a ton of licensing fees are technical garbage. The one that I am dealing right now doesn‘t even build without manual tweaks.
Free SDKs are much better quality than that.3
I don’t know if it makes sense to post bugs here but here we go anyway.
See how the "weekly topic" text overlaps with other text at the top.
It seems like the height of this area is fixend and is not adapting to the text when it wraps into the second line.2
Valid from, valid until.
Who else has this irrational feeling that in some edge case, it might be not long enough?24
Can you come up with something to spend money on that is even more useless and worthless than NFT?
I honestly tried. I thought of the most dumb crap but it had still some potential collection value or at the very least entertainment value.
NFTs don’t give you anything in return. It’s not a license, it’s not a currency, it isn’t shares, it isn’t art, not entertainment, not physical, not limited to some domain so not suitable to be collected by collectors.
You can’t even brag about owning it because you are owning just a kind of reference to it and not the actual thing. It is not like an ownership certificate because the seller of the NFT doesn’t even have the rights to sell the ownage for it, or the thing is not ownable. And if it was ownable, an NFT wouldn’t make you the official owner of it, because NFTs are not official.
I started to think about it because I can’t believe how many people spend so much money on literally nothing.
So, seriously let me know if you can up with something that beats NFTs in that regard.10
How did Google become such a piece of shit of a company?
Every google product is just broken and annoying as fuck!
YouTube, Gmail, Google Drive, they are driving me insane!
Oh and Android. Don’t forget about Android. But Android is probably still ok compared to their other shit.7
I‘d like to work more on my 2D game.
The idea is to make a mix of "Factorio" and "Knights and Merchants".
I’ve already got a decent basis with infinite terrain generation and units that collect resources and store them in containers as items.2
Some of the rants that I’ve read recently have inspired me to write this one:
You know how some OOP based APIs require you to call the base implementation of an overridden method?
If you think about it, its pretty shit. None of the languages have mechanisms to enforce it, so all you can do is to rely on the caller to read the docs for that method that he is overwriting and then do the right thing.
And then you can also have the requirement that the base implementation should be called at the start or at the end of that method.
I really think that this is an OOP problem because if I would have to design it, I’d make a function that takes a closure as a parameter and then call that closure at the start or at the end of that "base" code. This is implicitly documented (by naming the closure appropriately so that the caller knows if it is called at start or end). And it is impossible to miss it because you need to pass something to that parameter. (Alternatively, you could also pass the closure to the constructor).7
Three weeks of vacation. Finally I‘ll have time to delay my side projects every day until the end of vacation.5
What I absolutely love to do is refactoring. With strongly typed languages, I often just remove or change something and then follow the compiler errors to finish the refactoring by fixing them.
It‘s not just a matter of renaming something. I will reliably get all the places in code which are affected by the change.
How do you handle that with weakly typed languages like JS? I can only imagine how horrible of an experience refactoring would be.7
Dude... have you ever heard about... enums? They were invented so that you don’t have to explain magic numbers.4
Fuck you Jira, for your shitty implementation of the board, which causes written comments in tickets to simply disappear.
You clicked on another comment during edit? Say goodbye to what you have just written!
You clicked on the send button to send your comment? Well, many things can happen with our overcomplicated pile of shit that we call Jira. So, your comment might get lost. Fuck you. We are complicated. This shit can happen. Deal with it.2
By trying out everything, and starting projects but never finishing any of them.
And talking about coding in dev forums. (Yes, this was before SO and reddit)