Details
-
AboutI don't care about this site's avatar system. The vectors are all equally ugly. I have custom css rules in my browser to remove every instance of them.
Joined devRant on 12/20/2018
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
-
>"We need this project finished for tomorrow"
<"But we don't even know what the client wants for parts X, Y and Z"
I'm currently in a sinking ship of a company that has no proper project management or documentation. Requirements mutate with the lead manager's biorhythms and all projects are delayed because he's incapable of scouting or retaining talent.
Unless I've misread their financial situation, I don't think they'll stay in business throughout the year without some major restructuring.2 -
Let's all flock to facebook's (I'm sorry, META's) latest application, forgetting all the trouble they've had about privacy breaches and the selling of customer data and other shady shit.
Sounds like a wonderful idea.
And give that company even more of a monopoly over the internet. Communication? Whatsapp and facebook messgenger. Social Networks? Facebook and Instagram.
I understand not giving a shit if you do not have a background in tech but come on. Learn to live without twitter you internet addicted dumb fucks4 -
Considering most IDEs can autocomplete basic things like function names, would it be beneficial (for learning purposes at least) that a language avoids ENTIRELY any abbreviations?
For example, let's take some of C's printf family.
Instead of fprintf, printf and sprintf, the new function names would be something like print_formatted_to_filestream, print_formatted and print_formatted_to_string respectively.15 -
People in SO be like: "I don't understand why I'm not getting any answers. All I want to do is to twist this ORM to do something it doesn't support and I haven't even explained the nature of the models and nested relationships in the question"3
-
Be careful with scams. The last scam-looking thing I've seen pop up a lot is a mail from Paypal saying my account has been terminated due to a breaking a rule that encompasses a lot of different things (from scams to illegal activity).
I don't even use Paypal all that much so I knew this had to be a mistake. I just have a CardA that sometimes gives me trouble when paying online because the bank is kind of shit, but doesn't give me trouble when paying with it through Paypal.
Naturally, I'm curious about this. However all the details are in some mystery PDF attached.
At this point I just opened the PDF out of morbid curiosity in another machine. The mystery PDF contained a link to an external site where I could "view what was wrong". Naturally, I just deleted the file.
What tipped me off originally was the domain name. the mail didn't come from paypal.com, but paypal-live.com.6 -
I've been using an arch based distro that really required pretty much nothing in terms of know-how to get it set up. Tonight, I randomly checked the ~/.bashrc file today and found some cute aliases.
# Help people new to Arch
alias apt-get='man pacman'
alias apt='man pacman'
alias helpme='cht.sh --shell'
alias please='sudo'
alias tb='nc termbin.com 9999'1 -
A forum admin started requesting donations and threatening to kill the site if nobody pitched in because it was much too expensive and stuff. The classic wikipedia strat.
The thread was pinned and it was the first thing anyone would see when they'd go into the subforum.
Someone asked the admin how come he needed that much money monthly to keep the forum alive and asked if he could provide a breakdown of the things that needed to be paid.
Admin unpinned the thread and went silent. The amount he was asking was about $80 per month. Is that normal?6 -
Saw a question on SO asking why foreach was slow with big data.
The code provided was 6 nested foreachs (basically a cartesian product between an array of arrays, and 4 other arrays).
Inside, a select query and an "update or create" operation.
"But why is foreach so slow?"4 -
I was reading a few interesting postgreSQL solutions to constrain polymorphic tables (anti-pattern, I know) when something caught my eye.
Some solutions were looked down upon (or looked favorably upon) based on their portability to other rdbms like MySQL.
Is that really so important? I get it, if somehow you decide to change from one to the other for some god-forsaken reason it will make the switch easier. But really, how often will that happen?
I feel there is a tendency to just avoid using SQL beyond the basics.5 -
Had to go into an old outlook inbox to check something. The ad aside was bothering me so I went into the dev tools to remove the entire section.
The site crashed before I could do anything with the devtools.
I reloaded and tried two more times. Same results.
How is it doing that? Detecting the devtools are opened I mean. I hope this doesn't become standard practice.6 -
Easiest responsive page. No js
<DOCTYPE html>
<head>
<style contenteditable style="display: block; border: 2px solid black; background: white; font-size: 2em;">
body { background: red; } h1 { font-size: 4em; text-align: center; }
</style>
</head>
<body>
<h1>Title</h1>
</body>
</html>1 -
Today, I randomly remembered a guy who was doing an internship at my college's tech lab. From what I gathered (I wasn't really part of that group) all they had to do was familiarize themselves with one of the many systems available and... I suppose maintain it or improve it.
.... Poor guy spent the first 2 to 3 weeks just trying to get Ruby on Rails to work. The work he was doing was not (and would never be) critical so there was not much of a sense of urgency.
Someone should have told him to use a fresh VM. Guy was trying to get it to work in his private laptop running windows. A doomed endeavor.3 -
I was asked to look into a site I haven't actively developed since about 3-4 years. It should be a simple side-gig.
I was told this site has been actively developed by the person who came after me, and this person had a few other people help out as well.
The most daunting task in my head was to go through their changes and see why stuff is broken (I was told functionality had been removed, things were changed for the worse, etc etc).
I ssh into the machine and it works. For SOME reason I still have access, which is a good thing since there's literally nobody to ask for access at the moment.
I cd into the project, do a git remote get-url origin to see if they've changed the repo location. Doesn't work. There is no origin. It's "upstream" now. Ok, no biggie. git remote get-url upstream. Repo is still there. Good.
Just to check, see if there's anything untracked with git status. Nothing. Good.
What was the last thing that was worked on? git log --all --decorate --oneline --graph. Wait... Something about the commit message seems familiar. git log. .... This is *my* last commit message. The hell?
I open the repo in the browser, login with some credentials my browser had saved (again, good because I have no clue about the password). Repo hasn't gotten a commit since mine. That can't be right.
Check branches. Oh....Like a dozen new branches. Lots of commits with text that is really not helpful at all. Looks like they were trying to set up a pipeline and testing it out over and over again.
A lot of other changes including the deletion of a database config and schema changes. 0 tests. Doesn't seem like these changes were ever in production.
...
At least I don't have to rack my head trying to understand someone else's code but.... I might just have to throw everything that was done into the garbage. I'm not gonna be the one to push all these changes I don't know about to prod and see what breaks and what doesn't break
.
I feel bad for whoever worked on the codebase after me, because all their changes are now just a waste of time and space that will never be used.3 -
Trying to learn UE on an underpowered linux machine is not something I'll recommend to anyone.
It's like shooting yourself in the foot and then going for the other one for symmetry's sake. You're doubly fucked. -
It's always a fucking joy when your body starts giving you signs about sickness.
Did you want to be productive today? Fuck you: here's a headache, a parched throat, some nausea and shivers. And when you finally get those under control, you're gonna feel too warm and feverish. -
Got contacted by a place I used to be an intern at. They were looking to hire. Things are supposedly better now, so I highballed my salary expectations.
Surprisingly, they were willing to meet those expectations, so that's cool. However, a call they said was going to happen in the morning didn't happen until late afternoon.
Now I'm wondering just how much they've improved on the planning.3 -
Whatever happened to that cute tutorial Ruby used to have? The one with a repl and lots of cats?
Do you know any similar ones? Not necessarily for Ruby.2 -
I finally get it. Symfony: The Fast Track (https://symfony.com/doc/6.0/...) is not supposed to be a learning tool.
It's an elaborate joke! Now it all makes sense.1 -
Symfony is a mess. The source code is a mess with classes that are never in the right place. The book is a mess. It skips over things that pretty much break the project it's supposed to build.
Not only they haven't fixed it (current book is pretty much a rehash of last book), they think they can actually sell that crap.2 -
I'm glad I handed in my notice. So long, client-database-update.xlsx. I will never again have to suffer your absurd inconsistencies1
-
fucking hate how some sites deliberately break their own scroll functionality if you haven't logged in/accepted gdpr nonsense/signed up for a newsletter.
It's such an easy fix (most of them just slap style="overflow:hidden;" to their <html> tag) but I still think it's very loathsome1