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 - "but it goes on"
-
A man goes inside a pet shop and starts to move around the cages to scout the pets. He sees a monkey with a price of 5000$ and goes to the merchant to ask for details. Hey mister, the monkey…what does it know to worth that much money? Well, it knows Windows 95, 98, 2000, and also knows Word, C++, Visual Basic and last but not least, it knows how to play computer games. - Good monkey, it's worth the money. He goes and finds another monkey with a price of 10000$ and again he will ask the merchant. "What does this monkey know?" "It knows Linux, Unix, Corel and Autocad." "Nice, even I don't know those things." On a last scout run he finds another monkey just sitting there with a price 20000$. The story repeats, and he goes with a lack of confidence to ask the merchant for details. "And what does this monkey do for that ridiculous amount of money?" "I never saw her doing anything, but the other two call her Project Manager!"4
-
First Helpdesk call of the day:
"My PC has been stuck on the same thing for an hour now. Its completely crashed."
"Does pressing ctrl alt delete do anything?"
"Where's that button?"
"Its 3 buttons - ctrl in the bottom left, alt beside the spacebar and delete over near the arrow keys. Press them all at the same time. Does it do anything?"
"No"
"Okay then, you need to manually power off the laptop then."
"How do i do that?"
"Hold down the power button"
"Where's that?"
"....on your laptop?! It's how you turn it on in the mornings?"
*60 seconds go by* "oh i see it. Ok i pressed it! Its Flashing blue now."
"Oh, no, just hold it down until everything goes black."
"The power button?"
"Yes."
"But that would turn off the entire PC?"
"Yes."
"Why do i have to do that?"
God help me if this is how my day is going to be 😢11 -
A guy on another team who is regarded by non-programmers as a genius wrote a python script that goes out to thousands of our appliances, collects information, compiles it, and presents it in a kinda sorta readable, but completely non-transferable format. It takes about 25 minutes to run, and he runs it himself every morning. He comes in early to run it before his team's standup.
I wanted to use that data for apps I wrote, but his impossible format made that impractical, so I took apart his code, rewrote it in perl, replaced all the outrageous hard-coded root passwords with public keys, and added concurrency features. My script dumps the data into a memory-resident backend, and my filterable, sortable, taggable web "frontend"(very generous nomenclature) presents the data in html, csv, and json. Compared to the genius's 25 minute script that he runs himself in the morning, mine runs in about 45 seconds, and runs automatically in cron every two hours.
Optimized!19 -
The new Dutch mass surveillance law goes into action on the first of May. I'll of course have a good security setup ready but that does not stop the bulk data collection.
I just setup a website which (still in English at the moment) requests a random search result from bing, google or DuckDuckGo every 3 seconds.
Will work on making it more 'real' :)
If stopping the surveillance isn't an option, let's add more data to filter out for them!38 -
I have this one major pet peeve - getting interrupted on any messenger by "hey".
Q: Hey
A: Hey, what's up?
-minutes pass, I try to resume work-
Q: Do you have a second?
A: Sure, what's up?
-minutes pass, I try to resume work... Again-
Q: Do you know anything about #feature#?
A: Yeah, I wrote most of it, what do you need?
-minutes pass, I try to resume work... AGAIN-
(goes on same pattern, takes half an hour for a 10 second question/answer)
Like... Come on!!! Don't do this to me
I get it, I like to be cordial and friendly - but there is absolutely nothing stopping you from getting your message across without making me have to go back and forth (interrupting my work).9 -
!dev, still a rant(ish) thingy..
TLDR: long day, had a brain fart, forgot I was married
Long(er) story: Came home from work, late as usual this week..tired.. talking with my husband about our days..
He was picking up sth from the store and goes on saying what the saleslady said: Your wife will sure like it..
>> mid sentence screaming interruption <<
My mouth: You're married?! WTF?!
My brain: & why is this the first time I hear about thi.. oh..
Mouth: OMG, I'm sooo soooo sorry!!!
I love my husband ♡ but my head is still trying to adjust to the last name change & promotion from boyfriend/partner to husband.. In my defense, he forgets it too sometimes.. but always only the titles, not the other important parts that count!7 -
A seasoned colleague just wrote this and I think it was very valuable:
On tech debt:
So the big challenge with technical debt is making non-technical management (CEO, COO, CFO, directors) understand what it means, and just how it operates. Sometimes it actually makes good sense to incur technical debt to get to market sooner, just as it sometimes makes sense to borrow money to get cash now and repay that loan later with (hopefully) resulting greater revenues from that investment. But just like a loan, tech debt always has to be paid some day. The longer the tech debt goes, the more expensive it gets. And also like a loan, the cost compounds, like compound interest on a loan. Tech debt should always be chosen with a clear plan to pay it off at some point in the not too distant future. The longer one waits to pay it, the more expensive it gets.7 -
i work on a music streaming app.
bug: playlist description shows there are X songs inside. But when you go inside it says there are Y songs in the list. the list actually containing Y songs.
hack: when a user goes in, cache Y and display it outside in the description next time.
result: user sees X songs in playlist description, goes in playlist and sees Y songs. goes back to check why it said X before but now it doesnt say X anymore coz we cached Y and display that in the description from now on so the user assumes they are imagining things17 -
If your IDE found
10 errors
and 47 warns
would you correct them
or let them slip.
YO ...
His palms are sweaty
Knees weak, arms are heavy
The tests are failing already
Code spaghetti.
He's nervous,
But at his laptop he looks calm and ready
To squash bugs
But he keeps on forgetting
What he wrote down, the whole team goes so loud
He opens his file, but the code won't come out
He's chokin', how, everybody's jokin' now
The deadline run out, times up, over, blaow!
Snap back to reality, oh there goes file integrity
Oh, there goes documentation, he choked
He's so mad, but he won't give up that easy? No
He won't have it, he knows his whole header's code
It don't matter, he's dope, he knows that, but he's broke
He's so stacked that he knows, when he goes back to his mobile home, that's when its
Back to the office again yo, this whole rhapsody
He better go capture this moment and hope it don't pass him
Note: All credits to the original owners of these phrases.5 -
Frontend team : We pushed our code. Please give instructions regarding integration with Backend.
Me : Alright. I'll provide you the API docs and you can continue with integration.
F : But that's your job. No?
Me (didn't want to argue) : I'll look into it. Let me check out the frontend till then.
* Goes on to see the frontend *
I am kidding you not, that moth*rf*ck*r pushed an entire template along with dummy text.
Me : Hey! This doesn't seem right. It's just a template you got off the internet.
F : Yeah! That's what I have to do. To put on the dynamic content from database is your work. Don't put your responsibilities on me!!
Are you f*cking kidding me?! Do your work right or I am reporting you to the team lead!
Meanwhile, team lead : *sips coffee. Disappears for months*
Bastards!7 -
My roommate use torrent to download games,movies and series on an 8mb connection 24/7 even when he's sleeping. I a lot of times asked him nicely not to do that while I'm working or use speed limiter so it won't cause any problem for us, once in a while is okay but not every day. But people like him don't listen.
>Now i just disabled utorrent port associated with his IP every time he goes out or go to sleep. That what you get from being a self servings duche bag5 -
Mother of god.
I spent hours and hours last week to try and get OpenVPN working. I mean, OpenVPN is working perfectly fine (on a VirtualBox (nope no vmware for me on servers) machine on a friends' dedicated server) but it wouldn't get through! As in, every forwarding/firewall rule just didn't work.
Was seriously about to lose my shit just now when I suddenly noticed the term 'TCP' in a forwarding rule.
Looked at the .ovpn file: proto udp
I added the exact same rule for UDP as a forward within VirtualBox.
It worked.
Well, there goes quite some hours 😐
And solely because I didn't realise that I setup a forwarding thingy for the wrong protocol.
I feel very stupid now :(5 -
Today my manager asked me about my research into using RabbitMQ as a backup in case Azure Service Bus ever goes down.
Me: "Good. The way we designed the framework, all we have to do is drop the DLLs into the directory, update the config, and the services will start using RabbitMQ."
Mgr: "Excellent. Probably should be looking into using RabbitMQ as a permanent replacement for Azure"
Me: "What? The whole reason we moved to Azure was to eliminate the problems with having an on prem service bus. Since we've switched, there has been zero downtime."
Mgr: "That's what VP-Joe is afraid of. If Azure ever goes down, he won't know how to explain Azure to the president as to why we're not taking orders or can't ship packages."
Me: "That makes no sense. What did VP-Joe tell the president when a database goes down or a server mis-configuration?"
Mgr: "President understands internal outages, its just the whole 'cloud' thing he doesn't understand."
Me: "Um..then VP-Joe needs to explain it to him?"
Mgr: "The decision has already been made. Are you on board? Lets look at this move as a cost savings."
Me: "You mean the $10 a month? How much hardware will we need to support RabbitMQ?"
Mgr: "Yea, nobody probably thought of that."
Me: "I'm on board with whatever decision, but I'd like a little more than VP-Joe being afraid of the president."
Mgr: "I'm sure its not being afraid."
Me: "..."
Mgr: "OK, lets wait and see if VP-Joe forgets about this and moves on to something new."4 -
Although I know it's nothing, the irony is real.
My room is connected to the power group together with 5 other people.
Watching a mass surveillance documentary.
Suddenly my power goes out, the rest stays on.
I know it must be a glitch in the newly installed power management system but damn the timing couldn't be better!4 -
They asked me if I could recommend any video streaming frameworks. I said no, but I could google around a little. I found one, sent it to them with a note that I hadn't used it but it seemed solid.
One afternoon, right before hometime, a month later and the day before go-live, I come in, to emails with _all_ the managers on it, demanding that I assist immediately. They'd finally tried testing it, and they had found an issue. No details.
I email back, asking for the actual issue they'd found - no response. I phone - that developer has now gone on leave for week, there's a new dev who'll help me. I email him, asking for "precise technical details" of what had gone wrong.
He replies, "when you try use it, it literally causes the apocalypse." and goes silent. I check the skies, no visible apocalypse yet.
Based on some keywords they'd mentioned, I google and find a known issue as well as a patch for their version. I email it over to them.
The response? "If I'd known he was just going to Google it, I would have tried that myself."14 -
Follow up rant from my previous one about the Linux job hunting.
Recruiter called today! He said that the company he recruits for is looking for people with a lot of Linux experience and since I've been working with it for seven+ years (not extremely long but keep in mind that this job requires no certifications etc except for a highschool diploma) he really wants me on board.
Asked him what my chances are and if he could be honest about that (it's a genuinely nice recruiter) and he replied with "95 percent".
It'd be loads of traveling every day but including free certifications etc so awesomeness!
Let's see how this goes :)7 -
Data scientist: we need to whitelist a pod to connect to a database
Me: Whitelist? We don't use whitelists on private databases
DS: It's the new data warehouse database
Me: is it on <X> VPC?
DS: I'm not sure what that means but its ip is <real world ipv4>
Me: Are you hosting a publicly accessible database with all our end users information?!
DS: ...
Me: There goes our SOC2 audit controls...
DS: how long until you can white list it?
Me: I won't be whitelisting it. You need to put it on a private VPC and peer with the cluster, you'll have to rebuild all the Terraform and redeploy
DS: We didn't use Terraform because it takes too long, just white list the pods IP.
Me: No. I'm contacting the CISO and CTO...21 -
I am but one man. Please remember that I am only human, and as much as I have automated, some things still take time.
Also,
I DON'T KNOW IT'S A FUCKING ISSUE UNTIL YOU MAKE ME AWARE OF SAID ISSUE. IF THIS ISSUE GOES ON FOR WEEKS, IT DOESN'T MEAN THAT I AM AWARE. PLEASE, FOR FUCK'S SAKE, LET ME KNOW BEFORE IT BECOMES A HEADACHE FOR YOU. BECAUSE WHEN AN ISSUE BECOMES A HEADACHE FOR YOU, YOY THEN BECOME A HEADACHE FOR ME.2 -
So... my girlfriend has a very random work schedule. Sometimes she works 4 days a week sometimes only 1, sometimes only at the weekend sometimes not at all. If only there would be an app to track that... 🤔
She tried quite a few apps on the app store but they were shit/ugly/too complex..etc
Wait.. i’m a developer, i can do that.
So i made a dead simple calendar-like app in javascript+fuseopen.
She selected the colors, background, layout etc..
If she taps on a date it turns red indicating that is a workday, if a workday is tapped it turns back to normal color.
The main logic is:
Main:
If(AppHasSavedWorkdays){
//check if save is current month
LoadCalendarWithWorkdays();
}else{
CreateEmptyCalendarAndSave();
}
She likes it.
Cool, so let’s build this! She has an iphone and my mac is still in the service center so i can’t build🙁
But its okay, i have a mac at my office, we can build there, the only downside is that is 40min of travel.
We take the subway, go to the office, build the app, make a certificate, install to her phone, everything goes as planned.
Coming back we were lucky enough to catch the bus that goes in 30 min intervals, we only had to wait like a minute so life is good 😃
I enter the house, chill down on the bed, pull out my laptop to close the project when a FUCK ME!!!!
I completely forgot to implement a whole else branch on start!!!
Soo the app does nothing when is opened on january 1😂😂
I guess that’s why we have testers and qa.. 😃8 -
I messaged a professor at MIT and surprisingly got a response back.
He told me that "generating primes deterministically is a solved problem" and he would be very surprised if what I wrote beat wheel factorization, but that he would be interested if it did.
It didnt when he messaged me.
It does now.
Tested on primes up to 26 digits.
Current time tends to be 1-100th to 2-100th of a second.
Seems to be steady.
First n=1million digits *always* returns false for composites, while for primes the rate is 56% true vs false, and now that I've made it faster, I'm fairly certain I can get it to 100% accuracy.
In fact what I'm thinking I'll do is generate a random semiprime using the suspected prime, map it over to some other factor tree using the variation on modular expotentiation several of us on devrant stumbled on, and then see if it still factors. If it does then we know the number in question is prime. And because we know the factor in question, the semiprime mapping function doesnt require any additional searching or iterations.
The false negative rate, I think goes to zero the larger the prime from what I can see. But it wont be an issue if I'm right about the accuracy being correctable.
I'd like to thank the professor for the challenge. He also shared a bunch of useful links.
That ones a rare bird.21 -
I'm not even that old and I've had it with young cocksure, full of them self language/environment evangelists.
- "C# is always better than Java, don't bother learning it"
- "Lol python is all you need"
- "Omg windows/linux/mac sucks use this instead"
The list goes on really, at some point you have got to realize that while specialization is great, you have to learn a little bit of everything. It broadens you horizon a lot.
Yea, C# does some nifty stuff, but Java does too, learn both. Yea I'm sure Linux is better for hosting docker containers, but your clients are on mac or windows, learn to at least navigate and operate all three etc. Embrace knowledge from all the different tech camps it can only do you good and you will be so much more flexible and employable than your close minded peers :)
Hell even PHP has a lot to teach us (Even more than just to be a bad example, har har)9 -
On my way to buy a second hand Oneplus One!
I don't think that not being able to remove Google services from my phone because this phone isn't supported by open source roms is a valid excuse anymore, especially since the new dutch surveillance law goes into plan the 1st of May.
I don't have that much money but I can afford this second hand device right now so let's do this.
Will install an open source rom without Google apps onto it!26 -
This is more on work and life balance.
1. Don't do hard work, but do 'Smart work', else you will end up burn yourself 100%.
2. Don't think your manager is your guardian angel, even though it seems like sometimes. He has his own goals to achieve.
3. Spend considerable time daily in and out of office/work, for your own development/improvement.
4. Learn new languages and technologies.
5. Stop making things perfect, 'good' is enough.
and it goes on ............3 -
About a year ago I switched my job.
At the start everything seemed like magic. I was the It director, I've finally was able to call the shots on technologies, on new software architecture.
First step was to check the current state of the company.
"qqqq" as each pc password? Ok
No firewall from outside? Lovely
Servers running on Windows Server 2008? Spectacular
People leaving pc on after work and left the machine unlocked just not to type the password? Hell yeah
The IT dude playing games instead of working? But ofcourse
Plaintext passwords publically accessible eshop? Naturally.
The list goes on and on.
After all this time, I'm working to fix every hole like that like crazy and because it doesn't show results, I'm soon to lose my job. Well better luck next time as an intern I guess :')19 -
TL;DR: check polarity before plugging your DIY circuits into others!!!
*goes off to watch some Lucky Star and drink some booze*
*notices phone battery dying after 3rd pint*
But my charging cable that Huawei delivered with this thing is way too short... Well that ain't no problem, I can make one of my own 😎
But I'm tipsy.. sound I really enter the workbench in this state?
*goes off to build a charging cable anyway*
But what was USB-A male connector's polarity again? Oh, there's the fan's USB connector that I've made in the past. Let's check on that one. So, left is positive and right is negative?
*solders the wires on*
Snip, strip, stick, done! Well that was easy. I guess that all those failed soldering attempts and lost pads in the past as a means of training did pay off in the end!
*plugs phone into Raspberry Pi media center through new charging cable*
Strange sounds coming from the speakers.. well that's odd. Reverse polarity or maybe the Pi can't handle a 1A load from my phone?
*plugs phone into the 5V 5A charging hub that I've made earlier*
That oughta do.. current limits should be no more in that thing.
*charging hub makes high-pitch noise similar to the Pi speakers*
Definitely a reverse polarity, isn't it :') let's check on the Gargler...
Oh shit! It is a reverse polarity mistake!!! Should've checked this earlier >_<
*resolders wires properly*
Alright, finally done.. as I'm writing this post, my phone's charging from the Raspberry Pi through my fixed charging cable now...
Lesson learned. Always check on the internet what the pinout is before soldering anything, don't solder while tipsy, and be fucking grateful that this phone has reverse polarity protection in it.
Nexus 6P with all its shortcomings regarding power delivery and battery management, luckily it's got reverse voltage protection features built-in. Otherwise it might've costed me my phone. Always double-check before plugging anything into something else!!!5 -
Dear Windows,
All I wanted was for you to live in harmony with my Arch install on my laptop. I appreciate both of you guys for different reasons. You guys did okay for for 2 weeks. Then, when I was using you, you blue screened quickly and rebooted.
On reboot, the BIOS couldn't boot. I reboot again, but instead of my normal GRUB menu, it just goes straight to you. I call for Arch, but only you responded.
I understand you are a bit possessive, but you really need to learn to play with others.
You are in time out until your brother is fixed. Now nobody is happy.9 -
Currently working on the privacy site CMS REST API.
For the curious ones, building a custom thingy on top of the Slim framework.
As for the ones wondering about security, I'm thinking out a content filtering (as in, security/database compatibility) right now.
Once data enters the API, it will first go through the filtering system which will check filter based on data type, string length and so on and so on.
If that all checks out, it will be send into the data handling library which basically performs all database interactions.
If everything goes like I want it to go (very highly unlikely), I'll have some of the api actions done by tonight.
But I've got the whole weekend reserved for the privacy site!20 -
*logs out of Google on Android*
*has this persistent Google search bar on launcher which I keep on accidentally tapping*
Alright, so I'm not logged into Google to see how it goes. Kind of an experiment to see just how intertwined Android and my life are with Google. And it's going quite well actually, except for my prime apps that I can't seem to get around.
*reads Google privacy policy*
"We protect your data by keeping it secure!"
Hmm, yeah.. you and 3 letter agencies are keeping it secure and out of the hands of other individuals.. that makes sense.
Don't be evil.. unless you're the devil, right?
Fuck you, I won't login like this.
*accidentally opens Google*
*le trending results show up*
- KSI vs Logan Paul weigh-in!
- KSI vs Logan Paul Manchester!
- KSI vs Logan Paul arena fight!
*opens up NewPipe in which I am not logged in either*
- KSI vs Logan Paul!!!
- Did you see the KSI vs Logan Paul stuff yet?!
*logs back into Google straight away*
Personalized search engine.. many hate it, but boy do I fucking love it.rant disney idiots obnoxious cunts fuck that logan fuck that jake kid too wtf is wrong with people who the fuck watches those morons4 -
Our software uses a lot of video/audio hardware. But this hardware goes away when we deliver to the customer.
So everyone was asked to think of a way to be less depended on hardware.
I thought of a very clever idea and I told it to two senior software engineers who both saw much potential in it.
I've only worked here for close to 2 months. And I feel like this is a major contribution if they'll use my idea
Next week at the brainstorm session I'll have to present my idea (informal meeting)
I'll make an update when I know more3 -
So here goes my home setup. The leftmost screen is the first computer screen I ever had about 13 years ago. The right one came next and I upgraded it this year with a monitor arm to make it vertical. The center one is 27" 1080p (1440p was too expensive).
The wooden thing on the left is a ghetto stand for my laptop. Another salvaged thing is the fan on the middle, it's just pushed to a cut usb cable, not even soldered, but it works.
Peripherals are pretty standard: Cheap mechanical keyboard, Logitech g502 and a drawing tablet. My headphones are the shp9500 (best thing I ever bought).
Little by little it came to this and Im pretty happy about it.
PS: Say hi yo my dog.10 -
Fellow developers,
For all people asking u to be partners of their "billionaire" idea, and to be paid from revenue ONLY when the plateform goes live or shit like this, BEWARE.
For all of them i had the same answer: "ok, ill share with you the project, but until it goes live, i am the only one who is giving sacrifice, and since we are partners, i want us both to do same level of sacrifices in order to deserve later the share of revenue... That being said, u have to pay the hours of devlopment, all of them, and when it goes live, from the revenue ill get, ill pay you back what you paid on dev cost"
It is the only way to be really even...
And if he refuse, ask them again "why? I taought u where 100% sure that your idea will work and become a billionaire why u think it is risky tp pay few thousands????"
... Now he is having second thaughts12 -
New project in C++. I don't know C++ but very good at C and Java so not worried.
New guy joins us. Gets stuck on how to concatenate a string. No big deal since he is new to the language too and doesn't have a C background. I offer to help and he goes on a 10 min rant about how C and C++ are different and I don't know what I'm talking about.
Wait until he's done. Tell him just to do strcat(possibly a better way but I'm literally in day 2 of my C++ skills, but I knew it would work). He mumbles how is not going to work as he types like he's going to shove it in my face when it fails.
It was like a beautiful geeky mic drop when it worked perfectly.5 -
Why even bother with article sites now? Try to search for a quick answer to a question and the only resource is some article and the user is met with:
- "Hi, here's where all your data goes. Please unsubscribe from our 937 partners and continue."
- "DO YOU KNOW WE USE COOKIES?" (Covers 60% of the page).
- "It looks like you're using adblocker. Mind whitelisting us for the 2 minutes we're in your life for? "
- "Before we show you the single sentence answer you're looking for let us promote our shitty content that you'll never click on because we hired the guy who makes shady porn links on every z-list site possible."
- "This article is in multiple parts to spread ad revenue. Click next to continue."
There's probably an extension that stops most of this but christ, it shouldn't be this bad.7 -
These influencers man.. I just can't.
Today I was watching a video on how the education industry is a total scam. The video was quite nice, pointing to issues like, school doesn't sell us knowledge, instead it sells us Hopes And Dreams, and other things.
But at the end, the guy goes "By the way guys check out the link in description to get 15% off on this course that teaches you coding and principles of software engineering."
Sneaky Bastards.12 -
Just got a call from an Indian scammer. He did the whole press Win + R shabang and I did what he said but the run box didn't appear (maybe cause I'm on a mac) I tried a few more times and then had a moment of enlightenment, I have a mac so that must be why the shortcut isn't working. He then goes on a rant saying everything is fine because he is the best technician and he can fix my mac too. He threatens to hack me and get my name and hack my computer but then goes straight back to his script and asks me to open my browser. I'm asked to go to a website which he mumbles so I don't understand and ask him to spell it for me. This of course is unacceptable and he goes no just type whatever you feel like typing, immediately changing his mind to xvideos.com instead. I say I can't visit the site since I am at work and he goes straight into trying to recruit me. Promises of infinite money and all I could ever wish for. Then he says I should work for him and he would pay me to watch porn which I politely decline. The final interaction was me letting him know I need to get back to work and to tell his call center buddies to never call me. He got super mad at me for accusing him of working at a call center whilst you can hear other calls in the background. 10/10 interaction.6
-
Just because you can learn HTML in a day doesn’t mean that you don’t need a degree.
Did you know that your browser, HTML, CSS, Javascript, and even your operating system use linked lists, binary trees, hash tables, and other so-called “useless” data structures?
It’s important to understand the roots and fundamentals of computer science even if you won’t use that knowledge day to day.
It changes your perspective on programming once you learn what actually goes on under the hood, and makes you think twice about the impact of what you write.
It’s relatively easy to get a programming job without a degree nowadays, but it often leads to web developers claiming that degrees aren’t important to their web apps.
There is much more than just the web to computer science, and that’s something to always keep in mind.10 -
Why is it that when someone mentions they really like windows or that someone should/might want to install windows, hardly anything happens (maybe some funny comments from linuxers but no hate or anything) (same goes for OSX) but when someone makes the same comment about linux, they get burned into the ground as a 'Linux nazi'? I am not only talking about devRant (it happens here sometimes as well) but also about my study and real life.
If someone would mention that it might be useful to install windows or OSX over Linux, it was all good but the FUCKING SECOND I mention it might be useful (or other linuxers) to use/install Linux, we are immediately put away as Linux nazi's.
On devRant I've tried to keep this shit to myself because I don't want to start wars but I think I am going to quit doing that and actually show my fucking opinion. Yes, that might also result in some people seeing me as a fucking linux nazi but fuck being burned into the ground every time I give my opinion regarding this.
Fucking hell. (nothing personal to any devRanters by the way but I am starting to get really tired of this shit).40 -
Sorry if this sounds like retard question on linux system
I installed nvidia driver on my laptop (720M) and it showed black screen after reboot, BUT if I enter my password and hit enter the screen goes back to normal on desktop, it just didn’t show anything on the first lock screen
I’ve followed linux mint nvidia driver instructions, removing the package re installing, etc.
P.S. All of the question I found on the internet seems to be total black screen after installing the driver, whereas mine could work after I entered my password8 -
I FUCKING HATE IT when you have a free day and you are so happy about it, because you can work on your projects, study things you want
BUT NOO
you sleep a little bit longer, wake up
And suddenly you find out that you need to go to the other fucking side of the city in 3 hours and spend there half of the day.
FUCK
There goes my free day...5 -
Hmmm there are several
Senior dev would leave for weeks(he was company co owner) and would blame shit not being done on me even though he gave me no access to his codebase. Shit back fired right in his face.
Senior dev called me an idiot(different company) for stating that I learned about MVC from Rails. I have no clue what triggered that reaction, but the way he said it really ticked me off. It was on a remote position, left soon, the dude was s cunt.
Next goes for my office: we yell random shit all the time, from racist to sexist to all around disturbing because we are constantly unsupervised.
Head of department knows:P he laughs with us. -
"What we can do to get all on time? ", manager asks
"Can we have 4 more developers on the project?", dev asks
"No, that's not gonna happen. Let's be realistic", manager says
"Is it realistic to ask 3 devs to ship 20 features in a week, reviewed and tested?" dev asks
"Actually 2 of you, because our contractor goes into a vacation. But you can do overtimes, can't you?"
"I prefer not to but even in that case I can't guarantee that as it's not realistic. But at least can I leave earlier and work more from home more because there are severe delays on the train lines and if I have to commute 4 hours a day it won't help", dev says
"Well, I'm not sure if that's a good idea. You have to communicate with people, you know. We have to ship things. But we can discuss this tomorrow as I have to leave early today. I have to take my kids from school"
Really? Wtf?4 -
Boss: You have one month to finish the program.
Me: It will be complicated but lets see how it goes.
To be cleared the end date is 2 of July.
Boss on the last friday: You have to finish on the 20th of June
Me: Yeah sure....
Boss yesterday: You have to finish on the 15th of June.
Me: You said one month.
Boss today: you have to finish by the end of this week
Me: No problem Boss you will have it tomorrow!!!
Boss: You have to. There are more projects waiting...
Me: -.-
This is what I have to deal with. But hey... don't forget... tomorrow is a new day so ... fuck it.5 -
Epic newb here. Like, can-barely-read-HTML new. But I'm curious and interested. I work in an office filled with very skilled developers, and I bring the human component to the operations. Not a day goes by when I don't learn something, or teach something. Sadly, that enriching experience accounts for maybe half an hour of my day. I wish it was more. Anyhoo, rant on, Wayne!7
-
"Lawsuit Alleges Facebook Favors H-1B Visa Workers and Other Temporary Visa Holders over U.S. Workers"
And no one was surprised. Not that this will make a dent in the labor arbitrage problem, but at least it's evidentiary confirmation it's happening. If it goes through it'll likely mean a slough of follow-on lawsuits for the thousands of companies doing the exact same thing, and a cottage industry to find new creative ways to continue being predatory assholes.
https://justice.gov/opa/pr/...18 -
At a point in your life, you'll settle down abit, and you start to think about what you've done in the past (idk) years of your life.
Then you think about your career, how everything is ever since you discovered you were good at a certain thing since highschool.
be it programing, writing random codes, pentesting (or if you had that "hacker" phase in your life) or fixing laptops and etc.
"Good"
You think about the word, and you had a thought: You only know how to do it, how it works, how its done, and how to do it.
You only "Know", it takes practice, patience, dedication and years (or months depends on you) of experience before you can really say for sure you're "Good" at it.
Me? Im no where near good. but that doesn't stop me from going there.
And i hope the same goes for you. You can do it,
Have a great day.3 -
Manager: "If you need me, just @ me"
Me: "Can you look at this right now?"
Manager: "Sorry I'm at a tennis match, I'll be 30mins"
3 hours later
Manager: "Do you still need me?"
...
Me: "A device died. Playbook says we have to flash it and lose all data on it, but we could go to the vendor for a solution if their fast enough. I just need you to make the call to deviate"
Manager: "Uggghhh" (goes offline for 2 hours)
Wtf man?!11 -
I know it is 1 week too late but i dont care. Im aware that my workbench looks like shit but in reality it is a "creative mess"
@Condor Do you envy me now? I have 1054z that is hacked and has all its features unlocked! I have desoldering station and crappy (very crappy) soldering station. In addition to that i got simple sine/square generator that goes to 1Mhz (old communist poland tech - indestructible and great)
Situation with my pc is complicated. My main pc (with the curved monitor)
-i5 3350p
-12 Gb or ram (2*4Gb and another 4 that friend gave me)
-radeon 7800hd (*RIP* cant play games anymore 😥)
-256Gb sata SSD
-2Tb WD blue HDD
In addition to that i have a laptop
i5 4 cores, 8Gb ram, 1Tb HDD, GTX1050
I use my lap for gaming now, i even connected that monitor as main lap.
(double monitors yay!) sometimes i use my old pc for minor things but i use rdp for that, it is great experience! (my lap displaying rdp from my old pc on second monitor that was my old pcs main one 😂 i find it a tiny bit funny)15 -
I went to this conference to see what’s new in MSSQL 2019, kubernetes container on azure and see what Microsoft has done to embrace open source community.
Speaker is from Microsoft, brings a Mac to the conference which I’m kool wit it,
but shortly after he started, Word crash at launch, PowerPoint freezes when switch between pages, azure cli can’t login properly.
And he goes ”this is awkward. “6 -
In my first year of college right now, and on the first test we had to write some C# ConsoleApplications. We got instructions of what we have to taken as input, what we had to do with it and output it to the console.
I've tested them all and they all work correctly, which was the main objective. I have used the correct data structures, but I didn't get top mark. Instead, I got lower because "I didn't do it her way".
WELL F*CK YOU TOO!!! I hope this is not how every test/exam goes6 -
"Time to install Arch Linux!"
*8 hours later*
"Back to Open Suse!"
Repeat every 4-5 months.
Seriously, I would LOVE to get Arch running on my laptop, but everytime I try to something goes wrong, be it bootloader, audio, cooptimus drivers, undetected network card, window manager going crazy, etc etc etc... and I simply end giving up and reinstalling my backup.
Someday, Arch, someday...4 -
My ISP can suck the biggest, sweatiest pile of dicks.
First of all, our normal service is garbage (1mb down, 0.1 up).
On top of that, for some reason, the Internet access goes down for a few minutes every time the public IP changes (2-3 times a day) which is fucking annoying.
And THEY FUCKING BROUGHT FIBRE TO MY NEIGHBOUR (20 METRES DOWN THE STREET) WHO IS AN OLD COUPLE WHO HAVE 0 INTEREST IN THE INTERNET, BUT THEY REFUSE TO BRING IT TO ME.
Fucking Vodafone, get your shit together.9 -
🎶 Simple Plan - I'm just a dev 🎶
I woke up it was 7
I waited 'til 11
To figure out that no one would call
I think there are a lot of specs
I just haven't received them yet
They are the only thing that I really need to know
Because I can't find them on stack overflow
And here it goes
I'm just a dev
And life is a nightmare
I'm just a dev
I know that it's not fair
Nobody cares 'cause I'm alone
And the world is
Having more fun than me
Tonight
And maybe when the projects dead
I'll finally go to bed
But I'm staring at these four lines again
I'll try to think about the last time
That they were working fine
These things have business rules that I don't know
And they're gonna leave me here to figure it out on my own
And here it goes
I'm just a dev
And life is a nightmare
I'm just a dev
I know that it's not fair
Nobody cares 'cause I'm alone
And the world is
Having more fun than me
Tonight5 -
So lotta shit happened lately, life-wise and i don't know why but i have to share it:
There is a point after depression and being stressed out - it's this "well shit will work out someway.."-state of mind, where you have like an inner peace and everything is fine.
It's nice here.😪4 -
YOU STUPID APPLICATION MANAGER STOP PROLONGING THIS MEETING FOR THE LOVE OF GOD this is a daily scrum not a status report you solid twat stop asking when something will be done when it hasn't even been worked on yet
Dev: "I'll start working on the thing today, might take a day or two to finish development"
Twat: "Will it be ready for testing tmorrow"
D: "Maybe by late tomorrow? If all goes well"
T: "So it'll be tested by tomorrow"
D: "Uhhhh wait"
T: "It'll be done by tomorrow"
D: "But"
GODDAMNIT MAN HE'LL TELL YOU TOMORROW IF IT'S DONE OR NOT AND IF IT CAN BE TESTED I want to punch you so hard in the face with a spiked mallet covered in wasp stingers and hello kitty juice to excacerbate your diabetes you filthy piece of excrement waiting to be smeared across the pavement with my boot9 -
Due to working from home I decided a few months back to invest the money I save instead of keeping it all in my bank account.
About 10-20% of it goes to a long term investing account and the rest into the one I manage actively.
The nice thing about homeoffice is that I can have a lunch break an hour later when the market opens and review my shit, then again checking up on it in the late evening before the market closed here.
Have been playing around with trading for years but never did it with patience and discipline.
After 3 months I managed to reach over 16% profit.
My account is small so it’s not a lot of money but I’m focusing on the % rather than the $ at the moment. It’s a start..
Anyway, thought I’ll share my progress with you guys as some of you probably invest as well..
Im exclusively swing trading, so holding my positions between 1-14 days with no leverage.
😬17 -
Boss is also a programmer which is nice. boss is also incredibly impatient. so when he gives me a project to do, when I don't have it done the day of, he goes and does it over the weekend. but he doesn't tell until a few days later when I finish the following Tuesday. he chucked my git branch and just pushed his stuff to master. then he belittled me because there was a feature missing in his code and I hadn't done it yet. I don't know how to deal with this. on the one hand, I could try and work faster. but on the other, I am trying to add features to software he wrote in c-style c++, didn't comment, and hasn't been updated to modern standards since 1998. even the copyright files are 1997 to 2001. just very discouraged as its my first job in the field. it wouldn't have been so frustrating if he had just told me he'd worked on it himself instead of letting me finish it and then throwing it in the trash.
end rant8 -
This rant has been boiling for a long time now so please bear with me. Here it goes.
A slight introduction of the lady working in my office. She's a soft spoken person who works for like 2 hours a day at max (rest of her time goes on surfing facebook etc).
NOW WHAT FUCKING GRINDS MY GEARS IS THAT SHE FUCKING THINKS SHE KNOWS HOW TO "CODE" ONLY BY KNOWING HTML!! FML
She claims of being a Social Media Expert, Digital Guru. But, SHE DOESN'T EVEN KNOW HOW TO FUCKING USE GOOGLE TAG MANAGER!!
MY WHOLE FUCKING DAY GETS RUINED BY EVEN INTERACTING WITH HER!!!!!!3 -
Really getting tired of these web design ads. I would turn on Adblock but I want to support YouTubers that are actually interesting to watch. I saw this ad today, Divi. A plugin of some sort for WordPress and the lady in the video is talking about how building a website is like painting a master piece but not really. And then goes on about "creating" a website with their tool on the page itself. (Like a Wix or Weebly but on the actual page and live). I watch the video to the end and decide to check the comments and someone said "or you know, learn HTML and stop being lazy" *liked* then one smart ass replied, "or use Wix, or use Weebly, or use any other thing online that lets you design a website without typing code". It annoys me how ignorant people can be about designing, but I don't blame them. People are lazy in general and would want to do things the easy way even though it's not the best way. You know the saying, give a man a CMS or WYSIWYG builder and he'll make a website, but teach a man to code and he'll make more, improved websites.4
-
Not a hack but more of an orchestrated attack. It was high school and our computer labs ran windows and all of them were connected to a central server. Now i had just learnt about windows api and how it can be used to check the space available on a disk. So i wrote a small script to to write chunks of 5mb files in the directory where TURBO C++ was installed and let it run till the system ran out of space.
Then in the spirit of conspiracy i added the said script to the central node and asked everyone in the lab to copy it locally and execute.
Then a few days later, the poor lab incharge corners me and say who added the ms91.dll file(do not remember the exact name😐). I said that it is a standard Microsoft dll and also how would I know. Then he goes on saying how he had to reinstall windows on all computers. At first I felt sorry but then the spirit of satan rose in me and I denied any responsibility about it and returned back to class where each of my classmates had a good laugh about it. 😂😂 -
I had to make an account for my kid's school.
Last night I start. I put in a username, then it has a quality meter for the password. I put one in and it goes to like 90%. Ok, fine. I submit and...
Validation error on the username field. Message? [object Object].
Try all different kinds of username: no numbers, all caps, etc. But no luck so I give up.
Today I try again and get stuck again. Then I think... "Maybe the devs suck worse than I think..."
I change the password so that it's rated 100% and submit... Success.
Fucking devs.3 -
I received this special picture per WhatsApp. It changes its color the first time while downloading and the second time after you tap on it.
It goes from about #ff96e1 to #42000d
(Yes, I know these Thumbnail-Faker but in this case it keeps changing its color even after opening and closing the pic multiple times)
I did not find anything by inspecting it on PC...
Does anyone have an idea how it works?21 -
>Gets a new CPU for desktop (yay, went from R5 1600 to R5 3600X)
>Spends half a day flashing new MB BIOS (Needed to flash individual major versions in order, couldn't just go 1.10 to 6.40)
>Finally finishes preparations and goes to replace the CPU
>Cleans the old one and packages it to give it to a friend
>Has issues inserting the new one as the orientation arrow on the motherboard was very hard to make out
>Spends 30 minutes applying thermal paste, worrying about optimal spread
>Forgets which side the CPU fan goes on
>Finally boots back up... CPU fan is suddenly loud AF under load, but eh, temps under stress are sub-60, so, good
~~Next day~~
>Loud CPU fan is too annoying, opens the case again
>CPU fan is on backwards
Ugh
>Takes the fan off, turns it around and fastens again, puts PC back together and boots
>Is quiet again, nice
>Goes to work on the PC
>2 hours later randomly checks temps because no fan noise is weird
>CPU at 75dC, crap
>Opens the (live) PC, CPU fan is not spinning
>Has put the header on one pin to a side
>Unplugs and replugs it correctly
>Fan suddenly starts spinning very fast and cuts my finger
>Finally closes the case once more. All issues resolved
...Its situations like these that make me wonder... What would happen it I had to work with servers in person, physically lol8 -
Starting to get really pissed off with the hierarchy in my department that my manager keeps insisting ‘doesn’t exist’ but it clearly does when the other team manager is her best friend, to the point where they go on holiday together, go to each others family parties, etc.
Manager goes on holiday for two weeks and other TL gets on her high fucking horse lording over my team and uninviting me from meetings that she thinks I ‘don’t need to be in’ when the majority of the project is mine..
But my manager hasn’t appointed a deputy.....6 -
Why me. Why is it always me who has issues with Windows. (The OS)
I HAVE to use windows for a specific thing right now. Fair enough, I have an old system lying around somewhere with not the best specs ever but it'll do. Windows 7, clean install.
Firstly, let's boot up! Booting goes fine, login goes well... "Installing device drivers" (keyboard and mouse combi). I connected this set a gazillion times before so no clue why windows would need to download the drivers YER AGAIN. But, fine, it works.
Let's connect a USB webcam and to to the hardware testing website to see if my setup is right!
(I mostly don't blame this part on windows)
The webcam drivers install successfully, good. Although the page says it isn't working, it displays the live cam footage well so whatever.
Installed Chrome (not chromium too badly) to see if it shows fine there but chrome doesn't detect ANY cam/mic combination at all, not even the integrated one(s).
Annoying so let's reboot and see if it works normally with all checks okay on Firefox.
Rebooted.... aaaaand the USB webcam driver installation fails. I'm weirded out since the drivers were installed BEFORE the reboot already. Firefox now does not display any can/mic.... until it does after a few reloads. Windows is still saying that the driver installation failed.
The testing webpage, however, still says its not working while I'm literally seeing my ugly smug on screen. I contact support which does a remote check and says all is good but there was probably "a glitch with Windows" while the checks are still mostly red, I take a copy of the chat log just to be sure.
Now, I kinda want to shut this system down until the time I'll need it but I'm rather afraid that Windows is going to throw driver conundrums yet again and I simply *CANNOT* have this right now. So, I'm leaving this system on until I need it, and I'll pray windows plays along well.21 -
Probably the MOST complete software book on a very broad subject.
This is book to read for those of you are near college grad, first job in the industry. But to the level of detail and broad coverage this book has I think it’s actually a great book for everyone in the industry almost as a “baseline”
From requirements, project planning, workflow paradigms. Software Architecture design, variable naming, refactoring, testing, releasing the book covers everything, not only high level but also in reference to C.
Why C ...because in the consumer electronics, automotive industry, medical electronics and other industries creating physical products c is the language of choice, no changing that. BUT it’s not a C book... it contains C and goes into dept into C but it’s not a C book, C is more like a vehicle for the book, because there are long established, successful industry’s built around it. Plenty of examples.
When I say it’s the most complete on a broad subject seriously like example the chapter about the C language is not a brief over like many other books, for example 10 pages alone are dedicated to just pointer! Many C books have only a few paragraphs on the subject. This goes on depth.
Other topics, recursion, how to write documentation for your code.
Lots of detail and philosophy of the construction of software.
Even if you are a veteran software engineer you could probably learn a thing or two from the book.
It’s not book that you can finish in weekend, unless you can read and comprehend over 1000 pages.
Very few books cover such a broad topic ALL while still going into great detail on those subtopics. the second part is what lacks in most “broad topic books” ..
Code Complete.. is definitely “Complete”
So the image doesn’t match the rest of my book images because I tried to make an amage to cover of the book, inception style kinda haha 😂19 -
Here's an even meaner prank. Make it just a tad more difficult on them.
Set chrome in kiosk mode, so they can't switch out of the browser.
Unfortunately 'Alt + F4' still works, but they'd have to know that ahead of time.
And then kill off `explorer.exe` so they can't press the windows key.
You can either set this up as a bat, or you can do all of this from the Task Manager.
```
chrome --chrome-frame --kiosk "http://fakeupdate.net/win10/"
taskkill /f /im explorer.exe
```
And to really piss them off, set it up such that every time they reboot it just goes straight to the update screen
You can set Chrome to run as the Windows shell instead of explorer.exe. Just set the registry
```
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Shell =
[chrome path]
```4 -
Not the worst, but probably the only one I can sort of explain & not get into trouble for NDA breach..
Umm.. here it goes.. wrong id returned from db procedure, tried to do something on db with that id and got exception that the id doesn't exist. Instead of checking why the procedure returns nonexistent id, he just wrapped everything in try catch without any logs.. & of course, didn't tell anyone about this.. o.0
I know, I know, code review could have prevented this, but holy fuck..
Guy's cv had more experience than I have now, so at the time, I didn't think I'd have to check every line of code he wrote, especially not for shit like this.3 -
Want to make someone's life a misery? Here's how.
Don't base your tech stack on any prior knowledge or what's relevant to the problem.
Instead design it around all the latest trends and badges you want to put on your resume because they're frequent key words on job postings.
Once your data goes in, you'll never get it out again. At best you'll be teased with little crumbs of data but never the whole.
I know, here's a genius idea, instead of putting data into a normal data base then using a cache, lets put it all into the cache and by the way it's a volatile cache.
Here's an idea. For something as simple as a single log lets make it use a queue that goes into a queue that goes into another queue that goes into another queue all of which are black boxes. No rhyme of reason, queues are all the rage.
Have you tried: Lets use a new fangled tangle, trust me it's safe, INSERT BIG NAME HERE uses it.
Finally it all gets flushed down into this subterranean cunt of a sewerage system and good luck getting it all out again. It's like hell except it's all shitty instead of all fiery.
All I want is to export one table, a simple log table with a few GB to CSV or heck whatever generic format it supports, that's it.
So I run the export table to file command and off it goes only less than a minute later for timeout commands to start piling up until it aborts. WTF. So then I set the most obvious timeout setting in the client, no change, then another timeout setting on the client, no change, then i try to put it in the client configuration file, no change, then I set the timeout on the export query, no change, then finally I bump the timeouts in the server config, no change, then I find someone has downloaded it from both tucows and apt, but they're using the tucows version so its real config is in /dev/database.xml (don't even ask). I increase that from seconds to a minute, it's still timing out after a minute.
In the end I have to make my own and this involves working out how to parse non-standard binary formatted data structures. It's the umpteenth time I have had to do this.
These aren't some no name solutions and it really terrifies me. All this is doing is taking some access logs, store them in one place then index by timestamp. These things are all meant to be blazing fast but grep is often faster. How the hell is such a trivial thing turned into a series of one nightmare after another? Things that should take a few minutes take days of screwing around. I don't have access logs any more because I can't access them anymore.
The terror of this isn't that it's so awful, it's that all the little kiddies doing all this jazz for the first time and using all these shit wipe buzzword driven approaches have no fucking clue it's not meant to be this difficult. I'm replacing entire tens of thousands to million line enterprise systems with a few hundred lines of code that's faster, more reliable and better in virtually every measurable way time and time again.
This is constant. It's not one offender, it's not one project, it's not one company, it's not one developer, it's the industry standard. It's all over open source software and all over dev shops. Everything is exponentially becoming more bloated and difficult than it needs to be. I'm seeing people pull up a hundred cloud instances for things that'll be happy at home with a few minutes to a week's optimisation efforts. Queries that are N*N and only take a few minutes to turn to LOG(N) but instead people renting out a fucking off huge ass SQL cluster instead that not only costs gobs of money but takes a ton of time maintaining and configuring which isn't going to be done right either.
I think most people are bullshitting when they say they have impostor syndrome but when the trend in technology is to make every fucking little trivial thing a thousand times more complex than it has to be I can see how they'd feel that way. There's so bloody much you need to do that you don't need to do these days that you either can't get anything done right or the smallest thing takes an age.
I have no idea why some people put up with some of these appliances. If you bought a dish washer that made washing dishes even harder than it was before you'd return it to the store.
Every time I see the terms enterprise, fast, big data, scalable, cloud or anything of the like I bang my head on the table. One of these days I'm going to lose my fucking tits.10 -
Sat down with the Project Management team today to discuss a signage installation. This is how the conversation went...
Me: Right, so we need to get the hardware on-site asap so we can get this configured before it goes over to the production guys to have the facisa installed.
Them: That's fine we have plenty of time. Stop rushing things.
Me: Okay, so do we have the story board in place ready for development?
Them: Nope. Hasn't been done by the designer yet because he is in a bad mood.
Me: Okay so when does the client want this?
Them: 3 Weeks' time
Me: But it is atleast a week of dev time?
Them: Sure. But you can work late if needed...right?
This is a typical conversation between them and me. I'm the sole developer here. So done with today.12 -
So I'm writing some multithreaded shit in C that is supposed to work cross-platform. MingW has Posix threads for Windows, so that saved already half of the platform dependency. The other half was that these threads need to run external programs.
Well, there's system(), right? Uhm yes, but it sucks. It's incredibly slow on Windows, and it looks like you can have only one system() call ongoing at the same time. Which kinda defeats the multithreaded driver. Ok, but there's CreateProcessA(), and that doesn't suck.
Fine, now for Linux. The fork/exec hack is quite ugly, but it works and is even fast. Just never use fork() without immediate exec(). First try under Cygwin... crap I fork bombed my system! What is this shit? Ah I fucked up the path names so that the external executable couldn't be run.
Lesson learnt: put an exit() right after the exec() in the path for child process. Should never be reached, but if it goes there, the exit() at least prevents a fork bomb.
Well yeah, sort of works under Cygwin, but only with up to 3 threads. Beyond that, it seems like fork() at some point gives two processes the same PID, and then shit hangs.
Even slapping a mutex around the fork and releasing it only in the parent process didn't help. Fork in Cygwin is like a fork in the ass. posix_spawn() should work better because it can be mapped more easily to the Windows model, but still no dice.
OK, testing under real Linux. Yeah, no issues with that one! But instead, I get some obscure "free(): invalid size" abort. What the fuck would that even mean?! Checking my free() calls: all fine.
Time to fire up GDB in the terminal! Put a catch on the abort signal, mh got just hex data. Shit I forgot to compile with -O0 and -g. Next try. Backtrace shows the full call trace, back to the originating line in my program - which is fclose() on a file.
Ahhh I remember! Under Linux, fclosing a file that is already closed makes the program crash. So probably I was closing it twice. Checking back.. yeah that's where it was.
Shit runs fast on several cores now!8 -
Hi from Guatemala! I am new to devRant, now it's a must read every day, so much fun! I just landed my first job and I am very nervous/happy. My part of the job is to make the frontend using Flutter, I have some experience on Android but I feel it's very different. Lets see how it goes!11
-
Tomorrow I will be on a long train trip again so here goes!
My last train project is http://jsrant.com and people seem to enjoy it. Every time I am mentioned in a rant related to it people also mention the idea of a similar application but for in the terminal. So I intend to build that tomorrow.
To build the best thing for you I want to ask you some questions:
- What operating system are you running?
- Why (or how) would you like to use a devrant terminal reader?
- Why would you NOT want to use a devrant terminal reader?
- Would your use-case required obfuscated output? (Hiding it from someone)
- If so, what formats do you use on a daily basis or are you most comfortable with?
- Anything else you would like to mention or for me to consider?
I will be developing the larger part of this tomorrow, but the sources will be made available to the public.9 -
I finally did it ! Bought a 10 Gbits network card.
(You can search prev rants on it. My internet connexion became almost unlimited and I felt that 2300 Mbits were bottlenecked by 2.5 Gbits card).
And yes, I have more speed now !!!!
Do I need it ? Nop.
But as long as my line stays in this "unlimited" mode, I want to use it !
3200 Mbits !!! Ping goes to 2 instead of 1 tho. With "old" 2.5 Gbits card I always had 1.
https://speedtest.net/result/c/...
Edit : Added screenshot for lazy people10 -
Seasonal depression is starting to kick in. I'm feeling like I'm not doing good, whenever I ask for help with code people usually just rewrite all of it when they fix it so I feel like I'm not improving at all. I'm almost to the point in my life where I have to move out and be on my own I'm 19 I still have about 2 more years but it's so stressful. My room is the most comfy place for me I cant be away too long or I'll just get depressed so how am i supposed to find somewhere i like more? And what would I even use the other rooms for. I want a roommate (particularly a friend of mine) but I'm not even out there and I can see the future depression I'm gettin myself into with all the Bill's and jobs and shit, and college doesnt help with stress or depression at all. I probably shouldnt worry about that right now but i just cant help it.. it goes by too fast fuck.
Sorry guys this is the only real outlet for my feelings nowadays6 -
We have this lovely little old lady who works in QA and whenever she finds a bug she goes across the office to the developers desk and taps them on the shoulder and spends like 15 minutes explaining and showing the bug...
This is infuriating as you lose all concentration on what you are working on and wastes so much time... But I can't bring myself to tell her to stop just can't find kind enough words. She's a lovely person and means well but it seems her world runs a lot slower than everyone else's.1 -
I work as a front end developer at a company. This site is using WordPress and I need a paid plugin, but I wanted to test the full version first without paying, so I googled it. Downloaded it and installed it right away.
NOTE I was working on the test server, where all other projects are placed in a subdirectory of public_html (public_html/websites/<other websites>), but instead on placing the website folder where are the others, I placed it in the parent directory (public_html), (where are some others folders and files). Everything goes fine, but a few days later, I wanted to modify something in functions.php of that theme and I noticed a strange code, base64 format, so I decrypted it and turns out it's a backdoor that puts code in other files of the theme, so it can add an Admin in the DB anytime, so it can remotely connect to the website. Because, as I said, the website was in the public_html directory, and the virus search for the other folders and files in the same directory and his children, it affected the rest of the websites (50+).
I reported that to my boss, but says it's fine and to give more attention next time and to install the website in the same directory as the others. Couldn't fix automatically and I had to remove manually in every website every file created and the lines that the virus added.5 -
Not goals. More like dream...
... To get into that one uni that I actually want for phd.
I have gotten so spoiled playing with robots and neural networks, that I can't even imagine falling that badly from grace to go back to... web development. Like I'm not looking down on it, it's just that I found my passion and there is not enough jobs available out there for me without going through phd or high-end research.
... And I honestly don't have a backup plan. There are choices, but I don't like any of them. So here goes hoping they accept me. ¯\_(ツ)_/¯3 -
You know how fucking Youtube on Android stops playing when you turn off the display? A few years ago you could prevent that from happening by using Youtube from an obscure browser, but this doesn't work anymore today. You're forced to deal with battery drain and not being able to switch apps when all you want to do is listen to some music via Youtube.
So this is what those moronic douchebags at Google thought:
Let's stop the playback as soon as the display goes dark and prevent our users from doing anything against it. They will probably be pissed off. But this is better for us because... well... who cares, let's just fuck with them.
Anyone knows a workaround?28 -
Yay! Finally got my first job in IT.
They call it just "IT admin/sysadmin", but it's... eh..
What I do is make sure the servers work (sysadmin part) and make desktop/mobile apps. So far, the company seems to be quite nice, there are already 4 devs who are friendly. *knocks on wood*
Will see how it goes, and I'd like to thank you for sharing your stories. Learned quite a lot from them!5 -
classmate: *asks something about our topic*
teacher: "uhm hold on" *goes to stackoverflow on screen where everyone can see* "there's your answer"
classmate: "thanks..... i could have done it by myself but ok"
>> let stack overflow be our teacher3 -
!rant
In the office, sometimes we order food for lunch.
Me: *goes outside the office to make the call*
*Coding partner arrives while I'm on phone*
Me: *realize that I forgot to ask him if he wanted food* Hey dude, do you want to order something?
Him: *thinks* Nah, I'm fine, I brought my own lunch
Another Guy: That's good because we already called!
Me: Yeah, but it doesn't matter, I can call and tell them "Order++"
Him: Nah dude, tell him "++order", because maybe he'll bring the orders then go back and realize that he missed one
<<<<
I don't know, it was funny for me 🤷♂️1 -
So....
I was asked to transfer a spaghetti Android/iOS project to xamarin for a bank client yesterday because "that's what they use".
This is a crm/loyalty app that has been around for 2+ years now (you can imagine the mess). On top of that I have no knowledge of c#, .net or xamarin.
So I ask: "When is this supposed to be delivered?"
Boss: "It was scheduled for 2 weeks ago but let's say 2 weeks from now"
Me: "..... This is a huge remake it won't be even close to ready in 2 weeks"
Boss: "Let's check on the progress in 2 weeks and see how it goes"
Why is it hard for bosses to provide an actual timeframe???
He's been pulling the same crap with junior devs for years and of course they get nervous and create more spaghetti code...
Anyway long story short (not) I have an interview Monday!
Let's hope it's not more of the same!
P.S.: to junior devs: When you are given a deadline... IGNORE IT.5 -
I have an interview tomorrow, but I kinda feel like a dick about it.
A former coworker asked for a reference for a job and told me about the position.. I agreed, and a recruiter dealing with them calls to get it. While on the call I leave them a brief blurb about my skillset and we agree that I'll keep his details on file just in case (I wasn't looking to move on, but I do like to keep in touch with recruiters who don't seem to be a pita)
A month goes by and my position is suddenly ending soon, so I call him and ask if there is anything new.. no, but.. the same employer I gave a reference for would like to talk with me about that same position.
I'd never have heard about the job without my former coworker asking for a reference, but on the other hand, if they are still looking after a month, surely my former coworker wasn't really still in the running, right?
Anyway.. awkward conversation ahead should I get the job.
Also, wish me luck 😁7 -
So I got the boss boss' attention...
And basically want to tell him after like 3 years this is what I think the state of the current team is but I'm the only one that realizes....
But then I wouldn't be a team player and tattling on my boss.
He's a nice guy so I don't want to do it but then another part of me goes.... this can't continue, I can't take anymore of this..,. and I want off on this "sinking ship"... So I'm pulling the fire alarm..
Is it really sinking, I dunno but it looks like it to me... So should I say something? How should I say it?
Just found the is the original, below pic is some variant. Either works I guess... But yes that's not me, I'm the one observing...
https://theverge.com/2016/5/...7 -
This is my first and current Rant/story so here it goes, I've been working for a company for past 10months now, where i was interviewed on Java, then i was put into mobile development and started to build an app in swift (successfully finished it) after two months i was working on ARKIT(didn't build anything BIG mostly R&D), then started working on React-native and built an app from scratch using firebase as backend (both RN and firebase was new to me) and pushed it to AppStore and PlayStore, and currently i'm working on Flutter!.. At first it was pretty irritating switching frameworks and technologies but now i've become more positive about it and i look at it as an opportunity to learn new stuff :)1
-
My boss had a 50 page word document where he add any bugs he has found (he likes to test before it goes to QA) we then have to read that document for any changes (hi-lighted in blue) then add them to our bug tracking system. Any updates that are made on the ticket we have to add to the word document.
We tried letting him use our bug tracking tool but he hated using it as the padding on the navigation links was too big. We would have to redesign the 3rd party tool just for him4 -
Funny story:
We were going through Sprint Planning on Monday. We got through all of the tasks that we knew we had to get done, then we started going through the backlog to see what we could pull forward.
The guy running the meeting (who's not actually a Scrum master, but whatever) get's to a task, reads it aloud, and goes, "That doesn't ring any bells. Brian, it's in your name, it says it's from May, do you know what the status of this is?
Brian reads through it for about 20 seconds before saying, "That date says it's from 2017. I don't think we need it anymore."2 -
Had to ring the UK tax office, have to pay a sizeable amount by 31st Jan, but I have spent any savings on essential living based shit. I was dreading the call, but best to do it before 31st or you get an instant £100 fine. Well I was totally shocked to find a really lovely lady on the other end, she was most helpful and not like the cunt I got a few years back. It just goes to show that two people doing the same job with the same procedures and outcomes, 1 can be a complete cunt and the other kind and compassionate. Moral, there’s no need to be a cunt.
-
fuck time zones and time changes, why the fuck we don’t have one time on the planet and one date that is just day.
No month, no years - all the complexity would be gone, day wouldn’t have 24 hours but it would be something more precise, there won’t be a second
time that earth goes around sun is
365,25964 days
31558432896 milliseconds
we should start count time differently so it’s not relative in space time continuum, what should be relative is the mass35 -
We had a company feedback meeting the other week; an airing of grievances so to speak. One of the complaints was about how when someone calls 911, no one knows exactly where it goes.
The way he phrased it, we all though it was a metaphor. But as they talked about it, someone said, "Wait, are you .. you're taking about real 911 calls? Like this isn't a metaphor?"
All VoIP gets routed via the central office; so when someone from the California office dials 911 on a phone, they get a 911 dispatch in Illinois. 😶3 -
Ok, so I REALLY HATE ChromeOS. MY story is this: I'm using Chrome, and I want to get a file from my computer to my phone. Simple enough, I just plug my phone in, and... oh, wait! First it has to open two new windows for my phone's two storage areas. Ok, fine. I close the windows, get my file prepared, and I click/drag it over to the folder I want. Except, the computer doesn't FUCKING see it as a device anymore. It knows it's attached, but it doesn't fucking communicate with it. Ok, maybe it's a cord problem. Nope! Same issue. Maybe I need to update? Nuh-uh! That doesn't work either, since my computer's not supported anymore! And, the cherry on the top of the fucking shitcake that this whole situation is, the Files app, the one that you use to view the stuff on your hard disk? OH, IT JUST GOES AND CRASHES. I can open it! Nothing shows up. No devices work. It's just stuck like that until I reboot my machine.
God... FUCKING damnit, chromeOS.12 -
RPi 4 is hard to get your hands on it seems.
Really debating buying it though, 4 GB is enticing, but I just don't see a place for it. I have a surplus of machines which are much more powerful and accessible (Display ports - not mini HDMI)
And let's not forget the sub-2GHz clock speed. My desktop goes to 5, and my server isn't far behind. And my laptop isn't far behind that. And my other laptop isn't far behind that. But this new Pi would be far far behind that.
Not to mention the ARM architecture. There have been leaps and bounds made since the Pi first came out in terms of support for ARM (Most certainly fueled by the Android craze) but it still isn't x64, is it?
If I were 13 again and I didn't have all of the toys that I do now, I would be elated at the launch of the Pi 4. But as it stands, I don't see a use for it. Maybe nostalgia.19 -
I have ADHD. If you don't know what that means, for me it makes me a better software engineer. I can't do repetitive, so my code is by definition DRY. If someone needs help, I'll notice and help because my brain can't filter out the emotion of someone struggling. I fixate on problems I don't know how to solve, I literally struggle to stop myself. The list goes on. But, at its heart, who gives a shit?
I'm a software engineer, and I'm good at what I do. Does anything else matter?17 -
I'm facing something really strange, in a coffee shop I go to usually, all downloads even if from terminal download speed is at best 200KB/s and at worst 50KB/s, but there is this game armored warfare, it reaches 2MB/s download speed on the same connection, while at home everything goes to max 200KB/s.
My question is, how do the devs at armored warfare do this? use max connection speed or are there any configs need to be changed so I can reach max speed in any downloading?31 -
Sometimes it's uncomfortable for me to code anything because all I do is based on other stuff that is based on other stuff and so on.
Am I truly a creator when all I do is putting the puzzle pieces together so it looks unique?
I actually never honestly go beyond "modding".. Why do I always have to rely on other stuff working? And other stuff continuing to work for the following decade?
I thought it's only the case for software/web/etc but apparently most hardware projects are stuffing bought things together.
Music is stuffing chord combinations and melodies together.
It all goes on like that. -
Here's how it usually goes:
1) I estimate the different aspects of the assignment to the best of my abillities, based on customer criteria and information. I come up with an realistic estimate for development and testing.
2) My PM runs the numbers through an algorithm. It adds time for other stuff, but its all still very fair and in tune.
Now to the fucked up part.
3) My ceo and cto looks at the estimate, and he will just turn on every possible button and twist the estimate into what he thinks he can get the customer to pay🤢🤮
This ends in the customer saying - no thank you.
He comes back to us and does not understand why they declined.
Idiot! -
I have such little patience for the whole fucking “let’s just do it later” mentality anymore. Especially when it takes like 30 minutes or less to fix. Then a month goes by and everyone suffers from it not being fixed. Like I understand why they do so and why it’s important to just do the task. I understand there’s often no time to make huge improvements, but if you have time and you see a small thing that can be fixed, make improvements you silly little bump-on-a-log. Like have a little empathy for your comrades goddamnit.8
-
When you are waiting for something to screw up the whole day so you can rant about it on devRant, but everything goes well. :(
-
Stupid me.
We were on a time crunch for giving a demo. A friend wrote a piece of code and he said it was working exactly the way it should be and that we can directly transfer to my machine and run it. He ran the piece (on his machine to show me) and it worked.
I take the source from him transfer it on my machine (because mine was going to be used for the demo).
Demo begins, everything goes smoothly ...all up until the point of the last module demo. Alas, the transfered module didn't work. Tried debugging during the demo as everyone was cooperative and patient. Turns out I hadn't done an initial setup required for that module. Embarrassed! 😓
Should have tested before the demo. 😞
FML. But from that moment forward i make sure to test every code I get from others as well as the one I write.
For anyone planning to ask me, I don't remember what the piece of code even did. It was a small time side project with a company. Not revealing the company's name.2 -
A connection was looking for a developer in the city my brother-in-law recently moved to (for my sister's career), so I connected them. They exchanged a couple of emails, and he has an on-site interview tomorrow!
He and I are both .Net developers, and I'm older/more experienced, so I offered to rearrange my schedule to help him with some interview prep tonight.
He said no, that he's pretty confident about things, that he'll do some studying and research on his own.
Good for him and his confidence, but I'm kinda salty that he didn't take me up on my offer. I'm pretty damn clever. How dare someone reject my offer for assistance?? I hope the interview goes well of course but if it doesn't I'm very much going to feel some silent "I told you so!"6 -
Each time I try firefox after somebody mentions it again or it's in my rss feed, it still seems to never actually advance
It's stuck and either gets worse or goes back to its stable non improving level again, how come do they still not have a proper mobile responsive tester, why are even the upgraded addons still suffering the same container and rendering bugs
how is it more important getting bad image by implementing mr robot malware, than getting on an actual competitive level
why is it default bloated with random pocket addon bullshit, why did it begin to lag, ..
I remember when I was using firefox for a good portion of my life and laughed at how google chrome is laggy, but nowadays theres simply no competition to chrome, its stability and developer tools
I wish there was competition, the grid tools were a great start, but then nothing followed and they just went back to their never improving flatline16 -
A couple of years ago, we decide to migrate our customer's data from one data center to another, this is the story of how it goes well.
The product was a Facebook canvas and mobile game with 200M users, that represent approximately 500Gibi of data to move stored in MySQL and Redis. The source was stored in Dallas, and the target was New York.
Because downtime is responsible for preventing users to spend their money on our "free" game, we decide to avoid it as much as possible.
In our MySQL main table (manually sharded 100 tables) , we had a modification TIMESTAMP column. We decide to use it to check if a user needs to be copied on the new database. The rest of the data consist of a savegame stored as gzipped JSON in a LONGBLOB column.
A program in Go has been developed to continuously track if a user's data needs to be copied again everytime progress has been made on its savegame. The process goes like this: First the JSON was unzipped to detect bot users with no progress that we simply drop, then data was exported in a custom binary file with fast compressed data to reduce the size of the file. Next, the exported file was copied using rsync to the new servers, and a second Go program do the import on the new MySQL instances.
The 1st loop takes 1 week to copy; the 2nd takes 1 day; a couple of hours for the 3rd, and so on. At the end, copying the latest versions of all the savegame takes roughly a couple of minutes.
On the Redis side, some data were cache that we knew can be dropped without impacting the user's experience. Others were big bunch of data and we simply SCAN each Redis instances and produces the same kind of custom binary files. The process was fast enough to launch it once during migration. It takes 15 minutes because we were able to parallelise across the 22 instances.
It takes 6 months of meticulous preparation. The D day, the process goes smoothly, but we shutdowns our service for one long hour because of a typo on a domain name.1 -
Just came back from vaccation yesterday. During sprint retrospective today I hear my team was having trouble dealing with the API layer (which was mostly written by me). Suggestion was a session where I sit and explain the application to the team ,which I have no problem with.
One of my teammates asserts that it's written in such a way that "only the person who wrote it can modify it".
Agree to disagree but whatever. This thing goes through code review everytime I push changes to it. If there was a problem I don't know why he's just discovering it 6 months into the project. I assure you there's no rocket surgery going on. The problem is that I have been doing everything on that side of the project and nobody was curious enough to give it a read sometime. In fact I dont think anything needed to change while I was on vacation, they just didn't have me to troubleshoot every problem for them like usual 😤 -
We are a small company, and our CEO and CTO attends our daily standups(not sure why)
At the end our CTO, after a little discission with our PM, goes: “This” is more importent and should be gone first - its money to the company.
Pm: Fine but then “that” wont be worked on for now.
Cto: ohh okay, but “this” is really importent, so do it first.
Standup done, people returns to work.
1 minut later, Cto comes into the dev room.
Cto: “something else” is also really really importent.
Pm: ok, so then we do “something else” instead and we will put “this” on standby for now.
Cto: and remember “operation” has the highest priority of all.
For fuck sake... just pick one or decide what it is you want....
Cto has no clue to what he is doing. Does not have a long term plan, other then get money into the company based on really short term goals.
Easy to say im not his biggest fan, and I am a 100% sure he knows this.4 -
Im seriously thinking about Watercooling my Raspberry Pi 3...
Why?
BRCAUSE THIS LIL SHIT RUNS SO FUCKING HOT THAT I CAN MAKE AN EGG ON IT! THATS WHY!
Its 80°C when under little load BUT GOES OVER FUCKING 90°C ON LOAD! AND THIS IS FUCKING DANGEROUS! FUCK!
so back to watercooling...
Its a Stupid idea, I know, but its literally THE ONLY FUCKING WAY TO COOL THIS BASTARD! And trust me I tried Novec (Yes the liquid that evaporates at 60°C...) and SHITS EXPENSIVE!12