Joined devRant on 12/19/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Apple products are free as long as you spend too much money.
Inspired by https://devrant.com/rants/1552084/...2
I just helped a blind person find his way to the exit of a train station as I noticed they were searching for it, but missed it due to a small step to the wrong direction. There's hardly a better feeling than helping out with the small and simple stuff!
What good deed did you do today?16
And I thought I knew a lot about practical git... But today I learned about fixup commits and autosquash. Awesome!
So a minute ago I deleted all my Spotify songs, because Spotify now calls them Favourites instead of just Songs. Fucking morons. I thought I had loads of mediocre music in my favourites, and because I don't use favourites, I thought: let me just remove all songs from it so I can start over.
Turns out: that's all the songs I've ever added to Spotify.
Once I realised what I had done, I quickly turned off internet to see if it hadn't synced yet, but of course: FML, it was published. I quickly turned off internet on my phone and opened Spotify: gone already (the bastard was open) before I could turn internet off.
So, my last hope: turn off internet at home, fire up my old Windows PC, open Spotify, put all songs in a playlist, turn on internet, let it sync (au revoir songs or 'favourites', hello new playlist), restore all the things!
Luckily, I booted that old PC (and Spotify boots automatically in the background) last week, so it should have all my songs (I didn't add any this week). I'll let you know if it worked.
And heads up: your songs are now gone, you now have 'favourites'. 🤦🏽♂️🤦🏽♂️🤦🏽♂️🤦🏽♂️
Fuck you, UX ruiners at Spotifuck!9
Assuming we are (relative) computer pros: do we need an antivirus on Windows other than the built-in Windows Defender?
That is also assuming we're the only people using our computers.
I mean: we'd never click on ads (if we see them at all). We'd never click on links. We'd never install crapware.
Where are the risks we'd need a resource-hogging antivirus program for?9
Let's have a discussion, devRant style:
Fuck history, git rebase to the rescue! Especially interactive rebase is a power tool. I use it all the time.
At this moment I won't argue why or why not. Let's hear what you have to say!1
'Be long-term lazy.'
If it takes more than 20 minutes, then automate it.
Prevent repeated work by testing just enough.2
If your project gets fucked up beyond repair, for example by your IDE (I'm looking at you, Android Studio) try this:
0. Backup any ignored but essential files in your project (e.g. secrets) outside of your project directory.
1. Close your IDE.
2. git clean -xdf
3. Restore any backed up local files.
4. Reopen the project as a new one in your IDE.
This is awesome, because it cleans up everything non git and not committed. So any local project files configured by your IDE will be nuked, which allows for a clean start. Also, all your locally committed work is preserved.
BTW, if you really need to start over (even with git), then just remove all the things an clone the remote repo again.
Installing my company's microsystems architecture to run locally is a pita because it is 60 GB of docker containers. With my 256 GB Macbook, that's a scaling problem for the years to come.6
Got a permanent contract today after 1½ year of temporary contract. 🤩
I'll be doing mostly whatever I want, but it starts with a new mobile app for both Android and iOS. Maybe I'll try Xamarin or React Native. However, I don't know iOS (Swift) yet, so maybe I'll learn it along the way. It depends on what would be best for the users.1
Hey, I hear you like developers ranting! Maybe you also like developers swearing: https://twitter.com/gitlost1
Why the fuck does Android's SyncAdapter stop working without ANY notice since API level 26 when available storage is low?
They fucking deprecated the system-wide broadcast that the storage is getting too full to properly work. And there's no replacement!!! 😠 No callback. No exception. Nothing. You ask the SyncAdapter to sync and it will just not do it until some storage is freed.... 😭
I just received this notification on my phone. Robeco is a large investment bank from The Netherlands. 🤦🏽♂️1
Lately, I see a lot of rants/comments/jokes about WinRAR and its eternal trial (algorithm, is that you?). Here's a nice video explaining why WinRAR chose it as its business model and how it works: https://youtu.be/fTgZRVVr3_Y
Spoiler alert: WinRAR is brilliant.
But use 7-zip or be a command line ninja.8
I'm making a dictionary/glossary for a website. Any cool open source solutions? Something like Wiktionary, but maybe a bit more styling than wiki's plain old black on white.4
Want to fuck other developers? Then make a quite probable project name illegal without documenting it, nor providing any helpful information in the error messages.
I tried to name my Flutter test project flutter_test. Turns out that that name is reserved (it's a package). Fml. 🤦🏽♂️4
Is there a word cloud and ngram (word frequency over time) for devRant?
I'd like to test the following hypotheses:
- 'Fuck' is in the top 20 words.
- Swearing happens more often as the week progresses, with the exception of a small Monday morning spike.1
Do you know that feeling when you finally have no more errors, but then you can't tell if the software actually does the right thing?
Wisdom of the day:
'No crashes' is not equivalent to 'it works'...6
So, I browse to a video livestream and an annoying ad starts before the livestream is shown. Furthermore, the page jumps around because of a cookie notification that also blocks some UI elements at the top.
Note: this is the website of a public (government-paid) national news website with very high standards and a good reputation.
Action 1: refresh page; I hope the ad is skipped. Nope, annoying ad restarts. Page jumps around again because of the cookie notification.
Action 2: accept cookies to remove notification blocking the top UI (it's OK, I know it can't actually save any cookies on my machine). Instead of some nice JS doing it for me in the background, the page refreshes because you know, HTTP requests and whatnot.
Annoying ad restarts again... FML 🤬
Lessons to be learned from this for any web dev: these annoyances can and *will* exponentially get worse if used simultaneously against your users, instead of being used to help or inform your users.
As a user of you website, I want to watch a livestream. I don't care what stupid legislation forced you to shove a fucking cookie notification in my face. Make sure it is not annoying me to the point that I close you website and take minutes to rant about it!
Also, give me the freedom of choice to watch an ad or not. You and I both know that some ads simply are not for me. Better save yourself and myself the bandwidth.
And go get good at web development. You're a news site. That's more than just text and images. If you want great apps, social media coverage, videos, live streams, blogs, etc. go get some better web devs. Your current web frontend devs only qualify to get fired.1