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 - "never works"
-
Boss: You'll need to make the presentation an hour earlier than usual. There'll be 20 people attending..
Me: Sure. Will everyone show up?
Boss: Oh yes, they'll show up.
*Reschedules other work at home*
*Gets 4 hours of sleep to wake up earlier*
*Prepares material*
*Shows up for the meeting 5 minutes earlier*
*Crickets chirp*
There literally wasn't a single person there. Everyone shows up at the normal fucking time and good old boss was 2 fucking hours late.
Guess what the presentation was for? To solve the fucking issue of why stuff never gets done on time and nothing works right. I think I might have a tiny fucking idea why, at this point.9 -
I just remembered the first time I set up a Linux-Server. It was a simple Apache webserver at my first internship anf I didnt have a clue about literally anything.
My mentor guided me through and gave me literal step-by-step instructions (alright, now type... and now type...).
At the end he told me "OK, now run 'sudo rm -rf /*' to finish setting up". Me, being the naive and clueless motherfucker I am, happily nuked the everloving shit out of my newly setup server. I was like "Alright, WTF just happened??" He then told me "Now that you know how it works, do the entire thing again all by yourself. And you just learned an important lesson: NEVER exexute commands you dont know what theyre doing". I really did learn a lot on that day and still follow that lesson :D8 -
Dear Misinformed idiots,
Just because you watched Silicon Valley doesn't mean you actually understand how Software Development works.
-We don't sit in front of a screen in an AC room googling funny pictures
-We don't think of new Algorithms by pretending to be jerking.
-We don't "get lucky" with our code, it takes hours of studying and research to come up with a solution which actually works.
-And we definitely can't just "create the *next* Google", THAT is not how it works.
I swear to the God ya'll love and cherish, the next person to approach me to turn their shit idea into "The next big thing", I'll leave everything aside and drive a screwdriver through your neck.
- An Engineer tired of everyone's never ending shit storm.10 -
Client: Urgent! App is crashing!
Me inside: Wtf, Crashlytics didn’t send me anything, it betrayed me...
Me: What’s wrong?
Client: Some random user sent me email that app is crashing SOMEWHERE(!?)
Me: ................................... no problem, I’m working on it.
*Tomorrow*
Me: Fixed, everything works fine now (didn’t do anything actually)
Client: Great, nice work!
Client never mentioned that “problem “ anymore.
#likeaboss4 -
So at work today my coworker overlooked my laptop running Linux with i3.
Coworker: How do you live with this?
Me: What do you mean? This is customized to work with Git and my IDE efficiently while I do dev ops with my server.
Coworker: Your mouse barely works and you operate this thing totally on keyboard shortcuts. Linux will never be a serious platform.
Me: I'm not saying you or anyone at work has to use this, I built an environment to suite my needs. Same as anyone. I thought you liked consumer choice?
Needless to say we didn't get much further beyond him thinking I was nuts for configuring my server in the cli. I swear I don't understand why I try to explain anymore. 😡19 -
The Top 20 replies by programmers when their programs do not work:
20. "That's weird..."
19. "It's never done that before."
18. "It worked yesterday."
17. "How is that possible?"
16. "It must be a hardware problem."
15. "What did you type in wrong to get it to crash?"
14. "There is something funky in your data."
13. "I haven't touched that module in weeks!"
12. "You must have the wrong version."
11. "It's just some unlucky coincidence."
10. "I can't test everything!"
9. "THIS can't be the source of THAT."
8. "It works, but it hasn't been tested."
7. "Somebody must have changed my code."
6. "Did you check for a virus on your system?"
5. "Even though it doesn't work, how does it feel?
4. "You can't use that version on your system."
3. "Why do you want to do it that way?"
2. "Where were you when the program blew up?"
And the Number One reply by programmers when their programs don't work:
1. "It works on my machine."10 -
!rant
I built a decently large project at work, and everything works perfectly. It's beautiful, it's fast, it's light, it's organized and clean, and deploying is a breeze. I'm very proud of it.
The biggest reason, though, is that it uses exclusively technology I had never touched before:
• React
• Redux
• ES6/Babel
• Webpack
• Express.js
• Material Design
• Apple lappy (I'm a linux girl)
I was completely new to all of these, including my dev machine. Every single aspect of the project was outside my skillet.
But it went from my first experimental `import React from 'react'` to production-ready in three weeks. I'm really proud 😊14 -
Had this yesterday on my way back home from the meeting. Bumped into an old study friend who was never fond of Linux even for servers.
"so what do you use at your company?"
"oh uhm yeah uhm right.... Ehh yes ehhhh so uhm like we use like uhm Linux for the servers"
"ah, and? Works well?"
"uhm well uhm yeah ehh yeah works uhm pretty..... Pretty ehhhhhh good 😅. It appears to eh work.... Like uhm very good for servers after all..."
Hearing that coming out of his mouth....
Damn!1 -
For people who think/find that open source solutions are always better than commercial/paid/proprietary ones, you are not going to like this rant.
I'm starting to get really fucking fed up with people always, whenever I see someone (including myself) mentioning that an open source solution which is an alternative to a closed source one, saying that it's shit.
I've had countless encounters on here (also irl) where someone mentions that an open source solution (GIMP or Libre Office for example) is shit by default while they've maybe (or probably?) not even used it themselves.
Also people going "you can't even compare those two as for what they can do/features/functions". I'm definitely not saying that those open solutions are perfect. But to call them worthless or shit and/or to say that you literally 'cannot compare them' or that the open solution just doesn't work as a *FACT* is fucking bullshit.
Let's take GIMP for example, the use case of a friend of mine:
- He works both with macOS and Linux Mint, he *needs* a design/photo editing tool which is cross platform. (or at least one which works on macOS+Linux)
- He does not mind paying for software but he prefers to use software which is free as in freedom because he also likes to tinker with the software (a lot of people find this argument bullshit, I noticed on here. Why is that? It's a valid reason. Maybe not for you but we're not talking about you right now).
- He likes Photoshop but due to Linux incompatibility and the fact that he can't tinker around with the code, it's not an option for him.
- He'd gladly go for paid software but GIMP fills all his design/photo editing needs (also the more advanced ones but don't ask them to me because I have no fucking clue how that shit works)
- GIMP *just works* for him, he never has trouble with it.
Let's take Libre Office, my own use case:
- It *NEEDS* to work on Linux, which Libre does.
- It *HAS* to be open source, ethic/moral thingy; Libre Office is open source.
- It doesn't need to work complete magic but it needs proper basic document and 'excel' sheet functionalities which is the case with Libre and it works *for me*.
- I don't mind paying for it, will probably donate in the future (seeding the macOS+windows+linux versions fulltime at the moment)
See, for our use cases, it works very well. So why go into "it's no match for proprietary alternatives" mode right away? It actually is, as you see in the examples above.
Please stop saying that those solutions *don't work* or *are shit* because they do work and are useful for me and loads of people around the world.
Do they have *ALL* the features which their proprietary alternatives have? Maybe, maybe not, maybe they're missing some and maybe they even have some features which the proprietary alternatives don't have, I haven't checked out every feature.
I'm not saying that it works for you, for the record, I'm just saying that just because for you it is a fact that they're bad/shit/hardly working, doesn't mean they are for others.21 -
Half a week later I finally found out why my DNS server "wasn't working" on any of my servers.
Let's just say that MullVad's anti-dns leaking technology works extremely well.
It was tunneling all DNS requests through its own servers to prevent DNS leaks and I never thought of it a single fucking time!
😅4 -
Didn't want to post it as there's been already a lot of posts like this. But I just can't help myself to rant over this. This happened yesterday. I helped him earlier with his phone.
Friend of my dad: Hey, I need your help with my laptop I bought from eBay.
Me: *flashbacks of devRant posts*
Him: Everything works. It's just that nothing comes up in display.
Me: Okay, you need to take that to a repair shop. If at least something came up on screen I could help.
Him: Aren't you a computer engineer? I bought this because I knew you can fix it.
Me: *more flashbacks*
Him: You gotta help me with this. I can't lose money on this
Me: You didn't even ask me anything before buying. Ask your buyer if they have a 30 day return policy.
Him: Why are paying this much to study Computer Engineering? I'll talk to your dad.
This people man. I told my dad and he never received his call anymore7 -
Depression is like email newsletters, nobody signed up for that shit and the unsubscribe link never works 🙈 fuck that 📧5
-
Went to an interview for the position ‘PHP Web Developer’. Interviewer scans through my CV for 2mins and then starts the interview.
Interviewer: Do you know Java?
Me: I know Java but I don’t have any professional experience
Interviewer: Do you know Hadoop?
Me: No. I’ve never worked on it
Interviewer: Our company works on Hadoop hence you should be able to work on that after joining.
Me: I thought this is a PHP web dev position.
Interviewer: Of course. But you will have work on various other things too!
Me: I don’t think I want to become jack of all trades. Thanks for the opportunity!
I got up and left the interview...7 -
Implemented a feature without the hardware to run it on.
Hardware arrives on the last day before it has to be prepared for a trade show.
Feature works on first try.
I have never been so suspicions.4 -
*Doing a Peer Code Review of someone senior to me*
Me: This fix doesn't look like it will work, but maybe I don't understand. How does this fix the defect?
Senior Dev: *Blinks* It works on my machine
Me: But how does it work?
Senior Dev: It works when I run it on my machine...
Me: Do you know if this will fix the issue?
*Silence*
Never seen QA punt an issue back to development so fast.7 -
Sometimes when I am on reddit or fb, I will double tap a post to try to like it. It never works :(3
-
The Micromanagement God. The guy would come to the office 64 times a day, go behind my desk, stare at the monitors for a while and ask what am I working on.
He would sometimes ask for explanation of how something works because he never saw it before and then give me advice on how to use that thing he never saw before.2 -
Hey Root. Here’s a new ticket for you. It involves lots of things you’ve never seen before, and the only person you can ask is out this week.
Hey Root. Why haven’t you been making good progress every day? Why didn’t you reach out to the guy on FTO? Clearly you can’t communicate. Give me detailed status updates twice a day at specific times, covering <exhaustive list of topics> so I know you’re working. What do you mean “no”!?
Hey Root. Stop working on that ticket, and work on this other ticket. It’s the same thing, but different. High-priority!
Hey Root. You asking questions about that ticket pissed off a legendary golden boy principal dev, and he said it’s a bad idea and that we should have assigned it to a different team, too — you know, the team who usually works on these areas. But we might still have you do it. Please work on the previous ticket that’s in the exact same area until we decide.
Hey Root. Why haven’t you gotten anything done?12 -
while working on a website, I left a line of php code that echo's 'it fucking works' when a call is successfully made to the server. Two weeks later it hits me while I'm in bed that I never removed that line.5
-
only developer with linux. everyone else are on windows.
constantly finding myself in following conversation
me : "something is not working for me on the web page i am writing"
jim : "let me see just a.... WOW! WHAT IS THIS?"
me:"ubuntu"
jim:"wat?"
me:"linux"
jim:"well... " +sigh + "that's your problem right there! this works to everyone else. and they're on windows. why would you ever not use windows?"
me:"have you ever tried anythig else?"
jim:"never needed to. windows works just fine.."
me:"well... does your computer ever freeze?"
jim:"constantly"
me:"that doesn't happen on ubuntu. at least it is quite rare"
jim:"nah... you're mistaken. windows rocks! anyway, you should probably talk to someone who knows ubuntu cause my chrome works just fine so it must be this ubuntu of yours.."14 -
So;dfjkhijasdfkjq;sdfhjkl;asdf
I copy a line from one spec (to create a user) and paste it in another spec. It works just dandy in the first, and throws MySQL missing column errors in the other.
Fucking what.
This codebase is full of shit like this. Things work in one place but not another, and it’s never obvious why. Tens of thousands of gotchas and quirks. The only way I can get an answer to things like these is to either beg my boss for an explanation, which I’m sure he’s long since tired of, or spend a full day (or more) wading through several rabbit holes filled with raw sewage.
I wasted two hours today trying to get a simple fucking factory to work. And you know what? I just gave up and used the existing admin user. Yeah it’s a bad idea, but it’s fucking good enough.
They can yell if they want.
I have no cares left.rant non-deterministic this train went off the rails long ago so done so tired trainwreck idc puffing billy15 -
Holy shit balls it works (so far)
-
So I’ve been working on a project... well feature for the past year (yes 12 whole fucking months - anti agile I know)
And today I got to merge that bitch of a pull request into the current working branch and deploy it to UAT - no conflicts 😵I think I need to put the lottery on tonight!
And some how, by some stupid lucky roll of the dice it just works.
I have never felt so afraid and delighted in my life!6 -
A new linear time O(N) sorting algorithm [Keep it secret 🔒]
* Compare two adjacent elements one by one starting from the first element
* If there are out of order, delete the second element and continue with step 1
* If in order, go to the next two elements
* Once done, act like the numbers you deleted never existed
Works all the time.
Not yet published. Thinking of a good name for it.25 -
Today I was wandering through the code of the project I work on. The project is on JS, turns out someone named an object key `undefined`. They had the wonderful idea since they didn't want to pass a key through on the side where the info stored in the object is used(or at least that's what I assume).
Look at the image. (not the actual implementation but you get it and it actually works if you want to try it)
👏🏼 I don't know who did it and I rather not git blame it, but pray to the 7 gods you never do something like that again while I'm around or you are going to be in need of prosthetic fingers to code again motherfucker.16 -
Today a colleague of mine asked me to help with some javascript. So I said sure, it will be done in 5 minutes. Im a fullstack developer with a focus on backend in this project.
So I opened the frontend part and was amazed how shit the javascript file was. Yes you read it right FILE...
One big file with a lot of variables in the window scope.
Because she was in “charge” of the frontenders because she works there a bit longer then me I never checked the frontend code.
I said I wont/cant help unless I see better code. I explained to a trainee what could be done to change it and Im impressed that the trainee did a better job then the employee and quick as well.
Got the whole code in seperate files with each part of the code in seperate scopes within 2 hours.
What Im saying here is that even as student, intern or trainee you can know things better thsn someone with experience, dont be afraid to speak up. Because everyone can learn from eachother.7 -
Unaware that this had been occurring for while, DBA manager walks into our cube area:
DBAMgr-Scott: "DBA-Kelly told me you still having problems connecting to the new staging servers?"
Dev-Carl: "Yea, still getting access denied. Same problem we've been having for a couple of weeks"
DBAMgr-Scott: "Damn it, I hate you. I got to have Kelly working with data warehouse project. I guess I've got to start working on fixing this problem."
Dev-Carl: "Ha ha..sorry. I've checked everything. Its definitely something on the sql server side."
DBAMgr-Scott: "I guess my day is shot. I've got to talk to the network admin, when I get back, lets put our heads together and figure this out."
<Scott leaves>
Me: "A permissions issue on staging? All my stuff is working fine and been working fine for a long while."
Dev-Carl: "Yea, there is nothing different about any of the other environments."
Me: "That doesn't sound right. What's the error?"
Dev-Carl: "Permissions"
Me: "No, the actual exception, never mind, I'll look it up in Splunk."
<in about 30 seconds, I find the actual exception, Win32Exception: Access is denied in OpenSqlFileStream, a little google-fu and .. >
Me: "Is the service using Windows authentication or SQL authentication?"
Dev-Carl: "SQL authentication."
Me: "Switch it to windows authentication"
<Dev-Carl changes authentication...service works like a charm>
Dev-Carl: "OMG, it worked! We've been working on this problem for almost two weeks and it only took you 30 seconds."
Me: "Now that it works, and the service had been working, what changed?"
Dev-Carl: "Oh..look at that, Dev-Jake changed the connection string two weeks ago. Weird. Thanks for your help."
<My brain is screaming "YOU NEVER THOUGHT TO LOOK FOR WHAT CHANGED!!!"
Me: "I'm happy I could help."4 -
Linux... Is shitty... Ok it just is. I've tried all kinds of variations and they all just... Urgh
Now I know... I know devs are meant to love it ... But compare it to windows
(Yes windows fucks up more) but when it works it works.
... Windows isn't perfect... But it doesn't try to be.
Linux has that feel of... Clearly made by a dev... It works consistently but doesn't take into account how people want to use something...
Linux is something you have to learn to love. And I'm sure I could.
But with windows it's intuitive it's straight forward
I feel like if I was to pick up windows having never used it... I would know how it works. I could at least use it go online and watch videos do the basics... In Linux ... No it's not as easy, sometimes not possible
An os you should just know how to do everything you want to do, and not have to download tonnes of shit to get it that way
It is, the future... But holy fuck get your act together Linux65 -
!rant
Linux vs Microsoft
Well, this war is certainly one of the oldest. IMO,
Linux - great for automating stuff, free, and customisable.
Windows - user friendly, softwares much more easily available, much easier to use.
Frankly, I have tried using Linux a lot of times, but never liked it one bit. I am a GUI fan and hate to type commands for every little thing. Plus installing Ubuntu wiped out my disk once and I lost all my school memories ( this was in 2008, I didn't know much about backups, was quite young) ,so I am quite vary of it. I just don't feel it to be intuitive. Just to do a simple task, I loathe to learn difficult commands, and just read the syntax.
However, I have no bias against people who use Linux.
It is like religion, live and let live, follow whatever suits you.
On devrant, why's there so much hate for Windows? Because it is paid? Because it has updates? So what!
I never had a problem with it, I update once a month, takes 10 mins. If you set up your active hours correctly, it works great, you can disable updates also. Windows 10 is highly stable. It is paid, but in my country almost all laptops come with windows preinstalled. The OS-less laptops are about $10 cheaper, which is not that much to freak about.
Would love to hear your views and logical arguments.
Please be polite.35 -
Feel like a god!
I've made an API service that returns a list of countries based on a temperature range that they will have within the next 10 days for spur of the moment holidays.
It even finds you the cheapest possible flight ticket from your location to it.
So many nights were spent raging since I had never touched node js until 9 weeks ago and I have other huge pieces of work on the burner.
Once it's finished and works properly, how does one market such a service?9 -
My Dad: "Hey since you mostly use your desktop, could I borrow your laptop for my trip?"
He just wants to play World of Warcraft but there is no way I'm going to let him have access to my PC after years of fixing his computer. Because he's my dad and helped pay for the laptopn, I can't just say no without him getting flustered so this is what happened.
Me: "Yeah sure, you'll just need to find whether or not WoW, works with a windows emulator and hunt down how to configure that."
D: "Why can't you do it?"
M: "I've never done it. Its like the price to borrow."
D: >:| "I'll ask your brother."
He did end up borrowing my brothers laptop for the trip because he was running windows and didn't have a good excuse. I just helped him uninstall the blizzard client, WoW, avast, and McAfee that was installed over the weekend.5 -
"Hey, I've noticed that when I run this script, I get an error message. It says it has failed to do step x"
A: "Have you tried running it with sudo"
"Yeah, that works"
B: "NO WAY YOU SHOULD NEVER USE SUDO THAT'S A MAJOR SECURITY RISK, ARE YOU RETARDED RUNNING THINGS WITH SUDO IS EVIL"
"Do you have an alternative solution?"
*trjirp trjirp* 🦗🦗🦗6 -
They've literally left me with nothing to do. I'm doing nothing. I can't be happy doing nothing.
To illustrate the chaos: Everyone on the team was trying to figure out some defect. No one knows what is going on in the code. It's unlike anything I've ever seen.
I found an API call with a misspelled endpoint. It was wrong since the code was written two months before. There's no way it ever worked. Obviously no one tested the code because they would have immediately seen that the call returned a 404 every time.
I fixed it. That was my only PR in about a month. It was literally one character.
The next week that PR got reverted. Apparently the app works better if the API call fails. No one said what goes wrong if the request is made, just that it "causes problems."
That's how bad it is. No one knows why anything does or doesn't work. People write code that doesn't work, never test it, and the application works better in some unspecified way if that code never gets executed.
The last straw for me was when an architect told us that if we want to improve our skills we need to learn how to read and debug stuff like this.
1) Not to be immodest, but I'm good at figuring out bad code.
2) Just because I can doesn't mean I want to do it all day instead of actually developing software
3) He trivialized the really important skill, not making a mess like this in the first place. If his idea of skill is to sling crap without tests at the wall and then debug it, how is he an architect?
I tried really hard but I can't keep a good attitude. I don't want to become toxic, but why would I consider working that way? I try my best to be good at this. Writing decent code means a lot to me. It should mean a lot to them. Their code is costing them hundreds of thousands of dollars. Maybe millions.
I can't write good code and add value if all I do is debug bad code.
So I'm out. I'm going to another project. Have a nice life.4 -
I saw a piece of code that, to my knowledge of software engineering, should have never worked in the first place. The code doesn't know that, and it works anyway.
I call this a "bumblebug".3 -
An important message:
PrOpErLy managing servers is HARD.
I get pissed off at customers with ZERO server knowledge who think they can manage their VPS. “Just get a control panel and a VPS” from some flashy provider that makes server management look way too easy.. Clicking around in their fancy control panel, until:
- they need help with their *self-managed* VPS;
- their email ends up in spam;
- they suffer from performance issues;
- they need to restore a backup;
- something breaks, because YES, things break
Way too little people are able to answer:
- when and how do you make backups?
- how do you monitor your servers and which services?
- how do you keep track of trend analysis?
Then I come by with necessary software. SNMP for trend analysis, Graphite for infrastructure health, Sensu for monitoring, Kibana, Ansible for configuration management..
Things that servers need but that customers have never even heard of.. because they can do everything in their control panel..
Until they come crying to me because it broke and they don’t even know how to get into SSH.
I think the ones to blame are VPS providers that tell the tale of how easy it is to install a control panel and never look at your server again.
Customers become responsible for something *business-critical*! Yet they don’t know how it works.6 -
Holy shit my server survived a DNS amplification attack!
I thought my iptables rules were not very effective, since I kept seeing 1-2 ANY requests getting through my pihole (only to be ignored by the upstream cloudflare server).
Turns out, they never actually *kicked in*, until now.
The craziest part is that one ip belongs to the Ministry of a country!! :O
Eat that, motherfuckers! God I love it when this shit actually works!5 -
Honestly, I have a love/hate relationship with coding. On one hand, I can feel on top of the world when something works the way I want it to. On the other hand, coding can make me feel more incompetent and depressed about my life than anything else. I would never want to do anything else with my life, but it's really tough when the thing you love is also the source of a lot of self-hate.1
-
The founder of a company I worked with is convinced that if you're a founder who argues with engineers, you're a bad founder.
He believes that any engineer knows engineering stuff better than any manager. It feels like common sense. Though it's a very rare point of view among managers. He agrees and says that managers only argue with developers because of lack of confidence, megalomania or some other ego issues.
So, all our arguments with him go like this:
— %Foundername%, we should change X, here's why
— Okay, discard existing mockups and go ahead
Or like this:
— %Foundername%, we should change X, here's why
— Kiki, I tried it, here's the evidence that our current stuff works better
— Okay
It's always this two ways and never something like "I'm YoUr SupErIoR sO I'm rIgHt", the stuff I heard in companies I worked for before.5 -
//An okay long rant..
So i work at this small robotics start-up company I Copenhagen.
The first dumb part is that it only uses interns as staff, because then they don't need to pay people. (I am working part time, for free. Just to get experience (I am only 20 btw))
So.. I often get into an argument with my boss, since she is a designer with a "passion" for robotics (she has no clue how to do anything related to the work) But I often try to explain to her some current limitations in the staff, and what is possible for us to do, but she will never listen. She really wants us to design our own microcontroller board PCB, and she want it at the size of a coin. However when I tell her that none of the, non paid works has the experience or education to design such a thing, she never wants to acknowledge it, and it really pisses me off.
And her dad, who is the top boss, only care for esthetics when he is making a work environment, which is dumb when we just need to develop stuff...
Sorry if the rant was too long but had to get it out..8 -
Processing is WHAT?!
So is it just me or is processing like the most fun thing to do with coding ? I mean, it's perfect for relax; it's fun like playing games but it still gives you something.
I've never been so keen to code like I am after weekend with processing. OMG!
And it's not just that you can do everything, understand how M$ Paint/Photoshop does things, understand how games work and how EVERYTHING around graphics works, it's also that there are SO MANY REAAAAALLY GOOD resources that you enjoy ""studying"". Things like pong, game of life, Gaussian blur (the one you use in Photoshop daily, yeah, do you understand how it works ?), Painting or edge detection OR ANY OTHER THING RELATING TO GRAPHICS.
It's simply amazing so if you don't know about it, give it at least 10 minutes(at that point, you'll be programming GTA 6/Photoshop 2 or something..), you won't regret it.
Anyaway, feel free to share your creations!10 -
So after a llllllloooooonnnnnnngggggg struggle with the team i've been working with, today is the day that my group move to a different org and start working with a different team.
This is a huge step in the right direction for us and we are so happy. This new team is much bigger, but has been around for a lot longer and has proper processes in place and works a lot smoother. Never going to be perfect, but still going to be much more workable and we are so ...... thats an interesting linter file, hhhmmm they have disabled all the checks for the stuff that will cause crashes, like force unwrapping ... but they've enabled the rule to make sure our imports are sorted alphabetically
... nope, cant do it, no sign of intelligent life in this company at all. linkedin here I come.7 -
I know people complain about Android Gradle takes so long to build (and I know the reason why, thanks to @DRHAX34) but for me that isn't what I have to wait for.
It's the shitty WiFi at work that causes issues/bugs I'll never experience normally lol
When my app builds I have to also connect to the internet and check for updates against the umbraco server, and it works if it fails to connect (naturally) but our internet somehow manages to stay connected enough to trick the app into doing continuous checks or some form of tiny and long downloads
I've been tempted and sometimes do use my own mobile data which would waste my tiny data (at the time)
Anyways fuck you shiternet lol -
Newly hired developer who calls himself ”senior” on linkedin has not contributed for 6 months. At least. I have been very helpful on many pair programming sessions. Directing him. Being extremely precise how things works and are working together. Small and big picture. He calls me and ask questions and I answer. Explain. Again and again. But it does not stick.
Nothing.
Extremely precise tasks. Written specifically for him.
Nothing.
He has like 10 commits in one year. It’s the worst I’ve seen in a developer role.
The other day in a zoom meeting he failed to declare a variable correctly. He copy/pasted a line instead and renamed the variable.
I saw this early. But I need not to work with him for a long time. It is now very clear that he will never contribute but in fact decrease the velocity of the team.
One year is a long time.
He is stupid. He can’t learn. Did he not tell the truth about himself when management hired him?
It so sad they hired him.13 -
"I don't see women as objects, each woman is in a class of their own! HAHAHAHAHAHAHAHA"
- People who have no fucking clue how OOP works
Objects are instantiations of classes, you poor, retarded bastards. You saw those two words while skimming your 1st year college textbook, made this joke, promptly changed to some useless English degree because you cried after your "hello world" program didn't run, and never looked back to see the damage you had done.
I know the joke is the word play but word play word play puns are retarded anyways. Everything about this pun is awful.8 -
Today, i have never been embarrassed like this in my life.
I started onboarding sessions with this guy. We were on teams call. It was a knowledge transfer session. Hes explaining how the system works. Then tells me which programs to install.
I was searching through allowed programs to install. Installed notepad++ (who tf uses that in 2024?) Installed snaggit. Then had to install putty. Instead of writing putty i unconsciously without thinking wrote pussy
..............
💀💀💀💀💀💀
😞😞😞😞
he then said "yea you can find that too but not on this website lmfaoooooo🤣😹😹😹😹"
🫥🫥🫥🫥🫥😶🌫️😶🌫️😶🌫️😶🌫️😶🌫️😶🌫️
Please14 -
I spent the last 3 months trying to hire new developers for my team. I found someone experienced who is great and a graduate, who is, well, a graduate.
For some reason he thinks he knows everything about our framework he has never used and seems to think he knows how everything works in our codebase which he has never seen.
That’s fine. I’ve had my share of cocky developers.
But what confuses me is that when I ask him what critical bugs are left, he reels off two significant ones. I ask what it will take to fix it. Of course he says he knows how to fix it. So I say great. Then fix it and let’s move on to a more fun part of our project.
Suddenly he didn’t know where he problem was and so I told him he had to investigate and come back with something concrete.
It’s just frustrating managing this developer who is deceitful.10 -
"You should record video tutorials of how to do stuff", people say to me.
#1 - I suck on camera. I have a really annoying nasally voice that I just can't stand to hear in my own head, let alone on video.
#2 - I look like every stupid a--hole fat old ugly white guy people love to hate. Nobody wants to see that.
#3 - I suck at remembering what the f$$# I was going to say to begin the video, to show the thing I was going to show, and how to end it without sounding like a complete #@#%@# moron.
#4 - %@%$#@ QuickTime! And any other video screen recording software that NEVER $%#@#$% WORKS for me!! I'll be in the middle of a very complex process I'm demonstrating and BAM! The whole recording crashes. Six takes and six more crashes later and I'm @#%#@# done with trying to do this #@$@#%.
Screenshots and text it is and always will be.9 -
Fuck Facebook and its "BSD + patents" license. That is not how open source works and should never have to.13
-
Powershell should die.
I have a simple bash script I made that allows me to download almost any video from the internet. Works great and took me only a few minutes to make.
The only issue is it bash meaning Windows doesn't run it natively. I am not able to install linux Subsystem or bash, etc on the server.
So I decided to rewrite it in powershell thinking it should be Okay and I have never struggled with so much retardedness in my life. After 40+ tabs in chrome and a massive headache, it finally works.
Microsoft should kill powershell entirely and rethink their scripting language.
Also VBA should have died 10 years ago.16 -
Half the papers on multimodal learning refer to studies on human children learning. Makes me wonder why we never study animals to know how their multimodal learning works so fucking well that some newborns can function straight out of the womb/egg.10
-
What I don't understand is why it is so hard for some seniors to just let me jot my notes down, I get it you're busy but if you just let me write down certain key words, I will never ask you this question again, I am nervous cause I had to bug you for help so my mind is not taking anything in, its freaking out cause you're making it so clear I am a bother! So I'm gonna go back to my desk without notes and no idea of what you just tried to tell me.... It was never a problem for my first senior, and he even became my mentor! In a question of 6 months he could go on holiday cause I could handle all his responsibilities until he came back with my trusty note book in hand... So why are you telling me to stop making notes!! It works for me so leave me be!! - sits at desk, pondering why I exist - 😖16
-
i kinda feel embarrassed all the time. i feel like it's never enough, i don't know enough, there's so much i don't know. i do enjoy my work and sometimes there are moments where i'm proud of what i've done, or these "i'm a fucking genious" moments when i solve a bug or a certain problem or when something finally works. but if i have to do something new, i tend to panic a bit, as long as i do not yet have a concrete solution in mind.
my perception contrasts with the feedback people give me, but even when i'm happy about the positive feedback, i tend to think to myself, "they're wrong, it's not that great"..4 -
I’m working with a “senior” developer with a full decade more experience than me who didn’t know that short-circuit evaluation works differently for OR than it does for AND. He argued with me for a good hour and a half that in the expression (a || b), b would never be evaluated if a is false — and that this couldn’t possibly be the source of the bug he was trying to fix.
🙄5 -
I never have anything useful to say in standups because all my stuff works. which can make it seem like i'm not working on anything.4
-
Just pushed a 400+ line stored procedure in production. It's fucking magic and is probably never gonna be touched because no one will understand it and because "it works".5
-
Pushed code remotely and told a teammate to run it on the target hardware. He then told me he might of blown up $6000 worth of equipment. Then he says "Never mind everything works."
World record for biggest heart attack?1 -
I feel like Stackoverflow is a fastfood for programmers mind. It gives you a solution you starve for. It may be not the best quality, but it works for now. It does not satisfy you in a long run, and may be too shallow for advancing. But it works and gives you more to think about.
I would never find a quick solution to parse a string with regex. I never thought it works this way. But hey, I'm happy.9 -
Learning about logic gates and how memory works, had to make a "D-latch" which is a flip-flop where the leds can never be on simultaneously.
Pretty cool stuff imo
https://imgur.com/a/MlfLy
(gif too big, sorry for the external source)2 -
And after copy paste when it doesn't work, I read the text and come to know only works in x version, which I never have.2
-
Fucking React Scripts, "yOu hAvE mUlTiPlE VErSiOnS oF bAbEL-JeSt, Use nPm Ls Jest To TrACk It Down"
Ok you dumb fucks:
npm ls babel-jest
react-typescript@1.0.0 /Users/chris/Downloads/8sleu4
└─┬ react-scripts@4.0.3
├── babel-jest@26.6.3
└─┬ jest-circus@26.6.0
└─┬ jest-runner@26.6.3
└─┬ jest-config@26.6.3
└── babel-jest@26.6.3
OH LOOK THEY ARE BOTH IDENTICALLY 26.6.3 STOP BUILDING AN OPINIONATED PILE OF GARBAGE IN YOUR COCONUT TREE FUCKED UP FALSE PARADISE YOU CALL SILICON VALLEY!!!!!!! I'VE NEVER SEEN SUCH A BUNCH OF GARBAGE!!!! I'D PREFER A TOOL WRITTEN BY KINDERGARTNERS IN CRAYON!!!!! AAAAAAAAAAAAAAAA
EVERY
SINGLE
TIME
REACT SCRIPTS
BREAKS2 -
LabVIEW.
Because WHY THE ACTUAL FUCK should you want to use a visual programming language in a professional environment and pay for it.
(Other than: the manufacturer of your measurement device/power supply/electronic load/etc. has already provided a LabVIEW module so you just have, you know, 'click' your program together and be done.
No, we won't give you the documentation on how to do it properly without that piece of crap or even give you code snippets.
(If you don't feel the urge to shoot yourself in the foot, you have obviously too much time on your hands and could simply be reading the interface definitions for that particular interface. At least it's standardized, d'uh.)
Oh, and you want a lightweight application? Here comes the runtime environment! A big clunky ... thing you'll need now to start up even a simple measure-and-log-data-thing.
Well, OK, it works for the occasional Measure-and-Log-Thing. If you don't need the data too fast.
If you want to do something a bit more complex, knock yourself out, but don't ask me to debug it for you afterwards because that colourful entanglement of wires and connections and blocks is a DAMN HUGE MESS and trying to understand how it works feels like defusing a bomb in a shitty action movie.)
Never again.5 -
For me the best of being a dev was described by Fred Brooks in his "The Mythical Man-Month":
...The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination. Few media of creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures....
Yet the program construct, unlike the poet's words, is real in the sense that it moves and works, producing visible outputs separate from the construct itself. […] The magic of myth and legend has come true in our time. One types the correct incantation on a keyboard, and a display screen comes to life, showing things that never were nor could be...
https://en.wikiquote.org/wiki/...1 -
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 -
Had a blast from the past the other day. Testing an issue with an AngularJS app in IE11 on a project managers Surface.
Nothing works. Just a blank screen. I open the JavaScript console to hundreds, maybe thousands of errors. They all seem eerily familiar, but I can't place them. It's like something from a past life.
Then I see one that brings the issue into sharp focus.
"{{variable_name}} is a reserved word"
No it isn't, I think. That hasn't been a reserved word in JavaScript since...
Me: "Is your browser in Compatibility Mode?"
PM: "Yeah, it's for one of our legacy programs"
Me: "You need to turn that off to test this app. It thinks you're using IE6, so it's having a 2 decade old shit-fit. I haven't seen those errors since I was a teenager making crap on Geocities"
I never thought an error message could make me feel so old 😩 -
Up until last year I was pre-med. I graduated college with a bachelors in Biology. Took my MCAT, prepped my med school applications for submission, and then realized I didn’t wanna pursue this pseudo-dream I had for so long. I realized the reality of the sacrifice and the lifestyle I was gonna make and began to regret not studying what I truly liked to be doing on my off time which is computers and programming. Long story short, here I am back in school getting a degree in CS, and can whole heartily admit, I’m happy doing/learning what I love.
It’s amazing how life works. Never would I have imagined that I’d make a switch like that, but I know it’s the best decision I’ve made so far.4 -
Project Cortana: Day 56
*What I disliked*
Here is the rant where I described the project: https://devrant.io/rants/962190
Where do I start:
1. Skype: Horseshit. Fucking disgrace to chatting apps. Their mobile app feels like someone accidentally shat on android studio and uploaded in play store. Fucking garbage.
But, the desktop app on the other hand is great. Works well but uses a lot of CPU.
2. Edge: The mobile version is great, can't say the same for desktop version. It's definitely a bit slower than Chrome or Quantum. Lack of extensions never bothered me as the most important ones like uBlock, Ghostery and Lastpass is available.
3. Bing: Fuck that useless piece of shit.
4. OneNote: If you could wrap dogshit in a beautiful looking wrapping paper, you would get something similar to OneNote. The desktop app is almost non-fucntional but it is indeed very nice looking.
5. Promotional Apps: Fuck off Micro$oft. As mentioned by others, you get some shitty fucking games pre installed when you install Windows 10. Not only that, in the first couple of hours, it tried to install some further games while it's downloading updates. That is just horrible.
Everthing else was fine so far. The updates never bothered me. I got the "Restart" notification twice and I was able to change the time. It never forced anything on me.10 -
And just when you like Linux a little too much, it bites you in the ass to remind you why the year of the Linux desktop never happened.
Wifi printer is installed, CUPS test page works, even scanning works. But printing anything else results in the printer spitting out raw postscript with a few random lines per page.
Great. Looks like I'll have to print to PDF, then go to a copy shop and print because printing under Linux is still an unsolved issue.
And yes, that would have worked even with Windows 10. Fuck.24 -
One night, after one very stressful week of production code fixes (I was working on a game with some friends and I created the network infrastructure for P2P and database communication from scratch), I was at my gf's house. After we fell asleep, I stood up and screamed right at her something like "I fucking already told you how X works and how to communicate with Y. Learn to write code properly and after double checking yours then you shall ask me for a non-existing 'bug' fix. Learn how to properly write event based code and use polling you moron!". After that I turned to the other side and fell asleep immediately.
When I saw her the next morning sleeping in the couch, I could not understand why... Only after she described to me the whole incident I started laughing.
After that I just took two weeks off the project and after that period I never actually worked the same way (so hard) in my free time with them.1 -
People who complain about wordpress have probably never tried working with Magento.
I've been going through their documentation for about 3 hours now, trying to figure out how this entire system works. And I'm no where close to understanding it...9 -
-not commenting
-leaving console logs behind in production
-not testing if it works in IE
-using root too much
-using if instead of switch
-never staying consistent with naming conventions
-starting projects and never finishing3 -
Short: Still supported after 10 years
First Chromebook sent to testers.
Long: Lost my voice recently so need to use text to speech on my phone but to many typos so slow...
If only I had a keyboard... Wait a laptop... Hm... Chromebook...
Looks for cheapest on Amazon
But go.... Wait I already have one.... That I installed Ubuntu on and then somehow corrupted.
And never got around to fixing it because didn't really need it... Or have a 8gb USB stick around at the time.
Well now I saved $100 assuming the battery still works too6 -
Never thought I'd become one of those people who get really annoyed when my code works first time. I know I've made a mistake... why can't you be obvious!1
-
Nobody Unit Tests.
So it's already 1:15am late night and I am all tucked up in bed watching Roy Oshrove talk on unit testing and ways to write correct unit test. My friend walk in and finds me in bed watching this. He seems surprised as what are you doing ??
I replied it is an interesting talk on unit testing.
He says are you mad? Who the hell does unit testing ?
People out there are spitting on unit test code base. And they don't write unit tests.
Nobody unit tests.!!
I stay calm. I know there is no point of arguing. I said I'll sleep in some time.
And he works as developer, a job that I applied an never got because of connections.
I am optimistic someday I'll find a job that I deserve. The developer world is in danger. !!!4 -
Today I was working on an issue related to adding icons to external links. I'm no CSS ninja, I never claimed to be. Somehow I wrote some really nice CSS that works well cross-browser. Now I'm scared they're gonna think I'm good at CSS.1
-
“I’m anti establishment.” - works 4 hours a day on open-source library used by all major banks and never makes a dime from it while probably making them millions. (Way to stick it to the man!)9
-
> phone has OEM unlock disabled
> phone is vulnerable to like 300 race conditions
> reboot phone, get to menu as fast as possible
> sure enough, what do you fucking know, option is unblocked for a split second if I get to and open the dev settings perfectly
> manage to pull it off again
> SETTING STAYS ON AFTER REBOOTING we have ourselves a winner
it's never this easy, i have yet to check if it has a key or not, will keep you posted, but if this all works this will have been the most retardedly-simple unauthorized bootloader unlock ever5 -
This week I learned:
a.) Always quadruple check new feature before pushing a new update - otherwise it will end with one to three hotfixes
b.) Never do the last minute changes to the features - that ends with two to four hotfixes
c.) Always make sure that the update system works - otherwise no one will get your hotfixes1 -
Our job is basically doing something new or something we've never done everyday and trying to guess things over and over again until it works.3
-
Added a bond interface in my Proxmox installation for added cromulence, works, reboot again, works, reboot once more just to be sure, network down.. systemctl restart networking, successfully put the host's network back up.. lxc-attach 100, network in containers is still down apparently.. exit container, pct shutdown 100, pct start 100, lxc-attach again... Network now works fine in containers too.
Systemd's aggressive parallelization that likely tried to put the shit up too early is so amazing!
I'm literally almost crying in despair at how much shit this shitstaind is giving me lately.
Thank you Poettering for this great init, in which I have to manually restart shit on reboot because the "system manager" apparently can't really manage. Or be a proper init for that matter.
/rant
And yes I know that you've never had any issues with it. If you've got nothing better to say than that then please STFU. "Works for me" is also a rant I wrote a while back.12 -
This happen to me once when I was a young kid walking home from school.
There were two other guys with me, older than me. They were talking to each other about programming languages. I have been programming from a very young age so I knew a lot about programming and I knew a few languages back then, but they were taking about Java, a language which I wasn't into yet back then, so I just listened for a while to what they had to say.
The first guy told the other, "You know I'm great at Java." The other guy responded "I can do anything in Java." Then I said as a joke "Oh, can you do hello world?". The guy said "Hello what? What do you mean?" The other guy said. "Is that a retro game?" I just laughed. Then I told them to go learn how to output text in Java.
A bit of current history about these guys:
The first now works in C# for a quiz test company, he never learned Java or languages other than C#. The second one owns and works at a scrapyard. They are both great guys, but they like to brag.3 -
!rant
I used to doubt the usefulness of regex, until now.
I'm new to web dev, and downloaded a sample website to make a project with, but all the sources of images came as src="images/image.jpg", and for some reason I couldn't make it work, the only way that I found that could work to me was creating a static folder inside my app folder, declaring in the start of the document a {% load static %} and referring the image source as {% static 'images/image.jpg' %} in the html file, I kinda get what this is doing, but why it's the only way that works, it's beyond me.
Great! Now I can start the development server and see the website in its full glory!!! Then I realized: I had to edit the sources of every image and every reference to css and js in 5 html files to it work properly, and come on, do all that by hand?
Then regex came to mind, never had used it, never knew how to use it properly, after some web research I found if I did a find/replace with ([a-z]\w+\/[a-z,-]+\.[a-z]+{1,2}) and {% static '$1' %}, all the work I had to do, was resumed to a single click of replace all.
Man, I love doing what I do, and I love you guys/gals, never tough I would ever find a place in which I could share this kind of thing!6 -
As a dev, I never want to personally talk to Clients anymore.
I had this Client for whom I developed a website for a tool he was making. I did the front-end work, did the backend, added the shop and everything he asked for. I showed him everything so he could see for himself what was done and how it all works. He went ahead and tested the finished product to see if there were any bugs.
He came back to me and wanted a call on skype and I joined the call. He shared his screen to show me that when he resizes the browser, the content of it gets bigger and smaller according to scale. I worked so hard to get it responsive and whatnot, and he tells me that it is doing what it is supposed to do. I die inside every time I think about it2 -
!Dev
the fuck...
I'm not very good in remembering numbers. But I have lots to remember: apartment entrance code, maestrocard pin, phone pin, s few pins at work, and so on. So I remember patterns my finger mskes on a numpad instead [if you have played Ingress, you know exactly how it works].
There is a pattern for a bank card. Another one for phone pin, etc.
I've been using this technique for years... It has never failed me. I never could remember my pins, but give me a keypad and I'll enter it right away.
Last week smth happened. I forgot 2 pins from both of my bank cards... Both at the same day. And I did not have them written down anywhere for years...
Shit3 -
I'm the bone of my project
Steel is my brain and fire is my eye
I have created over a thousand bugs
Unknown to people, Solve by death.
Have withstood pain to create many function
Yet, those bugs will never be solved
So as I pray, Unlimited Hope Worksdevrant android studio java depressed in despair sleepy life of programmer thug life work about to death4 -
To quote Charles Bukowski:
"and when nobody wakes you up in the morning, and when nobody waits for you at night, and when you can do whatever you want. what do you call it, freedom or loneliness?"
I always have tendency to fall into feeling lonely and abandoned, but these days my life is tossing some of the wildest curve balls more than ever before.
The latest one yet just happened this Monday. My manager quit and there was no knowledge transfer, and it was not on the good terms with the company.
Now I'm the only member of my team, and I have to take care of some of the projects that I've never worked on.
Don't get me wrong, I'm not setup for failure, and there are no expectations for me to know how everything works, quiet the opposite. But working with our clients and debugging the projects that I literally setting up on the fly had been a rollercoaster.
Second time in this company I will be looking for a manager in my department, and teaching them how everything works. Fun times.. fun times never change..5 -
I realize that in interviews I can fake confidence to such high levels I thought would never be possible for me.
I keep impressing myself with every interview lol.
The saying "Fake it until you make it" is kinda true. It works for me haha3 -
Thought I would only do frontend-stuff when I started working. Boy I was wrong. I thought it would be easy coding in a real company and not just in schoolprojects, boy I was way out in the blue. But when your code works and is actually used by people, I never could've imagined that would feel so good!4
-
Samsung apparently thinks they are doing us users a favour with their "genius" TV block feature.
Let the following be clear: I will never get a television which can be remotely disabled by ANY one, even if allegedly for my benefit.
In fact, I'd be happier with 768p "HD ready" garbage from 2005 that at least works reliably than a shiny "QLED+" Samsung TV that can fail without warning at the press of a button at some giant corporation's headquarters.
Remember the May 2019 Firefox incident?
"We can remotely disable your TV, but it's just for your protec...." Get lost.10 -
Management has been promising we'd leave .NET framework for 2 years now. Never fucking happens. A new ASP.NET project was just started last week and yup, OF COURSE, its .NET Framework 4.8.
I'd even be happy with one of the earlier .NET Core versions at this point for fucks sake. I have no clue why tech leads are so happy to create a brand new project on a deprecated framework version.
And yes, I have checked thoroughly. Our whole infrastructure works with .NET Core onward. People are just too lazy to learn new stuff.
Stuff like switching to .NET 6, actually doing unit testing, improving our CI/CD pipeline, refactoring problematic codebases, etc. -> all this stuff is the kind of things they promise me I can work on later whenever I'm so bogged down with work that I'm looking for a light at the end of the tunnel. All empty promises.
Ideally we should be on .NET 6 since its LTS and just stay on the LTS versions as the year goes on.8 -
That’s it I’m done with writing documents like Software Product Specifications and Software Requirements Documents and Software Architecture Documents, manuals, data sheets and more in MS word..
I’m doing it all form this point forward in LaTeX... I can stay in my editor, it works beautifully with version control because it’s just text... I can split it amung multiple files.. it looks damn sexy. I can focus on the content rather than being distracted by formatting and spelling issues and the rest of that shit.. ALSO.. it doesn’t crash or get corrupted.. well at-least I’ve never had a text editor crash or corrupt my files.
Idk why I didn’t learn latex sooner and do the switch.6 -
Once in corporate stuffy devland a major monopoly-in-their-field client was raging at our tiny company and trying to scrutinize everything we did for whatever reason
The client's head huncho, some department head below the execs or something, insisted he have a code review meeting with the lead developer, which was me, and scrutinize my code in a 2 hour impromptu meeting one random Tuesday. Up until this point I was not allowed to even be introduced to the client so I'm a little ticked my company is throwing me under the bus like this.
So I get into this call, share my screen, guy is raging and asking questions left and right about every line I had written, firing, fuming, shouting... But it's clear he doesn't know how code works. So then I start teaching him how variable assignments work and function calls... He got so bored he left the meeting in 30 minutes and it was never spoken of again lmao1 -
Okay, I usually don't rant about Windows.
But why the flying fuck does it automatically pick a driver for RNDIS5 for a RNDIS6 device (USB tethering on Android devices)? It's hanging many parts of the systems until I change it to the right driver (which is not shown as compatible and warned against whilst being the only one that works). Seriously, I usually never have problems with Windows, but this is the only thing that annoys the fuck out of me with it.6 -
I built a basic MVP for a client as a proof of concept for his startup. It was a quick thing just to prove a point do I rattled it out in procedural php.
Sadly it was successful and has somewhat taken off. It’s also grown arms and legs.
It works. The user will never know, but the code is SHIT. I never thought it would still be here.
I’m want to re-write it now in laravel.
But...... ugh1 -
Anyone know of any hosts NOT running on amazon/silicon valley/microsoft cloud?
I'm specifically looking for a host thats setup for or works well with python.
I'm about done with censorship and noplatforming. As a moderate that for a very long time was left of center, these practices are never justified.49 -
A previous colleague of mine had plenty of years in the industry as a Java developer, but somehow still had absolutely no idea what he was doing. We used to send screenshots of his PRs to each other just to give our eye balls something to roll about - I have never seen anything like it, anywhere.
After multiple warnings of never delivering a single thing he eventually "voluntarily" left the company. He now works at a school teaching programming to students. The circle is complete. -
FUCKING MICROSOFT IIS SHIT.
I'm a .NET dev since 13 years and EVERY FUCKING TIME STUPID IIS MOTHERFUCKER AND STUPID WINDOWS SERVER have a different problem setting up because of some permission.
You can't never get a site up in IIS without loosing time and patience having weird 400/500.x errors because every fucking machine have to set up some tweaky and hidden permissions.
I have 2 identical fucking win servers and deploying a .NET core applications and on one works (test server) and obviously, on the production server it gives troubles.
FUCK YOU MICROSOFT FUCK YOU I would take the IIS devs personally here and whip them to death until they don't resolve the fucking thing3 -
Fuck, my client uses Internet Explorer!
Have being wondering why things never works in his browser. Damn! Now I understand.2 -
I really want to see the source code for pokemon go even though I'm 100% certain I'll be unable to understand it I just want to look at it and try to learn how it works
But I'll probably never see the source in my life :(5 -
all of them. countless wasted hours.
as fate decided to turn me from $random-dev-geek into "the guy that calls the shots in tech", one of my earliest decisions was to automate formatting.
everywhere, automated at CI.
gofmt was an inspiration for the industry.
js?/ts? use prettier
C++? use ClangFormat
etc.
always default settings.
enforced by pre-commit hooks and CI.
never a single argument about bracket style, I don't care if someone likes single or double quotes better.
"fucks given" counter is fixed at 0.
everybody prefers it (ok, sometimes after a while sometimes)
of course there is still some more conventions to do for us humans.
IMHO the most critical ones.
like naming or even casing (camel, snake, kebab, - which one works where), but taking out most of the "so what" decisions takes discussions to a much more resonable level.6 -
I never knew that I was a good mentor at SQL , specially at PL/SQL.
I gave a task to a new member of my team, to fill 5 tables with data from other 15 tables.
I informed him well about data table info and structure. He spended about 3 days to create 25 different queries in order to fill 5 tables.
After I saw the 25 queries, I told him, that he could do it with 1 main query and 5 insert statements.
So I spended 1 hour of training, in order to build,run and explain how to create the best sql statements for this task.
(First 5 minutes)
It was looking so simple at the beginning from starting with 1 simple join, after some steps he lost my actions.
(Rest 55 minutes)
I was explained the sql statements I 've created and how Oracle works.
Now , every time he meets me, he feels so thankful for learning him all those Oracle sql tips in 1 hour.
Now he is working only with big data and he loves the sql.1 -
"I am the code of my program
HTML is my body and CSS my blood
I have created over a thousand websites
Unknown to Google,
Nor to hosters.
Have withstood sleep to create many websites
Yet those hands will never earn anything
So as I pray, limited budget works"2 -
HAPPINESS IS
...when the code works!
"especially when vertical align works in a way you never thought it would..."1 -
>Gets assigned to this private Game server's project
>Boss wants me to improve the anti advertisement chat
> k
> Looks at old code
> Code is replacing unicode characters to latin ones that look similar which are being used for advertising
> lol'd who tf developed this
> regex101, building a regex query with endless of possibilities (would look something like this) /((L|\|_|I_)(O|0|\[\]|\(\))(L|\|_|_))/gi to detect lol
> Adds alot of similar looking unicode characters to assure that it will find something
> Works really well in the dev version
> Server open hour
> 30 players
> All chat at the same time
> CPU 100%
> BOSS NEVER TOLD ME TO MAKE IT EFFICIENT1 -
I've never been a frontend guy, I only could modify existing FE code and had some clues about how to write a hello-world using angular.
I've just refactored ~150 files in an Angular project, created half a dozen new modules and modularized lots of loose artefacts.
And after recompiling the project still works! And is now more maintainable!
I think I now can safely add "Angular" to my resume :)
P.S. Damn it, Angular is cool!!!9 -
Spam assassin kills most of the spam I get before I see it. It works pretty well. However, I started getting a fuck ton of spam from some asshole on a Turkey server. You cannot forward spam to the gov anymore so what to do (They use a honeypot. Apparently it doesn't catch everything.)? Well I got the abuse email account address for the server. Then I went into my servers spam filter for the email address I am having issues with. Then I redirect the email to this abuse email address. Then I delete it from the server. This makes it so my email client never sees the message and I automagically notify the abuse account. If the abuse account is owned by the spammer then he is just filling up his own server with shit.
Anybody else have fun or interesting ways with dealing with spam the regular filters don't catch?3 -
My laptop has its own life...
I arrived at the lecture, start the laptop, black screen... Alrighty, might be the update from yesterday, I will just revert to the old version. Nothing... After multiple reboots and troubleshooting, I put my laptop down and go the old way of sitting down notes.
Then I come home after university and I'm set on fixing my laptop. I start it, it works perfectly fine...
I'm not even sure what fixed it..6 -
"Hey guys, we should start using ESLint. It's a popular linter. There's 13,000+ styling inconsistencies it could streamline using `--fix`"
"Yeah... But these errors, they're not really errors, right? So, we don't need to fix them."
...
1. I never said they were errors. Do you know how a linter works?
2. Sure, I guess being consistent and familiar are overrated qualities of a codebase. Carry on!4 -
There was a task of fixing up a payments page that features pretty complex logic. Initially it was like 200 lines of code, seems short but it was a fucking spaghetti mess. Never seen more cognitively complex code in my life.
So I delete the spaghetti and pull out the 500 lines fucking state machine. It works perfectly. It’s perfectly understandable even though it’s longer.
This is how I deal with problems. Shorter code isn’t always better code.4 -
I am learning java at school and my teacher asked me to make a work on JTA (java transaction API). There's not a lot of tutos on it on the web so I say to myself "go on, give it a try, you'll only learn by trying."
I finally find how to make the @TransactionType, where to put the @Stateless, my test works, nice. Finally I want to try a case where it shouldn't work, just to be sure the rollback works well. The test goes and... NullPointerException. Wtf ! Normally, my catch is supposed to, well, catch the error !
And finally, I was just stupid. My catch worked great. But I put a "throw e" inside.
Now I wanna hides under blankets, cry, eat cake and never see my coworkers again.2 -
Well, that's one way of getting rid of bugs and creating other issues, since it never works out to have just random people fix never to be touched again systems9
-
What are y’all thoughts regarding whitespace, I have a coworker that uses an absurd amount of white space between functions, declaration sections... declarations and logic within functions.... and makes everything very complex without refactoring we talking like 5+ if else inceptions deep.
His code always works never has a issues, but when we collaborate or I work on his files, I wanna cry lol ... he claims the whitespace helps with reading and focusing etc ... “compiler removes whitespace” yes I know that but this is beyond 1 or two new lines lol3 -
Excuse me, can you please tell me which ass-to-mouth fucking moron had this oh-so-damn-stupid idea to take something so un-fucking-believable nice and simple, swallow it entirely just to create that most-ugly stinking pile of darkest shit I've every seen in my live.
Bluetooth.
After paired, it actually never works at first try to connect from notebook or pc, windows or linux. It's just a big annoying pile of utter garbage. FUCK.2 -
I am working on a project which I want to make open source. The problem is, I have never launched any open source project and I do not know any platform to reach people (I am not talking about hosting the project, I am talking about making people know, use and take part in the project). I believe this project will help a lot of people who works on IoT, chat services or distributed real time servers.
Can anyone help? Thanks in advance.8 -
Short angry rant
What the fuck is wrong with the SalesForce Authenticator logic?! How in the hell do you fuck up a simple 2FA system this hard?!!
Login -> Waiting for Notification... nothing... -> Reload Page -> Login -> Waiting for Notification... nothing -> Click "Use Code instead"... nothing happens... -> Reload Page -> "Login -> don't even wait for notification and just pres "Use Code instead"... nothing -> Reload Page -> Notice there's a "Use Code" button on this page as well -> Finally be able to log into the fucking Aloha piece of shit...
How TF is it, that Duo is able to send me a push notification within 1 second and it ALWAYS works... and THIS FUCKING SHIT NEVER FUCKING WORKS THE FIRST TIME AND AT WORST JUST DOESN'T WORK AT ALL!!!!!
Fucking hell.... Don't offer me a push notification service if you don't know how to make one... jesus fucking christ... All of Salesforce security is fucking stupid, but at least the others mostly work, but this retarded piece of crap is making me actively surprised when it works on first try... Maybe it's because I'm on a slow connection, but again Duo Mobile doesn't have this problem and works *instantly*... so what sort of retarded monkey coded the SF one I don't know, but I hope they are making better products now, because this is a disgrace to programming and security6 -
Me: Lol worst code I've ever written but hey it mostly works and I'll probably never have to deal with it aga—
Future me, dealing with it again: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU2 -
Yay, I inherited a project with no documentation that is soon to be out of the prototype phase in a tech stack where I have no experience. It is already sold to customers and they expect it soon.
There are so many bugs, never been code reviewed but the main functionality semi-works :(15 -
Best advice so far: "KISS: Keep It Simple and Stupid"
That works every time because your design of the code will be understandable. Your code must seldom to be refactored. You aren't that asshole who never comment and document anything. And the most important part: The code works as designed without flaws!4 -
Websphere...what a piece of shit! IBM, you really should be embarrassed. Dependency injections stops working when the injected bean is in another jar (even though it's on the class path). Works great in JBoss.
Seriously IBM...go out of business already. You are a joke and your products have never been good. -
Note to management:
Throwing more $$$ at the problem will not help the fact that you picked the wrong software. It will never do what you want it to and it will never smoothly integrate with our current ERP. Maybe next time you should spend the money upfront on a better system and not buy the cheap system that requires expensive customizations to bring it to the point where it sorta kinda works.
Thank you for listening. -
So we've had a new guy on our team for over 6 months now... Been training him up doing shadowing.... Training courses... Study time... The works...
He didn't have the specific skills for our team but had 2 degrees, lectured at uni... Seems VERY smart......
Yet he still has barely grasped the basics..... When experienced people talk about challenges they've had he tries to suggest what they do... Constantly raising 'problems' with ways of working but offers no solutions and never collaborates on how we can fix it......
He avoids doing practical learning and thinks he can learn the job from reading docs... .. Sigh....
Gone almost as far as doing daily check ups on what he's actually doing to make sure he's progressing..... Tough one to crack!7 -
I might create a coding course for people actually interested in learning how to program correctly (not Get Rich Quick Bootcamp style, not webapps, not magic Javascript incantations).
I have an idea on how to structure it but I worry it'll be too weird for most people to follow (starting from binary theory and then teaching machine code and then working upwards to C and beyond) explaining how a computer works along the way, showing the real errors with annotations explaining things, etc.
I've always wanted to teach in this format but I feel as though it's too.. idk, "useless" to most people? But I've never had a friend go through e.g. CodeAcademy and come out knowing how to actually make applications from start to finish without just hacking together random React components and hoping the frankenstein project works well enough.
The target demographic would be those either completely new to programming or just have a fundamental or web-centric preexisting knowledge, or maybe those who simply want to understand computers better.
Am I barking up a shitty tree?28 -
To date this is the most useful thing I’ve seen that appears to work whether it does or not I may never know
https://tinyurl.com/6zwn7hb3
What projects has everyone here seen that could be anything from proof of concepts or working applications and libraries that are actually USEFUL/FUNCTIONING not just CONCEPTUALLY useful in ML
Because none of the object classifiers I have seen look useful Half the time they miss things or get things wrong
However this project snakeAi I saw is a self training ml that plays snake until it can’t possibly do better and it works
The link above appears to work and be useful but I betcha it fails on backgrounds that aren’t so solid !
What else have you peoples seen ?
Again -
This is a story about my disappointment in modern GUI editors for desktop applications.
Well, first of all, I grew up with Delphi 5. Delphi has an awesome form editor. It's intuitive and works without any problem. It always does what you want it to do. Prototyping is really a problem of seconds here, even for people that never used it (I guess).
But the problem is that it is Delphi. Its so old, bloated, and most problems you'll ever have have been solved (through a hack) 20 years ago in some weird forum.
So I looked on and tried many other drag'n'drop gui editors.
The one for java is the biggest pile of crap I've ever seen. It slows down eclipse /intellij and does almost never do what I want. At least its not really intuitive.
Right after that, the one for C# (this xml Designer ) is okay-ish, but it's also not really intuitive and does not always what the user wants.
I also tried other ones. But I still miss an intuitive one that works without weird side effects.
I now can understand why the Web dev stack grows in the region of desktop apps. I can prototype stuff even faster in angular than in Delphi.
But shouldn't we improve the desktop stack instead of taking some bloated stack using a language that should have never existed?9 -
Favourite item has to be our coding monkey. He sits next to me and every time I can't figure out some code I leave him on my keyboard and have a break, hoping he'll fix it for me... Never works but there's always hope!2
-
The saddest and funniest side of our industry is (atleast in India): someone works hard and makes it to the best colleges, do great projects on AI, ML; get a good score on Leetcode, codechef; gets a job in FAANG-like companies...
Changes colors in CSS and texts in HTML.
And, why is there so much emphasis on Data Structures and Algorithms? I mean, a little bit is fine, but why get obsessed with it when you never write algorithms in production code?
Now, don't tell me that, we use libraries and we should know what we are doing, no, we don't use algorithms even in libraries.
Now, before you tell me that MySQL uses B-tree for maintaining indexes, you really don't need to solve tricky questions to be able to understand how a B-tree works.
It's just absurd.
I know how to little bit on how design scalable systems.
I know how to write good code that is both modular and extensible.
I know how to mentor interns and turn them into employees.
I know how to mentor junior engineers (freshers) and help them get started.
Heck I can even invert a binary tree.
But some FAANG company would reject me because I cannot solve a very tricky dynamic programming question.4 -
Ok, let's see if this works. https://quora.com/What-kind-of-jobs...
A great article to inspire those who want to be type 2. Never give up.3 -
I have this ux intern next to me and like every programmer i’m cursing on my code daily and she made a remark today like: it never works for you does it?
-_-‘ SHUTUP!4 -
I've been working on an Emscripten emulation layer for a fledgling startup, and it's just a huge bitch. Seriously, Emscripten is the worst designed project I've ever seen. It embeds constants into a js file that it spits out. It turns out you can't fucking run the wasm that Emscripten emits without these magic constants from the js file.
Additionally, all the wasm imports that emscripten specifies are weirdly cased, with apparently no naming convention. They also use some weird, shitty vararg implementation when it already fucking knows exactly how many arguments are going to get passed to an import.
Also, there are a ton of broken things left over from when emscripten compiled to asm.js that they never bothered to replace with features from wasm. God knows how it even works. -
My first time doing a pair-programming for uni assignment.
My partner is actually smart (a Mechanical Engineering guy), except when it comes to programming :
1. Don't know how to spell FALSE
2. Don't know how to create array in Matlab
3. Poor variable naming
4. Redundant code everywhere
5. Not using tabs
6. Stealing my idea and spit it again in my face after claiming it as his idea
7. Mansplaining every line of his code like I am a stupid person who never sees a computer before.
He said he has an experience in Matlab, wants to specialize in Robotics and taking several ML classes. What did they teach anyway in class to produce a shitty programmer like him?
Thankfully despite his being an arrogant shitty guy, he still manage to get our code to works.
That's good because if not, then I will happily push his head under water while slowly watching him drown.
🤨6 -
Most Devs I've met have been rational, so I'm fortunate enough to not have had a fight with a dev.
There was, however, one guy. Had to collaborate with him on a web app. I would fight with him almost everyday to not use deprecated tags, use proper CSS, not hack something together because it just works and the list goes on too long.
But I never succeeded in convincing him. Learnt that no matter how much you try, you cannot convince someone stupid -
We have pretty fast and lean dev process between QA/Design/Devs.
But sometimes, it's going to shit ;p
QA :
An option "ROLE" is missing for grouping in that table.
So 5 min to create ticket, assign someone from design on it
Design : Yeah, this is true. We missed that option in our design.
Proceds to modift figma by adding an option "Role" to a drop down.
Reasigned to Junior dev.
Junior dev : I have no clue how grouping works with graphql.
So at least 30 min.
Reasigned to me.
Me after 1 min of looking at it : PR chhanges on screen shot :
Facepalm... Everyhtibng was already in place, someone forgot to add id AND name, not just name.
Git blame => Or never mind... it was me.. -
Sooooo... I've felt a bit lost during my years as a student and maybe this is a nice place to finally talk about it.
I've had my first programming experiences in school (back then it was delphi, a Pascal variant), then decided after graduating I want to study computer science. I've stuck with it and will finish my masters degree in a few months. (Took me a year longer than the university plans but will likely have a very good grade)
Since i have little programming experience and never coded anything useful (mostly study projects or simple programming tasks) I've always been struggling with depressions, worries of being not good enough and never finding a job etc pp, but in the last few months it got worse since I NEED to apply for jobs now as i graduate next may. I'd really like to improve and found some "learn how to code" websites but the progress seems still slow and meaningless when I compare myself to all those guys out there:
- those comparing several hardware/software pieces casually since they know all the (dis)advantages and specs off by heart
- those who have fierce discussions about languages, libraries, runtimes etc
- those who solve the problems in coding websites with 3 lines and incredibly mathematicsl proofs for why this shortcut works (fastest)
- basically the guys who discuss so many things i've never even heard of
I just feel so lost, useless and like i missed years of learning things everybody else just obviously knows now. Is there any way to catch up? I thought about trying to join a local Chaos Computer Club but they sound like they wouldn't be fond of a noob like me.6 -
When you're an idiot who doesn't know what you're talking about since you've always used Google, and people give you shit for it anyways instead of just being cool about it.
😧🔫
Come on guys. This is ridiculous. My school uses Google services, so I'm pretty much forced into it. I've never really ventured outside of Google because it works just fine. I clearly don't know what I'm talking about. That much is obvious. How about trying to be a good person and help me out instead of talking down to me and --'ing my rants and comments.
This is why humanity is doomed to fail. Half the population is comprised of complete fucking idiots, and the other half is mostly assholes.4 -
`xdg-open` on Linux is fucked up. The thing never works properly for me.
In the attached screenshot below, you can see that `feh` is the default application for opening jpg files, however, it always opens the file in the browser. It doesn't work for any other filetypes as well. It's just messed up.
By the way, I tried to do some debugging on the line number xdg-open reports. It calls this bash line: `"$command_exec" "$@"`, however, when I echo the command, it prints nothing. So this means it can't find the program to open the file with and, at the same time, it reports that the program is set as you can see in the screenshot!!3 -
many many times in the past I had this impostor syndrome in various situations but I never lost faith in my dev skills!
you have to be humble to realise that this situations are fine and that you will learn something from it (not necessarily tech things, but also how life works). Also you have to realise that development as everything else in life is just never ending learning endeavour! When you accept all of that, impostor syndrome goes away forever.
It's been around 3 years since I felt like impostor for the last time because I accepted who I am as a person.
It crawled up on me last week in a different way - I was thinking of myself - what if I am just really good at googling things and understanding how those things work but I am also very capable problem solver so I can understand the principle and apply it to my code.
Then I realised - ok, that's what programmers do! So that's the story of how the impostor syndrome actually become confirmation syndrome!
Folks, believe in yourself, be forgiving to yourself as we all were there, give yourself some time as people don't become good developers overnight - and this is OK.3 -
Experienced programmer:
Code works in head; code almost works in computer; code never works with client.
Beginner programmer:
Code almost works in head; code never works in computer; code will never work with client.
Long story short: it's hard to begin but when you let the code flow, you became a programmer -
If you put “up to” in front of “proposed salary”, which ofc is a very high number, I put your job offer in the trash. Just put the range or fuck off.
I will never understand how the little brain of recruiters works.
They write shit like we weren’t smart enough to see it.5 -
When I teach/help someone with code without telling them explicitly what to type and their solution works and they get hyped af. Never gets old. I like helping people.3
-
Hi guys!
I never thought that this day will come, be here is my first rant with a big dose of frustration.
So, I'm working on the API team of one of ower products and a coworker that works on the webapp has a lot of problems (don't want to be mean, but he has problems like 'i can't catch a 404 http status, please send a 200 with a message' ) and he always go and wines about the API and that he can't do his job because the API is faulty...
But it is not the case, every functionality of the API is well tested and it works as it should.
So, tonight I was the only one left from my team and the project manager comes and
starts asking me about why I am returning http status codes with all my responses, how the login works and other stuff like that...
Just wasted more than an hour to prove that all the code that I wrote works as expected...1 -
I'll never understand distro hopping. You're having something that works fine and that you're used to. You can always change the look by using another DE. But you prefer to throw it all away, try something else, end up deceived, try something else.
Just, why? Educate me, what are you exactly looking for that makes you want to change after some time?10 -
I have never encountered a codebase so horrendous. The styles are so fucking bad.
Give me a codebase with a poorly implemented programming langauge, fine.
Give me a codebase with styles that have been copy/pasted off Stackoverflow a million times until something works, not fucking fine. -
@Kimmax
Can you tell me how the application works?
I never heard of .NET core before, or am i just being stupid?3 -
How do you guys motivate yourself to finish private side projects?
This is merely a rant about my incompetence to stay motivated until I finished a project just for and by myself... Most of the time I start coding until I figured out how it works and then mostly never touch it again. And this is fucking silly16 -
This little game took me like 2h of development, it's build without any framework whatsoever.
It is based on my memory of a very old game my brothers used to play on DOS, it was used to teach how to type superfast
Little details on how this works: the inputs at the bottom are programmed to be used with keys (only letters), ENTER and TAB, no need to use mouse in this game to move around, just hit tab to move to next, hit enter to confirm what you typed.
I know I should upgrade this to use a list of actual words instead of just random letters, but never wanted to actually work on it again.
http://examcopy.altervista.org/apps...
I highly recommend trying it on a PC, also contains Ads, not invasive, tho
Other games I developed:
http://stefagna.altervista.org/swis...
http://examcopy.altervista.org/apps...
Note: PLEASE, DON'T GO TO THE HOMEPAGE OF THESE WEBSITES, they're kind of NSFW4 -
Okay... I need to confess.
I actually like the idea of counting arrays from 1 like it is in some languages.
It makes code cleaner.
Think about it.
You would never need to subtract 1 from count/size/length or add 1 for things like the month in javascript because the first item would be at index 1 and many many errors wouldn't be happening because we don't need to force our minds to think another way. I learned counting from 1 after I learned to walk so it's the most natural thing to do. Just because the software/hardware below our language works that way doesn't mean we can not abstract this behavior away. What's your opinion about this? Am I wrong?12 -
Was writing a multithreaded program in Java with an infinite while loop (for waiting). The thread was never preempted. Added a print statement inside the while loop and everything started working :/
Now I need to print a stupid message just so the program works :P3 -
I feel bad for bitching a lot on this site, so I'm going to try something positive for a change.
I got finished building this basic database web application that I ported from a Java EE based API to the Spring/Hibernate API. Took me about 3 weeks of work to do it. There's a new feature to search the database that I added just today. Had to do some debugging on it but it works fine.
Back in May I had never written a line of Java code or setup a LAMP stack, to doing stuff like this. This stuff gives me the strength I need to keep going. Someday I'm going to get a job as a junior dev.4 -
Here, a full retrospective of my Apple products ownership.
iPhone SE – after Android, I was absolutely amazed by how fast it worked. No UI lags, camera works absolutely instantly no matter the light conditions, all the GPU-heavy games work butter smooth.
After camera and charging port failures on Xperia flagship and CPU literally melting through screen rendering it unusable on Meizu, it was enough to make me interested in Apple products.
When I was using Meizu, I actually got a twitching eye which was triggered by UI lags. After two months of using iPhone, I noticed that something was missing – my eye wasn't twitching anymore.
iPhone actually cured me.
MacBook 12 – a 900 grams laptop with passive-cooled mobile CPU running many Chrome tabs, heavy Webpack HMR build, VSCode and Slack just fine. Yes, you can't play games, but I don't even require it from a laptop this tiny.
Butterfly keyboard that internet hates so much actually increased my typing speed and comfort compared to MX Red mechanical keyboard, and ForceTouch trackpad made me forget about mouse. I learned how to disassemble the Butterfly keyboard if I ever need this but the keyboard never failed.
I use this laptop to this day and it still even smells like the day one, a beautiful smell of a new Apple product.
iPhone X – got it because of the camera, stayed for great battery life and amazing OLED display. I use telephoto lens exclusively and it made me lay off my Canon DSLR with Helios lens which stays on my bookshelf covered in dust to this day.
True black of OLED display which is undistinguishable from the screen bezel is stunning. To this day, battery surely works for one and a half days and I watch youtube really often.
I sometimes struggled to unlock iPhone SE with wet fingers, but with FaceID, as soon as I look at the screen the phone is unlocked. Works perfect every time, never had an issue with this.
Stainless steel body feels premium compared to aluminum. Stereo sound is a major selling point if you're like watching videos and playing games on your phone. Overall amazing product and a huge improvement over SE.
Apple Watch series 4 – really comfortable fit. Nice battery life, once I forgot about it for like ten days during lockdown and it was still working, even though on power reserve mode. Really reliable in terms of battery life and liquid protection. Very satisfying Taptic Engine crown clicks. I run every day and Apple watch always measure my heart rate correctly, and the running app is well designed and a pleasure to use. Overall a nice accessory to have if you use iPhone.
Powerbeats Pro – great sound and battery life. I switched from Shure SE215 which was great, but it had wires. I listen to a lot of music so the sound quality is important for me. When I was choosing earphones I visited a store where you can listen to them all. I listened through earphones like Noble Audio Kaiser Encore and JH Audio Layla, and of course $4000 Laylas sound better than $249 bluetooth earphones, but the difference in sound doesn't justify the difference in price to me.
Powerbeats pro is the Apple H1 chip true wireless earphones with largest driver of them all which makes them sound better than AirPods Pro – it's just physics. Bass in Powerbeats is amazing, which is also true for my Shures, but Powerbeats also win in clarity.
It connects seamlessly to both my MacBook and my iPhone, and everyone in voice chats can hear me really good.
Huge case is a major throwback compared to AirPods, but the battery life of earphones themselves is so great that I just leave the case at home and only carry earphones and it works for me.
Apple Link bracelet in space black – really better than I expected. Intricate detailing, literally the steel that Rolex uses, top-notch finishing and polishing – all that for just 450 dollars. I only used it for several days now, but it already feels like a really satisfying product.
Before all that I was using Linux. It took a year for elementaryos devs to fix wifi for my laptop. Ubuntu looks and feels ugly. Pop OS felt like garbage. Manjaro was also just that – garbage. KDE Plasma – I don't even want to talk about that. A monstrocity where you accidentally click a wrong switch in the settings and your system won't boot up again. Also, PulseAudio. Struggles with proprietary drivers and software updates.
Windows? I serviced a lot of Windows PCs through my career and it never, never worked as intended. I'm no dumbass, I always managed the rights correctly and never installed sketchy apps. My latest ryzen gaming build with a lot of ram also lags somehow even in Windows 10 UI.
Before I switched, I defended Linux.
My life was a lie.
I'm sorry to everyone who I offended based on their opinion on Linux.33 -
Spend nearly a full eight-hour day working on a piece of code that, while not at all trivial, would have taken probably two hours start to finish if not for the constant stream of interruptions bombarding me...
...but then, 10 minutes before quitting time, build and run it for the first time...
...AND IT FREAKING WORKS!
I'm never more scared than when ~1000 lines of code works the very first time it's run. Makes me want to check if I've signed any documents presented as a "deal" by a guy with a fiddle in a southern state :)8 -
OpenCV is like an USB port: You never have the right input format and it only works after converting the damn thing multiple times!
-
Got up to present my capstone project. Here's what it is about, heres how it works, here's a work around for an issue I couldn't figure out, etc... Everything went smooth until I was asked what the name of my project was. Fifteen weeks of development and I never came up with a name.
-
Me: trying to do any simple fucking project
Me: cant figure out how to do something simple or cant figure out how to start or how something should work.
Me *Looks up problem* (everytime...)
results: SOMETHING I WOULD NEVER HAVE FUCKING THOUGHT OF.
Am I just a shitty programmer, a shitty learner, or just not cut out for this? because I fucking Love this field. this is the only thing I ever want to do. BUT I CANT FIGURE ANYTHING OUT FOR THE LIFE OF ME EVEN WITH LANGUAGES IM GOOD AT!! WHICH IS JUST PYTHON AND IM STILL SHIT AT THAT.
I TRY TO DO PROJECTS WITH JS, OR C, OR PYTHON PICK WHICHEVER ONE. AND I NEVER KNOW HOW I SHOULD START IT, AND IF I LOOK UP HOW TO DO IT ITS SO MUCH LONGER AND COOLER AND BETTER THAN MY DUMBASS WOULD HAVE DONE (and longer in a good way because its well thought out and works)
HOW AM I SUPPOSED TO GET A REAL JOB IN THE FIELD IF I CANT MAKE THE RANDOM IDEAS THAT I SEE ON THE INTERNET AND WHY CANT I MAKE THEM AS GREAT OR LONG AND SHIT ON MY OWN. SO MANY PEOPLE CAN WRITE SO MANY LINES OF CODE AND FUNCTIONS AND ALL THIS SHIT THAT WORKS AND YEAH THEY LOOK UP SOME PROBLEMS BUT NOT HOW TO FUCKING DO THE ENTIRE THING LIKE SOME FUCKING RETARD
AWDJKBAKWJBDAOLK;JWDBOALBJKWODANLWIO;NIAWDN;PIAWLDJBAWIDHB
I CANT GO A PROJECT WITHOUT LOOKING UP HOW TO DO ANYTHING BECAUSE MY LITTLE BRAIN CANT FIGURE OUT HOW TO DO IT18 -
At a "guided internship".
Task: Develop a complete web application form
Was assigned to a team of 7 where all are "Frontend Developers" who have never heard terms like "bootstrap" or "mobile-first web pages".
That aside, all are seniors in age and qualifications, hence me telling them something to do is "ordering them around". And if I tell them to leave things to me, they be like "No, we wanna contribute and do the Frontend, as these things don't matter, inline css just works fine". 🤷🏻♂️🤷🏻♂️🤷🏻♂️🤷🏻♂️🤷🏻♂️
Why Lord? Just why?4 -
Dependency hell is the largest problem in Linux.
On Windows, I just download an executeable (.exe) file, and it just works like a charm! But Linux sometimes needs me to install dependencies.
At one point, I nearly broke my operating system while trying to solve dependencies. I noticed that some existing applications refused to start due to some GLIBC error gore. I thought to myself "that thing ain't gonna boot the next time", so I had to restore the /usr/lib/x86_64-linux-gnu/ folder from a backup.
And then there is a new level of lunacy called "conflicting dependencies". I never had such an error on Windows. But when I wanted to try out both vsftpd and proFTPd on Linux, I get this error, whereas on Windows, I simply download an .exe file and it WORKS! Even on Android OS, I simply install an APK file of Amaze File Manager or Primitive FTPd or both and it WORKS! Both in under a minute. But on Linux, I get this crap. Sure, Linux has many benefits, but if one can't simply install a program without encountering cryptic errors that take half a day to troubleshoot and could cause new whack-a-mole-style errors, Linux's poor market share is no surprise.
Someone asked "Why not create portable applications" on Unix/Linux StackExchange. Portable applications can not just be copied on flash drives and to other computers, but allow easily installing multiple versions on a system. A web developer might do so to test compatibility with older browsers. Here is an answer to that question:
> The major argument [for shared libraries] is security, that if there is a vulnerability in a commonly-used library, then only that library has to be updated […] you don't have to have 4 different versions of a library installed
I just want my software to work! Period. I don't mind having multiple versions of libraries, I simply want it to WORK! To hell with "good reasons" for why it doesn't, and then being surprised why Linux has a poor market share. Want to boost Linux market share? SOLVE THIS DAMN ISSUE!.
Understand that the average computer user wants stuff to work out of the box, like it does in Windows.52 -
New day. New legacy project that needs triage.
The project has existed since before 2000 so it all "works" and has no known business logic bugs. It does however have performance issues which sure I can have a look. It can actually be quite fun and rewarding to optimize performance.
This is a titanic dotnet framework leviathan consisting of over 12,000 cs files using razorpages, entity framework, and... nhibernate? I have my gripes with both EF and NH but they are both fine if used correctly, like any other tool. I've never seen them used together however.
As It Turns Out™, NH was implemented first and at a time when NH did not support async operations. It made sense if you look it up and it's meant to delegate commands via a separate layer, but different story.
Then for... reasons... EF came in and gradually took over.
Because of the way this is all set up, everything will faceplant if you try doing anything async, even if it has nothing to do with calling the db. Any attempt in making this work leads you down a slippery slope of having to rewrite the entire thing, which is out of the question in terms of their budget and expectations.
Sometimes it's a detriment when it works in spite of its issues.1 -
I recently started learning Erlang. This is the story of how I got trapped into it.
When I code, I usually use my trusty text editor and a terminal to either compile my code or run tests in the language interpreter. The interpreter, erl, works fine, but when I wanted to close it, I ran into a small issue.
Because I never know what the command is to close an interpreter, I usually use the EOF character (^D), that is widely recognized. Except erl does not react to it, not even a tiny message saying it won't close or doesn't recognize the output.
Alright then, let's try quit. That's an atom, it does not behave how I want.
quit() is an undefined shell command, exit() terminates the shell process but the interpreter automatically starts a new one...
But I get the welcome message, telling me to abort with ^G! Some progress, finally... except ^G redirects from Erlang interpreter to user switch command. Damn, another interpreter...
I ended up killing the process from an other terminal.4 -
I've been working on a shader for the past few days. Lots of doing math on paper and switching to code to implement it. Yesterday after 3 or 4 hours of trying to figure out why nothing is rendering, I realized that I wrote all my * for multiplication as x. Visual Studio never let me know its a syntax error, and my fried brain saw no issue. Needless to saw my shader is still bugged to hell, but at least my multiplication works.3
-
The mobile application my company is developing is beginning to fail in a prod environment because the third party tool we purchased to sync our 3 databases in the background isn't working as expected, so I have been assigned the task of rewriting the entire application. I chose to do it in react-native/redux which I have never heard of until two weeks ago, and I have never enjoyed programming so much in my life. Shit just clicks and works the first time more often than not. Android Studio had me banging my head against my desk daily. Kudos to these technologies 👌1
-
The company that manages my ISA for Lambda emails on a regular basis to get you to update your income. I got annoyed by the frequency while I was employed so started filtering everything.
Though I’ve been up to date with reporting income to them and submitting tax documents, etc, I apparently missed some important emails.
Like the one on the 4th saying a third party provider flagged by account for employment with CompanyA and that I needed to submit my pay stubs for CompanyA.
I do not and have never worked for CompanyA. My husband works for CompanyA.
I also missed the email from the 12th saying I’m in breach of contract and owe them $19,091.65 immediately.
*head desk*
I’m so mad I can’t even.
Why did i check my email before going to sleep?
AND I POSTED RECENTLY SO I CAN’T EVEN RANT YET. *
*Waited it out -
I spent my last two hours trying to understand why my code wasn't working... Turns out that if i write this.item.lenght instead of this. item.length it will never works.
Thans to cscode also, who never corrects me when i write lenght.6 -
I have never understood people ranting about how Linux is incompatible with their machines. Back in 2006 what ever machine I had tried Linux on was working better with it. More than that all the drivers were working out of the box and the only problem that could possibly happen was with graphics.
FF 10 years. I am using MacBook for some time now and I did no installation of Linux for couple of years now except on bare metal servers. And have just bought my sister a new hp envy. Nothing fucking works. Not even wifi. Installation is hanging and I do not fucking know why! Her previous computer had problems with wifi. If wifi is turned on you could not turn the fucking pc off. It would fucking freeze.
Well fuck my life :(9 -
I have a LOT of Floppies but no floppy drive that works with my current Win7 machine, and my XP one is in multiple boxes for parts... so for now I can only stare at NetWare 4 to 4.2, WfW 3.11 and DOS 6-22.
Smart me made VMs on his XP machine and transferred them to his Win7 one.
I also have data tapes... now that is NEVER gonna work on my Win7 so... anyone knows how it could *possibly* work out?
Also... I got documentation on Compaq servers... those are nice.
AAAAAAND since I’m a huge MIDI nerd... I have a SC-55mkII hooked on the UM-ONE mkII and those shitty cans that I’m gonna switch (hopefully) soon for a nice pair of Cakewalks MA-15Ds.
Also, I’m looking for one of them 5150s because 80s IBM and since I also like keyboards... the one and only Model M.
Anyone can hook me up with a cheap one?rant idk what the fuck i’m doing netware random data tapes ibm 5150 wfw 3.11 sc-55mkii model m dos 6.22 long rant1 -
Needed my Windows 10 vm for parallax propeller development again. Should be pretty straightforward:
Start VM. Very unresponsive and Interface glitches with 2GB RAM so I give it 4GB to get on the desktop. Bruh, off to a good start.
Turns out that there are a few updates. So I try to install them. After two fucking hours Virtualbox screams at me for being out of storage. FFS Window$ updates managed to take up like 20GB extra.
Had to install it from scratch since my drive is full. Now my key won't activate because it is already activated. 15min support hotline, because 6*8 characters are necessary for a f*cking Phone activation.
Damage assessment:
1h of my life I will never get back, a barely viable operating system and I'm not even sure if USB passthrough works.
PSA:Gnome-Boxen has a superb unattended installer.8 -
Accepting a 3 year old scratched and beaten PowerBook as my "new" dev machine. Especially when my personal, 4 year old one is as powerful but with double the disk space (SSD) and RAM... Then of course the new guys just joining actually do get new out of the box devices just as we're accepting that it's just not how the company works... I guess that's the bane of doing dev in a company that does resourcing as it's main focus thereby never understanding what's needed by us developers and why it is, or rather should be, different from the rest of the company.2
-
So I feel like looking up solutions for my code is cheating, so I try to do it on my own for hours. Nothing I try works and the solution is usually something really simple and I feel like I'm never going to understand..4
-
I don't like coding in the dark anymore. I think I've been doing it for about 2 years but I, just now, realized it.
I never even noticed when I started doing it. I just remember that--when the sun sets and I'm still working--I think to myself "ugh, it's too dark in here".
It just seems crazy to me because I used to love the dark. Not in the broody, ooh I'm a hacker kind of way.. just that I worked better in the dark.
I used to choose afternoon or evening shifts whenever given the choice because my brain works better when it's dark out (if that even makes sense). I used to work inside conference rooms with the lights out or dimmed.
But now, I just caught myself thinking I needed a brighter light in my home office.
Huh. I think I'm getting old.3 -
Hey guys! So I just woke up from a dream in which I was talking with skilled programmer and he gave me awesome pro tip which I'd never realize exists!
But it was my dream so my idea. I have no idea how the f*ck this works but it's awesome. Is it just me or ?3 -
Ok, so I got everything running on Ubuntu 17.10. switched to i3 because holy mother of God is never have to resize a window again!
Switched to using the Von editor mode in IntelliJ because dear lord is it faster!
I love all of it. The only problem? Instead of the 6-10 hours of battery I got in Windows, I get MAX 2 hours in Ubuntu because it's always using the Nvidia card and switching to the integrated Intel causes an instant log out after the log in. (Tried everything already, nothing works)
Still, I love it.3 -
I've found a new genre that is really nice to listen to when I'm doing homework or the rare time I code some.
Bluegrass banjo music. It's pretty simple and it's never slow. It's off but if it works, it works 🤷🏻♂️🤷🏻♂️3 -
I wanted to create a messenger bot.
Time to create the bot: 15 minutes. I test it, everything works, I send request, receive response, and so on.
Time to embed it inside a messenger app: 3 fucking hours.
SERIOUSLY GUY, AND I ALSO FAILED, I DON'T UNDERSTAND A SHIT SO FUCKING MUCH BUREAUCRACY I SWEAR GETTING A VISA FOR CANADA IS 1000 TIMES EASIER.
What is a send/receive? What have I to pay for? Why I need to be a USA citizen? Why I need approval? Approval for what? Why you say I configured the app correctly if you never call the Hooker? The hell I've to do? Aaaaaaaaaa3 -
How do you deal with the feeling that you coded all those hours for nothing? You deep down know this solution will never work but you don't want the hours go to waste so you just continue. And then it's 2am, you have shit code, nothing works and your life is falling apart.9
-
for some reason I decided to re-invent async myself ground up for no reason even though I've last month taken up the philosophy "as long as it works, make it as janky as possible" which was actually very invigorating and fruitful in the end
but now I feel overwhelmed, there's no resources, I've never done anything similar, nobody else knows how to do this, the AIs don't know how to do even small basic building blocks of this, there are no similar repos, and I have self-doubts because I went against my new-found and successful principle
and also my brain feels restless and stressed as fuck because brain issues activated maybe due to change of drugs
so I kind of wanna explode and scream
and then maybe cry
and then maybe I'll exhaust myself and be able to focus again12 -
I think the « super power » of making everything works the first time, etc.. is really bad, where is the fun ? Where is this moment of happiness when it finally works ? :/
If i had this, I'll never want to be a dev again. -
First day at Jetpack Compose: Wow, how cool!
One week of Jetpack Compose: This preview never works right!
One month of Jetpack Compose: Damn! There's no mature component to this shit!
Two months of Jetpack Compose: There's no going back and start using embedded applications as intent.
Don't get into it.4 -
I wrote the most basic script today
it was either write the pointlessness (or find it online) or type each individual folder name manually like 12 separate times, and it'll slightly speed up archiving previous years work in a more organized fashion then my boss was doing on the shared drive before. there are probably better ways but ehh it works for me
also, I already fixed the typos, spelling was never my strong point lol1 -
I was refactoring a 4000 lines JavaScript file, turning whatever I could into components. It was a pretty old project that I ended up being one of the few wizards to actually know how most of it works.
At one point, I noticed that login into a user account redirected us to the dev-test server, even when working on a local Docker container.
I never quite understood the issue, but ended up having the bug mysteriously disappear.
Until it came back two months later, then disappeared again.
At one point, all of the dev team on the project (four developers, me included, and one project manager) was investigating the issue, and we never figured out how or why this was happening.
Just Symfony routes shenanigans I guess.15 -
WCF doesn't like me adding to lists...
I have to make an uno game that supports multiplayer with WCF for school...
I have a player class that has a list of card classes.
I have a function called dealHand, it adds Cards to the hand list...
I also have a callback function for updating my wpf gui...
For whatever reason if when the gui calls dealhand and I try to use myList.add(new Card()) then the updategui function in my wpf client doesn't fire...
But if I take a seperate method called makeHand which returns a list of cards, and just do myList = makeHand() then that works fine...
Never been so baffled/cursed so much at code before... Is there something about Lists that WCF doesn't like? Seriously... was weird...
Hopefully that was somewhat coherent...4 -
every time I run into some issue in rust and spend days googling and asking a billion AI chat bots turns out it was rust that was wrong
I'm so exhausted
do they have brain worms
nobody considers "hey maybe this feature isn't in yet" (and actually they'll argue against it being a feature and you should feel bad at coming up with it)
they're just like "you're doing it wrong!"
YOU HAVE ALL THE INFORMATION TO INFER THE TYPE AND YOU DID INFER THE TYPE YET YOU TELL ME I NEED TO ANNOTATE THE TYPE BUT YOU'VE INFERRED IT AND YOU CANT TELL ME WHY I NEED TO ANNOTATE IT
And I love how suddenly you can convert a Result object using `as` which is a keyword reserved only for primitives, so say the docs... and it works (and works at runtime as well). because the type was never wrong. you fucking inferred it. but you're bitching at me that you need an annotation. when you don't.
remember when languages were made by people that actually liked coding instead of this clout-chasing nonsense. that's what I'm blaming this on12 -
I wasn't here for a long time, maybe because everything was ok. Until yesterday. One of my friends works for a government organization and they fucked a big database lately and every member was working their ass to fix it. My friend gave all of his current freelance jobs to me. I don't usually do freelance because I don't like working under such stress. For 2 days I've experienced the stress of my year and fuck this shit never ends. EVERY FUCKING TIME I FINISH A FUCKING TASK, NEW ONE APPEARS. I FUCKING HATE IT AND CAN'T STOP IT BECAUSE IT IS NOT MINE OWN. FUCK THIS SHIT I CAME FROM VACATION A WEEK AGO AND NOW I NEED A NEW ONE.2
-
We had this social network in Norway, called Nettby (similar to MySpace). Where you could write HTML code on your profile page, and add css of you had a premium membership. That's how my interest for web started. i had no idea what I was doing.
Then I made a website for a LAN-party for my hometown, with booking seats and payment, and the works.
Made my first commercial website a year later, I was 12 at the time. 6000 NOK (underpaid, but for a 12y/o it was a lot of candy)
Fast forward to highschool, teachers say computers are a waste of time, and I'll never be successful in life with that.
Turned 20 a few months back, I run my own corporation, and work at mid-Norway's largest production company (web, 3d, video, graphics) -
Definitely landing the first real gig.
I've been writing software since I was 12 (full disclosure: early code consisted of C=64 BASIC). I learned C in high school. Contributed to a MUD in my 20's. But I never got a CS degree and didn't really understand how hiring works, so I limped along doing technical support for years. Years turned into decades.
About 2 years ago, I became an embedded support person inside a development team. I got to show off my skills, and the year effectively became a live interview. Last October I finally got the title.
On the positive side, by taking the long way around I missed out on some of the insanity of the software world in the 90s/00s.2 -
So I've been working with this company for like 3 years now, my only issue with it is I'm kinda underpaid (1.3K/month in Italy).
Today I had an interview at another company, like 1km away from this one, and it feels promising, the only difference would be in the products: here I make web-based stuff and VR apps, in the new one, I'd just be there incapsulating AI into other stuff for medical and industrial usage, using python and a lot of other stuff I never used or that I haven't used in the past 3 years or so...
Current company is made of me, boss and dude who works on social medias
New company is 17 people and many of them are engineers, mathematicians... more focused on what I actually do/like to do
Current company would go through quite a hard time without me (hardest projects were entirely developed by me + design/css from boss/other)
What would you do? My dream job is to make videogames with my own ideas (but can't rely on that to earn money)6 -
Don't refractor for fun!
An anecdote from my previous company. A developer had written a shitty java console app for fetching stock prices. About 3000 LOC. just one java GOD class. So, when me and my friend looked at it, we were amazed how that code works with all that if conditions spanning 100LOC. so. My dear friend underestimated the complexity. Since it just fetches stock price and puts in database right. I can write it in few days and much better one. So, he started writing code in an OO way. Three days later I see he still working on it. Having a glimpse at code. The app is now Object oriented shitty and ugly.
Guess what new code never goes in prod too.
Learning
Don't underestimate complexity of app.
Be empathic about fellow developer. Don't think he has written a shitty code. Think why he had to do so.
Don't work on refractors if there is no one to guide you.3 -
Omg I loath path separators. Been working on windows most of the time (bought a surface pro for some reason) and my colleagues work on Linux. We just do standard web dev stuff nothing special but. I started having issues with my windows build getting weird function.prototype.bind.apply is not a constructor issue. Which is valid because apparently my colleagues started using the fat arrow function everywhere and on places where not needed.......
But on Linux they never had an issue because babel fixed it to the old function during the transpileee. So why the fuck am I getting this problem. After some tedious debugging and asking my colleagues. (colleagues only responded with just use Linux) I found the the issue to lie in the webpack loader for the Javascript in which the path regex used a single / :(. So I changed that to a group to be / or // and bam the whole bloody project works on windows now.
....... My colleagues still don't understand that they over use the fat arrow in the wrong places unfortunately3 -
Is it just me, or do other people feel like mysqli prepared statements like to never work the same way twice?
I just finished a 3 hour debugging session where the prepared statement just didn't work. Then, just moments ago, I commented out an "echo" that has nothing to do with the fucking statement! And guess what? It works.
one moment please, I need to let my anger out.
GAAAAAAAA YOU FUCKING STUPID COMPUTER! YOU SON OF A FUCKING BITCH!
and to the people who made mysqli...
I HATE YOUR FUCKING LANGUAGE SO MUCH RIGHT NOW!
*sigh*
Ok, I'm back.
Anyways,
I don't know how, but I think php can smell anger and loves to make life miserable.
Please tell me I'm not the only one. -
Fuck all the motherfucking people who are interrupting me all the time!!!!
I'm trying to understand how a fucking backbone.js app works so I can make some changes that have to be delivered by Friday
I've never used backbone before as I'm mainly a php developer, and these fucking people are interrupting me every five minutes and I have to start all over again!!!
I'll never get any work done!!!
Fuck!!!1 -
lesson learned...
never run yaourt -Syu --aur without checking the upgrade list.
reboot-> system doesn't boot -> F**k
reboot (runlevel 3)
discover that nvidia-beta and nvidia-utils mismatch version.
fix it editing pkgbuild of nvidia-beta to install lastest version.
reboot->everything works.
Results: succesfully wasted 25minutes.3 -
Why the fuck is the default installation of Python on Ubuntu 18.04 incomplete and missing *default* modules? And WHYYY are there no fucking instructions anywhere on how to fix this??
I was hoping to be able to sit with my laptop and do stuff instead of in the dark corner by my desktop computer. It seems like I can never get things to work on my laptop, and I feel like I've either got the crappiest installation of the OS or that I'm just so stupid that no one else ever had my issues. Or, if I do find people who had the same issues, not a single one of the solutions that worked for literally everyone else ever works for me. 😐8 -
Ffs. I thought I never had to touch development for ios devices anymore but I was wrong.
The god damn piece of shit hybrid app build in apache cordova works perfectly fine on android but guess what, after signing that pile of crap with xcode it won't work on ios because somehow that retarded os forgets to listen for click events on a simple fucking button which is used to activate the app.
Had to create a virtual machine with osx and wait for xcode to instal, sign that app only to figure out it won't work..
Even after seaching google for 3 FUCKING HOURS there are still no FUCKING RESULTS.
I'm done with the entirety of apple and all their products. -
Thinking about perhaps doing a Linux From Scratch. Never done anything like it but feels like it would be a good way to learn more about how Linux actually works. Do you think it's a good idea for someone like me with an ok understanding of Linux but only on a "user level", or should I start somewhere else?9
-
I've got 2 questions.
1. Are there any laptops better than a maxed out Dell XPS 15 for a similar price?
2. Once I buy my new laptop I want to experiment with Linux (never used it before). Is there some really good tutorial out there to help me get it working and figure out how it works and what the best way to use it is?4 -
Goddamned apple. "Just works" my ass.
My girlfriend's 2014 MBP told her an update had already downloaded and she had no choice but to install it, which doesn't bother me. Now, though, it tries to update, then fails, and tells you to run diagnostics. Diagnostics says nothing is wrong, and says to contact support and it boots a minimal version of the OS that only runs a minimal version of safari. You try to access the chat feature and it never fully loads the chat interface. I can probably restore it, but I wanna know what was wrong. It's a really expensive brick right now.3 -
I sent an e-mail to my friend containing new information about something we were discussing.
He said: "It's cumbersome for me to access my e-mail, could you take a screenshot of it to me and send it on Skype?".
I was appalled. The e-mail is full text and he wants a screenshot of text. E-mail's primary purpose is to send text content. This guy never heard of copy paste text (which is what I did)? And he works in helpdesk, which is even more ironic.3 -
I hate how people who’ve never written a line of code complain about video game developers....I’m going to school for CS and a friend of mine is in school for Game Development and from our combined knowledge of how the shit works, it just pisses me off when people complain about how they want new stuff in there games but than complain about bugs and glitches in the game. Like motherfucker it’s essentially a program, if your bitch ass wants new contents with no bugs make it your damn self.6
-
Do ergonomic keyboards and mice help?
Yesterday I went through 6 hour maintenance without a break which involved a lot of typing and clicking.... (Because shit never works properly on live server, right?)
And now my right shoulder through my wrist feels numb.
I'm thinking maybe it's time to give up on 'gaming' rigs...
What are your thoughts?
Or should I just stretch more often?3 -
Is there a team that works truly productive and happy via an agile (scrum) workflow?
Or does it always distill down to an excuse for a chaotic workflow?
My experience and cynic nature has let me to assume the latter.
(That being said, I never had a dedicated scrum master to work with. So that may be the first of many problems.)4 -
My current boss. He is never in the office and all he does is telling in which direction he wants the company to go. The backoffice works scrum and they are for any person in the company the people to deal with.
They care for personal growth and also tell you if you can get more money from them for example travel expenses.
The techlead is a female developer. If you are stuck around the place she lives in she lets you stay over or bring you home even though thats a two hours drive.5 -
Never underestimate the power of a misplaced static in your Java to totally fuck you over.
I was busy with my computer science project for the semester where we have to implement a Sudoku solver without backtracking by using graph theory.
So there I was writing my data structure for the grid when for some reason all the cells were initialized with the value 8.
After a whole night of debugging I was about to start over when I realized I had made my array static.
And boom, it works. WTF!!!!!!!3 -
My company has 3 core partners but one works remotely nearly every day of the week and the other has his own business to run (attorney). It's funny being the one in the middle hearing about how each of them never knows what the other is working on for the company in an exasperated fashion, when all it would take is for them to talk to one another. I literally schedule meetings on their behalf just so we can all get on the same page. "Oh, you don't know what he's putting into that business proposal? We could just ask him and find out."
-
Just lost 2 days of works, don't ask me why.
git is good, but someone doesn't know how to use it, I will never tell you that's me.2 -
Legend says there is an Atom installation where the "Open empty editor at start" option actually works.
I don't know why but it never worked for me. First the editor always opened a specific file I hadn't edited for days, now it always restores the previous session and opens TWO fucking tabs with the welcome page.
Back to Vim.7 -
Oh for fucks sake!
Suddenly I couldn't use my mic. Windows is always a bit retarded, so I decide to restart. Ofcourse Windows FORCES me to install their shitty upgrades ("We have installed: Killer Control Center - check it out!" (Like hell I will!!)). This takes 5 min, which is usually not a lot of time, BUT I'M SUPPOSED TO BE IN A VOICE-MEETING DAMNIT!
Windows shaped up. Every thing works.
2 hours later: "We have an update for you, we will restart outside of active hours". WHAT?! NO! That means I can't leave my work up on my computer because I can't trust my fucking OS to not throw away my work! And also YOU JUST UPDATED YOURSELF WINDOWS!!!! HOW DO I TELL YOU TO PERFORM ALL UPDATES AND NEVER EVER RESTART WITHOUT MY PERMISSION!!!3 -
I fucking despise making whatever website that needs to send emails.
The final user won't probably receive the emails bc of spam, the customer wont like this and blame me or the company I work for, but never actually PAY for an email service to send emails.
And almost nothing works with the old-ass domains here in Italy, but people will still use those old-as-fuck emails just because they can't make a new one on gmail or outlook.1 -
I swear all this neovim-lua rage with different distros and crazy setups and never ending plethora of plugins is over the top and adding more clutter than my 2011 Eclipse setup. I can't keep the fuck up with all the changes and updates.
So if I want to add a plugin or a config to my "hand-written" config, I have to look through dozens of distros LazyVim, Kickstart.vim, LunarVim, AstroVim, CrapVim, .... in order to find something that just works ...1 -
When it's faster to just deploy the change to the test server than it is to test on the local test environment that never fucking works. #JustProgrammerThings
-
Navigating directories have never been easier with z, this post describes how to use it and how it works
https://monades.roperzh.com/weekly-... -
Hello everyone!I need to see some opinion you guys might have.
I'm a self-taught everything about Computer, I've been trying to learn to develop software and games for a while now, was able to gather some information in a bunch of directions, but never was able be able to ACTUALLY develop anything by myself without the help of a step by step guide. Which stop me from program things and not copy pasta. I know that i seem to like how C works, since it have less features that confuse me (IMO of course)
So my question is: What kind of small projects would you recommend me to do other than calculators to help me figure out how we actually program something?
PS: I know python, C, a little bit of C++ and C#.11 -
"Designing something is like having a baby. Asking me to try another design once I’ve birthed something amazing is like asking me to put the baby back in the womb and try again. That never works out for anyone." - Chad McMillan
-
Best part for me is when you see the final product. I do not mean once you're done working on the entire project (which is never true, always more to do! xD) but when you add a feature and it works.
Actually seeing it work, that gives me such a good, fulfilling feeling.
That has always been what attracted me to programming, or.. the main thing. -
Setting up eslint is driving me nuts.
This shit never works for me.
Every two months:
I read why eslint is important to have in development workflow. I get convinced of it's benefit. I decide to give it few hours to do this correctly this time.
3-4 hours passby, still nothing. I run into problems that only I face. My vscode setup is a complete mess now. My code formatter wants one way if writing code which eslint doesn't like for some reason.
Fuck this shit.
Am I the only one?3 -
So this one is more for web devs out there, but is Adobe Experience Manager as popular in the enterprise works as my boss claims? I've never heard of it getting used much, and I don't hear about it in web development circles.2
-
I was about to have a screenshare presentation of a month-long work over Skype...
Hours before the presentation I got bored and upgraded from Xorg to Wayland for some reason the universe doesn't want to disclose...
Tried to call a friend to check if everything is working and the screenshare feature was missing! 😑 I thought Skype fucked up, tried Hangouts, still not working, tried praying to saint Ubuntu to somehow please let it work one time. It did fucking not.
My gosh, 30 minutes before the presentation and I was preparing the whole environment on Windows. I had never felt so stressed in my life! 😰
Investigating after the presentation informed me that screensharing only works on XOrg, not on Wayland.
Worst last-minute decision ever. *#-##-:$;"+3($(!#@/)#9"+(2(#1 -
The job description of my internship:
You must be able to understand the complexities of receiving a unit test that you are told needs only mock data in the test database, but has never worked since it was written by a contractor a year ago. No one knows how the unit test works and requires testing a complex algorithm involving graph theory that you have not learned about yet. The task starts at 1 complexity and turns into a 13. -
Did it ever happen to you that you were needed to map a mental and overly complex for no reason db schema to a simple json, and you hate yourself more every key you press because rewriting it more efficiently and simply is never an option?
How do you cope with managers and legacy code?
If it works does not necessarily mean that we should keep it, jesus christ.2 -
Ah yes back from school, back into trying to get Arquillian to work. After trying to build on Jenkins (just for a test if they fixed some of the Problems) suddenly it wont even build properly, because they removed the datasource that my Arquillian tests were running on. Great. Not only are my tests not working now, but the whole fucking thing won't build and trying to get a datasource into the Arquillian Container is a pain the ass.
I've set it up according to multiple tutorials. But it always tries to read a non existant datasource... Why, why, why the fuck do I have to do this shit. I fucking hate everything related to JBoss. It... never... works. -
Today, I decided to learn build a c++ project using cmake. Since I've never done a big project in C++ I have no experience with these stuff.
Couple of hours for researching and trying to understand how that thing works, how to specify things, this and that. Wrote a small program for testing.
Everything was fine. Makefile was generated and program was worked.
Then.... Somehow, sublime text started to give me error messages like, 'the header file you included is not found.' I hit the makefile again, the built was successfull... I know that, need to add -I to compiler flag so that it can find the files. But in sublime text constantly refuses my 'possible' solutions.
Even ycm in vim does this. They expected me to write includes like '../thispkcg/include/header.h'
Where did i go wrong ..............
Btw it works like a charm in cLion I don't know why..2 -
I wanted to build a custom notetaking app, because all the alternatives are shit
I have a decent bit of experience with web development, but I've never tried electron before
Anyway, I decide to go with electron, because it seems like the easiest choice for my skill set
I build most of the app, and it's all working pretty well, and so I go to bed for the night
I come back the next day, and now the motherfucker won't load and display HTML pages aside from the main one.
So I start debugging. I go through each line of code, each external link, all my dependencies, everything. There's no JS debug output, nothing
I leave for a few minutes to get a glass of water, and now all of the sudden it works again
And I don't even know what happened, how it got fixed, or what even caused it
Electron is weird10 -
Ok, so here is the thing:
After a very long WINDOWS UPDATE
the sound has gone. No speakers or headphones working. After wasting >10 hours (not in a row)
trying to find the FINAL SOLUTION, I have just gave up. Bought a working external sound card, but I could only use headphones plugged into it.
In a week, I booted Linux (cos I have never really
used it and not with the sound problem in mind) and guess what - on Linux sound works normally! On THE SAME LAPTOP!!!
I belive the update somehow harmed the audio drivers. I'm really fed up with it.9 -
"I became a graphic artist because of the tools. I love working at a big drawing table with traditional tools: T-squares, compasses, mechanical pencils, French curves, blank ink, and graphite. At a computer, one works on a keyboard. I never considered myself a typist." - Michael Schwab1
-
I don't know if many rememeber me but at one point this year I had to turn UDP basically into tcp, handshake, packet ordering, resend on failed, ACK response, and 4k bit aes encryption. Fucking done, it works, signed the last version and pushed to client, client loved it, just what he wanted, paid out contract then turned around and asked me to setup his server for one day with no further expectations and an extra 250, said sure don't mind, as I am setting shit up I decided to test if his business isp really blocks tcp, guess what? NOPE IT WORKS JUSY FUXKIJG FINE AND I COILD HAVE KUST RIPPED A PREMADE CORE AND GOT PAID AND SET IT UP AND HE WOULD NEVER know, but maybe theirs some weird circumstances that require the core to be made only with udp, so after I was done I asked why only udp if his line allowed tcp? Requirements maybe? NOPE HE JUST DOSENT UNDERSTAND TCP FUUUUUUUQQQQHDJDIOAJEJDICJDNXIKZMZJDJCU2
-
Well, I've started programming only a few years ago, and haven't done a lot of projects.
I guess the best thins I learned was I preffer to do projects alone. Everytime I try to do a project with someone, one of two scenarios happen:
- We each do a part of the project, and only talk at the end. Normally everything works out fine.
- We can't agree on anything and, in the end, nothing ever works.
I think I only enjoyed doing a project with one person. We were learning vue.js, but I was staying behind and the guy I was with was okay at it. He would do most things, while i was watching him and he would explained what he was doing and why. Then I started doing stuff (very easy things) while he was watching me and guiding me. Telling me if there was a better way of doing something, or even if I made a typo. Basically, I would do something and he would tell me if it was wrong. We ended up making a (very) simplified imdb from scratch in, I think, 8 hours? Took us longer to choose the template then to make the actual project. Yes, he made most of the project, but I think I have an excuse on this one. I did end up learning a lot, I wouldn't pass that module if it wasn't for him.
Other then that one, I never had any good experience in a group. I would rather make everything alone, no one to disagree or fight with.2 -
Linux, you never fail to amaze me!
Started using Arch based Manjaro with xfce de couple of months ago. Everything was mostly fine even though I've never used anything that was based on Arch but it had a learning curve.
Couple of weeks ago I couldn't update my packages, I thought it would fix it by itself but I was wrong as you already probably know.
So yesterday I tried to manually fix it. Famous last words. After a lot of googling, trying some terminal commands - and failing, I see a warning labek on some text on the arch wiki - sudo pacman -Syi --force. I said fuck it and did it. Let's see if it works, I try to install a package, I mistype the name, press backspace - it puts a space instead of deleting?!?!?
I tried restarting, googling - nothing...
Guess I'll switch back to Debian based OSes.5 -
all they want is to lure you to a feed and let you scroll through it forever. TikTok will even scroll for you. Your right hand is for holding a phone, your left hand is for cramming junk food into yourself, your head is for feeling acute guilt. After junk food is no more, you make yourself puke, wipe your eyes and go on a compulsive shopping spree to fix your self-esteem. All paid for with your credit card, of course. As if you were able to afford the whole ordeal in the first place. Then, go to your local bar and get wasted.
Never explore yourself. Never stay with yourself one on one, without an algorithm taking the pain away through the screen, all at the expense of making it stronger in the long run, because that’s how addiction works. Never talk to yourself, never ask where did certain feelings come from.
Without pain, there is no motivation to change. And you shouldn’t change. You. Must. Drive. The. Economy. Die early, of heart attack because of junk food, or by suicide because all that mental strain and misery. Never retire. We shouldn’t pay you a penny back.
Now switch back from devRant to Instagram. Now.2 -
FOR FUCKING FUCK SAKE
I have a shit ton work to do. Just finished (hopefully) all of my exams, came back to work and got tasked with simultaneously developing a new app (Android), adjusting some of my own code to work with client's specific requirements in completely different project (C#) and also I have to fix a legacy app (Android) because UE comitee will be visiting us on wendesday.
I've never seen this code earlier. I've never seen this WHOLE SHITTY PROJECT. Guy that was developing this left few years back.
It's a complete spaghetti. 550 FUCKING LINES OF CODE for a one class, most of the methods are deprecated and won't even try to work on Android > 4.0. No documentation. Nothing works. Whole code is ridden with bugs, warnings and looks like it's glued together with duct tape. I even had to migrate from fucking Maven to Gradle it's that old. -
Week before this i had to assign a task for a mailing to a coworker of mine. So i handed him the documentation (partly on paper).
He finished his part and now i need to continue the works.
I asked him the documentation. He told me he shredded it and threw it away. Thanks coworker. You are being useless like never before.1 -
Why can't developers get dark themes right, or at least let me stylize it the way I want it? If you are only changing the background, black is *never* a good choice because it contrasts too much with the other default (and still bright) colors. Dark gray works much better.2
-
I have been using an app through Slack for months that helps me to get specific emails related to users needing help into a Slack channel for the whole team to easily see, manage, and talk about. Just found out that they updated their app to version 2.0, and with this, the free service, has now become a paid monthly service (along with a lot of other things I will never use.)
So now I have a workflow that no longer works, and have to put a pause on everything else I was doing to find something else that can work, or code something from scratch. There goes my day. -
My mom was a media designer and as a kid I liked watching her doing stuff with CorelDRAW. And as soon as she played Sims in the evenings I really wanted to learn how to make a window and stuff in it happen.
So I started learning C, because my stepdad had a book laying around. (He did not know how to code by the way, now I'm asking myself why we even had this book)
But never got further than a few console applictions asking for input, messing with it and printing something.
Later I got into HTML/CSS/JavaScript (in that order over a course of a good 3 years or so) because I wanted to do stuff people can see and easily reach (an exe wasn't the nicest way of showing people something imo)
And that's when I totally fell in love with JS and it never stopped from then.:D
I did a few excurses to C++, Java, VB, C#, such kinda stuff and learned many many things about how stuff actually works. C being my very first language immensely helped with that.
I'm also trying some game development, as this was one of the main reasons I started coding, but I'm not creative enough and do it less and less.
Nowadays I do HTML, CSS, JS, TS and PHP for a living and I love it.:D1 -
Azure, great development slots! Must have, now I can have developer, staging and production. The greatest no downtime when swapping a new server in....
Everything crashes? WTF?
OKAY, so swapping to a service that authenticates users makes the authentication part crash :/
Phew development slots ROLL BACK...
No the entire service was broken. Rolling back, all non authenticating controllers work, but the authentication never happens, so server is working, but the users cant use it. Fuck!
Delete everything. Recreate. The setting persists. WTF. Delete again, recreate, reinitialize, republish, it works as it should when tested phew.
Creating new service experiencing cant replicate. Hmm, okay must have been a glitch. Next, update, YEAH swap, no downtime!!!
*EXPLOSION* ..... RINSE AND REPEAT:/ -
A classmate I haven't seen in 2 years popped up in my Linkedin.
I looked up her profile and it seems like she now works at SWE in okayish company after an internship in a prestigious company.
This throws me a little bit (I am jealous obviously). We've worked in the same uni project before, she's okay when it comes to theoretical courses but a bit behind when it comes to anything related to computer. I would never think of her working as SWE as she did better in traditional engineering (think Civil Eng, Mechanical Eng etc, Aerospace Eng.).
And yet I heard a lot of people online complaining about difficulty of finding graduate/junior position. If a person like her can find something, surely someone with pure CS background should find something easier. But then again, job hunting is 50% pure luck. I have concern on the quality of work that she will produce, but maybe I underestimate her a lot? 🤔6 -
I switched to firefox for a while, the thing is multiple times a day I try to zoom into an image or something, and it never works...
Hopefully this serves as a reminder!6 -
Sorry for my noob question. Too scared to post in stackoverflow.
I have a domain for my website from namecheap.my website is made with springboot and hosted on my homeserver port 80
I pointed my domain to publicip:80.never works fine except when i put my domain name in the address bar it redirected to my ip and shows the ip in the address bar.
Am I missing any steps?do i need to do something in my embedded tomcat server?13 -
ASP.NET Core (MVC) is frustrating me.
I’m a big fan of ASP so far but I’m just struggling to understand a lot.
First off to use it you have to fucking memorize every class in the fucking framework and the functions within them. It just expects that I automatically know which classes I need to implement or inherit from and why, but if I don’t? I can fuck off. But this is also just a C# problem in general.
And it does so much for you and that bothers me so much. I was so excited to actually implement protection against SQL Injections, using HTTPS, validating logins, interacting with the SQL for the database but FUCKING NOPE BECAUSE IT DOES IT FOR YOU.
I don’t want my hand held I want to feel like I’m actually doing things and I want to learn how shit works and how it’s made. It’s just disappointing. I appreciate that it wants me to focus on the app and I will appreciate it a lot more when I’m done learning how everything works but I won’t actually get to understand how those features work or how I can implement them myself because it’s spoiling me too fucking much.
I guess I’m just gonna have to practice more. And don’t bother telling me to look at the documentation, I’ve never seen such a fucking piece of shit mess before I laid eyes upon the docs for C# & ASP21 -
Outlook irritates the heck out of me with its distracting notification bar that's recently begun popping up almost every time I start the god damn shitty application. What's worse, there doesn't seem to be any way to disable this annoying crap. Our support technicians are unable to solve it, so I wrote feedback to Microsoft. I don't think they are ever going to answer, though. They haven't even responded to another problem with Outlook that I reported nine months ago! Microsoft are reallly inconsistent, to say the least. Some of their products, like Visual Studio, VS Code and Microsoft Flight Simulator, are excellent! But, more mainstream software, like MS Office and Outlook, suck. Windows (I'm using Windows 10) is so so. It works alright if you know your ways with the registry editor. The same goes for the support. If you're lucky, you can get hold of a real, flesh-and-blood person who patiently guides you through the cumbersome process of, for example purchasing and installing Minecraft (believe me, it isn't easy, took almost an hour for the support person to solve. Creds to him). Sometimes, like when activating an old Windows license, you get to talk to a bot and that, surprisingly, works very well too. However, if you report any bug or feedback to Microsoft through an application's help section, you 'll never hear from them. They just ignore it.2
-
Never assume.. coding, how something works, someone knowledge on something, etc. never assume anything it will come back to bite you down the road.
-
Maybe it's just me, but:
1. Never works on first try:
doStuffWithWhile()
while (someShitIsNotOver)
doShit()
2. Works like a charm:
doStuffWithManualLoop()
doShit()
if (someShitIsNotOver)
doStuffWithManualLoop()6 -
Anyone have experience with technical analysis, algo trading?
Was reading an article about how markets are probably going to crash next year based on some technical indicators and it reminded me of the days back in uni when I tried to create (simple) trading algos using all sorts of technical indicators...
Never got anything better than random... And I recall was basically throw some indicators together and backtest using different parameters. I think it's called p-hacking.
But anyway just wondering how is it actually done such that it works... And well how can technical analysis ever work if it's completely subjective to the parameters u use? Like just take Moving Average. You can take a average over any range 1s, 1min, 1d, 1 month, etc.
So many combinations u could use, how can you make any rules that you are confident enough to put lots of money on...7 -
I never thought how hard it would be to write cross platform software. If statements and try/excepts are everywheeere. And I still need to reformat the strings for different aspect ratios.
I wish I had the balls to use this awesome sentence "Works on my machine" 😂 -
Any non-tech hobby usually helps my coding, because relaxing breaks are far more efficient if I'm not just laying in a bean bag trying not to think about work but rather engaged in something unrelated. During the summer I was storing a really good electric guitar because the owner emigrated, so when I felt stuck I played some music. I used to play the cello in middle school but I was never really good at it nor did I care to practice properly because it felt a lot like yet another class to attend. Apparently music practice works whether you do it in one long or several short rounds as long as the total time is enough.1
-
So basically
-I have a project to finish due next week from an interview i had and i mentioned that i want a server side role, i am more of a PHP & MySQL (laravel).
-Also told them i am not very good at the front end
-So good so far
-They gave me the requirements
-BUILD A FU##ING website using
{
- BOOTSTRAP AND WORDPRESS
}
two let's call them tools i have NEVER used and also mentioned that
So here i am having my fking pulse over 100 trying to damn figure out how this bs works.
End my suffering
Have a nice day!!8 -
I've never been more impressed than when I discovered Linux. It's a pretty classical choice but I can't say another. It's my favorite because for every need you have, you get a solution to make it. Right now, I'm learning how xcb works to make a tool for DE like Rofi.
Most of all, Linux philosophy implies that the most popular (and almost always best) tools used on Linux are all open source. So now, I can learn xcb just by looking at the codes of other DE, I'm really in love with Linux -
Implemented a feature against a "restful" json api. The feature works, test-driven development ftw.
Yet on the run with the live api: certain important fields all only contain the value `0`.
Confused I asked around what's going on, expected a bug in the api. Now I've been told that those fields never worked and the relevant information has to be gathered by either querying against a (deprecated!) mysql database. Or use a different endpoint increasing the http request overhead by factor over 1000.
We call it team work. -
So amusing, how every single PC in my office has 2 speakers connected, but i never saw anyone using them.
You wouldn't be able to work anyway, if everybody was listening to music with those speakers.
On the positive side tho, i can plug my headphones into the speakers standing on my table, so it works like a cable extension lul2 -
# Gave me a job and more stress and literally nightmares;
# Physically resisting myself to give solutions to everything people moan about. Even myself. But we know things flap in production;
# Cursing my life, other people's code, customer's IQ more often;
# Getting more LinkedIn, messages, profile views and requests than my social media (which I really don't give a shit about);
# Using a combination of programming punctuations in usual writing (this rant for example);
# My sleep is down the toilet;
# Never complaining any coffee as long as it works; -
Anyone have those coworkers that completely interrupt people? I've found that a couple people i work with just were never taught to wait for someone else to finish. Doesn't help that they're really smart and also really opinionated.
How do you deal with these people? I've found steamrolling them or asking them to wait works, but only if you raise your voice a bit, which is mostly inappropriate, but easy to do on a web call.
Any suggestions for keeping this out of private life? I've found that i steamroll my friends sometimes even though i don't have any reason to, and I've become quite good at it...3 -
How come so many dev teams are working with blindfolds on?
We have two projects that communicate using endpoints. One of them throws a parsing error with some data. Cool, just give the calling project some debug references and attach a debugger right?
Apparently not. I haven't figured out why we can't do that, it seems like the project only works using nuget references so we never get any debug info for the other project.
Asked around how we usually solve issues like this. The answer: "idk the codegen always works, so we never solve issues like this".
What.
It "always works". Except now it doesn't. And you've never tried debugging it? Instead just working with blindfolds on trying random shit until it does?
This is far from the first time I've heard this on a team. That and "we don't need error codes, if something goes wrong we have to fix it either way". I'm losing faith in the dev world... -
Ive never been able to use rails console because I could never resolve an error.
I spent about a day on three separate occasions trying to fix it.
The last time I tried, I gave up and decided I would just live without rails console.
Its been months now and I decided to try, just for the hell of it.
It works?
It works!!
Why does it work now and not before?! -
We all have that one friend who can't code, but still made an entire rainmeter layout. Now he wants to show you his work. If that works, put it somewhere in a folder never to be found again and keep it out of my sight.
There is a hell, believe me I have seen it. -
I am legit getting tired of trying to help people improve and hit huge roadblocks because nobody seem to care if what we do works for the intended purpose.
I have seen some terrible unstable code that fails 50% of the time on run time and never was reviewed or tested on core software, but since it was worth a lot of story points, people get congratulated for finishing it but nobody bothers checking if it really works in the first place. Story points are meaningless in this Agilefall Frankenstein shit process we use and bosses keep saying they will improve it but nothing gets done.
Worst thing is my work often depends on this shit.
I swear one of my good colleague and I are trying to introduce commit and PR gating, code review, code quality to avoid as much problems as possible while speeding up CI and documentation but 90% of devs do not give a single fuck about it. They just bypass it with admin rights because it supposedly slows them down.
When I bring up to management that the processes are terrible, I get the classic "we can't force people to use these processes because we have to respect their work ethics and it is different from yours." While I get that some things are subjective, in this case that's a lot of words to say they suck and give no fucks.
Sorry for the rant, it is starting affect my morale and efficiency at work, but I know every workplace got its problems.2 -
Honestly, am I the same guy who wrote this code 4 years ago? How comes I never commented it! Shit man. What do you do with code that works just fine but you don't know how it works..???2
-
Wow I just thought I had lost my good old friend forever - my laptop did not want to turn non anymore and since the main fan is somewhat broken, I thought I'd never see him alive anymore and that he died from overheating thus I opened it, plugged it to the power connector and voila, it works again - whew, that was a shocking moment for me and I guess it's finally time to replace that fan.7
-
So PHP PDOs... nothing fucking works. It's that or the lovely MariaDB implementation, I know that the query is correct and I've tried a stored procedure as well. The query itself ran once to add one user and never again while anything I try now doesn't return any result. I'm going to install Percona and see if it's the implementation or me.8
-
Greg Wilson, whom you might know due to “Making Software: What Really Works, and Why We Believe It” and the “It Will Never Work in Theory” website, is volunteering with Rainbow Railroad, a non-profit that helps LGBTQ+ refugees resettle in safe(r) countries. Greg’s team is sponsoring a lesbian woman from Uganda to come to Canada, and trying to raise $16,500 to help with her first-year costs.
If you would like to help her, please donate on
https://donate.rainbowrailroad.org/...1 -
Can't believe I miss my old job. Pay more here but works so much more it's crazy, and issues just never die, pages keep happening, too many clients calling our APIs and everything is spaghetti. I don't think my manager will ever promote my as it's tough to perform tbh (atleast for me).
-
Rant! When you live in a less technically advanced country, and everyone cheaps out on their software and hires the company that will do it for the least money and because of that it never works decently you can't reserve movie tickets on the cinema's site and get a SQL constraint error directly on screen, if you can't afford custom software buy a license for something that works out of the box ffs
(I'm goin' to see Star wars ofc.)2 -
The little things are what makes you happy.
It was really annoying that screen doesn't work after an su. It makes sense, but typing "script /dev/null" everytime (and remember to write "exit" after it so bash history works again) is annoying.
So a little script to "/bin/scrn" with the following content made my life better:
#!/bin/sh
command="screen $@"
script /dev/null -c "$command"
Never worry about screen after su again! Tech life is great, isn't it?4 -
Hello guys, i need some advice:
Our school is having a "auto-management" (idk how to translate) period, it lasts 3 or 4 days just before christmas vacation, and in those days students get to organize courses about pretty much everything to teach stuff to other students (exept stuff like video games cuz the principal is closed-minded), some friends asked me to make a course about programming in c# because they are interested, i thought it was cool so i said OK.
Now i'm thinking how to structure it, it's going to be 2 "lessons" of 2 hours each, and it's open to everyone in the school.
I don't want to do a full blown course explaining everything, i just want to give them a kick start and point them to the right direction, I thought about explaining some "theory" in the first lesson, I'm assuming almost everyone that will come never did programming stuff, so i'm thinking of explaining stuff like how a computer works, why you need a compiler, etc.. maybe based on the introduction from learncpp.com without getting to much into the details and then explaining how c# works and its grammar.
Then in the second lesson i'll try to code togheter some stuff (We'll have just one pc attached to a projector).
So, how would you do this ? I mean i never tried explaining programming to someone else and i'm self-taught i looked at the guide on msdn but it starts directly by giving you an hello world, should i follow it ? I fear i'd get too thecnical and they wouldn't understand me, do you know some good guide i can use as a reference ?
ps: there's going to be max 30 people1 -
oh there are so much universitys courses ,I always from one room to the other room.its never give me enough time to do myself works.😭 i know theory is important,but i need more exercise to get a deepper understand. ...
-
I feel tired. Really not feeling like working on.. work.. much rather be working on personal things. Lazy times. I need me a get rich quick scheme that works. I need a holiday that never ends.5
-
My programming class kinda sucked. Here's why.
1. They taught C++. To students who had never seen a line of code in their lives. The language with 90+ keywords.
2. The teacher. We had to use switch statements to do something. It took around 300 loc. I used an array and shortened it to 5. He took some points away for not doing it correct. IT LITERALLY WORKS THE SAME AND IS SHORTER. This was not the first time I had shortened something/made it more readable and been docked points on the assignment.
3. Commenting. He told us to comment as much as possible, which is not correct. Comment what needs commenting. Not everything.
4. The compiler. We worked on windows with an online compiler. He decided teaching us to set up a compiler was too hard. We used onlinegdb, which isn't inherently bad. However, onlinegdb is based on Linux. He compiled our programs with a windows compiler.
Maybe these are just problems because I've programmed before that, but I still think they are red flags. What do you think?3 -
"A complex system that works is invariably found to have evolved from a simple system that worked. The inverse proposition also appears to be true: A complex system designed from scratch never works and cannot be made to work. You have to start over, beginning with a working simple system." - John Gall4
-
Why on earth would anyone agree to work in a company that sends your code to some other team to check it then you get stupid comments like yes it works great but make the code look like the code in that system we made 10 years ago so everything can look the same. Easier for maintenance.
That is not how programming works ...
Code has an essence to it...
You cant just make me break the ...
Honestly id rather work for less money and never have my code questioned on the bases that “it should look like...”1 -
Javascript is my main tool at work right now, Typescript to be precise. It never ceases to amaze me, I guess as most of you.
What I've encountered recently still doesn't make sense to me but it seemingly works:
function a(){
someString && someFunction()
// other stuff ...
}
someString can be a string or undefined, someFunction can be a function or undefined.
How is that valid Javascript, without an assignment? Haven't found any explanation yet.22 -
Seeing just how well ansible works to set up Arch is kinda scary, i wrote my playbook almost a year ago and it still works perfectly (after i renamed some packages)
And this is not even how you are *supposed* to use ansible, i am kinda abusing the system by only running it locally...
This is just reinforcing my Bash-hating bias even more: bash scripts are a terrible solution to 99% of problems, and the language is frankly shit.
Back to Ansible.
The fact that operations are idempotent is *such* a game changer, too: I can just write some extra roles to automate other stuff i can never remember, like setting up those darned wine/Lutris dependencies -
Stuck in debugging a python script (using 'requests' library to achieve 'curl' type function) for the last 2 hours
Worked fine yesterday in Python REPL.. Throws exception when put in a long exisitng .py script.. Works fine again when put in Python REPL
Found out that when in REPL, I am careful to import 'requests' library every time but ignored when typing in .py script
(Feeling stupid)
Lesson learned: Don't use "generic exceptions"!! They never let you know what the real problem is.1 -
It just never works when you try to set up self hostet php apps never theyre all shit they never print any useful errors they just randomly pass wrong args they use fucking ioncube fuck everything6
-
!rant
Never done a "full-fledged" Android app, but I had to, for school.
It works (by now), now I can sleep3 -
I have a php background and just got hired at an agency that works with Drupal 8. I have a month to prepare, can anyone suggest me any good resources?
Most things I find online cover what is different between Drupal 7 and Drupal 8 and are completely useless to me since I've never worked with 7.3 -
how do you implement rtl support in website? never done that before.
-webkit-transform: rotateY(130deg); /* Safari prior 9.0 */
transform: rotateY(130deg); /* Standard syntax */
Is it enough? to apply the above for the body would do the trick? and flip back all the texts. works?7 -
When you change some code which perfectly worked out of boredom. You realise it still works (or at least it looks like it does). You begin to wonder why. You never find out.3
-
So on my new position I get to work on Spark jobs. Never had to work with the infamous big data technologies. I never thought this would get SO frustrating for all the wrong reasons.
I'm currently trying to introduce integration tests for some Spark job I wrote. This isn't trivial though, as the data comes from several HBase tables. Mocking everything simply isn't feasible. So why not use the integrated HBaseTestingUtility? With it you can start a mini cluster that runs all nessecary services in the scope of your test.
Sounds great, eh? WRONG. Firstly the used mapr dependencies get in the way. The baked in configuration tries to automatically authenticate with your local cluster through Kerberos. Of course this doesn't work. And of course there is no way to reconfigure this as it happens IN A FUCKING STATIC BLOCK. AHHHH.
Ok. So after calming down I "simply" had to exclude all mapr dependencies and replace them with vanilla ones. After two days of dependency hell it FINALLY works!
...or does it? Well now we need test data. For that we got a map reduce algorithm that can import dumps. Sounds again, great, eh? WROOOONNNG.
The fucking map reduce mini cluster can't start, as it tries to write a symlink. Now take a wild guess what the sys admin here blocked. Yepp. TWO DAYS OF WORK RENDERED USELESS, BECAUSE OF SOME FUCKING SECURITY SETTING.
This is fine. -
So one day I have an idea of making a HN client in the terminal using Go. When I try it, I got stuck at the scraping part (the very first part of this project). The scraping works, but it just have a problem: the first submission's data is duped (duplicated) with the last submission's data. And that problem is why I end this (potential) project. The more I tried to fix it, the more insane I got. Yet that shit is still there, never fixed. So I think "fuck this shit" and remove the username part and the points part of the data. Eventually I end the project.4
-
I fucking hate mobile and iPad ui and general ux. I hate that I get shit for not being able to fix people's problems on them quickly enough with or without googling. Apparently that's my fucking line of work, no I'm just a fucking code monkey, I don't know where whichever asshat hide the setting to Jimmy or abysmal fucking browser implementations in fucking mobile chrome that makes it unable for you to buy car parts but it fucking works fine on a desktop browser. I ront want to reset your fucking weak passwords because you never remember them.
I can't even change my fucking phones background, or figure out or I lack voicemail because my plan or the fucking optoknnisnt present (one plus 2) and don't care enough to put more time or google it.
Maybe I'm just fucking incompetent. I like being able just to right click shift on desktop, going to properties or running both commands.
I never will stop being an imposter until I can fucking fix anything like a legit engineer. -
And just another day finished. A whole day full of how fuck does this works! After all I could complete the project. Commit, push, story done. Never looking back. But I learned something today: think easier...
-
"Bruce Schneier never keeps the private key; he computes it when he needs it."
I just knew about https://www.schneierfacts.com/. Here is my first attempt. Hope it works.