Joined devRant on 2/26/2018
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
Who makes monitors which can only change the input if there is a signal on the currently selected input?
Monitor on -> VGA -> No signal -> Going to sleep
Like, let me change it to something which has a signal instead of directly going to sleep again?9
Why is laravel so poorly documented? Take \Illuminate\Mail\Mailer::send() as example. The third parameter is a callback. Nothing more. No info in the docblock what that callback does, when it is called or what the signature looks like. You have to go into the code and hope to find it out without climbing through a dozen classes.
If they are so sparse with the information in the docblock, they can leave it away completely.
Thats top notch design.
All actions happening on the page go to one endpoint. Removing old trusted computers, changing the password, changing 2FA, you name it.
Now if you want to remove all old trusted devices, you cannot remove all at once, there is no button for it. So you click one after the other. And then it stops working. Ok, then do the normal password rotation. Hmm, button has a loading spinner and then nothing happens.
Looking into the browser console:
- All requests go to /myaccount/security/graphql
- All requests get a 429 Too many requests
- Even if you just click a panel, it tracks the action to the graphql endpoint. Or at least tries to because even that gets shot down with a 429
Pretty dumb, eh? Must be some small shitty website. It's not. It's fucking paypal.1
Can we stop that trend of only showing the username field and then show the password field after filling the username clicking next? It messes with my Keepass browser addon.
Apart from that, it messes with human workflow as well. Enter Username -> TAB -> Enter Password -> ENTER. With that stupid UI you have to either focus the next button with Tab and hope hitting Enter does not already submit the login form or switch to mouse and click the Next button.10
See image first, then read this for background info.
Living with cats and cats love to step on the laptop's builtin keyboard because you have an external one.
Disabling the internal keyboard on boot seems smart... until you start your laptop without an external one attached.
Also apologies for butchering the template a bit.3
It really grinds my gears if colleagues from non-technical departments attempt to use technical terms but use them wrong. It might be gatekeeping but please, use a technical term if you are confident you are using it correctly. Otherwise use layman's words. Using technical terms incorrectly sends our brains down the wrong road and we have to make a mental U turn. And you sound like a masterhacker from a TV show or movie.7
Fuck api docs which are blatantly wrong. Wasted several hours on building an API client with pagination according to the api docs.
Turns out the actual implementation did not follow its own spec / api doc and returns values without pagination. And some objects are not objects but arrays.
I mean, next time I build an API client, I'll just fire a dozen requests on the endpoint, see what it wants and see what I get and maybe guess right what it actually does.4
My department never has real pressure like real outside deadlines. Except for this project.
Now guess what happened during the final hours of the project:
Fuckin circleCI goes into "degraded performance" (last time it was "partial outage").
I feel like calling my friends Johnny Walker and Jack Daniels over for some late night work. :P1
Why is the bitbucket PR "experience" so god damn slow and sluggish? Every shit and their mom is loaded from a different endpoint but to get the updated list of PR approvers, I have to reload the page.
The fuck why?3
Finally, my height-adjustable desk frame arrived! I even ordered from a vendor who ships from my country and not from the other end of the world to have it in a week and not in 12 months.
But alas, the vendor sent me two left legs, with the result of the cable being too short to set it up with my desk board. :(
So either I send the whole thing back to the vendor or I find an extension cable, luckily it uses molex connectors and not some crude proprietary plug type.
But seriously, what are the odds for that FFS?
You know what I envy Americans about? Your .gov domain.
It is so difficult here to detect if the website is honest or a scam because our government is too dense to put all their sites as subdomains of one trusted domain. Like dod.country.tld for the department of defense or justice.ministry.country.tld for the ministry of justice.
No, these idiots buy ministry-of-justice.tld, because no scammer ever could conceive the idea of buying ministryofjustice.tld to host a scam site.
At least publish an up2date list with domains I can trust.8
Why do you support sessions for an API (not REST)??
You remove the token and still get positive replies because the session cookie allows it.
At least the session in the cookie gets killed when the token is invalidated, but really, why?3
Todays "WTF Bitbucket?"
You can mark a PR with "Requesting changes" even if it was already merged but you haven't refreshed your page.
The whole PR page is loaded with a dozen independent requests but you cannot reload a single "widget" (e.g. Activity) without refreshing the page.
And then you do an API request "mark PR with request for changes" and the server accepts that, even if the PR is merged. Why? Nobody looks at a merged PR with Requested changes. You would expect a warning "cannot mark request changes, PR already merged" but no, Atlassian fucked up here again.
The new "PR experience" is shit. Just loading everything in a separate request does help nothing if I still have to reload the page to get an updated PR view.4
Why can't Jira support standard markdown (as defined by Daring Fireball / John Gruber et al)?
Why does it need an own markup syntax and even fail with it. Using ticks ` for code once worked, now it lets the first tick stay, eats the first code character and highlights it as code. Just why?!6
That is peak security:
- Require timebased OTP for login
- Also require recaptcha for login
- Select the frickin bus, palm tree and cross walk 93 times
- Finally manage to please the algorithm
- The 30 second validity window of TOTP expired
What is the purpose of using MongoDB and then adding mongoose?
If you want schemas, relations and all the jazz mongoose offers, have you considered using a RDBMS instead of a datapile system? Most (probably all) SQL databases support schemas, relations and all the jazz you seem to need.
So, ask yourself: Do you really need the functionality of a NoSQL database or do you just want it because it's shiny and new and "everybody uses it (tm)"?4
I opened an issue on a repo telling the owner that placing a "test passing" badge on the readme but not having other tests than an "ExampleTest" and no tests of the actual functionality is bad practice and what he thinks about updating the readme.
The result was a deletion (not close) of the issue and a ban from contributing (issues, PRs) on any of his projects.
And it was not some small "ten persons use this" project but a large boilerplate project with 2.4k github stars and over 800 forks. You would expect a little bit more professionalism of someone with that popularity.5
Can we please make it a mandatory lesson in CS studies and related education that "No hello" is a thing?
I'm fine with greeting me before you state a question, that is polite. But it is impolite to send a DM "Hello $username" and then begin to type your three paragraph question while the other person waits for you.
Just use Shift-Enter and send it all in one message, the app supports long-ass messages!17
What a fucking shit show. You buy an original DVD but cannot watch it because of a stupid copy protection system.
"Injects purposely damaged sectors into the DVD in places not read by most DVD players."
Well tough luck, VLC reads all sectors and chokes on the corrupted ones.
Here I am, sitting with a legally bought laptop, a legally bought DVD and a legally owned playback software, yet unable to enjoy my property.
THANK YOU HOLLYWOOD! >:(15
The anti-procrastination-technique "If it only takes five minutes or less, do it right now" is basically "Shortest Job First" for Real Life3
We are soo sorry we missed you last Saturday night a bit before eleven.
We will try again to deliver your parcel, another day (or night).
Maybe. Maybe not.3
What the hell is wrong with recaptcha? It is solely there to be a nuisance, especially if I use a 2FA device. I do not fear hacking attempts against my username+password, because the 2FA will keep the lucky guess out.4
Outlook just thinks it's smart by removing "extra linebreaks".
It's not like we had a special thought in mind as we formatted the plaintext mail as we did.
There is certainly no reason why we choose to break after exactly that word.
Outlook is much smarter than us, so we should be grateful for its insight. NOT.
And now we have to instruct customers to click the correct banner to display the linebreaks as they were sent.
And HTML is not an option in this use case.5
Why are there so many "curated list of X" on Github? I really liked browsing the trending page because I found several gems of OSS in it. But nowadays it seems chinese course materials, "curated lists" and so-called "H4Xx0r-Res0urces" share the space on the trending page. Has Facebook arrived on Github?2
Can companies please check their address policy for consistency before implementing some bullshit constraints? Literally happened minutes ago:
Me: __enters address "city"__
Website: Hey, I auto-correct your city to "City (Region)"
Me: __submits form__
Website: Whoa there, you can't enter braces in your city name!2
My complete day consists out of waiting for CircleCI. Why the hell is it slow af today?
I feel like playing fuckin Hay Day and am waiting for my carrots to sprout.
Who the fuck invented the glorified pile of shit people call laravel? Is this actually used in PROD for anything else than load testing a monitoring server by creating loads of error messages?
OOP exists for a reason, not to create bazillions of classes with static methods.
Dump that shit ffs!6
Me sends the laptop to hibernate to get off the train. As usual, the laptop goes to hibernate and shuts off after a few seconds. Not today, today it decided, it likes it much warmer than healthy for it and now I'm sitting here with a hot laptop in thermal emergency shutdown. Damn it6