Details
Joined devRant on 8/30/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Please stop recommending arch. For real. Stop!
Let's back up. I'm an arch user. Have been for years. I love arch! Like hardcore! But for real, cut it out.
Either they didn't ask and you're being obnoxious or they probably asked "what's a good distro to learn?" Or "Ubuntu holds my hand too much, I want something more consoley" either way, arch is not the answer. Arch is a distro for us stuck up types who like spending all day fixing dependency errors, changing our WM every other week, debating the merits of X vs wayland, and acting better than everyone else.
But here's the thing: I found arch because I wanted something that I could compulsively configure and get really in the weeds. I think most arch users feel that way to some degree. You kinda have to if you want to not be miserable. But many Linux users aren't like that. And that's fine! Let them use mint, or Debian. So they never change their DE. Cinnamon is a great interface! Gnome 2 is totally fine! There's literally nothing wrong with being content with sane defaults and not manually installing every package, and having scheduled releases from a stable source.
Do you tell 7th graders "if you really want to get better at algebra, you should try calculus. You really gain a deep knowledge of math!" No! They will get there when they are good and ready! Or not. It's not a beginner distro. In fact (controversial opinion ahead) it's pretty shitty at being a distro. I have used arch for years! But I don't recommend it to anyone. Because if you want to configure a box for literally 100s of hours (it's never really over is it?), Then you aren't asking anyone about distro recommendations. You've tried them all. You've heard of arch. You been to /r/unixporn.
Stop acting better than everyone else and stop telling people it's better than <other distro here>. It's not. It's different. Very different. And it's not for everyone.26 -
Great background music, pretty much a pinned tab of mine now: https://generative.fm/
"Endlessly unique ambient music"
"The pieces featured on this site are not recordings. The music is generated by a different system created for each piece. These systems have been designed such that each performance is unique and plays continuously without repetition."2 -
What is in a web name?
thought i would share
ready?
www.gotahoe.com (go tahoe )
www.speedofart.com (speed of art designers)
www.whorepresents.com (who represents celebrity rep lookup site)
and of finally
www.penisland.com ( pen island yup they sell pens)13 -
We were talking about harddrives at work when someone was wondering if filling them with helium would make them spin faster... Then imagination took over!
"But helium balloons float, right... So would helium filled hard drives float..? Probably not due to weight but imagine dropping a hard drive and seeing it float towards the ceiling.."
"John, the delivery guy has a box with new harddrives downstairs, could you go get them?
*shouts* John did you get them? Just don't open the box outside!! No, no, NOOO DON'T OPEN IT OUTSIDE! JOHN, THE HARDDRIVES, BE CAREFUL, DON'T OPEN THE BOX OUTSI.....
*harddrives floating by the window into the air*
NOO, JOHN, WHAT DID YOU DO?!
"*walks into the office, harddrives floating against the ceiling* goddammit John, not again"
"John, why are you putting one kilometer long cables on those harddrives?
*John let's them float into the air towards the clouds*
We offer cloud storage!"
(We have a usual office building ceiling)
"John, I need a 1tb harddrive, where are those?
Uhm... C12!
*takes a ladder and walks towards c12 to pluck one from the ceiling*"
😆7 -
On the first day of Christmas my true love gave to me—a few minutes to myself with a Rust programming book (don’t judge — I just started learning).6
-
Seriously, just how exponentially fucked did this world just become.
I'm pretty sure that this post's format would be more tailored towards devrant.com (well, hereby). But I wanted to vent about it, here, now.
A copy of this post is available at https://facebook.com/irc.condor/....
Just the other day the EU Parliament accepted that widely disapproved copyright directive - article 11 and 13. Despite direct lobbying on our end. And by whom? Not by young, competent parties like the Pirates. No, instead the old fucks from the conservative party had their say, driven by nothing but incompetence and lobbying from label companies.
Then the whole ordeal with the Master/slave issue in Python started. Again met with significant outrage - and again approved while completely ignoring the voices of everyone else. I even ended up making a fork for it at https://github.com/toloveru/cpython. Please star it to show your support for the cause. It is made in response to a denied revert at https://github.com/python/cpython/....
And then we had the issue of Linus Torvalds leaving the Linux project. The single most important person when it comes to Linux.. and he left, just because he admits to be an asshole - something which apparently needs to be changed?! Dude, be a fucking asshole! That's what made the Linux kernel great in the first place!!! Yet even you give in to those SJW cunts?!!
AND THEN... If Linus' disappearance wasn't enough already, core developer at the LLVM project Rafael Avila de Espindola leaves the project as well, because of an influx of SJW's and political correctness.
It started with feminism in the past century. Now it's superiority and pink-/blue-haired warriors going for OUR SUPERIORITY AND UNIQUENESS and being offended by whatever they can possibly get offended with. Fucking cunts they are. You heard that right. FUCKING CUNTS!!! Because yeah, in my house I swear like that. Anyone who doesn't like that can fuck right off.
But what good does my criticism towards all this still serve.. nothing, does it. Those live wires that I've avoided touching for so long.. they suddenly don't feel all that repulsive anymore. Thanks society!23 -
woke up at 5am
no alarm clock was required
my fucking passion woke me up to get up and code.
i coded outside in my backyard
felt like cold war
it was night
it was dark
a depressing horror atmosphere
just like my whole life
2 hours later i started seeing sun
it was cold outside. alone. in the dark. my arms were freezing.
but 2 hours later i managed to code the feature. it worked.
3 hours have passed. im ripped. quentally.
doing it here. inside now. started the day happy. dropped bullshit from day before. cleanser of all toxicss.
fuck the past. the past will pull you down and kill you.
this. remember. always do not forget.7 -
“So, using whatever language you want, php, python, perl, javascript, program something that gets today’s date and time, then writes it to a file.”
Me:
$ date > today.txt
“We don’t feel you have the right skill set.”
https://stilldrinking.org/interview...14 -
No, I don't want desktop notifications
Yes, I understand you use cookies
No, I don't want free books
We see you use AdBlock ...
[closing the tab]
And this happens every time I desperately search for smth5 -
If Gordon Ramsay made code reviews, I would watch that show. Especially the insults he would use for handling clients.
"This code has so much spaghetti, it decided to open it's own restaurant"23 -
So I have seen this quite a few times now and posted the text below already, but I'd like to shed some light on this:
If you hit up your dev tools and check the network tab, you might see some repeated API calls. Those calls include a GET parameter named "token". The request looks something like this: "https://domain.tld/api/somecall/..."
You can think of this token as a temporary password, or a key that holds information about your user and other information in the backend. If one would steal a token that belongs to another user, you would have control over his account. Now many complained that this key is visible in the URL and not "encrypted". I'll try to explain why this is, well "wrong" or doesn't impose a bigger security risk than normal:
There is no such thing as an "unencrypted query", well besides really transmitting encrypted data. This fields are being protected by the transport layer (HTTPS) or not (HTTP) and while it might not be common to transmit these fields in a GET query parameter, it's standard to send those tokens as cookies, which are as exposed as query parameters. Hit up some random site. The chance that you'll see a PHP session id being transmitted as a cookie is high. Cookies are as exposed as any HTTP GET or POST Form data and can be viewed as easily. Look for a "details" or "http header" section in your dev tools.
Stolen tokens can be used to "log in" into the website, although it might be made harder by only allowing one IP per token or similar. However the use of such a that token is absolut standard and nothing special devRant does. Every site that offers you a "keep me logged in" or "remember me" option uses something like this, one way or the other. Because a token could have been stolen you sometimes need to additionally enter your current password when doings something security risky, like changing your password. In that case your password is being used as a second factor. The idea is, that an attacker could have stolen your token, but still doesn't know your password. It's not enough to grab a token, you need that second (or maybe thrid) factor. As an example - that's how githubs "sudo" mode works. You have got your token, that grants you more permissions than a non-logged in user has, but to do the critical stuff you need an additional token that's only valid for that session, because asking for your password before every action would be inconvenient when setting up a repo
I hope this helps understanding a bit more of this topic :)
Keep safe and keep asking questions if you fell that your data is in danger
Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee5 -
As a developer, sometimes you hammer away on some useless solo side project for a few weeks. Maybe a small game, a web interface for your home-built storage server, or an app to turn your living room lights on an off.
I often see these posts and graphs here about motivation, about a desire to conceive perfection. You want to create a self-hosted Spotify clone "but better", or you set out to make the best todo app for iOS ever written.
These rants and memes often highlight how you start with this incredible drive, how your code is perfectly clean when you begin. Then it all oscillates between states of panic and surprise, sweat, tears and euphoria, an end in a disillusioned stare at the tangled mess you created, to gather dust forever in some private repository.
Writing a physics engine from scratch was harder than you expected. You needed a lot of ugly code to get your admin panel working in Safari. Some other shiny idea came along, and you decided to bite, even though you feel a burning guilt about the ever growing pile of unfinished failures.
All I want to say is:
No time was lost.
This is how senior developers are born. You strengthen your brain, the calluses on your mind provide you with perseverance to solve problems. Even if (no, *especially* if) you gave up on your project.
Eventually, giving up is good, it's a sign of wisdom an flexibility to focus on the broader domain again.
One of the things I love about failures is how varied they tend to be, how they force you to start seeing overarching patterns.
You don't notice the things you take back from your failures, they slip back sticking to you, undetected.
You get intuitions for strengths and weaknesses in patterns. Whenever you're matching two sparse ordered indexed lists, there's this corner of your brain lighting up on how to do it efficiently. You realize it's not the ORMs which suck, it's the fundamental object-relational impedance mismatch existing in all languages which causes problems, and you feel your fingers tingling whenever you encounter its effects in the future, ready to dive in ever so slightly deeper.
You notice you can suddenly solve completely abstract data problems using the pathfinding logic from your failed game. You realize you can use vector calculations from your physics engine to compare similarities in psychological behavior. You never understood trigonometry in high school, but while building a a deficient robotic Arduino abomination it suddenly started making sense.
You're building intuitions, continuously. These intuitions are grooves which become deeper each time you encounter fundamental patterns. The more variation in environments and topics you expose yourself to, the more permanent these associations become.
Failure is inconsequential, failure even deserves respect, failure builds intuition about patterns. Every single epiphany about similarity in patterns is an incredible victory.
Please, for the love of code...
Start and fail as many projects as you can.30 -
Hello "friend", whom I haven't seen or talked to in years. How have you been? Please don't mind me, my life is boring as shit and nothing happened to me since. Yes, I'd gladly make an app for your company because you agreed to do it but apparently you lack the skills. Oh, you've been fucking around for a month doing nothing? That's sad but sure, I can do it by Sunday, I don't have plans for the weekend anyway. You say you can't pay me more than what I earn in six hours doing my day job? And your boss should think you did it all by yourself? Well, let me consider this cool little opportunity. I'll be in touch, talk to you "soon"!1
-
Owner of company I freelance for: I need you to find out what CMS [website] is running in.
[Checking...]
Me: It's running in Drupal
Owner: Prove to me that it's running in Drupal, because she's saying you're wrong.
Me: Who the hell is "she"?
Owner: The boss over at [PR Company we do work for]
Me: Is she a developer?
Owner: No, of course not. She barely knows how to run a computer.
Me: Then tell I said it's running in Drupal, and if she wants proof, tell her I'm the developer she has begged to fix two other failing projects and I have delivered both times ahead of schedule.
Owner: If you don't show me proof, I'll fire you. I don't need attitude from my employees.
Me: A.) I'm not your employee, you are my client. I don't clock in for you and you don't withhold taxes from my pay. B.) If that's how you want to be, tell her to use terminal and cURL the website for the response header, as well as cross-reference folder structure for CSS/JS file inclusion to show it's running in Drupal.
Owner: What the fuck is terminal?
Me: If you don't know what terminal is, neither will she, meaning you have no business telling me how to do my job. Stick with assigning me tasks and let me use my expertise to get them done. Micromanaging need not apply here, mmm'kay pumpkin?
Owner: You sure are grouchy today.
Me: Yep...35 -
devComic #3 "The Pizza Paradox" adapted from a rant by @molynerd (https://devrant.com/rants/178708/)7
-
Today my classmate came up to me and said he was a hacker.
I told him to prove it, and guess what? HE ACTUALLY HACKED GOOGLE!
It was amazing! He impressed so many kids in the class with his skills of pressing F12! How impressive is that?
He even wore a black hoodie and can spell his name in binary code. Not to mention, he changed google doc's page color to black and the font to green as he typed his essay.
I need to be careful... This 1337 h4x0r is really scary.
83w4r349 -
DAMN IT JUST SEND ME SOME FLOWERS
Started a new job yesterday, and rather than making my partner work to pick up hints I have said explicitly a few times that I want him to send me flowers at work, because
1) Yay flowers!
2) Displays dominance over other women at work because it demonstrates I have a caring partner
3) Did I mention pretty flowers?
4) Let's the dudes at work know I'm in a relationship so that means we can all just focus on being colleagues
FFS I even sent a link to a site that does local same day delivery for no extra charge, and pointed out the three bouquet styles I like best. So easy.
But he has yet to send me any.
And as I'm filling out the W-4, learning that I have to pay an extra $10k in taxes, because we eloped a week ago and apparently that's what happens when two high earners file jointly and it's making me want to rant because THE COST OF FLOWERS IS INSIGNIFICANT TO MY TAX BURDEN SO SEND ME THE DAMN FLOWERS.
(and yes technically it's "our" tax burden and yes the money spent on a bouquet would only add to our shared house expenses but I don't care; I'm generally anti flower but there's a time and a place and this is the time and the place)
And if he sends them late in the week, a significant portion of their prime blooming time will be during the weekend which is just wasteful so ugh.
</rant>17 -
My words to live by...
Another one got caught today, it's all over the papers. "Teenager
Arrested in Computer Crime Scandal", "Hacker Arrested after Bank Tampering"...
Damn kids. They're all alike.
But did you, in your three-piece psychology and 1950's technobrain,
ever take a look behind the eyes of the hacker? Did you ever wonder what
made him tick, what forces shaped him, what may have molded him?
I am a hacker, enter my world...
Mine is a world that begins with school... I'm smarter than most of
the other kids, this crap they teach us bores me...
Damn underachiever. They're all alike.
I'm in junior high or high school. I've listened to teachers explain
for the fifteenth time how to reduce a fraction. I understand it. "No, Ms.
Smith, I didn't show my work. I did it in my head..."
Damn kid. Probably copied it. They're all alike.
I made a discovery today. I found a computer. Wait a second, this is
cool. It does what I want it to. If it makes a mistake, it's because I
screwed it up. Not because it doesn't like me...
Or feels threatened by me...
Or thinks I'm a smart ass...
Or doesn't like teaching and shouldn't be here...
Damn kid. All he does is play games. They're all alike.
And then it happened... a door opened to a world... rushing through
the phone line like heroin through an addict's veins, an electronic pulse is
sent out, a refuge from the day-to-day incompetencies is sought... a board is
found.
"This is it... this is where I belong..."
I know everyone here... even if I've never met them, never talked to
them, may never hear from them again... I know you all...
Damn kid. Tying up the phone line again. They're all alike...
You bet your ass we're all alike... we've been spoon-fed baby food at
school when we hungered for steak... the bits of meat that you did let slip
through were pre-chewed and tasteless. We've been dominated by sadists, or
ignored by the apathetic. The few that had something to teach found us will-
ing pupils, but those few are like drops of water in the desert.
This is our world now... the world of the electron and the switch, the
beauty of the baud. We make use of a service already existing without paying
for what could be dirt-cheap if it wasn't run by profiteering gluttons, and
you call us criminals. We explore... and you call us criminals. We seek
after knowledge... and you call us criminals. We exist without skin color,
without nationality, without religious bias... and you call us criminals.
You build atomic bombs, you wage wars, you murder, cheat, and lie to us
and try to make us believe it's for our own good, yet we're the criminals.
Yes, I am a criminal. My crime is that of curiosity. My crime is
that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me
for.
I am a hacker, and this is my manifesto. You may stop this individual,
but you can't stop us all... after all, we're all alike.
+++The Mentor+++9