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 - "2b"
-
To be or not to be.
Whenever you are stuck with something in life, ask that question to yourself.
Because
2b || !2b
Is a Boolean expression which will always be true. So asking that question will lead you to true self.
Peace ☮️9 -
Basic math class for devvys
Lemme prove that 2 = 1
a = b
a^2 = ab
a^2 - b^2 = ab - b^2
(a + b) (a - b) = b (a - b)
a + b = b
b + b = b
2b = b
2 = 1
Find a place where I got wrong...
And if you fall by this, you should go to preschool again18 -
I've read so many stuff in english that it feels really weird to read something in my native language(german). Especially when they're using german words in their code:
public Nahrung mittagessen;
public Gast()
{
mittagessen = new Gericht("Wiener Schnitzel");
}
are you fucking kidding me?!10 -
I just noticed programmers can cite Shakespeare in 1 character.
"To be or not to be..." = 2b|!2b = true = 17 -
A man starts choking in restaurant, the waiter yells out "is anyone a doctor?"
On the other side of the room a man jumps up and yells "I'm a vim user".1 -
me: I will major in CS so I can work with computers, not people
narrator: But little did he know...4 -
Look to your left, then look to your right...
All of those devs started out exactly as you are doing now!7 -
So, my last rant here was 3 years ago, and i just signed in again to devrant to post this fucking shit.
There is this guy who is a Project Manager in my office, I haven´t work with him but he sits in front of me and i have to listen to his bullshit almost every fucking day. Anyways, the other day he was talking to some other guy (a PM, also) and he said something like this:
"Programming is the most overrated thing ever, everyone can do it, you could do it, i could do it just googling stuff, i could even replace almost every programmer in this office, it´s the easiest thing ever. a programmer couldn´t do my job even if his life depended on it ´cause they can´t talk, they can´t manage people, they can´t manage their own time, heck they can´t even manage to talk to each other. they´re just a bunch of incels who think they´re important and their job is shit anyway".
They don´t see us as human begins, they see us as necessary evil.
(apologize if i wrote something wrong. English is not my first language)8 -
We're digital plumbers.
90% of this job is figuring out what thing to connect to what thing and then figuring out how to connect them.
Writing the code that goes in-between both ends of the pipe is easy if not trivial 90% of the time.
Meaningful change in this industry is centered around endpoints: contracts, deployments, etc. Nobody needs yet another way to organize and import their leftpad().10 -
<rant>
Freelance employers should learn that a "full stack" developer does not equal "fully proficient and experienced in everything code and comp. related". ESPECIALLY if the job pays less than 6£ an hour.
</rant>5 -
Went to Google Firebase Appfest
Made an App
Selected in the Top 3
Worked on the app further for 1 Month
Published it in the Play Store
Here is the Link-
Fling! Contact Share
Information Sharing Made Easier
Here's the Link-
https://play.google.com/store/apps/...4 -
So here I am in class with just two weeks of knowledge in coding and this douchebag level 300 comes in like, 'Hey i'm a hacker and mid tier programmer and i can see you struggling with your basic code can i be of help?'... so I'm like, 'yh man. I'm a transfer biology student and i don't know a sh*t about coding but i have managed to buid a fine website of just two pages but i would also like to try hacking but first what programming languages do you know?' Guess what......the lil f*cker said HTML. I mean I may not know much but i know that can and will never be a programming language.11
-
Updated goal in regards to my road to machine learning mastery.
Status: new found motivation
Motivational case: bring humanity closer to having 2B become a real thing.
Reason: big booty droids should be a right to humanity.
End of transmission.
On another note, the sony xperia compact is a real nice device, so is the note 8. I would prob go with the note for power but the size of the xperia is more convenient for my taste.1 -
21 lines of business logic (including whitespace and comments)
9 lines of build config
386 lines of tests (and tests for the tests)9 -
POV: You fixed a hairy bug at a FAANG as a:
L3: "You're a technical wizard!"
L4: "Good job."
L5: "Why did you allow this into your team's code base?"
L6: "Why didn't you delegate that?"1 -
it's so fucking hot in here and I've got no work and still 3 hours left to go...just let me go hooome!5
-
Recently bought some programmer T-shirts
made me popular, now I am known as the guy with the cool shirts.one of them has this on it:
2b || !2b ? "2b" : "!2b"
my fav joke now
I use these shirts to make friends and it actually works, you should also try ;)11 -
Okay ..assuming that we're one of them: "the idiots" and we're gonna stop sharing things like that , there are like 2B+ monthly active users on Facebook .. don't worry .. we're just gonna do some simple math .
2B x $1000 = $2000B ...
wait .. what ? But ... nvm ..3 -
I always thought i could use some extra hours a day, but 40 seems a little excessive...
This is also the first time i encountered such a bug in the wild, and i'm way more excited than i should be, hehe.5 -
Changing the native browser scrollbar should warrant the death penalty.
Do not make it narrower. Do not make the colors blend with the background. Do not hijack it its functionality. Do not minimize it until I hover.
I am so fucking tired of websites that think they are in charge of my browsing "experience" and hide or otherwise marginalize the single most useful part of the page's UI.4 -
Step 1. Have no dissertation project.
Step 2. Wait for the last 3 hours till the deadline to come up with an idea.
Step 3. Realise that your just-thought-up project idea is something companies like Google and Amazon are still trying to figure out. But there is no time left.
Step 4: Approach your supervisor with the words "Imagine the possibilities". They respond with "Imagine the difficulty".
Step 5: They sign on it regardless since they are curious to see you fuck up with style, also you are too much in love with your idea already, and refuse to drop it.
Step 6: fml4 -
I have finally decided to stop helping people setup a proper machine learning environment inside of their machines with Proper GPU support.
I-fucking-give-up.
Goggle Colab, EVERYONE is getting dey ass sent to Colab. I DON'T GIVE A FUCK about privacy and shit like that at this fucking moment, getting TIRED af of getting messages about someone somehow fucking up their CUDA installation, and/or their entire machine (had one dude trying to run native GPU support through WSL 2, their machine did not have the windows update version 2004 and he has on an older build, upon update he fucked everything up EVEN THOUGH I TOLD HIM NOT TO DO IT YET)
.......fuck it, I am sending everyone to Colab. YES I UNDERSTAND THAT PRIVACY IS A THING and Goggle bad and all that jazz......but if you believe in Roko's Basilisk then I AM DOING THEM A FAVOR
I work hard to get our robot overlords into function, let it be known here, I support our robot overlords and will do as much as possible to bring them to life and have me own 2b big tiddy with a nice ass android.
I should also mention that I've had a few drinks on me already and keep getting these messages.5 -
Sprint 0: This design is the appropriate amount of engineering abstraction.
Sprint 2: This is over-engineered, too much work
Sprint 5: This is under-engineered, too many edge cases
Sprint 10: This is over-engineered, component Foo could be replaced by a bash script
Sprint 42: Foo is now the cornerstone of half our business logic2 -
WHY IS IT SO FUCKIN ABSURDLY HARD TO PUSH BITS/BYTES/ASM ONTO PROCESSOR?
I have bytes that I want ran on the processor. I should:
1. write the bytes to a file
2a. run a single command (starting virtual machine (that installed with no problems (and is somewhat usable out-of-the-box))) that would execute them, OR
2b. run a command that would image those bytes onto (bootable) persistent storage
3b. restart and boot from that storage
But nooo, that's too sensible, too straightforward. Instead I need to write those bytes as a parameter into a c function of "writebytes" or whatever, wrap that function into an actual program, compile the program with gcc, link the program with whatever, whatever the program, build the program, somehow it goes through some NASM/MASM "utilities" too, image the built files into one image, re-image them into hdd image, and WHO THE FUCK KNOWS WHAT ELSE.
I just want... an emulator? probably. something. something which out of the box works in a way that I provide file with bytes, and it just starts executing them in the same way as an empty processor starts executing stuff.
What's so fuckin hard about it? I want the iron here, and I want a byte funnel into that iron, and I want that iron to run the bytes i put into the fuckin funnel.
Fuckin millions of indirection layers. Fuck off. Give me an iron, or a sensible emulation of that iron, and give me the byte funnel, and FUCK THE FUCK AWAY AND LET ME PLAY AROUND.8 -
Fuck me why do my unit tests pass with garbage input.
I can't go into a long weekend with this shit in my head rent free.3 -
Yesterday my tests caught more typos in copy/paste test cases than in actual logic.
'twas was a decent day.2 -
So there was a 2b || !2b post on here the other day, I created my own version and posted to the developer group at work...
BTW: Sorry about the bright white, can't change the chat background on slack.5 -
my fist job... i get to edit a c++ code written by a (mind you) programming company that they teamed with for the past(mind you again) 3 years ...
now just for starters, this code was edited by self taught coders that are really good engineers(they are really good), that didnt really know how the code worked before yet they still changed it, and it worked, how ever they wanted some changes.
i get the project files, and there is not one single comment describing what is happening... only code commented out... and no documentation what so ever were done....
so below are some of my comments that i wrote after i finished adding what i had to add, and fixing what i had to fix:
/*first rule of C anything coding, no actual functions in the header, well let me introduce you to a fully functioning thread running program all in the header, enjoy*/
//used to control the thread
// i honestly dont know why, but it worked soooooo yea...
// TG uncommented // for absolutely no reason what so ever...
//used to communicate with the port
//the message to be sent to the inverter, which has a code that will handle it
//hmmmmmm...
//again not usefull since we are using radioButtons
// same ...
// same ...
// same ...
// they said they dont even use this mode, but none the less, same ...
// calculate the checksum for the message
// ....
// one of the things that work, and god forbids i touch
// used for the status displayed on screen
// used for the (censored :P) status in the message
// used for the (censored :P) status in the message
// not used at all, but the message structure contains it and i refuse to edit that abomination
// used for the (censored :P) status in the message
// used for the (censored :P) status in the message
// just dont ask and roll with it, i didnt want to touch this
// saaaaame ...
// if before true this saaaaaame ...
// value of the (censored :P)
// it pains me to say it again, but this is no use
// (censored :P) input
// (censored :P) input
// only place seen , like for real it was just defined,sooooo yea :D
// well you know how it is
// message string
// check sum string
/****below from feed back****/
// (censored :P) coming in
// (censored :P) coming in
// (censored :P) coming in
// (censored :P)
/****below is the output to the receiver ****/
//(censored :P)
// (censored :P)
// (censored :P)
// (censored :P)
//you thought we were done.... nope, no idea. it comes in the feedback
// not used, literally commented out the one time it was used
// same ...
// XD, man this is a blast, same ...
// nope ...
// used to store the port chosen for the communication
// is a static for the number of data we have recorded so far, and as a row indicator for the recording method
// used to indicate the page we are on in the excel file, as well as the point in physical point in the test
// same ... oh look at this a positive same :D
// same ...
// same ...6 -
I was given 6 whole months to rewrite some old monolithic web app exactly 5 months ago today. Now I have to show my boss the progress I've made. How do I explain him that I wasted my time in this order:
1.- heavy procrastination
2.- try new frameworks to work with, pick one, start writing the app, regret and start over again using a different framework.
3.- devrant
4.- existencial crisis and self doubt.
Now all I have are a bunch of incomplete buggy modules and a mental breakdown.8 -
!rant
EULA proposition for broke developers with no legal knowledge whatsoever (like me): “By installing/using this software you agree not to sue me.”
??? git good4 -
Oh God! I have a java exam coming up in two days and i'm so not done with my project work for evaluation. Truth is, i haven't even started yet since i was so focused on building up my javascript knowlegde. I'm fucked.4
-
i received a job offer to work at area 51 on extremely sophisticated projects primarily as a c++ engineer. this is the highest pay offer i have ever seen, which i can not discuss right now, but what else to expect when you work for the government. i have bad perception about this. should i take this job or refuse?5
-
I hate application launchers.
When i start an application, i WANT IT TO START. What i don’t want is your bullshit, custom, logo and splash screen infested piece of shit launcher to start up, with the only option of loading a project or file up, or worse than that, when the only option is to start the fucking application, which should have already happened.
Also, splash screens. Fuck your 5second branded splash screen when your cocksucking application has the fucking loading footprint of MS Notepad.2 -
I think U and I should always be together like they are on the Qwerty keyboard. xD
But there's a distance of parallel lines between us. -
Recently briefed a manager that we need to adjust Q2 plans to address the institutional knowledge lost during layoffs.
Yes, I know, write documentation, etc. This is reality, all our shit ain't documented.2 -
horror stories from my old job: we had to ask to get the internet 'turned on' (of course only for a short period of time), you had to disable loading images, because otherwise you'd have to wait for fucking EVER til you could safely move your mouse and: Google had a massive lag when you scrolled. let me repeat that: GOOGLE. LAGGED. I didn't even know that was fucking possible! and the worst part: my old job was at a software dev company. not a shitty IT department at -I don't know- a bakery?! I mean, wtf?! and it wasn't even a start up. and they still exist! how? why?! I'm still not sure how I managed to work there for five months...1
-
Rejected for the job . Out in technical round, though i gave all the correct answers.
Me: seating outside with a down face.🦁
HR: what happened? you seems to bit low .
Me: sir ,got rejected in technical round.🐷
HR: work on mistakes.
Me: yeah sir🦊
Inner me: tell me the mistakes fucker...
Why ? Why? Why?
Dealing with rejection for no reason 🐀17 -
wow!!! it's been long but i had to rant this........My course's teaching assisstant gave me a fricking B in his Interrim assessment all because i used the pow() function in php. He said it's only available in C++ so im wrong about the whole question.2
-
This morning, I tried to abstract myself from my computer while trying to calculate sqrt(1.81).
I came up with what I thought to be a genius method. I tried to find B such as (1+B)^2=1.81. Then I ended up calculating the discriminant of 1+2B+B^2 and had 4*1.81. Sounded funny at first, but upon calculating the positive solution amongst the 2 possible ones, I ended up with (-2+2sqrt(1.81))/2 = ... sqrt(1.81)-1. Upon replacing in the initial equation, one gets (1+sqrt(1.81)-1)^2 = (sqrt(1.81))^2 = 1.81.
I'm sorry for having let you down, dear pasokon. Please forgive me.2 -
You know why I know that Francois Chollet's Deep Learning with Python is a good book for beginners?
He takes the idea of A.I in the context of Machine Learning and Python, and makes people realize that we are not going to have big tiddy android girls from her till McCarthy knows when.
Well that sucks. One of my sole purposes behind getting to AI was to have me own Jarvis that could help me build 2B.
Oh well.......3 -
Having a lot of bad experiences while working as intern in startups and about to join a MNC, i wanted to share my work life balance and technical demands that i expect from a company. These are going to be my list of checkpoints that i look forward , let me know which of them are way too unrealistic. also add some of yours if i missed anything :
Work life balance demands ( As a fresher, i am just looking forward for 1a, 2a and 8, but as my experience and expertise grows, i am looking forward for all 10. Would i be right to expect them? ):
1a 8 hr/day. 1b 9h/day
2a 5days/week. 2b 6 days/week
3 work from home (if am not working on something that requires my office presence)
4 get out of office whenever i feel like i am done for the day
5 near to home/ office cab service
6 office food/gym service
7 mac book for working
8 2-4 paid leaves/month
9 paid overtime/work on a holiday
10.. visa sponsorship if outside india
Tech Demands (most of them would be gone when i am ready to loose my "fresher " tag, but during my time in internship, training i always wished if things happened this way):
1. I want to work as a fresher first, and fresher means a guy who will be doing more non tech works at first than going straight for code. For eg, if someone hires me in the app dev team, my first week task should be documenting the whole app code / piece of it and making the test cases, so that i can understand the environment/ the knowledge needed to work on it
2. Again before coding the real meaningful stuff for the main product, i feel i should be made to prepare for the libraries ,frameworks,etc used in the product. For eg if i don't know how a particular library ( say data binding) used in the app, i should be asked to make a mini project in 1-2 days using all the important aspects of data binding used in the project, to learn about it. The number of mini tasks and time to complete them should be given adequately , as it is only going to benefit the company once am proficient in that tech
3. Be specific in your tasks for the fresher. You don't want a half knowledgeable fresher/intern think on its own diverging from your main vision and coding it wrong. And the fresher is definitely not wrong for doing so , if you were vague on the first place.
4. most important. even when am saying am proficient , don't just take my word for it. FUCKIN REVIEW MY CODE!! Personally, I am a person who does a lot of testing on his code. Once i gave it to you, i believe that it has no possible issues and it would work in all possible cases. But if it isn't working then you should sit with me and we 2 should be looking, disccussing and debugging code, and not just me looking at the code repeatedly.
4. Don't be too hard on fresher for not doing it right. Sometimes the fresher might haven't researched so much , or you didn't told him the exact instructions but that doesn't mean you have the right to humiliate him or pressurize him
5. Let multiple people work on a same project. Sometimes its just not possible but whenever it is, as a senior one must let multiple freshers work on the same project. This gives a sense of mutual understanding and responsibility to them, they learn how to collaborate. Plus it reduces the burden/stress on a single guy and you will be eventually getting a better product faster
Am i wrong to demand those things? Would any company ever provide a learning and working environment the way i fantasize?3 -
!rant
This is fucking how you do it!
Ticketmaster UK had a "data security incident" where they don't really know if any data was actually leaked/stolen/"accessed by an unknown third-party" — their response:
1. Disable the compromised service across their platforms
2. Send a mail to any customer that may have been affected (I got one in Danish because I had only interacted with them through a Danish subsidiary)
2b. All notified customers have their passwords reset and must go through the "Forgot password" process; the _temporary_ password they sent me was even pretty nicely random looking: ";~e&+oVX1RQOA`BNe4"
3. Do forensics and security reviews to understand how the data was compromised
3b. Take contact to relevant authorities, credit card companies, and banks
4. Establish a dedicated website (https://security.ticketmaster.co.uk/...) to explain the incident and answer customer questions
5. "We are offering impacted customers a free 12 month identity monitoring service with a leading provider. To request this service please visit [this page]"
EDIT: As mentioned and sourced in the first comment, the breach was apparently noticed by a banking provider and reported to Ticketmaster on the 12th of April and later to Mastercard on the 19th of April.
Ticketmaster's internal investigation found no evidence of breach (which makes sense, as it wasn't an internal breach), but when Mastercard issued an alert to banks about it on the 21st of June, Ticketmaster followed up by finding the actual breach and disabling the breached third party service on the 23rd of June.
I still think they did the right thing in the right way...2 -
started a dev apprenticeship recently: 3,5 days at work, 1,5 at school. using/learning c# at school. The title of the ebook they offer us to use: 'c# 2005'
wut? -
I work so hard to name things well and yet last year's code is always full of esoteric and misleading nonsense.2
-
Our #bigtech repo is like 19 billion LOC so how am I the first one to try to do simpleThing with obviouslyRelatedThing?
My search foo yields nothing and I fear its not supported yet.
fml4 -
Windows apparently does reboots for updates n stuff outside your normal time of usage nowadays.
Windows apparently also thinks that your normal usage shouldn't be over 12 hours.
So now i have to decide if I'm more in the mood for random updates in the morning when i need to get shit done (ugh) or at night when i have finally time to relax. -
i'm trying to figure out how to work this;
The element now has an id of thumbnail. With this selector, use the example CSS values above to place a box-shadow on the card.
this is the css values;
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
and this is the code i used;
.thumbnail {
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
but it's mot working on the fcc site.2 -
!rant
kind of annoyed though
'We at microsoft have taken the same approach with words as with your system resources. We do so little with so much.'
This is worse than Apple's bullshit advertising. -
Effective 1:1s are perhaps the most important soft skill that no one teaches you.
The HR onboarding section for 1:1s is only chapter one. But your manager won't teach you, your skip level won't teach you, and your mentor won't teach you. At best one of them even has an effective 1:1 skill set.
90% of 1:1s become operations: What went wrong this week and what needs to happen next week. Basically a private standup.
You attend 1:1s all year and yet somehow your manager doesn't know the difficulties you overcame, what you'd like to change, or how you're pushing yourself to grow. Then you get re-orged to a new manager.
If like to meet someone with effective 1:1s *and* low job satisfaction.3 -
Haven't had one, won ATT open hackathon a few months ago got 1k, then won the recent ATT invitational hackathon in Vegas, got 20k. Ez money boiz.1