Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "it's right there"
-
Fixing a parents iPhone, episode 1.
Problem: "Whatsapp is gone off my phone"
Debugging:
Me: *unlocks phone and sees whatsapp*, it's right here.
Mam: no, I no that I can't see my messages.
Me: ok, that is definitely not what "whatsapp is gone off my phone means".
*opens whatsapp*
*inside add contact screen*
App seems ok, your trying to add a contact?
Mam: that's a problem, whenever I open it I only see that page.
Me: *taps cancel button with shocked face*
Mam: omg there's my messages, how did you do that?
Me: ... ... ... I tapped the very easy to see, large cancel button in the top right hand corner.
Mam: but why was it opened there?
Me: *looks at opened message from unknown number*
If I was to hazard a guess, now stay with me on this one as it's a bit complex. I think ... I THINK ... you clicked the "add to contacts" button on the screen in front of you.
I am suspicious of one thing though.
Mam: what's that?
Me: how you managed to click the add contacts button, and when brought to the add contacts screen, you assume the app is broken.
Mam: oh will you **** off you sarcastic little ****. Thank you very much.
Me: no prob, 4 year computer science course put to great use.20 -
We're excited to announce the first devRant-sponsored hackathon! It features everything we could have dreamed of in a hackathon: huge prizes ($10k to first place and others), an awesome beer-themed dev competition from lead sponsor Anheuser-Busch, lots of free beer, and an awesome setting at Alley in Chelsea NYC (devRant's hometown, we'll be there!)
It's taking place right here in NYC from March 25-26 and @trogus and I will be there and we really hope we can hang out with members of the devRant community who are participating. devRant is an official partner of the hackathon and we're very excited about the competition itself. There are two challenges teams can pick from: "Internet of Things" (Raspberry Pi’s, Arduinos, etc.) and "Data Insights" - both with the goal of finding creative solutions/innovations to help people drink more beer!
Tim and I look forward to hopefully seeing many of you there. Full details and registration here: https://hacktheworld.beer/NYCHackat...
Please let us know if you have any questions and let's hack some beer!
P.S. the hackathon is 21 years and older only because of the beer theme46 -
My girlfriends mom asked whether I could fix her coworkers laptop. She claimed that it had viruses installed and laptop is laggy..
So... I got that laptop just now, got home and turned it on. It doesn't have WiFi drivers installed and I do not have any free Ethernet cable right now.
About the lags... Well you won't believe how many custom tool bars and security programs there were. McAffe, AVG, ESET and some Russian made firewall which asks for license key every 5mins.
And she asked me to reinstall windows and keep every file of hers, and she didn't bother to point which files of 300gb of photos/videos/docs are worth keeping and which are not.. HDD is 300GB :A fuck me
P. S. Since it's my first rant I can say ranting helps a lot to calm down23 -
Design team: "Is it okay if I put this here?"
Me: "No, it's not okay if you put that there."
Design team: "Are you sure? It'd be really cool if I could put that there."
Me: "No, I will need to fuck with a lot of things if you put that there, just put it in the bootstrap columns."
Design team: "Hold on, lemme see if it's okay to put that there."
Lead-dev: "He's right, you shouldn't put that there."
Company: "We should have a meeting to discuss where the design team can and can't put things."
Lead-dev: "Just put the things in the middle and devide them in these twelve columns on seperate rows, 'kay?"
Company: "Okay, the design team will now put the thing in those things, right design team?"
Design team: "Yes, we agree to putting the thing where we should put the thing."
Me: "So where do you want the thing now?"
Design team: "I want it all the way to the right, outside of the container, that'd look cool."
Me: "Fuck you."22 -
The moment when you're failing the university, you desperately wish to drop out of it and your parents push you to inhuman amounts of things to get you to finish the bloody thing when not even a bachelor's degree will ever help you in anything and it seriously wasted 5 years of "studying" about things in food technology that were there in the USSR. I think you failed to notice that 26 years have gone after that. More years than my age is, basically, and the tech has moved forward so much I will never be able to utilise at least 80% of what I was "taught". Yeah, it's nice pretending you're somehow smarter than everyone else in your room when you have a degree like that, right?
I'm studying at a professional college right now and it's 11 AM to 5 PM five days of the week. How am I supposed to be able to combine a university that never helps one even fucking slightly if you have a job or something similar? And it also insists that it won't take away grades if you don't go there, but simultaneously it actually does that. I'm the type who cannot be made to do something in some cases even if there is no other way perceivable.
I just want to get a goddamn job that pays, but I need something that gives me salary of at least about 1000 USD equivalent to just be able to hopefully rent a small flat and have some money to spare.
Now I have to be going to the college. I might end up getting my PC taken away from me a THIRD time since me and my friends built it. And it's only been a bit more than a year since that :|
Did I tell you my age? 23.
And these people(my parents), think they can bitch, moan, take things away from me(the things that helped me all my life to not go insane from their actions), then scream at and even hit me if I don't act 100% the way they want me to.
AND THEY WILL SAY THEY WANT ME TO SUCCEED AND THAT THEY STAND FOR MY FREEDOM.
If there is some force that can help me out of this, I summon thee!
/endrant.
Sorry for that. I needed to have that out of my system.34 -
First thing this morning I heard my boss had taken some PSDs to a client today. I thought it was a bit weird because he doesn't have a laptop. Midday I got a call to say all my PSDs were corrupted:
"I'm with the client now. We're very unhappy, we can't get your files to open."
"Oh, right. They should be fine. What version of Photoshop are you using?"
"The latest."
"Okay, what's the error?"
"There isn't one."
"Okay, so it's freezing?"
"No, we can't see the files at all."
"Which laptop are you using?"
"The Nexus."
"The what?"
"That tablet thing."
So after about 20 minutes we figured out he's copied the PSDs and a shortcut to Photoshop on to a USB stick. Then plugged the USB into a USB to micro USB cable and stuck that in an Android Nexus. Expecting to open Photoshop.exe and the PSDs.
I don't mind people being confused with technology but when it's your own boss, who doesn't even bother to let you know anything, then phones up and tells you off you just want to strangle him.16 -
Had this recently with a client, mysql server of one of our shared hosting servers went down:
Senior engineer 1: heads up guys, mysql of {server name} is down, working on it! *calls second engineer in*
Support people: thanks for letting know! (in case clients call about it)
*triiiingggg*
Me: good afternoon, how can I help you?
Client: this site which we manage for a shared customer says it can't connect to the database...
M: is it hosted on {server name of mysql problems}
C: yes.
M: there's a mysql disruption there right now, we're working on it!
C: *starts guilt tripping me about thy they chose us for stability reasons and now this happens*
M: sir, I can't change this situation so you can go on and on about that but it's not going to help anyone.
C: okay, so what can I tell my client?
M: you can tell that we have a mysql server disruption right now and are working to fix it as soon as possible!
C: and what am I going to tell my client if they don't accept that answer?
M: you can tell that we are fixing this disruption as soon as possible.
C: yes you said that but what if they don't accept that answer, what am I going to tell them THEN?!
M: Listen, sir. We have a disruption right now. It's not fun but whether I tell this by writing it to you in a fairy tail or shout it at you, it's not going to make a difference.
We have a disruption and we are working on i....
*click*
Well, fuck you too.7 -
Just a little bit of venting from me (written in GT for speed):
>be me
>apply for a programming job at a local company
>interviewer says that he's impressed with my resume and says that he'll call me
>one week later
>"hey anon, drop by our office, you're hired!"
>hot diggity damn!
>papers say that it's a help desk job
>"oh don't worry about it, it's just that we don't have a programming sector yet"
>wtf the job offer was for programmers but w/e a job is a job is a job
>start working there. Really mineal shit like fixing entries on SQL, resetting modems, etc.
>decide to write a couple of scripts for more mechanical tasks such as gathering .xml for the accountant
>everything is peaches and gravy
>one day the boss calls me into his office
>"hey anon, you're fired!"
>ask him why
>tells me my coworkers ratted me out on the scripts, says that I'm cheating on the job
>ni🅱️🅱️a wut???
>try to explain myself to him but he won't listen
>get fired after 4 months of being the most productive member of the team
That serves me right for trying to be good at my shitty ass job. Oh well.14 -
BOSS: i will need your resume for this new project, can you make it?
ME: sure, but don't you have one?
BOSS: yes, but i would need it changed for a new details
ME: ok...
after work...
BOSS: we have a problem, remember that resume? we need it on english, and need it right now, can you translate it at home?
ME: ok, but give me a few minutes...
sends translated resume...
BOSS: ummm, it's not translated well, you didn't translate your education...
ME: the name of the school? you can't translate that...
BOSS: this lady asked for it, so do it...
ME: ok...
sends again...
BOSS: not quite there yet, you have Ć in your last name, translate that...
ME: translate my last name?
BOSS: yeah, this lady has a spell check and saw that incorrect...
ME: .....
im going to celebrate when i leave this itterate shithole16 -
My first rant here, don't know how to start, but fuck these self proclaimed senior developers who can't even get their concepts right about basic things and don't believe in reading docs.
Fuck you for asking if sequelize has a method to return details of the logged in user of your app, it's a fucking ORM you dumbfuck. You are a "full stack" developer for fuck's sake.
Fuck you for making those "minor changes" which breaks build and then blame it on any random plugin or lib used, or my commits.
Fuck you for expecting me to review your code on Sundays because you couldn't finish it on time.
I don't like java, at all, but even I get that without it we wouldn't be where we are right now and can't reach where we aspire to reach. But you can't keep chanting "Java is dead, Java is dead" every chance you get. No, it's NOT dead. Nor is going to, anytime soon.
And for god's sake, please stop choosing one library/plugin over another just on the basis of stars on repo, it's not the only (or valid) criteria. Look if you actually even need it. Think.
And please learn how to google first, and also stop using "the" before every the noun, the adjective and the verb. It's the fucking the annoying to read.
And yes, there are different linting presets out there, and just because a piece of code in a plugin/library/boilerplate is not following your specific, and may I say horrible standard, doesn't mean it's a "bad code". It's written by people who have created/worked-on these libraries as side projects on which your entire career is based upon.
And I haven't even talked about the code you write or your domain knowledge or the way you treat other people. So get off your high horse and behave like a developer, a real one.8 -
- just do your job. Close this ticket already and go to the next one
- It's just a 1 minute job.. Don't build scripts for things that simple!
- Look, we don't have time to spare for coffee breaks. Stop wasting your time on scripting!
- netikras, the IST shift fucked things up again. I need you to do your magic and clear those alerts
- netikras, there are 20 tickets waiting to be investigated. Either your coleagues spend 2 hours on them or you do your magic in 2 minutes, as always..
- netikras, please share your scripts with your team
- netikras, I have nominated you for the Star Award for your script
- netikras, here's the star award and the financial prize. Those are nice swarovskies you've picked for your wife! Good choice!
- Since our team has lots of spare time now, I urge you all to attend X, Y and Z trainings. Trainings and Certification expenses are covered
A very similar scenario has just happened in 2 last workplaces of mine. In both cases I was the one to build the script despite my management's requests to stop wasting time and resources on them.
When I see what is wrong and take some actions to right those wrongs, when superiors build roadblocks for me claiming it's not worth it and in the end I still build my solutions and become the most efficient person/team in the whole department -- that right there is what boosts my ego to the sky and above!! It proves I am actually on the right track. It proves that I in fact have a better understanding than those who should have it.
It just makes me tick!
Looking for another adventure like that :) With more power to change things this time7 -
Today I felt sorry for my boss.
Story behind it:
My boss always encourages me to do the right thing. One of those right things is to enforce quality gates in our build pipelines which, as many of you know, means that the build fails if certain quality parameters are not met. Now an external vendor team merged the code this past thursday for a large feature that they had been working on and our build failed majestically throwing out the statistics and the offending files and lines of code.
All hell broke loose and there were escalations and what not and people working extra hours and over the weekend to try and get it right. So, I get a call from my boss earlier today to explain to me how important it is to release the feature and how it's going to be very bad if we don't. He was trying to justify his ask which was to lower the quality criteria and let the build pass for this week. Of course the dev in me was furious but then I realized it's not him but the corporate culture. Why would he or anyone would risk losing their jobs over the quality of code?
If you work at a place where IT is a support function of the company's primary business, I understand the moral compromises you guys have to make sometimes to keep the ball rolling. Thank you for your effort to make the world a better place.
So, thank you boss for all your support. I know it's not always up to you to decide on things but keep up the good work.4 -
So there it fucking goes.
Hi. I'm WillibertXXIV.
I'm not a programmer by trade; I have a more than fulltime job as a cook. As for the last year, I spent pretty much all my free time, overlapping my sleep time, to learn how to code.
All that so I can create a game that I started working on the same day I started my learning process. So far it's shit and it's going to stay that way for a long time. Only I can say this. It's my baby. It's fucking ugly and shit but it's mine.
Yesterday I broke it. I broke my baby. I don't know how it fucking happe. When I went to sleep I had a steady 175fps, nice realtime lightning and player / enemy that flowed like running water. I worked really hard to make that happened. Profiling, writing better code, profiling, etc. It's still not good, it's less shit.
I woke up, beautiful day. Not too warm, not too cold, that sweet spot right in the middle. Girlfriend already made the coffee. Perfect. Woke up, sat down to start my morning time work before going to my realjob and
BAM
Everything is shit, 20fps max. That one thing, gfx.waitforpresent, showing up in the profiler eating everything as the game run. Movements are now of stroboscopic nature. Light is still ok but what good does it do now fucking piece of shit. I'm not qualified enough for this shit.
Fuck,
Fuck this,
Fuck this shit,
Fuck this shit i'm out of here.26 -
Sometimes I wish I was allowed to just strangle my colleagues...
Example from the 'code base':
try:
do_something()
except Exception as e:
log(e)
do_something()
When I asked why they would redo the same call right after it failed I was told that 'It works the second time because it takes time to raise the Exception '.
Bitch, you've got a race condition in your sensitive banking software. You know it's there. Do you really want to trust the time needed to raise your exception will always be enough to synch that dumpster fire you call code?
Show some fucking respect for your craft and fix that shit. But of course they won't, because it will work flawlessly until it suddenly stops working. Taking down who knows what in this damn, undocumenred monolith with it....
Sometimes I'm honestly afraid to trust banks with my money.7 -
Manager: we use <teaming meeting service> for all of our team meetings.
Me: cool I'll go to the site and join the meeting.
Me: [using opera as default browser]
Service: [doesn't work with opera]
Me: [not really surprised, tries firefox]
Service: I need java to run me.
Me: I have java.
Firefox: yeah but I don't.
Me: why?
Firefox: 'cause we're phasing it out.
Me: [looking for some kind of plugin]
Internet: [tldr Firefox can only use 32bit java if it must use java]
Me: [installs 32 bit java]
Firefox: nah.
Me: waht?
Firefox: [covering its eyes] I can't see anything
Me: it's right there.
Firefox: ...
Me: ...
Firefox: ...
Me: ... please?
Firefox: ...nah...
Me: [checks service supported browsers]
Service: on Linux: ONLY FIREFOX
Me: .... fuck...
Me: [downloads Linux-32 distro]
Me: [runs as vm]
Me: [installs Firefox esr]
Me: [installs java-32]
Me: [manually creates plugin for Firefox to recognize java]
Me: [logs onto service and signs in]
Service: Meeting concluded 26 minutes ago.7 -
I wonder why banks are always so terribly insecure, given how much money there's for grabs in there for hackers.
Just a while ago I got a new prepaid credit card from bpost, our local postal service that for some reason also does banking. The reason for that being that - thank you 'Murica! - a lot of websites out there don't accept anything but credit cards and PayPal. Because who in their right mind wouldn't use credit cards, right?! As it turns out, it's pretty much every European I've spoken to so far.
That aside, I got that card, all fine and dandy, it's part of the Mastercard network so at least I can get my purchases from those shitty American sites that don't accept anything else now. Looked into the manual of it because bpost's FAQ isn't very clear about what my login data for their online customer area now actually is. Not that their instruction manual was either.
I noticed in that manual that apparently the PIN code can't be changed (for "security reasons", totally not the alternative that probably they didn't want to implement it), and that requesting a forgotten PIN code can be done with as little as calling them up, and they'll then send the password - not a reset form, the password itself! IN THE FUCKING MAIL.
Because that's apparently how financial institutions manage their passwords. The fact that they know your password means that they're storing it in plain text, probably in a database with all the card numbers and CVC's next to it. Wouldn't that be a treasure trove for cybercriminals, I wonder? But YOU the customer can't change your password, because obviously YOU wouldn't be able to maintain a secure password, yet THEY are obviously the ones with all the security and should be the ones to take out of YOUR hands the responsibility to maintain YOUR OWN password.
Banking logic. I fucking love it.
As for their database.. I reckon that that's probably written in COBOL too. Because why wouldn't you.23 -
I'm not angry, mostly sad.
At my workplace we don't use git.
There are constant overwriting, sending code via email or USB stick and forgetting passwords to zip-files shenanigans going on.
I already use git for all my local projects (literally git init in the directory) but my coworker and I thought that it would be a great idea to have a local server with a Gitlab running on it.
So I started looking into running a self-hosted Gitlab (for about 15 minutes) and then our boss who was sitting right next to me almost shouted at us: "Such stuff should be coordinated with the boss! We don't just do something and burn my money because it's _cool_!"
No, git is not cool, it's necessary for crying out loud! Gitlab is cool but at the end of the day also just another tool too.
I guess I have some persuasion to do.
I don't know what version control has done to our boss that he has such a deep dislike for it.9 -
TL;Dr be specific, it's actually helpful.
Client rings... "The internet is down"
Me "ok where are you exactly and how are you connecting"
"Ugh the WiFi! Just fix it"
"Ok but where are you?"
"At $companyname"
"Ok and which wi..."
"The wifi?!! Can you do anything right?"
Well... I'm allowed flexibility in terms of pleasantry...
"Ok, there are 3 buildings, 55 rooms, 2 SSID's, 17 access points, 3 routers a RADIUS server and 2 gateways... Be specific or I'll do nothing"
Simple reboot of an access point, but c'mon... It's not a secret where you are7 -
I HAVE THE JOB
Well I'm a bit exited sorry about that :D I'm moving to Nice. And right now I'm going to enjoy my day.
BTW it's about C++ and Cry engine. There is the work in progress : https://thearchitect-thegame.paris/...
See you :D14 -
Actual email I just sent to a customer:
"I logged into your account and I see the problem. I will update you and have it fixed either by tonight or tomorrow morning. It is a rare bug we have encountered before, and we are working on it as you read this. "
The truth:
"Im fucking drunk right now. I know that error. I put off fixing it for awhile now hoping it wouldn't come up because it's fucking annoying to fix. I'll try to fix it tomorrow morning, k no promises though. If I can't I'll still have your problem taken cats of it just means I'll have to do it manually. Anyway.. Gonna drink some more now, bye. "
P. S. There is no we. It's just me. K bye.4 -
Conversations I've genuinely had at work:
Me: "Do you want some advice understanding that function?"
Dev: "Yeah, please!"
Me: "Get a plastic bag and some super glue..."
Dev: "I think I'm seeing the light at the end of the tunnel!"
Me: "It's just the train of mental bitchslaps coming in the other direction."
... Some time later
Dev:"You were right... "
Dev: "If the system is so unstable, how does it keep working?"
Me: "Do you see any goats in the office?"
Dev: "Uhm no... Why would there be goats?"
Me: "There aren't, now, we ran out."
Dev: "The hell are you talking about?"
Me: "We just sacrifice our own blood to Cthulhu these days, it's cleaner and we didn't have to pay to have all the goats blood and waste matter to be cleaned up. That and it was needlessly cruel to the poor goats and that is why there is no goats and despite conventional logic the app continues to work."
Dev: "So what language is the web app written in?"
Me: "You need to understand I inherited this project, I had nothing to do with it's spawning..."
Dev: "OK, that sounds ominous... How bad is it?"
Me: "Java..."
Dev: "..."
Dev: "So what's it like working on this project? What should I expect?"
Me: "You'll call your grandmother during your lunch break just to know there's a world beyond this project. You'll go home, nose bleeding and you are gonna sit in the shower and rock back and forth, holding yourself and feeling like you're suffering imposter syndrome. You'll question why you joined this team and it'll get inside your head til it's all you think about..."
Dev: "Damn man, why are you still on it?"
Me: "Stockholm syndrome, it's too late for me..."
PM: "You're such a dark person, we're not gonna find you hanging from the lights one day are we?"
Me: "Impossible, we use those industrial fluorescent strip lights, there's no cord to hang from."
PM: "That really wasn't the comforting answer I was looking for."
Head of department: "So I need to apologize, you were never meant to be left on your to manage the product on your own, it's something someone way more senior should have been doing and we reassigned him. It wasn't professional of us, it wasn't fair of us, we're sorry. Truth be told,we're impressed you've not gone mad."
Me: "I think I have. Wibble."
A card goes round work for a sick member of staff I've never met.
Me: "How would you describe her condition?"
Dev: "She said that she 'survived' the surgery."
Me: "Yeah, I'm not great at being appropriate but even I think writing 'glad to hear that you are not dead' in a get well soon card isn't the done thing."5 -
Public service announcement: Do not get married to your language, tools, or way of doing things. If there's an easier solution to something, try it before dismissing it. No language is perfect, and dumping everything on the responsibility of an API or framework can cause more headache then solve it.
Case in point: I love Java for backend programming, but node.js is a better solution to frontend programming then depending on JSP's and HTML within the same Java project. Less things go wrong and it's easier to debug issues.
There is no best programming language. Only best practices and using the right tool for the right job.
#exceptC++fuckthatlanguage
:^)15 -
Google sucks!
No, not as e-mail or for privacy reasons. Sure, that too, but it comes with "free" stuff.
It sucks because it's breaking every possible record in the worst, shittiest, most insanely stupid APIs and integrations out there on the entire fucking planet!
It is comically stupid!
Aside from their LOVE of hard-deprecating APIs every few months, requiring constant, time consuming maintenance of every tool that integrates deeply with Google services, some of their APIs, for expensive stuff, look like they've been written by Bobby McFartface from 7th grade.
Take a look at DoubleClick Search (their ad performance reporting tool, that sure does sound like one). To upload custom, additional data, you must pass in a ton of parameter, and they REQUIRE some of them to have a specific, hardcoded value. What's the point in passing that parameter then you dickheads?!
But fine, so you uploaded some stuff using the API. Now you want to delete everything and try again after you fixed a bug - well you fucking CAN'T! You can't delete stuff, you can only mark them as "deleted" using an update call.
Bulk operations? Fuck no!
Can I just add on top? Well of course not! That will raise a ton of exceptions. Same message should be transmitted using the PUT, not POST request, in order to edit.
Can I send everything to PUT? Of course not! You can't edit something that's not there, dummy!
Can I see what's there so that I can update it, and add what's missing?
Well of course not! Why on Earth would you need to see what information is in there after you uploaded it? Who needs that anyway?
Simply send, pray, and hope that everything will be fine (it will not).
Like holy fucking crap, it can't get any more stupid!
Google is a huge pile of idiots who feed on only a single cow - the search engine.
It's times like these when I think that Google right now is the worst thing that exists for everyone in tech. It's dragging everyone down with their monopolies everywhere and complete idiocy in managing them.5 -
Me:, I built you this beautiful site it's super modular, it's really straight forward
Client: urm we aren't tech people if you could..... Set up all the pages for us using the modules so we can just input the data
Me: 😡 yes I could do that or you could take 5, minutes to learn this system. It's simple 😡 see that title there "left image right title module" . I've done the sample for the templates. So if you need to you can duplicate it! There's even a duplicate button!
Client: can you do it I don't want to waste time learning it right now since we are on a tight deadline
Me in head: fuck off you supreme bitch you try to get my mates dad fired! Now I've done you this huge favour getting you out of the shit 😡 and you won't take 5 minutes to just look at the admin section your old site was wix ffs.
My next move(not yet done): here is a word document it outlines what you need to do 😐
If after this see asks again I'm asking to work with someone else or quitting the project2 -
Note to self: never ever touch the bugzapper that's busy zapping a mosquito! Always remember that there's well over a 1000 volts on there regardless of its power rating. Anything over 50V can kill you!
.. if only my drunken fool self would realize that. Seriously though.. the kick of a bugzapper's shock, it's amazing! Just like drugs however, don't try it at home. Oh well. At least not me but yet another mosquito has bitten the duster. Serves those parasitic bitches right!!!23 -
This Monday, I have become a father.
It's a boy and he is awesome, in perfect health. We, as a couple could not be happier about that.
His name is Cyrus, named after Cyrus the second , the great.
https://en.wikipedia.org/wiki/...
However, all our happiness is overshadowed by a major blow.
My love of my life, the mother of my child, has been diagnosed with breast cancer , right before the labor.
We are in a rollercoaster right now and are torn between happiness and despair. Hard to deal with.
This is one of those things I am unable to manage with my knowledge and expertise. I can't just "configure cancer away". There is no flag that I can set as "absent" or "false".
Today we're going to hear what the strategy will be to battle this monstrosity. We're bracing ourselves for the worst.21 -
There are things that i wish i didn't see.
Yesterday, i went to a coffee shop to relax and reviewing my works. And suddenly a college friend of mine approach me and we started talking about work.
Me: So, What do you do at work? What's your stack?
Him: Not much of a new. Still working with wordpress, html,css and jquery.
So he started talking about how cool wordpress is and how he generates money doing sites.
Me: Can i see your sample works?
Him: Sure, *opens his shitty windows laptop with Web Tech stickers*. and handover his laptop to me.
Me: Woah. the design is so neat (I'm lying). But it's freaking slow man(REALLY FVCKING SLOW).
* I decided to open the devTools and inspected the source code. And I can't believe what i saw.
- 20+ images with 2~4mb file size
- 13 unminified javascript files with variable declarations that looks like minified.
- CDN's of bootstrap, foundation and semantic UI
- LOTS OF FVCKING PLUGINS
* I didn't told him what i saw. I just turn over the laptop to him and finish my coffee.
Him: My sites are cool right? I have a lot of pending projects right now. Easy money Bruh!
Me: Wow. *sips* coffee. and say goodbye to him and walkout.
I FEEL BAD FOR HIS CLIENTS!4 -
It's time for another teacher story. So grab a cup of tea and listen.
We were casually talking about Arduino programming because he told me he teaches this in another class.
Teacher: it's so sad that i can't use my java code on the Arduino. I mean the Arduino uses java so there shouldn't be a problem.
Me: *internal* HOLD THE FUCK ON
Me: you know that the Arduino uses c and not java, do you?
Teacher: but the Arduino can do java commands! How do you explain this!?
Me: because java uses the c-syntax and it's more of a coincidence that they're named the same way?
Teacher: huh. Ok. But C# doesn't use it, am i right?
How can someone this dumb be a programming teacher 🤦6 -
I made a website for a guy, been keeping a casual eye on it and it's fine, if boring.
Then he calls in a panic to tell me it's been hacked, there is porn everywhere and funny underlined words and I must fix it right now!
So I drop what I'm doing and access the site and it's fine. I use a few different devices and even a couple of different networks and can't see a thing wrong with it.
Then I spent half an hour on the phone trying to convince him that his own shady surfing habits are causing this on his computer only.
I get the feeling he didn't believe me because he hasn't paid the latest invoice..11 -
I'm editing the sidebar on one of our websites, and shuffling some entries. It involves moving some entries in/out of a dropdown and contextual sidebars, in/out of submenus, etc. It sounds a little tedious but overall pretty trivial, right?
This is day three.
I learned React+Redux from scratch (and rebuilt the latter for fun) in twice that long.
In my defense, I've been working on other tasks (see: Alerts), but mostly because I'd rather gouge my freaking eyes out than continue on this one.
Everything that could be wrong about this is. Everything that could be over-engineered is. Everything that could be written worse... can't, actually; it's awful.
Major grievances:
1) The sidebars (yes, there are several) are spread across a ridiculous number of folders. I stopped counting at 20.
2) Instead of icon fonts, this uses multiple images for entry states.
3) The image filenames don't match the menu entry names. at all. ("sb_gifts.png" -> orders); active filenames are e.g. "sb_giftsactive.png"
4) The actions don't match the menu entry names.
5) Menu state is handled within the root application controller, and doesn't use bools, but strings. (and these state flags never seem to get reset anywhere...)
6) These strings are used to construct the image filenames within the sidebar views/partials.
7) Sometimes access restrictions (employee, manager, etc.) are around the individual menu entries, sometimes they're around a partial include, meaning it's extremely difficult to determine which menu entries/sections/subsections are permission-locked without digging through everything.
8) Within different conditionals there are duplicate blocks markup, with duplicate includes, that end up render different partials/markup due to different state.
9) There are parent tags outside of includes, such as `<ul>#{render 'horrific-eye-stabbing'}</ul>`
10) The markup differs per location: sometimes it's a huge blob of non-semantic filthiness, sometimes it's a simple div+span. Example filth: section->p->a->(img,span) ... per menu entry.
11) In some places, the markup is broken, e.g. `<li><u>...</li></u>`
12) In other places, markup is used for layout adjustments, such as an single nested within several divs adorned with lots of styles/classes.
13) Per-device layouts are handled, not within separate views, but by conditionally enabling/disabling swaths of markup, e.g. (if is_cordova_session?).
14) `is_cordova_session` in particular is stored within a cookie that does not expire, and within your user session. disabling it is annoying and very non-obvious. It can get set whether or not you're using cordova.
15) There are virtually no stylesheets; almost everything is inline (but of course not actually everything), which makes for fun layout debugging.
16) Some of the markup (with inline styling, no less) is generated within a goddamn controller.
17) The markup does use css classes, but it's predominately not for actual styling: they're used to pick out elements within unit tests. An example class name: "hide-for-medium-down"; and no, I can't figure out what it means, even when looking at the tests that use it. There are no styles attached to that particular class.
18) The tests have not been updated for three years, and that last update was an rspec version bump.
19) Mixed tabs and spaces, with mixed indentation level (given spaces, it's sometimes 2, 4, 4, 5, or 6, and sometimes one of those levels consistently, plus an extra space thereafter.)
20) Intentional assignment within conditionals (`if var=possibly_nil_return_value()`)
21) hardcoded (and occasionally incorrect) values/urls.
... and last but not least:
22) Adding a new "menu sections unit" (I still haven't determined what the crap that means) requires changing two constants and writing a goddamn database migration.
I'm not even including minor annoyances like non-enclosed ternaries, poor naming conventions, commented out code, highly inefficient code, a 512-character regex (at least it's even, right?), etc.
just.
what the _fuck_
Who knew a sidebar could be so utterly convoluted?6 -
I saw quite a bit ranting about SO now. So let's get things straight:
If you get _no_ answer, at least one of these is the case most of the time
a) a repost
b) too unspecified
c) needs rewriting to proper english
d) you dumped your whole project
I'm reviewing questions regularly on SO and never saw a good question ignored. There may be no answer but at least people trying to help in the comments. Also think about WHO answers your questions. All devs who help in their free time. Did you ever answered one question or even brothered to look now and then if there is someone you could help? There is no RIGHT to get help it's a PRIVILEGE.
So stop bullshitting and try to get shit done.8 -
Well, some time in the future, i will have to sit a computer science exam with C#. It can't be that bad, right?
Wrong.
To start off, Visual Studio 2013. Why the fuck someone would use this pile of garbage in 2018. I have no fucking clue why any semi-competent IT department would decide to skip TWO fucking releases of the software and decide, that it's okay to just roll with it. It's okay to not have any updates. It's okay to just no care at all.
I literally brought in my laptop with a VM installed since Visual Studio 2017 is really superior to the crap from 5 years ago just to do my coursework most lessons.
-------
Second issue, you know thoes desks where the monitor is literally under the desk and you get a small little window to see the monitor? Yeah, well I will have to take my proper exam in one of these all over the fucking room. Pic related.
Today we had a mini mock - - it went something like this:
- There was glare from the glsss on the desk because of the lights in the room and literally the monitor itself.
- The glass was beyond fucking pig filthy.
- There was neck pain from my back because i was constantly looking down and bending over the see the screen.
- There was eye strain because the document given to us was a tiny piece of paper with tiny writing and the monitor was far away and the paper was close i couldn't focus my eyes.
- Literally every desk was as bad as the next.
- I did fuck all work because i just couldn't focus because of the things above.
You can tell how great that felt.
If i was in a room with a man (or if it was a woman, let's just pretend she has balls), who was the creator of the room i just described, Hitler, my College's IT staff and other really bad people while having infinite ammo, i would continuously shoot the creator in the balls while not giving a shit about anything else.
Forever.
Until heat death.
Thanks for reading.23 -
Tech support to family member:
Mom: "App just goes black after 30 seconds"
Me: "remove it and install again"
Mom: "how?"
Me: "tap the icon and hold till icon wiggles"
Mom: "doesn't do anything"
Me: "did you tap and hold?"
Mom: "hold what?"
Me:"Tap and and don't pull your finger up"
Mom: "Nothing... oh wait, yes it jiggles"
Me: "lift finger, tap the x that appeared on the icon, follow instructions"
Mom: "ok did that so what do I do now?"
Me: Grrrrrrrrr
Mom: "ok it's deleted"
Me: "Go to app store, and search for the app. after you tap the appstore icon, in a moment or so you should see a magnifying glass icon with the word search, tap that"
Mom: "nope no magnifying glass"
Me: ggrrrrrrr "yes their is one"
Mom: "nope"
Me: "yep"
Mom: "nope, it isn't their, I'M NOT STUPID YOU KNOW JUST BECAUSE I'M OLD!!! WHY DO YOU ALWAYS THINK I'M SO STUPID? THERE IS NO MAGNIFYING GLASS!!!"
Me: Deep, deep deep breath to the point of bursting my lungs (which is the preferable outcome)
Me: "top right corner or bottom right corner"
Mom: silence.... a few crickets in the background then some giggles followed with "Oh yea, their it is "....
20 minute call. no hi, how are you, how's your day. Just hello, I have a problem, it's fixed, bye.
Sometimes, and I don't want to sound mean BUT I wish we could pick our family.....10 -
On every new job, there is always the Impostor Syndrome.
They know each other, they're all having fun and they're friends. They're super nice to me and include you in everything, but still a lot of the time they're talking about shit that I have no idea about.
And professionally it's not better. I'm new, I don't know how things work, yet everybody knows it like the back of their hands.
There is this irrational fear, this feeling, that I don't belong, that I'm an impostor, and someone might see through my mask for who I really am - a guy with no idea about what's going on, that doesn't belong, that's an IMPOSTOR.
It takes time to overcome, especially when in a foreign country. Once it's passed, I become more attached to my colleagues and my job if the hurdle was harder, than whether I felt right at home from the very start.6 -
No comments allowed in JSON pisses me off so much.
Sure, I get all the arguments of "it's supposed to be a data-only format for machines", "there are alternatives which support comments", and "you can add comments and then minify the file before parsing"
But right now, when I just need to put a quick note inside a super confusing legacy package manager config about why certain dependencies to be frozen at a specific version, IT FUCKING PISSES ME OFF THAT I CAN'T JUST ADD A FUCKING COMMENT.18 -
So one year ago I was working at this company from the US, me being in Europe, which automatically implies there is several hours of timezone difference.
The eng. manager decided we would have a release tomorrow (decision was made one month earlier), and stuff was being prepped up to make that happen.
In the US the workday was about lunch time and in EU it was one hour before finishing. The manager gets us in a meeting and asks me and another dude to do some testing that would take several hours to do. This testing could have been done several days or weeks earlier.
40 minutes after that meeting I get a private message from the PM asking for the status of the test...
Me: aaa.. well I started it and will continue tomorrow
Manager: wait what? we have launch tomorrow, this testing has to be done by tomorrow
Me: it's the end of the workday here, I got personal errands that I have to attend to
Manager: uhm ok ... I see...
I was just messaging something in the public chat right before calling it a day and the manager writes "thanks for the input, your day is over now", completely out of context to the conversation I was having with whomever.
There was no question of "can you stay extra hours and do this?", there was no "hey, I know your day is over we will pay you premium hours with this amount as according to our contract, could you do this now as we have release tomorrow?" ..no ..just .. "do it!". I automatically assumed that ..hey, maybe he wants to do this during and after the live launch (and yes I do admit my mistake of not asking just to be clear, but I assumed the manager knows that there is a timezone difference ..like it's a no brainer).
I can not tell you the heat sensation I had after that last reply from the manager ... it was completely uncalled for, and unreasonable.
I mean why not make a pre-launch phase where you put stuff on the staging server, and perform all the necessary tests and then when you get all the green lights from testing you then proceed with the actual deploy? ...no ... mention this like right at the end of the day before the launch....
And another thing that scratched my neuronal cortex is, how does he know exactly how long the tests would take?12 -
We have a group slack chat for my class which was intended to be a space for asking questions about assignments and getting help from your peers. Instead it has become a dick measuring contest in there where guys who know very little can act all high and mighty about their (plain wrong, in some instances) facts they're distributing without care. It pisses me off so much seeing how toxic it has become in there. It's the same 5 guys using it to bully each other and God forbid anyone else asks a question, they'll be mocked for not being confident handing in a solution they aren't sure is right. Why can't people treat each other with respect? We're in school to LEARN. Not impress other students with how much (read: little) we know. GJ, guys. You created a smaller version of stack overflow.4
-
tl;dr read the whole thing you lazy goat-molesting arse.
People. It's unpopular opinion time!
Windows is brilliant.
There. I said it.
Why? Because it has the balance of user-friendliness and customisability that is great for most workloads. Its enormous user- and developer- base allow almost anything you want to be done on it.
For instance, a few years ago I hooked up a MIDI synth pad to my PC and found an obscure program to use MIDI events as macros. I did not have to write any code, compile anything or any crap like that. (If you're a developer then you'll have no problem with that kind of thing, but not everyone's an über-technical nerd like you. Deal with it.)
I don't like Windows. But it's still brilliant for most people. All you Linux fan- boys/girls/helicopters are right to advocate it, but it will never expand its market share to more than the percentage of people who are developers, (unless it turns into a corporate enterprise (which it probably won't)). It has its flaws, but most of them will never affect the average end user. OK? Thanks.9 -
DISCLAIMER: UNPOPULAR OPINION
I'm tired of the Linux community, they effectively discourage me of taking part in any discussion online
I'm currently making Windows-only soft, some game stuff, some legacy DirectX stuff you got it.
Everytime I go online, this shitty pattern happens, when I stumble upon a problem in project I don't know how to fix and I ask for help
These are responses
- HA, HA, WINDOWS BAD, HA, HA, GET REAL SYSTEM
- In Linux, we can do X too. I mean it has 4x less functionality and way shittier UX and is even harder to implement but it can probably work on too Linux, so it's better, yes, just move to Linux
- btw you didn't like Linux before? Try this distro man, it's better <links random distro>
Is there anything valuable in the Linux community? I feel like these people don't like Linux anyway, they just hate Windows. Every opinion, tip is always opinion based. Anyone who works on internals knows how much better and how well thought is Windows kernel compared to Linux kernel. Also, if someone unironically uses Linux distro on desktop PC then he's a masochist because desktop Linux is dieing. So many distros ceased work only this year.
Is it a good tool for servers and docker containers? I don't have my head stuck up my ass to admit that yes, it's much better than Windows here.
This community got me stressed right now, I fear that when I go to bathroom or open my microwave there's gonna be a Linux distro recommendation there
😠😡😠😴48 -
My laptop started making faint high-pitched noises - I hope I misheard and it's actually just some coil singing inside the power-supply and not one of the disks/something else - also, I seem to have dropped 4GB of RAM suddenly where there should be 8GB.
(Also, I should really wipe the messed up dual-boot still residing on disk from last semester and replace it by a fresh arch-only install. (No time and joy in debugging that right now.) Probably something for tomorrow evening.)
The device is ~8 years old by now and starting to fall apart - nothing duct tape can't fix - but I'm somewhat worried about the rest right now. D:
Meh, I really need that laptop during the next two weeks, I just hope the hardware doesn't die on me in the meantime because I can't wait for an order to arrive, let alone afford some cheap replacement.11 -
Recruiter: "Take this culture survey. It's not a test. There are no right or wrong answers."
Me, internal voice: Then why give me a list of words to choose from that I think describe me best and another list of words to choose from that describe how I ought to behave at work? Clearly, there's a matchup you're trying to do here. So clearly there's going to be a wrong answer if I don't choose enough of the former to match the latter.4 -
!rant
Yesterday I got a pretty straight-forward task of fixing SASS linting errors from our project. I thought, "How many errors could there be?" Turns out there were just around 2000 errors across 109 files!
I was almost like, "Man, this is going to take a lot of my time!"
So, I started fixing the errors one-by-one with my headphones on and switching music genres after every 2 hours.
After almost 6 hours of continuous bug-fixing, my mind kind of became repellant to the possibility of the outer world and my fingers automatically fell on the right keys in almost no time. My brain was functioning like a computer itself.
And after the end of 7 hours, I reduced the number to less than 1000 errors.
Today, I continued the task and found out that there were some scoping errors I made yesterday (web developers would know this pain of '&').
And after working for almost 6 hours today, I got the number down to 500.
Not a rant, but I felt extremely content with what I did today.
I guess every day is not just about programming, sometimes, it's also about making your code better.
Thanks for reading! :)6 -
Me: Right, its Monday, time for a fresh start. Things have been unbearable, but i've nowhere else to go just yet. I gotta just dig deep, ignore everything bad and just get it done, It's all about positivity right? Lets just ignore the little things and keep moving.
*My morning so far, 2 hours in*
Remote dev: (timezone 5 hours earlier than me) Hey so whats the plan for this quarter?
Me: ... I posted a big detailed plan in the group chat on Friday night so you wouldn't be delayed ... but anyway, lets just move on. I need you to work on A, B and C. A is just copying what Android has already done, for B one of the backend guys working next to you is doing this, he'll be able to help you. C is all documented in the ticket.
Remote dev: cool thanks.
Local dev: So I was just chatting with remote dev ... yeah he told me he has no idea what he's suppose to do.
Me: ..... Ok i'll book a video call with him in the morning. Can't do it right now.
==========
Remote dev: Hey i'm helping the BE team do some testing. I found a bug in Android. Homepage says theres no trips. But Offers screen says there is.
Me: Ok so just to confirm, The "available" offers screen has offers to accept, but the white notification on the homepage saying "You have X offers to accept" is not showing up?
Remote dev: Correct!
*debugging for 5 mins*
Remote dev: actually no, the "accepted" offers tab has offers, but the homepage says there are no upcoming offers to work on.
Me: ..... ok, thats very different ... but sure, let me have a look.
Me: Right so the BE are ... again ... sending down expired offers. Looks like the accepted tab isn't catching it and the homepage is.
Remote dev: Right i'll open a ticket for Android.
Me: ... and BE team.
Remote dev: why?
Me: ... because they once again have timezone issues. This keeps causing issues in random places. BE need to fix this everywhere.
Remote dev: right, i'll chat to them and see if they can fix it.
==========
Product: So this ticket xxxxx is clear right?
Me: eh, kind of, so you want us to add feature X to user type A?
Product: correct.
Me: right but I don't see anywhere talking about the time it will take to build the screen for feature X
Product: What do you mean the screen?
Me: ... well, feature X is only accessible on screen Y ... we would have to change screen Y to support user type A ... you know ... so they can ... use the feature
Product: .... hhhhmmm .... i suppose you are right. Well we can't just add screen Y, we'll have to add W and Z, it won't make sense without them.
Me: ... ok sure, but our estimates put us over for this quarter. I don't think we can just add in 3 screens.
Product: No this is a must have.
Me: Ok so we'll have to drop something else.
Product: hhhmmm, don't think we can ... let me get back to you.
==========
Backend team invited me to a meeting at 6am my time on Friday.
==========
... 2 hours into Monday ... there must be vodka around here somewhere -
I'm such an idiot.
Spilled water on my MacBook today. Not that much water, but the cup landed right in the middle of my keyboard.
Worst part is I was gaming with my sister and didn't want to stop. So I wiped it off and shook it out a bit and kept playing. A bit later the screen started flickering and eventually went black.
Finally my brain turned on and I switched it off, shook out some more water, and set it up to dry. Just hoping it's not too late.
At least the drying setup recommended by the internet is pretty hilarious looking.
Now we play the waiting game. They say 72 hours before turning it on again. Seems a bit extreme. Will there still be moisture evaporating 3 days later? Not sure I can wait that long to see if it's toast.
Such an idiot.14 -
We are devs right?
We have cpus and gpus lying around right?
We are still alive... right? 🤔
How about we do our part and utilise our PCs for helping with COVID-19 research.
I've stumbled across this little tool that not only keeps me warm at night but helps researchers with several diseases.
https://foldingathome.org/iamoneina...
It's like a a bitcoin miner but for research purposes, no it's not a dodgy bitcoin miner.
Oh and feel free to keep yourself anonymous as there are stats that will identify your username - when they work.
There are installers for windows, Mac, and linux distros so everyone can get involved.29 -
!dev
Just went to the pet asylum to look for a cat. There was a shy black one (eh, maybe not a good first but Moar Blacker, Moar Better 😋) and a black and white one which was very open towards me.
Probably I'll get the latter, and build some food, water and litter dispenser systems for it with motors and my esp8266 boards 🙂
The lady who was volunteering there and showed me around had an interesting story though.
Apparently both of those aforementioned cats were wild cats (so they don't come from a proper household or anything). Except that black and white one which apparently came from some rather retarded people.. think average Facebook user.
According to her those previous owners came there with 2 cats including the black and white one as "extremely wild, we found them in the forest, put them in cages (because everyone carries cat cages in their car every day, right?) and brought them here". Nice excuse for average Facebook user level of retard I have to say 😜 but it's not very waterproof, you know?
But on average the people that they get there are even worse than that.. some get a great initial meeting with a cat, but then leave them there because they don't like the stripes on a paw or something stupid like that. As she put it: "you're not fitting pants in a clothing shop, are you?! 😑"
Had to try hard to not burst out in laughter from that description 😂
Point is, the average customers there are awful.. apparently she was very grateful to have a rather down-to-earth customer like me and my home supervisor (who helpfully drove me there 🙂) for once. So terrible clients.. they're everywhere!
It really taught me to be mindful of the hardships of people in any profession who deal with clients.18 -
God, I love when people name stuff right. Now I'm reading through an open source project, trying to find out how they solved a critical issue I'm facing now. It's not a small one but navigating through it is a breeze. Look through variable/function names and I don't even really need to read the code. Meanwhile, last assignment, there was "yangDataHandler" and "yangDataManager" that, obviously, had nothing to do with each other in either interoperability or functionality - and then half of the variables would get aliased to abbreviations. Uh, yes, sure it's obvious what
𝚋𝚣𝚋𝚠𝚒 variable means. Just let me run it through 𝚒𝚍𝚣𝚍() function.10 -
Skipped my lectures at university just to get my new Dell laptop at home.
Here is my experience of dell account portal:
There is a 50-50 chance that your order will appear in the list of orders. It has it's own mind, sometimes it will appear, sometimes it will say it has found no orders.
Now if somehow you do see the order in the list, there is a 50-50 chance that clicking on the order number will actually show you the correct order. Most of the time it will take you to a completely different order, where you can see the name, address and other personal details of a person that you don't know. THANKS DELL!
Now if somehow clicking on the order number takes you to the right order details page, there is a 50-50 chance that there will be no courier information, it will be blank without any information. Sometimes it will show the tracking number, but no courier details.
Right, now let's say that I don't give a fuck about any of these. I stayed home, skipping my lecture, just so that I can get my laptop. They promised me that they will deliver it today and I trust them 🙂
BUT YOU MOTHERFUCKER, not only that they will not deliver it today, they haven't even bothered to give me a call and say that they won't be delivering it today. YOU PIECE OF HORSESHIT, I skipped my fucking lectures for you. Now I have to skip my lectures for another day, just to get my GODDAMN laptop.
FUCK YOU DELL, DIE IN HELL!9 -
I have just started out on Linux (Ubuntu because I don't know anything (please don't judge me (you're not judging me right?))) and I don't know anything aside from Linux relies on Terminal a lot. The tools are already installed (VSCode, git, etc.) and everything dark-themed. Is there anything I should have in your opinion, and where should I start?
!rant
I've just lost my grandfather last Friday from liver and gallbladder failure. Him being a composer and a musician impacted me a lot as a pianist try-hard. I regret I prioritized my studying for college over him and only visited him twice. But he saw my performance from my parents (they recorded it) and he complimented it, so it's more than enough for me. Rest in peace gramp, and thank you.5 -
A friend asked if I could take a look at the function, which he wrote, to see if two trees are equal.
The chat conversation:
F: I sent code.
Me: *put eye on "flag and && true"
F: Hey?
F: You are there?
F: All right?!
A few hours later...
Me: Each time this function is executed, a programmer dies. Goodbye.
And so it's over.10 -
Renaming your master branch to "main" is racist. When Git was created, there were no connotations related to slavery. Also, the word "master" has many meanings, and in the context of computer technology, "master" has nothing to do with slavery.
When I tell that to people, some of them say "but wait, you're white, so you by definition can't understand feelings of black people".
Feelings come from one's mind. Proposing the situation where I can't understand something because "only black people understand it" implies white and black people being different in their cognitive abilities, and that's fucking racism right there.
Ability to understand cultural and historical phenomena does not depend on race. Anyone who says that without a biological proof is a racist.
I find it ironic how it's microsoft who almost enforced this on GitHub while themselves supporting literal concentration camps: https://github.com/drop-ice54 -
BEEP-BEEP
Every now and then, periodically
BEEP-BEEP
and then quiet. Get into working mode, concentrate again, a...
BEEP-BEEP
wtf is that.. Took down my smoke alarm, prolly the battery is getting low. Put it next to me, waiting...
BEEP-BEEP
nope, it's gotta be smth else. How can I hunt it down when I can't even tell which direction it's coming from?!? I know. Play smart. Measure the period.
BEEP-BEEP
it's been 3 minutes 5 seconds since the last BEEP-fucking-BEEP. Now I can plan my time ahead. Go to one room, wait fo..
BEEP-BEEP
Nope, it's not there. Carry on with all the other rooms, waiting for that annoying beeping.
BEEP-BEEP
I think I at least know the room. Good, narowed it down.
BEEP-BEEP
this is getting really annoying. I've been playing with this nonsense for an hour already. Alright, it's in my kid's room. The PC is off, toys are off. What could it be....? Binary search the f
BEEP-BEEP
uck out of it! aight, I first try to identify from which part of the room it's coming from. Stand in the middle and tu
BEEP-BEEP
ahh, right, it's behind me then. Fine. That's the PC corner. But it's off, it can't be making sounds. Esp when it has no speakers plugged in - it's got only Bluetooth speakers which haven't been turned on for what, a year already? but then w
BEEP-BEEP
hat could it be... Sounds like it's indeed coming from the PC corner. Checking all the LEDs -- all are off, nothing's turned on. Move the speakers away, try digging around to see if the kiddo didn't leave his toys behind the
BEEP-BEEP
PC. Wait, the sound has moved behind me... And I've only moved my BT speakers. Which are turned off. That's odd... could it be? Put one to one ear and another one to another and wait for the remaining 15 seconds
BEEP-(you are a fucking idiot)-BEEP
whispers in my left ear.
Turns out, some BT speakers can make low-battery sounds even when they are turned off.10 -
Description of a Bug in JIRA:
Hi guys, there is "another" bug :-))))))!!!! :-((( with the customer list:
- The list of Customers (**which one? we have 4 fucking lists **) is sorted by Name, not by Birthday date (**wait, it's a sortable table, with a sortable name, city ,zip column, it's not sorted by birthday because the birthday column was not even required **)
- If I click on the details I see some data missing (**which data? which customer? there are thousands of them and most work**)
- In addition the arrow on the right is too small, can you make it a little bigger (**excuse me**)?
- I also need to export everything in excel.
Categorised as: Bug
Moron. You are part of a League of Morons...2 -
i'm feeling so sick right now.
PM invited team for today to present his "vision": "<name of our component>: what it is and what it is not".
but it didn't make sense and showed that he hadn't understood the problem at all. the whole architecture made no sense given the problems that shall be solved. his architecture diagrams missed some essential parts that were actually the giant weak points of his concept. his pseudocode, that should exemplify interactions between components, didn't address the complexity of required interactions at all. it's like he expects some magic to happen and has no fucking clue about the requirements (but acts like it), even though he is the manager of this software project.
and when devs ask really interesting questions that fundamentally question his concept, discussions lead to nowhere and questions are not answered. at some point he literally said "there is no such thing as <name of our component>, i still have to find this out"
really!? after one and a half year, since you sold the idea for this component to upper management, and after half a year of development, you still can't tell what it is what we actually want to build? are you fucking serious?!
at some point in discussion he said that these questions need to be answered but that "there's no time left", and he ended the meeting. although there was still half an hour of meeting time left.
i'm so fucking sick of this, i hate everything right now. i can't listen to this bullshit any longer. in discussions, he contradicts himself all the time, it is so fucking surreal i'm starting to feel like i'm insane.
it makes me really sad and tired. i don't want to care about this shit any longer.14 -
I had just started as an SDE intern, and was fiddling around with the code base.
Me: Hey, can you send me the link to our version control system?
Mentor: Umm, what!?
Me: You know, where we keep our code backup...
Mentor: Hmm, is there a need for that?
Me: Yeah, I mean, my past experience tells me to always backup code, just in case something goes wrong.
Mentor: Ohh, that's easy. I'll teach you how I do it.
So, he comes to my workplace, and does this:
1. Go to your workspace folder.
2. Right click it.
3. Zip it.
4. Open outlook.
5. Compose email.
6. Attach the zip file.
7. Mail to yourself.
8. That's how it's done!
I was like what the hell!?!?! Is this really happening?? And then he started basking in his glory, as if he had taught me some secret hack! Seeing this, I couldn't even get myself to introduce him to git. That was the worst part.8 -
I wonder if the meeting at Rubber ducks quack association goes like this...
Why the hell doesn't my guy see the problem? It's fucking right there! Why don't you see it??? OMG! I request for a change of owner.1 -
This is the last straw. I am so done with Chrome.
…
I woke up AGAIN this morning to my MacBook shining away brightly, having not gone to sleep the ENTIRE night. I did some better research this time and discovered it's actually Chrome that is causing this.
Yes Chrome is deciding whether my MacBook goes to sleep or not.
I am not ok with this. Worse, it doesn't even have any ability to change this behavior. It's basically a hidden "feature" of Chrome: it wastes your hydro too!
This is not the first time this has happened either. Last time my MacBook wasn't properly plugged in and it completely drained the battery, shutting it right off. I ranted about that already.
But I am just SO fucking livid about this right now. What on EARTH is going through google's mind that they think this is in any way even REMOTELY acceptable?
I've already filed a bug report but I think this is the last straw. I am just sick to death of Chrome. This bug is literally costing me money and damaging my property.
Shove it right up your fucking ass, Google. Right up there and twist it around.
I'm switching back to a real browser.32 -
hi there,
i always wanted to have "developer t-shirts" but never liked those cheesy shirts with slogans or jokes everyone of us heard a thousand times. i always wanted something more classy - which shows i'm a programmer but also looks stylish.
so i started to make some designs and have uploaded them to teespring. it's called "foobar apparel" and everything is about foobar.
since this is my first t-shirt campaign i would love your feedback - what do you think about them?
of course i'm happy if you like them and want to buy some - mine are already shipping :)
here's the links: https://teespring.com/stores/...
if this is not the right place to post this here, just delete it - sorry.7 -
!rant, advice, !mine
Q: I'm [xx] years old [xyz] professional. Would that be a good idea if I try to change my career to software development right now?
A: Age is mostly doesn't matter. You can learn programming at any age. And, software is everywhere. Every background knowledge will be useful. Your prior knowledge will not be wasted.
But, should you change career?
- YES, if you deeply interested in programming.
- NO, if it's only because you feel there are better opportunities.
It's true that there may be better opportunities. But, without deep interest in the subject, you may struggle to become good software developer. Without being a good developer, your opportunities will be limited and you are likely to regret the decision.
Software development is easier for those who passionate but very difficult for those who doesn't....4 -
What am I doing right now? Scamming scammers.
I'm attempting to build a delicious Windows honey pot for scammers to play in only to be terribly disappointed by how buggy it is.
That's right mother fucker I've rigged this computer to not work on purpose!
Have fun trying to run your shitty programs and steal data that isn't there.
Oh by the way if you want to play in this playground it's www.scammer.info3 -
Is it just me who sees this? JS development in a somewhat more complex setting (like vue-storefront) is just a horrible mess.
I have 10+ experience in java, c# and python, and I've never needed more than a a few hours to get into a new codebase, understanding the overall system, being able to guess where to fix a given problem.
But with JS (and also TS for that matter) I'm at my limits. Most of the files look like they don't do anything. There seems to be no structure, both from a file system point of view, nor from a code point of view.
It start with little things like 300 char long lines including various lambdas, closures and ifs with useless variables names, over overly generic and minified method/function names to inconsistent naming of files, classes and basically everything else.
I used to just set a breakpoint somewhere in my code (or in a compiled dependency) wait this it is being hit and go back and forth to learn how the system state changes.
This seems to be highly limited in JS. I didn't find the one way to just being able to debug, everything that is. There are weird things like transpilers, compiler, minifiers, bablers and what not else. There is an error? Go f... yourself ...
And what do I find as the number one tipp all across the internet? Console.log?? are you kidding me, sure just tell me, your kidding me right?
If I would have to describe the JS world in one word, I would use "inconsistency". It's all just a pain in the ass.
I remember when I switcher from VisualStudio/C# to Eclipse/Java I felt like traveling back in time for about 10 years. Everyting seemd so ... old-schoolish, buggy, weird.
When I now switch from java to JS it makes me feel the same way. It's all so highly unproductive, inconsistent, undeterministic, cobbled together.
For one inconveinience the JS communinity seems to like to build huge shitloads of stuff around it, instead of fixing the obvious. And noone seems to see that.
It's like they are all blinded somehow. Currently I'm also trying to implement a small react app based on react-admin. The simplest things to develop and debug are a nightmare. There is so much boilerplate that to write that most people in the internet just keep copying stuff, without even trying to understand what it actually does.
I've always been a guy that tries to understand what the fuck this code actuall does. And for most of the parts I just thing, that the stuff there is useless or could be done in a way more readable way. But instead, all the devs out there just seem to chose the "copy and fix somehow-ish" way.
I'm all in for component-izing stuff. I like encapsulation, I'm a OOP guy by heart. But what react and similar frameworks do is just insane. It's just not right (for some part).
Especially when you have to remember so much stuff that is just mechanics/boilerplate without having any actual "business logical function".
People always say java is so verbose. I don't think it is, there is so few syntax that it almost reads like a prose story. When I look at JS and TS instead, I'm overwhelmed by all the syntax, almost wondering every second line, what the actual fuck this could mean. The boilerplate/logic ration seems way to off ..
So it really makes me wonder, if all you JS devs out there are just so used to that stuff, that you cannot imagine how it could be done better? I still remember my C# days, but I admin that I just got used to java. So I can somehow understand that all. But JS is just another few levels less deeper.
But maybe I'm just lazy and too old ...4 -
Found that out that one of our company's internal API (I hope it's only internal) is exposing some personal data. After finally getting the right people involved they said they'd fix it 'immediately'.
5 days later I check and now there is more personal data exposed...which includes personal security questions and the hashed answers to said questions.
And of course they are using a secure hashing mechanism...right? Wrong. md5, no salt
Sigh...5 -
TFW you spend 30 minutes debugging an app that isn't working right only to find out it's working exactly as it's supposed you, you just forgot you put that bit in there that does that thing.
One character change later and it's working perfectly. ONE CHARACTER! THIRTY BASTARD MINUTES! I just spent thirty minutes driving through every line of code and coming closer to the conclusion that Java was doing some kind of strange thing with dropping objects from memory. No, it wasn't Java that had memory problems, it's me! Just check me into the old peoples home now so I can spend my day pissing my pants and making lewd comments at the nurses because that's all I'm fucking useful for at this point!!
I need a coffee.5 -
Saturday. It's already an evening. Kid is asleep. Wife is doing her thing in another room. I'm on my own, I now have time do do whatever I want! So a personal project time it is!
Open up a lappy, wake up my Mint. Switch to a workspace with IntelliJ ide. There's some message popped up on a screen. With a red cross. Read the message -- your licence has expired.
Shit.
Open up chrome, go to jetbrains website, log in, purchase an all-in licence page, filling in the form, last check before confirm... Wait, that ain't right. That's my college email I no longer have access to! Phew, it's a good thing I checked before submitting!
Go to account settings, update my email address, go back to licence purchase form, fill it all in, last check, and...
Wait..
Email hasn't changed. What if they send something valuable to my mailbox upon lic purchase? I can't risk, it's 200€ after all...
Oh come on! Open a support ticket. But it's Saturday so I don't think I'll get a response until Monday :(
and there goes ruined a perfect evening for some coding :(
shit...5 -
I have not remotely had the energy to post here. Nor reply. And it is a shame because most of you I consider friends. And if not friends, at least excellent aquitances.
People make comments, I dont reply. People make threads, and I dont respond. People make ++s, and I'm a ghost.
I enjoyed shitposting, and asking questions, and hopefully entertaining some of you. I really do.
I'm just in a funk where nothing seems to matter right now and I dont know why, pr how to get out of it.
I have threads, and responses from scor, nanos, nachoscode, and a dozen others I usually enjoy interacting with and it's like all the life has just been sucked right out of me.
I feel isolated and alienated from everything and everyone and I dont know why or when it started. Its just..there. nor how to talk about it.
I think I'm becoming a misanthrope or something. The more I go on with this sensation, the less I want to be around people, and I dont understand why.15 -
Rails console:
> `ModelOne.joins("ModelTwo")`
# => ActiveRecord::StatementInvalid (Mysql2::Error: Unknown table 'database_name.model_ones')
MariaDB:
> `select count(*) from database_name.model_ones`
# => 13274641
It's right there, ffs4 -
I just went to another local more expensive cafe (or bar or night club for those who are more pedantic than drunk - or sober for that matter - me). Mainly with the idea of getting a girl that I've caught my eye on home. Which of course miserably failed.
At least I've got her Facebook account. Maybe I'll be able to impress her with my about 600 followers there.. not that that really matters, but it's a number, right.
And I've asked to the bartender there for some dihydrogen monoxide (let that sink in for a minute.. 2 hydrogens, one oxide). The guy didn't know what I was asking for, and didn't quite appreciate it. If only he knew...
I bet he'd be one of those people who'd call the local radio station over the dangerous dihydrogen monoxide that's poisoning the water system 🙃6 -
Today I had the most f...g ABSURD and POINTLESS meeting with the client ever, that was arranged by the sales! I drove f...g 100km there and f...g 100km back to have a meeting that lasted about 20 minutes. And it's not even the worst yet. It turned out that I was not even the right person to be there. So guess what - the whole meeting boiled down to me making a phonecall on a loudspeaker to the f...g right person. I have wasted half a day and I HAVE OFFICIALY BECAME THE MOST EXPENSIVE PHONE HOLDER!! Not that I have not insisted a few times before to make a call to ensure that the meeting is necessary at all.2
-
!rant
Just started working for a new company. Super cool. Just like the last one (as far as perks), except they actually trust their devs.
Old company: Make sure your code is extensible
Devs at old company: You know it's not written in stone right?
Old company: Does that mean you can make it do this?
Devs at old company: No. That's the wrong code base
New company: I need a feature. Get it done when you can
New company devs: Well, guess I'll take some time to refactor all this stuff while I'm at it
~Some time later~
New company: Thanks, that feature works great!
No staring over shoulders, asking when it will be done. No asking why we want to refactor something. As long as work continues to flow, there are no issues. It's great!
Also, if we want to try a new tech, we just have to put together a short paper explaining why it will work better in that situation than the tech that's already in place. -
I should just quit. I am not paid enough to deal with this pissing contest.
Reviewer:
Need to add instructions (on readme) for installing pnmp, or if possible, have the top-level npm i install it (lol).
Also, it looks like we are no longer using lerna? If that's right, let's remove the dependency; its dependencies give some security audit messages at install.
Me:
it's good enough for now. Added a new ticket to resolve package manager confusions. (Migrate to pnpm workspaces)
Reviewer:
I will probably be responsible for automating deployment of this (I deployed the webapp on cloudflare pages and there is no work that needs to be done. "automating deployment" literally means replacing npm with pnpm). I disagree that it's good enough for now.
Imagine all readmes on github document how to install yarn/pnpm.
Lesson learned:
If you think an OOP static site developer can't handle modern JS framework, you are probably right.2 -
"200 Internal Server Error"
Yep, I did that. Because the lousy crapheads I work with were too lazy to handle any other HTTP status so anything else breaks the whole thing. And it's a pain to roll out another release of their part of the backend so "this isn't a priority". Also, they don't feel the need to check the JSON body of the response for the "status":"ok"/"fail" because what could ever go wrong, right? I effectively have no way of conveying to them that there was an error on this end of the API so they show success toast on the frontend irrespective of what really happened.6 -
Making electronics more difficult to repair with security fasteners and ultrasonically welded plastic nightmares and what have you.. what's the point? The argument from manufacturers is that "users don't want to get in there anyway". But, it's not like even if they could, they'd want to, right? Which type of person that doesn't know electronics very well and has an interest in repairing it would go and look at a board, and say "this is how it works, this and that is broken and this is how it should be repaired"? Not many users can repair their own devices regardless. So why? To preserve IP? Not like the Chinese bootleggers care about that. To preserve sales? Users can't repair their stuff anyway. To keep those who want to peek inside out, just for the hell of it? Anyone determined enough will be willing to break it in the process anyway.6
-
I lost one of my idols, there are few people I have that much respect for. I literally can not think of anyone else infact.
Ive just been taking a second.🙁 I mean you live your life thinking there's time or that you can wait to do things , like I'll just do that one thing a little later. But it's not true. The reality is there's so little time.
There are few truly great people. It's going to take me a little while to get over it properly.
But when I do I hope I don't switch back into old patterns.
I want to be just like him, his work was amazing. He worked all the time not because of fame or money but because he just wanted to make cool shit for people to enjoy. Because he enjoyed it himself and he liked seeing people amazed and happy due to his work.
The best people are the types of people who bring a smile to your face by just being who they are.
It was enough to know he was out there doing his thing being that incredible, it never occured to me he could just be gone. The world needs more people like him especially now with everything so fucked up. He died far to young. 33 isn't old it's not even middle aged
All I want is to be like him, I hope I will be one day 😞 and I'm going to start trying right now.
And I will try harder.4 -
I thought I'd always be a die-hard proponent of working from home; it can be great for the right person: and I thought that would be me; but with the family I have? It's turning into a disaster. They're too used to having me around, my wife is becoming too used to making arrangements that involve me taking an hour or two out of the day here and there; she doesn't know the impact of context switching in the middle of the day. If I refuse to help her out, that makes me the asshole. Then I get ratty because I feel the stress of being unproductive, and guess whose fault it is again? Mine. The kids rush in and out of my work area, or get upset when I come out for a coffee and don't want to spend time with them, but it's not their fault, at 2 and 4 they don't understand. Take me back to the fucking office, I'm done.
I just want to work. How hard is the concept of being left the fuck alone.9 -
Stupid HTML checkboxes! It's always annoyed me that you can't just set checked to true or false, but have to remove the property altogether to uncheck a checkbox. Better still would be if you'd only need to set the value to 1 or 0, and the checked or not would sort out automatically. Yes, there are frameworks to handle it, I know. But if checkboxes had been designed right from start, a framework or any sort of special cases would not be needed. You've got love HTML, but things like this make it ugly.6
-
You know a good way to handle all of the issues with W10 force updating your system? Do it yourself FFS!
You know there are updates. Windows has been telling you ...
Pick a damn time, start the update and go get a coffee, lunch, take a dump or go home for the day.
It's *never* going to be the right time if you don't choose it. It will always be an inconvenience or you'll be "in the middle of something important" and then you'll get all pissy about it.
Yeesh ...10 -
Sometimes I see advice given to others that is either clearly wrong or even dangerous, but it's not socially acceptable to call them out on it because 'everyone is entitled to their opinion'.
Yes, you're right. I'm entitled to my opinion based on doing this for 20 years and facing your exact, usually "junior" situation a hundred times. You did a code camp earlier this year and still think JSX is part of the Ecmascript standard.
There is a difference, and not being able to point it out without being scolded for being "entitled" (ironically) is slowly draining me of any interest in helping others.
How the fuck do you cope with this?18 -
Me: Hi, I finished X and Y, will finish Z tomorrow and be able to push it to the staging server for you to test!
*Client 15 hours later*
Client: I don't see it, where is it?
Me: It's not there yet, I need to finish Z first, it's right now on the development server, not the testing server
Client: Yes, but I don't see it?
...4 -
Time for a soap box rant.
I just found this in one of our projects. I've simplified the example to make it more anonymous.
When I see code like this it automatically means there is a lack of attention to enumerations and/or understanding of what they are.
One may argue that in a certain execution of code it's a minor performance hit and therefore insignificant. It's still a performance hit. Furthermore, it takes even less time to do it the right way than it does to do it the wrong way.
Every one of these lines will enumerate the list from the beginning to try and find that one element you're interested in. Big O notation, people.
Throw that crap into a dictionary or hashset or similarly applicable data structure with direct reads at the beginning of your logic so that it only gets enumerated ONCE when the data structure instance is created. Then access it however many times you want.
Soap box rant over.15 -
!Dev
Okay so this is a very embarrassing story but I guess it's kinda funny so I thought I'd share it anyway.
I was playing a tabletennis game in VR and my opponent was a pretty chill guy who started blasting metal music. We were just casually vibing and then we started headbanging. Not a good idea with a VR headset on your head. There are two deep scratches right on my forehead now. Two perfect parallel lines.
I lost the game, and the smoothness of my forehead.
Okay kids, never headbang with a VR headset on, remember that.3 -
La me working on a new chrome extension:
- ok, this page has some hidden divs, I need to tell the extension to make windows scroll to the bottom while there are still elements with a hidden class
- creates a while(1) loop with a condition inside it to break if no elements with hidden class are longer there.
- happy with the code
- uploads the extension
- goes to page
- brings out developer tools
- goes to console
- clicks on extension on chrome
- right clicks the extension and then inspect
- ok here we go: la me click on button inside extension popup
- console shows some logs
- nice it's still looking.
.
.
.
- wait! Why is the page not scrolling ???
- looks at logs, WTF nothing changes in logs .....
- OMMMMG a infinite loop .... infinite loop inside chrome ....
- OMMMMMG my pc's gonna crash .
-stop please stop stop.
- wait! how do I stop this?
- tries CTRL+C ... nothing
- tries CTRL+Z ... nothing ...
.
.
.
.
Abort abort Aboooooort.
.
.
.
- Deletes extension from chrome.
-..... loop still running
- clicks on X to close Chrome.....
- not closing O_o
- Oh God, i need to do something before Chrome sucks all the RAM left.
- remembers the savior...
.
.
.
- Task Manager heeeelp me.
- opens Task manager
- chrome is consuming ~ 2 GB of RAM.
- WTF! Kills chrome.
Thanks for reading my lil adventure 😅5 -
On Skype.
[tldr: #muhPrivacy;]
You know, people hiring via Skype.
Gaming, seeing family or having long range relationships.
It's become a decent tool.
Then there is the Skype employee.
Opening a court case because in his work time, evaluating Skype calls - ON FUCKING OBSERVING SKYPING PEOPLE - he has to look at too much flesh (as in porn) for his salary level.
Like : the payment category states that you gotta be classed like 1,2 salary categories higher for such work.
So the first instance did not recognise the employees case, because they said its a state thing, or even higher.
Later instance evaluated the employee was right and decreed Microsoft / the NSA (whomever direct employees they are) to properly categorize their employees.
Therefore cost relatively exploded and an algorithm to detect nudity was built.
Wich is operational way earlier than Skypes TOS renewal mid 2018.
That also bans bad language and auto bans given accounts.
Talking about social credit..
in PROC (or prod, as they're known).
And btw: complaining about Google while posting Christmas gatherings on Instagram.. You get what I mean.
Honestly, I don't recall the sources. It's been a while.
I'd really appreciate a little compendium of this for historical reasons.
They will ask: what has brought us here? What is everyone an ultimate right/left/center/agnostic/religious fascist?
And we'll have it on paper. Or papyrus,.. even stone. As I don't know how far mighty people will go for their fortune.15 -
I just found a new WhatsApp Crash Exploit. Full denial of service right there. An attacker could send a message to a Chat (be it private Chat or group Chat) and everyone who receives the message has no chance of starting WhatsApp again. It crashes and won't restart.
Tested on latest version on Samsung Galaxy S6 and S8. Don't know if it works on other versions but I am pretty sure it does. (It's midnight here, noone online to test)
The fun thing is, I knew this Bug for a long time but when I last tested it, nothing happened. Which means this Crash is only possible because someone at WhatsApp programmed a new Feature...19 -
Why THE FUCK is screen mirroring without being in the same wifi network a thing?
Why THE FUCK have all these smart tvs turned this on by default?
Why THE FUCK does the list of found devices SORT itself RANDOMLY if another device is found.
I probably mirrored my phone screen to a random tv in the neighbourhood because as soon as my finger was about to touch the name of my tv, a random tv swooshed into it's place.
WHAT THE FUCK THERE IS NO FUCKING NEED FOR THIS FEATURE IF YOU DON'T HAVE ANY ACCESS POINT AROUND, THERE WILL BE ONE IN 99% OF ALL POSSIBLE USE CASES.
I mean if I got it right, i can share porn with my neighbors now, or at least annoy them?8 -
Boi did I forget what a horror is to deal with Wndows...
I just wanted to shutdown a laptop to replace the SSD and a wifi card. Prepared everything, clicked on the [start] and there were only "Update and *" options. Wha the hell I thought, I could spare a few minutes. It's just a software update - should not take long!
Little did I know...
That was 45 minutes ago and It's still shutting down. And I'm just sitting with that screwdrived in my hand, looking at that blue screen and waiting. I feel stupid
UPDATE: I gave up. Long-pressed the POWER button. que sera, sera, right?
Lights go out. I press POWER again to boot it back up (forgot to save smth else). And it boots up back to the "SHUTTING fucking DOWN" AGAIN!!!23 -
It is only now that I can finally appreciate how brilliant PHP is.
When you're new to programming, you write some HTML + CSS, it looks good, but the dynamic part is missing. So, you install PHP and just… write dynamic parts right in your HTML? How crazy is that? You can even write regular code there too! Errors are logged right away, common features like DB driver and sessions are built in…
It's all about marketing. Next.js does exactly the same thing when they brag about writing SQL in React. When they do it, it's revolutionary. When PHP does it, PHP bad. Gotcha fam 🫤15 -
If you are one of all those awesome developers and hackers and I only understand 20% of your rants then props to you and keep scrolling :-D
But if you are a young developer, fresh grad or just learning programming I have an idea, how about a mentor?
This literally just pop in my head right now while cleaning my kitchen!
I'd be learning along your side and also having lots of fun! I don't have any formal experience providing mentoring but have some education credits and patience.
I'm gonna stop the sales pitch because it's annoying even me! but Idk, i just thought that maybe there's someone else out there interested in mentoring services :P3 -
WHAT THE FUCK!!
For a freelance job I searched for a JS function in the HTML document of a Wordpress site that was given to me.
Found it and wanted to get started on the project, but there was something odd about this website (besides it's a Wordpress site). The scrollbar was fucking small and when I scrolled down, all I saw was breaks. An almost endless number of breaks.
Then suddenly There was a line of HTML!! And then another 126 breaks.. :/
(Yeah that's right, I calculated the number of breaks between every line of HTML). This document has 75732 lines of shit.
The whole fucking website loaded in over 20 seconds!! What the fuck is that?!?! The document itself is 258 kB!!
But whatever, I get paid.4 -
I'm so tired.
Got enough sleep but tired nevertheless every day.
Situation in the company isn't helping, would really like to get a review as I'm really close to a 'final' version for productive use, none given.
Didn't think far enough and didn't include various OO-things when starting to program this application, so I had to rewrite lots of it. It certainly got better by the time but as it's a grown structure I'd feel happier if someone other than me had seen and cursed the code.
Coworker that has most experience in C# only once implemented something with multiple threads, couldn't help me there.
Could not test the code yet because the hardware was inaccessible and is now potentially broken.
I really like working independently, nevertheless I feel a little bit lost at sea - I can deal with that, but it's exhausting.
Also, trying to get an answer from the colleague who should act as my supervisor whether or not I can work remotely during a CS related course in the semester break for > 2 weeks now. Course admission is the mid of January so I'd like to have an answer this year so I can repeat the basics I'll need if necessary.
Also, Midterm is coming.
It's a lot of little things piling up right now I wouldn't mind if there were only 1-2 of them.
I'm just so damn tired.
I'll go to sleep now.
(In happy news: my internet connection is working pretty decent now, technician that fucked it up apologized and said that he probably needs glasses, he misread the connection number. :D)4 -
Sitting down all day doesn't do my back much good, so thought I'd look for an electric back massager. And there's plenty around - great! So I do the normal thing I do and take a look at the reviews...
...but the reviews are completely unhelpful, because about 5% are the usual complaining it turned up late, 5% are maybe talking about using it as a back massager, and the remaining 90% seem to be using it as a vibrator. Some are even just bloody ambiguous. I'm still not sure if "takes a bit of work to get it in the right spot, but it's very effective when it's there" is referring to someone with a sore back, or someone who's sexually frustrated. Who knows, maybe both.
First world problems eh.14 -
There is this thing called the Pulfrich effect (https://youtu.be/Q-v4LsbFc5c a Tom Scott video about this).
Since I have 3 monitors, I decided to write a small C++ program which copies the image from the first monitor to the second and, with 5ms delay, also to the third.
That way I can sit down like 5 meters away and squint a bit to make both copies overlap. This creates a 3D effect for about half of the time of any moving video.
If you watched the video at the top you should know why, if the right image comes later the background has to move as in the video, and vice-versa.
Just some random thing that came to my mind and it's actually awesome! -
My boss has been begging me migrate a nightmarish complex excel report he made to calculate the payout of a tiered rebates program with compounding rewards. Today I finally decided to make take the time and I sat down with him so he could break it down for me...
Me: *looking at the mess of formula's* it would be easier to rewrite the math than decode this - can you just give me the reward rules... where does that value in cellX come from?
Him:*pointing at the spreadsheet* There! All the rules are in there for you :-)... like it's some big favour...
Me:No I mean when you wrote this, what did you base this off? There must be something...
Him: *Very Gravely* No, no, no it's far to complex! It took me ages to get this sheet right and it balances so just trust me and use it ok?
At this point I will mention he's an accountant so yeah I fucking trust him... fast forward past 15 minutes of digging through what may as well be quantum theory and lo and fucking behold all 2 sheets and 100 calculations are mathematically fucking pointless. Aside from formulas like this:
$X10=+(((O10+P10)-((O10+P10)*$X$3))*$R$4)+T10
which is actually equal to (X10/R4)/L10.
Anyway once you compound and sum the "tiered" benefits the rewards payout is ALWAYS = customerSpend*1.81.
This is why programmers name variables. -
This is a story about the shitty client who managed to ruin everyone's day, consistently....
So this client, its our biggest revenue source (about 33% of total) and our boss is total wuss when talking to them because of that... Each meeting he has with them he ends up bending over nd just takes it all...
So after each meeting with those shit heads, it's always the same...
It's our fault for going over budget (them changing their mind like 10 times during a project over key issues has of course nothing to do with it, because hey, we're a flexible company and all we do is modular and extendable right?)
Its our fault for not meeting the deadline, because of course our boss keeps accepting last minute projects like there we're otherwise sitting on our thumbs
And than their fucking contact person... Biggest ass ever, always involving us in his own office politics... I'd throw him through the window3 -
You know what they say...
When life gives you APIs, make clients.
So I found this API that powers the Twitch overlay extension for the Overwatch League and thought it'd cool to see a mobile version of it.
Done in Flutter: OWL Live Stats (https://drive.google.com/open/...)
Give it a try if you want. Right now it's pointing to a dummy API I created based on the one I found because there are no matches at the moment.
The goal was to get it done before playoffs start (July 11) so hopefully I'll get some feedback from you in case I want to publish the thing.
Appreciate your time :)
Disclaimer: I didn't bother investigating how legal and/or useful making/publishing this app is.2 -
I have seen in a lot of forums (here, Imgur, reddit, LinkedIn etc) that there are a lot of developers without a job.
And most of them live in USA. I have not seen a person who is struggling to find a job in EU or some other place.
Why is this the case? In USA where the demand for developers is very high.
I read a post on LinkedIn: "40 INTERVIEWS and no one HIRED! Yet another friend telling me she can not find good talent. My thinking - If you interviewed 40 people and did not hire someone, then it's time to look in the mirror. The problem is recruiters and hiring managers are looking for the 'PERFECT" candidate. NEWSFLASH! There is no 'perfect' candidate. If you have someone with the right attitude and skill set, and they fit in with the team, why not HIRE them? There are so many qualified individuals still job searching. Yet I see the same jobs re-posted, over and over again, being left vacant for months. Who took a chance on you? Maybe it's time you a took chance on someone."
I don't think it is the "competition" because I see everywhere. I have seen entry-level or JR. open positions that are not filled for months.
It took me 1 month, sending nearly 20 applications every day to find a job in USA.
And the second one I got lucky. I applied in Europe and after some month I got transferred in offices in USA.
I do not know how true this is, but seriously, what's wrong with companies in USA that require the PERFECT candidate. Or is it something else?19 -
PM: this is our super fancy new CI/CD pipeline, it's the greatest. i expect you to learn and understand all this in no time.
devs: so i have to spend some more time on this topic because it's completely new to me and requires some learning...
PM: nooo, that's a super easy task with zero effort, my braindead hamster can do that in no time, so can i, and so can you! let's assign 1 story point for that.
~ 3 months latèr ~
also PM, after he has started developing as well: so i'm realizing there are many things that i have to learn, and it takes me some time. i haven't developed with C++ and <other tool stack> for a longer time. by the way, you guys don't need to check for any quality right now, we need to deliver fast. it's okay, when you have memory overflows, your code is completely crappy, poor architecture or memory overflows, it doesn't matter.
he even has a subtask for migrating his code from VS project to our new project structure, since he refused to learn our pipeline right from the beginning and created VS project instead. シ why is this a subtask? this job can be done in no time, my left vanishing twin named Klaus who has dislexia and hates vim can solve this task in 20 seconds!!!!11
(and still no PR, not even a feature branch in our repo)2 -
what an absolute condescending garbage post...
"brilliant coder who can't meet a deadline"? well, you're the idiot right there, you just admitted it - they are brilliant and you don't know how to set deadlines
imagine labeling someone who can't meet a workload DIFFICULT! god this is making me fucking fume
"normal management" - yeah this is normal management alright, treating everyone like they don't know what they are doing and expecting them to follow you blindly, sounds pretty normal to me
it's shit like this that leads to cocky ass young dumb managers who actually don't know shit about building a product themselves, but then turn around and think they instead have the ability to manage a team to do it... incredible21 -
The interface for time input in outlook Web on mobile is driving me crazy!! It's not as if there was a built in control that is well supported in all modern browsers.... Right
1. You can't tap on an hour to select it
2. You can only select by scrolling
3. The scrolling is "smooth scrolling". So you have N O fucking chance to select the time slot you wanted. After too much time has passed you just give up and accept that your meeting will be at 09:57
4. In order to go up in time you constantly activate the"pull to refresh" feature of Chrome.
I'm definitely no mindless MS hater but this I cannot tolerate.6 -
Hey there 👋
I am more or less throwing any burden (WhatsApp, Facebook, Google etc.) out of my life. Of course I will continue using the Google account for YouTube and some games that need it.
That's what it looks like right now:
Raspberry Pi 3B+
✅ webserver
- forum - complete (atm just for me)
- blog - no ideas and just installed october cms and nothing done yet
- nextcloud - complete and filled with my porn... eeh... data
✅ mailserver
(missing spamassassin, clam or sth. like this but it's working 😂)
✅ matrix-synapse
(as an additional alternative to messengers)
______________
Raspberry Pi 2
✅ catches dust
(any ideas?)
Of course, many more configurations and the like are necessary before everything is ready... but what then or what else is there?
At the moment I still use WhatsApp. Just wanna take time before sending everyone a message about changing the messenger and that it should be important for thinking about the own privacy, which alternatives there are bla...
Edit: For passwords I'm using Myki - didn't hear anything bad about it yet and it's very easy to use (Firefox add-on, Android app).
I love my passwords with 200 characters 😂
Maybe someone's knowing more about them?
Hope I didn't forget a thing... thanks in advance aaaaaaand... I'm gone. ☺23 -
Moved to Australia, because it's cooler over there. Pissing on outback stones right now. Who's your daddy?random fuckaburra no coala shove platypus eggs into the abyss wombat sleep in a kangaroo bag kill the dingo whoop whoop take a dump on uluru burn eucalyptus14
-
"OMG WE MISSED SOMETHING WE NEED AN EMAIL SENT TO EVERYONE IF X HAPPENS AND NOBODY DID A THING WITHIN AN HOUR!"
Ok done.
"OMG WE NEED IT SENT IF NOBODY DID A THING EVERY 30 MINUTES"
Um... not sure we're solving this problem right way ... but there you go done.
"OMG SOMEONE GOT AN EMAIL AFTER 45 MINUTES AND NOT 30 MINUTES"
Bro who the fuck knows why that happened, it's email not instant messenger .... that's what I meant by us solving this in the wrong way, email for this is dumb... how about we solve this process problem in some other way or you just fuck off ... this isn't a coding issue this is something else...4 -
Ahh boy, uni sure is fun...
I missed my comp-sci class last week when we got a project assigned. No big deal, right? We have an online student portal where teachers can post assignments for everyone to see. I'm sure it's in there.
It's not.
Okay. How about the syllabus? Professors are supposed to create a weekly schedule for students to follow, it's probably in there, right?
Nope. Nothing.
Alright... I guess I'll email him. At this point about two classes have passed and I haven't heard anything in class, so I fire off a quick email to the professor asking for the details to be posted to the web portal so I at least have some idea of what I'm doing.
Surprise surprise, I get a response in about an hour.
"I'm not posting anything online. You should have been in class. Talk to a classmate."
*sigh*
So, from what I can gather from my classmates, we have to design a game using python. It might be a quiz, maybe. We have a week.
Are you fucking kidding me? Is it really that hard to take 20 minutes to type up a few requirements so your students at least know what you're grading for? I barely have any idea of what you even want, and from the three people I talked to it wasn't very clear even when he explained it in class. Post your assignments online, asshole!7 -
So a new dev had an issue, if the wrong credentials are in the code it will crash because the unauthorised error isn't being handled.
I physically added the error handler, to his code, on his machine ... 3 days later it's not there.
Asked him and he says "sorry I must have deleted it"
... that's grounds for dismissal right? ... like ... seriously2 -
Thoughts prior to feedback meeting, about how it's gonna go.
---------------------------------------------------------
Scenario one:
Supervisor: The shit is this? You call this a research work? Get the fuck out of here! You're fired and even your unborn kids are banned from coming into this institute ever again!
Me: *walks out sobbing* (dunno how one can walk out of a zoom meeting, but this is imaginary so who's counting?)
Scenario two:
S: Umm, good work. I just don't think it's presentable. Maybe come back in like a few weeks when you actually polish this into a "real scientific work".
Me: *sobs after meeting. Starts preping for seppuku cuz no idea where I'm headed with this work any further*
Scenario three:
S: nah man. This is no good. Let's start from the bottom. Like, start data collection from the beginning or something.
Me: *sobs and commits seppuku on the meeting.* (I just have a pen tho. Hope it has the same effect as a sword)
---------------------------------------------------------
There are other scenarios, but they all end up in me sobbing and/or committing seppuku in/after the meeting so yeah the drama is running high right now.11 -
When your new build is compiling and just scooting right along so you think... sure, I could go for some food. No. Nope. Not even. It chooses the exact moment you leave to nope the fuck out completely with the most random compiler errors that you would have never seen had you just been sitting there in the chair. It's like it knows. Maybe next time I leave I'll promise to bring it back a taco.1
-
No need to think small when you have eternity to work with. Right now I am building a network operating system, something I've started around 2 years ago. I expect to have an installable and more or less usable system in maybe a few more years.
When I would have an eternity to work with, I'd first look to make our planet redundant. It's insane to imagine that we only have this blue marble to work with, while we have a fireball of hell as a neighbor in our cosmic neighborhood. What even happened there? I'd like to find out. Granted Musk is already figuring out Mars, and he has the money for it while I don't. I don't like the man all that much (too much marketing wank) but hey, at least he's got us covered there.
Maybe one day we could live forever. Maybe we could map and upload our minds. Maybe we could replace our entire body with synthetic components when the frail meat-based components inevitably fail. Perhaps it could even happen in our lifetime, at the pace technology is progressing at. If and when that happens, sign me up!2 -
I hate that they're rebranding the newest Windows update "Windows 11"... it's been 5-6 years since they said Windows 10 was the last version of their OS. Why not drop the numbering convention all together? Also, why is the latest update a pile of crap that changes nothing other than the UI? Oh right, because the perception of progress to investors is the sole goal... I swear there is so much broken in windows 10 right now that they haven't fixed and so much more to be added, including file explorer tabs which they've literally started implementing and stopped at some point. Don't even mention the numerous UI inconsistencies between right clicks, color inconsistencies, still using control panel for some options in windows 11? UWP apps crash constantly and are slower and laggier than traditional .exe's, the list goes on and on for why this is the dumbest decision microsoft has made yet. problem is, "yet" is the keyword.11
-
It's easy to see what a person in my company do just by looking at their clothing. Money-guys with blue shirts and shiny shoes, tech guys with washed out jeans and a t-shirt with print. Then there's the bosses of tech guys, a hybrid with washed out jeans, sneakers and a poorly fit blazer for meetings. And then we have the designers, with their neatly trimmed beards, wearing a scarf all year round. And at last, project managers.. kinda like the money-guys but with sneakers for better mobility, and their right arm locked in a "holding cup of coffee" posture as they move from desk to desk like vultures overlooking others work.
And they say there is no dress code1 -
so... 9 years ago we had this super awesome codebase. 1 file, complete logic COPIED to be used in ui and service/daemon. I scrolled to the middle of the file and there was no source. it was out of bounds of my monitor to the right because of nested ifs. ok... what the fuck!! the worst part: I had to implement a new FEATURE into this mess. 2 days. I said it would not work as expected because the feature was not thought through. but project said let's gooooo! ok there I was, a junior with an impossible to implement feature and a codebase from hell. I've implemented something, all night long. next day it was the problem of the consultants. they called me, I told them why it's impossible that this would ever work, they understood and talked to the customer. he accepted the solution. WTF?! anyway, in those days I thought about quitting developing software as my daily job....4
-
In game development feature creep tends to kill games because it's just as much about what's NOT there as what IS there.
Take The Last of Us for example. Would a strategic tower defense segment make sense? No? And if it was a *hugely* popular mechanic at the time of development is there a real chance they would have included such a segment in TLOU? Yes.
Don't just believe me. Go take a look at what happened to the original Fortnite versus the hills-have-eyes inbred offspring that it became all because PUBG and its format were cancerously mega popular at the time.
That's why while developing my game Atom Ranger (now with 100% less multiplayer!), a mix between metro and don't starve, I spent six years *pruning* features. You can click my referral link and get 50% off the opportunity to become an unpaid tester of the pre-prealpha right now, "for hardcore players only!" (Tm)
My game:5 -
The emphasis on "team" to the exclusion of the individual (thanks in no small part to Scrum) is destroying the software developer career. It's a pendulum. There are always team/company goals AND personal goals. However, these days, the rhetoric is ALL about the team: everybody on a team has the same title, get rid of people who don't conform to some "collaborative", "open space", "colocated" ideal, etc. OKRs are entirely about giving everybody the exact same goals. I remember sitting down with managers throughout my career to talk about where I want to be in a year. What skills I wanted to explore. There were no guarantees, but the generally accepted idea was that nurturing the employee helped retain the employee. Now, there is only the idea that every developer should have the same "T-shaped" skillset, that all team members are the same, that all teams are interchangeable, that all developers are nameless cogs. It is demoralizing. If I were to give any advice to those looking to enter the industry as a developer right now, it would be "Don't". Because you will be told that being a "hero" is a bad thing. In what other industry does management tell its producers that they don't want people to go "above and beyond", and that if they do, they won't get credit for it because the credit always belongs to everybody.7
-
My new phone - the Motorola C Plus - has insane battery life.
Took it off charge Monday 07:30am with 100% battery.
It's now Thursday 11:00pm and it still has 10% battery.
You're looking at 90 hours Standby right there. Damm, Motorola.
I put it on Airplane mode when I sleep and have the screen brightness turned down, but still.
That's impressive.3 -
DISCLAIMER: I'm not paid nor have I had any contact with any associates of the following software.
GET FUCKING VIVALDI!!!
This Browser has DAMN NICE MOUSE GESTURES!
You do them while holding right click.
For example right click held and swipe/moving the mouse to the left/right brings you backward/forward.
There are several others and you can make them by your self.
Just browsing anything. IT'S FUCKING DAMN FAST.
INSTALL VIVALDI AND ENABLE MOUSE GESTURES! After aprox 3 Days you won't want to have any other browser anymore.
(Could've just simply said that I love the browser because of that feature. But this is DevRANT!)14 -
I am right and you're wrong.
Aka: Living in a yin / yang (black n white) bubble.
If you're unable to adapt because the only perspective that matters is your own small little universe, then you shouldn't be a dev.
As a dev, you'll have to accept that you cannot know it all. There will be smarter people and there will be things that you won't understand.
It's okay to be wrong. It's okay to not know it all.5 -
Warning: this is not a rant. I'm too happy and excited to rant right now.
Today I "finished" my first webpage!!!
Wohooo!
It's the blog I'll use. It's currently offline for obvious reasons but I intend to put it out there when I have more confidence on my skills and some content to put in it. I only used django, html and css, and I really dig the looks of it. My gf liked it so it can't be that ugly.
I still have a lot to learn with django, and I will add a thing or two to this
webpage but now I feel confident enough to make the backbone of my first real project : a platform to ease essay writing for history students. It's something simple for students to keep track of their essays thesis and ideas but also the bibliography they'll use and the thesis and ideas they think each text they read for the essay has. I intend later to extend the functionality so it can store all the texts the user has used in some useful and atractive manner so they can keep track of everything they've read, share it and use it for later works.
I'm so fucking excited I can't fucking sleep (it's 3 am right now).13 -
Lua is one of the stupidest languages to ever exist.
Oh, the language is easy to learn? The syntax is friendly? There's only like negative 10 functions you ever need to know? Everything is a table?
EVERYTHING IS A TABLE?! WTF CARES? WHAT ABOUT NIL?!
The arrogance this language has is extraordinary, literally. No lang, except Lua, imposes such an opinionated dichotomy. Everything is a fucking table, or, it's nil. -- That's so fucking stupid.
And look, I get it, this lang (oh sorry, scripting language (?)) CAN be good and fun and whatever... the moment you start to do IO is the literal end of days.
Everything is nil. Except, if it's defined... then it's not nil. -- OK. That sounds sensible/reasonable enough. -- What if it's not defined? You get nil. What if it's not the right data? You get nil. Do I get errors/exceptions or whatever? No, absolutely not, you get nil... unless the application you're using with Lua with has a lib that handles that.
There are so many more issues I have with this lang, but honestly... Am I fucking missing something? Is this lang like actually super dooper awesome and I'm missing something? -- I can't not look at this language as just dumb and arrogant. -- It's literally a language where you have to manage and remember ALL conceivable state at ALL times.11 -
Adding "my house manager is a bitch" to the pile of ongoing issues.
My studio is right in front of the courtyard. Which means students partying and I don't get any sleep. So this morning I asked her if I could swap places with another student. She is a broken record. "It's not allowed" is all I hear from her every time regardless of whatever I ask. And as she says, there are new rules and I am not allowed to get a new contract within the same fuckin building. Her own daughter lives in the quiet area, so like, what's with the double standard?
She's lying and I know that. I asked her to put me in touch with her bosses or "owners" as she calls them, and guess what she said; "it's not allowed" 🙄
Anyways, I don't wish her well. I'll eventually find a way out of this expensive silverfish-infested building.11 -
my day went to shit immediately... long night, got to sleep at 4AM, poked awake at 8AM, "hey wake up we gotta go to a town 200 miles away, dress like you're rich, we gotta go find a place to live for my new job" ugh, fine, got another 30 minutes or so of sleep in the car. We get there, the guy shows us a place that I physically can't fully stand up in and is like 600-some square feet for $750/month. Fuck that. We get halfway back home, "hey i forgot, we just finished renovating a new unit, come look!" goddammit gotta go BACK to the city... get there, it's a 2-floor 1200 square foot place for $675, a hell of a lot better. We leave to go see relatives in town, get a call, "hey hurry home your grandfather's hallucinating" we get there before an ambulance (we traveled 120 miles in less time than an ambulance took to drive 50 miles...) and my grandfather's hauled (by us, as the ambulance refuses to take him to the right hospital, they want to take him OUT OF STATE in an ambulance and he's not actively dying) to the VA in the city we were just in... he's immediately screened and his dementia has progressed to the point he needs to be in a nursing home in 12 hours somehow. I have no idea either. Anyways, we're about 3/4 of the way back home and it's now 2:40AM. My dad's been driving for 18 hours pretty much straight. I'm still awake, he's wired (the worst possible state to be in while driving) and family drama has happened as family members are already trying to take the land my grandpa lived on AND HE'S LITERALLY ONLY BEEN GONE FOR 6 HOURS.
so how was your day?7 -
OK people, I don't need a novel written for every line of code, but PLEASE STOP trying to tell me that "yOuR coDe sHouLd bE sELf dOcUmeNtiNg aNd cOmMenTs mEaN iT's aUtoMaTiCaLLy bAd". That's a bunch of BS. I can't begin to tell you how many times I've saved my own butt by dropping a "this call can't be awaited; causes the library's internal API to throw an error" comment in my C#, or a "can't use double quotes here; doesn't work right for some reason" line in my JavaScript. Sometimes there are very good but un-obvious reasons why something was done a certain way, even though it looks like it could be done better. And don't try to tell me "the tests will catch it". Let's be realistic here, nobody has 100% test coverage on any project that's much more than "Hello World". And even if the tests DID catch it, why waste the time when you could just write a comment?
P.S.: This is not directed at anyone on here specifically. It's directed at all the devs I've met IRL and the comments I've seen on SO, who think that comments must be bad.12 -
You know, I really like my Redmi 4x. It's a nice and inexpensive phone and perfect for me. Now I wanted to get the most out of my phone by rooting it, which was going to be easy.
I thought. And lord almighty was I wrong.
First of all, to even get to root it you have to unlock the bootloader. To do that you have to use a tool that they've made. Good! An official way to do so would surely be good, I thought. But to actually use the tool you have to be logged in to their service on both the tool and your phone. Then, and get this, you have to submit a written application as to why you would want to unluck the bootloader.
Ohh but it didn't stop there. I did so and months passed without me getting any info from them what so ever. When trying the tool it would just tell me that they hadn't reviewed my application.
Today I tried again, and something new happened. It told me that I hadn't synced my accounts. Which I promptly did because it's progress.
I tried for what should be the final time, aaaand I get this. This according to the forums means I have to wait 72 hours to be able to do it.
But it's progress, right?
Uuugggghhhh8 -
I really want to stress that we should add the ticket for adding the missing test cases in *this* sprint and not postpone it any further.
-- "Isn't there something more important to be added instead?"
There. ALWAYS. Is. Something. MORE. Important. The real problem was that we implement the test cases in the past to begin violating our definition of done. We have to fix and one point and we have to own that decision as nobody else will care about passing tests and test coverage. It's our job to care for that.
Yes, we can instead focus on all the other high-priorities task that should have been done yesterday, yet that won't change the fact that large part our codebase will remain an untested messy blackbox just asking for weird bugs and wild goosechases in the future.
Don't hide behind "high priority tasks". A job is done when it is fucking done and tests are part of that. Hurrying from one important task to the next will just mean we'll never do it. There is no better time than right now.
If code coverage got left behind in the past, then we'll have to suck it up in order to fix it as soon as possible, otherwise we'll just suck forever.rant workflow priorities something more important agile own your shit developer sprint planning sprint testing test1 -
Sharing your password with your coleagues is like sharing your underwear or your GF with them. It's not right and unless you're into some weird fetish you won't really want them back...
I've been asked to help in my previous project and I'm fairly certain my credentials are expired/locked/forgotten there. Guess whose managers will be encouraging sharing current dev's on that project passwords...2 -
On Friday. Client and Project Managers arranged a meeting and wanted me to be there. Client said the meeting will be max 15 Minutes but it was around 2 hours. This client project was due the following week. I was happy because everything was done and excited that the client might be coming down to say how awesome the work was.
The table turned around. They came changed the designed and functionalities. The client said, it won't take long to do it, right? and my Project Manager said No! No! No! don't worry its very easy thing. It will take him around 1 day to do it, it's just all cosmetic changes.
It took me more than a week to get it done, test again, check on browsers. The client was pissed and they fired us. Guess who was blamed for it?1 -
A government website that I wanted to try and scrape data from to make a better app, I've actually found to be the pinnacle of a demonstration of what NOT to do...
Containing a JavaScript file that not only had got code copied 3 times (changed the tiniest bit on each) for what environment it's on, but has ALSO got the API keys for all 3 environments, AND the APIs they've made it call from there pass FULL SQL right in the query string...
What. The. Actual. Fuck?!5 -
A user calls me an hour after I'm supposed to have logged off.
"Hey, ahh, like, something is not good with, like, some thing"
Oh, snap! What happened?
"There is, like, this report, and it's, like, not right?"
Oh, the report is showing wrong data? Let me try to get a fresh version and...
"No, like,the data is right, but, like, there is many reports and , like, should be only one?"
Oh, you mean the report consolidation feature? It should only happen if the reports are fully compatible, and since it's automatic if the reports are not already grouped it means that they cannot be grouped. Probably due to this shopping season, we've seen a high uptick in demand.
"But, like, it should be, like, one! If not I will have to type in each report, like, by hand! I usually talk to this guy XYZ and he, like, does something that I, like, have no idea what it is. Can you call him up?"
(The dude the user mentioned logged off hours ago, and is in a different timezone. It's now about 11PM for him.)
It might not be possible. The system should add observations to each report it cannot consolidate. What do those say?
(the user takes two seconds to respond. I don't think they checked anything)
"It doesn't say anything. Can you cal XYZ, please?"
...
Shit, why do people wait until the last few hours of the last day of the month to do something that should have been done days ago and then demand that everybody everywhere just adjust to their late-ass schedule?
And then to demand I wake up a hardworking dev because someone is to lazy to use the system as it was custom designed for them? Because it had no problems but just wasn't making all things easy?
That's why users have to pay - they don't pay us to code, they pay us to put up with their bullshit.2 -
A wild project appears!
The deadline is set in two months.
It's a 3D environment interactive app with some oil drilling models and other stuff, for a stand on a show. It needs to look nice, but The Company we're working for needs to figure out where the fuck their product is located on those machines. Think tiny pipes, O-rings etc.
I prepare a build in the first couple of days for The Company to figure shit out.
Management holds the build back because:
> the ocean waves are going the other way
> the underwater area doesn't look so nice
> the antialiasing could be better
> one pipe is 5cm off center
> the sky is not blue enough
> the drillship propellers are pointed the wrong way
> one icon is too far to the right
> the shadows could use some work
> there are shadows on the seabed
> some flickering on ambient occlusion
> it loads too slow
> one random object is flipped on it's Z axis
> it's too green
> camera locks up if you move about 2km out of the range
> the name of the build should represent the date of the build
> the name of the build SHOULDN'T be anything else than just a simple three-word name, no dates because their environment doesn't allow apps that are not allowed (by name) by admin
> lots more random things that won't prevent them from using the app
I'm only a month late, but it's good progress. In about a week I hope we can get some feedback if we can use those models at all and what to showcase.
Then I can work on the basic functionality. And then it's a simple case of time travel to meet the deadline.2 -
This is the story of the API documentation.
Which btw I couldn't find on the producent's website anywhere. I had the pdf shared with me by a coworker.
I knew the api was fucked up the moment I looked at endpoint documentation.
GET params? WHERE, ORDERBY etc. Literally make a SQL select in a GET request.
Returned stuff? The whole thing. Not some DTO, you literally get everything you can get.
Eg if you get IP in your response, you get it in several formats: dotted form, as hex, and as int. In 3 different json fields.
Oh, and regarding IP - one would imagine you can use masks or prefixes for subnets, right? Nope. The only param you can use there is the subnet size. So you have to calculate the power of 2 every time you want to make a request.
That's from the endpoint documentation. But what about some general info on the API, before all that?
As I was looking for something, I decided to read that intro and general info about the API.
Okay, so there was a change log between API versions. "removed [endpoint which sounds like correct REST design], please use [this generic thing with SQL-like GETs]"... Several of them.
And there was also this sentence which said that the API is not restful, "it's REST-like". <facepalm>
If it was a bad attempt at REST API, I would let it go. But this sentence clearly showed they knew they did everything wrong. And the changelog showed they didn't stop there, they were actively making it worse.1 -
My workplace has been forcing me to work everyday for almost a month now. I've been working at least 8-10 hours from Saturday to Thursday, and 2-3 hours on Friday as well. I'm so exhausted. I can't sleep properly. All I do is work. I have no time left to do things that I want to enjoy. I tried coding today but I'm too exhausted to do it. I was literally at 0 productivity today. I hate seeing my computer now. I don't know how to overcome this especially during the current lockdown situation. The work I do is not valued or appreciated and it's mentally breaking me honestly. I don't know what I want anymore. For sure another job but I need at least a temporary fix till the lockdown is over.
For those who know me or read through my profile, yup it's the same company. The reason I haven't left them even after all this is because this is a really tough time for me financially and I have no other sources of income and right now at my place there are no job opportunities. So the only option is to continue with the existing work place.6 -
The more I use LinkedIn the more I hate it. I know I shouldn't be a nosy fuck but sometimes I've got nothing better to do for a couple of minutes on my work OS and the tab's right there. Every time I open it up it reminds me of why I'm not on Facebook. My coworkers are probably the most benign people to follow, all they do is repost company videos and blogposts. Basically advertizing, whatever.
It's the other people who get to me, the ones who are advertizing themselves. The soapboxing, the 'look at all the cool shit im doing', the reposting shit from people who I have no clue about. It's literally a window into just the good parts of peoples lives, like any other shitty social media site, but put through the filter of corporate PR bullshit. At least you can be yourself somewhat anywhere else, everything on LinkedIn needs to conform to what's acceptable to the sterile corporate environment, which amounts to showing off your certs or marketable products and the most surface-level 'progressive' social politics.
Fuck LinkedIn and fuck my curious ass for opening it like a dumbass kid who doesn't understand why you shouldn't touch a hot stove.6 -
I just need to get this out.
NPM is not the worst dependency manager. It is way beyond any word in any language that can describe the most negative thing about it.
I developed nodejs projects. I like JS, it's a great language to work with. But not NODEJS, not NPM.
I can run my app in a F* browser but not once, not a single time that nodejs and npm can run at the first time. I spend way more time to build a working environment with nodejs and npm than to build my own app.
whoever developed these two pieces of crap had brains that filled with mud. And who gave them the courage to even put it out for people to use? JS is such a good language and they have ruined it.
There are so many dependency managers out there couldn't they just take a look at how human beings do things? I mean they have never seen APT or Composer or something else that actually work?
Or they just had so much ego that they had to let other people to feel how difficult their lives are.
I don't care about how you manage the dependency and I shouldn't. You people made these crap with one purpose that chould help others to develop easily but NOOOOOO, we have to spice it up, right? You just have to make it fat and greasy, right? You just have to make it doesn't work. I bet you people just redefined the F* CONSTANT of "How to Develope a System that Doesn't Work".
I don't know if NPM genius have ever did a information collection of their system. I bet most function that has been invoked is "throw error".
The funny thing is on NPM website, they provide Enterprise Solutions.... I would sue them for fraud.13 -
Friend and I work on some side hustle. He does most of the content work, I just manage the tech stuff and pay for infrastructure. Domain renewal is upcoming too, so yeah...
He has refused to adopt project management methodologies and task tracking tools multiple times and it's becoming a real problem since I am paying for infrastructure and there are no plans for generating income. There was, but it's vaguely defined and I have no fucking idea what he's working on. I ask, but it's always vague AF.
I have no idea where this thing is going and I barely have time to work on it. Two weeks before I am writing exams, he asks me to urgently help with a project he's behind on due to power outages. I just fucking can't, I have too much other things on my plate right now.
Gonna have to have a sitdown, I can't keep spending money like this and not have a damn roadmap for planning things.13 -
My productivity hack? I code in the shower and use a water whiteboard. I have to be up very early and feel the most clear headed right when I wake up.
If I'm stumped on something, I can usually tackle it from a new perspective. For the most part it works out. Other then the occasional profanity if I accidentally erase something and the sometimes longer than usual showers, my wife doesn't mind. Usually because it's 5 in the morning and when she takes a shower there is this scribble that she tries to decode!1 -
CS Teacher today:
"Transport Layer provides Security and Encryption to the communication" (TCP/IP stack)
me: WTF? Encryption is provided on the *top* of the transport layer (aka Application) ( and below [Network Layer] there is IPsec)
Teacher: no, it's wrong.
me: so Wikipedia it's wrong, RFC 5246 is wrong, and you have right?
Teacher: Yes.
me: Ok. (aka fuck you!)2 -
There's a café right next to the water and I can see boats arriving and leaving in the harbour. This peacefulness, but also that I can hear the mild voices in the background is what does it for me and my focussing. Sometimes I also go there with friends, as it's always nice to have live debugging ducks :D1
-
Slack's latest update just broke the darkify hack. It's 2019, right? It is unbelievable that there is no built-in dark mode for Linux, Mac, or even windows. I mean, they are aware of dark mode. It is available on mobile without trouble. Get it together, slack!11
-
There are few developer who name their functions all wrong, but the functionality is fine. Then there comes those who name their functions right but the functionality is nothing close to what it says. There is this function I debugged. It's name is optimizeQuery. It does not optimize the query at all. Rather dismantles it. Also it made it's way to the production. 😅 Now I have to correct and optimize the optimizeQuery.4
-
ZNC shenanigans yesterday...
So, yesterday in the midst a massive heat wave I went ahead, booze in hand, to install myself an IRC bouncer called ZNC. All goes well, it gets its own little container, VPN connection, own user, yada yada yada.. a nice configuration system-wise.
But then comes ZNC. Installed it a few times actually, and failed a fair few times too. Apparently Chrome and Firefox block port 6697 for ZNC's web interface outright. Firefox allows you to override it manually, Chrome flat out refuses to do anything with it. Thank you for this amazing level of protection Google. I didn't notice a thing. Thank you so much for treating me like a goddamn user. You know Google, it felt a lot like those plastic nightmares in electronics, ultrasonic welding, gluing shit in (oh that reminds me of the Nexus 6P, but let's not go there).. Google, you are amazing. Best billion dollar company I've ever seen. Anyway.
So I installed ZNC, moved the client to bouncer connection to port 8080 eventually, and it somewhat worked. Though apparently ZNC in its infinite wisdom does both web interface and IRC itself on the same port. How they do it, no idea. But somehow they do.
And now comes the good part.. configuration of this complete and utter piece of shit, ZNC. So I added my Freenode username, password, yada yada yada.. turns out that ZNC in its infinite wisdom puts the password on the stdout. Reminded me a lot about my ISP sending me my password via postal mail. You know, it's one thing that your application knows the plaintext password, but it's something else entirely to openly share that you do. If anything it tells them that something is seriously wrong but fuck! You don't put passwords on the goddamn stdout!
But it doesn't end there. The default configuration it did for Freenode was a server password. Now, you can usually use 3 ways to authenticate, each with their advantages and disadvantages. These are server password, SASL and NickServ. SASL is widely regarded to be the best option and if it's supported by the IRC server, that's what everyone should use. Server password and NickServ are pretty much fallback.
So, plaintext password, default server password instead of SASL, what else.. oh, yeah. ZNC would be a server, right. Something that runs pretty much forever, 24/7. So you'd probably expect there to be a systemd unit for it... Except, nope, there isn't. The ZNC project recommends that you launch it from the crontab. Let that sink in for a moment.. the fucking crontab. For initializing services. My whole life as a sysadmin was a lie. Cron is now an init system.
Fortunately that's about all I recall to be wrong with this thing. But there's a few things that I really want to tell any greenhorn developers out there... Always look at best practices. Never take shortcuts. The right way is going to be the best way 99% of the time. That way you don't have to go back and fix it. Do your app modularly so that a fix can be done quickly and easily. Store passwords securely and if you can't, let the user know and offer alternatives. Don't put it on the stdout. Always assume that your users will go with default options when in doubt. I love tweaking but defaults should always be sane ones.
One more thing that's mostly a jab. The ZNC software is hosted on a .in domain, which would.. quite honestly.. explain a lot. Is India becoming the next Chinese manufacturers for software? Except that in India the internet access is not restricted despite their civilization perhaps not being fully ready for it yet. India, develop and develop properly. It will take a while but you'll get there. But please don't put atrocities like this into the world. Lastly, I know it's hard and I've been there with my own distribution project too. Accept feedback. It's rough, but it is valuable. Listen to the people that criticize your project.9 -
There is a book that is supposed to be the best book on its subject... but I just have to say - This book is not a good book. It's a bad book. That's right. I know the author well, - but it's terrible and I just need to tell someone. Thank you for listening.8
-
So my dad calls me because my uncle is freaking out about how a client messaged him and he doesn't know how to check if he can do what them asked him to. I tour them around the website he's using (as he understands little to none of it, and my dad doesn't use the site regularly so he's not versed into it as well) as to where they're supposed to look and they go check this one tab. In it, there's info of what is sold out in what day. And for each day it says "day x - y sold out" and he asks me what day it is that y things are sold out, and that it is confusing, and I'm like "are you serious it's right there". Goddamn it this guy sometimes
-
Am I crazy ?
Right now we have an API which returns a full planning for a week for 300 employees with indicators (Like "late", "may be postponed" etc) in 4 seconds.
I have a pressure, people telling me it's not fast enough.
I honestly think it is fast.
In order of data it'a around 100 MB of JSON. AND you can do actions on the whole set if needed.
Long story short, I think 4 seconds to get all that data is pretty great. Customers think they should have it instantly.
(Never mind the whole filtering system at thier disposal, they literall only lod the full set and then MANUALLY scroll (Yes there is a quick search box)).
What can I do more ????? cache that ? I can. But they also expect that any changed value is reflected.
And we fucking do it. While you are on the page there is a SignalR conenxion created and notified when any of data is changed and updates it on front. Takes around 500 ms.
Apprently "too slow".
I honestly don't see what we can do more with our small 4 dev team.
Give me 56 developpers I can do something, but right now I'm proud of result.14 -
I think JavaScript is great actually
Though I don't like the community
But that's not saying much, aside from maybe c++ people (who I don't actually understand so maybe that's what's going on there) I don't seem to like any communities
Mostly because they're wrong and fight over irrelevant things and don't realize they're wrong so they just keep going wrong and it makes me cringe
But javascript is nice because it's intuitive, and if it isn't intuitive to you right now just look into the thing and it'll be a second language to you later... Isn't that a skill issue?
Easy to start hard to master, perfect difficulty curve. Exploits that sunk cost fallacy. It isn't overwhelming either you only run into the edge cases slowly over time.
But there can be a point made that an easily accessible anything is just always going to turn into a cesspool because unskilled people keep contributing and thinking themselves experts, so it over time reduces quality of secondary tooling =[6 -
How many of you use the right data structures for the right situations?
As seasoned programmer and mentor Simon Allardice said: "I've met all sorts of programmers, but where the self-taught programmers fell short was knowing when to use the right data structure for the right situation. There are Arrays, ArrayLists, Sets, HashSets, singly linked Lists, doubly linked Lists, Stacks, Queues, Red-Black trees, Binary trees,.. and what the novice programmer does wrong is only use ArrayList for everything".
Most uni students don't have this problem though, for Data Structures is freshman year material. It's dry, complicated and a difficult to pass course, but it's crucial as a toolset for the programmer.
What's important is knowing what data structures are good in what situations and knowing their strengths and weaknesses. If you use an ArrayList to traverse and work with millions of records, it will be ten-fold as inefficient as using a Set. And so on, and so on.31 -
Ok so I have done some work with crypto currency mining pools and recently a client requested for me to make a splash page that showed data from multiple instances of these pools APIs. I went to find some documentation for this open source api and to my surprise there is none. I thought of querying the public API from the clients side and it worked, however it's so slow that the data shows up roughly 20 seconds after the page loads.
Easy fix right? Make a PHP server get the data every 5 seconds, cache it and serve the data with the page and use a websocket for live updates! Until I found out that there is no practical way in this garbage framework to get the damn API data without making an HTTP request or mutilating the original source code. I'm so done with this garbage framework. It literally loads pages based on a page and action parameter on the index.php. I quit.1 -
Fucking Windows Servers, I just wanted to set a login timeout of a few minutes after several unsuccessful login attempts.
(Windows Active Directory for Domains and shit is installed - just an FYI (otherwise this would be slightly easier))
Steps:
- Go to Group Policy Management
- Navigate to your domain in a policy tree
- Right click "default policies" and select edit in the right click dropdown.
(Why not just fucking double click and edit it them in the convenient right-side window? Because fuck you!)
- Navigate another god damn policy tree
(And it's not obvious, it's under Windows Settings... Ok that makes sense, but there are so many nests.. Fuck me)
- And only now can you edit the "Account lockout duration" field
Windows Servers are a pain.. This actually isn't completely horrible, but it gets really annoying, because literally everything here is hidden in weird places behind thousands of click navigations and in between that there's some shit sandwhich UX.1 -
You cannot completely delete a windows service, as long as the services panel is open. The service stays undead and prevents any reinstallation until the services panel is closed.
Thanks Microsoft.
Separation of GUI and business logic does not apply here, because it's kernel logic, right?
But at least you're consistents, there is a similar issue with not installing USB drivers if the new hardware dialog is open.4 -
After I took some time off from work, I decided to accept the offer for maintenance of two projects. Those are from two old clients, so I think I will not stress too much, since I know what to expect most of the time.
The issue is, sometimes I have a hard time to keep concentration. In the past, I could work for 3h straight, totally focused, would pause for 20min for stretch, and then come back to work. Now I can only focus for 30min or 1h, and after a pause, it's hard to concentrate again.
There is a lot going on in my life right now, and I know the worry is probably distracting me. I'm trying to listen instrumental music, drinking coffee... But that's not enough. Somebody has any tip?6 -
It's fucking sad that when you buy a new laptop with good specs, good nvidia graphics, good sound and install Arch Linux because you hate fucking windows and arch way is the right way. But, then Linux fucks you because there is no proper nvidia support and you have to use wine which doesn't support new games and you run frequently into problems like audio (P.s. maybe in linux 4.10.11). You have to configure microphone everytime while using Skype and see some other guy having same laptop playing happily latest games without much burden.😣😣😥😥😔😔
When will Linux kernel be amazing for gaming??13 -
Today I finally experienced the power of something I learned in university: propositional and predicate logic.
Many developers I know think that such education is useless. Well, today I have proven that it is very useful. On a day to day basis, working on banking software, complexity in purely logic is very low. However, we have a screen that must show or hide elements based on some input values and conditions associated with certain elements. How hard can that be, right? Well, there are many variables to take into account and as such it's absolutely not trivial.
This screen didn't work properly and maintaining the code is hard as there is a lot of logic to show/hide, enable/disable things and so on. After quite some time and attempts by fellow developers, I decided to refactor the whole thing. I'm responsible for the quality of the software and it was quite degrading, so I had to do something.
In order to get things working properly, I defined collections of constants (ui elements) and predicates. Then, I defined for which element what predicates must be true, in order to hide/show, disable/enable etc. I then translated these predicates into code. And guess what? It works! Of course it works. It's logic. But I'm very pleased I finally could actually use some of all the math I studied!5 -
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!1 -
Bloody effing hell...
> Senior leaves company payroll
> senior level stuff falls on my desk
> I've been working on a completely different product for almost a year, so I'm still kinda trying to get reacquainted with the product I'm a regular dev resource of
> feel completely lost
> try to implement the feature
> realize it requires a certain package
> package breaks the whole application, completely
> try to debug
> despair
It's this kind of days, when the imposter's kicks in. I feel like this should be a pretty simple feature to implement, and I'm just missing something that's right there before my eyes. I'm trying to remember this sat on the senior's desk for nigh a year, and I know he at least at some point actually tried implementing it, so me being not far above a junior shouldn't feel ashamed.3 -
Can we just stop to appreciate how god damn pretty and well crafted the webpage for this library is?
https://shopify.github.io/draggable...
I may be a semi-competent grunt but if theres one thing I appreciate, one thing I know *when I see it*, it's when someone takes the time to make a really gorgeous presentation.
One of my favorite UX examples right there.
Right up there with the design of Deadspace's UI. -
Look at the picture. I know what you're thinking...
Believe me.
* I executed save all in VisualStudio
* reset all changes in git
* cleaned working directory with git
* restarted VisualStudio
* double checked if it's the right file
* double checked if there are new changes in git
Fuck this. VisualStudio, you suck.
Where are you taking these informations from if not from the project file!?4 -
Dear classmates,
I know our school is shitty as hell, that there is a fucking monitor missing and cables flying around.
BUT DON'T DARE TO LIE TO ME AGAIN. "Can you please move one to the right you're blocking the chair and we want to sit together". YES I KNOW. BUT DO YOU HAVE SEEN, THERE IS A FUCKING COMPUTER MISSING, MAYBE THAT'S WHY I AM SITTING HERE, NOT BECAUSE I'M DUMB AS FUCK AND DON'T SEE I AM BLOCKING A CHAIR!
"We can change later, but we want to sit here for now"
OH YEAH I KNOW. LIKE THE 20 OTHER TIMES YOU LIED TO ME WITH THAT IT'S JUST TEMPORARY. And then you come with come on don't be so childish and your friends start doing so too. WHY CAN'T YOU JUST LEAVE ME ONE TIME ON MY FUCKING PLACE AND STOP ANNOYING ME AS HELL JUST BECAUSE PEOPLE FOLLOW YOU AND LET ME JUST SIT AT MY FUCKING PLACE.
I AM NOT CHILDISH, I AM JUST NOT BELIEVING IN THESE LIES. WHY WOULD YOU WANT TO SIT THERE TEMPORARY? IT DOESN'T EVEN MAKE SENSE...3 -
Any JavaScript developers out there willing to help me out with something?
I have an interview question that I like to ask candidates that no one ever seems to get right. But, to me, it seems pretty basic, so I expect MOST JavaScript developers at almost any level of expertise to get it, and I like it generally because it demonstrates some core knowledge of JavaScript concepts and syntax.
But I want to verify that my feelings about it are reasonable, because give how few ever seem to get it right (and I'm talking across literally hundreds of interviews, MAYBE 2 people have ever gotten it right), I'm starting to wonder if I'm right or not.
Look at this code, and then answer the question after. Please do so off the top of your head and without testing anything since that's normally the experience a candidate would have. I'll give the answer after some time for anyone who gets it wrong but is curious.
But this isn't about YOU getting it right or not, and it's not about whether it's the best way to do something in JavaScript or anything like that, it's just about whether it's a reasonable question and whether my expectation that MOST JavaScript developers should get it right is fair.
const O = {
sayHello : function() { alert("Hello"); }
};
const S = "sayHello";
Question: using ONLY the variables O and S (and you MUST use both), write code that executes the sayHello function.
Thanks!34 -
I'm curious...
I ended up in a job in which I'm the sole developer (state education databases). Good, well paying job. No complaints there, but I haven't been part of a Dev team since my college days almost 15 years ago. I keep up my skills in personal projects.
I use git, like most developers these days, to track my code and move it between my desktop and laptop. However, while I have a GitHub account, I tend to be very"shy" with my code. I usually won't start putting the repository online until the application I'm working on has its intended cute functionality at least... Functional.
That said, I've read articles that suggest developers should almost start their project repositories online right from the start.
My question is... Are there any others like me, holding back their code until it's functional, or do most of you code completely in public (for open source projects, anyway)?2 -
Dear devs, making your software "work" is the least thing you do as a dev. Write tests, write readable, maintainable, extensible code, and ensure that your code runs sufficiently fast and efficiently. Also consider using the right tech for your use case and nature the of the software. It's your job to ensure that your software runs efficiently and effectively, and stop saying "it works" and end there. God forbid you use bubblesort and say it works or do some dumb **** like that.1
-
Right,i consider myself a pretty damn good dev... I can back up everything I say to prove that I'm right on not lying to clients
But I see all these devs who do lie... Who withold data from clients cause it's not great.
And I go to clients and prove that they are lying not doing it right.
But I know saying to them... Oi your current devs are shit fire them ... Isn't a good way to get them as a client
Me and my company are open and honest ... we go all out on all of our projects. I work nonstop. It is seriously baffling the kind of developers are out there and how bad they can be I'm... Seriously just.... Urgh 😖
How should I go about talking to clients without going ... Fire them quick or saying that in a ... More humble respectful way...
I need more clients ... To survive and I don't mind coming across as a dick as long as they understand what's going on and that they are people ripped off by these asshole devs5 -
So, apparently, content entry is front end development.
It's all right there on our old site, just copy and paste it ... Complete with millions of annoying span and font tags you used.2 -
At work everybody uses Windows 10. We recently switched from Vagrant to Docker. It's bad enough I have to use Windows, it's even worse to use Docker for Windows. If God forbid, you're ever in this situation and have to choose, pick Vagrant. It's way better than whatever Docker is doing... So upon installing version 2.2.0.0 of Docker for Windows I found myself in the situation where my volumes would randomly unmount themselves and I was going crazy as to why my assets were not loading. I tried 'docker-compose restart' or 'down' and 'up -d', I went into Portainer to check and manually start containers and at some point it works again but it doesn't last long before it breaks. I checked my yml config and asked my colleagues to take a look. They also experience different problems but not like mine. There is nothing wrong with the configuration. I went to check their github page and I saw there were a lot of issues opened on the same subject, I also opened one. Its over a week and I found no solution to this problem. I tried installing an older version but it still didn't work. Also I think it might've bricked my computer as today when I turned on my PC I got greeted by a BSOD right at system start up... I tried startup repair, boot into safe mode, system restore, reset PC, nothing works anymore it just doesn't boots into windows... I had to use a live USB with Linux Mint to grab my work files. I was thinking that my SSD might have reached its EoL as it is kinda old but I didn't find any corrupt files, everything is still there. I can't help but point my finger at Docker since I did nothing with this machine except tinkering with Docker and trying to make it work as it should... When we used Vagrant it also had its problems but none were of this magnitude... And I can't really go back to Vagrant unless my team also does so...10
-
Right now. It's happening. I'm sitting on one of those seemingly impossible issues. I'm reading the exception and can't fathom how it can be true. I mean, the evidence is right there! The error message must be wrong! But that's the thing, it never is. It's always something stupid and obvious. After you figure it out, you shake your head and laugh at yourself for not seeing it. It's all shits and giggles after you figure it out, but that's not where I'm at right now. Right now I'm being laughed at by this stack trace. It's mocking me even!
Jokes on you though, because I'm coming for you!!2 -
It's 1:20 AM and after about 5 hours of pushing and tugging I managed to finally get Unity Hybrid ECS working. Every guide on the internet is filled with outdated crap, and one of the last results (which is not mentioned in the official docs) is Unity's in-house samples, which are up-to-date. And it's actually really fucking simple.
I'm experiencing an emotion that's right somewhere in the middle of euphoria and bloodrage. But at least I can now make steps towards integrating ECS into my game.
edit: On a related note; is there still a difference between hybrid and pure ECS? The only way I can see people actually doing this is by converting their GameObjects to entities with a script in the Entities package, and then squishing pure IComponentData's in ComponentSystems.2 -
Looked up at the clock... 2 AM... Thought about giving up and going to sleep, but something kept me there...
Rewrote my encoder and decoder for my steganography program, which are used to insert and retrieve data respectively from images. Compiled, ran, and output was as expected!
Tried to write actual data, instead of just headers, to the image, and it broke... Of course it wouldn't work first try, it's me writing the code after all.
But then, after debugging for a while and changing a couple lines, the encoder looked like it had done its work properly. Then I decoded it, and voila, data completely recovered! It almost felt too magical to be true, usually I have to modify a lot more to get it working.
So now I'm in bed, after literally decimating the memory usage of the program, amongst other optimizations, and I know that the code works perfectly 😎 best part is I refactored each class down to 100 lines each, so now it's clean and dense 😇
Just had to share, feeling so good right now 😄2 -
When I was younger I had a decision to go into hardware or software. I chose software and have loved it.
Recentily I just spent 5 hours trying install a Linux distro on an old server. I made no progress.
I made the right decision. Hardware freaking sucks! You spend hours working on outdated pieces of crap and find that to fix your problem you need to sell you kidney to finance your project. Not to mention you have to wait for literally everything! It's like gradel builds everywhere! Want to install a new distro on your USB? Bam, 5min gone. Want to boot into bios and change one setting? BAM! more time wasted...
A note to the sysadmins out there: thank you. I love you. I am so happy you do this kind of work so I don't have to.3 -
I really hate it when I work on a user story consisting only of a cryptic title: "Implement feature X".
Esp. when I missed planning during a holiday and can only wonder who in their right mind would have given it 3 points.
Why thank you.
Sometimes, just pulling the acceptance criteria out of somebody's nose takes days. It doesn't get better once I realize that not all external dependencies have been properly resolved. It's worse if there are other departments involved, as then you get into politics.
Me: "We are dependent on team X to deliver Y before we should have even planned this ticket. I'm amazed that our team was even able to estimate this ticket as I would have only raised a question mark during estimation meeting. We could have thrown dices during estimation as the number would have been as meaningful and I'd have more time to actually figure out what we should be doing."
Dev lead / PO: "I understand. But let's just do <crazy workaround that will be live until hell freezes over> temporarily."
It's borderline insane how much a chaotic work flow is branded as agile. Let's call it scrum but let's get rid of all the meaningful artefacts that make it scrum.1 -
We got new workstations today and the following happened:
Me: We got your new workstation but your screen doesn't have the right input to use it, so we'll exchange it too.
Her: No! I love that monitor!
Me: Well you won't be able to use the computer if you don't wanna change it.
Her: There has to be a different way!
Me: Okay I'm going to get some adapters and we'll try again.
After literally 30 minutes of searching I finally made it work.
VGA->DVI->HDMI->DisplayPort
That just felt so wrong.
Me: So it works now
Her: Thanks but why does it look so bad?
Me: It's because of the old monitor.
Her: Oh... *10 seconds silence* Then I'll get a new one.2 -
I'm frustrated with an abundance of different *Ops we're having right now. You can spell a random word followed by "Ops", and it's probably a thing. I get that Ops people in general are important but when there is stuff like GitOps, MLOps, FinOps, it gets confusing pretty damn fast. There's no value in all these titles besides "duh" usually, since Ops are just Ops in most situations. They kinda can slap a tracing tool or two on top of your code base but in general they just do Kubernetes (with whatever's hip like Jaeger, etc.) nowadays and that's it. Hell, even "DevOps Engineers", for a majority of cases you'll encounter, are basically just Ops with a misleading prefix since it's just a way people call them nowadays for whatever reason.3
-
Realising that my skills were stagnating and there was no opportunity to improve them or grow my career.
After 5 years in the same job (longest I've held) I started looking for a new one.
I'm now in a new job, doing much better work (even if it's a little chaotic right now) with the potential for growth in the future.
Whilst I loved the old job in terms of the staff and the atmosphere, I now couldn't be happier I made the decision.1 -
!dev
People these days...
At a bakery 3 girls didn't bother to clean up after themselves although the only thing left to do was to t aske the tray and dump it's contents into the trash can WHICH IS ON THEIR WAY OUT. Yeah but have enough time to cake on rediculous amounts of makeup...
Someone literally shat at the tram stop at the main station so whenever took leave the tram you might just step into it.
Then there are always those religious people trying to hand out pamplets about how great their religion is and how much it is helping- they stand right next to a crippled homeless begger.
Just wow.9 -
Seniority sucks sometimes.
Today I took the time to figure out the API for a shipping website.
I was super proud of this and figured that this could be useful for our application but the guy who has been there for 5+ years was like "no we have used an API for a previous client and caused the application to slow down by 1.2 seconds."
Of course in my mind I'm like, "but what was the API that you used? When I use it, it's running and returning in milliseconds. Surely you're not doing it right."
Of course because of his seniority I'm not going to say that.
It just sucks a lot because I spent a lot of time reverse engineering the API. It would have been nice to have been noticed for that work.5 -
Fruit Machines... Kind of a dev rant, I mean, they have software running them now, but my gripe is the hardware (I think).
Any of you that frequent pubs and use fruit machines notice that many of the LEDs are "broken" / "non functioning" lately? I mean it's rare I see one that doesn't have lights that are out, rendering the entire machine useless, yet it still takes your money.
Intentionally made to break? Or are LEDs really that difficult to get right? Or maybe it's software determining which ones to appear "broken" and there is a way reset it?
It's a rant none the less...7 -
So I was looking at my imac... While baked... And my iPhone X... And... I wonder if I could simply create an apple script (I guess) that would throw an and/or on the Apple TV and the or would be iMac... Just slide it in there...
So if I explained this right it's two cranberries on a pumper nickel five In five out on the dock ah yatzee!2 -
So... our software is... really old. Part of it was built 20 years ago in Delphi 6 and is still used to this day. It's an automation tool, which supports some scripting... In WSH. Meaning, it only supports JScript (that's right, not javascript, just JScript, the 1998 version), VBScript, and through the use of activex, Python or Perl.
And even our *newer* software, built a couple years ago, just released an update where the HTML rendering engine was updated... to Gecko 38, the version from 3 years ago. And the JavaScript engine is Rhino, the "old" one now replaced by Nashorn a few years back, and barely updated since.
But... there is *some* light on the horizon. The very newest automation tool now has a new plugin, which is based in NodeJS. Having just installed this newer version, I looked in the files to find the nodejs.exe executable... to find that it's on version 8.9.4. Ok it's not precisely the "latest" version, but knowing the history of development for these things I almost expected node 0.10.
It's great news in all this ancient technology I have to deal with. When's the *last* time you made an HTTP request using this code?
var http = new ActiveXObject("WinHttp.WinHttpRequest.5.1");
http.open('GET', 'http://example.com/', false);2 -
Oh God, how I hate a new windows laptop.
The machine just stutter for simple things. I literally spent almost two hours to download a 2 gigs .iso file.
With my speed test as normal as it always was with my previous and slower machine.
The worst part is to install another os.
I struggled to find an option in BIOS to disable Intel's RST. Which was a no no because Ubuntu couldn't understand it's config.
There's an app that comes pre installed to manage these settings. And the sucker didn't have any option to disable. Why? Because It's deprecated!
I spent 5 hours to understand that l needed to access the machine BIOS and activate a hidden option (did you think the option was right there huh?) in order to remove Intel RST.
Oh God how I hate tech monopoly.
Now my machine can breath without shitloads of unused apps and garbage "file checkers" and "anti viruses" that comes pre installed.
And things download super fast without any struggles.9 -
Hi guys. It's unicorndev again.✨
Yesterday I made a post on a CLI app that brings your Github feed to the terminal. And the response from you guys was very nice. Since that was the initial release there were some minor bugs and issues left. So I just released v1.2.2 with some of these issues fixed ex:
- Filtering out depandabot events.
- Detecting Github user name the right way.
- Adding update notifier for future releases.
If you installed the tool yesterday then please update it to the latest version. Thanks :)
https://github.com/RocktimSaikia/...2 -
We've been using JIRA for over half a year now, and my colleagues still can't use it properly.
I've never had the problem, but to some amazing technological feat, every time they create a ticket, it "disappears", so they make a NEW ticket with just the title references to the actual one.
Love my daily review of JIRA, it's like a fucking raiders of the lost ark scene.
"ooooo what does this one mean, perhaps there is a clue if i shine a light on it just right"
jesus christ incompetence is rampant3 -
!dev
There are two weeks left until the PhD application results are published. But I'm having such awful nervous breakdowns. I don't even know, if it's anxiety or if I'm literally dying inside from something else. From an almost-heart-attack today when I got a trivial and unrelated bad-news email, to keep having weird dreams about things like end of the world and post-apocalyptic life, or being jumpy all the time.
... And it's not like it's life or death, I know that. I know that I can do other things if this doesn't stick. I know things will workout the way they should; I know all of those. But there's just something destroying my physical and mental health right now, and I don't even know if it's just the anxiety for the next big step in my career, or something else, or how I should deal with it.
... Anyways, amannoyed.7 -
I just had a nightmare like I open the fridge and there is a cup with rotten slices of ham inside it and I look around and there is my ex with 8 hands telling me to E A T I T
and there is a feeling of complete helplessness and immense fear like I'm going to die right there. It's like suffocating in your sleep it's awful1 -
!rant
May I suggest an email service?
I saw this post recommending the Vivaldi browser (https://devrant.com/rants/1544070/...) and there was a discussion a few days ago about how email providers snoop around and sell data. I can't find it anymore, but noone mentioned protonmail.ch there.
I just wanted to share my so far positive experience with protonmail. It's a fully encrypted email service that was first used internally by some Swiss academics. Now they made a product out of it with paid subscriptions and a basic, free account. They already open-sourced the front-end web client and are planning to do the same for the back-end in the future, which is really cool. Oh and they have really nice email clients for iOS and Android, which have higher ratings than gmail itself in the Play Store. But that might also be because only a special audience uses protonmail and not the regular guys.
So, I suggest that you register an account there even if you don't want to use it right now. The free account comes with 1 email address and storage limitations. But it's usable and ad-free. Since it's still quite the new service, many email addresses are available. Just like gmail in the early days. That's why I'm suggesting you go and register even if you don't need it now.
Oh and last but not least: I'm not affiliated in any way with protonmail, except for having a paid subscription. But I believe things making the internet a better place should be promoted and devrant is definitely the community with people thinking the same way I do. Have a nice day.9 -
9000 internet cookie points to whoever figures out this shit:
I'm trying to import a secret gpg key into my keyring.
If I run "gpg2 --import secring.gpg" and manually type each possible password that I can think of, the import fails. So far, nothing unusual.
HOWEVER
If I type the same passwords into a file and run:
echo pwfile.txt | gpg2 --batch --import secring.gpg
IT ACTUALLY FUCKING WORKS
What the fuck??? How can it be that whenever I type the pw manually it fails, but when I import it from a file it works??
And no, it's not typos: I could type those passwords blindfolded from muscle memory alone, and still get them right 99% of the time. And I'm definitely not blindfolded right now.
BUT WAIT, THERE'S MORE!!
Suppose my pwfile.txt looks something like this:
password1
password2
password3
password4
password5
password6
Now, I'm trying to narrow it down and figure out which one is the right password, so I'm gonna split the file in two parts and see which one succeds. Easy, right?
$ cat pw1.txt
password1
password2
password3
$ cat pw2.txt
password4
password5
password6
$ echo pw1.txt | gpg2 --batch --import secring.gpg
gpg: key 149C7ED3: secret key imported
$ gpg2 --delete-secret-key "149C7ED3"
[confirm deletion]
$ echo pw2.txt | gpg2 --batch --import secring.gpg
gpg: key 149C7ED3: secret key imported
In other words, both files successfully managed to import the secret key, but there are no passwords in common between the two!!
Am I going retarded, or is there something really wrong here? WTF!4 -
!rant
A colleague of mine has made the right and brave decision to quit. For her it's absolutely the right decision but I hate how the company was OK and did nothing to keep her. I'd like to give her something small when she leaves. I was thinking about a book. Does anyone have any suggestions that might be a nice going-away and good-luck present for a valued colleague?
Is there a book or something similar in size that they really cherish and wish they had had sooner?7 -
(Questions below.) At this point I probably just whine about job search in IT w/o much commitment. It's because I don't learn stuff from interviews and have no willingness to prepare for primitive questions from HR's book. You know, stuff like: "What was your experience on previous jobs and why you quited them?" and "What are your advantages and cons?"
Even though I see them a bit discriminatory. I barely find words and make them audible alrite, and so rush to the stack questions. I answer 50% of them in average, 20% ideally. As a result, I get no conclusive offer. Fair... probably not. Doesn't matter.
All of a sudden, idea chimed in to make a personal website with all of the frequent questions answered in advance. At last, I've got some time to make the decent replacement of the CV into a landing page that communicates my professional and emotional ability to headhunters.
TL;DR: I wanna make my personal website portfolio and I need your word about the following.
1) Can I make up for the absence of my own live projects with OSS commitments or other smooth talk?
2) Is there a merit in answering the common interview questions right off the bat in written form?
3) So, I already prepared 4 conclusive theses with thoughtput choice of words, that I wanna place as a grid in first scrolling section. I call it "Principles", but perhaps there is a synonym to this one or it's good as it is?
4) I don't want to represent myself as a blunt set of "features". How do I transite into explaining the usage of my stack in these circumstances? Less text better, right?7 -
"learning" html and css
So, there are these courses in my school, "ÜK" ("Überbetriebliche Kurse") we call them.
It's 5 days, a Tuesday to Thursday, next week Tuesday and Wednesday, last day in the afternoon we have a test.
Today is that Wednesday
I know html and css pretty well, so if was pretty easy, I didn't even bother to do some of the tasks we had
I did look through the book over the weekend to make sure I knew my stuff right
Now, the theoretical part of the test had stuff like "colspan" witch was nowhere to be seen in the book and PowerPoints, and some stuff was just unclear as fuck, seriously...
*looks up colspan*
Apparently it's a table cell that spans two columns, or more, if you want to
I never needed something like that, and we never looked at it, that's why I didn't know about it.
There where other unclear questions as well, so I went to the teacher after the test and told him.
He gave me an empty test where I made an X for stuff that wasn't in the book or the PowerPoints and wrote a bit for the stuff that was unclear.
I did know some more then some in the class, so I generally xed the stuff that we didn't learn
The teacher will correct it accordingly, and cut out the questions that we couldn't have known.
So that's at least something
For the next class, he's going to have some "theoretical learning" or whatever he called it
I mean, in the end it's fair, but it annoys me that these courses aren't as well thought out as they should be...
So after this course I can say:
I DIDN'T LEARN A FUCKING THING
Btw, the second part was changing a website up the way its telling you to, that was easier the the theoretical part, witch was ticking the right fucking box...undefined html & css grade stupid questions fuck lack of examples get your shit together css html fuck this shit know-what-youre-talking-about theory is bullshit fuck learning5 -
I got yet another scammer calling me, this time it's something wrong with my computer LOL calling from Microsoft.
I flat out said this:
OH so you're a scammer right? Because there is nothing wrong with my PC.
I know I was supposed to post the other number on 4chan, but where exactly would I do so? there are so many categories and I'm new to 4chan
The guy hung up immediately!
Here ya go: 05967175950 bastard deserves to go to jail scamming normal PC users out of their information!3 -
I've got a user who keeps asking for weekly updates on a project I'm on and my pm is supposed to interface with them and give them the status. But my pm comes back to me like "so everything is good right?"
When we just talked last week about how it's not and I still have work stoppages. I have status updates written in our ticket tracker for him and he has tons of emails explaining the issue but he always forgets what the status is anyway!
Jesus, having to keep reminding someone of something when the information is right out there for them to grab quickly and easily is bloody annoying. He just neglects this one project! I'd cut out the middleman but I need him because I don't know enough about business rules to make decisions or ignore concerns that crop up in my planning!3 -
https://nitwhiz.xyz/projects/...
(Not mobile friendly)
Did this back in the days when this whole audio api thing was new.
It's a sampler, with space you can record in any of the tracks (the letters) and with your numpad you play the sounds.
You can distord the sound with hi/low filters by using your mouse on the right side.
Also there are different kits for the keys.
And it's able to record your work.
I aimed on creating something a bit like the kaoss pad. -
We find our hero, fullstackclown🤡, again harrowed by idiotic management.
Our backdrop and set: A Google calendar appointment was booked between the managers and fullstackclown. fullstackclown had created an all-day appointment for today which reads: "fullstackclown on site".
With the scene set, let us begin our tale..........
Manager: Are you going to be on site today?
fullstackclown🤡: Do you see the appointment I booked on our calendar stating that indeed I will be on site today?
Manager: ...
fullstackclown🤡: you are an absolute idiot
Manager: ...
I literally don't know what to do anymore. I mean it's RIGHT THERE IN YOUR CALENDAR. HOW MUCH MORE CLEAR DO YOU WANT IT TO BE?! DO YOU WANT A TWILIO APP THAT SENDS YOU A PRERECORDED VOICE MESSAGE IN MY VOICE, CONFIRMING MY CALENDAR APPOINTMENTS?!
What type of mindset causes this type of behavior of double or triple checking things as simple as a calendar booking? Honestly shows a complete breakdown of normal mental functioning in my opinion.5 -
although i haven't posted here before i figure now is a pretty good time. so i'm 15, moving onto 16 beginning of next year, and i have been programming for about 3 years. be already done some freelance work and am actively working on a relatively large project. however there are a few things that are bothering me and concern me in regards to the future and what my outlook is like. right now i don't feel like i'm progressing or learning, and i'm unable to work as fast i had when i originally started. when i was still learning i was able to design and build things within a week, now something that would normally take a week takes nearly a month or two for me to complete. i haven't noticed any changes that might cause this but i feel it's something others have experienced. i've also been experiencing some oddly scary thoughts- quitting. it's resurfaced many times now and it's rather frightening, i have no other interests, besides scuba diving, that thoroughly peek my interest and i just can't imagine not programming. anyway my thoughts are pretty jumbled right now, just needed to get some stuff off of y mind2
-
My monday started with boss calling me at 0730 asking if I could do a support-mission at the offices of the local landfill - this because 2 of the support people had called in sick and we where short on manpower. RIGHT! I said, with a sense of dread and disbelief. ended up spending much of the day there. fixing everything from default reader of pdf to calibration of mouse sensitivity.
It's not like I need to code or anything, since I am working on two different projects and in competition of a third. Finally came back to the office after been at the landfill until lunch and got another support mission; this time internal mission. namely write out from our companys database and import the data to an absolute atrocity called PowerBI so our accountant get the numbers......... FINE!!! I'll do that too, but dont come to me and cry when the project delivery date gets postponed into eternity!!!3 -
Any professional pentesters or someone working in cybersecurity as a profession? I need some advice. The company I intern with right now wants me to test their web applications for security (they really don't care so much about security). I just wanted to know is there a standard set of procedures or a checklist that is usually followed? I know automated testing is not all that effective against web applications but what are the steps you usually take?
As of now, I have run tests and am now performing a code review but it's in PHP and I'm not really good with it. I'd like to know what more is done as a standard please.2 -
Disclaimer!!!
Do at your own risk.
-----------------------------------
- Take a strong magnet, like a neodymium magnet.
- Hold it in your hand.
- Move your hand across a Macbook 15"'s keyboard. Say from left to right or vice versa. Almost touching they keys.
You'll see the screen dimming. If you just hold it there for a little longer, it'll lock your macbook. It's funny, but I am not sure if it's doing some damage to hardware.8 -
I gave a rant yesterday about this. But I have to say it again because it's so gratifying. It went like this
Me: "you should patch the module instead of using it for your python unit test."
Them: "You keep telling me this, but maybe there is a better way"
Me: "there is, I'm telling it to you"
Next day, Code review.
Me: "You need to change this"
... silent on the issue ...
On a call...
Me: "You need to patch the module. Don't mess up the namespace."
Them: "I don't think so, X did the work"
(In my head: then what did you do)
Me: "We can grab whoever you like Y, X. Let's see if X is busy"
... X isnt busy, hops on call 45 seconds later.
Me: "we're using the module, we should patch this'
X: Muses the thought for 2-3 seconds.
X: "yeah... Yeah we probably should patch that"
Moral of the story, don't take shit personally unless your right... Then relish in. But if your right and X says otherwise, you can always + a rant. -
I hate to offer some unsolicited critique of something I happily use for free... but I have to say this somewhere to just get it out. That's what this place is for, right?
The new MDN visual design fucking sucks.
It's like a purposeful example I might make for my students - of "what not to do." There were a few things they could have done to improve MDN for sure. Instead, they didn't improve it. They just "changed it." That is always a bad move. Now everything just has less contrast and is floating around with nothing to anchor it. Didn't they show it to anyone and get feedback along the way? "So, we made all the fonts closer to the same size, removed any differentiation in weight so that everything will look the same and just kinda blur out and put people to sleep, and just in general dulled everything out as much as possible - and also here's this logo thing too."4 -
I found the best text editor for basic code fixing
For a couple of days, I was looking for a simple terminal-based text editor for taking simple code notes or basic code fixing kinds of stuff.
As an aspiring developer, I really like the concept of coding without touching the mouse.
So I downloaded the king of CLI text editors, Vim.
Now, guess what happened.
Yeah, you're right. I stuck inside vim and couldn't even quit from there.
Then, I started watching a bunch of tutorials and started reading vim's documentation.
But then I realized, I have to learn a lot of things only to operate vim and it's a pretty lengthy process.
At that time, I really needed a very simple text editor for doing basic stuff.
But, vim is not simple... you know :)
So, I had to come back to 'nano' & I was not happy enough to write codes by using 'nano'.
Suddenly, I discovered another really cool text editor called 'micro'.
It's really awesome.
It's not as advanced as vim but definitely a lot better than nano.
Micro is an open-source command-line text editor created by Zachary Yedidia.
Some basic key points of Micro:
1. It's really easy to operate.
2. It has different colours and highlights.
3. It supports syntaxes for over 70+ programming languages.
4. It has mouse support.
5. Plugins & colour schemes.
The best thing for me is colour schemes & screen split support.
Check out my full article on DEV - @souviktests.20 -
Imagine this scenario:
You'll no longer be living the life you got accustomed to. You'll no longer be seeing people you used to see and interact almost everyday. It's quite overwhelming feeling when that reality hits you.
That's how I'm feeling right now. It feels weird. A major part of my life since over a year will no longer be there.
Though i hated most of my time there, it still feels.
😑3 -
A day in the life of @C0D4
Yay it's Tuesday.....
So morning goes something like coffee, yea no coffee no @C0D4, get to the office, get busy with normal morning routine - run the almost automated scripts I have to run - delete the 100+ emails I don't actually need from last night, read the 2 I do care about - yea 2 freakin emails out of 117 🤦♂️
But what ever that's what outlook rules are for... except I actually have to glimpse over them all just in case something of mine broke.
Go get another coffee,
Start working through the days tickets - ok cool nothing major to worry about, let's get back to writing tests from yesterday.
Well fuck that was a bad decision, no matter what I do this little fucker won't pass, yet doing this process step by step, detail for detail, it works - no issues, but automate this fucker and it screams its head off.
So fine, I give up and go to lunch,
Come back... spend next 3 hours on this 1 problem... 1 FREAKING problem 🤦♂️🥴🤦♂️🥴🤦♂️
This thing has beaten me, and for no apparent reason - it just doesn't like running under a test scenario.
Would have given up hours ago, except its a vital piece of code I'm trying to cover 😑 of course it is.
Well somewhere in there I managed to do a deployment for another project and change a few things in there.
This week is starting to look like hell,
Yay hump day tomorrow!!!!!
That's something, the week is coming to an end.... right? Please.... right!!!5 -
hi, i have a question of a darker note, hope you won't mind.
How do you deal with monotony at work ?
The more experienced i get, the more my work becomes monotonous. I understand that it's impossible to know everything, but i feel as if there's not that much knowledge left for everyday work.
Sure there will always be new scenarios and more advanced/marginal stuff, but they don't appear that often.
i get depressed (not clinically, just very bad state overall) when i stop learning, which is why i've been strugling quite a bit recently.
i have ~3 years in web dev. So i'm not some kind of guru or anything even close, but this is the problem i have right now.
i've been thinking about switching languages or specialisation (i do enjoy DevOps/sysadmin work), but i'm afraid i'll have the same problem pretty soon...13 -
Had to get my car looked at because it kept veering to the right, and my team decides to meet to work on our website without me. "You don't have to be there. It's fine." Next day, I learn that they finished a lot of the website and there's not much left to do. No, it's fine. I only wanted to contribute the ******* simple backend stuff and look like I contributed nothing to the website.
-
Fuck FE development. Tweaking or adding some stuff is OK, but making the whole FE from zero is a pain for me. Vanilla JS is OK, but I need to use Angular, which I don't know how to use properly. Generally, right now I find FE as a big confusing mess... Why Angular? Because fuck React - it is even more confusing. I just can't keep all these things in my head... You want to add something? Fine, add a dependency, import, export it, import again, that shit does not work alone, so you import another shit... IDE says it's all good, look it's up and running! But you open the app and it's not even loading because of errors. Another module missed, ffs. IDE can't really save you here, sigh...
I am a BE dev, I am straight out bad at FE. I don't hate FE, but I hate that I am forced to do it and I need to do it fast, without having time for learning it.
Ughh... I feel somewhat better now :\ Now back to making there modules work...13 -
A house with an elevator that is just wide enough for one person standing sideways, and it can also travel horizontally between houses. Also, near an entrance, there is an orchestra pit, but it's filled with expired smoked meat. There is also a garbage chute, but it's just a well right in the middle of the house between staircases. It also has bars and mesh instead of walls, so everyone can smell everything. It can only be emptied from the roof.6
-
What should I do to practice being a "good coder" vs a "code Googler" who slaps other people's code into the site just because "it's enough to get the damn thing working"?
I feel really overwhelmed with all that Ive learned thus far. At this point I feel width with know depth when it comes to my knowledge of websites.
I've been messing around with html/css/js for a while and played with plenty of other languages,pre-processors, frameworks, etc. I never went to school for programming and have done work for small businesses independently for some time. Most of what I know comes from codecademy treehouse and similar sites. I can refer to Google on a lot of things but I feel like there are habits that I should be implementing so I don't have to re-do things later. I love the book apart series but I still feel like it's missing the foundational knowledge that I'm looking for.
After all of the time I've spent going through courses I feel like my experiences have given me solutions to build a few things and now I'm just jamming those solutions onto whatever I can until something I like comes on to the browser.
It's really easy to sit down and bang my head against the keyboard until something comes out that looks the way I want it to. However, I know there is way more going on that could help me make better decisions. I just feel like I'm missing something. Maybe it's experience, or maybe it's just the lack of commroddery from working alone and not being able to approach problems with a team.
I hate pulling up my css file and feeling like it's rubbish, and feeling like I don't completely understand things like flex, or display, or position. I've been pushing at this for a while but I don't think I've found a resource that has really made me feel like I'm anywhere close to being a competent coder.
There are tons of watch and learn and do type classes that show you how to make stuff, but I guess what I want to know now is why we make it that way.
At some point do you just sit down and read the MSN start to finish?
I wonder sometimes if my brain has been reprogrammed because I grew up in Google world and don't actually have to solve anything for myself. I read about a guy who locked himself away for hours with books on code and he just sat there and wrote his code on paper until he was confident that he was getting it right.2 -
Challenge questions are so goddamn stupid.
Apparently I have an account with a certain online organization though I don't remember setting it up.
So naturally I had no idea of my username or password, so they asked me challenge questions.
It asked me the city of my birth, which is a place with a weird spelling. Because of that weird spelling, I never remember if I'm spelling it right (I was only there as a newborn infant) And I'm also supposed to remember if I capitalized it or not.
I hate challenge questions. And anyone doing any remotely simple research on me shouldn't have trouble learning what city I was born in so it seems to me it's a security vulnerability, nothing more.
And maybe I'm giving things away by saying it asks me that question, but it's a common security question any hacker would anticipate anyways.3 -
I fucking hate people who want to "perfect" his shit before push his code. Yes damn right. That means he doesn't fucking push his code until it's too late and his "perfect" shit will break everything. Not to mention the cry face he has when there are shitload of conflicts.
-
I'm studying atm and I survived Haskell, SKI, ... now, in the second semester we started with Python (yeay ♡) and Java (that's fine).
One of the first exercises is about installing Jython ('cause it's good, right? /sarcasm off), using the lecturer's module and write some code for it. It's about painting some shitty graphics *gasp*...
I use PyCharm (not really necessary for these crappy exercises) and programming on Windows and/or Linux.
Downloaded Jython, installed it, set it as interpreter - works fine (win10, pycharm).
Some students got weird errors using linux - for me it's the same but meh Idc.
Today I tried using Jython on my notebook, too (win10, pycharm). Downloaded it from the Jython Project website. Can't update pip, can't run modules - error is about fckin charsets...
Some other student figured out - wrong version of Jython. The newer version has some bug fixes.
2.7.1 is the one and only - the download section of their website offers 2.7.0 as latest release...
So - how to know there is a version 2.7.1?
#1 version control website = Wikipedia
So... there is a blog, guy's writing about this release - this installer is hosted at maven central. Yeay. Obvious. Thanks.
Can't describe such stupidity - maybe it's the user again 😂 -
You ever sit down to code, all pumped up and ready to conquer the digital world, only to have your computer decide it's the perfect time to install updates? "Sorry, can't work right now, I'm busy optimizing your experience," it says, while you sit there twiddling your thumbs and wondering who asked for this update in the first place.
And let's talk about variable names. Who thought naming things would be the hardest part of programming? You start with `count` and `index`, but by the end of the project, you're using variables like `reallyLongVariableNameThatDescribesExactlyWhatThisThingDoes`. It's like playing a game of how many characters can you type before your fingers revolt.
Then there's the joy of debugging. You sprinkle `console.log()` like breadcrumbs through your code, trying to find where things went off the rails. Half the time, you realize you've been chasing the wrong rabbit down the wrong hole, and the other half, you discover the bug is some obscure edge case that you couldn't have predicted in a million years.
But hey, it's not all doom and gloom. There's a weird satisfaction in solving those coding puzzles, like when you finally get that algorithm to work or refactor your code into something so elegant, it feels like you've sculpted a masterpiece out of digital clay.
So here's to all the coders out there, navigating the ups and downs of curly braces and semicolons with a mix of determination and exasperation. May your code compile, your bugs be minor inconveniences, and your computer never decide to update right when you're on a coding roll!!3 -
You know what makes no sense and sucks?
I call it "metamedia" (whatever dafuq the genre is actually called).
I mean these books/podcasts/movies about how someone did something. Actually more or less it's just a biography of some dude who did something somewhen, called "The <name of dude> principle". And most of them could be just a really long interview in some newspaper. But there is no money in newspapers, right? Better publish it as book and all the other platforms/things used for enjoyment before this storm of biographies started.
Audible is full of these and I do enjoy informing myself about the success of some Elon Musk but at some point its fucken enough.:D -
I've just found out that the web app I'm working on right now has been first created in 2008. It's been there for nearly HALF MY LIFETIME. 😥🔫
-
The Missing Button Paradox: The time it takes for a presenter to find a button on their screen increases based on the amount of participants who can see the button and try to help the presenter find it.
-
None...
My work desk is ordered chaos. It's an unspectacular white desk.
To the left paper for taking notices... And a collection of notes highly unordered.
In the top left corner of the desk the router.
Middle (front to back): Color sorted post it's with my backlog and all the stuff that I need to keep track off.
Keyboard, Monitor
Right (front to back): mailboxthingy, post it block, utensilo (made of bamboo)
That's the working desk. Like the "shining knight in armor"....
Next to the working desk is the play desk, a large kitchen table with a 5mm thick black rubber (keep your dirty thoughts for yourself ;)) as insulation and scratch prevention.
There is usually utter chaos.
Banana PI R2, test router, old hardware, hardware storage cabinet, screw and other small part cabinet....
And to the right is a large chest of drawers where I cram everything in that doesn't belong anywhere.
I'm pretty boring I guess.
Except you are kinky for old hardware and lots of weird stuff noone uses nowadays...
Then you're in heaven I guess.1 -
SCW (Secure Code Warrior) IS TOTAL, COMPLETE AND UTTER SHIT!
I keep finding outright and definite mistakes... for example: two solutions that are 100% identical - I copied and diff'd them to be sure I wasn't stoned... the code they show has ZERO comments, so you have ZERO context for anything (and it's written like shit on top of it - I'd fire a motherfucker if they turned in ridiculous crap like this regularly)... I've found answers where one is a subset of another so the "superset" answer should be considered correct as well, so you effectively have two right answers (in other words: this is one of those "you better pick the EXACT answer we WANT you to pick, even if another is TECHNICALLY correct too, doesn't matter, you gotta divine which WE say is right" situations)... there's not enough information given in some cases to even realistically attack the problem... and so on.
It's just fucking garbage, but now I HAVE to get a passing score on the fucking thing to meet a work requirement and you think anyone is going to give two shits if I point out the problems? Of COURSE not! Just need to check the box, so now I have to waste hours of my day fighting through this horseshit just to say I did it.
Is there any value in it? FUCK NO! It's actually NEGATIVE value since now I'm not doing what I'm actually paid to do.
And the worst part is I absolutely, 100% know all this shit! It's not like it's a problem because I fundamentally don't know the concepts. But because your platform is a joke it's making it a nightmare for me.
FUCK THIS SHIT! Friday is over early because of this, I'll bash my head against the wall again on Monday.2 -
Nearing the end of the year, and all I'm thinking is that I'm just making bad decisions left and right. And these are like long term decisions, that don't show results until much later.
It's making me really depressed and it's not good.
There are a bunch of should haves all littered throughout the past 3 months and it's really fucking with me.2 -
Okay, THAT was trippy.
Soo.. I slowly srart feeling uncomfortable. It's that feeling when you want to move your body to make it go away. Stretch an arm, move a leg or smth... Alright, no biggie - let's move something. But then my focus is overwhelmed by darkness. Hmm... I must be asleep. There's some soothing humming noise in the background. And that feeling's still there. Aaaahh, the numbness is now going away - I must've moved smth! Good job! Drowning back into sleep now. It's ssooo ssweet...
*outage*
*notions of awareness*
huh? What's that? Oh, right, I need to move again. That humming sound is so relaxing.. I'll move smth to change that status quo. There, much better now. Let's keep the eyes closed and drift back to sleep. It's so dark though...
*outage*
*notions of awareness*
ahh, that feeling again. Come on, I've moved like 4 times already. Well alright, alright, it's better to move that open my eyes or roll over.
Wait...
I can't roll over.
I can't even move my hands. Fuck, must be that sleep paralysis kicking in again. No biggie, it'll wear off if I stay aware long enoug........
*outage*
*...?...*
...nough. What? Did I nod off? That's weird. Meeh, nvm. Why is it so dark though... Okay, let's try to open the eyes. *attempts going on for ~a minute*. No luck. That humming sound, so soothing...
I feel some clothing on my - must be the blanket. So warm.. Nice.I'm feeling - prolly the paralysis is wearing off! Good. A few more minutes and I'll be free to roll over
let's try the eyes once again. Hhhrhrhhh! Nope, not working. Wait, what's that? I turned my body! But somehow...Weirdly. Too easy. There, I did it again! Why is it so easy and I am still feeling paralysed...? Wtf is going on...?
That humming. What IS it..?
Wait! My eyes opened! It's pitch dark in here. Why...? Usually there's at least *some* light in the room. Am I still asleep? Naah, that's not it.. I'm turning my body again. Why did I do that? Wtf is happening?
That humming sound is getting louder and louder, taking all of my attention now.
What is it I'm feeling with my feet? It's hard. And cold.
Wait... AM I STANDING??? What the fuck?!?
Why am i standing??? And that sound - that's... That's... A vent fan in my bathroom!!! Am I standing asleep in my bathroom...? In the middle of the night...? Facing the mirror...? With the lights off....?
WHAT THE FUCK DID JUST HAPPEN?!?!?
HOW THE FUCK DID I GET THERE?!?!?
How long have I been here...?
I HAVE QUESTIONS!!
Fuck it, I'm tired. Time to go to bed. It'll be one mindfuck of a storry tomorrow though...5 -
Im taking an AP class for Java at my school. (AP is like an honors class). But there is an standardized test throughout the US that everyone takes. But it's so annoying because you are not allowed computers on the test so you have to HANDWRITE all of your code. So the way we "practice" for the test is in our class is we use a buggy ass program called greenfoot which is worse than writting in notepad because it crashes every 5 mins but only on Windows computers and since I go to a school and everyone it a retarded they all have Macs so my Windows laptop is a "non issue" like wtf. So now I just use intelij and tell the teacher to fix it but our school has a code where teachers are not allowed to touch laptops so he's just stuck right now.
Forgot to mention that the reason why we use greenfoot is because there is no auto fill features not even closing brackets automatically which "makes us learn better".
Also all of our tests are hand written which is annoying.3 -
I've experienced it many times before but it's a really refreshing experience every time it happens. Motivation. It comes in many forms and means a lot of different things directly but an unchanging attribute of it is that it makes things way too easy and your work becomes enjoyable once it comes into the picture. Even dive into a dumpster of legacy spaghetti and dishing out nasty code review feedbacks feels GREAT when you're motivated. Context: I've spent like several months low on motivation, and it was one of the least productive times I've ever had, and now I just feel nice, y'know, able to actually do stuff and do it right.
Anyway. Rays of motivation to you, reader. Balance your workload so that you don't lose it like I did a while ago, and stay safe out there. It matters.1 -
Holy shit, what a language...
I'm currently learning Java right, I have never seen such a weird language in my life.
My background is Web Developing and some lua here and there. After a while playing around with Kivy and other alternatives to native Android Studio development I decided it was most probably time for me to start actually getting ready for the inevitable Android Studio.
Getting used to the GUI was easy, everything seemed to make sense and I was already used to IntelliJ.
But the issue came from Java, the number of ways that it's broken, just JVM by itself should be enough to condemn this language to eternal doom. Not even talking about the Syntax, coming from JS it was basically Hell.
I get it's more than useful, but seeing its History, Java should've probably stayed at its Oak stage lmao.27 -
Video game. Nothing but a final boss fight right from the start. Boss has infinite health. There is no time limit. If you die in the game, you die in real life.
That's what it's like to live with bipolar disorder.
For the love of god PLEASE keep yourself away from emotional stress and trauma. -
woow PHPStorm is such an incredibly buggy piece of shit .... how can anyone work with such a buggy IDE?
It randomly looses settings on restart. A lot of functionality is just so poorly tested. Anyone ever really tried to work with the integrated DB tool?
Or the CSV plugin? there are countless bugs in both usability and function-wise.
But I guess that's because it's just plugins ... you know .. you don't need to use them ...
Is the PHP code formatter a plugin too? Guess I don't have to use it at all, if it randomly scrambles whole lines if I format with a missing } or some other improper syntax. Right, overall it's my fault, right??
Fuck you PHPStorm, and you IntelliJ too. you're not better at all.12 -
So, I am fresh CS grad working at his first dev job at a pretty small startup (less than 20 people).
The Engineering team has 7 people and it's relatively flat.
At times, the senior engineers in my team, have 1:1's with the CEO and (what I feel is) some decisions are taken according to that meeting.
I feel kind of uncomfortable about this secrecy etc. even though I know that at least right now I am not experienced enough to be a "decision-maker".
Is this normal? Idk if this is how politics in the workplace happens.. looking for advice on what I should do regarding this..
Also, it doesn't help that I am literally the only Software Engineer (all other Engineers are Senior Software Engineers or CTO) so there is this generational gap which has limited my ability to "really connect" with anyone on the team.4 -
It's a shame that people don't want to use F# but prise C# for how cool it became and continue becoming. At the same time, little do they know that many of the features were simply drawn from F#.
It's just rediculous how far this OO and C-Style syntax crap has progressed. They keep copying things from functional langugages, making the initial language to be a monstrocity like C++ is now, insted of just using languages like C#. I mean, it was right there before C#: async/task, immutablility, records, indexes, lambdas, non-null by default, who the hell knows what else.
Besides, many people (in my company at least) are just blindly overengineering with patterns and shit, where a simple function would be just enogh.
Watch some some NDC talks about F#, in particular those of Scott Wlaschin. It's just better in so many ways: less noice (I'm looking at you, brackets, commas and semicolons), the whole LOT of type inference and less duplication (just look at the C# signatures of linq methods - it's difficult to read them), immutability by default, non-nullable by default, ADTs and pattern matching, some neat features like type providers (how many times have used "paste special" or an online tool to create C# classes from a JSON/XML file, and how many times have your regenrated it because of schema changes?) and units of measure.
Of course, in some cases it's not optimal, in some cases mutable datastructures of C# are better for performance. But dude, how many performance critical systems have you wrote in C#? I mean, if it comes to performance you should use Rust or C++ or C after all.
*sighs*15 -
What is a good application for reading PDF's on phone? I want a PDF viewer that makes it possible to change font-size. The text in my PDF's are really text - not an image. I can select the contents with Samsung Notes for example. If a reader is a able to select it, there must be a reader that changes the font-size right?
I'm reading "Beautiful code" at the moment. It's a great book13 -
There is no fucking holy grail of programming. It's better to use the right tools for each task instead of wasting hours to make the wrong tool do a horrible job. But noooooo. Even since this co-worker got here, he bragged how good Drupal 7 is for everything, and he never even ised it once before! Now we have 2 fucking projects beyond schedule and a new one coming ing, each of which tries to use a fucking CMS as if it was a fucking framework. Fucking idiots who believe setting a couple of options via gui to generate random code means programming. Fucking bosses who believe using 3rd party community modules and hacking around them to have them do different stuff is better than coding what we need. I fucking gave up and started using raw php to be able to finish this fucking project, but my damn co-worker refuses to. He keeps swearing and punching the desk, saying it's our clients' fault for asking stupid features, and if you dare to mention how it may because we're using a cms like it was a framework, he just goes full bigot about Drupal. Bloody Hell, it would have taken lass than 3 weeks in Rails. I could just headbutt a kitten right now.1
-
As promissed.
Day #1 on THE other project. Nothing fancy, just setting up my dev env. Got a decent pc with all the required network permissions. And this time I got w10 [last year I was working there on w7 pc via rdp from another w7 laptop. Dont ask...]
of course no localadmin rights to set shit up. Downloaded all the installs, found someone who has admin rights to run them. I even managed to get admin powershell!
Ran all installers, enabled long paths support, env vars, tweak here, tweak there,... Installed git bash to at least have a taste of shell. Decided to try out wsl. Enabled the feature, didnt reboot right away.
Rebooted. 2xclick on ubuntu setup and I get an error claiming wsl is not ebabled. Wtf? Did I do it wrong? I see bash command is there now so I must have done it right. After some googling I found out that even though I can enable wsl, it doesnt work on my version of windows. It's too okd they say. Yeah, tx MS, that's very intuitive and user friendly!
Allright, my hopes to habe a decent sub-os died. Git bash it is :( but I miss tmux soooo much. Then I came across smth that caught my eye. Msys2 it's called. Apparently it's based on cygwin and has a pacman package manager! ´pacman -S tmux´ -- hippee-ka-yay motherfuckers! It's not the best terminal emulation, but it works quite allright and it has tmux. And netcat!
Banished to mouseclickerland still managed to find a good enough shell. Yayy!
So there it is. My first day's ups and downs, disappointments and discoveries.
If you know a better shell I could set up on w10, please, share -
weird thought I have rn...
there are people here and on other social media actually seeing what I write?
people on my other public social media accounts enjoying what I do? what I write? enjoying the music I make sometimes? think my jokes I publish are actually funny?
the internet is wild, man.
also, it's 3:24 am, I can't sleep but I'd find easily people to talk to because time zones are a thing. is time a social construct? it is I think.
what am I even talking about?
idk all I know is that someone is looking at this and I wanna thank you for reading it I guess.
gonna go back to post more dev related stuff soon and also prob gonna change my username because no one can spell it right as I found out lately. no wonder because it came up while smashing my keyboard and making an username out of it. gl @ myself3 -
Use Maven, they said... it's better, they said... you don't have to manage dependencies yourself, they said...
...only now I've spent three days in hell trying to figure out why Maven keeps insisting on sticking INCOMPATIBLE JARs in my WAR that causes a breakage when deployed. No matter what I do it still sticks stuff in the WAR that shouldn't be there!
Like, I'm not a lazy cunt, I can manage my own dependencies! I know what's supposed to be there, oh, and by the way, everything fucking works when I build with Ant instead and I'm in full control of what winds up in the WAR.
So, basically, instead of the "hassle" of having to download JARs myself, I've now got the hassle of dealing with Maven trying to be more clever than me.
I know which I'd rather have, especially right now. ARGH!
You know, any time someone says "this is an industry-standard and that's why you should use it" my first thought is "hmm, which of these buildings is tallest and will ensure a quick death when I inevitably jump off of it?" MOST ESPECIALLY when the company just decides X is what everyone is going to switch to, regardless of what they're using now and regardless of how many YEARS it's been that way and working perfectly. Nope, doesn't matter, just get onboard the freight train, and if your productivity takes a hit, if you start missing deadlines dealing with shit you didn't have to deal with when using the "worse" tools, well, I guess that doesn't fucking matter, does it?!
And that's not even talking about the fact that the Maven build takes almost four minutes, which is just about 4x as long as the Ant build it replaced, each and every fucking time I make a change.
Look, I'm sure there are solutions and I'm sure I'll find them next week because I always do... and I'm sure there's some tweaking we can do to improve the performance... and it's not like this is my first go-round with Maven, though it's probably the most complex project I've ever tried to do with it... by my fucking dear god this is a nightmare, and it's not a nightmare of my choosing.
I'm disgusted, tired and defeated, three things I never get when it comes to technology. Congratulations Maven, you're on the verge of breaking someone who doesn't get broken. Another day like the last three and I'm not gonna need Stackoverflow, I'm gonna need a bus schedule so I can figure out exactly when to step off the fucking sidewalk!10 -
None of the networking people want to handhold the company VP during the all hands meetings (several thousand people over Webex's high volume broadcast service), so they all fumble around when they get in there.
The company owner rage fired someone in the networking team for screwing up. He has done stupid shit like this all the time.
It's one thing if it was some other time. Right now, firing someone, especially without review or for something so trivial, should be a god damn human rights violation. I've lost total faith in my company's management.2 -
Everyone that says it sucks because there is a new framework everyday, dude, you know that just because there is a new framework it's not a must for you to change your stack to it right? Also, you can find very valuable frameworks with this diversity
-
When Pavlova danced, she worked with the audience like no one else could.
When Ulanova danced, she completely ignored the audience and transitioned into her own world.
Both are unarguably the best ballet dancers known to humankind.
There is no "right" way to do something if you want to be really good. You can totally invent your own ways of doing things, this is how our science got to where it's at basically.6 -
So i'm trying to upload a file to an SSH server using node. First I try the obvious putFile method provided by the obvious node-ssh package. On any other server this would work fine but this server doesn't have sftp installed so that doesn't work.
OK, so next I learn how scp works (it runs the command "scp -t" on the remote server, and sends to stdin a command like "C0666 1234 file.txt" and then sends the contents of the file) and I write some javascript code to do this. It's pretty finicky, the first few tries I forget to close the stream right or detect the program finishing. I add some logging and that helps me figure out what the problem is, and finally I get it to not output any errors.
So I log into the server and check and the file isn't there. I try again several times, file still isn't there. I try running scp -t manually on the server, typing in exactly what my program is sending, and it works. This goes on for a while until I realize that I've been sending a file to one server and logging into a different server to check if the file was sent. grrr6 -
I wanted to explore the devRant API. But couldn't find any resource. I know it's unofficial but there has to be a minimal wiki with the endpoints available right? Could someone point me to it?4
-
feeling like shit at work because I'm not productive at all.... I'm a fullstack web dev and was assigned to create a java data importer with multiple sources, multiple scenarios and using various data types... What makes this difficult is that I'm not used to strictly typed languages, because I'm used to swapping variable types and nulling them down/whatever I need to do with them whenever I want. In java I need to assign the correct variable types, there are no asociative arrays . I've been fixing one issue this whole day. Litteraly one fucking issue. Maneged to fuck javas garbage collection even though it's supposed to be automatic. Fuck. I feel like I need to stay late, and program on the weekends to achieve anything with this assigment because right now I feel like I make 0 progress. Boss leaves for vacation next week for a week, and he's the other dev that theoretically should be working with me...4
-
I am preparing for interviews and brushing up on my algorithms. I understand what BFS and DFS do, but trying to transform the word
CAB to DOG
...and making sure each time you change the word it's a valid word... Like what the fuck? Who thinks of these problems.
I am getting very discouraged when it comes to these "Medium" problems (or at least like this). I don't know how to approach them. Reading the solution just feels like cheating and I should be able to get there by myself.
Can anyone help me not feel discouraged? I just feel very shitty right now.3 -
I'm losing faith in my future right now!
I'm dying working for my current employer (read my last two rants) but no one wants to hire me and I'm not sure whether it's my skills, little experience or only halftime availability until I finish studies!
Also, while I'm at it, there are second to none game dev workplaces here, in Poznań (and working as a game dev is a dream <3).1 -
Hello council of elders.. or should I say "console"? Heh? Heh? I've been up for a long time sorry.
Anyway. I've started learning framework stuff. Angular right now. Been long overdue tbh. And I found a free course on udemy and followed it. It's cool and everything but I gotta ask...
Why can't I just use vanilla js and everything from scratch? I'm not sure if its the course I'm using (I'd appreciate more resources. Thanks) but I feel like it's a lot of effort. Is there something I'm missing or haven't learned yet?
It might sound stupid please let me know why it's better to use that than regular methods. Apparently it's meant to make stuff easier but I feel like it's just a lot linking files and making various things in different places.
Also. Other stupid question which might just be cause of the course but like... Is it mostly just for manipulating json??
Thanks. More questions to come soon!!3 -
TL;DR: FFS Microsoft
So yesterday we were at the point in our project where adding a login system seemed like a good idea. This is an asp.net core mvc project and we use Materialize for our frontend.
So according to _the tutorials_ we could start a new project and add authentication in the prompt by pressing a button. As it created the project I thought it seemed nice and easy enough. After it had created the test solution I build it and, sure enough, in the top right corner there were a register and login <a>.
I checked them out and they were your bog standard form input input submit and all. Now I guessed I could look at how it's all programmed aaaaaaaaand
Nope.
I saw a new folder located at Areas/Identity/Pages which had a _ViewStart.cshtml which contained three lines. There were also a database migration and in Startup.cs there were some database stuff, but other than that? Nothing. So where on earth was the login and register form located? Shit like that is frustrating ya know.
But oh well it seemed to work and I switched to our examn project where I found it was possible to scaffold the login system in a way that seemed nice.
Except, for some reason bootstrap and jquery decided to return to our project. FFS Microsoft!1 -
Am I the only one who typically prefers light mode over dark mode on apps? There just always seems to be something about dark mode that just doesn't feel right to me or my eyes. It seems like maybe I'm a freak because of that preference, but luckily it hardly comes up in my day to day life so it's a secret I hide well.3
-
Programmer lesson #3
- We can either spend our free time learning about new technologies or building something new out of technologies we already know.
- There is no right or wrong choice between this two and sometimes we even end up doing a mix of both
- Personally I feel it's better to strike a good balance between the two approaches to advance in our field 😄4 -
I jumped on this NodeJS codebase to quickly implement an additional method in the custom logger. How hard could it be, right?
I implemented the method alright. But I can't find where to use it... There are like 10 different logger instances used in this tiny app and in one place logger is even used as a vessel (holder object) for the client's JWT token (to access it from the interactor).
oh, and it's a javascript app (somehow I assumed that node apps are typescript.. silly me!)
What the fØ©ĸ spaghetty-fest is this!?!?!4 -
Meditation. Or Awareness Meditation to be precise. It enables me to regain control over my mind, because I get distracted really fast. It really helps sorting things out, taking a step back and getting an overview where I actually am and if what I'm doing right now is actually relevant/has priority. I mostly find that it's not, so I have to return to the important stuff.
For those interested: meditation sounds weird, even obvious at first or you just don't get what's it all about. You actually have to practice meditation for a long time and study the concepts until you start to understand what all these phrases and talking means. Behind them lies great wisdom/huge amount of concepts which is easily underestimated. So don't be frustrated too much if you don't feel it working right away. Be assured I've been there too. Also don't start with meditations like 'just stop thinking or think nothing' because in my opinion this is highly complex shit and frustrating at first. Start with awareness or breathing meditations or even get an app to support your daily habit.1 -
The default girl. A girl without name. Blonde, young, in high school. Her name is whatever the most popular female name is right now. It changes. She must dress in the most popular clothing, she must accept name changes, she must shape her entire being around zeitgeist. Otherwise, she's punished severely, and sometimes it's cruel even, by no one other than her own parents. Raising a kid like this is a part of the ritual.
— Gotcha. I caught this cat, and because it makes its own replicas, you must release the cat you caught, as we should only catch one cat one time.
— No. Look closely! I wasn't lying when I told you cats of this breed had a life expectancy of two years. There are clones of two cats, not one.
— Oh… Yes, this one is kinda… dim? Sad?
— I brought you a new cat. It's the same breed. Sorry that you're learning about their real life expectancy just now. Now get that damn girl and bring her to the facility.3 -
I don't know maybe it's me. I'm sure that at booking.com they have hundred of GUI/UX/UI experts, product owners, A/B testing and whatever.
So, please, can you explain to me in a professional and scientific why, why the fuck, when I search for an hotel in a place for a date, by default, they show me UNAVAILABLE properties?
Like, "hey sorry, there was this great hotel, right in the center and very cheap, but you missed it!! hahahaha, you poor moron"
And every time I have to ACTIVATE the fucking filter myself "only show available properties".
Excuse me? Who want to see in first position the hotels that are NOT available?
Are there some users out there who wants that? If I were hired at booking.com as Product Owner or UX/UI expert, I think the first thing I'll propose is to quit the fucking filter whatsoever or at least to enable it by design.
So why is that? you want to show off? slap me in the face, with your hard cock-list of hotels you have anyway, but not for me?4 -
Is there a good place to post code and have people comment on the style or the logic? I'd love to start getting feedback on my code and break bad habits before they become too ingrained. Plus, our first project is a blackjack game, I'm working through it pretty well but I'm a little stuck and I think it's completely because I'm paranoid I'm not doing it well/right (even though I probably am).2
-
UNOFFICIAL DEVRANT CLONE JAM - VOTING WITH CRICKETS - DAY 2
I see that nobody is leaving any comments on hackathon entries. It is troubling, because there is no telling if you approve the app behind the post or not - even if I were to collect all upvotes through myself.
Please give the feedback to our contestants in their respective rants! What it takes to make a "devRant clone" or there should be something else entirely? How do these clones look to you, which gets the most points?
Yesterday, @ostream has left the competition by removing account from devRant, but, hopefully, we'll see him again on the next hackathon. Now, it's only @retoor and @SidTheITGuy. They will clash for the right to get a cool animation of their devRant self. You vote can affect this.
Finnegan (by @retoor): https://devrant.com/rants/9946268
ragedev (by @SidTheITGuy): https://devrant.com/rants/9946238
Leave your comments in respective rants. Read the rules and vote for as many as you like!2 -
Wait. Why does this work? It doesn't copy any of the frontend code into the deploy location.
I'm not sure how this works, but it does. Crap, there goes my morning tracking down this wretched spaghetti deploy code.
At least I understand how it works in production. Shit, why is it different between production and our integ servers ,that isn't good. Maybe I can just refactor it.
That was all on Monday. It's now Wednesday and I'm still fucking refactoring something that wasn't actually broken. It just didn't make sense.
Maybe I should just revert my last three days of work on this branch and move on. No! It's too late, I've invested way too much time into this project...
... and I'm almost done, just a few more commits right? -
AAAARGHH!!! It happens every now and then that when I open a window in a Windows application, the window opens outside the display area, on a non-existing display to the right of my primary screen. There is no other way to access the newly opened window than to go to "Screen resolution" and swap screens 1 and 2 such that the secondary screen thinks it is to the right of the primary screen (although physically it stays to the left of the primary screen). And then, once I've got hold of the window, I swap the screens back. It's just so incredibly annoying and a complete waste of time. This is staring to really get on my nerves! >:(8
-
My team builds robots and we're trying to use an IMU for orientation. Asked one of the members to find our spare one because the one in the robot was apparently throwing errors.
Him: "Oh hey I couldn't find it"
Me: "did you look in all the boxes?"
Him: "ya dude I looked in all our boxes, even the box we never use"
Me: "shoot ok I guess we lost one, I'll order another one soon"
*1 day passes*
Me: goes to our main box to get a keyboard out
Me: opens the box, IMU is sitting right on top
Me: pulls out the keyboard, sees ANOTHER IMU sitting in the box
Me: "hey coworker, you said you looked in all the boxes, right?"
Him: "yeah dude no clue where it is."
Me: "it's sitting right on top. Plus there's another one in here"
Him: "oh lol that's weird"
That's all you have to say for yourself? That's weird?! DUDE NOT ONLY WAS IT SITTING RIGHT ON TOP OF THE BOX, THERE WE'RE *2* OF THEM IN THERE, IN THE MAIN BOX WE USE
the sad part is that's not even the worst part of the story... That part to follow soon ;)1 -
When it comes to dev tools, It seems like everywhere you turn these days all you get is a rabbit hole trip to GitHub's issue queue WTF! Oh, and there are so many tools out there so we all now need to have a task management tool which just add to the complexity of local dev development, fuck that! To make matters more absurd, those who write them tools think that it is a great idea to rename commands between each minor release because why not after all machines know how to decipher changes right? Wrong, last I checked, machines rank high on the autism spectrum and won't find a command unless you lead them directly to its file system location. The command fuck you could not be found are you sure you spelled it correctly, or did you mean fuck me? is all that it's capable of. Sigh...4
-
what the f....
So I'm making some changes to my setup. I'm relieving my current router from its duties and retiring it as a mini PC for my desktop setup. And I got my hands on a Dell Optiplex that will become my new router.
Now, firstly, the Optiplex came w/o a wifi antenna. I booted it up into a LinuxMint install USB for the first time and didn't expect much from it, but to my surprise, I got a popup: "There are wifi networks available". At that spot there was also my Fenvi PCI wifi card's antenna of my current (soon-to-be-previous) PC and it was barely seeing any wifi, and there came Optiplex with NO antenna attached to it and it managed to maintain stronger and more stable signal. wtf....
Alright, it's Fenvi, it's chinese -- there's probably not much I should expect from it.
Then I hooked it up right next to my current router with an external USB wifi adapter having 4x6dBi antennas on it, serving as my current wifi AP. Trying out hostapd configs, searching for the right channels,... should I test it? Naah, it still doesn't have an antenna - it won't reach my laptop. Meeh, for shits and giggles! `hostapd -d /etc/hostapd/hostapd_custom.conf`, on my lappy `nmcli d wifi rescan; sleep 5; nmcli d wifi` and... wtf... To my surprise, the AP was there! A thick wall away, no antenna whatsoever, and I still could connect to that Optiplex AP and post this rant!
What magic is this??? I'm now a bit concerned about ordering an antenna for it - I'm worried it could either worsen the signal or make it so strong that it'll fry my brains overnight.4 -
[POLL] How do you develop stuff?
1 - just write code. It doesn't need to be organized, it just need to work how you thought it would, and THEN you start organizing things, like editing/creating new files, letting things DRY, optimizing the sutff you did earlier;
OR
2 - you surgically write code, making sure you keep everything is organized from the beginning. Basically you only write when you are sure.
Or maybe it's a blend between the two or something.
I'm asking because I do like the #1 and I feel uncomfortable when people see my code when it's under development. It's a mess, there are tons of comments everywhere and a bunch of repetition. But, when I find the right stuff, I start writing modules to make my code work better, remove unnecessary things, add documentation, and so on.
My development process is not the best of the best, but I get things done with it.7 -
Quick Plesk config question...
Been getting open_basedir() notices in the WordPress logs, and frankly it's flooding the log right now. Sample below:
[24-Feb-2019 07:05:19 UTC] PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/webspacedomain.com/SiteInstallDirectory/wp-content/db.php) is not within the allowed path(s): (/var/www/vhosts/webspacedomain.com/:/tmp/) in /var/www/vhosts/webspacedomain.com/SiteInstallDirectory/wp-includes/load.php on line 397
Checking the settings for open_basedir in the domain's PHP settings, it's currently set to the following default value:
{WEBSPACEROOT}{/}{:}{TMP}{/}
By my read, that **should** be granting permission to the directory. I just checked it against the setting on the dev server (which doesn't report this error), and it's configured in the same manner. Only difference between Dev environment and this one is that the one in Dev is in vhosts/webspacedomain.net/DEV instead of just vhosts/webspacedomain.net
Is there something I'm missing here?4 -
!dev
I need some help with advice regarding getting new headphones, as my current ones are quite literally about to fall off my head. Thing is that I have a hard time finding what I want, and even then be able to determine stuff based on reviews.
My current ones are a pair of Turtle Beach Ear Force Z60, which is my first headset to have surround sound. They also sit very comfortably on my head without really pressing on my ears at all, and the audio when playing games is nice and clear. Unfortunately that has now set the bar pretty high when trying to find a new pair.
I tried out a pair of HyperX Cloud II, but I can't configure the settings and the surround sound doesn't seem to work at all (there seems to be a "gap" between one o'clock and three o'clock, so to speak, as well as between nine o'clock and eleven o'clock). I tried listening to a 7.1 audio clip, but the only ones in the right positions were center front and left and right fronts. The left and right sides, and left and right rears were all at the center point. And besides that the audio is unbalanced and just... not quite muffled, but not clear as with the old ones.
Thing is also that I don't know crap about audio stuff, like if it's got to do with me doing something wrong in terms of drivers or hardware or something, or if it's actually got to do with the headphones themselves. I've tried to find info but there's just none to be found, it seems, at least nothing that works. :(
Currently I'm considering trying out another pair from Turtle Beach, but it's so hard to trust the reviews. I mean, like the Z60 has pretty halfassed ratings, but I personally like them a lot. :/
Does anyone have any advice at all? Whether it's recommendations of headphones, or ideas on things I could try on my end to make things work.
AND, side note; I don't care for any comments along the line of "surround sound is bullshit, just stick with stereo, it's better", because 1) I don't agree nor do I care, and 2) it's unconstructive as shit.
I'm thankful for any ideas or advice you guys may have. :/11 -
Why is there so much hate towards Manjaro Linux and so much love towards Antergos ? I mean, it's still Arch, right ?
It's just that Manjaro has its own repos but you can still use AUR.3 -
Coworker just showed me how he avoids merge conflicts and I'm undecided on it. We use feature-branch workflow, so if a feature takes a long time to finish, it may mean merging master multiple times. He avoids it by stashing changes instead of committing them, then when he needs to merge master into the branch it's still clean. When the feature is done and he's ready to commit, he pops the changes and git diff shows all the changes before you push and you just change what you need instead of being forced to use the horrible merge software.
There must be problems with this, right? This seems too easy for it not to be the standard.5 -
Well, I'm kind of hyped about autonomous cars and there are a bunch of advances right now. But how do you protect such technology? It's not like my pc will explode or hit shit (with me tied to it) if I get some malware on it.
Do you have any idea on how people are mitigating this?8 -
SonarQube is obnoxious in it's moronic ideas that demonstrate lack of understanding of the languages it's analyzing.
In C# there exists a special kind of switch-case statement where the switch is on an object instance and the cases are types the instance could polymorphically be, along with a name to refer to that cast instance throughout the case. Pattern matching, basically.
SonarQube will bitch about short switch-case statements done in this way, saying if-else statements should be used instead. Which would absolutely be right if this was the basic switch-case statement.
This is a language with excellent OOP features. Why are your tests not aware of this?
I can't realistically ignore the pattern because that would also ignore actually cases where it's right. And ignoring the issue doesn't sit right with me. How does it look when a project ignores tons of issues instead of fixing them? -
I first try to figure out why I really want to build this and (if the project is intended that way) why someone would use it.
Then I strip the idea down to its bare minimums so I know what I should build for it to be of any value.
And then I start building until I no longer think it's worth working on the project.
For instance:
I am kind of surprised to see that in a world where cloud and apis become more and more leading, there isn't really a commonly accepted and flexible api management platform.
There are some cloud based platforms out there that can be configured using some interface but why is it like that? Surely you aren't going to deploy multiple versions of your core with different platforms right?
That's where my latest project comes in. I want to create an on-prem api management platform which you configure to work with your api during development. Then you can deploy it to any infrastructure alongside your core api.
This way you:
- are not bound to a specific cloud
- don't have to worry about security and firewalls
- get user management and rate limiting for free
I will probably create a collab for this once the platform is mature enough.1 -
"Hey critnukes it's me your dumbass costumer and I was told to call you from the owner, so do you know where our mailbox is?"
You live in the other end of the country, surely there must be something wrong with you to think _I_ could know. Well, they were so used to us knowing everything they didn't even think about it.
Guess that's a good thing right? -
I was really teasing myself about it a week ago, but I definitely think now that building a language server before I try to get people to try Orchid is the right call.
There is a ceiling to the quality of error reporting without editor support, and because I'm not happy with the best I could've possibly gotten, I didn't really put that much effort into it. Before I got started on the language server, the interpreter would fail with the first error.
Because with LSP the new theoretical limit of DX is the lack of type information which still isn't great but it's a problem I already live with, I'm compelled to meet that limit by perfecting error detection.
It also helps that the interpreter's startup time is 2ms so I can simply run it in thread on every keystroke to generate truly live, basically instantaneous feedback.17 -
SMB/CIFS support on Linux distros is a nightmare! Switching from wired to wireless will cause ALL mounts to freeze, and they all become impossible to dismount normally. You can't even ls the root folder anymore if there are frozen mount folders inside. It's f#&%ing retarded to have to reboot your PC twice a day because you lost WiFi signal for one second, and the underlying processes don't understand SIGTERM. And I could go on about MTP! Standard file transfer protocol for Android but boy it is hellish. Trying to copy a structure with subfolders will take forever because every ls call to the phone is like an API call to some free webhosting company in Australia, takes forever, if it even succeeds. I won't even get started on WebDAV and SSHFS (the latter is even worse than CIFS). Those make me want to do unpleasant things to my computer. So frustrating! I can't be the only one who has experienced this, right?1
-
Holy shit has anyone ever had to use Borland Starteam? Fuck this piece of utter dogshit. I've lost count of the amount of times this POS has crapped out on me. I can't go a single day without having to kill it with the ctrl-alt-delete as it locks up for the thousandth time.
It constantly gets itself out of sync, telling me files are modified only for an 'update status' or comparison to reveal that fucking nothing has changed.
And you can't search the comment history past the last commit? Are you fucking serious? How the actual fuck is anyone supposed to work with this? It's not even like thats a difficult task. I can see the damn commit history right there so why the fuck can't I search its comments?
Probably the most frustrating piece of software i've ever used.
Update: It knows. It listens. It's not working at all now. This is my punishment for criticising it. The software is cursed. -
So, let me get this straight. At a company called OpenAI, which has the mission of making AI available to the world, the CEO was fired (then rehired, then fired, then rehired) and all the employees stood in solidarity with him through all that. But then there was this new AGI development that the supposedly open company is hiding from everyone and which could threaten the existence of humanity. Because OpenAI is open and is very concerned about AI's existential threats. Except when it's not because it's concerned with AI's existential threats.
Did I get that about right?
https://finance.yahoo.com/news/...5 -
I've always longed for a possibility to just change the source of a picture in MS Word, not having to delete a pic, insert it again and do any settings/adjustments over again. And so it turned out the other day that it has been there all along! Right-click a pic and pick "Ändra bild..."("Change picture..."). It's just that "Ändra" in Swedish means "change" in the sense that you modify or alter something. In this context it would be like editing the picture itself or its settings. A better word would be "Byt" which also means change, but in the sense that you replace something with something. If anyone at Microsoft is reading this, please change "Ändra bild..." to "Byt bild...". If this had been right from start, it would have saved me hours of unnecessary work over the years.
-
How do you handle error checking? I always feel sad after I add error checking to a code that was beautifully simple and legible before.
It still remains so but instead of each line meaning something it becomes if( call() == -1 ) return -1; or handleError() or whatever.
Same with try catch if the language supports it.
It's awful to look at.
So awful I end up evading it forever.
"Malloc can't fail right? I mean it's theoetically possible but like nah", "File open? I'm not gonna try catch that! It's a tmp file only my program uses come oooon", all these seemingly reasonable arguments cross my head and makes it hard to check the frigging errors. But then I go to sleep and I KNOW my program is not complete. It's intentionally vulnerable. Fuck.
How do you do it? Is there a magic technique or one has to reach dev nirvana to realise certain ugliness and cluttering is necessary for the greater good sometimes and no design pattern or paradigm can make it clean and complete?15 -
I was working on something for 5 days from a requirement, extremely satisfied with the results.
The boss comes over to see what I've done and says it's not what they expected.
The requirement was poorly written because what he said compared to what was written is two different things.
Tip: Share the work and the code you've produced (at least inform) to make sure you are on the right path. There is always a gap between a requirement and what the stakeholder actually wants. -
*Begin rant*
I know I'm a bit late to bitch about this, but why would anyone in their right mind remove a UI/UX gesture that was loved and adored by millions and replace it with a far less intuitive gesture? I'm talking about Google's decision to fucking replace the Google Now swipe to dismiss cards gesture with a two stage tap and click to hide stories gesture! Why the fuck would you do that? The buttons are far too much of a precision action. And they are located at an area that is not natural for a single handed use. What this has effectively done is, force me to use my phone with two hands. And I fucking hate it! Can anyone here give me a valid reason for Google's design change? It's beginning to get on my nerves and my OCD compels me to hide all the cards until there is none left, so not minding it is not an option! Ughh!
*End rant*2 -
It's easier to fool people than to convince them that they have been fooled.
I really hope all the evil in the world is done for the greater good, I'm praying that humans aren't inherently evil and that there are bigger pictures we can't see.
Nonetheless, I wish you great health. Survival is the primary goal. Stay alive, because, what a time to be alive.
Most importantly, enjoy every second of it. Fuck the status quo, do what you think is right. Do what your gut tells you. Be virtuous, even if you don't have it. Have integrity, be honest and just.
Earth and Sun are beautiful, yet we spend our lives inside fucking walls, and when it's time to go home, it's fucking dark.6 -
Why do some employers make such a distinction between learning the tools at university and learning the same tools at the workplace?
Are they backward or old? Don't they know modern, high-quality universities have modern environments that are in fact real life?
Environments with acc-test-prod-dev with gitlab, ci/cd in Scrum teams and the works? Heck, at my uni we even worked at real companies, did internships there for months!
Come on.. to me this 'the tools you learned in school isn't the same experience as real life experience'. Right, these guys must be on some conservative backward model because there is in fact no difference.
I have worked both during my uni internship at a real company (in teams too) as well as irl at real companies and there is no difference, it's the same thing.
I don't care if I've learned to experience git + ReactJS etc during an internship through uni or at a workplace. It's all bureaucracy.10 -
If C++ invented mathematical vectors, the arrow symbol above the vector points would face the direction of the vector. The tip of the arrow missing would mean it's a zero-length vector, and, finally, if it faced to the right it wouldn't mean that it's a right-facing vector, it would be able to face in any direction. Because of course there should be multiple ways to do everything. It's so easy!3
-
Is there a debug tool in Visual Studio that acts like a global HashMap<String, object> that you can add random objects to so that you can verify which objects are the same instance between breakpoints and view the state of an object that you had access to but is not in scope at a given breakpoint? I'm debugging a GUI app right now and it's an enormous pain in the ass to track identities, I resorted to adding random properties and statics to classes just so I can express this basic ass persistent debugger state6
-
Day off today, and I decide to go to Remington with my parents. However, I am working on a coding project and I'm forced to work and watch simultaneously. No problem.
However, for THE LOVE OF FUCKING GOD, my parents decide that it's not good enough, so they decide to **abandon** me at Remington and go get food elsewhere. I start calling and they don't pick up.
I'm freaking out and go over to the McDonald's and voila, they are right there eating McDonald's and calling me a bad son for not paying attention to them.
Some days I just want to snap my computer in half.2 -
People around you (especially non-engineers) coming over just to know whether you saw their instant message ping / email to send them a value of a configuration. Or others who just comes in at the right time - when you just got into your utopian magical zone - "just to say hi and catch up". There goes the rest of my day.
Complement that to the instant messaging application of choice of the organization and it's a no-no for productivity. I find myself being invited to random channels only because they want to mention that I did something. I set myself to Away whenever I'm in the mood, but that still doesn't stop people from pinging and sending me notifications anyway. -
I got invited to a quinceanera by someone that happened to be on the same night as homecoming. They did all the traditional stuff. They had some sparkling cider that may or may not have been spiked and I had a lot of it. I learned after that it might have been spiked. It was right before homecoming started when the traditional stuff was over and it would've just been kinda boring dancing for the next FOUR HOURS. My date and I decided we didn't want to stay for that long so we went to homecoming instead. It has better dancing and a mosh pit which is way more fun than just slow dancing. We met up with a group of friends there and had a ton of fun. Homecoming only went till 10 where the quince would've gone till midnight. Our group went out for ice cream and I got home at 11. It's almost midnight now. High school is awesome, ain't it?