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
Python's inconsistent naming - mainly in parts of the language that have existed since the dawn of time so they don't follow PEP8 or whatever. Especially the `logging` module has far too much camel case1
Any frontend developers want to help me with my project (Vue)? I have a FOSS web app I'm working on but I'm just really not motivated to work on the frontend; I really don't enjoy frontend development. I would love for someone to contribute and help with the buggy mess that it is.
It's a self-hosted notebook and Wiki style app. Read the README for a bit more background. It's built with Python, PostgreSQL, and Vue.js. (You're welcome to help with other parts too of course but the front-end is where I need most help)5
It should be illegal not to have a convenient keyboard shortcut to quit your app. Ctrl+Q ideally. No, Alt+F4 doesn't count. It's too hard to press.8
Python's is unbelievably good. I guess I took it for granted because in many other languages it's impossible to find the official documentation, or if you do it's too formal because the language is a "standard" not a fucking ACTUAL LANGUAGE. When I tried to learn Ruby, what mostly stopped me was being unable to find what I was looking for.
I think it's an SEO thing because once I've found it, it generally answers my question. The top result is always from some bullshit blog or tutorial site, whereas in Python the right thing is always front and center.4
Don't try to compile Swift from scratch expecting to use your computer for anything else at the same time. CPU 999%6
Anyone heard of or using Cyph? A Keybase alternative because apparently "we" don't trust them anymore now that they're owned by Zoom.
Seems a pretty half baked and dodgy to me, and they sent me a spam email with a "personalised" invite because my email address is linked with Keybase or something?
They have marketing for "tele-health" whatever that means, are "beyond HIPAA compliant", and it seems like the founder is a bit of a crypto nut with his 10 patents and total security through obscurity
If you want to check it out I can give you an "invite code". https://cyph.com3
So PayPal are going to require Strong Customer Authentication (SCA) now. That's all well and good, but apparently TOTP 2FA doesn't count!? I have to use fucking SMS!!!!!!????!!1
They sent me an email telling me to confirm my phone number because 2FA would be rolled out immediately, but they're also deprecating TOTP which is and always has been INDUSTRY STANDARD AND HIGHLY AUDITED, unlike hmmm I dunno, SMS FAMOUSLY ISN'T
SMS? I'VE NEVER HEARD OF A MORE RETARDED IDEA FOR A FUCKING FINANCIAL APP! WHY! WHAT IS WRONG WITH THESE REGULATORS WHO INTRODUCED THIS? AND WHY DID PAYPAL USE THAT AS AN EXCUSE TO DEPRECATE PROPER 2FA?24
I wouldn't trust my money with Google with a ten foot pole.
But if they made a bank, damn would they do it right!
So many banks have such terrible security, no 2FA, awful UI and UX in their apps, and probably still run on COBOL from 1753.21
Today I present to you:
Declarative unit testing!
Instead of writing a bunch of example usages of your code, just define the behaviour you expect it to have!
To test a Fibonacci function, instead of writing
assert fib(1) == 1
assert fib(2) == 1
assert fib(3) == 2
assert fib(7) == 13
assert fib(69420) == 576441346790001
You write instead:
if n <= 2: return 1
return fib(n -1) + fib(n - 2)
Simple! Can't possibly go wrong! All your tests will pass instantly!11
So, my fellow CLI nuts. Which GUI apps do you still use?
- Konsole (my terminal emulator of choice, maybe it doesn't count)
- sometimes Steam, if I'm particularly bored
Compared to when I used Windows it seems so few. But I still feel like I could replace 2 and 3 with TUIs (e.g. vim, mutt).15
Just discovered something really shady that Google does. (wow, how unexpected right!)
On YouTube, you can have multiple channels under one Google account. When you do so, you create a "brand account", which is a holdover from the Google Plus days - which has a different public-facing profile from your main Google account but you still sign in the same way.
When you create it, you have to tick a box that says "I understand I am creating a new Google Account with its own settings, including YouTube search and watch history".
Here's the kicker: this includes all your privacy settings like Ad Personalisation - they are all reset to the default (i.e. yes, oh baby give me that data *slurrp*)!
Hiding behind that seemingly boring "legalese" checkbox is some very nefarious behaviour.
Don't Be Evil ™5
Unpopular opinion: you shouldn't create a GitHub organisation for your open source project until it has more than one person working *full time* on it.
It just adds opacity to who the author and owner of the project is. I don't want to have to look up the organisation members to check if you have a conflict of interest when you promote your project, or understand why you think you know so much about it (even if you do), or whatever
And you DEFINITELY shouldn't hide the members of your organisation, I want to know who you are! Take some credit for your work!!16