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 - "tr"
-
Reinventing the wheel can be very valuable. Even if you don't create a better wheel, you'll learn a lot about how it works, which can really help you out in the long term.16
-
This is when writing a script that sets up your dev environment pays off...
Having 6 new employees join our startup. The script installs pretty much all dev tools and apps as well as sets up the device management profiles. 😎24 -
Brain: hey kiddo, want to stay home and work on your side project today? I'm feeling good.
Me: fuck yeah finally!
*call in sick.
*open laptop. Tabs and editors already waiting.
*play music, no sound.
*system is all laggy.
*fuck, restart.
*
*Installing windows updates...
*leaves for work.18 -
Pm: Can you make a prototype in 3 weeks?
Me: Sure, but just for the sake of demoing something to the customer. It will take more time for production ready code.
(3 weeks later)
PM (to customer): We can sign you up today and you can use it tomorrow.
Me: 🙄🙄🙄🙄🙄6 -
My experience with Adobe...
(I recently moved to Canada)
Me: I want to give you money. (Tries to pay with Canadian card)
Adobe: Sorry, you have a US account, you must use a US card.
Me: Okay, what are my options to pay with my Canadian card?
Adobe: We have to delete your US account and create a Canadian one.
Me: Okay... Why can't you just switch the country from US to Canada on my account?
Adobe: *bullcrap response*
Me: Okay, delete it and transfer everything.
*Kicks me out of the chat.
*I log back in. Try to reconnect to customer service chat.
Adobe: AdobeID unable to participate in chat.
*I'm 30 minutes into this ordeal
Me: (to myself) I could literally torrent this program in 5 minutes 🤔
Lesson: if a company wants people to not torrent their software make it easier for a willing fucking customer to buy your software!
Since the chat doesn't work anymore, I called customer service and am still on hold.... 😤😤😤
Why does the internet have borders?11 -
Css is most definitely a woman who's mad at you but won't tell you why.
"What's wrong? what did I do? "
"Nothing..."8 -
API Guy.
He has a serious regex problem.
Regexes are never easy to read, but the ones he uses just take the cake. They're either blatantly wrong, or totally over-engineered garbage that somehow still lacks basic functionality. I think "garbage" here is a little too nice, since you can tell what garbage actually is/was without studying it for five minutes.
In lieu of an actual rant (mostly because I'm overworked), I'll just leave a few samples here. I recommend readying some bleach before you continue reading.
Not a valid url name regex:
VALID_URL_NAME_REGEX = /\A[\w\-]+\Z/
Semi-decent email regex: (by far the best of the four)
VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
Over-engineered mess that only works for (most) US numbers:
VALID_PHONE_REGEX = /1?\s*\W?\s*([2-9][0-8][0-9])\s*\W?\s*([2-9][0-9]{2})\s*\W?\s*([0-9]{4})(\se?x?t?(\d*))?/
and for the grand finale:
ZIP_CODE_REGEX = /(^\d{5}(-\d{4})?$)|(^[ABCEGHJKLMNPRSTVXY]{1}\d{1}[A-Z]{1} *\d{1}[A-Z]{1}\d{1}$)|GIR[ ]?0AA|((AB|AL|B|BA|BB|BD|BH|BL|BN|BR|BS|BT|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}))|BFPO[ ]?\d{1,4}/
^ which, by the way, doesn't match e.g. Australian zip codes. That cost us quite a few sales. And yes, that is 512 characters long.47 -
I'm building a website for a new company and the boss doesn't understand technology at all. says he doesn't want me using any html because it is old and I have to use python because it's a 'hot language.' I try to explain that html is for websites and he replies 'not mine.'19
-
Reviewing coworker's code:
Me: I see you're doing a convoluted sort for every element twice to get your two lists in sync... 😐
CoWorker: Yeah. *straight face, no regrets* That's the only way to do this.
Me:... Uh... No? You can just manage one list with a simple struct and then use the the standard sort.
Coworker: Yeah sure I know. But it'll take time. We don't have time.
Me: *aghast* This is embarrassingly bad code!
Coworker: Don't worry, later on I'll use a hashmap for it. But this needs to be pushed now.
Me: *to myself, no you don't need a hashmap*
Okay, you do you but I can't back you on this. It isn't going to take a lot of time to correct it.
Next day.
Coworker: Hey can you review my code again?
Me: You've made the changes already? *in a bored tone, knowing that they wouldn't have changed shit*
Coworker: No this is a different file. Our manager agrees that we can worry about performance later.
Me: Sure. *😀🔨🔨*
Few weeks pass by:
QA: The operation takes absurdly long time to complete even with the smallest data. Ten minutes for X is unacceptable.
Me: Who would've known? ☺️21 -
when you had to maintain some stranger's shitty codebase, and you couldn't resist looking up his name on LinkedIn, then you found his profile which says he is a Rockstar coder8
-
My internship at startup:
Dream: Lots of coding
Reality: Maintaining Excel sheets for API functions.😑14 -
I hate how people think that to be a "hacker" or hacking is this special job title. lol. Hacking is just using something in a way in which it was not intended to be used.
So pretty much think ...anal sex.
There. Now many people are "hackers"6 -
QA: Please Look at this Defect.
Me: Okay not a problem!
QA: Thanks
Me: <Starts to look at Defect>
QA: 2 mins later. Do you have an ETA on when it will be fixed?
Me: Not yet, I'm still looking at it.
QA: Do you know what time it can be fixed? I have a deadline.
Me: I don't know what's wrong yet, I can't tell you when it will be fixed if I don't know what's wrong.
QA: Okay. Update Me.
Me: Opens Dev Rant.5 -
Me: *reinstalling windows10 using the recovery disk.
"Your partitions will be reformatted if needed... warnings this, that... Continue?"
Me: do it already!
"Recovering... 1%..."
.
.
"Recovering... 1%..."
.
.
"Sorry cannot recover. We didn't change anything."
Me: *reboot
.
.
.
.
"No bootable drive found"
YOU MOTHERFUCKING LIAR! *throws away the thumb drive with the laptop attached out of spite22 -
I... I can up vote a post? Without having at least X points? Psh, this place is way better than Stack Overflow.3
-
I went on an interview was given an algorithm to solve, solved it in 30 mins and they had allocated 20 mins for it. So I guess I suck. I build shit, I don't do algos that often so I'm obviously rusty.
interviewer: so why should we hire you over a CS graduate.
me: cause I can get shit done.
... akward silence
interviewer: what do you mean by that? like html and CSS?
me: as you can see, I have built large scale real-time web apps with React/Redux (the stack they supposedly use and the position they're hiring for!) the knowledge I have is practical, it can't be learned from books, and it can't be learned from a course. Only building, breaking and rebuilding over time will teach you this knowledge. So essentially a CS grad, who hasn't committed the same amount of hours as I have, can't possibly match me. But they probably can better explain the real world applications of using linked lists...and won't have to Google what Pascal's triangle is like I had to....
interviewer: I see. we will be in touch.
lol well I guess they'll be in touch..9 -
Drivers across Operating Systems.
Windows: What the fuck is any of this? Here's something minimally functional.
Mac: That's not made by Apple, fuck off.
Linux: Here you go, have fun if you're missing functionality!3 -
November 2022
*Wife*: What do you want for x-mas? A new phone maybe? Yours has lived through a lot already - perhaps it's time for an upgrade?
*I*: Naah, thanks. My trusty S7 still works incredibly well. I also have all those 2FAs set up there and stuff I'm too lazy to transfer over to a new device.
*Parents*: What do you want for–//–
*I*: Naah, thanks. My tr–//–
*in-laws*: What do you want for–//–
*I*: Naah, thanks. My tr–//–
*Siblings*: What do you want for–//–
*I*: Naah, thanks. My tr–//–
January 2023:
*My phone*:5 -
So the company I work for had a critical project they needed done in 8 days.
We told our boss it wasn't possible because of the scope of the project but he went on with motivational speeches about how anything is possible. So he hired 12 devs for 8 days.
The scope of the project is already big enough but everyday upper management either add 10 new features, modify 2, or delete some already.
We basically sleep 2 hours a day and today is the last day. 5 minutes ago we just had a meeting that we're supposed to change a core feature. We don't even have a stable system yet and everyone is fucking pissed.13 -
Was asked to make an e-sign system that manipulates PDFs to insert an image and the date at different coordinates on x number of different pages.
200 hours later, it was done. Now I'm the PDF guy2 -
Writing a tic-tac-toe player in Prolog. So much fun solving a problem with only rules and no loop control 😍2
-
My most intense day as a dev was when we had a product announcement day (with 70 engineers from dozens of companies invited) and the night before the app still didn't run all of the way through.
My team and I worked all night and had our first successful run-through at 10am when the announcement presentation and demo was at 1pm. All I can say is that I didn't breath when that demo was running live... But it worked flawlessly.
After that experience I realized that I had enough of non-tech management setting unrealistic deadlines, quit that job, and am now helping to build a startup. It has been so much more fulfilling and now I set the deadlines. 😎7 -
Avicii died. 😞😢
At just 28.
He got me through some tough and grueling times. I still use his tunes while coding. I'm still shocked that he left so early. But he made it count. He might've lived short but he lived large.
I'll miss him. I'm sad that he left so early. But his work will live on. I hope to become as good at programming computers as he was at using them to make music. His music was perfection. RIP.11 -
I really hate these "an error occurred" messages, guessing I'll talk with IT later today.
Meanwhile, the dialog should show1 -
TL;TR
My mum just came to me asking me why the mouse is not working ...like I'm GOD of electronics :( (I'm just a simple dev) I simply though that the battery is dead because it's old. Soooooo.....
I showed her how to open it and how to change the battery. After 5 min she came back with a new battery and the same mouse asking me to fix it for her....
In my mind I literally snapped my brain was bleeding and exploding at the same time.
I just cringed a fake smile and changed the battery in front of her very slowly. I sure she won't remember how to do it next time.
At the end of the story I can't talk back or be angry to my parents I have to much respect for them. They though me everything from how to poop, speak, dress, eat and so on.
Be kind to your parents.5 -
Oh yeah that shouldn't take too long right? I mean it's just the front end.
No shut your fucking dumb ass mouth up. It will take long. The front end is very complicated, and your stupid fucking ass who couldn't learn to code is in no position to estimate how long it will take. Do us all a favor and stick to the "business" side. Fucking incompetent idiot.
If you're not a programmer, when it comes to estimating how long a task will take. Just shut the fuck up. Just cause you work in this industry does not qualify you to estimate a task. Just shut the fuck up.1 -
*Presents finished product to client
Client: We won't pay until you add this new feature that was never in the original specs.
*One week later after adding new feature
Client: Uhh, actually there's something else we want, do that then you get paid.
😬😬😬😬😬😬😬9 -
Just found out that Microsoft Edge sends unbelievable many requests to the Server if you keep Holding Ctrl + R (Reload site)
Don't tr it at home haha
Now i got temporarily blocked on StackExchange (for About 8 h):rant meme too many requests msedge memes stackoverflow error stackexchange microsoft requests ms edge edge micrososft edge8 -
I been seeing spam on devrant lately. It is usually a new account which only have 1 rant (a spam)
Maybe devrant should include some kind of "Are you a developer captcha" which make you fix a bug before creating an account.17 -
Before I get too fat, the "Hour of Code" concept it's great, trying to get kids interested in programming
That being said, why on earth do they use fucking drag and drop programming? I would argue Python is easier to learn and infinitely more useful, and this is coming from someone who can't stand Python.
So far the only thing that I can think that the Hour of Code achieves, with drag and drop programming, is people possibly getting into Scratch, and fuck Scratch.5 -
I got a bug report with a typo in it. The subject read "...action X takes long time thank expected."
The thank is supposed to be "than".
I chuckled and immediately created a snapshot that shows the result of the action and the success message says, "Action successful, thank you for your patience."
I shared it with my team but no one even acknowledged it. 😞2 -
Several minutes waiting for site to work after clicking on "required cookies only". Is this really what privacy laws were aiming for?19
-
I hate the idea of a programmer's day.
I like the logic (256th day) but hate the idea.
It feels full of bullshit. It feels fake.
I guess it had that wannabe impersonator vibe to it that makes me nauseated.
I have similar feelings towards other kinds of such days.7 -
To get myself into a better relation with golang, I started working on an electronless, cancer free, cross platform lightweight slack client.
I will be using the Fyne UI lib, and am already in love with it.
So far my mockup UI compiles into a fully portable >20Mb binary. the netcode shouldnt take any more than that, hoping to end up with a ~50Mb project.
TL;DR:
- theres gonna be a lightweight slack client available at one point
- fyne is awesome, get it at https://fyne.io/8 -
It will never stop happening... people who don't know shit about code, assuming some conclusion and giving their opinions on software.3
-
Applied to a Jr. Dev job and was hired as a Digital Marketer — I can deal with this, I’m AdWords & Analytics certified. What I can’t abide is that I spent the last year working my ass off learning to code and the person next to me with the Jr. Dev position only uses DIVI and has zero inclination to study, learn or write basic HTML & CSS—much less PHP. I’m not an expert by any means but I love programming, I love the problem solving, the challenges and the culture of it all. So far, and these are only two examples, I’ve shown him how to use the target attribute to open a page as a new tab, and how to register a nav in the functions.php file to create a menu but he is unwilling to even attempt it. Rather, he told me that I was too technical and that no one would be using code in this day and age.
For the record, I think DIVI is a cool platform, it’s clear that my boss knows nothing about code to be fair and I love my job— this is my only issue so far😂 I just needed to rant.5 -
Slapping idiots around.
This needs to be a trend.
---
Actual rant :
I'm sitting in this idiot haven completing my mandatory hours doing nothing. Earlier I would spend this time learning stuff but I'm too fed up to do anything. This place is driving me mad and just today I had to suffer through more madness that is blocking me from resolving a bug.(I don't have the license to run the product I'm supposed to be fixing)
The number of inept idiots is too damn high. I try not to be bothered but I can only try so much.4 -
To any and all family members, before requesting my help with the printer/computer/electronic device follow these steps to make sure I don't get irritated.
1. Make sure it's plugged in.
2. Turn it off then back on
3. Turn it off, unplug it for around 30s, turn it back on.
4. Request help
Why is this so hard to grasp? I don't want to stop my workflow with an issue that could be resolved in less than a minute!1 -
Every time I have to recall how to LaTeX, it's a huge pain in the ass. It's like learning to code in Greek (I don't know Greek). Happens every single time (it can be months before I need to use it again).
However.
Every time I finish my creation, I fall in love with LaTeX all over again.5 -
Fuck having to optimize newsletter for fucking outlook which uses Word engine to render html newsletters.. Microsoft, what the fuck bro?17
-
Telling my mom how to do computer stuff is like programming, I need to outline every fucking step. Yes this includes file management.1
-
Apple app signing and certificates: how do people even circumvent/hack these things? I'm hardly able to do it legit.4
-
Don't you just love it when you have to debug someones years old project, who left ages ago and you see1
-
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 -
Now my facebook messenger app does it's updates inside the app without my consent to install an apk.
I'm scared6 -
'Hey I found a bug in your code, it's probably a typo, see here.'
Me: Oh right, yeah. How stupid of me. Thanks, I'll push it.
'It's okay. You can push it or I can do it too after you push the changes we just discussed. I actually simplified one of your methods.'
Me: You, what... ?
(You crammed multiple lines in a single line with your stupid as fuck, rigid constructs, removing my error handling, loosely coupled service, in the name of simplification?)
' Yeah it's just four lines in a single function now, no need to call the function again and again.'
Me: (No... Just no. This totally undos whatever little I could do to avoid supporting your idiotic object in the first place.)
Oh... okay, we'll see. I'll let you know.
What life.
Life in a company full of ignorant, inflated egos is no joke.
Details:
I created a service that reads a configuration file and returns the configuration. This person needs five entries for his app logic. He collected them in a object. Quite alright. Except that the class prototype is shitty. I, like a normal person, made my service return a value based on input. I was asked to incorporate this awful object so that I can return the five entries together, which is awful because the service is not supposed to know about how the entries are clubbed. It should most certainly not know about the data members of the object!4 -
Here we go....
At our school we had different industry people come in and talk about whatever they want to.
My last presenation for the day is on 3D modelling in Game Design, and of course we have middle school kids being generally loud and obnoxious.
Some fuckers are being exceptionally obnoxious, and the teachers decided, in their infinite FUCKING wisdom, to stick them in front of a table where Juniors and Seniors are sitting, minding our own buisness.
Of course, the fuckers decided to continue being obnoxious and despite my request to keep it down, and another Senior's direct approach to tell them to shut up, they continue being disruptive.
At one point, a teacher, again using INFINITE FUCKING WISDOM, decided that instead of removing the fuckers from the room, put a Senior in between them, hoping that that would somehow keep them quiet. Yes, the fucking preschool level attempt didn't work.
Eventually a teacher concluded that the fuckers were pissing us off and removed them from the room. Thank fuck.
That feels much better, excuse me as I need to reinstall an OS on my desktop since the Universe seems to fucking hate me today.undefined presentations shut the fuck up grow the fuck up fucking immature assholes the universe fucking hates me today -
Company's HR team has launched a eco drive. As part of the initiative they're asking everyone to use only one tissue paper (among other things) to save trees.
.
.
So they've printed that message on thick glossy papers and pasted them, at least four per washroom among other places.
Okay, I guess.8 -
Family expectations from an engineer in India:
Go fix the ceiling fan, it's very slow these days.
😖1 -
What the fuck is wrong with Google?!!
Trying to log into Gmail.
Forgot password.
Gmail: To reset, code from authenticator app is required.
Me: Super. Good thing I set it up.
Enters code.
Gmail: Recovery email.
Me : Uh... Forgot that too.
Gmail: Some email address to communicate.
Me: Super!
Enters some other email address.
Receives mail with a link.
Me: Finally!
Opens link
Gmail: "When did you create your account?"
Me: Uh... If I had that kind of memory, we wouldn't be dancing right now.
.
.
.
Gmail: Sorry we couldn't verify you.
WHAT THE FUCK, GOOGLE?!
What sort of sadist play is this?!
Dropped them a mail to get access back. Got a link in the auto reply that explains how to repeat the above process. WTF?!
What the actual fuck?!10 -
For some reason the backend kept throwing errors when I tried to save a long string containing markdown. Initially I assumed I must be escaping things incorrectly but that all looked fine. Asked the backend guy to take a look.
Turned out that in order to count the number of words they were using a regex, which seems fine, unless you construct the regex out of my string and run that over the word count regex... 🤔 -
Brought a stressball into work today (not a devrant one) and it popped within 10 minutes, of course causing more stress.
-
My password manager!!
I use passwords I can never remember, stay logged in, next time I need to log_in I use the passqord forgotten button, reset it with my e-mail or better phone2 -
IT Dept creates an update installer with a Message of "Your computer will restart now to install updates" with only an OK button when your in the middle of work with multiple apps and windows open...
1. Kill Process
2. Resume Work6 -
How surprising is it when a person designs code in a very clear and impressive structure and just when you think about asking them for guidance, they reveal themselves to be complete turds?
I've been working with this person's "infra" code, at work. I've rewritten some classes to use their infra. I had a vague idea of how the classes work. I had no idea of how their code works. Expectedly, there were some issues but now only minor ones remain.
I asked them for a description of what I'm supposed to do for the few bugs I'm facing. They replied in such a condescending tone, it made me want to punch them through the screen.
Almost a month later, we're still going back and forth with emails. I've been swallowing it and responding calmly. I never got direct answers. Always deflections to irrelevant things or veiled insults. I took it because they did correct one silly error of mine that actually my code reviewer should've caught. (What's worse is that it got introduced by me just before my review and commit.)
But does that give them the right to insult me in front of the whole team including my project manager? I got a reply today from them with everyone of note in cc implying very clearly that I have not done any work. They highlighted a line from my code with some todo tag (that was not meant for them) to make their invalid point. A line that's unrelated to the bug I asked them about. This is after I proved them wrong when they insisted that I had done something wrong about a feature related to the bug.
If you don't understand what I asked for fucking ask me to ask again. But do not fucking try establish yourself on higher ground by pointing out irrelevant things in my code.
I was shocked and enraged that they'd do such a thing. I double checked everything like a mad man. Despite knowing that the fix has to come from them, I was instantly transported to the noob stage, grasping at straws. I wanted to send a really scathing reply right away but my manager asked me to wait.
My mind is now a see saw shifting between a panicked noob questioning every fucking thing I ever did in my nada life and a hungry enraged monster looking to maul that fucking shithead for burning me like that.1 -
Looking at some new dev tools I spotted this gem:
"If install fails, keep trying to install a few times."
Thanks for the tip!1 -
Student Account Password at the university. No changes the default. It's their DOB and first two letters of the name.
Injection steps:
Open Database ( I am the Placement Representative )
Copy DOB
Paste
Add the first two alphabet
Unlocked3 -
Just going through some old code from git repo's and code examples and I have a message to every dev out there after seeing some of the code quality...
Never... ever... ever fucking give variables with names like vx, tr and sq.
Give your variables names that explain what they are, it is so fucking hard trying to follow code that has 2 letter variable names and there is a special place in hell for you :-)3 -
For everyone here who already fails at css, I have some bad news for you.
CSS-4 coming to a browser near you!
https://www.w3.org/TR/selectors-4/7 -
Why do humanity collect things that they will never use? More importantly why do I have many ebook that I will never read?3
-
Older tech support story, but still a frusterating one.
Sister was running Windows 8.1 (ew) when Microsoft was ramming Windows 10 down everyone's throat.
Her laptop decided to update to Windows 10, and after waiting awhile, she decided to unplug the laptop's battery and power chord.
This did what you expected, corrupted her install, leading to a bootloop. I then got to deal with that to try and recover it.
Once I got into the recovery mode, it wanted her password to restore from a system image, guess what she forgot?
She tried her PIN, and gave up after a few attempts, and I got to reinstall Windows for her.
Lesson learned from this? If you're the IT person of the house, make sure that you have an account on all machines that you may administrate. That way you don't need to deal with this shit.1 -
Guys, a company's HR mailed me for a position that requires strong experience of ">3 years in Python with C or C++".
Does it mean Python and C/C++?
Or do they need someone who is using C/C++ to write Python?
I have some experience with adding Python support to C++ code. Does it count? 😁8 -
!rant
In relation to https://devrant.com/rants/1643249/...
The tree has started!
The lovely pycairo package was super easy to pick up, and I made a rather shitty looking fractal tree with it!
Next step is to figure out a color scheme I like, and to make the tree look more natural/better.
It's happening guys3 -
If anyone looking to start learning blender because of any reason (like being a masochist among others), check out blederguru's tutorials.
The guy is doing God's work. At least animation Gods. Funny, awesome & detailed content. -
How many of you wear shades at work?
I started doing it after I faced some problems due to the extremely bright lights. It's such a complicated problem that no one in the management or admin team can do anything about it. 🙄12 -
YouTube if you want to monopolize the browser at least make it right.
You told me that my browser is not supported and I should "update my browser" and when I click the link , you said4 -
Anyone else annoyed by their scumbag brain that is hard to please but gets content easily?
Or is it just me?2 -
I met my crush last day, she is a junior from the same college, everything was fine until when she wanted to find a recharge shop to recharge her phone. I opened PayTm(One of the Mobile Wallet here in India) and said I'm doing it.
Her reaction : What ? How ? You can do recharge right away from your phone ! wow !
I lost my interest on her :(
She is BTech Final Year Student
Tragedies2 -
Spending the day sending emails back and forth with your client because they can't be bothered to prepare a single overview of what properties the endpoint expects, and instead expect you to piece it together from 6 PDFs of which at least 2 contain contradicting information, another is outdated, and the last one seems to have been exported from word and is missing half the content.
Fun times! -
a contract designer came in usually one hour late with headphone on playing b-box music, who took a nap on his desk almost everyday before his contract ended. later, he took on a creative director gig in another startup1
-
I will never understand why my university is requiring me to take upper level physics. I understand the need to understand electricity and circuitry but this semester has been mostly quantum and I don't see how this will apply to development.9
-
Design and make an easily repairable laptop so I can graduate.
Figure out how to use blender for 3d modelling
Move the majority of software use to open sourced software.6 -
My life was troublesome today, had to help a non programmer to run jar files.
The jar executed well from command line in Windows 10 but didn't work on double click.
Did all the tricks, registry edits, cmd commands and at last I found a miracle tool called Jarfix.
Just double click and all okay.
The root cause of the problem was 7zip.
This bug is reported in the Oracle bug reporting and they have closed it as " Will not fix" low-priority report.2 -
I lose motivation to do anything today.
I don't want to watch movie , I don't want to eat , am I facing a different form of burnout or am I depressed?
I hope I will be feeling better tomorrow.6 -
Been at it inconsistently for two weeks and a few days now. Hitting approx 30 wpm with dvorak! Starting to slowly integrate it into my daily work. I'm on my way to becoming ambitextrous. 😎8
-
ERROR [SUCCESSFUL ] org.scala-sbt.ivy#ivy;2.3.0-sbt-cb9cc189e9f3af519f9f102e6c5d446488ff6832!ivy.jar (13350ms)
I have a Successful error.4 -
Well fuck. This laptop was nice, then the hinges decided to remove themselves from the mount points. Also a metal side rail mananaged break as well...
Anyone have good suggestions for laptops? Prefer machines with a distro of Linux on it, but not afraid to install8 -
Started off in College learning the basic Java and C#. That was enough to land my first internship, during that internship I'd go home each night and teach myself whatever I needed to know to get through the next day.
Within a year I became the project lead on an API for my groups application.
1. Fake it till you make it.
2. Act like you've been there before.
3. Never stop learning.1 -
I just have a weird dream.
I am talking to a person and I enter into a dream land for a few minute (I think it a few minute) since I am really tired.
The weird thing is I am still having a conversation with the same person in my dream about the same topic. Now I am awake and that person doesn't notice that I was asleep (Good job my unconsciousness,good job my auto reply system).
Now here is a problem.I cannot distinguish the dream from reality and the detail of the conversation merge together. For instance I don't remember what is the correct price of the item since the price of the item differ from my dream and real world. The price of the item may be 2000 or 1800 , which one is it?
There are also various details which merge together.2 -
Buy dell, hp, lenovo and any other craptop company out there and fire all the numbnuts working there so that they slowly die of unemployment in the fucking gutters where their useless asses rightly belong. Oh and castrate them too so that they don't reproduce.
I'm considering going full Lannister on them but that might be too harsh.5 -
How do you guy (think of) prototype UI?
I have used the pen and paper approach but when you add the interactions such as clicks and animation on the paper,it become messy.
I feel that coding up a full blown front end for prototyping is overkill. Because when you want to prototype the list , you also need to insert the dummy data in order for you see probably clicks and drag animation.11 -
Still waiting for that confirmation email. Multiple resends and still nothing. My inbox has nothing from devrant. Now I can't ++. I want to ++. Seems like I can't have anything I want at all.
.
.
.
.
That's old. I deleted and created my account again but the rant was still saved so I thought why not start with it.8 -
My office WiFi is freaking fast upto 25mbps, should I download Torrents using it. Is there a possibility that corporate networks are under more surveillance ?7
-
Some things never change
> Have to deploy only one feature to production
> Create branch from latest tag, cherry pick the correct changes
> Mess up merge
> Almost deploy resulting broken code to production
> Realize at last moment
> Let out a loud sigh, start over
Every damn time.4 -
Sending a request to link accounts.
Response: {
errorCode: 200009,
errorMessage: 'Accounts Linked'
}
Wait what? So I checked the docs and this is actually how it is supposed to work... >_<1 -
Did I get old or did I just finish plucking all the low hanging fruit?
When I started on a programming journey about a decade ago everything feel exciting and I learn a lot of things per day (variable,loop,method,class,---etc)
Now a decade later I am more concern with the overall system design,algorithms usage (Big O Notation),how reliable the system it,and how the configurations are set up and how easy is it to change them.
I now notice that I don't really learn anything learn new.Everything feel the same.
Want redundancy? Use more server
Want faster performance? Make a parallel system.
Want program to run on low end device? Think about how memory and storage will be used in system.
Is this a stage everyone went through like puberty? or I am just having a mid life crisis?
PS : I haven't even reach 30 yet but I feel too old.4 -
Funnily enough my initial experience with Java at uni dampened my enthusiasm for programming I had harboured as a kid. Discontinued the course and studied something else. Cue three years later; took an elective programming in C and some other coding subjects and fell in love with coding. Ended up writing code for my bachelor thesis, lots of free time coding, teaching the elective I had taken only a year before, and now it's my job and I love it. :)
-
I am fairly convinced coding in a non dark mode editor will slowly ruin your code due to excessive exposure2
-
Trying to get away from Gmail, anyone know any email providers that respects privacy? Would prefer IMAP/POP access and an option (can be paid) to use my own domain.
Currently considering paying for ProtonMail.28 -
We came across a bug that only manifested itself in Edge if, and only if, the developer console was closed. Which we only discovered once it went live since during testing we always had the console open to monitor things... D:2
-
Coding is like drinking.If you code too much you get muscle pain (hangover) the next day.
I am having a muscle pain but I still want to code.19 -
Scott Meyers.
He's just amazing. The way he thinks, he teaches, is absolutely wonderful. He's inspired me on many occasions.
Herb Sutter.
Absolute beast of a programmer. His guru of the week series is a simple but effective way to communicate concepts and techniques in a language.
There are a lot more - Scott Hanselman, Martin Fowler, Andrew Koenig, Andrei Alexandrescu, Barabara Moo and many more.
They remind me of why I chose programming. It wasn't for money or fame, just to solve puzzles in cool ways. It's the way you can take a simple concept and apply it to great effect that brings me joy and these people do it relentlessly.4 -
I've been meaning to sign up on dev.to for a while now.
Finally started the sign up process. They require you to agree to follow their code of conduct which states that they will prioritize empowering the marginalized communities and in order to do that they will *not* act on complaints of reverse-isms. Reverse (sexism | racism), cisphobia, etc.
Am I the only one who thinks that this is wrong? I'm all for empowering people, tolerance and not getting trolled but outrightly rejecting complaints on topics that seem politically incorrect sounds superfluous to me. Am I interpreting something wrong? (I hope I am because in general I find the community to be nice and positive)3 -
Woke up in the middle of the night, got an idea , write an idea into notebook , went back to sleep.5
-
Last rant update:
I won't have to take a leave after all and won't have to force myself to a wasted day full of useless awkward interactions or roaming around in a park.
Phew! -
Surprised noone has yet preached the amazingness of this font here.
https://tobiasjung.name/profont/15 -
Weekly drama call 1.
(the number reflects the devrant broadcast count not the actual count).
We work with a remote team and the project manager there just loves to talk. It started as something adorable(?) but it's just plain annoying now. He keeps on talking and talking and talking. We just muted him, had a good laugh and missed nothing. Nobody has any idea when he'll stop.
:/
.
.2 -
It's too late for this but I just realized it so I'm sharing it anyway.
How do I get through tough dev days?
Depending on how tough it is going :
House music
Soundtracks for focus
Soundtracks for action (any Assassins here?)
AC soundtrack with chocolate.6 -
Hi. I am new here. I have a question. I have been using window my whole life until now. I want to try linux now. Which one best? And is there any place where i can get all info(installion n all) about it....15
-
idk why, but why focus so much on internal stuff that never will be public...this is also my favorite quote1
-
Finally I have something decent for my résumé.
I was going through some LaTeX hell before someone started a cv tools discussion. It was good to learn that json cv is a thing. But it was too late for me. LaTeX posed a challenge and I was bored. It became personal.
After a lot of kicking around and landing on XeLaTeX, I finally have a decent layout. I had to compromise a tiny bit but that's on me for having little content.
(I wanted a graphic résumé but I'll need to do more to sufficiently fill a page. Besides I'd need to design icons and shit for it.)
Now it's done and my job hunt can start!3 -
A dedicated team has built an "infrastructure" for creating UI for c++ developers in the company. What looks like a poor attempt at recreating what Microsoft did with XAML at first glance, it actually is a horrible exercise in force feeding people the stinking pile of shit that their code is.
The idea is to make it easy to create UI for developers who aren't used to front end development. They should just need to declare the layout. Very noble.
But.
If you want to do anything more than show a checkbox or a radio button, if you dare to define relationships between the UI controls or worse, if you get ambitious with creating a simple UI that uses a lot of similar controls and similar relationships with dynamic content... be prepared to eat your own barf from eating too much of their shit.
Not only do you now need to write front end code (including JS among others), you need to do it with limited or poor support and you have to make sure that it sits well with the house of moist, crumbly cards the team proudly created. Or resort to some very stupid and performance costing "bypasses" that further cripple your application code. Usually you have to do both of these things.
To think that scores of other teams have welcomed this amazing enhancement with full support without any resistance. It's sickening.
I waste too much of energy (and good jokes!) with these people.rant poor infra complicated as fuck punch holed abstractions we do what we want brain farts materialized in code no brains needed4 -
I know it's old but it happened again and I had to waste a few minutes because I couldn't disable the bloody task this time.
But using psexec tools worked.
Guess micro and soft describes their ux team.
Look at the balls on their micro cocks. "Heads up". How dare you scare me like that on *my* fucking machine that I paid for, god dammit.
"We're going to make Windows better...". Can it suck my dick after updating? Because I'd like to choke the retard genes out of it.
The only thing that comes close to it is the fucking swiping keyboard that I'm using to type this rant. -
Salesforce Lightning Component
I am creating a salesforce lightning component to list the leads of the current logged in user.
I have managed to write the following code, but when i add the component to the page, and preview it, I dont see any leads.
<aura:component implements="forceCommunity:availableForAllPageTypes" access="global" >
<div class="slds">
<table class="slds-table slds-table--bordered slds-table--striped">
<thead>
<tr>
<th scope="col"><span class="slds-truncate">Company</span></th>
<th scope="col"><span class="slds-truncate">Annual Revenue</span></th>
</tr>
</thead>
<tbody>
<aura:iteration items="{!v.leads}" var="lead">
<tr>
<td>{!lead.Company}</td>
<td>{!lead.AnnualRevenue}</td>
</tr>
</aura:iteration>
</tbody>
</table>
</div>
It will be great, if someone could tell me what is that I am doing wrong. Visit here! https://goo.gl/7jNnWu
Thank you3 -
Pretty recent one. I found that I can use Perl to edit files using a single cmd line (with regex search and replace). Loved it.
-
Is there is an extension in VSCode where the ";" is added (when needed) if the file extension is for the programming language which support ";" ?
I been switching back and forth from the python and C++ and my sub-conscious is killing me.
Now it's a C++ I need a ";" , moment later I am coding in python and python don't need ";" .2 -
Worst disturbance? This person who sits behind my back. I've gotten used to them not minding their own business and snooping into mine but to counter that they've taken to distracting me and others all the time.
Sample this incident from just a few moments ago (inspiring the rant).
Me: *debugging while listening to some ambient music channel
Them: *rushes to my desk, putting a hand behind my back
Me: *politely takes off headphones asking, What?
Them: *after peeking at my screen, nvm, I'll tell you later, I have a meeting to go to.
Fucking hell, idiot! It already takes me hours of pushing myself to come to work at this good for nothing place and then actually get to working. Just flush your head in the toilet so you don't take a dump on me with your shitty restlessness.1 -
What do you think of online tests (for hiring) with a mandatory webcam?
The webcam part is making me anxious enough to back out.23 -
One of the founders of my startup does not write tests....
Me: we have to all write tests. I explain unit tests, integration, etc.
Him: I do... I have a test that checks if the app crashes or not.
Me: that is not what I meant (writes test because he won’t) 🙄1 -
I shot myself in the foot again!!
These incident usually happen at restless night.
Some night I become too restless so I do what any programmer would do, I program.
The "novel" idea just come up and I code until I become too tired. I usually finish the prototype of the project before I fell asleep.
I usually found out that I have reinvent the wheel the next morning! Great. My "novel" idea is not too "novel" after all.
It is hard to find the novel project these day since it is too hard to beat the decade of collective intelligence of programmer.8 -
In my company there is a weekly employee benefit that each employee can get. The advantage is not carry over to next week if you don't take it the current week.
There is a junior in my department who is not taking a weekly benefit. I am sure he know about the weekly benefit because I have explain it to him before.
I said to him if he is not taking his portion of weekly benefit , can I take his instead? I explicitly said it to him that he can said "No" if he wanted and he don't need to consider the junior-senior relationship since I was mentoring him.
He said "I can take his portion if I want".
I know I got his permission but he is a quiet and reserved person (nothing wrong with it) , I am a reserved person myself.
I have to initiate a conversation and give him a chance to speak up like "What do you think about ... ? " , "X,do you think it is a good idea to ..." ,
My question is that does my junior give his permission to take him weekly benefit because he is a reserved person and doesn't like to tell "No".
What do you guy think?18 -
Unsure of what path to take as a developer.
I'll be graduating from uni next year and I'll probably go into web dev but I'm not really passionate about it building websites for a living.3 -
Anyone seeing this rant from Sydney? If yes, why is it so hard to get any IT/Dev jobs for an international student? Sucks.
-
I been doing a online course and they provide a exercise to do in Jupyter notebook.
I notice that the exercise they wanted us to do this time is too complex. After finishing the exercise I submit it for review.
I thought I am doing an exercise but I had actually done an assignment and submit it :(
Lucky I pass that assignment. It is the worst misunderstanding I have done during my student life. -
Web browsers removed FTP support in 2021 arguing that it is "insecure".
The purpose of FTP is not privacy to begin with but simplicity and compatibility, given that it is widely established. Any FTP user should be aware that sharing files over FTP is not private. For non-private data, that is perfectly acceptable. FTP may be used on the local network to bypass MTP (problems with MTP: https://devrant.com/rants/6198095/... ) for file transfers between a smartphone and a Windows/Linux computer.
A more reasonable approach than eliminating FTP altogether would have been showing a notice to the user that data accessed through FTP is not private. It is not intended for private file sharing in the first place.
A comparable argument was used by YouTube in mid-2021 to memory-hole all unlisted videos of 2016 and earlier except where channel owners intervened. They implied that URLs generated before January 1st, 2017, were generated using an "unsafe" algorithm ( https://blog.youtube/news-and-event... ).
Besides the fact that Google informed its users four years late about a security issue if this reason were true (hint: it almost certainly isn't), unlisted videos were never intended for "protecting privacy" anyway, given that anyone can access them without providing credentials. Any channel owner who does not want their videos to be seen sets them to "private" or deletes them. "Unlisted" was never intended for privacy.
> "In 2017, we rolled out a security update to the system that generates new YouTube Unlisted links"
It is unlikely that they rolled out a security update exactly on new years' day (2017-01-01). This means some early 2017 unlisted videos would still have the "insecure URLs". Or, likelier than not, this story was made up to sound just-so plausible enough so people believe it.50 -
!rant
Is there anyway to support dev rant using Google Play credits instead of donating "real" money?3 -
It is so frustrating working in a pure waterfall environment. My current work is constantly interrupted by QA and UAT defects. Many of which have nothing to do with my code. But they still require me to stop what I'm doing and research what happened. It's 2:43 and after meetings and research I haven't written a line of code on my current project. Ugh!
-
Best: rediscovering auto hotkey. It's weird how much it pleases me. 😳
Worst: Oh so many. I've tried to overcome these with varying success rates but there's one that is still a big pain: job.1 -
Best: realizing that development could be a career and switching to it as a major
Worst: first dev job working on a 15 year old legacy visual basic project with over 3 million lines -
In highschool I made simple static webpages for small businesses. No div tags, this was all <tr><td> all the way down.
One client was upset that the website was too 'liney' and wanted more 'pop' with a content management system and push updates for the same price.4 -
Ended up dong an internship for my school (not really internship, more along the lines of formal volunteering, but whatever) helping set up laptops for a statewide standardized assessment.
I made a program to log the machine's identifying info (Serial, MAC addresses, etc), renames it, joins it to the school's Active Directory, and takes notes on machines, which gets dumped into a csv file.
Made the classic rookie mistake of backing things up occasionally, but not often enough. Accidentally nuked the flash drive with the data on it, and spent a good while learning data recovery and how grep works.
Lesson Learned? Back up frequently and back up everything -
Spent last 2 days trying to get an upstream data file loaded. I've now concluded it's just corrupted during transfer beyond repair... But I got to practice lots of Linux commands trying to figure out what the issue was and fix it (xml parser was throwing some error about nulls originally)
vi, grep, head, tail, sed, tr, wc, nohup, gzip, gunzip, input output redirection -
Wired's ads to subscribe cover half the page and get annoying so I use the only super power I have to get rid of it.
Good bye "paywall-bar paywall-bar--visible"1 -
I need to add new feature into the program which I wrote years ago so I start digging up the source code. The project is written in a language which I no longer code in.
That code is really poorly written with most of them don't have tests. I also find out that previous self is really a genius since he can keep track of huge project with almost no documentation.
To make matter worst, there are unused components (class,feature) in the source code. "Current me" have a policy of "just adding only a feature you need and remove unused feature" but it seem the "previous me" don't agree with the "current me".
The previous me also have the habit of using writing insane logic. I can remember what particular class and methods is doing but I can't figure out the details.
For example one method only have 5 line of code but it is very hard to figure out what those do.
The saving grace is that he know the important for method signature and using immutable data structure everywhere.
I was under the influence of caffeine and have a constant sleep deprivation at the time (only sleeping about 4 hour every day) so I can't blame him too hard.
I can't blame him too hard, right?
Could someone invent a time machine already? Invent time machine not to save the world but to save the developers from himself.4 -
Winning in the chrome dinosaur game means playing without dying till the internet comes back in and it automatically terminates the game screen !!
-
Follow up on previous post https://devrant.com/rants/1986014/...
Tell my dad about this and this is the convo we have when he goes "why didn't you think of that... in fact I had this app idea 2 years ago"
Clear pic: http://imgur.com/a/9ESrRga2 -
By looking at the prototypes and technical ideas which I fail to implements due to various reason , I got an idea.
I got an idea to have a kind of grave yard where people can bury their fail prototype and technical ideas and other people can dug them for inspiration or profits.
As the saying goes "One man trash is another man treasure."
I hope this idea of making a grave yard will not be "an actual fail idea"5 -
On page 19 of the ethereum yellow paper: http://gavwood.com/paper.pdf it defines the address of a wallet as: A(pr) = Β[96...255](KEC(ECDSAPUBKEY(Pr))), which is the right most 160-bits of the Keccak hash of the public key generated by the private key.
If I expose the public key to the network, do I allow people to impersonate me and sign transactions even though they don't have Tr, Ts, or Tw? My understanding is no, that without those values you can't hash the transaction.
Subsequently, this leads me to wonder if the purpose of the address (besides identifying users) to obscure the public key so that the private key is at a less risk of being reversed? Or can the public key of any address be captured?
If the public key of any address can be identified on the network or off network (without actually being the owner of that key), how do you do that? Are there any resources on how to perform this that are computationally easy?1 -
I am wondering what secure app do you guys use for texting/voice/video.
I know Signal but I am looking for something that uses a username like devrant instead of a phone number.6 -
There's a game called Virtual Beggar. I don't usually like these mindless games but since it was so easy and I wanted to see what jokes the developer has hidden in it, I played it for a few days. I got to a point where you're asked to make the ultimate donation and restart the game. That's apparently asked multiple times in the game. You become a millionaire and then restart. Billionaire, again restart.
That's what I see now when I see people deleting their accounts and returning the next day.1 -
Still wondering what it says about me when I tell my wife it was a good day because no one emailed or pinged me 😁1
-
A Yahtzee game.
In fewer lines than my first try in 2010.
Fyi... It was like only 15 thousands line with if else statements .... Nuthin much.1 -
I need to write the maintenance document in case I die.
Any idea what to include?
I have written a lot of software which include family business and other business depend on by myself.
I have an idea of adding my git user name and password. Email and social media user name and password.Configuration file/Configuration property. Troubleshooting information.Program overview.5 -
I been looking at the job listing at my country and I can only found the job for web.
What happen to the quality desktop application development?30 -
I went to an interview and they say they will call me within 2 week if I pass the first round of interview.
They don't call me so I assume I fail the interview and life went on.
I received the call today said I pass the first interview and if I wanted to come for second interview. My first thought is Fuck Off.
My acquaintance work for that company and we have a frank conversation. What is going on is that they are overwork and the other department complain that they don't have output from IT department.
When they ask IT department why don't produce output, head of IT department said they don't have enough people. HR department reluctantly allow them to hire more people and they phone me. My acquaintance apologize for the move that their company make. My acquaintance also said that he/she will also pass my decision to their department head.
I have meet everyone is that IT department whom I am going to work with and I like them. They are not only knowledgeable but also a nice person. More importantly they value the quality of work. They are the kind of person I like working with.
What I don't like is their HR department and they only call me when their departments work stale.
Here is my problem, I like the people I am going to work with but I don't like the company that they think I am kind of "backup". The company is the reputable company and it will be easier for me to find other job if I decided to quit and apply for other job.
I know the price range that they are willing to hire me due to first interview and the probing question I asked.
I was thinking of asking for salary outside their price range and think how it goes. If they are willing to hire me despite the ridiculous salary I asked , I may tolerant to work with them.
How do you think I should handle the situation?2 -
I got a fuzzy understanding of differences between Platform as a Service (PaaS) , Infrastructure as a Service (IaaS), and Software as a Service (SaaS).
I wanted you guy to clarify it for me. For me
IaaS = You choose how much RAM , CPU , Storage you wanted and the provider create the OS for you by virtualization technology and you can do whatever you want on that OS
PaaS = The provider said here is a services (database , docker ,---etc) we offer to help you develop your own software. You use the service we offer and we charge you by how much you use our service.
SaaS = The provider said here is the complete software. You can just use the software and we charge you how many request you send or how many data you store,--etc.
Is the differences between IaaS and dedicated server is that in IaaS you may share the server with other client by virtualization and dedicated server give you the whole server?13 -
I wanted to know what is the worst mistake you make on database.
I have actually implements the logic of token access control on database and not on business logic layer.
The database have a login procedure which accept username and password. That login procedure actually hash the password and try to authenticate user.
If it is a correct user , it generate a token. In other to use other procedure on database , you must provide a token. By using that token , the procedure know who is it and what permission is granted to that user.4 -
I have the misfortune of reading the source code that there are comment on who change what line of code at "actual source file" instead of just using version control.2
-
Today I fought against a monster named as CSS and I sort of won.
I am having a problem in that the grid layout don't work with the scroll bar (overflow)
After hours of trying thing out I remember that I am just creating the prove of concept that the system can actually be build.
I said "Hey this is just a prototype, it doesn't need to be pixel perfect, and finally use height in css".
I really appreciate it if anyone can advise me on less dirty method. Here is the source code
https://jsfiddle.net/rc0f9t5j/
The input box should stay at the button no matter how much text the container have. The fiddle have the intended behavior.4 -
I have a question i want to learn java and php. So is it ok if I learn it together. Or should learn one first completely than second?3
-
I have a choice to either take a leave without me wanting to or to go waste my day with the people in a theme park that I already don't much like.
All because someone wants their picnic figures to look good.3 -
Dvorak users, how do you manage your shortcuts, like in vim?
I can't quit it anymore! 😜
I am too scared to remap everything.6 -
Have anyone in Norway/Scandinavia ordered a devduck/apparel from the swag store and can tell me how long it did take? Want to order one, but not until at the start of next year.
-
4 hours later and my code is finally working and as usual it was only one line causing everything but on the bright side I now now how to use mocks and spies
-
So I'm here after a long break coz my life is shit all over again, and only devRant allows me to rant officially.
I was selected by a recruiter visiting our college in very early days of the campus placements, September last year,
Problem 1:
I wasn't allowed to sit in any of the other recruitment drives by the college, even when I didn't really like the job profile I was in
Problem 2:
The company is taking 12 tests and wants me to work on 3 Projects of bootstrap, rails, and react each, before they give me joining.
Here I am working like an asshole with all frustrations after my college got over to finish the tasks without a penny.
This frustration is only causing more and more delay in my work. -
Update to my last rant:
I wrote a reply to the person. Not scathing (as I'd have liked it to be) but firm and in a no nonsense way. My manager supported me. My project manager talked with the person to in order to convey what the issue is and to undo any misunderstandings due to written communication (we have different native languages).
I have not received a reply but my project manager told me that they are analyzing the problem now. I was also told that they are not a bad person. ^^
I think I'd like to believe that. We all make mistakes after all. -
Since Electron is getting some well deserved flak, I think I'll add my two cents.
Why in the actual fuck can it not proceed any way to allow us to USE OUR SELF FUCKING SIGNED CERTIFICATES.
Yes, security hole, but for messing about with new software, I'm not going to pay a CA for a certificate so I can put it on a server that only I and a few select individuals use!
At least give us a usable frontend for allowing our self-signed certificates so I can use my fucking server!1 -
Fuck when the app builds on everyone else's machine in the company but yours and you have no idea why. I pulled the same branch from the source control, made sure everything was right, even tried just copying it directly from a co-worker's machine but it just won't fucking work. Fuck you extjs for not letting me work for now almost 5 hours. Fuck you.2
-
Anti climactic story time (as in there's no promotion in this story):
Sometime ago there were some organizational changes happening in my company that put me in a very tricky place. Theoretically, I was put on a level that was supposed to be an upgrade from my previous level. Practically, it didn't come with any benefits and it was actually a downgrade because anyone who joined the company in the six months before these changes was in the same level as me (who'd been in for roughly 2 years).
It felt really insulting because I was about to be actually promoted. My manager and his manager tried to gaslight me into believing that I'm not at all affected in any way, before giving in and agreeing that a mistake was made. I was promised that next year it'll be corrected and I'll be promoted two levels. Even the HR assured me of that. I knew it was too good to be true but I was too demotivated to find another job.
Fast forward one year. My bosses are all praises for the work I put in. But, no two level promotion. Reason? They tried but couldn't get the management to agree. The boss apologized to me and asked me if I wanted him to try again. What an insolent arse!
Fast forward one more, extremely glum year.
This time I am part of a different team so the team lead is different but the manager is same. The team lead really went all out with showing appreciation for me. He talked for almost an hour(!) about how I exceeded his expectations and went on to claim that his app's release would have been impossible if it weren't for me, the new team member. It was really humbling and satisfying. But what did I get? A limp handshake from the manager with fucking loose change.
Silver lining. At least the manager did away with the 'well wisher, on your side' pretense this time. No mentions of failed promises, just regular empty promises for the future.
Fast forward 3 months.
Still here. Recovering. I am mulling over a much better offer than what my current boss can give me. Thinking about how long it takes before I'm in the dumpster again. I have stopped giving any fucks about anything here. I try to do the minimum required unless it benefits me in some way.
The end.4 -
I hate my internet provider.
I configure everything to work remotely and when I try to login to it I got "Http Status 502".
I thought I misconfigure something and recheck everything and still got "Http Status 502".
When I use the internet connection provided by different provider, it works!
Everything is hard to debug without you messing it up internet provider. It like trying to debug the code and find out the problem is in compiler.8 -
If we really try to reinvent the wheel, and if we did that successfully, I bet it will be 2x better than at least all the unfancy stuff in the dev-market
-
Stupid windows update. You really want to update at the most inconvenient time.
I do manual update on my current computer but I boot up the old computer which I have store away. Remind me the reasons why I hate windows update and to disable automatic update.3 -
I am not tired enough to sleep but I am not awake enough to fully concentrate.
It has been going on for 3-4 days. Am I burn out?2 -
I been teaching someone python for a few day with 2-3 hour each day. It has been very pleasant to teach him programming since he have a goal in mind. He already know what kind of program we wanted to build.
He is a novice and not familiar with programming. It have been a good chance to see how the novice look at the python. I been given a chance to ask the answer like
"Why do we throw exception?" ,
"Why do we put define function at the top of the file and not at __main__?"
"Why do I need to use constructor?" ,
"Why should I call parent constructor in the child constructor?"
Here is the main question.
I have been wondering "should I teach him multi inheritance and the diamond problem?" I haven't been using multi inheritance for a while other than the exercise I done when I started programming and cannot think of the situation to use multi inheritance. I know in other language we use multi inheritance (kind of) regularly by extending multiple interface. I wanted to ask if multi inheritance is common in python.
Another question I have is how should I introduce him to gui programming in a simple manner? I am thinking of introduction him to the gui framework which haved WYSIWYG editor like "Remi"10 -
I couldn't be the only one who thought of teaching ape how to make fire using stone and releasing them into the wild to accelerate their evolution.
Think about having non-human conversation partner we can debate with. The new kind of view they will bring to existing and future due to their sense (different from us)
And then I remember they will likely be bully due to species-sim because we cannot even solve our racism issue. Maybe it will solve the racism issue or spread more fire due to their presence.1 -
I am thinking of how I can make data upload reliable. I am sure that I am making it more complex as it could be and I need some pointer.
My goal is to have a pause/resume feature in file uploading.
Here is how it would work.
In order to start uploading , you give the server
1) File Name
2) Folder path you want to upload it to
3) Checksum of the file
Here the server will check whether you can upload it to a folder, whether the file have been previously uploaded (by file name and checksum)
If you could actually upload to the folder , server will return "unique file token" , "folder path" , "unique byte token". Let call it init_upload().
The client will use "unique file token" (to identify the file) , folder path (to know where to upload it to) , "unique byte token" and byte[] (data which to actually upload). Let call this operation data_upload().
If the operation is actually complete , server will return new "unique byte token"
Internally it will actually work like this.Let say we want to upload "file.mp3", when the client call init_upload() it will create
file.mp3 and unique_byte_token.file.mp3.
When the client upload data first time , it will append data to unique_byte_token.file.mp3.
When the client upload data second time , it will check whether the "byte token" that client put is the same as previous "unique_byte_token". If it is same ,
1) we move the data from unique_byte_token.file.mp3 to file.mp3
2) Delete unique_byte_token.file.mp3
3) Create new unique_byte_token.file.mp3
4) Append data to unique_byte_token.file.mp3
The reason I am using "byte token" is because I want to check whether previous upload is actually success.
Let say we need to call 50 part of data_upload() will put 49 part to file.mp3 and 1 part to byte_token.file.mp3.
Finally the client need to call data_upload_complete() which will
1) Put reminding 1 part to file.mp3
2) Remove byte_token.file.mp3 as cleanup6 -
Type coercion in JavaScript. I appreciate it's trying to help me out, but it'd be cool if it just told me I made a mistake.1
-
Is there a file manager which let me manage all my cloud drive , local drive , network drive in one place?3
-
The heck is wrong with the testing framework. I can obviously see that it a correct value why doesn't the test case pass.
FAILED:
REQUIRE( positive==static_cast<double>(0.7352941176) )
with expansion:
0.7352941176 == 0.7352941176
===============================================================================
test cases: 1 | 1 failed
assertions: 1 | 1 failed10 -
Saw this in some legacy code today at work:
Long sid = object.getSid();
Long returnValue = (Long) sid.longValue();
Never can be too careful I guess...
/s -
C++ is the worst thing ever happened to the developer community.
Doesn't have a stand of its own. Always changing. -
I just got a U2F key, and I have an extension for Firefox for it to work on that browser. When I try to set it up in my Google account it wants me to use Chrome. Now why the fuck can't they check for the functionality instead of what browser I'm using?
-
I got the question about the ownership of the technology.
I understand If I develop my own technology outside of company work hour and without using company resource,I own the technology. Let call this technology "X".
If the company want me to work on "X" during company hour with company resource to profit off it, do I still own "X"?11 -
I notice something in the news network.
They can be either bias or don't take a stance.
For some topic their reporting is very bias. Only giving a single point of view and just use facts to confirm it. I call it being bias.
For topic which they can be criticize for taking either side they use the so called "expert discussion"
They gather various expert and discuss about the topics.
Start = Undecided
End = Still undecided with a lot of confusions.
Some people will call it Democratic news channel , Republican news channel. They are wrong. There is only 1 news channel since they are all the same.
I am losing trust on the news channel (which I should not be feeling)
Do you guy feel the same?4 -
There weren't enough barbed poles in my sorry ass apparently. For I have inserted in a big one by deciding to use blender. 😬
Zero background in animation but I want to create a little animation and PowerPoint isn't proving enough for it, and after fucking around with Synfig I realized I actually need a 3d animation tool.
So yeah. Basically, fucked myself. -
Been working on integrating mail gun into the MVP of the webapp I am creating. Couldn't figure out why I kept getting a 400 response. Check the mail gun documentation and realize that it's expecting post parameters not JSON...
Well there goes those 5 hours. -
Behold, the code submitted by user Hecker:
(Quote) > writing html like a pro:
from typing import List
class MissmatchedRowsAndCols(Exception):
pass
class HtmlTableBuilder:
classes: List[str] = []
identifier: str = ""
rows: List[str] = []
cols: List[list] = []
def add_row(self, name: str):
self.rows.append(name)
return self
def add_col(self, fields: list):
if len(self.rows) != len(fields):
raise MissmatchedRowsAndCols(
"The given fields are not matched 1:1 with the rows.")
self.cols.append(fields)
return self
def build(self, indent: int = 4) -> str:
html = "<table border=\"2px\""
if len(self.identifier) > 0:
html += ' id="' + self.identifier + '"'
if len(self.classes) > 0:
html += ' class"' + (" ".join(self.classes)) + '"'
html += ">\n"
html += (" "*indent) + "<thead>\n"
for row in self.rows:
html += (" "*(indent*2)) + "<th>" + row + "</th>\n"
html += (" "*indent) + "</thead>\n"
html += (" "*indent) + "<tbody>\n"
for col in self.cols:
html += (" "*(indent*2)) + "<tr>\n"
for field in col:
html += (" "*(indent*3)) + "<td>\n"
html += (" "*(indent*4)) + str(field) + "\n"
html += (" "*(indent*3)) + "</td>\n"
html += (" "*(indent*2)) + "</tr>\n"
html += (" "*indent) + "</tbody>\n"
html += "</table>"
return html
builder = HtmlTableBuilder()
builder.add_row("index").add_row("language")
builder.add_col([0, "Python"]).add_col([1, "Kotlin"])
print(builder.build())6 -
Trying to set up a FIX connection for my project, but the guy who provides the credentials replies once a day at 11 at night. He works in the US too. I'm convinced he's a vampire now.
-
Fuck testcomplete, fuck having to spend 40 minutes mapping out every element just to still hang 5 minutes every time you try to check the existence of one, fuck having a software who's sole purpose is to automate testing and save time take hours upon hours to do what a person can do in seconds, and fuck me for having to use this piece of shit to test every single change made to our site.
-
If you use PHP with DI, in a single cli application, why don't you go get pegged with a catus.
- source wasting an hour trying to debug, why DI keeps feeding wrong arguments to objects4 -
Do you guy know that there is a lot of short query name like "f" in web development?
We are discourage from using single character variable name and the query key is too short. Is there any specific reason for using short query name?6 -
I was passed someone else's homework which included describing what certain Bash commands do. I've a fair bit of experience and I can't imagine why this one would be useful, can you think of any use for it?
(find -type d) | grep public | tr './p' ' '6 -
Our government's "information and technology institution" ran a ctf yesterday. Their website was a whole template. And like 1 hour before ctf website approximately got 400-500k request and they've hit by a ddos. During the competition individual competitors couldn't log in their accounts due to "wrong password" and also password reset mails not sent.
One of the rules of the competition was that the questions were not leaked out during the contest. But some groups and individuals wanted help for questions on some hack forums. CTF is over and seems like script kiddies gonna win.
Shitstorm. -
AL freakin M
Seriously some of the most frustrating SW I'd have to work with.
runner up is CA Service Manager. -
Why the hell does mysql not have boolean fields? why do I have to use a whole integer for a bit? REEEEEEEEEEEEE10
-
PAGE BREAK AFTER IS FUCKED UP. FML
ok guys, if you have any recommendation or alternative to page-break-after, please let me know. im desperately in need of a goddamn solution.
heres my problem, ive got a table, inside the table is the tbody, now i only want two rows to be displayed in each page (im doing html for pdf docs). so what ive been trying to do is adding <tr class="display:block;page-break-after: always !important"> whenever it meets the condition (rowCount%2!=0).
Ive been trying to figure this out for the last 12 fucking hours. cheesus fucking crust. ik this isnt stackoverflow but stack hasnt really been helpful as well :( FML6 -
I got to create the data platform with Azure Data Factory. I am new to data platform.
Any advise on what to look out for?
Could you guy please tell me if you know any good use case I can look at or any obvious pitfall which drain all the credit and so on?
I just a vague idea of what Azure data factory can do.4 -
In C++ we give my code is still compiling as an excuse to stack off.
Now that I have using machine learning , I can use my model is still training as an excuse. -
Rest In Peace my Hermes E2 mechanical keyboard. I have been using it for about 4 year and today the shift key on the left side of the keyboard broke.
I think the shift key is physically broken since I already try to clean the keyboard but it isn't working anymore.
The keyboard should still be workable for normal user but programming with that keyboard is a hell.
You only notice how much left shift key is important for programming when you try to program with alternative (right shift key)15 -
So, what do you think as a perfect routine as a student and a developer ?
thankx in advance !
edit: mainly in quarantine ;)2 -
...patience...
...patience...
...patience...
...patience...
...patience...
I had been waiting for a hour to finish compiling and it show me the output above. -
I need to add 44,000 image to git repo. I try to use git-lfs but it's too slow when I run "git add ." command. Is there any faster solution?
Extra Information : The image are the data set for my AI model. The reason I use git is because I wanted to manage my data set easier since I am going to add/remove images to that data set.18 -
When you test on production server
"Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php"1 -
Please show me the error message if I cannot post a rant. Just don't silently fail without any error message.1
-
I'm using Fedora 25/ pre-release, and It's rock solid except for wifi hotspot and I don't need it.
Now my school gave me a Windows 10 pro key, and I'm hesitant.
Should I install it ?
Will I need it ?5 -
I know it a strange thing to ask but I need help with English grammar ( I am not a English native)
I am doing an assignment on context free grammar program.
What the program need to do it "Produce a grammar tree based on the rule"
For example a sentence "Jame sat.", It will need to produce a grammar tree like this.
S
_____|___
NP VP
| |
N V
| |
holmes sat
The only thing I need to do it give a grammar rule to the program like this
S -> NP VP
NP -> N | Det N
VP -> V | NP
What the above rule said is that the sentence is composed of Noun Phrase and Verb Phrase and Noun Phrase is either is a Noun or a determiner and Noun.
Now here is the meat of the question.
I am having trouble parsing a grammar tree for this sentence "She never said a word until we were at the door here"
I have provided my grammar rule below. I think I forget to add some grammar rule or some of my grammar rule are incorrect. I am not a native English speaker so I am having trouble on it.
The search engine have fail me (I have look up various grammar tree) so I am asking for help on devrant. Grammar nazi are warmly welcome :)
S -> NP VP | S Conj VP | S Conj S
NP -> N | Det NP | N PP | Adj N | Det Adj N | Det N
PP | Det NOM | Det N PP
VP -> V | V NP | V NP PP | V PP | V NP PP Adv
VP -> Adv V NP | VP PP | VP AVP | V PP PP | V
ADJP
PP -> P NP
AVP -> Adv | Adv Adj | Adv AVP
NOM -> Adj Adj N | Adj N | Adj NP
ADJP -> Adj | Adj PP
**I am not sure about these two clause below**
VP -> V | Adv
NP -> Adj Adj N22 -
Sometime I want to name a library "ABC" or "XYZ" just to make a heck out of it.And make it popular enough just for confusion. So they will be like the "ABC" here , is that a placeholder or a library name?6
-
I use a Windows 10 OS and the browser popup sometime (not always so it hard to debug) when I open my computer.
Does the browser goes to other website?No the browser just show default page.
Is it a malware?I always keep my update AV so I am not sure.13