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
Search - "pager"
-
Consultant: "you should deploy a website. Use wordpress and have a draft ready in a few days. It's easy."
Me: "It's a static website, a one-pager even. I think we would be better served with something light-weight without a database."
Consultant: "99% of the websites in the entire internet are powered by wordpress. It's state of the art, you should use it"
Me: 😢 "Nooo, it needs mainentance and stuff. Look, XY is much simpler. You can even version the static site with git"
Consultant: 😤
We ended up with wordpress for our static website now. I am so proud. I absolutely love wordpress. It is amazing. Now my static one-pager can have plugins, multiple users, security issues and all that. The future is now!17 -
using 21 js files (most are jquery based) and some 17 or so css files for a simple static one pager,
the only dynamic part is a filtered list of images,
big fuck you to whoever wrote this shit -
TL;DR: At a house party, on my Phone, via shitty German mobile network using the GitLab website's plain text editor. Thanks to CI/CD my changes to the code were easily tested and deployed to the server.
It was for a college project and someone had a bug in his 600+ lines function that was nested like hell. At least 7 levels deep. Told him before I went to that party it's probably a redefined counter variable but he wouldn't have it as he was sure it was an error with the business logic. Told him to simplify the code then but he wouldn't do that either because "the code/logic is too complex to be simplified"... Yeah... what a dipshit...
Nonetheless I went to the party and He kept debugging. At some point he called me and asked me to help him the following day. Knowing that the code had to be fixed anyways I agreed.
I also knew I wouldn't be much of a help the next day due to side effects of the party, so I tried looking at this shitshow of a function on my phone. Oh did I mention it was PHP, yet? Yeah... About 30 minutes and a beer later I found the bug and of course it was a redefined counter variable... My respect for him as a dev was already crumbling but it died completely during that evening2 -
PHP ist one of the languages I use regularly, but not the main language.
Anyhow, passing an array to a function will create a Copy of the array unless you specifically choose to Pass the reference.
That's seriously fucked up. What other language does that?! Coming from C, Java, Python to PHP I was not prepared to expect shit like that.21 -
Get an email from a client, who has been stringing me along for about 6 months, but ringing me up for advice on tonnes of different shit for free. Basically did his original website but his business model has changed to make his existing site irrelevant. Suggested months back doing a simple one pager as a stop gap with key messages. The bastard said no to that "just take it down for now and redirect to my LinkedIn page". He keeps saying we are getting stuff together and we hope to get together in September. However, yesterday he sends an email "we are getting a student in over the summer (not a Dev or designer or anything). Could you recommend any "web builders" so we can get on with the website in August. By that he means those drag and drop fucking pieces of shit website templates full of wysiwyg editors for creating shit typography. I give them free help and guidance and they think that I'm not going to want to smash him in his fucking face for his last email. The cunt.
I have an idea for 'having the last laugh' but I am open to suggestions from some devRanters, all legal of course.
P.S. I post quite a bit here about shitty clients, but I do have a number of really good clients who value my work and experience and have been with me for many years. It's just some that treat the profession with disdain and that they can easily do it themselves if only they had the time. These fuckers then wonder why their businesses fail.1 -
What I Like about Home Office?
My squeaky clean toilet. No colleagues who Block the toilet, no colleagues who seem to forget their bathroom cleanliness at home -
I can't believe I never saw this until now. The first pager I used was more, back in the old Unix days. When I started using Linux on the late 90s, I discovered less. Though less is clearly superior to more by almost any metric, it's still lacking in a lot of modern features. Enter most. Attractive, fast, packed with features(multiplexing? Yes, please!), and easy to drop in as the default pager(so manpages don't suck).
It's in ubuntu's default package repos, and I assume it's in the defaults for all the other major distros too. I cannot recommend it enough.1 -
Aaaaargh!! When your predecessor decides to incorporate (in an already technology too diverse project) another 5 new frameworks just to add an 'one pager app', that has a grid display of some data and almost no other functionality.. o.O FML!! Oh and also this page looks totally unlike other parts of the software.. yay!! :/
-
That moment when you realize your team-mate pushes code to PROD on Friday evening
but you are the one on pager rotation over the weekend...2 -
We had a lab in middle school, 5th grade, I think, where they had a few Apple IIe computers.
I remember one day looking over at a smart friend's screen and he was playing a flight simulator. I'd never seen anything like it before. When I asked him how he did it, he showed me a computer magazine where all the code was published for it. He had typed the whole thing in and saved it to a floppy.
It was part of a turning point for me when I was deciding between social groups: wanting to be a dumb jock or wanting to be smart. Thanks to that kid's example, I chose being smart. It cost me dates with the hot girls later in high school when I should have been carrying a pager for all the teachers who needed me to fix their computers for them, but I made sure to cry all the way to the bank when I was eventually making six figures. -
1. Sets up Airbnb listing for Mom
2. Domain check
3. Email check
4. Okay let’s setup a simple one-pager that we can share
*Uses html5 broilerplate and embeds Airbnb listing - simple*
Checks page, it comes up blank...
WTF!!!??? WHY!? *Checks Console: 1 million errors screaming about Content Security Policy*
Sigh, I can deal with logic errors in backend code. WebDev is just so full of esoterics and gotchas that have nothing to do with you business logic. They make really simple and trivial shit way more painful and harder than they need to be... Ugh3 -
Any U.S. Americans here who can confirm the stories about "U.S. Americans beginning to stock Up on guns and ammo"?
I mean it sounds plausible but it's surely mostly overblown by the media, right? RIGHT?!20 -
Are there any official definitions for the terms Software Developer and Software Engineer? Today a friend told me He got a raise and he's now a software engineer and no longer "just" a software developer (still at the same company).
To him and me that sounds like bullshit bingo at its best. His tasks and responsibilities will still be the same after the change of his job title.
So I'm wondering whether anyone here knows of some objectively defined distinctions between the two job titles. To me and my friend those are just the same. I never even thought anyone would make a distinction between the two4 -
Client be like:
Pls, could you give the new Postgres user the same perms as this one other user?
Me:
Uh... Sure.
Then I find out that, for whatever reason, all of their user accounts have disabled inheritance... So, wtf.
Postgres doesn't really allow you to *copy* perms of a role A to role B. You can only grant role A to role B, but for the perms of A to carry over, B has to have inheritance allowed... Which... It doesn't.
So... After a bit of manual GRANT bla ON DATABASE foo TO user, I ping back that it is done and breath a sigh of relief.
Oooooonly... They ping back like -- Could you also copy the perms of A on all the existing objects in the schema to B???
Ugh. More work. Lets see... List all permissions in a schema and... Holy shit! That's thousands of tables and sequences, how tf am I ever gonna copy over all that???
Maybe I could... Disable the pager of psql, and pipe the list into a file, parse it by the magic of regex... And somehow generate a fuckload of GRANT statements? Uuuugh, but that'd kill so much time. Not to mention I'd need to find out what the individual permission letters in the output mean... And... Ugh, ye, no, too much work. Lets see if SO knows a solution!
And, surprise surprise, it did! The easiest, simplest to understand way, was to make a schema-only dump of the database, grep it for user A, substitute their name with B, and then input it back.
What I didn't expect is for the resulting filtered and altered grant list to be over 6800 LINES LONG. WHAT THE FUCK.
...And, shortly after I apply the insane number of grants... I get another ping. Turns out the customer's already figured out a way to grant all the necessary perms themselves, and I... No longer have to do anything :|
Joy. Utter, indescribable joy.
Is there any actual security reason for disabling inheritance in Postgres? (14.x) I'd think that if an account got compromised, it doesn't matter if it has the perms inherited or not, cuz you can just SET ROLE yourself to the granted role with the actual perms and go ham...3 -
Deciding to make the website I'm working on a one pager with calls to API.
Why did I decide to make such an extensive API. 😅
API functionality includes:
user endpoint:
- log in/out
admin endpoint:
- edit user
- create/delete user
- create (sub)menu categories
- create items (install/test/image)
image endpoint:
- create image (of machines in array)
- restore image (of machines in array)
install endpoint
- install machines (Windows/Linux)
test endpoint
- auto-test (array of machines)
- test (array of machines, test)
Then the machine endpoint:
- if action in table then do action3 -
If you apply to a company for a web dev job and their website is a one pager that absolutely sucks and the content written gives the impression they dont know what they are doing should u aim high or low in the expected salary question 🧐4
-
my next challenge is now building a personal portfolio page :)
I'll create a one pager.
I'm just excited cause its a lil bit harder than building an easy tribute page. My heart will go on xD2 -
Is there a way to freeze or cap the amount of ++ that's displayed for my account? I'd Like to stop at 666 without having to stop posting
⊙﹏⊙13 -
There's no favourite coding challenge for me. Of course I do them when I'm asked to but I don't think anyone can derive how Well someone works from these short toy challenges.
I once had a proper prototyping Challenge that was really fun. I had to Work on it in advance to the interview. I had to define the scope and how much time I will spend in it in advance and then explain and defend the scoping and all technological/architecture decisions and handle proper criticism in the interview. No bullshit coding challenges Had to be solved :)
I think these prototyping challenges will Tell you way more about an applicant and his worth as a dev than those little challenges ever could.4 -
Badly designed monitors, pager duty, 4 in the morning. 20 minutes of figuring out if anything means anything. I just want to sleep. 😭😪
-
Any Go devs in Windows out there? I'm interested to hear about your dev environments.
IDE, Powershell vs MinTTY, native windows vs WSL, other tools?4 -
Week : 59 ( Year 1 )
How is your weekend going?
How many of you actually ever owned a Pager device before or now?
Previous Week : https://devrant.com/rants/112607706 -
Only when the latest feature is implemented, the last bugfix and the last workaround are found, the last unit test is written, the latest CI/CD pipeline done, the customer guy does manual testing and acceptance tests on the staging server and let's them pass and a few days later it's pushed to production...
You will be reminded (again) that shitty customers do exist! A customer is the least capable person to tell you what the customer actually wants and is also the least trustworthy person to test the features he requested...
Holy fuck come on! Just test that shit on the staging Server! One Look could have already shown you that that's Not what you expected!
I checked the logs after that and yup you guessed correctly... The said endpoints weren't even used on staging, only on production...1 -
Google Search Console insists there is "content wider than screen" on a one-pager I did which works very well on all tested sizes and devices, and scores 90+ on Google PageSpeed Insights.
"Validation failed - see details."
Clicked on "see details", and only saw the 1 URL I already knew, which seems to be working fine for everyone. If Google detetcs an actual issue, it would be really helpful to provide some details, otherwise this kind of false-positive crap only serves to care less about their tools (which is a bit of a shame, as they do provide a lot of value most of the time).2 -
He's just some Forex trader with no clear major
Call him the savior like born in a manger
Hit me on my pager, get back to you later
Handcannon, pockmarks, face full of craters
What's a man to do in a world like this?
Live my whole life to get burnt to a crisp
They open their mouth to regurgitate shit
With some coins in my fist, a .45 on my hip
cult rap hits different -
On pager duty. Getting alerts about New Relic synthetic monitors failing in prod. Freak out. Go to check them out...all of them are pointed at the uat sandbox, not prod.
I don't know how to feel about this. -
How do you protect your team's git remotes?
We tend to protect the master and stage branch from force pushing and only allow merging pull requests after successfull recent tests and successfull review by someone with proper permissions. Depending on the project the Dev branch is only protected from force pushing though. All other branches are free to handle however wanted.
We recently had someone do a "git push -f --mirror" without understanding the command. Quick reminder what that does: it mirrors all your local branches to the remote so that the remote will be a mirror of your local repo. Branches that exist on remote but not on your machine will be removed from the remote.
A then needed to work from B's feature branch but of course that was gone... So while the idiot didn't fuck up our protected branches he still fucked over other people's workflow with that.
Is there an alternative to outright blocking force pushes which could have prevented that (except force pushing intelligence into his brain)?7 -
Do you guys feel like your current salary fits your current job and your actual tasks and responsibilities?
I for example feel like my previous job was overpayed for what my actual responsibilities were and that my current job (being the first dev in a fresh start-up) is overwhelmingly underpaid for what amounts to way more and bigger tasks and responsibilities than I had at my previous job. But I'm nonetheless more happy with my current job than I ever were with my previous one.5 -
Hi,
Can anyone use View pager or ViewPager2 on AIDE on your mobile phone on Android 10? I get errors. Thanks. -
So I'm using bxslider on a site I'm developing...when it's not running everything lays out nicely (pic1). Then using a simple script and options it functions just right (pic 2) but a huge layout issue in the thumbnail pager happens (pic 3) and I can't locate where or why. Any ideas?