AboutArtificial intelligence is no match for natural stupidity
Joined devRant on 6/1/2016
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
Help create an open national database for COVID-19 vaccine availability information and a suite of dev resources to help devs create projects with this data3
ALMOST HALF AN HOUR SPENT TRYING TO LOG INTO MY FUCKING RASPBERRY PI OVER SSH.
you know what the problem is?
I’m not gonna tell you because I want you to feel the agony too.
> be me
> want to set up a nextcloud instance on pi to play with
> boot up
> ssh pi
^tries like 60 more times with different things
> pulls HDMI out of PC
> connect to pi direct
> check the logs
>try login from phone
>Tries resetting password
>tried logging into other pi
>type @ sign
Are there any websites counting the days since the net neutrality repeal?
Would help remind people that this needs fixing just like India did
Does the ease of “hacking”/breaking AI scare anyone else?
I remember a slide from a security presentation I saw once where there were three sections, the first was an AI classification of some animal with about 60% confidence, the second was a small grey static (think old tv static type thing) with a label next to it saying 10% and the third was an AI classification of the first picture overplayed with 10% of that noise and it had 95% confidence that the animal was COMPLETELY DIFFERENT.
Adding just 10% noise and AI goes batshit crazy. (No it was not a bat afaik)
THINK ABOUT THIS IN TERMS OF STOP SIGNS. WELP.3
Does anyone have suggestions for privacy respecting payment services?
I currently use PayPal and Venmo but I don’t really trust PayPals business practices and am investigating other options.
any suggestions ?15
Never attribute to malice what can be explained by incompetence.
OH MY GOD REFACTORING FEELS SO AWESOME
I just finished spent 4 weeks of crazy busy summer camps and I get back to a project I was working on.
It feels so awesome to just effortlessly move stuff into methods and have it work pretty much first time.
To be fair I’m the only one working on this right now so I pretty much already knew the code but still holy cow it’s so much simpler now.
Moral of the story: Appreciate your time off and use it to unwind and let your mind wander to more creative heights before taking advantage of it after and only after you get back to the project1
all documentation points to an Invalid auth token being code 400 (ignore the fact that this is a code in the JSON response and not HTTP)
Me: here iz credential. Plz send datas
API: haha fock off and die mate, then credentials you got there aren’t workin’
API: code 998 invalid auth token
Me: *speechless* so that’s why it took me longer than it did to find that error, because YOUR CODE WAS MISSING ALL MY CHECKS FOR CODE 400.
Why can’t people design apis properly.2
Does anyone else struggle with I-want-this-to-work syndrome where you try to make something work that’s really specific and random but that you want to do and you spend way too long trying to get the tiniest bits to wrk and end up abandoning it after hours of wasted time?
Examples from me: trying to get an Ethernet cord to act like an AUX cord but using networking protocols so I can use my fucking sonos as, you know, a proper fucking computer speaker for fucking pc sounds instead of just streaming.
Trying to hook up a piece of exercise equipment to their own software that displays cool stuff except their software is only for windows and you only use/want to use Linux and you have to deal with HID devices through WINE and are ultimately just procrastinating your workout
Anyone got similar stories or tips?2
Fuck copy-pasting. I just spent WAY too long trying to figure out why == wasn’t working to compare strings in python when I discovered that I had accidentally pasted a trailing space into the database entry causing it to not be equal
What happened to that trans-Atlantic devrant stress ball project? Is there a website for tracking it or something???2
Building on my last rant, a friend told me that resizing the partition caused the blocks to be no longer aligned, whatever tf that meant. So i adjusted the partition table and reboo—-
Grub: OHAI THERE, DO YOU KNOW HOW TO USE A GRUB RECOVERY SHELL? NO? WELL FUCK YOU BECAUSE HELP ISNT A VALID COMMAND HERE. FIGURE. IT. OUT.10
Follow up to the follow up rant: ubuntu broke.
I tried searching for my git client I had installed: not found.
: Git status
Command not found (even though I’d used it less than an hour earlier)
*restart to see if that fixes it*
My laptop: STEP RIGHT UP STEP RIGHT UP LADIES AND GENTLEMEN, TAKE A LOOK AT THIS WONDERFUL TTY LOGIN SCREEN WITH NO GUI WHATSOEVER. THANK YOU THANK YOU VERY MUCH.4
After seeing all these photos of people in stores full of rubber ducks, I just want to start a rubber duck store for the sole purpose of meeting devs by asking anyone who takes a picture if they are a dev.
Maybe this will be how they hire devs in 20 years...12
In follow up to my last rant.....
A friend just informed me that I should enable dhcpcd to get networking in arch...
I was typing dchpd......
why don’t I read things more carefully
I’ve been at this for hours and I just installed ubuntu alongside arch because I need my laptop for tomorrow. Ugh1
That oh shit moment when you just installed arch and exit your root shell after creating a new user for yourself only to realize that you didn’t add yourself to sudo group.
*logs back in as roo——*
[repeat about 5 more times]
So apparently I made the SAME typo twice while setting the password and then the first login was a lucky third typo in a row.
Gotta reinstall now. Glad I didn’t have any desktop environment installed yet.14
That moment when you realize you have to deal with git now because you have a habit of “changes now, git later” and also like commits to be clean and free of notes you leave to yourself that aren’t meant to be there after the feature is done
I’ve seen so many rants on here about people wanting things for free for whatever reason.
While devrant is great, I think this is the best rant on the subject ever.
> be me
> be developing a react native app
>realize the iPhone X notch is clipping your content on the first/home screen of the app
>google says: simple fix
>find a built-in react native thing to add safe area padding
> refresh the app
> the other screens with navigation bars already have built in padding
> remove safe area thingy
> finds a clever, not particularly hacky way to pad the home screen without showing the header bar by setting its height to 0 and the color to match the content background
> there’s a small 1–pixel light colored line separating the header from the content clearly breaking the otherwise continuous single color background
> no responses except something I’d already done
> keep experimenting
> tries basically everything to figure out where that line is coming from
>sets borders to thicccc and bright red
>no bottom border? Ok that’s not it
>try shifting the header position around by a few pixels? Maybe it’s misaligned with the white parent layer underneath?
>it’s past bedtime
> what about the content? Is that misaligned?
>Maybe its an iOS feature not a react thing?
> make a test Xcode project, completely native to test
> negative.dng (pun intended)
> find a native iOS stackOverflow question with the same issue (1px line)
> realize your Xcode test wasn’t done properly.
> start looking into the SO post
>it’s native so I have to find out how to do it in react-native
>invent a bunch of style parameters that don’t exist in the documentation to see if there’s an undocumented thing
>googles for a react native version of the iOS only SO post
> *tries it*
> “Haha nope” -my code
> HOLY FUCK
> IT WORKED
> AFTER TWO FUCKING DAYS OF SHITTERY AND SHENANIGANS
>AND MANY STACKOVERFLOW EDITS TO A NOW VERY MESSY POST
>*screams of relief*7
So if bitcoin was created in January 2009
And git was created in 2005
Does that mean that git was using blockchain technology before blockchain was cool?7
My least favorite part of the world is the engrained habits within society (for lack of a better word).
These habits can be pretty broad but since they are so widespread, it makes it hard for people who value their privacy to stick to their beliefs and go against them.
Examples of this are like saying no to giving away some information, or asking for someone to delete something like a photo of you. Society is trained the other way. Society is trained not to be privacy aware and therefore reacts in a way that puts massive pressure on those who want to keep themselves more private.
I’m sure a lot of you are familiar with this already. Any tips?
So I just got the cyber security pack on humblebundle... $15 for a year of PIA, a year of spider oak one cloud backups and a year of Dashlane are the notable ones (I’ll give away the antivirus ones for free since I don’t have windows).
But that wasn’t the awesomest part...
I installed Dashlane and after transferring all my stuff over from LastPass, I went to delete my LastPass
Dashlane autofilled the username...
It’s like so subtly aggressive in an unintentional way. Honestly this password manager Battle Royale is totally worth the $15 regardless.13
I think Linus Torvalds would be up there in the top 5 ranters list if he had a devrant.
It’s not quite @AlexDeLarge creativity but some of his swears are certainly pretty full of imagery.9
@dfox @trogus how is Appcelerator working out for you guys for cross platform development?
I’m going to be making/totally rewriting the mobile apps for an online service this summer and I’m looking into options.
Currently I’m considering Xamarin, React Native, and Flutter, but I looked at the devrant tech stack page and began looking into appcelerator. What made you guys choose that? What’s the experience like?
Also if anyone else has arguments to make for any of the other three go for it! I’m a fairly new (compared to a lot of people on here) dev but Im pretty confident without programming knowledge and I’m just curious what the industry recommendations/people’s opinions are.
Thanks devrant, you’re awesome!27