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 - "it's true"
-
So...Today I found an SQLI (sql injection , google if you're not aware) in one of our products , I start exploring it , I get my trusty Kali on me workstation . sqlmap etc. Tell my manager it's a true positive... I start exploring the db , half the devs at my manager's place start staring at his screen as I proper fuck a QA db server... I hear a qa guy mention triangulation as sqlmap dumps a uid table in his face . I hear my manager's manager saying 'this has been in our app for so long and we found it just now ? Who found it ?' *manager proudly saying me name* 'He's still working this late ?' ...apparently now my trip to england is getting covered for both me and me gf by the company...18
-
I was told during my initial interview that the book "Clean Code" is their Bible here.
And it's true. It's lying, unread in drawers and shelves all over the office.15 -
It's depressing how true this is
Me: "Tech support, how can I help you?"
Them: " I'm not able to log into the website!"
Me: "Okay, what message is it showing when you try to log in?"
Them: "Sir, I am NOT a computer person so I don't know."
Me: "Do you know which web browser you're using?"
Them: "I don't know what that is!"
Me: "Okay, when you want to go on the internet, do you click on a blue E, or a mulicolored circle, or..."
Them: "SIR I ALREADY TOLD YOU THAT I AM NOT A COMPUTER PERSON, YOU'RE REFUSING TO THELP ME SO I'M GOING TO HANG UP"12 -
CTO: I heard about this great architecture of microservices. What is it exactly?
Me: it's building many servers with one responsbility each.
CTO: That sound good. But let keep it simple and build only one big microservice.
Me: 😲
(True story from a comapny a worked for)8 -
When you try to become over smart with Apple.
Client :- Ask for all user information in registration screen.
Me :- But Apple rejects app if you ask for personal information you don't need. We shouldn't ask it since Apple will reject the application
Client :- "I am more strict than Apple", just do it.
Me :- But...
Client :- Do it!
Developed the app, uploaded on Apple Store for review and the app got REJECTED!!
Reason for rejection :- Don't ask for personal information you don't need !!!
Me :- (Evil laughs)
It's been more than 15 days now, the app is still under review due to multiple other violations already informed by me.
Moral :- Listen to developers, they have more experience than you or DO THE F*****G RESEARCH !!
True story !!!!7 -
I don't know why @dfox , @trogus didn't want a username with underscore and I'm sure they must be having some valid reason for it. But how in fuck did this user have the guts to rate the app 1 star simply because it doesn't have a login with fb feature? I mean you can request for a feature but it's dumb of you to rate 1 star because it doesn't have a feature you want. This is true for any app not only devRant.
Source : One of the user reviews of devRant on the play store.54 -
A true story... sad but true
2.00AM ->> git commit -m "it's time to sleep"
2.45AM ->> git commit -m "I can't sleep, fixed the UI issue"3 -
I actually hate this job, seems like there's not a single project with decent code abstraction. Everything is a fucking spaghetti like:
```
// we only care about e-mail fields, which are odd
isValid(index) {
if(!(index%2)) {
return true;
}
...
}
```
Like MOTHERFUCKER, WHAT BUSINESS RULE DOES THIS SHITCODE REFLECTS?!?! WHY CAN'T YOU SHITHEADS WRITE PROPER BUSINESS ABSTRACTION RATHER THAN JUST COLLEGE-GRADUATE QUALITY SHITCODE.
FUCKING KILL ME ALREADY I SHOULD HAVE INSTEAD BECAME A PSYCHIC CAUSE I'M SURELY GOOD AT GUESSING WHAT THE FUCKING FUCK THIS FUCKING FUCKCODE INTENDS TO ACHIEVE.
AND YOU CALL YOURSELF TOP-NOTCH DEV CAUSE THIS IS JAVASCRIPT... YOU KNOW WHAT, SHITHEADS LIKE YOU, WHO DON'T KNOW SHIT OTHER THAN GLOBALLING EVERY FUCKING NPM LOCAL PACKAGE IS WHY GOOD ENGINEER LIKE US GET SHIT FROM PHPEPSI ZENDFRAMESHIT FUCKHEADS DEVS.
DO YOU THINK YOUR COMMENT WAS HELPFUL??? DO I LOOK LIKE A BUSINESS GRADUATE FUCKTARD WHO DOESN'T KNOW WHAT THE FUCK THE MODULE OPERATOR IS??? I WANT TO KNOW WHY YOU WROTE THAT SHITFUCK INSTEAD OF WHAT IT DOES; THE REASON I'M READING YOUR POORLY WRITTEN MODULE OPERATOR SOAP-OPERA IN THE FIRST PLACE IS CAUSE I KNOW WHAT IT'S DOING, IT'S BREAKING SHIT.
OH AND ONE MORE THING, FUCK YOU FUCK FUCK FUCKSHIT SHITFUCK FUCk11 -
I hate ZenHub. For those who haven't heard of it, it's an agile project management solution that is hacked (and by hacked I mean really hacked) on top of Github.
It's touted as being convenient because you can have all your issues in Github and then look at them in epics and board format. Sounds awesome. Except it's not. For everything "convenient" it does, it severely lacks the most basic ticket management features that make any ticket management solution usable. Ex., you can't copy tickets. That's right - if you're creating 20 similar tickets, which I've needed to do in the past, you must create each one individually. New ticket -> add labels -> add assignee -> add title -> add description and then submit. 20 times.
ZenHub is so bad and so poorly conceived that many of those who use it have lost sight of project management reality and are blind to the 300 other PM products out there that are better.
True story: a couple of weeks ago people were celebrating because ZenHub added functionality to allow you to define what epic an issue belonged in while you were creating it. For those who aren't familiar with what that means, let me explain: before two weeks ago, when creating an issue in ZenHub, to fill out this "epic" field, you needed to first create the issue and then edit it to fill in the epic.
Let me break that down in devRant terms: it's the equivalent of not being able to add tags to a rant until you create it and then go back and edit it. Complete lunacy is the only way to describe it. And when they added the functionality two weeks ago allowing you to do it all in one step, people praised them!!!
Yeah, ZenHub sucks.11 -
Having PHP as my most useful skill.
I know various other languages, but they're either too exotic for professional use, or my knowledge about them doesn't have the same depth as with PHP.
People joke about how awful PHP is, and it's not entirely true. The incongruous stuff such as confusing parameter ordering can be fixed with libraries. And PHP7 fixed a lot of the ugly stuff. A good dev can certainly write structured, readable, performant PHP code.
But there is a real hard limit. PHP is missing more complex type definitions present in other languages. A weak type system is like building stuff with popsicle sticks and bits of duct tape, it works fast and perfectly fine for small projects, but the lack of strictness is a problem when you have thousands of classes intertwined in all kinds of complex factory, service and repository patterns. And the simple type hints are still newish and fully optional, which means a lot of people don't use them.
So I regret getting stuck in this self reinforcing loop, where I learn more about a very imperfect language through employment, and keep rolling into jobs using that skill because it's what I'm most experienced with.16 -
2 hours, maybe 2.5.
No one works for more than that, it's not how brains work. Or bodies for that matter, you gotta pee eventually.
OK maybe I'm pedantic and shouldn't count breaks... But then where lies the threshold? A fifteen minute coffee break? An hour long lunch break?
Could we use scrum storypoints to brag then (I once finished 12 points in a day!) — not really, because they're not standardized units of work.
Lines of code then? Well, the dev who copy pastes Java classes would beat the guy adjusting a dense Python script, without necessarily doing more.
No, the only true measure is of course grams of amphetamine per week, and in that metric I win from everyone.
😂😅😶😣😓😟😖😧😵😰🚑16 -
The question goes straight to @linuxxx.
How secure is Viber? After an update recently, each conversation one starts says it's end to end encrypted.
How true is that?37 -
Last Friday some company invited my project group (I am studying IT) to visit their offices.
After a little speech, they shew us the open spaces (dont feed the developers ;) ). After a few minutes, someone told me :
- "It's a fake, they are not true devs"
-"Why ?"
-" Seriously, who uses light theme to code?"7 -
True story.
I had been working for 6 months at the same place surrounded by 6 people (3 of them in my work team) .
On January I receive a message on skype for business "Hello, happy new year :)"
I answered "thanks", 10 seconds later I see the name of who wrote the message, someone called let's say YYY, so I ask one of my coworkers, "do you know who is YYY?" and I hear a voice of the girl seated right in front of me for the last 6 months answering "It's me", "Oh!" I said.
Awkward silence....
Rant to myself for being a shitty non social person.10 -
It's not that I hate PHP, I just hate the lack of consistency in standard function naming and parameter order, nonsensical attribute access, nearly-meaningless comparison operators, reference handling, case (in)sensitivities, and more!
I mean, look at these functions:
strtoupper(...)
bin2hex(...)
strtolower(...)
And look at THESE FUNCTIONS:
array_search($needle, $haystack)
strpos($haystack, $needle)
array_filter($array, $callable)
array_map($callback, $array)
array_walk($array, $callable)
And let me jUST USE SOME ATTRIBUTES:
$object->attr = "No dollar sign...";
Class::$attr = "GOD WHY";
HOW ABOUT SOME COMPARISONS:
(NULL == 0) // true
(NULL < -1) // ALSO true
Functions AREN'T CASE SENSITIVE (at least variables are).
Wanna dereference? TOO BAD, YOU'LL HAVE TO GET OUT THE TNT.
Alright, yeah, I hate PHP.18 -
*wiggles the mouse on my Windows box to activate it again and watch some videos while eating*
Le wild BSOD appears!!
Windows used KERNEL_SECURITY_CHECK_FAILURE!!! It's super effective!
Hah! Well, you know.. it's fucking true. Windows' kernel security is a fucking joke.
First time that I actually laughed at a BSOD like this. Thanks Microshit!14 -
Old man's tale. It's true.
Like 12 years ago, I was working in a small town computer store.
One day, a really ugly woman came in and asked for data recovery since she could not boot up her PC anymore.
We recovered her data, and just to make sure it was all "working", we randomly checked a few directories for files.
We have found some photos of her.
Her and a bottle of Coke.
Let me put it this way: she loves coke bottles. A lot.
There are things that can't be unseen, and moments you still remember after 12 years. Like the moment she came in to get her stuff - and you need to pretend to be all business while you're almost pissing your pants.
Good days :)7 -
My apparently my friend's wife gets suspicious whenever his Snapchat goes off after 10pm, always wants to know who it is.
"It's [algo], it's always him sending me pics of his code late at night. That's is the only person that Snapchat me this late"
And it's true.6 -
girl: Why is your laptop heavier than mine?
me: I have more files than yours
girl: oh! it's true, you and movies eh.
me: laughing inside... hehehe1 -
You know that scene in IT Crowd where they thank everyone else but the IT people ... It's as true today as it was then3
-
What the shit!!!
At 11:00
While studying
"ah... I'm sleepy, can't tolerate any more", and just go to bed.
At 11:05
While scrolling rants
"hahaha... So true, same happened with me.. bla bla...."
At 12:47
Doing same thing from last 1 hour 40 mins
Even not sleepy yet!!!
It's too addictive. Having so much good posts, much better than fb feeds.... Loving the rants... New experience3 -
theNox.age++
I wanted to screenshot some of the birthday wishes that were printed for me on the discord server early this morning but they're spread too much, thanks anyway! That was very cute of you all. Only people from devRant actually bothered to wish me a Happy Birthday this early (maybe I influenced it a little bit ... 😂) But it's true
Everyone remember that ThatDude's Birthday is on January 28th 😉16 -
ARGH. I wrote a long rant containing a bunch of gems from the codebase at @work, and lost it.
I'll summarize the few I remember.
First, the cliche:
if (x == true) { return true; } else { return false; };
Seriously written (more than once) by the "legendary" devs themselves.
Then, lots of typos in constants (and methods, and comments, and ...) like:
SMD_AGENT_SHCEDULE_XYZ = '5-year-old-typo'
and gems like:
def hot_garbage
magic = [nil, '']
magic = [0, nil] if something_something
success = other_method_that_returns_nothing(magic)
if success == true
return true # signal success
end
end
^ That one is from our glorious self-proclaimed leader / "engineering director" / the junior dev thundercunt on a power trip. Good stuff.
Next up are a few of my personal favorites:
Report.run_every 4.hours # Every 6 hours
Daemon.run_at_hour 6 # Daily at 8am
LANG_ENGLISH = :en
LANG_SPANISH = :sp # because fuck standards, right?
And for design decisions...
The code was supposed to support multiple currencies, but just disregards them and sets a hardcoded 'usd' instead -- and the system stores that string on literally hundreds of millions of records, often multiple times too (e.g. for payment, display fees, etc). and! AND! IT'S ALWAYS A FUCKING VARCHAR(255)! So a single payment record uses 768 bytes to store 'usd' 'usd' 'usd'
I'd mention the design decisions that led to the 35 second minimum pay API response time (often 55 sec), but i don't remember the details well enough.
Also:
The senior devs can get pretty much anything through code review. So can the dev accountants. and ... well, pretty much everyone else. Seriously, i have absolutely no idea how all of this shit managed to get published.
But speaking of code reviews: Some security holes are allowed through because (and i quote) "they already exist elsewhere in the codebase." You can't make this up.
Oh, and another!
In a feature that merges two user objects and all their data, there's a method to generate a unique ID. It concatenates 12 random numbers (one at a time, ofc) then checks the database to see if that id already exists. It tries this 20 times, and uses the first unique one... or falls through and uses its last attempt. This ofc leads to collisions, and those collisions are messy and require a db rollback to fix. gg. This was written by the "legendary" dev himself, replete with his signature single-letter variable names. I brought it up and he laughed it off, saying the collisions have been rare enough it doesn't really matter so he won't fix it.
Yep, it's garbage all the way down.16 -
Why people keep installing shit on their computers and then asks me if I can fix their PC that "randomly" stopped to run as fast as before?
If you, fucking retard, installed combos of 2 or sometimes even 3 antivirues, the worst ones by the way (e.g. Avast + Norton + Avira), some bullshit utilites like BoostMyFuckingPC 9000, SpeedMyGPU, etc. it's normal that it doesn't work, especially if you have a low end laptop with Intel i3 and 4 GB of RAM…
And it's not true I'm a magician if I make it work properly again, I just undone the fucking decisions you made when you started to search on bing how to increase FPS in LoL…
Fuck you, and fuck me because since we're friends/relatives I HAVE to help you little bastard.6 -
-When they ask for your current/previous salary in a job interview, tell them that you don't find that relevant or that you don't want to tell. If they insist on you telling your salary, GTFO
- When they are overenthusiasticly telling about all the latest technologies they're using without staying one word about legacy projects, GTFO. It's a trap.
- If you walk trough the developer room(s) and everybody is extremely focused and just programming like a zombie, GTFO.
- If they cannot tell you one single downside of the company, it's probably too good to be true.
That's about everything I can think of at the moment4 -
Python: I hate the way it uses True/False over true/false
Java: Static. Just fuck static. oh and System.out.println(), why the fuck did they make the basic print function so long to write.
C#: I despise the way the curly braces get automatically put under the function declaration rather than beside it since it's a language style thing.
C: the inability to declare vars in altho declaration of a forloop. Although I think C11 let's you do this.
Javascript: Fucking prototypes.
Coldfusion: it runs like an elephant. Slow and heavy.
Go: The way the compiler won't let you have unused variables/imports. Pain in the ass for testing.17 -
not the worst by itself, except I keep finding them everywhere
if(thingThatIsTrue == true) {
// omfg
}
or it's inbred cousin
if(!thingThatIsTrue == false) {
//herpa derp
}6 -
True fact!
Had my practical exam yesterday on Data Structures using C.
Had included this in my code
if(!count)
break;
Examiner: What type is count?
Me: Sir, it's an integer.
Then he asked me what was not expected.
Examiner: What does this exclamatory mark do?
In my mind: Now's the right time for the world to end. 😛9 -
Working on a database priorly designed and maintained by some private agency.
The fuck I'm dealing with!
Boolean values stored as 'TRUE'/'FALSE'. It's varchar, my dudes.
There are no FK relations. Just the values of IDs in a column.
There are no indexes, all on just the PKs, nothing else. Nothing.
Null, what's that? I'm dealing with 'N/A', my dudes.
Unique key, what's that? The table which stores users has all the fields nullable. Email is not unique ( even though that's the required behaviour).
ALL the numeric values are stored as varchar. Varchar, my dudes. Varchar. '1', '1.1'
And finally, the good ole, 1 table to rule them all. Normalisation, fuck that.
And what's the root cause of all this? My PM used to hand them Excel sheets she maintains on her local system. FTW. I don't have a enough explanations.7 -
True that... Even I got the impression that installing Arch must be a great feat of work... But Nah! It's pretty moderate!4
-
that's quite accurate :) ofc there are exceptions (looking at you two naughty bois, metaspace and off-heap allocations!), but it's true for the most of it :)5
-
>> this === rant
<< true
At beginning of this year, I only knew HTML, JS, and CSS so I just applied for offers like "Jr Apprentice Dev in Front-End"
In a interview call, the woman told me that they will send me a test asking about my JS and HTML5 knowledge.
When I look in my inbox, the mail subject says "Back-end Test".
Then I call the woman:
Me: "Hello, I have received the test mail, but maybe it's wrong. I applied for a Front-End position and the test is about backend! "
She: "Do you have skills in JS and HTML5?"
Me: "Yes!, and CSS3"
She: "Well, the test is about that. JS, jQuery, and HTML5"
Me: "..."
Me: "Sorry, that languages are Front-End. In the subject say 'Back-End' and Back-End is PHP, SQL, MySQL, Java, .Net... I don't know nothing about that. I only know HTML, JS, CSS."
She: "It's the same"
Me: "I sorry but it's not the same. Fron-End is client-side, what users sees. Animation, colors, FXs, buttons, forms... And Back-End is server-side, what users doesn't see."
She: "Well, JS, HTML, and CSS is backend for us. We call it that way too"
Me: "Sorry but that is wrong. I invite you to read some basic info. Now I am confused"
Of course that I am not confused. That idi0t was wrong.
Perhaps recruiters should take some info about areas where they are recruiting... (:T)3 -
Today the CEO asked us to create KPIs to follow a junior tasks, daily.
The problem it's he wants KPIs to foretell problems or delays in his tasks.
The junior is analyzing 14 years old C++ code, made by an electrical engineer who had all worsts practices possible when coding.
We explained that we couldn't make real, true KPI that would foretell the advancement due to complexity of the legacy and the fact that the junior had NEVER USED C++.
SO.... He asked to know how many code lines he made daily and an estimate of how many lines he'll have to do to complete the task.... So he could foretell advancement.
....
....
It was the 5th time in less than 60 days, that the CEO bypass totally the CTO to ask some stupid useless shit. So now all developpers have resign, complaining about the CEO actions/stupidity.2 -
Windows 10 source code apparently leaked!
The main.c file is short tho and unchanged since 95(it's just run in parallel) so I'mma just paste it here:
void WinMain(int nCmdArgs){
static int userDisgust = 5; //he/she booted up Win10 so 5 to begin with
Time time = Time.time;
while(!crashed){
Time time2 = Time.time;
if(time + 3600 < time2){
ApplyUpdate();
sleep(500000); //users can stretch, have a tea and overall be healthier, happier and better part of society
if(restartNecessary){
Restart();
}
Restart(); // just in case
}
SendUserData();
SendMoreUserData();
for(int i = 1; i < 99+1; i++){
RunUserApps();
UninstallUnnecessaryApps(); // keeps blacklist of apps that John and I don't like
AnnoyUser(); // added a function that slows the computer down significantly and reduces lifespan of the hardware so it's not just a short term gain
if(shouldRepeat){
//break; -- this caused some issue in one special case and we don't know why so we'll just omit it and add a fancy button elsewhere
}
userDisgust++;
}
if(userDisgust >= 2147483647) { //mission finished
Crash();
crashed = true;
}
}
String error = Windows.GetFullErrorMessage();
error.cat(Windows.GetRegistersDump());
error.cat(Windows.GetErrorCode());
error.cat(Windows.GetStackTrace());
error.erase(); // so that it doesn't occupy any space and allows the error to be resolved more quickly, release major optimization Update
BSOD(_T("We're sorry :/"));
}6 -
if (questionAsked) {
retuen "It depends...";
}
I hate it I hate it I hate it
But it's true because there are a fuckton of factors that determine the answer to a question and nobody ever knows all of them.
I can rarely answer a question from classmates or non-techs without saying that it depends or that there are multiple options.
"Are statics ever good?" It depends
"Should I inject this dependency?" It depends
"Should I google every question first?" It depends
I fear giving a whole answer without knowing the details or at least seeing the code. I've come across multiple XY problems and I'm glad I took the time to look at some code first.12 -
Once the system "lost" a user_id var that says who started a batch, but it was a mandatory field that was filled at the beginning of the process.
I tried to find the reason, failed, called a senior for help, he also failed to find the reason.
After a couple of hours I looked to him, he looked back and I said,
"Let's call it a solar flare bit flip?"
"It's the only logical explanation"
So it became a bit flip issue to the PM, we had a good laugh, we send as "system instability" to the client.
The bug never happened again, no one ever found the true reason, maybe it was really a bit flip 🤔1 -
!rant
Advice
[1] Don’t panic! All will become clear in time.
[2] You don’t have to know every detail of C++ to write good programs.
[3] Focus on programming techniques, not on language features.
just read in "A Tour of C++11" by Bjarne Stroustrup
It's not just true for C++, that's true for everything3 -
A day in the life of BoyBiscuit.
PM: Please zip up any local changes and push them to a temp folder on the repo and I will manually check to see what you have changed.
Me: *glaring at the download as zip button*
PM: Who broke the repo?
Me: *checks commit history*
Commit History: *last commit PM*
Me: Could you add the files to your commit before pushing because you've only pushed changes on tracked files.
PM: No not possible, I did 'commit -a'.
Me: ....
PM: Could you all delete your forks so that It isn't anywhere on the web
US: but it's private with only us as collaborators
PM: No because I can see it
Me: srysly?
PM: Could everyone try to write more effective code?
Me: Looks at his code
Code: Boolean b = getbooleanVal ? True : False;
Tl;Dr: PM doesn't know anything about git or working as a team.
See you tomorrow!1 -
so... i'll probably be joining my first job in 17 days.
My profile is *supposed to be* devops engineer (not that i know much about it, they just felt i was better suited for it than java programming (and i do agree)), although, apparently, the offer letter states java engineer and i talked to them about it, they said that it's a standard template but u are chosen for devops only. i hope that is true.
mostly i feel really upset that college will be over, but i am kinda excited about the job too.
wish me luck guys 😅😅😅13 -
Is it just me or does this shirt make no sense? If your coffee was empty, then it would return true and you would keep coding. If it was not empty you would fill it.
Plus it's not a while loop, so unless this is some sort of recursion you wouldn't keep going....4 -
How can you defend your ugly unstructured mess of a PR, when every spit-droplet infused spray of words from your mouth is full of syntax errors?
How can you call yourself a developer without being aware of basic logic? I ain't got no tolerance for double negations, not not true is just true, you doltish twat.
WHEN YOU TALK THERE IS A CLOUD OF RED SQUIGGLY LINES IN THE AIR FLOATING AROUND YOUR HEAD.
I mean what the fuck is up with eggcetera? Why are you just swapping out letters? What has the little ligature t in & ever done to you? Do I have to fucking replace & with 🥚 so your word diarrhea makes sense again?
NO. JUST PLEASE... STOP TALKING. YOU'RE RAPING LANGUAGE, AND IT WAS ALREADY BEATEN DEAD.
Unlike me, you have a degree in computer science... but how, how the fuck did you pass? How did neither your tongue nor code get stuck in a linter?
AND YOUR RESPONSE IS STILL: "YOU DON'T NEED TO LEARN WHEN YOU'RE FINISHED WITH SCHOOL" ... "WHAT DOES IT MATTER, IT WORKS, RIGHT?"
NO, IT'S NOT RIGHT.
You're lucky I love refactoring.
I'll start with a medical grade steel scalpel and a long sharp hook. Maybe I can clean up this brain a little. See if the tests turn green if I cut some of this gray matter away... plenty of unreachable statements, so many unnecessary loops...
Might have to start from scratch.8 -
A friend asked if I could take a look at the function, which he wrote, to see if two trees are equal.
The chat conversation:
F: I sent code.
Me: *put eye on "flag and && true"
F: Hey?
F: You are there?
F: All right?!
A few hours later...
Me: Each time this function is executed, a programmer dies. Goodbye.
And so it's over.10 -
2017 was a dream come true literally.Long story short, I quit my job of 6 years as a PE teacher, studied Android Development through Udacity's Nanodegree program, moved my wife and kids out of our house (we were renting), moved in with my in-laws, Trusted God, learned how to build Android apps, applied at numerous tech companies, got offered 2 jobs, got hired as an Android Developer in Tennessee in December making almost more than twice I did as a teacher. My first day of work is January 8th. What a year it's been!6
-
*based on a true story*
Co-worker: Let's release it
Me: Wait, I want to add just a little feature
Co-worker: Is it necessary?
Me: Trust me
*5 minutes later*
Co-worker: So, have you finished implementing your "little feature"?
Me: Yeah, well, it's done. Maybe.
Co-worker: What the hell have you done?
Me: MAYBE I've added 647 lines of codes to the file to implement my little feature, MAYBE it doesn't works and MAYBE the entire project is compromised
Co-worker: ah3 -
Nightmare came true..
Stackoverflow down..
I am not able to access it...
Checking if it's really down or VPN issues..
Update: VPN is not an issue. It's down.6 -
Pattern I'm noticing...
*email* Hey, can you help me with my code, I don't know why it's not working...*end email*
no comments. if you wrote the shit and don't know what the blazes it's doing, how am i supposed to know what you broke? I'm not a mind reader, I don't know what you were thinking when you wrote the code.
true, I could go through and read it and try to figure it out, but then i'll be cranky and much less likely to want to help you in the future because you're causing unnecessary work, and part of my job is to get you ready for work environments, and I WILL DO EVERYTHING IN MY FUCKING POWER TO MAKE YOU THE ONE PERSON THAT EVERYONE DOESN'T HATE, BUT I WILL HATE YOU FOREVER BECAUSE YOU'RE PISSING ME THE HELL OFF.1 -
TLDR: SAP sucks. Don't ever work with it. Run away from it. Delete it from your memory. If your company works with it, quit. It's the best you can do.
A couple of weeks ago the group rant was "Story of your best/worst career choice" and I talked about the contract I signed. Even tho that is still true and I still feel like that, I think I got a new worst choice:
WORKING WITH SAP.
When I got this job I knew it would be SAP, but I didn't know what SAP was. I just thought "it's programming, how bad can it be?" OH BOII.
If only I would have done some FUCKING RESEARCH I would know this would be a mistake!!
And I knew I didn't want to work with this, I knew I wanted to be a web developer, but I STILL ACCEPTED THE JOB OH MAN WHAT WAS I THINKING I'M SO MAD.
Were I live we all have the same mentality when looking for the first job, which is to just accept anything you can get, because it's your first job, you need to work and to get experience, even if it's a bad job or if you know you won't like it. When my intership was ending, I told my parents I didn't want to stay there because they treat their employes like shit, and the salary is terrible. They told me to still accept it if they offered because I still need a job (this one was web tho) and experience.
So, of course, since I was looking for my first job, was told this my entire live, always thought like that and they were the first to contact me, I accepted it.
BIGGEST FUCKING MISTAKE!! DON'T THINK LIKE THIS!! AND STOP TELLING KIDS THIS!! IT'S NOT A GOOD MENTALITY!!!
ALSO DON'T WORK WITH SAP! EVER!24 -
I guess I'm not the only one who sometimes code in my dreams while sleeping. Maybe it's because working as a programmer is like a dream come true.4
-
Normal day with some guy that worked at the company. the guy was in his 11 month when this happened. and this was just one of so many wtf moments with him.
Me: hey man, you're gotta work with some frontend stuff, we need you to run mysql(for the backend) and apache. so install mamp, is super easy to get that working.
Me: please just donwload the pkg from this link and click `next` until finish.
Dude: okay, will do
-- some 10 minutes later. --
Dude: hey man I got a problem
Me: Whaaaat? you shouldn't, that shit never gives problem, everyone(literally) have that installed in their macs
Dude: it's true, I got an error, it says: `mamp it's not compatible with osx` ...
Me: oh man, that's so strange, mamp is likely made just for osx(and windows), and also we got all the macs with at least 1 version behind the latest osx. :(
Dude: it's true. I need help with that
-- now I go to the guy's mac and see the `error` message --
Me: hey, this says nothing like being uncompatible man, this CLEARLY says that can't be opened for *reads the error for him* . man, don't make things up, at least try to translate the error and give me the exact information of your `error`.
Dude: ...
Me: man please... I know you have your issues with the language, I do too, a LOT, but I use google translator if I can't read the shit. I can't sit here with you as your translator. -___-7 -
DISCLAIMER: I swear to god this is true. This is a completely unfabricated anecdote.
Soon we are moving to a new office space, and my department have been delegated the responsibility of moving all of the computers from the old work space to the new one. I was a little confused at first, because I'm a software developer, not a removalist.
It gets better.
We just had a meeting the other day, and my manager had advised us that we were to be moving the machines on a Saturday. I confirmed whether we were being paid overtime, simply because I had never worked a Saturday before. My manager replied (this is paraphrased but ultimately accurate) - "It's unpaid. Because you get paid a salary, you're expected to do unpaid overtime here and there. We have christmas parties and nights out, all of which come out of the companies pocket. Not all companies do this, so it's only fair you give back".
I honestly couldn't believe it. I was being asked to spend basically the majority of my day off moving computers from one site to another, for free, purely because it's "expected". Am I the only one who thinks this is crazy?
Long story short, I went home and started updating my resume.18 -
!rant, advice, !mine
Q: I'm [xx] years old [xyz] professional. Would that be a good idea if I try to change my career to software development right now?
A: Age is mostly doesn't matter. You can learn programming at any age. And, software is everywhere. Every background knowledge will be useful. Your prior knowledge will not be wasted.
But, should you change career?
- YES, if you deeply interested in programming.
- NO, if it's only because you feel there are better opportunities.
It's true that there may be better opportunities. But, without deep interest in the subject, you may struggle to become good software developer. Without being a good developer, your opportunities will be limited and you are likely to regret the decision.
Software development is easier for those who passionate but very difficult for those who doesn't....4 -
Hey folks, just need to get this off my chest! 😤
I finally broke free from the chains of a company riddled with politics and zero career growth. 🚫📉
But hey, I've joined a startup now! 🚀 It's a fresh start where I can escape the drama and unlock my true potential. No more suffocating bureaucracy or stifled progress. 💪💡5 -
It's not always true that degree holders hate self-taught developers. Sometimes, it's the other way around. When somebody mentions he gained a cs degree, he sometimes gets hate, too, hearing "degrees are useless! yadayada..." like it's a sin to have one. We should never stop learning whether we have a degree or not, and we should stop this hate and divided culture.18
-
Swear to god if people don't stop calling the new RTX cards true ray tracing I'm going to ring their necks...
It is far from true ray tracing, it's a hybrid with ray trace base technology... Pls stop5 -
I've been waiting for my girlfriend to try some clothes for the past 40 mins and we were still in the first shop. I swear it's been 2 days since we arrived at the mall.
I just want to finish my first vuejs project (vuejs from a back end dev perspective is simply awesome).
Not a true devrant but a rant non the less. Save me devbrothers2 -
"Linux is shit because nothing works on my new DOM 2017/2018 laptop!"
Yes it's true that nothing will work if you put your finking ubuntu 14.04 installation with a fucking old 3.13 kernel in your new Laptop!
Update. Your. Fucking. System.6 -
Person: "What is bool?"
Me: "Boolean, true or false."
Person: "But why is it called that?"
Me: ...
Brother: "Because it's based on boolean algebra. Made by George Boole."
https://en.m.wikipedia.org/wiki/...7 -
Me: there it is, app is complete and work correctly
Friend: What is this 5 warnings?
Me: It's nothing just ignore them
Friend: If you are a true developer fix these warnings
Me: (after 5 hours) compile..... 14 Error, 😡 fuck you I want my warnings back3 -
Well I just had a breakdown a few hours ago.. For a too calm guy like me it's really rare, but also not surprising. I have my third deadline in a row, haven't really seen people over the last month. Thanks guys for helping me survive socially during this month, I'm a very social guy usually, so I really needed that.
Apart from that, last time I was hopeful about my schedule and sent it to my advisor she called me the day after shouting that it's not realistic and I'll never be done on time. I could have worked harder on February, that's true, but for fuck sake she ruined all of my motivation in a 10 minute call.
I wish I liked what I'm doing. I wish people I work with would have appreciated what I'm doing and encourage me. I wish I was 2 weeks to the future when I have not even a slight thing to worry about.
Get me outta here 😩3 -
Stupid HTML checkboxes! It's always annoyed me that you can't just set checked to true or false, but have to remove the property altogether to uncheck a checkbox. Better still would be if you'd only need to set the value to 1 or 0, and the checked or not would sort out automatically. Yes, there are frameworks to handle it, I know. But if checkboxes had been designed right from start, a framework or any sort of special cases would not be needed. You've got love HTML, but things like this make it ugly.6
-
Why is it so hard to just build machines that work without all this ideological bullshit? Code doesn't care if politics==true. The world is scary enough without you assholes making modern life a data minefield for even the most educated experts, and taking advantage of the ignorance of everyone else. Fuck you.
I just wanna <look at web pages> without having to consider, counteract, or silently assist some fucking regime. Why is EVERYTHING this way? Everything is a back door or a data mine or a political statement? This isn't a fucking art piece! It's not your espionage tool, fucking codes in invisible ink and tiny cameras and shit everywhere! It's a <web browser>, and if it does ANYTHING besides <browse the web> that I didn't explicitly tell it to do, you better better not be the one who made it. Because if you did, you are what's wrong with the world.6 -
When you think you've either found a bug in Python, or you're going insane, so just to double check, you make two mutually exclusive assertions that could never both be true, and yet, your tests still pass.
I think it's time to find a new job.9 -
This is what u get when u trust your teammates on a group project.
Not my fav function, but I was rofl when I saw it 😂
That is, until the frustration of working in a group kicked in10 -
I lost one of my idols, there are few people I have that much respect for. I literally can not think of anyone else infact.
Ive just been taking a second.🙁 I mean you live your life thinking there's time or that you can wait to do things , like I'll just do that one thing a little later. But it's not true. The reality is there's so little time.
There are few truly great people. It's going to take me a little while to get over it properly.
But when I do I hope I don't switch back into old patterns.
I want to be just like him, his work was amazing. He worked all the time not because of fame or money but because he just wanted to make cool shit for people to enjoy. Because he enjoyed it himself and he liked seeing people amazed and happy due to his work.
The best people are the types of people who bring a smile to your face by just being who they are.
It was enough to know he was out there doing his thing being that incredible, it never occured to me he could just be gone. The world needs more people like him especially now with everything so fucked up. He died far to young. 33 isn't old it's not even middle aged
All I want is to be like him, I hope I will be one day 😞 and I'm going to start trying right now.
And I will try harder.4 -
Anyone else developed a habit to structure verbal allday Argumentations in your head in Code syntax? Helps me alot to follow ones logic. Except when I'm arguing with my girlfriend. Sometimes setMood(angry) gets randomly called (bug?) and then every if statement seems to be valid, eventhough it should return false. An inputstream that contains my outputstream is initialized but .readLine() is never being called. Instead, the outputstream to my inputstream is being overly abused. Once we get dive deeper into our if-statement we will find a while loop with a mysterious flag. Noone knows it's origin. The while loop keeps printing out random concatenated strings until it overflows your own capacity. I would have said its while(true) but in fact there must be a timer in another very hidden thread or something that sets our flag to false. The other and only way I know to exit that loop is to call apology() 100 times (maybe a variable sets the boolean that could be deeply buried in her projectstructure like this CONST.VALUES.getMood().getRealMood().getTrueMood().TRUTHCONTAINER.angryMode=true)..
I wish I could get a stressball so I can continue theorycrafting and debugging. Its 4.30 am now, my better side is snoozing next to me. I bet making this a pseudocode would be fun.
Ps: I love my lady but I had to rent3 -
I have some good, no, great news I forgot to share yesterday:
Drum roll 🥁🥁🥁🥁
I just got my first job as an intern!!!
I'll be developing their product from scratch along with a few other devs, it's gonna be awesome. My primary occupation will be as a backend dev, but I'm also gonna help a bit on the frontend.
They also said they won't micro manage me, they just want me to deliver their tasks, so I can work whenever I want and not necessarily 6 hours a day. I'm a bit skeptical here because that sounds like they're gonna overwork me, but they also said they don't want to get in the way of my studies in college, so idk. It seems like a really nice place.
It's going to be remote work and the pay is also very good for an internship.
All of it seems way too good to be true, there has to be a catch... I'll find out in time, just let me be happy for getting my first actual job ever ok? Just for a few days.
Anyways, I'm just so fucking happy with this and wanted to share it with ya :)7 -
Everywhere you go, you find these memes where developers are skeptical of their work. Things like "It works. I don't know how. It doesn't work. I don't know how.". Don't you guys think this is a huge problem? And people say that their programming language is the best, because preference. But isn't this happening because our tools suck?
Yes the problems maybe inherently complex but at least we should be able to figure out the logic behind the snipper and reason about it.
Haven't really experienced it, but they say Haskell and the likes are great at this and it must be true because it's backed by mathematical properties and laws, not " experience".
So the rant here is, wish we had better tools in the mainstream that allowed us to enjoy absolute faith in at least what we have written, regardless of the fact that we understood the problem in the domain.11 -
Two actual lines of code I stumbled upon...
static ArchiveAbstract ARCHIVE_TRUE = new ArchiveTrue();
static ArchiveAbstract ARCHIVE_FALSE = new ArchiveFalse();
Ok you might think, what is going on? Searching for it's usage yields exactly a single case:
if(someVar instanceof ArchiveTrue ? true : false)
So someone managed to introduce 3 new classes... instead of using a simple boolean.
(╯°□°)╯︵ ┻━┻2 -
I just started work school doing IT administration and development, I was excited, almost nervously anticipating to see the wondrous things I'd being learning and the kickass programs I'd be creating...
Alas I walked into my first lesson and...
Teacher: Today we're going to be learning how to make a square in Excel using VBR.
I thought, well fuck no - I didn't sign up for this shit. Then today I was on this thing called the internet, have you guys tried it? Amazing stuff, I saw a panda dressed as Chuck Norris... Anyway, I was on the internet and found out about this 73 year old man who makes full-sized artworks made in Excel.
Now I know the meaning to life, to Excel programming... It's official, I'm going to make Picasso in Excel.
*Light sarcasm, actual true story.*2 -
Building my own accounting software because everything else is overly complicated and is trying to compete with enterprise accounting tools. All I want is some budgeting, some bill tracking, and categorization.
Writing in Ruby because I'm a masochist. Using built-in minitest because again 😈.
I have currently around 62 assertions. As soon as I add ANY new test that's literally asserting true, everything comes unglued and 20+ failures pop up. Take it out, 62 passes.
I feel like I'm going crazy at this point. The errors also don't make ANY sense. Shit like, "that record doesn't exist" when it's clearly a part of fixtures and is only used in ONE test(the one that's breaking).
Installed minitest bisect, and it's like 🤷♀️"lol get fucked bro!"
So I came here to rant about this before my battery dies and I go drink myself to sleep.
Thank you for coming to my dev-talk.8 -
Hey guys I'd like to share a Lua-based shell I've been working on the past few years. It's entirely complete, allows for all windows and Linux commands. I've been working very hard on it so I'm super excited to share it with you all. Here's the source.
--[[
The Lua Shell (lush) by AlgoRythm
]]--
while true do io.write(">> "); os.execute(io.read()) end4 -
Spent hours trying to figure out why API calls to a third party service weren't working.
Hit up their support and find out the following:
"Hi there, we can only take true and false as strings."
"Uhmm... Does it take anything apart from true or false?"
"No, but they must be sent in as strings"
"Any reason why you don't take booleans if it's just true or false?"
*crickets chirping*
GFG2 -
Murphy's law is completely true.
Deployed my own software the very first time on a customer system on monday.
Today I'm at a job college class when my boss calls me: "...Hey yeah (unrelated) (yadda yadda) the software does not function for anyone").
I fucking knew it.
We don't have a proper project planning nor a real project manager/lead, we don't do QA, and now it's gone to shit.
I did my own testing extensively on monday & Tuesday, everything looked alright and worked like a charm.
I'm looking forward to the weekend already...1 -
It's good to piss off a recruiter once in a while to let their true face be revealed,
To be reminded they are sub-human garbage.4 -
Everyone and their mother has a JavaScript framework and the NEWEST cool npm module you're an idiot for not using.
It's like musicians and gear acquisition syndrome, coders love to have new stuff even if it's over-engineered, already exists, or redundant.
Hate dealing with tech hipsters 🙄 is nothing tried and true anymore?2 -
Overwhelmed by a shitty codebase? Use the boy scout rule and leave the code you're editing a little better than you found it.
Worked wonders for me when I realized I could spend literal months refactoring and desperately needed a systematic approach.
Little by little that rotting house of cards will turn into something okay. It's a nice feeling looking back after a couple of months and see what you've done to make things better.
Also, make sure to remember the cost of wrestling with hurried legacy solutions in your estimates as well. Just adjust the level of bluntness depending on your work environment: admitting that things can/need to be improved can be unpleasant for some to hear even though it's true.5 -
our tester arguing with software house about blocker severity bug
SH: "No, this bug is not possible. It's possible only when you are logged as admin in other tab"
T: "I managed to replicate it in another browser in private mode"
SH: "But you can't replicate the bug now"
T: "True that I don't know steps to replicate it and it occurs just sometimes... Let me check right now"
...
T: "Okay, I managed to replicate it right now in private mode in other browser on normal user account"
SH: "Because you are admin"
They are pretending to be idiots or just are?6 -
If anything taught me that garbage collectors aren't the one true answer for memory management then it's got to be modded minecraft
It takes around 10-20 seconds only to disconnect from a game and go back to the main menu.
You also get memory leaks, which result in several second long freezes when the GC kicks in, that happen every 15 seconds.1 -
As a final year student it makes me feel proud about things I do now, back in 2014 I was newbie to programming and after the years of study ( I skip collages in order to study by my self at home since my syllabus is too old for me to keep up with new technologies. ) I still feel like shit against brilliant programmers on the internet.
My journey untill now was frustrating and side by side it was fun too, I have spent several days to figure out very minor problems in my programme which made me forced to learn even more in order to avoid silly mistakes in future.
Those four lines of output were really true worth of that forty lines of code.
Every one of us, in their entire life at least once had thought about which programming languages to learn first and yes I was one of those guy who used to search on Google, watched YouTube videos and asked seniors for the same advice but soon I realized it's never enough to completely learn even one language. Each and every programming language is based on similar logical structure. No matter how different it's syntax is it won't make much of a difference.
I am thankful to internet and all of those guys who make video tutorials, help on q&a forum (stack overflow) , publish posts on website and all of IT community guys. I made it this far it's all thanks to you and I know it's just beginning of spectacular journey ahead.undefined thanks programmer programming quote blog blogging journey life of programmer life internet it crowd2 -
I found it yesterday that 6 and null is false and 4 is true in our database in addition to a previous rant. I went to see how it's stored. I assumed it was an integer.
It was a nvarchar(6). I just sat there in disbelief and felt disgusted.
It kept me up later than usual last night
Why tho? 😐1 -
So legitimately accidentally started building a compiler... Don't ask how because I don't know...
(No it's not a 'true' compiler that will create executables, it just a compiler to make some data easier for my runtime to read it)2 -
Disclaimer: I apologise in advance for those tired of language wars, if it bugs you that much just skip this rant.
"C++ is better than C"
An accepted truth. OO is better than Procedural, C++ is an upgrade from C, it fixed all the problems.
End of.
Except - when it comes to actual evidence, empirical studies have shown that there are no productivity gains with C++ vs C.
This bugs me the most because it's such a fringe view, OO has dominated industry purely by dogma, alternative programming paradigms are just simply ignored because: "OO is best. End of."
https://researchgate.net/profile/...22 -
Fucking hate when business people says this to me:
- You have no time to do this, we will find somebody else to do it. (EXCUSE ME? how do you know I have no time? If have no time I WILL TELL YOU)
- Your team is too busy, we will outsource that (IF THAT it's a priority, we WILL DO THAT, fuck you, I'll tell you if we need to outsource or not)
- Requirements are too complex to do now. We will think about it and we will tell you, maybe it's just enough to add a column to db (WHAT? WHAT THE FUCK IS too complex? I didn't even see anything we can call requirement, nor speak with relevant people, so how do you fucking know they are complex if you don't know shit about dev and our platform)
Conclusion
It's true, I have no time, because I don't fucking understand what do you want, so I'm running all day and night doing useless things.2 -
!rant
So me and my co-worker are allways joking about how many absourd JS-Libaries are out there. We say random words with "JS" at the end.
We are currently experiencing, that this on going joke is not a fucking joke. It's true!
(Example below, with Quack/DuckJS)4 -
Sometimes it's better to burn a bridge so you don't even think about crossing it in the future.
See, I left a company some years ago because I didn't see my future in it and all management combined had a collective intelligence of a chicken.
However, I got a call from them a couple of months ago asking me if I could return. The salary was double and the working arrangement seemed fine. On paper. WFH. Flexibile hours...
Since I actually liked the project itself for its technical challenge, I accepted the return offer. What a bad idea that was.
Of course, the things that made me leave for the first time had only gotten worse. Bad leadership, idiot developers in team leader positions. Tech debt higher than Mount Everest. Bad infra that makes you want to off yourself every time you work on it. The whole circus.
Seriously, the "senior" team leader will happily merge code that includes assert(true == true), but hold up a well written MR because he has a personal vendetta with the developer.
Personally, I always check him whenever he starts being an ass. But the poor juniors are in hell. They're terrified.
Now I'm leaving again, but this time I've made sure I can't come back.3 -
I'm 30 years old, sometimes I feel old to study computer/web programming.
What do you think? If it's not true, what can I do to change the way I think about it?28 -
trs()
For those of you desiring to post non-rants, I wrote a handy utility function for you:
/*
* Toggles whether this post is
* a rant or not.
*/
function toggleRant()
{
// Check if toggling is safe
for(var i = 0; i < 999999999; i ++)
for(var t = 0; t < 999999999; t ++);
console.log("Crazy security checks came through.")
// Toggle ('isRant' is true by default)
isRant = !isRant
}
From now on, you can easily put 'toggleRant()' on the first line of any rant. As we all know, the 'isRant' on devRant is true by default.
Feel free to play around with it:
toggleRant()
toggleRant()
toggleRant()
This would also indicate that your "rant" is not a rant.
I've also wrapped the 'toggleRant' into another function with a shorter name for you lazy people (which most programmers are):
/*
* Wrapper for 'toggleRant'.
*/
function tr()
{
toggleRant()
trogus() // Just in case
}
Or if you type one additional letter, you also make sure that it's extra safe to call the function:
/*
* Extra safe version of 'tr'.
*/
function trs()
{
for(var i = 0; i < 746985768; i ++);
console.log ("Extra safe")
tr()
}2 -
So today is my last day at my current job. I've been here for 4 years and started working here even before I'd even graduated high school. It's really bittersweet. On the one hand I'm so excited for my new job (and vacation), but on the other hand I'll miss this place so damn much. Some say you shouldn't get too attached to your employer, and while that might be true for many cases, I feel that I've gained nothing but positive things from these last 4 years.
Having gone from just having colleagues to having actual friends has been an awesome journey, and I think a good indication of our good relationship is the fact that one of them even wrote me a goodbye song for our little goodbye breakfast this morning.
Idk, just thoughts...
Anyways, away I go. Let's hope my new job will be somewhat good as well.3 -
I see this in code:
bool status;
status = true;
It makes me want to hit things. INLINE THAT SHIT! bool status = true; It's not hard. JFC. And of course I don't have the authority to change it.3 -
A lot of things dev say are true, but this one I don't believe as much:
Many devs say that it's important for everybody to learn a bit of a basic programming language, to learn about computers and how programs are made. I disagree, I think that instead people should learn *how* things work. Ex, in my school people always use a VPN to get around the proxy. I don't care if they know basic statements, I think it's more important to learn how a VPN works. Most of them don't even know what VPN stands for. Am I the only one?3 -
Well, I got it. The new job that is so from December first I really am a C# developer :)
We just have to agree on the salary. I will at least get more then I have now (as support technician) and well it's kinda a dream come true.2 -
this.isrant = true
Visual studio YOU BITCH!
2 hours of struggling to enable VT-X for docker but never seeming to be enabled when I boot back from the BIOS, turns out the motherfucking IDE sneakily enables hyper-v when I install Windows phone SDK, which I apparently need for xamarin. Well Microsoft? GO FUCK YOURSELF. I ONLY USE YOU FOR THE SUPPORT! I hate Microsoft and it's sneaky background shit that I don't know about and would probably freak out about if I did. I'm swapping to Ubuntu with MSSQL and MonoDevelop ASAP4 -
kinda long but please read (skip to the bullets if you're lazy):
hey dR. I stumpled across a search engine that aims to help the environment. it's called "Ecosia" and it will plant a tree for every ~45 searches you make. just think, one stubborn bug could make you the reason for a new forest! I'm not sure if it's legitimate or not, but apparently it uses 80% of its profits to plant trees, and makes that profit from ads. is it safe to use? I'm not sure.
here is what you should know (some are based on claims by ecosia and aren't proved, but probably true):
- they plant a tree for about every 45 searches you make
- they are able to plant trees by using money from ads
- they "respect privacy"
- they're "fully transparent"
- they're a "social buisness"
- [I hope this isn't a turnoff] the search results are powered by bing
- since 1.9, vivaldi has included ecosia as one of the preset search engines (I'm not sure if it's the default)
- it has opera, firefox, and chrome extensions
thanks!11 -
Elon musk starts new companies like I start new projects.
I like that he's doing AI research, but it's annoying that the day after he tweets something, everybody's telling me that Elon Musk already invented true AI.
These companies are basically just think tanks, so why not call them that?4 -
For the first time that I can remember I see ordinary people everywhere are unhappy with windows. In XP through win8 days I'd see people complaining about one crash here or there, but most of the times you had to be more experienced to notice why windows sucks.
Now, this week I already heard three complaints of people wanting to back to windows 7.
And I feel so happy... I feel waves of joy growing in me, as I burst in a sarcastic, obscure laughter.
Why do?
Because somewhere deep inside I hate windows.
Not becausebthe great amounts of frustration I used to have with it. But because it's so crazy I don't even consider it an OS, but rather a patchwork.
Microsoft's code base must be so fucked up they don't even know what to it with anymore.
That's my idea at least.
Buy it's good to see ordinary people are getting fed up of windows. This might be a way one of my dreams will come true, the day which Microsoft will not be able to maintain Windows anymore, and I think it's not more than ten years until we reach this day.
As a final result, if one day windows really gets to die, I want to be present, but not unnarmed, so I can shoot it at least 15 times, just to make sure this piece of crap is already dead.
Bye2 -
Wow, great read for anyone that's interested.
https://linkedin.com/pulse/...
For example, this snippet is very true and I guess a lot of use know it. (It's how I became a programmer).1 -
I have a cheap crappy drone and while not using it I hang it on the smoke detector. Neither the drone or the smoke alarm have batteries.
I glance up and see a light flashing, freak out, shoot the drone...lights still flashing and I realize it's the smoke detector. Fuck that, there's no batteries. I shoot the smoke alarm and it explodes...battery lands at my feet still intact...
...the alarm is dead, the drone is crying, the toaster is laughing and I can't figure out why the fuck I shot my drone and smoke detector but the toaster doesn't phase me.
(Some of this is actually true)3 -
I'm sure it's repost, and I don't know who to credit for this (my fiancé sent it to me), but this is so true ->4
-
Is programming a girls dream come true?
I want a package for something so I search NPM, 50 results.
I could spend a life time browsing, shopping for packages, trying them out to see if they fit.
It's all I bloody do these days.3 -
Someone created a 0-followers private Twitter account and posted something to try out the new views count feature.
It raked dozens of views in a couple hours.
HOW?!?
Source: https://twitter.com/briggityboppity...
It looks like a funny data reverse-engineering exercise, so let's try and figure out what is going on.
Hypothesis 1) it is the OP's own views.
Reasonable, but unlikely if what OP says about not checking it for hours is true.
H2) It's some background job in OP's device that is refreshing OP's own latest tweets, so even without human interaction technically H1 is true. It would be some really shoddy engineering to count eye-less page views, but that's also what managers would demand.
H3) it's some internal Twitter automated function like back up, replication, indexing and word count.
See H2, it would be even dumber to count that as page views.
H4) it's some internal human reviewing for a keyword that could be associated with porn (in this case, "butts"). Really? dozens of humans to review a no-impact single post? They would have to employ hundreds of thousands of reviewers.
H5) it's some page-loading shit, like thousands of similar tweets get stored in the same index hash page and end up counting as a view in all of them every time someone loads the index page. It would be like counting every hit in the namenode as a hit in every data asset in it's Hadoop partition, or every hit in a storage block as a hit in each of it's files.
Duuuumb and kinda like H3.
H6) page views are just a fraud to scam investors. Maybe it's a "most Blockchain transactions are fake" situation, maybe it's a "views get more engagement if you don't think a lot about it" situation, maybe it's a "we don't use the metric system to count page views" situation.
All of them are very dumb.
Other hypothesis or opinions?10 -
Ran a bamboo test suite which just printed '408 tests ran successfully'. It's only had return true :P
Periodically update test number.3 -
Nuclear controversy:
I like how devrant doesn't show the ranter's name in the feed, so that people can upvote in a more unbiased way, otherwise let's be honest girls will cause a rant points gender gap.
Every time I see a girl's profile badge, it has thousands of upvotes, I think some IT folks boot up a whole peep show in their head just out of seeing a female profile.
(don't take that seriously, it's just a funny thought, I don't think it's true, but it's worth the joke)5 -
Finally I got a dream job! I'm so fucking happy 😁 That was my dream since I went to high school and finally I achieved it. I put a lot of work into it and I knew it will happen. So guys follow your dreams, it's an amazing feeling when they finally comes true 💪💪💪3
-
My dad: I don't know why you like programming... you write lines of meaningless things, there is no logic behind.
Me: ...Actually, it's not true... ehm... it doesn't matter... (in my mind: you would not understand)1 -
!dev && random == true
Venus (top), Jupiter (bottom). There's a star (Antares) there to make it triangle but the star is dim to get caught by my crappy phone camera.
I've always fascinated by the night sky. Nevermind the mission to travel to Mars, the only matters now is how beautiful the night sky is but a lot of us don't get access to it because of light pollution. It's kinda sad that I need to go outside of the cities to see more of what the sky has to offer. I really wish everyone can see and appreciate it once in a while.1 -
Aaron, seriously. Stop wading into our team uninvited, coming in with your "superior experience", mouthing off about how we need to be doing everything differently because our current code makes no sense, making a few PRs that break everything, then complaining we're just incompetent and don't understand when everyone rejects them.
If there's one thing that hacks me off the most, it's people like this wading in uninvited, pretending they're being really helpful in coaching us in the "one true way" to do development, screwing everything up, then buggering off again while boasting to upper management that "thank goodness I got there when I did, or that team would be royally screwed."2 -
Wondering what is the best true random generator ? Weather in Paris. One month ago, snow chaos. Last week it's almost 30 (celsius) and now it's raining and the windchill is around -100 celsius.2
-
You guys! You guys! You'll never believe what happened today!
I used out CI pipeline half a dozen times today and it worked every time!
Seems impossible, I know, but it's true!1 -
More masturbation with numbers.
If you take some product p,
and do
√p**(1/p)
and it's factors
a**(1/p)
and
b**(1/p)
you might find something interesting.
Take for example
a=21977
b=43331
p=a*b=952285387
(√p)**(1/p) = 1.0000000108551363
a**(1/p) = 1.0000000104986928
b**(1/p) = 1.0000000112115799
More often then not, a, b, or both, will share one or two of the most significant digits in the mantissa, as the root of p.
It doesn't always work, but it seems to be true more often than you might expect.
This is probably obvious in hindsight but I still think it's cool.
In some instances if you then do, say
sqrt(log(p, 1.000000010)), it comes pretty close to the original factors, but thats really hit or miss.8 -
Forgive me devLords, for I have sinned.
Today, I took while() loop and made it true, it was a dirty ordeal, however it's not entirely my fault, you see the api I called doesn't have a webhook of any kind and doesn't return results in real time either, you have to poll for them..... so here I am writing while(true){} to poll for results that could take seconds or even hours to finish.
😟11 -
I spent the whole day coding in python (usually I code in php or perl) and this language is a fucking joke. C'mon, why everything have to be done in such a weird way? And don't say it's python way because it's bullshit way. Want some examples?
", ". join(str(x) for x in array)
to join array of integers. wtf is that?
True|False
why in hell you need the first letter to be uppercase when your own fucking standard says to use lowercase letters in eg. var names and method names. why?
math.isnan(float(x))
to check if a variable (expected to be integer) is NaN. I won't fucking comment that...
Even prolog don't have such stupid things6 -
If there was an anime Based on developers.
==Start===
Dev : here comes my favorite browser.
Mouse : No, not until I'm here.
Hand : whattttt? What's happening??
Mind : oh NO!! I why's Internet Explorer is loading?!?
Faster Mind : it's mouse, he's behind all this. Only he's powerful enough to pull off something like this.
Time : Developer-san SAVE me!!
IE : it's too late now, if you do anything it will just slow everything down!!! Hahahah
Dev : No it won't, don't ever underestimate a true developer. It's not over yet!!
*Some keyboard key combination
Time : *screams* developerrr-saaaan!!
Hand : wait, I know it, it's happening. We can still save Time-chan.
IE : WHAT!! No, it can't be!!
Dev : here comes Ctrl+Alt+Del. Be gone....
IE : Nooooooooooooo, this isn't happening, Aaaaaa *dead*
Hand : we did it!!!10 -
God I'm changing to Linux , fuck windows ... It would be a perfectly fine os, but in true Microsoft fashion.... They fuck it up.
Been out of the Linux game (cept for Kali) for a while any advice? On a distro
I lost hours having to reinstall , thinking it's doing shit but in fact it's just sitting there cause there's no fucking loading bar or anything other then a spinning circle.
I can't afford to lose 10 hours of work. Which is what I've lost the past two weeks dealing with Microsoft's shit updates.14 -
His long do you think it will take for Google to come up with a true replacement for Java. A replacement, not an alternative like Kotlin, but a complete "go f**k yourself, Larry" replacement that anyone can port their Java app over to. On January 1, if you are a for profit, Larry had said if you want to update to the next version and use Java SE to code with, you need a support license. It's a brill move, because Java is everywhere, and at least for a little while, it will generate a respectable profit for Oracle. But I'm sure Google is working on something to stick it to Larry. Wonder if EU competition chief Vestager will threaten am investigation. This should be fun to watch.19
-
We have pretty fast and lean dev process between QA/Design/Devs.
But sometimes, it's going to shit ;p
QA :
An option "ROLE" is missing for grouping in that table.
So 5 min to create ticket, assign someone from design on it
Design : Yeah, this is true. We missed that option in our design.
Proceds to modift figma by adding an option "Role" to a drop down.
Reasigned to Junior dev.
Junior dev : I have no clue how grouping works with graphql.
So at least 30 min.
Reasigned to me.
Me after 1 min of looking at it : PR chhanges on screen shot :
Facepalm... Everyhtibng was already in place, someone forgot to add id AND name, not just name.
Git blame => Or never mind... it was me.. -
"web developers are a dime a dozen"
No, people that know HTML are a dime a dozen. It's true that web developers are becoming common in CS, I mean everything is web based now and there's a low barrier of entry. But web devs still get paid well when they know what they're doing, and that means that demand hasn't plummeted like everyone suggests.7 -
// Stupid JSON
// Tale of back-end ember api from hell
// Background: I'm an android dev attempting to integrate // with an emberjs / rails back-end
slack conversation:
me 3:51pm: @backend-dev: Is there something of in the documentation for the update call on model x? I formed the payload per the docs like so
{
"valueA": true,
"valueB": false
}
and the call returns success 200 but the data isn't being updated when fetching again.
----------------------------------------------------------------------------------------
backend-dev 4:00pm: the model doesn't look updated for the user are you sure you made the call?
----------------------------------------------------------------------------------------
me 4:01pm: Pretty sure here's my payload and a screen grab of the successful request in postman <screenshot attached>
----------------------------------------------------------------------------------------
backend-dev 4:05pm: well i just created a new user on the website and it worked perfectly your code must be wrong
----------------------------------------------------------------------------------------
me 4:07pm: i can test some more to see if i get any different responses
----------------------------------------------------------------------------------------
backend-dev 4:15pm: ahhhhhh... I think it's expecting the string "true", not true
----------------------------------------------------------------------------------------
me 4:16: but the fetch call returns the json value as a boolean true/false
----------------------------------------------------------------------------------------
backend-dev 4:18pm: thats a feature, the flexible type system allows us to handle all sorts of data transformations. android must be limited and wonky.
----------------------------------------------------------------------------------------
me 4:19pm: java is a statically typed language....
// crickets for ten minutes
me 4:30pm: i'll just write a transform on the model when i send an update call to perform toString() on the boolean values
----------------------------------------------------------------------------------------
backend-dev 4:35: great! told you it wasn't my documentation!
// face palm forever4 -
Right now. It's happening. I'm sitting on one of those seemingly impossible issues. I'm reading the exception and can't fathom how it can be true. I mean, the evidence is right there! The error message must be wrong! But that's the thing, it never is. It's always something stupid and obvious. After you figure it out, you shake your head and laugh at yourself for not seeing it. It's all shits and giggles after you figure it out, but that's not where I'm at right now. Right now I'm being laughed at by this stack trace. It's mocking me even!
Jokes on you though, because I'm coming for you!!2 -
Textbook definition of insanity is debugging in Spyder
While True:
Do:
#Comment out code
Run
If not BUG:
Comment back in
Else:
Print('Congratulations. You found it. Just kidding. It's not THIS line. It's just the combination of lines')
Does anyone have a suggestion for a good python debugger that allows jumping to statements, etc.?2 -
Oh u know, I haven't done much of anything workwise since we all got sent home due to Corona. I feel bad about it but also like it's only partially my fault. I work like shit from home, true, but I would probably be more efficient if I had any way of knowing what I'm doing 😭 I switched depts a week before Corona and as a result I only got one hour of training in a new system and have had to teach myself the rest 😔 pour one out for ur homegirl who feels bad but also can't learn any quicker. I have half a mind to just respond to one of those pesky recruiters spamming me lately.2
-
You constantly see these professional profiles with labels such as 'Expert'/10 years experience/senior/CTO/CIO/Consultant.
Isn't it funny when you go and work with these people in the field, they appear to be frauds? How can these people legitimately have these titles and know less than a snotty freshman year student? Their knowledge is so poor, a 14-year old with basic Windows and Javascript knowledge could outmatch them. If only this weren't true.
I think it's very unfair because they attract employers and they even get hired, while some of us with veteran knowledge in several fields don't get considered for a job.
May I add that it's always the funny guys who get a job. Apparently being a relatable frat bro at an interview is more important than having priceless expert knowledge. -
Looked up at the clock... 2 AM... Thought about giving up and going to sleep, but something kept me there...
Rewrote my encoder and decoder for my steganography program, which are used to insert and retrieve data respectively from images. Compiled, ran, and output was as expected!
Tried to write actual data, instead of just headers, to the image, and it broke... Of course it wouldn't work first try, it's me writing the code after all.
But then, after debugging for a while and changing a couple lines, the encoder looked like it had done its work properly. Then I decoded it, and voila, data completely recovered! It almost felt too magical to be true, usually I have to modify a lot more to get it working.
So now I'm in bed, after literally decimating the memory usage of the program, amongst other optimizations, and I know that the code works perfectly 😎 best part is I refactored each class down to 100 lines each, so now it's clean and dense 😇
Just had to share, feeling so good right now 😄2 -
IT teach giving a speech that our MS excel exams are shit and we have no logic and that we suck at math. I mean, yeah it's true that I suck at math and I've never used excel before coz I never had to but ffs I code during nights and I love it, also there are so many fields, saying that you'll be just a part-time waiter... If you have the attitude to solve a problem that you care enough about you'll get there eventually. Sucking at something doesn't mean you suck at everything, everyone has their strengths and weaknesses.5
-
Three syntax elements, pixels on screen.
By Unknown (for privacy), 2021
In this installation, the Author's desire to prove the whole world that stupidity is achievable with just 2 syntax elements is... self-evident!
Observe! The finely crafted letters composing this installation in their beauty! While the middle element is purely a distraction (one could argue it's there to be sure a critical issue doesn't happen even if the default value is already `true`), the sides of the installation reveals the true horror.
As the vision of the observer is attracted to the center, the peripheral vision sends the informations to the subconcious, making the observer slowly realize both that the Author willingly compiled `.less` files with postcss and that .less files are in the css folder, proving that stupidity is demonstrable in just two syntax elements.
A masterpiece. -
In these dark times, it's inspiring to see that a country as insignificant as Australia can demonstrate to us how things can always get worse.
By passing a law mandating that encryption must be broken, in secret (like the US's National Security Letters), at the demand of the Government, the two biggest parties have colluded to destroy Australia's tech sector.
This is the same government that has been whining endlessly about using Huawei LTE equipment in Australian infrastructure "because it might be secretly compromised". Now the same is true of Australian equipment, by law.
My favourite part of all this is how there will be firmware updates for devices sold in Australia, in order to comply with the new law. How well do you think those backdoors will be secured? How thoroughly do you expect them to be tested, given Australia's population of only 25 million?
How can any Australian company expect customers to trust them now?3 -
Been asked to give a lecture to the freshmen at ye olde alma mater.
They are gonna pay for the air ticket, the shuttle to and from campus and a couple nights at a fairly ok hotel.
Feeling like a fucking rockstar.
...
Gave the lecture. Only half those kids spent the whole time on their phones. My old drinking buddy and now a professor at the school said it was more direct attention than one could expect at a music concert.
...
Feeling kinda scared about how young women dress nowadays, but I do am an old indian dude, so what do I know?
Also, since when is lifting weights and running a half-marathon a requirement for a degree in computer sciences? Turing might have been an Olympian, but I'm pretty sure that since the invention of the integrated circuit my people have spent more time in labs than in gyms. That is not true for those kids.
Maybe it's a freshmen thing, and they will age out of that healthy living nonsense. Maybe the real world will crush it under bills and tuition loan repayments.
...
Tried to ask the university for a refund of the hotel and taxi bills that I've paid out of pocket. Two hours in four different queues and two opposite-sode-of-campus buildings. Suddenly remembered the true meaning of the word "Kafkaesque".
...
Remembering the old uni days with some still-in-grad-school / faculty old friends and getting drunk in the old watering holes? Priceless.2 -
That automation thing with NASA I was ranting about yesterday finally worked. Granted, they posted a pic today instead of a video.
So, assuming it's a true Pic of the Day, my wallpaper gets updated at 4 AM. Maybe they saw my rant? haha5 -
I upgraded eclipse with devStyle. The next time I started eclipse a quote showed up. I'll post it here 'cause I think it's totally true:
"Experience is the name everyone gives their mistakes".
It's so freakin' on point...1 -
Is it weird to not put a space between the beginning of my if statements? (i.e. if(true) vs if (true) ) Cuz my boss thinks it's weird enough to "have a talk with me"...8
-
When I saw a blog post said you need more than 1 cup of coffee to get AWS configuration done, I didn't believe it. Now I know... it's true. very true. It takes forever to make use of your config. By the time it's done, you already switch to something else.
-
I already got my stickers of devRant. I have to say I was thinking that they would pay their own staff for posting photos with stickers, but no!. It's true, they send them haha. Thank you so much for this, it's of very good quality! devRants team it's awesome! :)3
-
For some reason I find reading tech books a repelling activity. I'd rather spend longer hours googling SO issues, GH/GL tickets, reading blogs than reading a well recommended book on the topic.
But then again.. What is the difference between a series of blog posts and a book...? Not much of it. At least I cannot come up with how blog posts would be superior to a structured and many times reviewed book :) Many posts are lame or just skim through the topic. The same holds true with books too. So maybe it's worth getting that 200pages thin book instead..2 -
It's true what they say.
You don't mess with hot glue without burning yourself.
It would be funny if I didn't have my pointer fingers burned up lol.4 -
the worst part about studying networks is that I can't even say it's useless and that i won't use it in my life, because it's very not true. it's a pain, but god dammit I should know this shit7
-
So an update on my last health rant..
It's got off to a great start... not
My intentions were to go into NYC to walk around in Central Park.
I'm currently wandering around aimlessly in the park, taking a break..
On my way over though I passed a bubble tea festival that was happening...
Gotta get bubble tea now... *Bad* but easier it's so expensive.. They're price gouging!!!
*good? But more I want a drink... I have water but I want something tastier...*
**Sees Duane Reade, goes in no sole, too expensive**
** Sees McD...pass... sees sign saying any large drink for $1**
...
I'm now waking in CP while drinking a large Sprite.... and I want cake bc I'm already in NYC goddammit... might as well get some as it's in the way... And I won't get another chance until.... **Some far away date** ( I know is probably not true...)
Help?1 -
Why are OSS maintainers so fucking incompetent and cocky? A documentation clearly says to use "use_parent_assets: true" when creating a child theme. Yet not a single fucking line of code actually checks that value. The fix is literary a single if(value) assets = deepMerge(parentAssets, assets). But because some contributor somewhere didn't write that line to the maintainer's liking, it's been hanging in the air for months.
Take your head of of your ass, there's thousands of people paying for support & addons for your product, and you can't add one fucking line to fix a rather critical bug.6 -
Why the fuck is every tech lead and manager obsessed with the idea of breaking down tasks?
It's true some tasks can be broken down into smaller ones. But there are situations where a task needs to be done by 1 person in X days. Breaking it down into 2-3 tasks so that "they can be done in parallel" actually requires more efforts among devs, introducing unnecessary complexity and more risks.
9 women cannot deliver a baby in 1 months ffs. I guess these people never learn.7 -
A TypeScript boolean/undefined Flag variable kept fucking up
true == true didnt hold true
checked the "typeof" in console and it's GOODDAMN STRING.
What's the point of TypeScript's "type safety" if a Boolean variable is holding a String type for whatever reason. URGHH I HATE JAVASCRIPT.23 -
10K bump but salary is probably still below market for the skills I have... Most likely reason? Trump tax cuts...
I can't showcase my skills in interviews assuming I get any... Not motivated in cramming or studying those useless algorithm questions that have little correlation to actual work.
Whatever.... job pays the bills pretty well... Sorta boring as I'm like the biggest fish on the whole team but that's also the upside I guess... May not be true but I think I'm pretty hard to fire...
So now it's sorta 20% work 80% life... So guess I'm done exploring and just gonna exploit...
P.S I wore this while taking a break from solo karaoking.... (Thursday night)10 -
const silicon_valley = true;
if(silicon_valley == true) {
watchSiliconValley();
} else {
work();
}
// yeah I know it's crappy1 -
A developer's true soul mate is a designer. It's like yin and yang. They will make a perfect couple atleast in professional sense.
If I'm gonna marry, she's gonna be a UI / UX designer.7 -
Who already used Electron to create desktop apps ?
Is it simple ? Some people tell me it's similar to react-native is it true ?7 -
If multiple engineers say something about their system design that is so stupid it cant possibly be true, it's gotta be. Holy eff it is.
-
21:37
Manager: Hi
Manager: Do you know anything about this? <screenshot.jpg>
Me: Hi
Manager: Oh, I didn't mean to disturb you this late
Me: *what....? Then what DID you mean by writing to me at my bedtime....?*
(Though it's good he pinged me - it was a valid and time-sensitive concern. But saying "I didn't mean to" - that's just not true. Call a spade a spade and spit out what you need)10 -
Shit, I lost the rant again. Well let's begin from the top.
This is little bit personal but I'm not keeping any of this as a secret. I'm a hyperactive thinker at nights (ADHD). I must write this down, although it's well over middle-night at this point.
I just discovered that I might be better writer whilst I'm sleepy, hungry, out of affection of the meds or all of the above.
And may I remind you that I'm not a native English speaker or writer.
* Saved to clipboard, so I won't lose this again *
I've written now 2 long rants, 8 issue reports (devRant) and a loong collab posting in this one sitting, or rather laying. It feels like I'm writing perfectly without missing a beat. I know that's not right, it's the main symptom in ADHD; My brain is actually running slower than an average, much slower. That's a reasonable explanation for the “fast” innovation.
I'm running without restrictions of a normal human, I don't "overthink" every single word and rather go with the flow. That's what spell checkers are for.
* Save *
You can probably see what's happening. It's certainly also true when writing code. I left out the normal cleaning up (except for the grammar, found 10 errors).
It's pretty much the same thing as I'd imagine being drunk or even high.
I must not be the only one.
* Writing tags... *
* Update error count *
* Recover one part from memory *10 -
Debugging a task, that's sending emails to too many customers.
Supervisor: "Never mind, just test in production, there is a dry run flag for the tasks."
Just in case I test locally...
Flags tried:
--dryrun="TRUE" => Error, failed to send mail.
--dryrun=TRUE => Error, failed to send mail.
--dryrun="true" => Not trying to send mail.
If it's THIS PICKY a little more documentation would be nice.
And by a little more I mean: more than the task base class in a giant php monstrosity without phpdocs expecting its code to be self-documenting. -
I just downloaded battery monitor app to figure out why my new phones battery is draining so quickly...
The app says though it's best to charge only up to 80%.
But logically if this were true, shouldn't the manufacturer adjust for it themselves so that when Android says 100... In reality it's actually 80?15 -
I have always wondered this: The compiler knows that I need to have semicolon at the end of the line. It complains to me about is missing. Why can't it add that semicolon there by itself?? I mean, clearly it's the smarter one of us two. It knows all those language standards and is able to check them. I know jack shit. Still instead of helping me, it has to be a bitch and just nag.
Also, what's this business with "true" or "false"? How the hell should I know? Most of the time I am like "maybe". I want code like this:
if (myVar =~ true)
function1()
else sometimes
function2()
or maybe
function3()
or instead usually
function4()
if (error = true)
fix it9 -
My reasoning is stupid, I just think it's cute in a pimp my ride kind of way. I heard you like getting colossally pounded in the fucking ass, so we put a virtual machine inside your compiler so you can use your binaries while you compile your binaries.
But there is a practical angle to it, too. It's state, structures and execution within the code itself -- that is, in a sense, generators "embedded" within the source, but without any kind of special syntax.
Rather, the code is all the same, and I'd have the option to make calls at compile time: the output of these calls could, in turn, be part of the resulting binary or processed by further calls.
It'd greenlight the wildest fuckery in the jungle, because *that* is the true and ultimate abstraction: programs that write other programs with minimal human intervention. But is my (still) theoretical, cheap ass two-dollar prototype approach held together with clown jizz and prayers better than the endless cumloads worth of corporate investment that's dumped and pumped into generative AI on a daily basis?
Well... **lights cigarette**
That's what we're about to find out, mother fuckers.1 -
I've just been pre-diagnosed with clinical depression. MRI and couple other things is needed to clarify things out but taking pills is imminent.
I just hope it's a journey to my true self and guilt-free life26 -
What the fuck is up with all these fucking shit-posts lately. devRant used to be fucking sick as and now it's just meme after meme and random shit everywhere. No true rants most of the time.
P.S. I'm back. Welcome to me.5 -
Does anyone have an alternative web framework mostly for an API? Much appreciated if Graphql out of the box.
One "pillar" of Rails is that it's done to optimize programmer happiness. My experience with Rails turned out to be true in that sense.
I was wondering if there's an alternative that could emulate that experience.5 -
I built a view engine that relied on V8 for expression evaluation and flow. Not very stable of course, since it used RegEx, but it worked fine for what it was designed for.
The crown feature was the ability to pass in lazy-evaluated huge objects to that view model, so that the view model decided what was going to be used in order to display the view. Made it really flexible, while not sacrificing speed.
I was brainstorming for 2 days about the lazy loading part, and the gymnastics that had to be implemented for this to work.
After I wrote my final line of code and thought that this is it, I launched it, and it FUCKING WORKED! First try!
I was hyperventilating, walking around the apartment like crazy, doing random push-ups just to try to utilize some energy that I felt was fighting to burst out like a xenomorph out of the chest.
... 2 weeks later I found bugs. Had to re-learn how I did it. It's true what they say: if it was hard to write, it's even harder to debug. Fixed it eventually, but that part's not that exciting. -
What the fuck is this trend of pricing cloud services by the minute? I mean It's fucking great and all that I buy 2 minutes with a sql db but who the fuck actually does that?
After another night working on a server I (strongly) suggest we move our shit to a cloud service. It's cool providing I promise the costs don't rape us blind folded. Seems easy enough, right? Nope it's not.
6 hours later, halfway to becoming a fucking network engineer and I'm more lost than ever.
Seriously can't the fuck AWS and google cloud show a monthly price - even an estimate for generic shit like $x for the average crappy wp blog!
If anyone has some helpful info / experience on the true cost of hosting generic web apps - the retardedly simple app I'm trying to price is:
1 php web application with 150 domains, 3gb mysql db and 30gb ssd.
I gets has 45000 sessions with 250000 page views.
Your help would be greatly appreciated. Currently I'm leaning towards deploying a clone sending 250 000 random requests and praying my $300 cloud platform credit will cover the bill.4 -
What do you guys think of code review? It was supposed to find potential mistakes in your code base, and share your knowledge with your co-workers, right?
In fact I have very bad experiences with code review, not just with 1 company, but quite a few. Code review process always comes to something like this:
Reviewer: Hey, I don't like your solution A because of disadvantages A1. You should implement solution B, because of advantage B1 blah blah...
Me: Yes, it's true that solution B provides advantage B1, but at the same time introduces much more complexity to the code base than necessary, and has disadvantage B2. I am aware that solution A has disadvantage A1 but it is justifiable and easier to overcome than B2 imo. In fact, solution A also provides advantage A2 that you might not know...
Reviewer: No, you HAVE TO implement B because of advantage B1 blah blah *repeating why B1 is awesome again*
I feel like it's just people trying to shove their preferences down my throat. Either code review is useless, or the companies I work for do something very very wrong in code review. Anyway, it's really discouraging me fron participating in team discussions.5 -
Changing jobs. I found something different, with new challenges. My current job still challenges me, but I feel it's constantly similar stuff, just in different flavors.
My current company is asking me to stay longer than for my 3-month notice. They say it's too rapid and I should have told them earlier that I'm looking for a new job. Is it even true? Do people do this?
Should I stay? I really like the guys and I don't want to put them in a difficult situation but at the same time the argument about my decision being too rapid seems weak. Our team is over 30 people, it won't suffer THAT much. They will probably offer me a higher salary, but going against my feeling just for the money seems... kinda wrong. What do you think?8 -
My company has a board on Blind (semi-anonymous social network for corporate employees). We're a startup and have had two layoffs in the past two years, with very few pay increases.
I voiced my thoughts about the future of the company. We're pulling in a lot of revenue (millions a month) but still have a crazy amount of costs.
Someone responded that a bunch of our revenue ops people left for other companies. Another person replied the director that left had a good opportunity, thought we'd get another round of funding and that the company has had some purchase offers (with valuation being the big sticking point).
If it's true, it should feel like some job security. I can't help but also wonder if anon is lying so people purchase more of their stock options to generate more runway.1 -
As a Ruby dev I know I've been spoiled. It's so fucking easy to natively manipulate data in a Ruby app.
But seriously...come the fuck on Python...
You mean to tell me that I have to script out the entire logic to dedup an array?! Something that's an inherent part of EVERY project?
Sorry for the rant, but I just cannot fathom why ANYONE would use Python to write a full application. It's great at scripting, but a shit-stain-to-maintain for true app development.
I want to drop-kick the asshole who decided to write this fucker of an app in Python.
Also, fuck Python for taking ~20 years to add a fucking switch statement.19 -
I'm supposed to write a term paper about a scrappy python/sqlite3 project I put together in a day. And even though mine is the most advanced of all the student's programs (it's cocky but it's true), I feel so ashamed... It is so scrappy and useless... Now I'm supposed to pull something out of my ass, what I did or how I did it sounding all pretentious and proud. After I get my grade I'm wiping it off my disk for sure!1
-
rant === true
I despise university. Since I went there, I have stopped learning exciting and new technologies. Instead, I do mips, lisp and Java.
I mean I wouldn't mind java, but it's boring repetitive crap. Making stupid simulations - all the fucking time.
I can not be bothered to learn this shit anymore. It's not worth 9k a year.
I'm lost. I don't know what to do. I can not physically do this anymore.
Edit:
Also, I hate this industry. All they want is a cs degree u til you have 2 years experience and then fuck it. It's a 50 k passport... wtf.3 -
!dev
People that say shit like "real fans know that *their opinion* is true" or "anyone that knows anything about x knows that *their opinion* is true" are some of the worst people in society.
You can't start a sentence implying you're going to state a fact only to give your opinion. It's bullshit. It's lame. It makes you look like an idiot.3 -
It's so cool to see this many computer nerds just like me gathered in one place. I think I'm gonna like college, it's a dream come true.3
-
Recently I've had a lot of realistic dreams and it's awful. For example, yesterday I dreamed that I have a SoftEng lecture on Monday at 9am. The day before I dreamed that Russia defeated Ukraine and are now neighbors with Hungary. On both occasions I was later convinced that the memory fragments were true until I either received conflicting news or some unrelated trigger reminded me of the later, unrealistic parts of the dream.
I can sort of deal with the possibility that my current life is a dream and I'll eventually wake up and start over from an unspecified morning, but the possibility that while living in reality an arbitrary subset of my memories comes from dreams is much worse3 -
When I do not have much to do, I like to take a look at apps on Google Play, just see what's out there. Then I start to see the opinions of users and go into anger.
I'm Spanish and I'm sick of all those Spanish-speaking people (mostly latin american... sorry but that's true) who mark only one star and make aggressive comments to developers because the app in question is not available in Spanish.
Seriously, are you stupid or what's wrong with you? If the app is in English, it's free, it's good ... learn English and stop complaining !!
Or better, offer to translate it to reach more people!!
Although this is demanding a lot, since this kind of people don't know neither Spanish grammar nor proper spelling at all.1 -
Salesforce document template auto generation.
I only recently got promoted from junior, but on this project I am basically the go to person for work on our templates.
I pull a bunch of mangers and our client rep into a meeting to discuss the issues surrounding this and offer solutions.
One of the things I said was "If we changed this process to this, which would take about a week to develop / convert, we could reduce development time on adding new products from hours to minutes."
The client was intrigued but said I'd need more data about direct improvements customer side to get the green light.
My manager and supervisor said, in front of the client, "Nobody really gives a shit about developer time. They're never going to let us spend time to make your job easier or faster."
I know it's true but it still hurts 🤕🤕🤕4 -
rant == true
<rant>I want my stickers, but I'd rather rant about using email than actually use email. Cut me some slack, I'm a dev and I hate email. Email is horrible, it's barely changed since the 90's. I hate Slack and Skype as well, Discord is so much easier for my needs. I even set up some bots to tell me build statuses in their own channel.</rant>9 -
I've just came across this, the title of the video is "Is Google always listening". I think it's worth watching. Sad times if this is true...
https://youtu.be/zBnDWSvaQ1I3 -
Do you want to know why all the popular open source projects have less-than-optimal, sometimes really dirty code?
It's because their developers ditched all the unnecessary stuff to just get the damn thing done. When I choose an open source dependency, I don't need unfinished stuff. I need a stuff that works and has all the features I need from the very start. If it works, I don't care about code quality in my deps.
This is the reason why dirty, rushed stuff with a great idea behind it gains popularity. PHP, Git, jQuery, the list is quite large.
While you've been busy polishing your files hierarchy, these guys already shipped their product, gained adoption, and their userbase doesn't need your product anymore.
This is applicable only for true open source, not "it's developed by a full-time team of principal developers and the CTO is fucking Kent Beck, it costs $1m per month but yea we have it on github".3 -
In reply to this:
https://devrant.com/rants/260590/...
As a senior dev for over 13 years, I will break you point by point in the most realistic way, so you don't get in troubles for following internet boring paternal advices.
1) False. Being go-ahead, pro active and prone to learn is a good thing in most places.
This doesn't mean being an entitled asshole, but standing for yourself (don't get put down and used to do shit for others, or it will become the routine) and show good learning and exploration skills will definitely put you under a good light.
2)False. 2 things to check:
a) if the guy over you is an entitled asshole who thinkg you're going to steal his job and will try to sabotage you or not answer acting annoyed, or if it's a cool guy.
Choose wisely your questions and put them all togheter. Don't be that guy that fires questions in crumbles, one every 2 minutes.
Put them togheter and try to work out the obvious and what can be done through google or chatgpt by yourself. Then collect the hard ones for the experienced guy and ask them all at once. He's been put over you to help you.
3) Idiotic. NO.
Working code = good code. It's always been like this.
If you follow this idiotic advice you will annoy everyone.
The thing about renaming variables and crap it's called a standard. Most company will have a document with one if there is a need to follow it.
What remains are common programming conventions that everyone mostly follows.
Else you'll end up getting crazy at all the rules and small conventions and will start to do messy hot spaghetti code filled with syntactic sugar that no one likes, included yourself.
4)LMAO.
This mostly never happens (seniors send to juniors) in real life.
But it happens on the other side (junior code gets reviewed).
He must either be a crap programmer or stopped learning years ago(?)
5) This is absolutely true.
Programming is not a forgiving job if you're not honest.
Covering up mess in programming is mostly impossible, expecially when git and all that stuff with your name on it came out.
Be honest, admit your faults, ask if not sure.
Code is code, if it's wrong it won't work magically and sooner or later it will fire back.
6)Somewhat true, but it all depends on the deadline you're given and the complexity of the logic to be implemented.
If very complex you have to divide an conquer (usually)
7)LMAO, this one might be true for multi billionaire companies with thousand of employees.
Normal companies rarely do that because it's a waste of time. They pass knowledge by word or with concise documentation that later gets explained by seniors or TL's to the devs.
Try following this and as a junior:
1) you will have written shit docs and wasted time
2) you will come up to the devs at the deadline with half of the code done and them saying wtf who told you to do that
8) See? What an oxymoron ahahah
Look at point 3 of this guy than re-read this.
This alone should prove you that I'm right for everything else.
9) Half true.
Watch your ass. You need to understand what you're going to put yourself into.
If it's some unknown deep sea shit, with no documentations whatsoever you will end up with a sore ass and pulling your hair finding crumbles of code that make that unknown thing work.
Believe me and not him.
I have been there. To say one, I've been doing some high level project for using powerful RFID reading antennas for doing large warehouse inventory with high speed (instead of counting manually or scanning pieces, the put rfid tags inside the boxes and pass a scanner between shelves, reading all the inventory).
I had to deal with all the RFID protocol, the math behind radio waves (yes, knowing it will let you configure them more efficently and avoid conflicts), know a whole new SDK from them I've never used again (useless knowledge = time wasted and no resume worthy material for your next job) and so on.
It was a grueling, hair pulling, horrible experience that brought me nothing in return execpt the skill of accepting and embracing the pain of such experiences.
And I can go on with other stories. Horror Stories.
If it's something that is doable but it's complex, hard or just interesting, go for it. Expecially if the tech involved is something marketable.
10) Yes, and you can't stop learning, expecially now that AI will start to cover more and more of our work.4 -
So I'm having this return to the 70s mood. Not for the 70s themselves but for the pack of tech in everyday life.
Like besides email or worldwide message exchange and wikipedia, what have been the last true innovations?
Media streaming just killed and monopolized other industries. Sure, everything is cheaper, but let's be honest, how much music do we consume? Pretty sure like 80% of people listen to the same 100 songs in their whole lifetime. Do we need limitless streaming? Did it help us somehow beyond giving some dopamine shots?
Social media are and have always been crap for posers, advertising and bots. Small communities make sense, when properly taken care of. The actual issue with social media is the replacement of the so called "Third place". The place you go after work that is not your home. We don't know each other anymore, loneliness is apparently becoming pandemic and people are struggling with this. How is this innovative? For the real time news that are making people freak out?
And then, as I ranted before, AI. It's just... Statistics. Well applied statistics. Is it an actual innovation? No. Serves nothing beyond taking someone's job.
And before some retarded dickhead starts no, it will never create the same amount of jobs as a factory would've done 100 years ago, and prompt engineering is a lie told by the very guys who SELL those products to convince you that their crap is harmless.
Maybe it's about time to hit the brakes for a second and think if the simpler things (NOT the times!) were better, if maybe if we're getting lonely is actually our fault, it's our fault for not calling that old friend for a drink, it's our fault if we keep getting some dopamine shot every minute and are barely able to look people in the eyes, it's our fault for not behaving like human beings?
I hope any engineer will understand how this rant is about consumer-oriented tech and not tech in general.10 -
cataloguing and accounting for known unknowns and knowing when exactly you need to turn them into knowns (if ever).
basically getting used to the idea that you're always in some way and to some degree stumbling in/through the dark because your light is too dim to illuminate everything, so you have to choose the right direction to point it in. getting lost isn't not knowing what's everywhere around, it's not knowing what's in the specific direction that you need to go in.
oh and, also, sadly, this shouldn't be true, but at least in my life it is: there's nobody to ask for help when you're the one others come to to ask for help. either I solve something, or it will stay unsolved. which is... stressful and exhausting, and often desperation-inducing, but i guess it is what it is...1 -
God damnit.
It's about my freaking PC, again...
(If you still don't know what I'm talking about: https://devrant.io/rants/889384/ )
Well then.
I have not ranted about this until now because I was trying to fix it on my own... but since I'm now desperate to get it fixed, I'll say it here too... please help me, I'll give you cookies or virtual hugs or something ;-;
The problem is... my audio driver doesn't work. I tried to update it (from Realtek's website), but... after installing the new version of the driver, it asks me to restart my PC, I do that, and then... nothing happens, the problem remains.
The audio icon on Windows' application bar says no audio devices are connected, which isn't true as it should notice the PC's native speakers, or my headphones, but it freaking doesn't.
As a musician, this for me is a problem...14 -
So today at the electronics shop I saw an 500Gb on sale. For some reason it also came with a code for Battlefield 2042. The price label was written in a very confusing way, so I thought it was actually ~22EUR instead of ~118EUR off. It sounded too good to be true, but my train of thought was that it's entirely possible that they are really desperate to get people to play their shitty game.
Unfortunately it was too good to be true and it was actually actually 96EUR. What a scam.
In case you wanna look it up yourself, you can also find it online (For a lot cheaper than in that store). "WD_BLACK 500GB SN750 SE NVMe"
For some reason it's cheaper with the game, I wonder why (But it's still a tad overpriced)1 -
I've been given two months to make an AR app that gives information on buildings seen out of the window of a client's skyscraper office.
So off I go, smash together some Ar.js in a few days because it looks easy. Yet I quickly find out that the compass on mobile phones are completely trash. Every device I try has true north randomly chosen from anywhere between 10 degrees wrong or full on 180 degrees the opposite direction. It's a miracle that none of these devices have managed to stumble onto true north by luck. I'm getting suspicious that ar.js is actually just mapping coordinates based on north instead of true north or something ridiculous. This likely won't be helped by GPS interference from the skyscraper.
It isn't helped that ar.js is a steaming pile of bugs on top of bugs, many of the examples taken straight from documentation straight up don't work.
I'm trying to get ar.js with three.js now in the hope that I can figure out some kind of true north calibration controls as an offset to whatever the phone says north is.
If anyone has any suggestions for a better solution that would be grand.5 -
Working as a designer and developer helping people make their own ideas come true, I worked on a lot of projects and it's depressing seeing people excited about their ideas which are shitty as fuck and wasting their money on them, at the same time I can't tell them that. It would've been better for everyone if these ideas worked out, but these are shitty Ideas and I can't tell them that :D
-
Now I finally got the power of conspiracy theories: They make the world feel more profound, magically and purposeful, because there is more we do not yet understand.
For one day I thought the Basilisk collection was true, and it filled me with wonder and awe: https://suricrasia.online/unfiction...
(I know it's not a conspiracy theory, but I imagine it must be similar if you believe in one of these things and go down the rabbit hole.)4 -
Has any else noticed the True Tone brightness on IOS 13.6.1 going really dark at times to the point it's almost pitch black?
I've had to turn it off and on again a few times for the brightness to be correct again.1 -
I'm a physics student who have problem with the "theory without every application (even theoretical)" approach of my university. I'm at the second year. The year is near to end i will pass at the first year of Informatic Engineering, one of my real True love who took from me a lot of time. I don't know what will happen... But Electronics and Informatics are my True love. I hope it's not too late...2
-
Are you tired of hearing about the latest and greatest programming languages that are all the rage? Well, fear not! PHP is here to remind you that sometimes the oldies are still goodies. This trusty, tried-and-true language has been around for over 25 years and shows no signs of slowing down. In this post, we'll explore the enduring popularity of PHP and why it's still a top choice for web development projects in 2021 (and beyond!)
Full Detail : https://programmerscreatelife.com/p...6 -
Any Clojurists on Devrant? I'm starting to learn the basics through Clojure for the Brave and True, and I'm wondering where to go after this. The little taste of the language has left me wanting to use it more, so I'd like to see how it's used by people who know what they're doing 😁1
-
For me it's about removing grey from my life. I make decisions about things and move on. It's either black or white, there's no grey, true or false. It can be a little odd for new friends. For example, a trak comes on the radio, someone asks me do you like this, well I have to really like it in which case it's brilliant or no it's shite. Why would i say it's ok as its so vague and doesnt reveal my true feelings about stuff. Sorry i am waffling on about bullshit, just waiting for the chemist to open in the pissing down rain.
-
I have a small job I work with another team on Fridays. For the last 2 weeks we've had issues with an API for our accounts server not working correctly. It's been a shitter because it only accepts XML. I've been tearing my hair out all day and getting very little usable info from the company that made the API as we reached the point where we couldn't do anything else without the API working.
Today we discovered the issue. It's that the API receiving the XML was failing because the Bool values were in capital. As far as their API is concerned, "TRUE" != "true". Something not mentioned anywhere on their (incredibly short) documentation.
I might go insane tonight. -
It's common belief that developers don't like people and they(we!) prefer to stay away from people and social situations.
So I was wondering how true is it?2 -
Yo, i heard that it's easier to find jobs in web / software development in UK , is that true? 🤔 whos from uk?8
-
I just learnt that creatine can apparently serve as a nootropic. I thought this to be odd but apparently it's true.3
-
I know it's not really related to development, but I got in a discussion on twitter and one dude tweeted "in science, 1 isn't 1"
And so I was like "mate what? science is highly dependent on math and in math, 1 is kinda always worth math"
And this this girl comes in and just says:
"it's not true that 1 is always 1 because there's binary code as well"
And was was like totally astonished, like, have you even studied something? 1b = 1d = 1x and it's always 1 in whatever base!
(she even says she's some sort of engineer in her bio)8 -
Really hate it when a project is switching focus every month or so. You start focusing and committing a lot of time to make things work. Taking initiative to enhance things. Then some weeks later management is switching focus and you have to port all fixes in the new code base. Then some weeks later you have to work on the things you did before but with some adjustments that result in the old code not being possible to use and you have to port fixes again. When complaining you sometimes get the question "how hard can it be, it's just some code". Some motivation is lost every time. And repeat this like a "while true" loop.
-
Guys, I've been learning about XDSD and... it seems to good to be true. Anyone here has experience with it? Or has someone worked for Zerocracy and has an experience to report?
Please PLEASE tell me it's not a scam. I'd LOVE to work this way. -
There's a IT company I know that uses low level languages to develop, mainly to increase the efficiency of their programs. But it's rumor.
But would it be actually true? running algo or something on a ultra-modern pc? -
Someone from top company (German Automobile) commented that Indian coders are good but are not Craftsman in their development. I was very confused about that comment .. but if it's true . How should I improve it.3
-
did you know Verizon fios's own outage monitoring page isn't optimized for mobile? it's true. ask me how I know.2
-
Hi fellas, I am having problems to play widevine content in electron. I am trying to convert ember-app to electron app. Except widevine content everything works great, Version info are:
Shaka 2.02
Electron 1.4.13(Chromium 53)
Electron Packager 8.4.0
Widevine v1.4.8.903
I used http://electron.atom.io/docs/... docs. In order to check my player i load shaka-demo app.
I included widevine like this
``` app.commandLine.appendSwitch('widevine-cdm-path', path.join(__dirname, ./widevine/1.4.8.903/_platform_specific/linux_x64/libwidevinecdmadapter.so)); app.commandLine.appendSwitch('widevine-cdm-version', '1.4.8.903');
```
Also added plugins: true. When i load mainWindow.loadURL('https://shaka-player-demo.appspot.com/...'); to play widevine content it's disabled. I have tried navigator.plugins still can not play widevine content2 -
We have this C# class which is like the core of our entire business logic. If you are in another class and it doesn't contain an argument in the constructor and/or property of that core class you're gonna have a bad time.
That core class has lots of useful business logic bools, "IsSomething", "HasSomething" etc. However that core class has a parameterless constructor which is sprinkled dangerously throughout our app, meaning the object is often not initialised properly and it's a 2 day mindfuck to make sure your "IsSomething" bool is actually false and not just false because the other business logic that bool relies on wasn't initialised and the bool has never had a chance to be true.
It's difficult to trust even a simple "if' statement. And if you're somewhere were you've had a list of that core class passed in, you need to trace how the list was initialised to make sure all your bools have been set 😴4 -
How should you override Equals in Java?
We have model classes with lots of fields and the we override the details equals to compare all the fields. I guess like doing a deep comparison.
And in all these classes SONAR is complaining about lots of ifs, complexity, etc.
And it's killing the analysis time... Old issue never fixed because whoever setup sonar was too incompetent to bother asking, researching, or fixing...
Is there a better way to override the equals to get the same result but without triggering SONAR issues?
Pretty sure this is a solved problem. And well if the top of my head, is just create a Util method that uses reflection like
Boolean equals( Object a, b, Class class)
foreach (String f: class, getFields()) {if !compare(class.getField(f,a),class.getField(f,b)) return false; }
return true5 -
So my boss tells me that industry standard for serving images is that you have one image on the server that is approximately 3x larger than the largest size you need it to be and resize it on the client side as you need. However, a lot of the tutorials I have seen online lead me to believe that is not true. Is it? Because I have to serve up a whole lot of 150kb images for something I didn't even want to do in the first place and it's causing serious performance issues, even with lazy loading.5
-
Firefox and privacy.resistFingerprinting.letterboxing have proven to be a true hell to get working in a simple way, neither searching or creating the value proved to do anything.
Shit that should be simple like this or profile switching at this point in browsers is what makes firefox deserve it's userbase loss. Turns out mozilla is only good for mail clients and cucumber gatorade flavoured browsers.1 -
How are redhat docs SO EXTENSIVE yet SO USELESS if you need to use it as actual user documentation? I thought they had their shit together, but after two days struggling to find any useful information I found a golden stackoverflow answer (sorry, but it's true) which - in my opinion - should have been the official "getting started" documentation entry for firewalld...
Everybody expects that you have your basic set of ports open (ssh for example), but nobody ever covers the configuration for that very important port 22 before you are locked out of your device. Thanks harperville if you're on here <33 -
I can't stand when people spend a single day familiarizing themselves with a new technology or concept and then come to the conclusion that's it doesn't work and really the old way is great. Not saying all new things are better. In fact, I'm probably more in favor of tried and true methods than shiny new methods. But one day? Really? That's all it took? In this particular case it's code-first DB development. Again, I'm not a fan myself really. But I have a co-worker who said creating tables and and schemas is much harder using code-first instead of DB first. I mean... Neither are hard. I personally think it's easier for basic things like tables and schemas but either way it's not hard. Now SQL triggers and index's all that fun stuff? Yeah code first is probably more complicated (I'm clearly not a database expert or anything). But a day? Really? You know enough to force a design paradigm on the whole company now? Wtf.3
-
Think I'm being punished here...
first, the windows 10 update screen showed up... waited for that shit to finish... once finished, I thought, "that wasn't bad..." Then, THIS next screen shows up... "you've got to be kidding me!" So, it's punishment for not having opened the laptop in a while. :P
Yeah, it will be a wish come true, when Microsoft figures out how to do all this in the background... or something... so it's not painful to wait for updates to complete.
End of rant for the day.2 -
Well, so this time, it's not a joke....it's a moral kinda thing.....
Why do we want something?
We want something because we have the desire to know about it or we have the desire to achieve something or prove ourselves superior.
Why do we want to be superior?
People are so getting into the phrase, "Life is a race, if you don't run, you loose", that they unknowingly have the desire to be superior and fight for it.
This is totally not true. Life is not a race...it's an experience....we learn from life....we learn from everything and everytime we act. Life is not an assest that you race with. So, then why to race? Enjoy life. Gather true knowledge, not the so-called school's exercise book "knowledge".
Until we defeat our desire, till then, we are evils even though we think that we are good.
Desire kills, Defeating desire will give you a true life to live.9 -
So I just made a deal. I am selling my Galaxy S5 16gb + 16gb mem stick, which is in excellent condition along, with the original flip case and a Spigen slim armor case and a protective screen, for 150€.
I'm replacing it with a Galaxy S6 32gb with a slim case and protective glass along with new headphones and also in excellent condition, for 200€.
For 50€ as true cost to go from S5 to S6, I think it's a pretty decent bargain people and also a nice upgrade. What do you people think? -
SITECORE VS OTHER CMS'S
FIGHT!
Someone I know has been convinced beyond a shadow of a doubt that SiteCore is this amazing peice of magic software where you push a few buttons and your wildest dreams come true.
Anytime there's a probem with our other websites (laravel sites or Drupal sites) we get a lecute on how a SiteCore site would do X so much better and how the problem would never happen on a SiteCore instance'
I think it's a little bloated and don't like the tech stack behind it.
What are your thoughts on it? Is it magic ? Should I agree with him and just stop fighting the inevitable?1 -
Would be a perfect joke if it read "Then it's true" (or maybe "Then it's 22")
Now it's more like the kind of joke your annoying boss would make to "act smart around tech guys"2 -
visit the corporate elearning portal to do the mandatory trainings.. open browser, go to the page, login. start the training, then a quiz question pops up...
my IT sense tingling... open browser's developer tools, starts checking the HTML and JS source... then suddenly found something like this:
isCorrect = selected.join() === anwsers.join()
placed break point, put in random anwser, checked watch... (heartbeat increasing)
see the value is FALSE. Changed to TRUE manually, resume code...
Thank you, your anwser is correct!
WTF? I don't consider myself as a developer, but it's still hurts...1 -
first() function in python...
Because it does not exist
Why have a any() that returns True if any of the items in iteratable are True
But what if I need to get the item itself...
In C it's as easy to write as the any func The performance will be the same6 -
Today I got my plan upgraded for free to unlimited data it's a dream come true and between 12am and 12pm I used 8GB hahaha
-
Today " It's not a bug it's a feature" became true. Had an escalation where user reported as a bug. Team came up with an answer they couldn't resist to accept it as a feature. 😎1
-
Whenever the test is to see what clarifying questions they'll ask.
Give a dev in an interview setting a vague task that needs refining before it can be meaningfully attempted, and 95% of them will just plough in and start designing / writing code.
FWIW, I don't personally like these sorts of questions in interviews, as the situation is very different to reality (and therefore I don't believe it's a true reflection of what questions a user may ask in a work environment.) They are *very* common however, and a lot of devs don't seem to be aware. -
I am trying to extract data from the PubSub subscription and finally, once the data is extracted I want to do some transformation. Currently, it's in bytes format. I have tried multiple ways to extract the data in JSON format using custom schema it fails with an error
TypeError: __main__.MySchema() argument after ** must be a mapping, not str [while running 'Map to MySchema']
**readPubSub.py**
import apache_beam as beam
from apache_beam.options.pipeline_options import PipelineOptions
import json
import typing
class MySchema(typing.NamedTuple):
user_id:str
event_ts:str
create_ts:str
event_id:str
ifa:str
ifv:str
country:str
chip_balance:str
game:str
user_group:str
user_condition:str
device_type:str
device_model:str
user_name:str
fb_connect:bool
is_active_event:bool
event_payload:str
TOPIC_PATH = "projects/nectar-259905/topics/events"
def run(pubsub_topic):
options = PipelineOptions(
streaming=True
)
runner = 'DirectRunner'
print("I reached before pipeline")
with beam.Pipeline(runner, options=options) as pipeline:
message=(
pipeline
| "Read from Pub/Sub topic" >> beam.io.ReadFromPubSub(subscription='projects/triple-nectar-259905/subscriptions/bq_subscribe')#.with_output_types(bytes)
| 'UTF-8 bytes to string' >> beam.Map(lambda msg: msg.decode('utf-8'))
| 'Map to MySchema' >> beam.Map(lambda msg: MySchema(**msg)).with_output_types(MySchema)
| "Writing to console" >> beam.Map(print))
print("I reached after pipeline")
result = message.run()
result.wait_until_finish()
run(TOPIC_PATH)
If I use it directly below
message=(
pipeline
| "Read from Pub/Sub topic" >> beam.io.ReadFromPubSub(subscription='projects/triple-nectar-259905/subscriptions/bq_subscribe')#.with_output_types(bytes)
| 'UTF-8 bytes to string' >> beam.Map(lambda msg: msg.decode('utf-8'))
| "Writing to console" >> beam.Map(print))
I get output as
{
'user_id': '102105290400258488',
'event_ts': '2021-05-29 20:42:52.283 UTC',
'event_id': 'Game_Request_Declined',
'ifa': '6090a6c7-4422-49b5-8757-ccfdbad',
'ifv': '3fc6eb8b4d0cf096c47e2252f41',
'country': 'US',
'chip_balance': '9140',
'game': 'gru',
'user_group': '[1, 36, 529702]',
'user_condition': '[1, 36]',
'device_type': 'phone',
'device_model': 'TCL 5007Z',
'user_name': 'Minnie',
'fb_connect': True,
'event_payload': '{"competition_type":"normal","game_started_from":"result_flow_rematch","variant":"target"}',
'is_active_event': True
}
{
'user_id': '102105290400258488',
'event_ts': '2021-05-29 20:54:38.297 UTC',
'event_id': 'Decline_Game_Request',
'ifa': '6090a6c7-4422-49b5-8757-ccfdbad',
'ifv': '3fc6eb8b4d0cf096c47e2252f41',
'country': 'US',
'chip_balance': '9905',
'game': 'gru',
'user_group': '[1, 36, 529702]',
'user_condition': '[1, 36]',
'device_type': 'phone',
'device_model': 'TCL 5007Z',
'user_name': 'Minnie',
'fb_connect': True,
'event_payload': '{"competition_type":"normal","game_started_from":"result_flow_rematch","variant":"target"}',
'is_active_event': True
}
Please let me know if I m doing something wrong while parsing the data to JSON. Also, I am looking for examples to do data masking and run some SQL within Apache Beam4 -
There is a University in Karnataka, India called VTU, whose exam paper re-evaluation fee costs more than the exam fees, moreover they'll fail you to make money.
Syllabus remains outdated from a decade or two. You'll be considered great if you managed to mugup the stuff for exams to take ranks.
If anyone relies on it's syllabus, then it's decided that they're gonna be the donkey among whom it produces every year.
You'll only become a true engineer if you realise this truth and seek the real educational resources online.
I saved myself by dropping off the college an year ago, which was the best thing I've ever done. I can make as many projects I can (fullstack web).
I'm here to find out, are there any successful VTU drop-outs out there? or am I alone (maybe successful in future).....5 -
I got my first client at upwork almost a week ago and the experience has been awful so far, not because of this client but because of the codebase, it's so bad, it is running DEBUG=True on production and if I turn it DEBUG=False things break for some fucking reason that makes no sense (I don't think that's true but the previous developer states it). The website is running on pythonanywhere which is weird, bootstrap is a nightmare, the database needs to be in sync all the time using a manage.py command that executes tasks received through a webhook from a Hubspot shit that has all the information. Just adding a simple edit/verify profile on that site is such a fucking nightmare. The whole project its full of holes and things that are just screaming to break, its like a fucking house of cards that falls to the ground the second I edit something and it looks like its my fault. I'm thinking of telling the client that I will no longer work on this project
-
Not so awful I suppose as long as it's produces quality output
Still only interested in davinci
Question
When chatgpt recognizes stateful requests "modify the part of the procedure Jojon where it updates storeitem to add a column verifiedbyhuman and set it's value to true" is chatgpt feeding everything at once to do davinci ?1 -
According to MIT and some other programmers, as I interpreted it from their video, Computer Science is not a science, but rather an art:
https://youtube.com/watch/...
I'm not sure this is the truth.
First things first. Definition:
- In order for a field to be a science, it has to have an internationally recognized body (such as physics has one). Does computer science have one?
Furthermore, one of the definitions of science:
"a branch of knowledge or study dealing with a body of facts or truths systematically arranged and showing the operation of general laws:"
source: https://dictionary.com/browse/...
- In order for a field to be considered art, its essence has to be about aesthetics.
Now, it's true that Computer Science is not about computers (as they are mere physical manifestations and tools that we use to practice the essence of what are abstract models that we theorize, much like Mathematics is not about numbers).
Like is said in the video (3:39 and example at 4:06): Computer Science is about formalizing intuition of process: input, algorithm, output, the precise imperative knowledge of 'how to' vs. Geometry ('what is' true, i.e. declarative knowledge).
Now, if we're formalizing and being precise, are we being scientific or theoretical? It could be argued we're then being theoretical, except for the case of Applied Computer Science, where things get more scientific (introducing observable proof).
Further elaborate discussion is welcome.
Proceed.4 -
80% of people who comment online are small people. 100% of small people who read the previous sentence thought they belonged to the remaining 20%.
It's not who likes you, it's who hates you. If small people like me, I should be worried. If small people hate me, that means I'm not one of them, and I'm doing good.
The above is true for every online community at any moment in time.8