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 - "so-clean"
-
When you stare into git, git stares back.
It's fucking infinite.
Me 2 years ago:
"uh was it git fetch or git pull?"
Me 1 year ago:
"Look, I printed these 5 git commands on a laptop sticker, this is all I need for my workflow! branch, pull, commit, merge, push! Git is easy!"
Me now:
"Hold my beer, I'll just do git format-patch -k --stdout HEAD..feature -- script.js | git am -3 -k to steal that file from your branch, then git rebase master && git rebase -i HEAD~$(git rev-list --count master..HEAD) to clean up the commit messages, and a git branch --merged | grep -v "\*" | xargs -n 1 git branch -d to clean up the branches, oh lets see how many words you've added with git diff --word-diff=porcelain | grep -e '^+[^+]' | wc -w, hmm maybe I should alias some of this stuff..."
Do you have any git tricks/favorites which you use so often that you've aliased them?50 -
Too much stupid today..
Client: "Our server is almost full, fix it"
Me: "Okay, you can upgrade the VM, or I can see if theres anything that can be cleaned up?"
C: "Clean it up"
Me: *Finds 5 extra MySQL DB's that amount to 50-60GB in total*
Me: "Well I can remove some of your extra databases, and some of the local backups, as they're also backed up offsite. They're currently unused and dated back to the beginning of 2017, everything is out of date anyways."
C: "No"
Me: "Okay, is there a reason?"
C: "No"
Me: "Okay, so we'll upgrade the VM?"
C: "No"
Me: "I'm sorry, but those are really your two options"
C: "Just fix it"
...................
...................
...................
What in the ducking fuck !@#$#%?
If you're so fuggin smart, then why do they pay me?
I'm clearly stupid and unable to read your mind.21 -
Coworker in my team recently said to boss:
"Thanks, this conversation with you has taught me so much about single-threaded blocking I/O"
Some random PR comments from our company's repository:
"Are you insured? I hope you are insured"
"Learning git is not that difficult. You only need one command: git reset --hard"
*Link to amazon for dog poop bags*
"Please clean up your shit, before I step in it"
"Have you thought about a career in sales? At least there you might sell your bullshit"2 -
So my college has Apple iMacs and this is the pain I have to go through everyday.
Why can't they just clean it at least once?36 -
Wholesome anti-rant.
There’s this Indian chick at work that I really, really do not get along with. Fortunately she’s on a different team so we have practically zero interactions. Her code was always decent, maybe upper junior level? but I went away fuming almost every time we talked.
However, I did a release security review today (I’m down from five/six per month to one) and read through quite a bit of her code. It was clean and easy to read with good separation, clear naming and intentions, nothing was confusing, etc. It was almost beautiful. Had I any emotions I might have shed a tear. I sent her a message and let her know :) I actually learned a better way of doing a couple of things from it.
She has grown so much as a dev.32 -
Parents:why is my iPad so slow?
Me: It's old (1st gen that came out in 2010)
P:well just clean it up and make it go faster
M:Theres nothing to clean... Theres only a browser app and solitaire....
P: well just fix it so it's faster
M:....... *turns it off and on again*
M: All fixed1 -
One of the coolest good bye message I have ever seen in my company...
The code is so clean with proper comments...11 -
Dad calls:
D: Hai, so, um, my pc's not booting up.
Me: So?
D: What do I do now?
M: You tried fixin' it?
D: That's why I'm calling you.
M: I'm 400km away from you. Does it do anything by pressing a power-on button?
D: No. But I touched it, it's really hot.
M: When was the last time you cleaned that shit up?
D: I have to clean it?
*PC is located at dusty environment at work. 5 years old and is being turned on 6 days a week*
Clean. Your. Pc.
Oh, and yeah, it overheated, burned the mbo, power suply, and cpu cooler stopped spinning.
It's like Satan threw a curse on a pc, and took a piss on it.
The best part? He's mad because I "never help him nor have time when he needs something to be fixed".
He can fix the PC in a pc shop that is across the street.
So, you doin' any better this week?6 -
Thank you dear mr. boss for fucking up our master branch by adding local changes to a 2 months outdated master branch (250 FUCKING COMMITS BEHIND), pull the remote and then just push without resolving any conflicts!!!1!!!
But thank you so much for sending me an email at 10pm asking me to resolve the conflicts.
It is 3 in the morning and it took 1 hour to get it clean.
Sometimes I want to break some necks...9 -
I can now die without regret, I came back to a project after leaving it for three months
I WAS ABLE TO UNDERSTAND MY CODE!
I think I reached the point of writing clean code?
Let's hope so :)10 -
// sorry, again a story not a rant
Category->type = 'Story';
Category->save();
Today at work I got a strange email
'about your msi laptop'
(Some background information, a few months ago I went on vacation and left my work laptop at home. Long story short some one broke in and stole my msi laptop)
So this email had my interest. I opened it and the content was something like:
Hi! My name is x, I clean/repair laptops partime and I noticed your personal information on this laptop, normally people whipe their data from their laptop before selling so this is just a double check, if the laptop was stolen please call me on xxx
If I hear nothing I'll assume its alright and will whipe your data
So of course I immediately called him, after a conversation I informed the police who is now working on the case7 -
The download manager is coming together nicely!
The idea is simple, all the downloads are multithreaded. It saves the chunks and then merges it together at the end. So far it uses 30-40mb for the whole thing!
Next stop, add queue management and then browser integration. The source code is here: https://github.com/tahnik/qDownload.
Don't blame me if you vomit once you see the code. I am still working on it and it will be clean soon. I would love to get some suggestion for the name of the project. It is "qDownload" currently and I fucking hate it.
@Dacexi is joining tomorrow to help with the UI. It's gonna be amazing 🤘24 -
For April Fools at a school I worked for, I printed off one of those "Your printer has been upgraded to be voice activated" signs and put it on their fairly new printer, went into the room opposite and waited. I heard far far too many teachers saying "Copy!" repeatedly, getting more and more agitated before 'manually' copying their document. I had to come clean before I left at lunch time because one of the teachers got quite angry at the prospect of a voice activated photocopier and refused to use it that way. The following year April Fools was on a school holiday so I couldn't pull it in the school I was in that day but i fully expect it to work somewhere else.3
-
Worst disturbance while working?
Some of my faves:
- Mgr flying his new $400 drone around the office (hitting walls, ceiling, etc). I mentioned the price because he crashed it a week later (un-repairable kind of crash), so I didn't feel too sorry for his loss.
- Mgr trying out his new blowgun and blowing darts at a cardboard box down/bewtween the cube hallway (where anyone could walk out of at any time). We would hear the "pfffft" and a loud 'Yea!'.
- Mgr would walk by a cube entry-way, fart, and walk away laughing.
- Mgr called me into area and his desk+the floor area around his desk was covered in peanut shells.
Me: "Wow, you got a mess here."
Mgr: "Yea, got tired of trying to hit the trash can. Maintenance will vacuum the office this weekend."
The mess was one thing, but what disturbed me the most was this asshole thinks Maintenance-Jim has nothing better to do than clean up after this so-called adult.
Karma kicked in and an hour later the owner's wife (we're still a family owned company, so he+his wife are on friendly basis with everyone) stopped by to say hi and walked in on the mess.
June: "What do we have here!?"
Mgr: "Oh...um...uh..I was eating a few peanuts and putting the shells in the trash can and accidentally knocked it over. I was on my way to get the vacuum cleaner."
June: "Hmmm...this looks like more than a few. *You* clean it up right now and *never* let me see this again!"
Mgr: "Yes..yes ma'am...right now.."
Whole office heard the exchange and it was frickin' awesome.12 -
So yesterday my girlfriend and me wanted to clean the apartment.
We ended up coding on a private project all day long... but at least we put //FIXME notes all over our place.
Let's see how today goes. ^^ -
The most pissed off I've been at work?
Client X came to us for a website.
We secretly outsourced the work.
Client X is coming for a visit in 10 mins...
MD to me: "I've told them your lead dev on this. They're not super-technical so if they ask you about the project just tell them it's going well."
Now I'm not a comfortable blagger, I don't have that kind of confidence, so to ask me to lie like this makes me feel really stressed and uncomfortable. Furthermore, I had literally no idea about any aspect of the work we were supposedly doing for this client. I can barely contain my panic but my colleagues help me piece together a basic understanding.
The MD returns: "They're here now. Can you quickly go and check that the toilets are clean."
WHAT THE FUCK!? The little prick. I'd knock him out if wasn't so meek and pathetic. I tell myself that I'm being helpful and nice but in truth I'm just his fucking doormat and he has zero respect for me.
I have no problem cleaning stuff (we all basically tidy up behind us) but this is something he could have done. Furthermore, who cares? None of us leave the loos with piss on the floor and shit smeared across the walls. They're never anything less than client-ready so to ask me to check means that he's already checked them himself and one of the loos is not quite shiny enough.
The reader may feel that this is no big deal (and in some ways you're right) but everything about this scenario was fucked up. The MD had embroiled the whole company in a lie and assumes we're all okay with that, then to add insult just nonchalantly orders me to clean the bogs. The cunt.
FWIW The client didn't ask to talk to me or use the toilet during their visit.8 -
My mother used to code a good 30 years ago (embedded development for plane engines), but nowadays always fear doing something wrong on her computer/smartphone.
It's a bit depressing to see how someone who used to be a developer is now so fearful of computers.
On the plus side, she is very respective of my time, and will wait 2/3 weeks for me to come home to fix a simple thing, and generally don't bother me with things she can do herself, once I explain to her how to do it.
Last time was cleaning laptop fans. Seeing how you need to disassemble half of it to clean that, I can understand anyone not wanting to do it.7 -
When you wake up, notice your phone fell off the bed (my bed is about 180cm high), don't have google services to locate it/make it ring etc so you log into one of your domain name providers because you've got 2FA enabled there and you might hear the text notification sounds xD.
(in the end, I just had to clean my room partly in order to find it again :/)12 -
2019 resolutions/goals recap: (non-personal ones)
1) Improve diet (did; e.g. ramen and fast food to clean keto)
2) Lose weight (did; lost 24 pounds!)
3) Find a good job (did, twice)
4) Buy a harp (did not; large and expensive, no place to put it, and I have small children who would absolutely break it)
5) Keep house clean, even if it's by myself (did, somewhat; I cleaned some, managed to get one other person to clean semi-regularly, and another sporadically)
6) Work on social awkwardness (did; read and applied Dale Carnegie's The Art of Public Speaking, which netted me my last job offer. Still pretty awkward though)
7) Move out of the desert (did not; not enough money, and job didn't allow remote work)
8) Stop bloody waiting on people (did not; still very guilty of this...)
I don't remember the rest 🙁 didn't write them down last year. But I still accomplished 5 out of the 8 I remembered, with one being a pass, so 5/7!
-----
2020 resolutions/goals:
1) Finally move out of the desert
2) Invest 20% of my income every month
3) Reduce bills by 20%
4) Solve/address some health issues
5) Make a schedule so things regularly get done around the house, e.g. cleaning
6) Find some friends and make time for them
7) Replace Debian with something else
8) Revamp my backup system
9) Be proactive and stop waiting on people
10) Build a (stationary) coil gun for fun18 -
Okay so about a year ago these FUKKING IDIOTS decides, against my recommendation, to do this quick-ugly-hack and ninja it into production.
I tell them its a FUCKING BAD idea that will blow up in a year or so...
But no, just go go go!!!!!!!
Now a year later, shit blew up badly. A total FUCKING derail. These new idiots asks me to "fix the problem", the same fucking problem I predicted and warned them about a year ago. So now i have to clean up their ducking mess because "Nobody else knows how to fix it".
What the FUCKING HELL do we pay them fuckkkers to do?!!
New idiots you ask? Yep, because 3 out of the 4 original fucktards already left the place in order to go and make some other new collegues lives fucking miserable.
FUCK YOU FUCKING MOOTHERFUUUKKKEEERRRRRSSSSSS!!!!!!!!!!!!!!2 -
Today we moved to a new office in the next building.
It is a very big upgrade, since it is bigger and nicer.
So I ask where the bathroom is and go in the direction told, and the bathroom is so nice! Huge mirror, everything is clean and new.
On the way out I find that it was the girls bathroom....15 -
Boss comes in and gives me some js code for syncing data (he hacked it together the other day, really messy with like 5 callback lamdas stacked into each other)
Boss: Make it faster and more reliable and add some progress indicator
So i look at the code and he literally pulls all the data as one json (20+ MiB). Server needs multiple minutes to generate the response (lots of querys), sometimes even causing timeouts....
So i do what everyone would do and clean up the code, split the request into multiple ones, only fetching the necessary data and send the code back to my boss.
He comes in and asks me what all this complexity is about. And why i need 5 functions to do what he did in one. (He didn't -.-). He says he only told me to "make it faster and show progress" not "to split everything up".
So I ask him how he wants to do this over HTTP with just one request...
His response: "I don't care make it work!".
Sometimes i hate my job -.-11 -
I don't want to write clean code anymore :(
I read Clean Code, Clean Coder, and watched many uncle bob's videos, and I was able to apply best practices and design patterns
I created many systems that really stood the test of time...
Management was kind enough to introduce me to uncle bob clean code in the first place, letting us watch it during work hours. after like one year, my code improved 400% minimum because I am new and I needed guidance from veterans...
That said, to management I am very slow, compared to this other guy, they ask me for a feature and my answer would be like "sure, we need to update the system because it just doesn't support that right now, it is easy though it would take 2 days tops"
they ask the same thing for the other guy : "ok let me see what I can do", 1 hour later, on slack, he writes : done. he slaps bunch of if-statement and make special case that will serve the thing they asked for.
oh 'cool' they say -> but it doesn't do this -> it needs to do that -> ok there is a new bug,-> it doesn't work in build mode-> it doesn't work if you are logged in as a guest, now its perfect ! -> it doesn't work on Android -> ok it works on android but now its not perfect anymore.
and they feel like he is fast (and to be fair he is), this feature? done. ok new bugs? solved. Android compatibility ? just one day ... it looks like he is doing doing doing.
it ends up taking double the time I asked for, and that is not to mention the other system affected during this entire process, extra clean up that I have to do, even my systems that stood the test of time are now ruined and cannot be extracted to other projects. because he just slaps whatever bools and if statements he needs inside any system, uses nothing but Singleton pattern on everything. our app will never be ready-for-business, this I can swear. its very buggy. and to fix it, it needs a change in mentality, not in code.
---------------
uncle bob said : write your code the right way, and the management will see that your code generates less errors, with time, you will earn respect even though they will feel you are slow at first.
well sorry uncle, I've been doing it for a year, my image got bad, you are absolutely right, only when there is no one else allowed to drop a giant shit inside your clean code.
note: we don't really have a technical lead.
-------------------
its been only two days since my new "hack n' slash" meta, the management is already kind of "impressed" ... so I'll keep hacking and slashing until I find a better job.9 -
!dev
Dear Airbnb Hosts,
The extra cleaning fee isn't just extra profit for you. I will gladly pick up after myself, before I leave. That said, if you expect me to deep clean your flat, consider leaving equipment to do so. If you send me a shitty email because I didn't buy a broom, mop, bucket and kitchen rags to stock your investment property, I'll tell you about where you can stick that noise.
Sincerely,
Fuck you7 -
Me and my girlfriend's pillow talk about memory leaks
Me: **... So garbage collection is a means to stopping a memory leak from occuring
Gf: what 's a memory leak ?
Me: a memory leak is like when you want a pizza, and the guy gives you pizza. But you don't eat the pizza and you ask for another pizza. You keep doing this repeatedly. Until the pizza guy realizes what you're doing and decides to kill you. He then takes back all his pizzas
Gf: why would you do that though?
Me: Lazy ass programmers who don't clean up after themselves.6 -
After a nice clean reinstall.. some partitions didn't wanna play nice so I got my hacking tools and hacked away.7
-
Stupid shitheads among the web designers, fucking listen up. Your fucking design is not the point of websites - the content is. You are not supposed to shove the content away to have your moron design shine in its purest debility.
Yeah I know, white space minimalism yadda yadda, clean interface - and you dumbasses just remove functionality to simulate a clean interface, to the point of using hamburger fuckups on desktop. Pull your heads out of your asses, that's not how to design an interface! Not to mention that you idiots still guzzle through the megabytes and dozens of domain lookups for your chickenshit minimalism.
While we're at it, not everyone is 20 years old like you youngsters - you won't believe it, but there is life beyond 40, and while such age is unthinkable to you because you are so dumb that you will hardly reach that age anyway, others on this planet have managed to get there. No 20/20 laser sight, you know.
Fuck you with your light grey thin fonts on white background because it looks "clean", it just SUCKS you wankers. Fuck you with your stupid ghost buttons that don't even look like a button. You know how to operate the shit you made, but reality check here, users spend most of their time on fucking other websites than on the abomination you have designed!
Get that into the shit bubble that you call your brain and read WCAG 2.1! That's not only for disabled people, but everyone will be able to use that shit better!8 -
Does anyone else get so self conscious about writing neat, clean and efficient code that you get demotivated because you always think "there's a better way to do this".
The cleanest code is no code at all. 😂8 -
I write loads of services, tools, programs for myself (unpaid) which I could just as well open source.
Only thing is that the code is usually not that clean and refactoring would take time that I don't have so I'm kinda anxious about putting it out there 😧12 -
I started reading the book "The clean coder" by Robert Martin and now I feel depressed.
So many of the things that he qualifies as unprofessional have I done :'(11 -
As devs we like to complain about our jobs. But I just want to take a moment and acknowledge how truly amazing writing software is. Nothing else has given me so much joy and happiness. The endless stream of new things to learn, the elusive art of clean code, and deep understanding of systems required for architecture. There is so much depth to this career we have all chosen and I hope you guys love it just as much as I do.5
-
What a fucking day!
So some many years ago, we placed a small and useful piece of code into a MySQL Query, which prefixes the order ids with a string and returns the value.
Basically
SELECT
CONCAT(“ORDER_PREFIX”, LPAD(order.id,5,’0’) AS order_reference
Now many years ago when this was a simple solution to a system that wasn’t expected to be running today, all went well, except today.... today that fucking line exceeded 5 digits
😓😍😓
I don’t know if I should be ashamed, or happy right now, a totally unfuture proof query that just rolled that little too far, or the fact that I’ve watch 100k orders role through this system.
Now for the clean up crew to do their job.... oh 🙁 that’s me too.
Now this doesn’t affect the order ids... so that’s something but external systems rely on that guy 😭5 -
Le Me: well it is the time to go back on that Android project and resume the work.
*Open Android Studio, open the project.
*Wait 10 minutes for build/index
*error: gradle outdated, that is ok, update it.
*error: some library needs update
*error: R not found
*error: internal IDE error.
*Clean Project: PC hangs, Fan go so fast..
Shit ! I even not touched the code !8 -
Soooo, after raising my issue regarding microsoft's massive invasion of privacy and removing control from the user a couple of my friends, ahem I mean "aquaintances", said this to me:
"Get a mac! So clean, lightweight and user friendly and won't spy on you".
Clearly people who never looked at their list of background processes and installed little snitch. I swear, every couple of minutes something is trying to phone home to Apple.
Now I've been pretty open to all platforms (Win/Mac/*NIX/misc) until recently but this has reached a point it is no longer funny.
When I get a moment I'm gonna shove linux so far up that machine's arse Steve Jobs is gonna feel it in the ether!14 -
When I discovered Clean Code, design patterns, TDD and BDD. It just clicked. Ever since everything build so easy and obviously. I no longer have most of the code problems folks rant here about.
That's when it came to me: it's not enough to know how to write code. To climb off those amateur shoes I must adopt those methodologies, so that the code would be decoupled from me, from my style, and I've got to let tests drive my code rather than vice versa to have a flexible and reliable codebase that is cheap and easy to maintain/extend.40 -
Commit Message Part2:
6528fff Code was clean until manager requested to fuck it up
241b35f Who knows WTF?!
4381a32 Argh! About to give up :(
c3bf1a9 more debug... who overwrote!
2d68d6d Fixed a bug cause Maciej said to
b112c1a This branch is so dirty, even your mom can't clean it.
bb456d4 Shit code!
4878b46 Copy-paste to fix previous copy-paste
e2c7e87 A fix I believe, not like I tested or anything
f56109f derpherp
e4b8f4c formatted all
3691208 I'm just a grunt. Don't blame me for this awful PoS.
0888b69 just checking if git is working properly...
62741aa I'm too old for this shit!
0735196 COMMIT ALL THE FILES!
09caccf I CAN HAZ PYTHON, I CAN HAZ INDENTS
1e1cda8 giggle.
ab70bde Fixed errors
934436d Now added delete for real
5f84e30 My bad
99baff8 CHRIS, WE WENT OVER THIS. C++ IO SUCKS.
953473d final commit.
f0c3b57 Just committing so I can go home
4e5ce4e yolo push
deb4e3b I CAN HAZ PYTHON, I CAN HAZ INDENTS
710c06a Commit committed....
3c45e67 it is hump day _^_
4487788 Committing in accordance with the prophecy.
bf86e7e This solves it.
4804f68 FONDLED THE CODE
051d42e REALLY FUCKING FIXED5 -
!rant
Finally did a clean reinstall of my six-year-old Macbook. Decided to change up the theme too, really liking the new 80s Outrun look. Running so smoothly too!6 -
!rant
So I am building a website and already finished it and ready to be deployed.
Got server access and found that there are many other websites files and folder.
Note : multiple copies of website that I am working on.
So I raise my concern with client about which folder is actually handling the website. She contact the old dev guy and got the webroot for that website. She told me to delete everything and clean it up and make tge current websites available.
I realize that there are many other websites may rely on those files and folder and inform about the consequences. And finally told her I will not touch any files except for the website I am working on.
So, I deployed the website and works good as expected. After 3 weeks clients comes back with an issue that one of her websites is notworking and trying to blame me for it.
Fyi : before my deploymemt she says that she will talk to hosting providers to clean their webspace. I am not sure on that yet.
So I tried to do auditing and found that after 2 days frm my deployment some has already wiped everything from those other websites.
I showed my audits and its someone did it.
You should contact your hosting provider or the other dev who she contacted for wiping.
From the begining I am telling that lady to take backups. She said no need.
The reason I didnt took it because I am not working on those website and obviously client isnt going to pay me for those back.
There is still more to go waiting for her resonses.3 -
I used to work in a tech shop. Old lady brings her laptop in claiming viruses broke her Gmail. I do the diagnostic, it's relatively clean with a bit of browser adware and tracking cookies. I call her and let her know there was nothing wrong with her Gmail and that it's good to go (she approved a tune up). She comes in and gets it. She calls later saying Gmail is still broken. I invite her to bring it in so we can have a look together (knowing for sure she was the problem). So we open up Gmail together and she shows me what she's doing. She's clicking on the sender and getting the contact card instead of the email opening. I show her how to actually open the email. She doesn't understand. I spend twenty more minutes explaining how to open an email. And this is the wk13 kicker, she waits until after twenty minutes to ask what "click" means. I was so done. That lady was too old to be using a computer.
-
Manager: The way you built this doesn’t accommodate any of my future plans!
Dev: What future plans?
Manager: I have a bunch of different ideas, I haven’t decided which ones to go with yet or how it will all work but you’re making it so we’re running out of room in the UI. It’s too busy, you need to clean it up so we can add more stuff!
Dev: …10 -
One developer to me:
I will need access to root account on that new machine you just installed so that I can install/configure all the stuff and so you won't have to do it.
Me - I can't give you root. Not even sudo, this will be a production machine, I need to have a clean track of it.
D - but I will give it (root) back to you once I'm done.
Me - look pal, root access is like virginity. I can give it away but I will never be able to get it back.
D - But you can remove my access later. And, talking about virginity, there are operations that "restore" virginity ;)
Me - yes, and I can take access to root from you afterwards, which would be similar to the procedure you are referring to. But it won't change the fact that the server was already fucked. -
FOR FUCKS SAKE, CLEAN YOUR KEYBOARD!
Today we had some presentations on a class, I was near the projector, so I volunteered to control the presentation flow.
Fast forward three teams, arrives this guy, lets his laptop and and I open it... SMELLS, FUCKING SMELLS BAD. Add to that grease and dirt all over the keyboard... I just pressed the right arrow key with the bare tip of my finger...
It's not that hard to keep your workstation clean. Most of all, odourless.4 -
Atother story about PC hardware and being... Not so careful.
A friend complained about his PSU fan being too loud. I said "well, maybe bearings are dying already".
The next day he messaged me and asked to suggest a new PSU. Ok, I threw him some links.
Leter, he told me what happened:
He decided to clean the PSU, because he thought the noise could be because of dust. So he turned off his PC and removed PSU cover with a screwdriver. While doing this, he accidentally hit the circuit board itself. Then "Puff", black smoke and smell of sth burning. Turned out he didn't switched the PSU off. Luckily, the screwdriver handle was rubberized. I'm glad he is alive ._.1 -
Yesterday, I finished the front-end of a project for a client. Responsive, clean,.. Looking 'smexy' :D
Today I've got an email of the client, saying he made some small design adjustments...
I think you already know where this is going.. But inline-css everywhere, fixed widths, br's as spacers,.. (It was like an old Frontpage-like design..)
I've changed the FTP user.. From now on, he has to request his changes so that I can apply them.. Damnit.. But hey, extra paid hours of work I guess :D3 -
Damn, I really love Vue! 🥰
It's so clean and refreshingly simple compared to the shitfuckery called AngularJS (should be renamed to AngularJK or AngularRIP btw.).
I don't understand why I haven't tried Vue sooner... much mind boggle, so regret, many thinking...16 -
Until now I've never thought of putting stickers on my laptop. Always preferred it to be clean, but with all those cool stickers on all your laptops... It made me wanna put as many stickers as possible and since devRant stickers looked lonely, I've decided to print some of my own. On other side I wantedthem to be useful for me so I grabbed a handful of NFC stickers and designed links and required shortcuts for my phones to run with them on touch. for example if I need a hotspot on my mobile to be activated quickly, I just put my phone against the WIFI sticker and bingo! And yes, devRant logo opens devRant app))5
-
This is so true, I always feel like my code architecture going to be clean, neat and organized but reality is always the opposite 😭
Source: https://instagram.com/p/...3 -
The company that I currently work for has a strict clean-desk policy. So strict, there's even have a little booklet that they have about 1000 copies of lying around the office everywhere. In the booklet is a playful description (with cartoons!) of what can go wrong when sensitive information is lying around, or shared with outsiders through careless talk, etcetera. Employees are encouraged to take a copy of the booklet home.
Also in the booklet is a description of the importance of having a good password. It mentions the required minimum (x) and maximum (x+1) length of passwords, mandatory character classes, and how often the passwords have to be changed.6 -
While I was in university, I used to be a good programmer (which I still am :D ), my friends used to copy my code for the assignments. One day, the teacher (one of my my mentors) called me in his office and said, "this is your code".
I'm like, in my mind, "How did he know this?"
The teacher said, "If you let others copy your code one more time, I will fail you".
I nodded my head in affirmation.
Later I understood that I've been a "Clean code" principle follower even before I knew this term. So, it was pretty easy to differentiate my codes from my friends. The teacher is really a genius ^_^5 -
I've just revived an old desktop computer today. Turns out that it was running Windows XP, Avast free antivirus, and had Bearshare as a default search engine (in other words, that thing is NOT going to be connected to my network).
But, it also had Chrome installed. So I thought to myself, with 1.25GB of RAM, there's no way that it could run Chrome smoothly. Opened it, and....
It consumed 80MB of RAM. 80 MEGABYTES. And that's not even a clean installation of it, it's a (likely) malware-infested one from a user! Compare that to the Chrome of today.21 -
var m = Me()
var f = Friend()
f.speak("I just wiped my whole disk drive with everything on it and I just realized how much I didn't care about all those movies I didn't watch or the TV shows that I'm keeping on the side...... It's like a clean new PC and I feel so free")
m.speak("Stop with the spiritual bullshit. You were installing Windows and it was a mistake right?")
f.cryAndNod()
m.sigh()8 -
So I'm playing around with Node late at night and decide to make something of it. Made a real-time 2-way communication system with NodeJS, Express and Socket.io. The UI currently looks cheap, but it's clean. Open multiple tabs to see it in action.
You can also send private messages by typing /p username message. I could add authentication here and also connect it to MongoDB.
Any other ideas or reviews? Also any other ideas for Node projects? Thank you.
Try it out here: https://node--chat-io.herokuapp.com4 -
Fuck Cypress. It’s a fucking goddamn pile of diseased garbage. Its design decisions actively fight against you, its methods don’t work, it’s unreliable as fuck, and it intentionally keeps stale state so your tests fuck with one another — and that even fucks up its own interface so nothing fucking works.
It’s like stepping into the shower and expecting clean water, but instead it’s just some obese guy with diarrhea shitting in your hair, and then getting all indignant that you’re upset about it.
If you consider using Cypress for something, find another project.17 -
I secretly wish everything at work fails because everyone is so fucking stupid every time it makes me cringe when I have to talk to someone or watch someone explaining something to me.
Everything seems to lack planning and focus, our PMS act more like clients than like managers, its a total fucking mess and I have to clean some of it this week.
It's getting so much on my nerves that I had to open my whiskey for the first time this year, damn. -
So here's my setup.
Minimalist and clean, the only environment I can work in.
My laptop spends way more time at home now-a-days since I bought the iPad Pro 12.9 2017... It's just so practical to take to lectures.
As for my desktop... well my keyboard definitely needs an upgrade... Any suggestions on a good keyboard?
My alcohol shrine, keeps me sane 😂😍. Let's see your setups.12 -
• Plan out everything by taking notes on the rough functionality of the project and how it could be done in a preferably simple way
• Writing code, but documentating it while doing so
• Also trying to write clean code so it can be more easily built upon
• Also keeping everything simple. If I'm using nasty, unreadable one-liners because of efficiency advantages, I'm putting a comment there for what could alternatively be used + explaining it
• Abandon it because side projects never get done1 -
How to take off with a jet:
1. Have a 2013 MBP
2. Don't clean the coolers and exhausts for 5 years
3. Transpile an app and start a gradle build
4. Enjoy your machine taking off at around 100°C
FFS Apple, 100°C is not OK. Neither is having the fucking fans so loud I can hear them over my headphones. I should probably clean the laptop... Not sure I can open it up though. Company-issued machine.7 -
I DID IT!!! just fucking installed lineage os <3 never imagined that it could be so complicated... they really don't want you to flash your phone man. I guess the main problem was that my phone is old x)
So I'm trying to get a clean and free environment, any advice about applications? My biggest problem is with telegram, I'll try wire, bit there is anything else that can replace telegram and on android and Linux? I mean I need to keep conversations sync, and I won't use a Chrome application TT so no signal.41 -
God fucking dammit why are people so fucking lazy? A couple months ago I've had the intern refactor and organise this coworker's spaghetti code, and he did an excellent job, added type safety, etc.
I've took special care to explain it to this coworker that I understand he didn't have time to organise code and the intern took care of it, and to please keep it clean from now on.
Today I had to add a small feature to the same codebase, and every single thing that fucktard added from then on was crammed in the same file. And that guy's been here for 5 years already, I thought I don't have to triple check every single line he writes by now...5 -
Hackers hid backdoor in CCleaner, with 2 billion downloads and 2.3 million greatly affected and detected so far, go fuck yourself you Windows fucking gloating noob fanboys showing off how you clean your C with CCleaner like a breeze, go clean your ass now and hope there's no backdoor there! 🖕8
-
Found the dragon book, second edition, a pretty famous compiler book at the following url:
http://informatik.uni-bremen.de/agb...
Just in case anyone is interested in it. It kinda trips me out that for 1000+ pages its only 4.somethingmb and apparently it comes from the University of Bremen, it was on the top Google results.
I think its clean, not a security expert, so if someone that is more skilled in it that I am wants to go ahead and check it out let me know11 -
I started a project at high school 7 years ago, I had no idea what's clean code or design pattern, just learn while keep coding. I eventually stopped because my code is so terrible I cannot understand it anymore.
Now, after 1 year of working, I look back those dirty codes and think it is actually not that bad. Within hours I even fixed a bug with concurrency.
I start to think, instead of learning to how to write good code, maybe I should learn how to read bad code. That's just much more practical.5 -
Running a wild UPDATE statement against an inventory database, it was chaotic and didn't have backups.... yea I know 😅 the backup service died god knows when and no one noticed. I was only new at the time so #notMyFault
UPDATE stock_on_hand = 0; WHERE id IN(1,2,3,4,5,88,972,7388);
# rows affected 1,234,567,890
> I think I almost died inside.
Oh the fun that mess was to clean up.
The positive outcome of this was, we had backups working again not long after and the inventory counts where accurate after that stock take.3 -
So, it's 22:40 here and I'm sat on a bench staring out at a pond because my stress and anxiety is at an all time high after a couple of weeks of hellish arguments with work and my personal life so as were all developers here to some degree let me convey my fucking thoughts here.
If you care more about maintaining your fucking superiority complex over writing good clean efficient code then get the fuck out of the industry.
I don't give two fucks whether you use Linux or Windows. I couldn't give two fucks about whether you use sublime, Emacs or VIM. I couldn't give two fucks about the framework you spend more time defending than coding in, because absolutely none of it matters if you code like a retard on bath salts you pretentious cunts.
Stop feeding you fucking ego. Absolute cluster fuck of an industry.4 -
Bind learning c++ chapter 3
Fuck whoever says that java is easier than c++. If i populate memory i can just fucking clean it out. I have access to the literal fucking stack my code runs on. I can integrate assembly. I can fucking make my program run in -3 seconds for fucks sake, this is so much easier than java where i have to fuck around with scopes to nudge the gc to start cleaning up and i need a separate engine to access jasm code.9 -
Procrastination is weird... Their were a piece of code I wasn't looking forward to work on, so I started cleaning my apartment instead, putting some order in my files, and even tidy up my desk, which I didn't do for months 😐
And it finally took me 10min to actually write the code 😆
It's annoying, but I can't be the only one 🤔
At least I can enjoy a clean setup... Until it become a mess again...7 -
Inappropriate experience at work? Here is another one:
The IS department manager 'John' loved shelled peanuts, but hated cleaning them up. By the end of the day his desk and surrounding area were covered in peanut shells (he never bothered trying to put the shells in the trash can). He didn't seem to care because the maintenance crew would clean up the office every night and he would come in to a clean area every day.
That was until the company owner's wife was making the rounds one day and saw his mess. The shells hit the fan. The 'beat down' occurred at EOD, so most didn't witness it, but she lit him up. Almost screaming that he's a grown man and the maintenance crew have enough to do without cleaning up after him...etc..etc.
John never ate peanuts at his desk again. -
Things to do while you encounter a bug and haven't resolved in some hours:
- Leave it and get clean air so your brain relaxes.
What i do:
- Stay there trying to figure out why the fuck this shit doesn't work and considering falling from the window a very good option1 -
So before the Age of JavaScript, when programming was trying to be an engineering discipline, I felt like we were getting close to figuring out what worked and what didn't. We had rules of thumb (more general than Patterns) and code smells.
Then JavaScript came in and no one had time to think about "engineering" anymore. I'm fine with MVP and small iterations, but the disdain I see for making code clean and extendable and improvable is baffling (and annoying). First-time coders might never have had to fix someone else's code, but two weeks in a chair should have fixed that.
It's not that understanding code is so hard (although it can be); understanding the _intent_ is hard. This MVP is great, but when no one had time to document what is actually supposed to happen, programmers have to reverse-engineer the *design*.4 -
“Overhearing powers of the Fullstack dev”
We have an internal control panel (BEEP) to manage our dev Tomcat instances. The other day, with one of my muggle friend, I was trying to restart an instance. There’s a checkbox to clean the host tmp files and directories, ingeniously named as - Purge cache.
Innocent Me (to my muggle friend): bro would Purge cache delete the application log files?
__(Fullstack dev overhearing us)__
Muggle friend: Purge ca... (gets interrupted my the Fullstack dev)
Fullstack dev: so the thing is ... it’s like ... (gotta be consistent with the opening) what “npm purge” does is it deletes the files which are not being used.
Confused Muggle friend: bro it’s a BEEP option to clean the tmp dirs.
Fullstack dev: oh I thought you guys were talking about “npm purge”
Angry muggle friend: then WHY THE FUCK did you answer if you didn’t know [...] the fuck we were talking about.
Calm fullstack dev: FYI. Might help you someday.
Deeply-hurt Me: (what the fuck is “npm purge”). Hey man do you mean “npm prune”? Because they don’t have an npm purge. And what do you mean by “it deletes the files which are not being used”?
Confident Fullstack dev: NO
Me: (cries in npm)
More to come!3 -
I'm a python fanboy, not gonna lie.
I love everything about it. It's clean syntax, ready to use out of the box-ness, convenient built-in functions.
The one thing I hate is the official documentation. It's ugly, hard to navigate and a cluster fuck.
But it has proper information, so it's fine I guess. tsch12 -
"Mh, I should just write a short comment instead of writing a novel"
// This is a fucking detailed explaination of this shit, even though you can clearly see what it does because I usually write clean code. Also, it's a one-line comment, so have fun side-scrolling -
Finally back at home (after having some trouble with Deutsche Bahn).
It is cold and cloudy here.
It feels so weird to use a laptop. I was there (in Turkey) only with my phone, typing this post on my laptop. The screen is so god damn big.
My bed is very soft. My kitten got very strong and fluffy. He looks more muscular now lol. And it seems like he missed us :3.
I missed him and I missed my car that I did not like like a month ago. I really understood how much value it has. Besides of that my mind is clean now. It was like meditation.
Fuck that pussy ass description.
How was your day, fellas?6 -
So in C++ there is no garbage collector to clean up the mess u leave behind?
And now i feel like a garbage collector.... always cleaning up after monkeys... :(13 -
I have always believed that clean code is readable code, and if your code is readable, then it shouldn't require masses of comments to explain it. However, in the course I am being taught, we are being told that in programming, comments are massively important to help another developer understand your code and what it does. So what is the consensus of the dev community?
Do you feel comments are key, or redundant if your code is written well?20 -
Had to look into some old code today and had the "Is this my code?! This can't be my code!? No one else worked on this code, so it must be mine... But, but, it's so... good! And clean! And logical! And well documented! This can't be mine... Can it!? Hey! It works!" moment.2
-
Suprise visit by my mother at my flat. Cute, but please announce it advance so that I can clean my mess 😆1
-
Dear previous dev on this project,
I know that everyone loved you and still admires you for being so nice and having such a great knowledge. Please teach me your ways of achieving this level of popularity while writing big bowls of fucking flying spaghetti monster code with a bunch of hidden bugs and thousands of lines of unit tests that clearly never been used since it is literally impossible to run them thanks to missing mocks and overall bad design.
Teach me so I can become this person who shits big reeking piles in the office in front of everyone and even after leaving people still praise them for being exceptionally clean and sophisticated.3 -
Does anyone get the feeling that as they become more senior, they care less about meeting "best practices" and more of just "good enough"?
Best practices being everything in those books about TDD, unit testing, design patterns, design artifacts.
Good enough: enough so it won't blow up in prod, some tests but not 80-90%, some docs. Basically not like those public docs, open source projects/frameworks where function is covered
When I first started professionally, I was all about efficiency, good design, reducing technical debt, clean code.
But now, I look at problems and instinctively I may make these decisions but I don't really think about it much. First goal is to just get something working, clean it up later... Maybe.6 -
My worst legacy code experience was when I worked as a freelancer and got a tiny job to improve a VBA module in some Excel file for a very big company. So what's worse than VBA? Having to change parts of VBA code that was passed around to other freelancers before like the cheapest dockside whore. After meddling in there for about half an hour I felt like all those cheap ass punter, so I decided to write the whole thing from scratch. What a relief, after 3 hours I was very proud of the thing and it looked clean and well maintained again so I let it back on the streets. 😉
To the coder who comes after me: Please treat her (the code) nice or I will burry you alive in dog poop and burn the whole thing!1 -
(first post/rant on here)
So I recently started at a new company. I was kinda aware that the project I'm working on would be rather old school (to put it in a nice way :-)).
Part of my job is to 'industrialize' and update/clean up the existing code so there is less time spent on fixing bugs due to bad design.
One of the first things I had to do was to write a new interface to integrate with external software.
I already noticed some rather nasty habits, like prefixing every variable with m (don't know why), private fields for every property (all simple properties) and a whole lot of other stuff that either is obsolete or just bad practice.
Started writing clean code (simple classes with properties only, no m prefixing, making sure everything is single responsibility, unit tests, ...).
So I check in the code, don't hear much from it again besides the original dev/architect that started the project using my code to further work on that integration.
Now recently I started converting everything from TFVC to Git (which is the company standard but wasn't used by our team yet). And I quickly skimmed through my code to check if everything was there before pushing it to the remote repo.
To my surprise, all the code I had written was replaced by m prefixed private variables used in simple properties. BL classes were thrown in together, creating giant monstrosities that did everything. And last but not least, all unit tests were commented out.
Not sure what I got myself into ... but the facepalming has commenced.14 -
> Be me
> Wake up
> Have no motivation
> Lay still for a long time
> Go pee
> Go get food
> Up so might as well get ready for school/college
> Go to college
> Chill with the usual peeps
> Maybe get food
> Have a little more motivation because of food and peeps
> Go home
> Do hw if any
> CS:GO with usual peeps
> Clean myself
> aurman -Syu --noconfirm && shutdown now
> Go sleep1 -
!rant
So this is my desk.. really organized and clean as you can see.
Let's start from the left.
That naked motherboard you see is my enterprise grade server running Debian on an intel i3 something with 4GB of ram and a 500gb hdd.
Moving on to the right you can see some flutes (Notice the pink one).
Then there is my beloved laptop running Manjaro Linux with VS code open on a random script.
Following you'll see my BEAST tower pc with lovely RGB keyboard and mouse and another random project open.
And I guess that is it. Enjoy1 -
I had to write a script to clean some crap from a database.
In particular it had some records containing multiple names and I had to split them.
It was really a nightmare because the separator was not always the same, e.g. "John, Mark and Bob" or "Alice+Mary".
«Ok, let's use a fucking regex: ",|(and)|\\+|/|&"»
Then, I realized there were some "Alessandro" in the database. Yeah, Aless(and)ro. Shit.
So I had eventually added more crap into the database.6 -
What books do you guys recommend?
So far I read:
1. The Clean Architecture
2. Microservices Architecture (50% done, should be done in a week or two max)
I'm thinking of reading next:
Domain Driven Development
What do you think?12 -
Internet access at the new Uni is crap. I'm getting so pissed at this shit...
Packet loss spikes to over 50% every 30s or so. Can't keep a single SSH pipe open for longer than a minute. Firewall is so tight infrared light wouldn't get through that shit (understandable. And I use a VPN anyway).
And every. Single. AP. Uses. The. Same. Channel. All of them on 6. At least it's on a tight band... But 1 and 11 are free. 100% clean. You know, you could spread them a bit. That helps. But naaah let's keep everything bundled up. Co-channel interference is OK, right?2 -
I just don't understand. why is it so fast to destroy the arrangement. and took it so long to clean it up5
-
After a failed brew.sh upgrade none of the nodejs packets were working anymore. I've spent the whole day googlling, reinstalling, cursing, asking for help, crying - without luck.
My boss got angry because he wanted that site yesterday.
Now i'm forced to clean install my mac tonight. I'm so tired.
Fuck!1 -
Don't reuse your fixtures!
Each test case should be isolated. Don't ever think just because some function requires a similar input, it's safe to reuse it ALL OVER THE PLACE.
Why? Because someday, you want to change one functionality of one unit.
And you adapt your tests, fix your code, and suddenly, by changing one fixture, you break dozens if not hundreds of unrelated tests and now you have to clean up that mess.
It's even worse for functional tests with all those interwoven parts so that it becomes hard to reason about the scope of your tests when lacking proper documentation.
How I know? BECAUSE I AM CLEANING UP YOUR MESS RIGHT NOW!3 -
The good and bads of Seoul subway system
So the subway here is clean.
Yes. Clean.
1000% cleaner than the one in Paris.
And it is super cool here.
Awesome air conditioning available here.
But, it isnt friendly to foreigners. They cant understand most of the announcement. Why? B'cuz it is mostly in Korean.
So today i experienced some foreigner desperately looking for help.
Our subway needed some quick fox or rest or whatever, so it had to stop and go to the garage(?).
If that happens, all passengers should get off the train.
B'cuz the announcement was in korean only, he was the only one who stayed in the train.
I wanted to go to him and say to come out, but because there was so many people around me, i just beckoned him to come out. He did.
I just felt sorry for no reason.
I mean, just.4 -
(PSA: serious replies to this kind of wk tag might be best suited under Random)
"The way you've done this seems much less complicated that what I would've come up with."
"You've been reading Clean Code?"
"I didn't think that was possible, nice."
And finally, the most extreme one:
"Can you print this code for me so I can hang it on my wall of good code?"3 -
So I'm about to finish The Design of Everyday things by Don Norman and I have Clean Code coming up next.
But what are some good programming books that are tech agnostic?2 -
Found this beautiful piece of code, that I wrote apparently a year ago .... oh my 😂 🤦♂ 😅
If I could travel back in time, I would would slap myself for doing this. Although I remember, why I did this, because of many min()/max() operations that I needed. I wanted to keep the code, so that I would know, which code piece belonged to which part, but man ... is that badly written! Nowadays with Clean Code style, I would certainly do it differently.7 -
OMFG, my upper back is so painfully stiff that I can't even breathe in w/o feeling like two knives are stabbed right between my shoulder blades.
And the weather outside is sooo excellent - first snow this season and it's so white and clean all around. A child inside me already has his mittens and warm boots on and impatiently waiting at the door to get outside to play with the snow.
And I'm supposed to somehow concentrate on work.16 -
Question
What server monitoring do you use, both for statistics and security?
--------------------
tl;dr ends here
Ideally I would like to have one clean dashboard that shows me all the nodes I have, proxmox already offers a great range of stats - but it is a page per container etc. so not ideal, I thought of having datadoghq, but their per host pricing is huge, since I have more than 5 hosts to track.12 -
Been using linux for over 10 years, just got so-called-fast-no-windows-defender-no-bloatware-completely-revamped-clean-and-resource-efficient Windows 10 Lite poromotion by 3 close friends. we are now enemies.
-
So I did a clean Windows 10 restore recently on my laptop from Insider program to just Anniversary Update . Went away from my computer for a day or so by the time I got updates completed and Visual Studio up and running. So earlier today I went to start back up development on a project of mine to come across the emulators not working. The thing is that I lost 6 hrs of production to figure this out. I tried everything possible so I gave up and reinstalled VS to just remember I forgot to turn on my Hyper-V in BIOS setting. So I'm half way in VS reinstalling and I can't do anything about it. GOD FUCKEN DAMMIT W10!8
-
Imagine.
You have a beard. You are in a restaurants toilet. The beard likes to eat half of the meal itself. You want to clean your beard, so you sprinkle your beard. Now its clean and beautiful. Then you realise - there is only one of those air dryers. You are screwed.13 -
Me: does literally anything
Npm: breaks
Why NPM? Why must you do it? This is the third time this week on a third system. I just wanted to update so my packages would work. But nooooooo. Oh you wanna update? It'd be a real shame if I, I don't know, didn't update properly whatsoever and all of a sudden couldn't find any internal modules I need to run.
"Just use npm i npm@latest"
Yeah I would except for the whole I can't use NPM at all thing. even npm -v breaks. Can't find internal module. So I literally have to wipe eveey trace of npm/node and do a clean install.
It's so frustrating! I can't do any work because I spend all my damn time fuckin around with NPM.10 -
Spent ten plus years professionally coding, used c, go , python, openwhisk ,docker, kubernetes and God know what else. Now I have to convince those team members who coded so far in their free time that write fucking clean code, avoid dependency on distributed and hard coded configuration, how to build a product
Fuck my life2 -
When I was in my final year of B.Tech.
There we had to do one major project so me and my friend both decided to build QUERA project for college. So as planned we informed to our superior and we got clean chit.
But later on we didn't know what to do??
That time my friend also didn't have programming awareness so days were going on. And the final month came and till then no progress.
My F was suggesting for purchase.
I was little bit worried too.
Then I had decided to build.
So me alone started building without any copying of templates from web(Actually at that time I didn't know that we can copy templates from web) so stupidly I was building templates using HTML and CSS. Parallely I was doing with php and phpmyadmin(SQL queries).
Seriously it was in PHP.
So this was running for approximately 14 days.
And believe me in that 14 days I was just doing project with all this stuff (obviously eating & 5 hrs sleep).
So, here the fun came
I was near to completion of my project but on last day I was not feeling well so I went to medical for some tablets.
And you know what, I was applying CSS in my mind on that tablet cover which was in rectangular shape.
Literally I was applying :D
Finally, I submitted project and got A+ for that.
Happy ending!1 -
>mvn clean install
[ERROR] Bruh, couldn't find any of these classes you're talking about.
>mvn clean install
[INFO] The job has completed without errors.
Seriously, why is Java/Maven/Spring so temperamental. It's like it has to be in a good mood to compile for me.4 -
So true ...
"Many developers on a schedule aren't making efforts to write clean and efficient code, relying on idiot-proof languages (and consequently more RAM and faster processors) to make up for their malaise."2 -
- a split keyboard with a touchpad in the middle that will let you control all gestures on a computer
- a set of desk/monitors that adjusts perfectly for ergo for anyone
- a vertical laptop dock that is modular so you can add extra memory/video processing power and only using your laptop as a CPU/secondary graphics card
- a set of kitchenware and plates that would be so easy to clean and would never get stained
-an insect home alarm system that tells you where the fucking insect is so it doesn't take you by surprise/you can call someone to remove it
- a clothing brand that has a buy one gift one operation mechanic, where you buy a shirt and an article is donated to a local charity
- a restaurant
- a simple, yet robust database option that walks users through creating good databases that is super user friendly
- an app that takes tattoo designs in any format, converts them, allows for editing, and then can hook up to a special printer that gives you the transfer you will use on the client22 -
Was playing fallout 4 a couple days ago. About 20 minutes in. The computer just shuts off. Like no power at all. I start up the computer again. Try fallout 4 again. It shuts off at the beginning video. WTF... I try Skyrim wondering if video card is busted. Skyrim runs perfectly fine. I startup Fallout 4 again. It runs. WTF...
Next day I try fallout and bout 20 minutes in power off again. Now I am assuming cooling issue and I am trying to see temps with programs. Cannot really tell.
So today I take apart my laptop and vacuum every cooling orifice out. Vacuum any dust looking crap I can see. There was dust in the fans. All clean. I run a memory test for a couple hours. Memory passes (it was brand new memory, thought maybe flaw in ram). Now I run fallout 4. Runs fine, zero issues for about an hour.
Me to myself: CLEAN YOUR DAMN COMPUTER MORE OFTEN! Okay...
In between I read about Fallout 4 causing system reboots and shutdowns due to loading and heating. Apparently something about Fallout 4 causes this more than other games. Wild... Pretty sure it was thermal shutdown protection going on.3 -
I lost 2TB of family photos and videos a few years ago by dropping a single hard drive. Nearly all of it was later found on people's computers who forgot to clean them up when we got the NAS. I'm not so eager to delete data once it's backed up ever since.3
-
I always feel inspired by programming when I create some algorithms or programs which I can use when I need to.
Small utilities and command line programs r what I make at times... and I also enjoy trying to implement them awesome algorithms 😍
However, most inspiration I get is from looking at C code though ( especially the Linux kernel... that code is SO clean 😍😍 )2 -
It's my yearly cleanup day, when I fully nuke down my windows installation, to clean out all the installed trash and residue.
Have moved all important data and I will be ready to fully refresh my computer as soon as it syncs, heres the question though.
I decided this time I'll create a dev vm, so I can just each time reset to point 0 and also because I miss having local development.
What new linux distros or flavours are out there that would be worth looking at? (I saw things like ubuntu budgie being mentioned)
If you use it and it doesnt break if I sneeze, mention it, I am open to getting to know other environments, even if its not my usual debian homeplace.5 -
So while everyone is posting their devdesk, here I'm contemplating whether to clean or buy new or just roll back and ignore I have never seen this.
I'm in a mudaphuking closed air conditioning room. Where did all this came from?6 -
Best: chief university lab position, 12 yrs as a 👨🏫 system engineer teacher, really need a break, updating me as a pro.
Worst: last chief just left email with CISCO passwords. No F* VLANS reference, no technical manual, deleted all Sh* documents on PC.
So I about 4 days no internet on university, reseted 25+ CISCO switches, reorganizing fibers, all week 💤 6am-11pm or more. VTP server core nice and clean, nice VLans, ClearOS formated an licensed, ubnt portal for Wifi.
December, organizing all the administrative stuff. We are back stable and documenting. Moving and painting office, delegation of staff.
Now in vacations with a “tepache 🍻 “ 🍍2 -
Do you agree?
Junior: What are comments
Mid-level: Hah! My code is so clean, I don't NEED comments!
Senior: comments comments comments comments comments comments comments comments comments comments comments comments comme-...25 -
I'm looking at someone's shit code... and I have to remind myself... we all have the ability to be fucking stupid, especially when we're trying to do something in order to do something else so that we can do something else.
note to self: "always remember, they did the best they could with the resources they had at the time".
But that doesn't change the fact that I need to clean up the crap they left behind.5 -
Finally switching to single boot linux. I had to keep my double boot windows because I needed it for few classes in school.
I passed all of them (at least I think so)
I love the purity of clean install after chaotic setup.1 -
Let's face it: I am and will always be a tinkerer. Yes, I know my ways around, I can sneak into legacy code bases easily and throw new stuff in there, I've seen software stacks. But scarcely sound design, really modular. Even from the cleverer, experienced ones. They can master more complexity, so they can handle more spaghetti. Some essay from the 80's had this grand idea to organically 'grow' software. That's how it looks like most of the times: cancerous, parasitic super fungi (armillaria). Yeah, we all know have to fight bit-rot and entropy, but it was all lost before already. We'll never get rid of legacy protocols, legacy code.
And even when we go green field, start a fresh. Yeah, take a great design, make everything new, after some months of throwing features and outer constraints at the thing, it's the same old mud again.
But we can still dream on: some day I will design great APIs, I will have great test coverage, documentation, UML design, autometed tests, fuzzing, memchecking, I'll work professionally, clean coder style.
Pfft forget it. Maybe change for consulting, because we'll continue to dream of the 'clean' code, so you can sell the next 'recipe', development method. It's like diets. As effective. For the one selling.2 -
Since I've started writing in clojurescript a 1.5 yrs ago, I can barely look at JavaScript.
I started to realise how ugly it is.
Seriously waiting to the day browsers will work with clojurescript out of the box, without the need to compile.
The language is so clean, clear, easy and data oriented, I find it hard to go back to js.
Also, the docs are much better.
Long live concurrency !15 -
How to fuck a web developer:
1- Introduce a shiny new shitty web component that is nearly impossible to figure out how to change it’s fucking background color, yeah.
Welcome everyone to 2019 why even it was so easy to change and customize your own shit, let’s just introduce thaaa faaacking web components and fuck everyone else. Let everyone learn again how to do the simplest shit ever.
Yes fuck everyone that is used to change and customize in an easy way.
“yUo wAnT uS nOt tO UsE SoC anD cLEan koOde?”
No no no. We will fuck you instead.2 -
There are a couple of things I like to do before sitting down to code for the first time on a project. Throughout all of this I'm (sometimes unconsciously) planning out the project.
- Clean the house;
- Buy groceries;
- Buy/prepare food & eat;
- Arrange everything on my desk so that everything looks slick as fuck;
- Actually sit down to do something;
- Realize it's past midnight;
- Go to sleep.
Sometimes I wonder if I have OCD...3 -
Public Service Request to Users from Tokyo and those with good knowledge in buying keyboards.
Which retail shop sell tenkeyless mechanical keyboard such as HyperX Alloy FPS Pro? With English words not Japanese 😬
I can't find it at my country and my gf is currently at Tokyo for a training, so.
On further note, I'm looking for a keyboard with following requirements. Would appreciate your recommendation.
- without numpad
- standard qwerty layout (US/UK)
- backlit (any color, as long as keys are visible in dark)
- USB wired
- easy to clean and maintain
- must last for more than 3 years9 -
Worst prod scenario experienced - on site in small African country working on CRM/billing system my colleague was testing some new SQL and after finishing decided to drop and recreate the DB. She thinks the process is very slow and suddenly realizes she is dropping the prod DB. In a panic she shuts down the system and starts doing a restore from tape, but is so stressed out she writes "tar cv" instead of "tar xv" and overwrites the backup with the broken DB. Took a while to clean that one up...2
-
// O(n²) complexity
for(x;y;z){
for(a;b;c){
}
}
Dev's argument: "We use this everywhere, as long as it gets the job done! Time is money!" How ironic..
So you would rather make your processing speed suffer for the sake of saving time? No, clean code doesn't matter. No, we should not waste time spending even a mere microsecond thinking about writing better code or at least consider it. No, we should just vomit out bad code at top speed. Good idea, guys. Idiots everywhere..6 -
Late night kaggle session, and I'm enjoying how cute and clean this dataset is!
I'm jealous if data scientists always get to work with such neat sets! Dude! I got .95 acc without any effort! This is so... Weird. 🤔4 -
I hate so very much about so very many things, I forget some of the things I love.
And what I love is small lines of code that reveal something about their developer. This? This I love to see.
Some guy here studied C at university, decided he liked it so much he would port it over to JS. Absolutely pointless effort, but he decided he would do it nonetheless. The code is clean, documented, just with this little quirk and I'm honestly smiling. You rock, buddy, whoever you are.2 -
Seen some screenshots of Notion. It's like airtable meets wiki, without dealing with markup.
It's very clean, and their use of templates is very intuitive, as is creating new templates.
Their offerings, even for new users, are also very generous.
Anyone used notion and if so, what did you think of it?3 -
ML Dude: “Hey see what I did with this python code. It is so clean and dope”
Business Boss: “Well Done.”
ML Dude: “It is a nice approach don’t you think.”
Business Boss: “How does this put a money in my business account?”
ML Dude: “Ehmmmm”2 -
OH MAH GAWD, FUCK ECLIPSE.
Just thank you so much Eclipse, for executing the entire build pipeline instead of running the last configuration.
Thank you so so much for considerately forcing me to clean upon every change to the codebase, also obliterating reliable hot code replace.
Special thanks for letting me clean once more, after the pipeline finished.
And thank you for the search bug, where all CTRL+H searches result in an error message, even though the search is being conducted.
Just go fucking die, you tremendous piece of garbage.5 -
So I actually prefer npm to most other package managers (with the exception of go's package handling).
Like you need to look no further than to pip's hell of package management, to start appreciating how clean npm is.
***Shots fired***6 -
Today, my macbook pro 2020 get spilled with my ice coke, i am just looking at the laptop, take some tissue to clean it, and waiting for my mac is getting up again. Feel so sad and very fcking stupid 😭5
-
I remember I couldn't compile a clean Xamarin Forms project on Visual Studio because of a System.TimeZoneInfoNotFoundException. The workaround?, changed my time zone to Central time USA-Canada. So apparently it is not allowed to use Xamarin in the third world...1
-
Swear work is where you I go to fix other peoples poor design decisions and clean up the bullshit that comes out of said decisions.
CANT!
BE!
FUCKED!
How you have so many years experience and still design in way that ensures that maintenance /improvements/touching in the future is a huuugggeee clusterfuck.
Hey, I got an idea, lets make this whole data warehouse without a single index or primary key cos you know, that's the Kimball Method.2 -
I always do reformatting my code to keep it clean and readable, so I have a reflex of doing it a lot of time.
Even on a file with thousand of lines with several persons working on it
but I hate to see that in my changes, 95% of my changes are random tabs that my auto reformatting erases.2 -
A story from the old days
My father had a fame around he's friends that he understood this nasty business that is computers and in the pre-windows time he was reasonably knowledgeable... But as things evolved he didn't evolve with them so when he's friends asked him to help he would take me to solve the problem...
One day he asked me to see what was the problem with a friend's personal computer. This is a 70+ year old man.
When I get to his computer I do a quick check and see it's too infected with so many viruses to the point it is better to just format and clean install, so I ask him to backup he's files and the next day I picked up the PC and clean installed and setup the all thing...
Not more than 3 months pass and the guy says to my dad the problem was back...
I get there and the antivirus was turned off and the PC was infected... Found it weird but okay, enabled the antivirus, cleaned everything... Back to as new.... This time I instructed him to keep the antivirus always updated and running...
One week later to my surprise: he reports it is all back... Now I am getting tired of this and went to he's browsing history to find out how the hell he is achieving this... Too my surprise the amount of early internet shady porn sites was over the top...
I know had to tell a 70+ year old man how to safely watch porn... But that is not my problem, so I ask him what kind of sites he's going to... He blames he's grandson for using the internet in he's computer... Only problem: he's grandson is 2 years old...
I just set up the bookmarks with some children sites and convinced my father to take a look at that and either instruct the man or the kid on how to watch porn without getting a venereal disease... -
Time for some bad puns I made up with my coworker when we were stuck in traffic. Got any dev puns of your own? Share them here!
Why is it called Python if it isn't a snake?
Why is it called Ruby if I can't put it on my jewellery?
Why is it called Rust if it's so clean?
Why is it called Go if it stays in the same place?
Why is it called Perl if it's so ugly?
Why is it called C# if I can't write music with it?
Why can't I drink Java?6 -
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 -
My grandparent once wanted me to fix their tablet which they said had a virus. I couldn't find anything so I went to the web browser. A tab was up which said "Your Android has 5 viruses please download our antivirus to clean your phone"
It had the fake gif flashing alerts and whatnot so I simply closed out of the tab and deleted all of the recent "antiviruses" which had been downloaded
To this day they think I'm a technical genius for the easiest "fix" I've ever done.
Oh and merry Christmas everybody! I'm new here but it seems like a great community of people :)3 -
Have been pissed at the guy who wrote the js on the project im working on (its just so messy!). Same project has python scripts I need to look at to squash a bug, and this. code. is. so. clean. They should have let this guy write everything in python. Im ashamed I ever hated on him.4
-
I don't understand the hype with blockchain.... Everything at the end relies on a huge network of miners which uses a whole lot of resources and energy right?
So isn't the cost of running one of these extremely high? And well another source for pollution, climate change? The hardware isn't running on clean energy I think?18 -
So here's mine!
It's a github for the more artistic; a place for designers, photographers, and stylists to post their work. You can choose to make your work interactive, so others can comment, or you can simply present your work. A professional option is given to present your work in a professional, clean manner with a short URl to attach to a CV or such.
Users choose whether to release their work under Creative Commons, or which attributes they wish, so students can use them in their research.
It also serves as a community and a place to collaborate.6 -
I recently started on a project, in WP though, but I strongly believe the dev is an imbecile. He's no longer with us (thank god)
Doesn't remove old code, just comments it out, or leave the file there. He loved to use and rewrite plugins, so you can't update them.
I removed this one particular plugin, which seemed to hold the website together, because when I removed it, all the suppressed errors suddenly popped up.
I've used 3 days to clean up the code
Did I say that there's a .scss file for the site, but it's written as normal css and the output .css file has also been changed, so I can't clean the scss file and compile it, because that fucks up the css file =} -
How do you remove oily keys on keyboard?
What I’ve tried so far are rub it using a pencil eraser and clean it using cotton with alcohol.
Damn. I’m having a hard time to remove it.7 -
Things I wish I knew when I was younger:
- no matter how clean your teeth are, bad breath won't go away until you clean your tongue. Buy a tongue cleaner and use it after you brush your teeth
- whitening toothpastes don't work, while desensitizing ones work well.
- after you brush your teeth, spit but do NOT rinse!
- when brushing your teeth, keep the toothbrush angled 45 degrees. The bristle ends should touch the area where your gums meet your teeth.
- use sunscreen every morning.
- don't waste money on acne-treating products unless they contain salicylic acid, benzoyl peroxide, tretinoin or adapalene.
- if you want to lose weight, you have to eat MORE, not less. But, that “more” should be protein.
- showering every morning feels like “humanity restored” thing from Dark Souls. Also, clean your damn room and wash your damn windows.
- APS-C DSLR cameras make no sense. For their weight, you can get a full-frame camera, and for their price you can get an APS-C mirrorless cam that will be way lighter.
- If you want a damn thing, save up and buy that damn thing. Don't buy the alternative thing you don't want. You'll be asking “what if” till you either die or buy the original damn thing.
- people aren't replaceable, but many people can fit their designated role. Not being able to replace your ex-boyfriend with his exact copy doesn't mean no one else can be your boyfriend.
- try a MacBook & iPhone as soon as you can to check whether it's your thing or not, because if it is, oh boy are you in for a treat.
- added sugar is evil, but it's beneficial for the economy. It makes you fat, so you need a car, so you buy fuel. Also, you feel guilty because you're fat, so you buy diet products & things to compensate because you hate your reflection in the mirror. You also pay medical fees to treat your newly developed health problems, and you die a day before retirement. Everyone makes a buck on you eating added sugar but you.
- you can use the freshly removed sticker to remove the sticky residue left by that same sticker.
- static typing doesn't solve jack shit.3 -
We are at the end of the school year, at least in France.
This is my recap of this shitty year.
My school try to teach programming, and that’s just a try.
Some of the dudes do not event know what a variable was.
For a second year university diploma, they don’t teach OOP, no Git, no DP, no JS, no clean code or whatever.
So at the end of the year, you’ll be able to code in procedural, no versioning, spaghetti code and a big mess in folder structure, lack of interactivity because of poor JS knowledge.
Well a codebase which makes you crying blood, literally.
And that’s what a second year university diploma ...
Fortunately for the most curious there’s so much to learn out of the school but, damn, why are some schools so retarded ?
For almost 8k€/year you just receive a piece of paper and you’re still a shit in your *suppose to be* job.8 -
TEST, TEST AND TEST ASSHOLE
OUR PROJECT IS GETTING BIGGER AND START TEST YOUR FUCKING CODE SO I DONT HAVE TO CLEAN UP THE WHOLE FUCKING MESS
FUCKERS2 -
!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 -
!dev
TIL: If you want to use SodaStream the you better RTFM... Fuck, there is water everywhere and I really don't have the time to clean up the mess because there is so much work to be done today...6 -
Flask people
so I was given this old flask project, around 3k lines written in py2, the code is simply old and not refactored. So, it's pile of shit. Migrations completely botched as the original author created reference to live data in models.
Very strict line formatting resulting in backslashed ternary conditions.
Even saw manually formatted json responses... _line by line_.
My job is to clean this mess and eventually do as much as possible to freshen the whole project.
Currently just refucktoring the code as it's the only easy thing to do out of everything that could be done (it's still slow process).
Any tricks and tips? currently considering to try upgrading it to py3 but it feels like throwing gunpowder into already burning house.3 -
So in our last retros some of my colleagues suggested to (forced) limit the number of lines per method in order to "maximize our code quality".
In the one hand I can see the benefits of this, such as easier testability when having more sperate testable blocks of logic.
But on the other side their code contains lots of such one or two lines private methods which get most of the cases not more than one time called. (And which I then can't even test separately)
I don't understand how this should help...
Is this really a thing? Am I just not "clean" enough?
(it's c# btw)3 -
I wanted to build a website to search for aircraft accidents, so scraped the NTSB and FAA websites and built a database out of it.
Then I went to write search fields for Make and Model. I wanted it to be easy to know if there were results for a given Make before someone tried to query by it. And then fell into the rabbithole of how to make something like that accessible.
One thing led to another and: https://github.com/amyshackles/...
Still need to add testing and better documentation and clean it up a bunch, but it’s starting to look like something, maybe. -
be me, just casually watching a cs:go fragmovie. there's always 10 seconds of ads before those, so i use the time to sip some coffee. at that second, i hear the following words..
"The first ever blockchain gaming marketplace in history"
...now i need to clean my keyboard. -
Best way to deal with office politics?
As background: we have our own implementation of some C++ data structures, including an "Array" class (basically the same as std::vector).
A few years ago, the senior guys on my team refused to add new features to it for (seemingly) no good reason.
So senior guys from another team added the features anyways, in THEIR repo.
My team couldn't stop them, but refused to allow the new features in OUR repo, so now our Array is split between two repos for no good reason 😢.
Two years later, here I am, hoping to clean this up. As far as anyone knows, there's no good reason to have it split up like this.
How do i convince my team that we should move the code to OUR repo where it belongs?7 -
So apparently not a bad idea to clean up your folders every once in a while. Just cleaned about 120GB, mostly by deleting things from my downloads folder5
-
Does anyone else think some of the Sonar rules are actually crap?
In particular the Put all you variables above methods one?
I have some static methods and variables and some object ones.
Apart from creating a new class for them which I think is over kill for just a few helper methods, don't you feel you should keep all static stuff separate?
Clean code shouldn't be about following arbitrary debatable rules, it should be preventing the horrible crap that any experienced developer would instantly call shit... If he didn't write it.
And I'm pretty sure I'm experienced so if I'm not calling a price of code shit...I don't see why Sonar should...1 -
I like a clean Mac so I'll have to find a different place to slap these stickers on, but they're here!1
-
"There is a reason that we keep our variables private. We don’t want anyone else to depend on them. We want to keep the freedom to change their type or implementation on a whim or an impulse. Why, then, do so many programmers automatically add getters and setters to their objects, exposing their private variables as if they were public?"
-Uncle Bob, Clean Code.1 -
I've been running Xubuntu for a while now and decided to try out Ubuntu's latest release.
So I backup my home and workspace directories by compressing them into archives and deciding to move them to another partition.
Long story short, I wiped my partition and did a clean install only to realize a little later that I had moved the backups in only my mind and not on the laptop 😭😭
That is how I lost all my local projects (the ones I hadn't pushed)
Well fuck me😒 -
If your project gets fucked up beyond repair, for example by your IDE (I'm looking at you, Android Studio) try this:
0. Backup any ignored but essential files in your project (e.g. secrets) outside of your project directory.
1. Close your IDE.
2. git clean -xdf
3. Restore any backed up local files.
4. Reopen the project as a new one in your IDE.
This is awesome, because it cleans up everything non git and not committed. So any local project files configured by your IDE will be nuked, which allows for a clean start. Also, all your locally committed work is preserved.
BTW, if you really need to start over (even with git), then just remove all the things an clone the remote repo again. -
Our original backend codebase used so-called "clean architecture" and really put the Java back in JavaScript (actually TypeScript, but hopefully you get my meaning).
For every endpoint I want to create, our design needs at least two classes that are basically callable singletons. If my understanding doesn't fail me, it could have been simple old functions... I think?10 -
Can someone help me?
I want to program games, (2d & 3d) I have made games in clickteam and RPG Maker, but I want to program them. My biggest issue is my hardware. I have a not so powerful notebook, and I don't have Wifi. So online installers are off the table. (Nono, visual studio.) Syntax, I like clean, easy to read syntax, and I would like an active community. Any suggestions?15 -
So I had a discussion now with my mom about my work and it turned into a rant. But I came to this conclusion:
My most effective way to screen candidates for a backend/fullstack tech job would be to ask them what are the most influential programming books they have read and why.
If they don't mention any books (or points covered in these books) in this list, they immediately fail:
-the effective engineer
-clean coder
-code complete
-team geek
-the Phoenix project15 -
So a few days ago I found a programming language called Imba. And I think it is an excellent web programming language. It is very fast, has a clean and easy to read syntax, compatible with any JS library (since it compiles to JS), has inbuilt CSS, can be used to build a full-stack website, and has been in active development for a long time (6 years). It is relatively unknown, so there are not many big projects built with Imba. Two of the big projects that I found so far are Scrimba (an online learning platform) and Iceland's fish auction market.
Some useful links:
Imba website: imba.io
A benchmark website from 2018: https://somebee.github.io/dom-recon...6 -
Another team didn't bother testing their code correctly, they passed us invalid values that another microservice needs, as a result they have a bunch of unstored data (that they would have seen wasn't being stored if they bothered checking the last stage of the process to see if it was stored). Now it's been so long that the data is expired. They want us to manually store millions of transactions for them.
Now tell me...if I came and shit in your bed, shouldn't I have to clean it up? -
Well it's about my B.Tech project.
I had windows 7 and I had lots of imp data along with my project and I hadn't taken any backup of my project(not even report copy). So after successful completion of my project I thought let's play with OS and try other OS and that time I had rare awareness about data and OS too.
So I had copied my imp data(mainly friends party pics) into my friend's external HDD and I thought yeah I have clean chit now and literally I forgot about my project which was in C:/ drive.
So happily I had done experiments and enjoyed a lot and one day my my project partner asked about project copy and I had just given a smile.
RIP.
Happy Ending :D1 -
I feel like some developers focus too much on concepts like clean code, software craftsmanship, TDD and so forth, to a point where they almost forget end user needs (ease of use, intuitive experiences, general UX principles).
Don’t get me wrong. I do my best to stick to a decent standard of quality and maintainability. However my solutions are adapted to the specific needs that are being addressed rather than the other way around.
I’ve heard some devs say things to the effect of ”well I know that’s not most intuitive behavior for the user but it’s the cleaner way to do it, so the user will just have to figure it out“. So in essence they’re just coding for their own pleasure rather than addressing user needs4 -
So for a side project, I had to understand the reasoning of a former project for this one. I was told it's the most clean and the most reliable I could get.
I scroll in the classes developed, then suddendly in a comment :
"TODO : Hardcoded for now, will be expected to change"
oh fuck me. -
So, in C#, are there any tips or guidelines as to how to write "clean" multiline strings? I mean, imo it doesn't look as neat when the code looks like:
static string kindOfLongVariableName = @"First line of string.
Second line of string...";
With the first line sort of hovering on the side. What I'm used to is with Python where you can just:
variable_name = """'\
First line.
Second line.
"""
And use the '\' to escape the newline, but that obviously doesn't work in C#. Can anyone point me in a direction to start looking? The docs are a bit confusing and not very beginner friendly. :/20 -
Hot take:
Want to bloat the shit out of your product and want to lose the core USP?
Want to stop solving the problem you set out to address?
HIRE A PRODUCT MANAGER.
PMs are expert at shit show. We fuck up everything.
God I hate my profession.
When I start my company, the mandatory rule for every PM will be that if you want to add or enhance a feature, they will have to remove a feature. Whoever fails to do so will be punished by having to clean up the code base and work in sales for a quarter.7 -
!rant
So Today I decided to Learn on React native, something during set up. Decided To clean Node_modules , the file size is 34.45GB
(o.O) WTF ?
I am not a big fan of Node Js or react, Can Someone explain to me why the file is so large?8 -
So are we living in the time where new programmer are no longer care know how to code effective and clean code because of libraries out there OVERSIMPLIFIED it?3
-
Yesterday, I was expecting my merge request to be closed.
I've done all the stuff my tech lead told me to do.
All tests passes, green light boyzzzzz.
Gitlab CI pipeline passes, greeeeeen light I said.
In Jenkins everything f*cked up...
Why ??
Well it was a conflict with 3 other MRs, missing rebase from other dudes.
And because they were remote working, got to clean up all this mess.
That's was a day off.
PS : well that's was not so off, I could fix a UB on a ternary and extend a test which was not covering some cases.
PS2 : learn git damn3 -
I managed to clean up the React part of my project, and now everything is smooth AF *.*
But boy oh boy did I fuck up big time, any console.log() written under the render section of anywhere was triggered around 4 times! I still have to rebuild everything (I only finished the dashboard so far) but it will be cleaner that I could ever hope2 -
for the life of me I cannot figure out in my mind how to structure this project I want to start, and jumping right into coding does not improve this mental block.
At work this Golang code base has a clean architecture, so easy to maintain and extend, and I'm unable to replicate it on my own project(s). It sucks to be an ignorant.2 -
Too many people seem to think that "goto" in C is the worst thing you could do. It's an abomination, never use it! (Not something I've seen here per se, just generally around)
Challenge:
Break out of a loop inside a loop without using goto, and make it look pretty. Seriously, I don't think it can be done, and goto just makes it so clean!7 -
Developer: You can’t just change the build process
Me: I set the “Get Sources” step to clean the build directory
Developer: Yer exactly you can’t do that
Me: It should build from a clean source though
Developer: Yer well it works so don’t change it
Me: Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh2 -
So I just downloaded devRantron and it's great, it was so easy to install with the .deb file, the website for getting it looked very proffesional and the program itself also look very clean and overall proffesional. The only thing I wish they could have made would be for the boxes containg the rants to be wider, but overall it's amazing!5
-
At this point, I feel so far from tech and programming so nothing is exciting anymore, although, I'm working as a "software engineer".
Every job feels deadend and requires nothing but absolute mundane skills. I mean "make the text bigger"-joke does not come out of thin air. No science, engineering, and little-to-no standards are involved in most jobs.
This leads us to this: you can get excited about rust, fp, extra dazzling clean code, uncle Bob's sect of salvation coders or whatever but you'll be hit with reality so don't get your hopes up.1 -
Behing fuked almost every day because others don't clean after them... Like... I'm the only one who doesn't reply back, so... Almost every fuking day...
-
Fuck Windows. I just checked settings hoping to see the Creators update but noooo it's been failing to install a minor update for weeks now. And the best part is that the only solution might wind up being a clean reinstall. I need to be sleeping right now but I can't go to school in the morning without my laptop either so I'm fucked. I was already too deep in the recovery process by bedtime to back out. Fuck.1
-
I tried playing with github pages sites today.
It was, as expected, *almost* awful. Tried the toml config first, figured out after a while that shit doesn't map well between jekyll and toml config.
The themes suck but didn't want to fuck with css files. As it is on a public github repo, I can't just copy paste and clean it up.
... So much for free software to be a pain in the arse to deal with. 🙄
Still better than nothing and I guess that's the entire selling point. You suffer, but it's *for free*. 🖕8 -
TLDR: Why the fuck is a senior developer creating multiple instances of a core piece of logic all over the fucking application?!?!?!?
Context: I am also a senior dev, and have worked with this guy for years. He has even completed me on my clean code practices and architecture, so I really cant understand why he would copy and paste a public class into 3 other models on the project instead of just referencing the original. I’m just posting this hear as my version of screaming into a pillow in frustration, and to avoid badmouthing him to co-workers.6 -
So I had this project manager that asked me for a "quick win" on the Tuesday (no release planned) I told him I'm already working on fixing this solution properly and be ready for Friday.
He was determined i wrote code that was going to be useless and never used. As a result I sent him the productivity graph from the clean code book.
After about an hour and a half of silent. I was move project.1 -
To all the laravel developers: is there no way to get a clean new app without having to clean out all the default shit? Lumen seems to be pretty good for minimalism, but obv. doesnt provide as much as Laravel, so what do you use or do - do you each time clean out a laravel app before you start developing on it?..5
-
Do we have a problem with all new languages being thrown at us but little awareness of the need to write clean code?People seem think simple is old fashioned. I am not saying the new languages are wrong but it seems like we keep reinventing the wheel. I have seen ideas get recycled, discarded then re-emerge later. I have seen so many things last 5 years or less just to return later rebranded.
-
Installed centos 7, docker, standalone kubernetes on dev machine in 20 minutes.
Spend 8 hours starting fucking dashboard service, still no fucking luck, no fucking logs, nothing.
Fucking pending states without fucking explanation.
All the fucking pods are running fine except one fucking dashboard. I want to see the fucking dashboard.
Fucking shit fuck.
Probably as always if I clean the machine and reinstall everything it would start normally, without fucking problem.
Debugging fucking containers is so much pain in the ass, fuck.
I think it’s enough for today.2 -
Now I'm a bit impressed by auto complete of VS2022.
The full text in grey is auto complete proposition.
Back story :
I have a table where datetime is stored as nvarchar(max).
I'm trying to convert that shit into a proper datetime2 column
But there are dates in ISO format, there are in MM/dd/yyyy, dd/MM/yyyy and there are some with hours/minutes parts.
So i'm making a little script to clean of all that up.
Ofc, not a perfect result, like 01/02/2022 will be considered as dd/MM/yyyy (98% of values are. But still cleaner than before1 -
Windows 10 randomly installs apps from their market on my PC. Reinstalled windows a few days ago and wanted to keep it clean (not installing too much stuff I won't need anyways). So I installed my 7 programs. What do I see in my apps list 2 days later?
- 3 versions of Candy Shit Whatever its called
- 2 racing games
- 10 utilities I never heard of before
WHAT THE FUCK IS GOING ON??8 -
So I am debugging a connector library for an api that users curl.
I am fighting my ass off with errors and a lack of debug, testing or thought for CI
Take a poke around this set of classes only to find.
Postman token in the opts. and a removal of ssl check. What you straight copied from postman.
Like seriously clean up your fucking code if you are gonna put something out as production ready to your team.
Console.log('fuck'); -
So my laptop screen started flickering to black when movement occures on screen, making it look like a stroboscope and giving me a sweet migraine.
Impossible to code, write, browse or get anything done. Good bye finishing deadlines on time.
Don't know what's wrong, hardware or software, I have no freaking idea. But I'm tempted to take this as a oppertunity to blame windows10 whipe my computer clean and running some Linux OS instead.6 -
!rant
https://github.com/rohitshetty/...
I am a young dev trying my hands around in different stuff.
So I would appreciate any criticism or comments that would allow me to Learn more :) or good practices I can follow.
Here is one project where I tried to create a structured frameworkish way to write mqtt processors.
Mqtt processors are standalone apps that process mqtt requests that has to be acted upon (like add sensor data to db sent from sensor node, read from db, turn some gpio on or off if the app is on some embedded device like raspi ) etc.
This project creates a structure where you can just focus on writing subscribed topic listeners in a clean neat way. (Hopefully)6 -
Parental Programming: noun 1. Between chaning diapers and preparing milk bottles you contemplate about the code you are going to write. So in the 5 min you get to do it you can punch it out almost perfectly before you have to clean vomit from a carpet.1
-
Well I like to keep my room clean so I don't really have anything on my desk, except WATER, I have like 5 big bottles of water so that I remember to drink, and always have enough
-
I've just published my first npm module/package .For so long, I was feeling bad that I've never shared any code via npm before. So, today I thought of sharing any old code that myabe some people would find useful . I did (also had to add some lines and remove alot of lines to keep it clean and simple) and for my surprise, in few hours it got 45 downloads! although it's angular (1 not 2)3
-
Sometimes my hatred for code is so.. overwhelming that I think I need a sabbatical or should even stop altogether.
Let's face it. All code sucks. Just on different levels.
Want to go all bare metal? Love low level bit fiddling. Well, have fun searching for concurrency, memory corruption bugs. Still feel confident? Get ulcers from large C/C++ code base already in production, where something in the shared memory, function pointer magic is not totally right?
So you strive for more clean abstractions, fancy the high level stuff? Well, can you make sense of gcc's template error messages, are you ready for the monad, leaving behind the mundane everyday programmers, who still wonders about the scope of x and xs?
Wherever you go. Isn't it a stinking shit pile of entropy, arbitrary human made conventions? You're just getting more familiar with them, so you don't question them, they become your second skin, you become proficient - congrats you're a member of the 1337.7 -
Currently waiting in the doctor's office and the pc on the table is making so much noise... I have an itch to fiddle with it, maybe get a can of compressed air and clean it out. Though given that it's a doctor's office, not until I get gloves and a mask.
-
Useless JS library #1 ready:
A paned-tabbed js grid, where cells can be iframes because every grid operation only changes the css and the cell itself is never moved in the DOM. The purpose is to support complete sandboxing of untrusted snippets, so we could even let users pick their own modules if they want extra functionality.
Soon I'll clean up both this and the messaging and put them on github, but to me writing these is a creative process and the working prototype is everything but readable.
In the meantime I put it on
http://test.tardigrade.dynu.com6 -
Everybody is bussy!
So let's going to give this mess to the one who never worked with mongo, does not know the objects in the DDBB, add to it some weird way to build queries in java to it and hope for everithing end well!
End well = need to be done today.
Guess what? Not for today! I have no clue of how to clean this shit.1 -
I fucking hate how every Instagram username I want is fucking taken by inactive accounts.
Obviously, I want stuxnet - 2 posts from like 2014 and 0 follows/followers.
Ok well let's try stux since it's a bad ass 4 letter handle - again, no posts in months.
Like fuck me man. Insta should clean up inactive accounts and free the usernames so they're up for grabs again.10 -
Rust's Result is definitely the best error-handling experience I have ever had. I started working on some Typescript stuff after using Rust for a few weeks and had to implement my own Result. It's just so easy and clean that it leaves exceptions in the dust. I don't think I can live without Results anymore.
Now I understand why everyone loves rust so much. It's just so clean, safe, easy (after you get the hang of it) and so fucking powerful (procedural macros are awesome).
I want to use Rust everywhere now <35 -
devRant, Ineed your advice / help. This following year I'm going to study in the afternoon again. Since this year I don't have to do an intership, I wanted to start working in the morning. There are some problems though:
I never had a job
I'm still 17 so, even if I can legally work, companies don't like to hire underage people
I'm a punk, so even if I'm a really passionate person and I try to give my best always, I've already had been rejected because how I look (literally)
So, I wanted to know how can I build a professional looking CV and how to show to the requiter my GitHub (and now gitea) accounts, if I should clean my repositories, etc...
I'm basically searching advice on how to get my first job. Skills aren't the issue since I know how to code, manage networks, server infrastructures...
Thanks :D18 -
Fastboot I LOVE U!!!!
Somehow entered into a boot loop after enabling a EdXposed module.
LineageOS recovery sucks, has no terminal so can't disable magisk modules... only can mount system, not data....
So dumped LineageOS's payload.bin and flashed the clean boot.img11 -
Wtf is wrong with AWS CDK? I add one EC2 instance and it deletes all my queues and api resources, then fails to create my EC2, does some fucking rollback then attempts and fails at some fucking rollback clean up.
So it nuked my entire fucking stack because why?
Because FUCKING WHY JEFF. WHY IS YOUR ROCKET SHAPED LIKE A PENIS AND WHY IS YOUR SHITTY FUCKING DEPLOYMENT SYSTEM FUCKING WITH ME LIKE THIS.
I can’t do this anymore. I’ve been doing this for months now. I really don’t know whether to laugh or have a mental break down.
Complete Disaster Kunt. That’s what I’m calling this shit from now on. I just don’t get how it can fuck itself up so much4 -
Soooo I have been taking my learning experience to Hackerrank.com, so that I can give myself some training with actual problems to solve instead of all theory, and today I'm working on one of the Challenges, and and I'm slowly getting it and working at it, then im looking at the code and think man I can clean this up a bit and merge things and make it look pretty! So I slave away and making it look pretty and stuff. I look at the code, all 70 lines of code and I'm so happy with my work. I pressed submit, of course I passed it! I had made sure every bit of my code made sense... After I finish and am so happy, I decide to take a look at what other people answered......
While my answer was 70 lines of code, almost everybody else's was AT MOST 18-20 lines of code!! Uggggggghhhhhhhhhhhhhhhh Makes me feel like I got a LOOOOOOOOOOOOOOOOONGGGGGGGGGG way to go...3 -
!rant
[Update on previous rant at the bottom]
So I had the technical test last friday. I did not try to implement any automated test as it is not my forte.
I had three hours to showcase my knowledge of data structures and OOP so I did that.
The test was somewhat long actually, so I left out one part that I did not have time to implement: validation of input files.
Today I got feedback, everything went well, they liked my code and I only got two negatives: Error handling and automated tests xD
Now I'm going to the second phase: phone interviews and they are gonna asks the whys of my implementation.
I'll have to explain why I did not implement automated tests and the girl on the phone told me "they didn't like it much that you had no tests because tests are very important for us".
I guess I'll have to come clean and say that I'm not very strong on that but willing to learn, so I didn't want to risk it doing something I'm not really good at.
I hope it ends up well.
prev rant:
https://devrant.com/rants/1607302/...4 -
Today I redacted all my girlfriend's SEO seo resume while clean his macbook of badblocks so she could be able to use my so hated osx...6
-
Two years ago we took over this project which has been a nightmare to maintain. It's a set of netcore 2.1 webapps running on an on-prem windows machine. Everyone who has worked on it so far has quit, leading to two episodes of it being passed on with near zero handover.
Its function is fairly simple, so naturally we have been nagging to redo it and cloudlift it.
I was finally given one week to see how far I'd get, and had a poc running in Azure after one day; 4 apps in clean net6, SSO, and managed identities. The only thing lacking was setting up the authentication for third parties.
And... they still don't want "something new" when the old one works. Back to IIS and debugging windows event logs.1 -
Why Apple has to do every configuration so f**ckin difficult? After a thousand logins, validations, and 2FA just to change my f**ckin region I find that I need to contact local support by chat or call even if my account is clean (no payment method added, no purchases made, etc.). Yeah right, great products, but crappy website UX.1
-
Wasted 8 hours today trying to convince Windows to boot.
Yesterday I deleted two unused partitions. Today no OS booted up. Guess what, diskpart (think parted for Windows) reindexes GPT partitions on any modification. So when I deleted partition #1, my EFI System Partition, previously #2, became #1. But UEFI was still trying to boot from partition #2.
Linux booted after recreating UEFI boot entry. 1 minute job, no tools required. Windows, though... Bootrec /rebuildbcd failed, bcdedit failed, recreating ESP from scratch failed spectacularly. Finally I made a clean install just to get proper ESP and restored OS from backup.
Dammit, Windows. Why do you have to make things that hard.4 -
okay so basically my cousins are staying over and its so annoying?? like they think they own my house? and like i have two dogs so with dogs comes with all that shit and pee that needs to be cleaned and ofc they dont understand because their mom cleans it all for them. then when my grandma comes over which idk why they keep asking me and my bullshit ass brother to clean it. and my parents are overseas so me and my bro has to clean the house and stuff. and my bro literally does no shit man. he aint jokin1
-
Why is it that everything looks so ugly in Ubuntu? By everything, I mean the IDEs (Eclipse/Intellij), editors (sublime/vs code) and even the web pages. They look more clean and pleasing in Windows or Mac.
Is there a extension or plugin that'll make things look "pleasing"?
Sure, I can edit the font to be anything I want in vs code, but it is only for the editor. The sidebar and the menu still is in default system font (I don't like Ubuntu font)4 -
Its not bad but, fucking hell, finally can catch up on work but burn teh fuk out of my left hand. Scalding coffee grounds, once flung off in pain, take forever to find and clean up. So now Im behind-er than i was and slowed down massively by having to type with 4 fingers and a bandage. Apparently i need a personal barista bc i cant be trusted with hot coffee grounds.1
-
!rant
Just an appreciation post. Ant Design is the best React Library that I have encountered so far. It's so easy and clean to create new modules. It has already built-in features, especially for Tables.
As a backend developer who has been working in front-end for the past 6 months, I love this library. -
Home grown coders or college grad coders?
For those of you that taught yourself too code, or those who studied in schools, which style has prepared you the most for the real world?
I've met so many self taught coders who can program circles around some of my colleagues, but does a computer science/programming degree ensure you success over those who may know more?
Thought it would be an interesting discussion for you lot, personally I'm a mix of both but primarily a undergrad coder.
Keep it clean :)8 -
Had to fight demons to unclog this fucking toilet 🚽🪠🪠🪠
Shit so Huge the toilet got stuck. Water couldnt flush from my Extremely Big Fat Shit. I could also see the big shit i shitted. It was so huge and fat like its a Python🐍
While plunging it stank SO bad. I suffocated from the 6-hour decomposed shit that was stuck there. God it was bad. U guys are lucky to not have seen this monster💩
But i succeeded. I flushed it. Now its as clean as the bumholes of corporate people and hiring managers11 -
As I will have a new job soon and it seems likely that it will be in network api design I wonder if you have good book recommendations on the topic.
I already have "clean code", "clean architecture" and "design patterns" in my pipeline, so I need something more specific on designing network (restful) service apis.
(This is a follow up to https://devrant.com/rants/1828903/...)3 -
Wow! This is a popular topic!
I would say myself... Many developers I look up to and impress the fuck out of me... But I think I'm still not half bad.
However, while I haven't met them, the number of times I've had to clean up the shittiest code from developers who have been and gone is astonishing... So... So bad... Like what the actual fuck... -
Today I wrote my first small python application as an exercise:
Scraping all post EuroJackpot draws from a website, save them in a database, sort them, some checks and do some combinations. Everything quite clean in classes and functions.
And the "application" is just 100 lines big. I love it so far how much can be accomplished with just a few lines. -
Got mixed feelings about dart/flutter 😕
On one hand, I find it very easy to work with and very fast for prototyping. Everything is smooth once you compile it.
On the other hand, I keep running into weird as shit bugs and missing functionality. The bugs are primarily related to iOS, so that might not entirely be their fault. Last one required me to delete the entire project and rebuild it, the clean command didn't work shit.
It's quite annoying that so many features are missing, but I guess that's life, when you try to work with a multi platform language...1 -
Has ANYONE ever seen an example of a clean, usable LCARS-style user interface for anything practical or everyday use? It was always so cool to look at on ST:TNG but every time I see it put into practice, it falls apart. I don’t know why I want it so bad, but I do.4
-
Well, after I convince my most beloved client which, minimal design is meant to stay well, clean and sleek. There can't be too much elements to be in it. So user can have a very comfortable experience browsing your website...
Then the ClientA said:" But I hope to show them more about my business..."
*facepalm* I surrender... yet another doomed to fail site coming soon... -
Today I created some reusable clean decent code to replace the random chaos in a huge project and then realised I had 3 options:
1. Sort out every instance to use the new code. This is very high risk because the project is both a shit show and has no tests. I don't have time to manual test or write unit tests on so much stuff.
2. Move over only some so that I can manually test. Still no time to unit test (management is fucked on their priorities). This will fuck the project even more since i will never get time to revisit this and adds yet more inconsistency and chaos to a project on its last legs and has this problem in droves.
3. Leave the project fucked
\_(^^)_/
I'm veering towards option 3 these days.1 -
Working on an opencart eccommerce site I built in 2011... What the fuck was I doing?
Pushing the company to go for and upgrade / rebuild so I can clean it all up.
It was my first online shop AND my first opencart project... But even so... It's scary to look at. Works great, but the code layout is making me twitch.2 -
So I decided to buy a new graphic card to fully enjoy my PC games. Once I set it up it sounded like the fans were working too hard,so I decided to open the computer case and clean inside.
And now it doesn't boot anymore. Nothing at all on the screens.
I don't know what I did, only the fans are turning when I press the power button. Even the led on the front of the case is not blinking anymore.
I have enjoyed my new graphic card during one hour all in all. Frustration is high.8 -
Oh no. Im shitting for too long on my throne and now my legs are feeling numb! I can't stand or walk. Fuck. How do i wipe this shit or clean hands. Shit. I need a standing toilet or a tube in my asshole so i can shit better. Like a devops pipeline8
-
Id say my least favourite part of my workflow right now is the selenium automation I have to run locally for dev testing.
The stuff I have to run for my current story takes about an hour to reach the point I am interested in. Then if it throws an exception or doesnt work properly, I have to make my fix and run it all again.
And theres not much else I can do while its running either, if I make any other code changes Gradle will recompile everything. So I basically have to sit and watch it, or go watch a clean coders video in another window while it runs. -
Damn some stupid moves can literally fuck you up.
I just moved to linux distros around 4 to 5 months back. And I have installed and reinstalled it many times. So I thought it's simple and cool af.
So last time when i installed Ubuntu 18.04 i had it installed it on SSD and mounted my home from HDD. I felt super awesome. It worked perfectoo! 😘
And now I had some issues with dual booting so i planned to resort it and make it clean.
So during the installation process there's a part where you gotta select where to installation path and all. Its been a long time since I did a clean installation and TBH i forgot the / and /home . So what i did I put / on my previously maintained home instead of putting it on the SSD.
Now I am FUCKED!
Guys never ever make this mistake. It's baaad. Reaaal bad!2 -
Just joined a start-up as full stack developer intern ! The environment are so clean ! (Physical and Dev environment!) I'll start posting rant stories sometimes then 😊2
-
You know what is awesome. React with Redux. It is such a clean and scalable pattern for building UI. Conceptually not that easy but on once you have it. So much better than any other pattern I have seen.
But what fucks me off is working with other librarys with it not hard just fucking annoying.2 -
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 -
I botched up my forked repository during the merge phase. So I had to clean up my Fork and restart from Upstream 😤😤😤2
-
What do you do when your team ignores you but they're needed because it's to clean up/change their shit?
Lately it seems I get a lot of issues and they are all caused/created by monkeys...
I now feel so unmotivated I think I'm gonna work from home for the rest of the week....1 -
!dev
Fuck, I hate moving. All the tearing down and subsequent assembly takes sooo bloody long. And you have to be extra careful not to destroy all your (no so) cheap IKEA furniture when taking off the screws and nails. ~Lê stupid me didn't think he'd have to disassemble this stuff, so I actually used nails. D'oh. So now I have some splintered wood. Congrats, you cockwomble. Good luck repairing that.
I'll use screws (torx head, of course) when reassembling though, not making the same mistake again.
Oh, and then there's all the dust and cobwebs and fucking spiders living under the furniture, because I can't tilt my wardrobe to vacuum underneath it. Just. Fucking. Lovely.
On the upside, I get to do an early spring cleaning on all my accumulated trash. New apartment is gonna be so clean and minimal, you'd mistake it for a monastic meditation room. With a pair of monitors and my beautiful desktop to the side. Meditation is lovely, but I also pray to the silicon and transistor gods. Need mah tech shrine.2 -
Some people like to spring clean, rearrange their house, wash their car, build shelves, or some other chore.
Me? I just spent a couple or so days manually "syncing" the packages on my 2 laptops. That is, making sure that `apt-mark showmanual` and `dpkg-query -l` shows the exact same output on both of them, by manually apt-marking / apt-get installing / removing the exact same set of packages as manual/auto and ensuring the exact same set of "recommended" / "suggested" packages are pulled as dependencies on both.
The end result is a sysad's ideal - I have wasted countless hours making sure absolutely nothing has changed. But hey, my package list is clean, and if aliens from a software dimension abducted one laptop... I have an exact clone ready. -
So today, I have to clean the project, republish, clean Tomcat's directory, recompile.
That takes forever omg -
Clean install of Ubuntu 18.04 on my work desktop, rbenv won't install a ruby version saying i need to install libssl-dev (that i've installed, ofc) and the mysql install did not prompt me for the root password, so i can't login on it.
Yay3 -
I'm doing a website for a client that owns a typical British village pub, this is part of the brief:
"Clean, Warm, Colourful modern look with a rustic feel to compliment the internal physical attributes of the pub"
So contradicting.4 -
So I was wondering... What's the worst burn you've seen from an unknown angry dev that you had to clean up?
A recent one of mine was a client in need with nuked hosting, nuked domain records, no backups, no access to any accounts and the business set to permanently closed on Google.
I thought that last one was a nice touch!1 -
Why the hell some people put all responsibilities of their own choices on other? And why do they think that everyone is so stupid to let it happen?!!
We are finishing an MMP, and the only director (quality) on the defining panel is starting to say "It's not what I wanted to". He fucking knows we recorded EVERY WORKSHOP!!!!
So know we have to rush some modification so we can show the "almost finished product" tomorrow, and I need to prepare all proof to destroy this mother fucker!!!!! It's tiring!! Why can't people accept and own their errors!!!!
And then I'll have to explain that as e rushed for this demo, we'll have to do more work to clean the job they asked to rush!
WHY ARE PEOPLE SO FUCKING STUPID!!!!!! WHY DO PEOPLE NEED TO ADVOCATE FOR ABORTION UNTIL THE 2240th WEEK BY BEING PRICKS!!!2 -
Sometimes i feel really messy in my code and unorganized.
after a while i regret what i did and in order to fix this mess i re write the class all over again or i end in an endless errors which is time consuming.
So what's the best way to write a clean code in your opinion other than commenting and identation1 -
Does anyone here know how to set up windows 10 bootloader files?
So I wiped my laptop clean, installed windows, installed manjaro, and deleted window's ESP for shits and giggles. Then I tried using bcdboot to restore bootloader files in the ESP I put GRUB in, which got windows 10 on the GRUB but selecting it loops me back to it. Whatdoido.6 -
I fear that my code isnt as much good as expected so I started hurting my fingers... Anyway, started reading "clean code" so hope it helps... But fear remains... Want to do a good performance; I am married now...4
-
So best way for me to learn is copy paste from the documentation, then fuck everything up and then clean the mess 😌 Seriously works way better than tutorials 😂3
-
OK so here's that App I wrote for scraping recently added Prime Videos info...
It's really pre-alpha and lot's of things to clean up but... it works... for me...
https://github.com/allanx2000/...
You need to relink some of the references... You can download the DLLs here. Haven't cleaned it up yet and don't need EntityFramework.
https://github.com/allanx2000/...
Now why am I posting the source code you ask?!!! Well you see writing an app that tells me what new movies were added so I can add it to my watchlist is a poor investment honestly...
Porbably invested 10 hrs writing it and well that adds more movies to my Watchlist. Watching these movies even at 2x speed still takes 1 hour...
I could/should be doing better things...2 -
Has anyone ever gotten used to using Microsoft email inbox (Outlook or Live or Microsoft online or whatever the heck it's called)? I feel completely lost whenever I check my university emails. Gmail is so nice and clean.
Also, to them privacy freaks, what do you guys use if not for gmail?5 -
After a damn amount of time I've been considering it (a lot of data in there and I'm lazy), I've finally wiped the android clean (dalvik+cache+the rest). Happened exactly what I was expecting:
All in-app errors (even devRant feed) magically disappeared. So, if you experience something like that, don't be lazy and wipe.
Also there's speeding up of the system and other pros of wiping, but those aren't that important like getting rid of errors ^^5 -
God I need to so something new
Literally everything is a reminder
Was life great ?
Eh
Varied
This didn't last that long
But what I miss is when people made moving experience and art captures with people as their "job"
Not this weird sicky shit everything devolved into
I feel I should leave this state soon once again heh for where
Who knows
Feels like the people creating these scenes of peace beauty and clean lust didn't appreciate or understand them
Instead for them it's Clacking doors and other weird crap they take some strange meaning from
Maybe Colorado is in it's less fucked up stage
I doubt it
There is an escape hatch somewhere5 -
*me trying to fix the preview issue by editing layout file*
*issue gets fixed by clean build*
*me implementing a new feature as per plan*
*suddenly another issue occurs with the items in recycler view*
*tries SO, no related question and me too scared to ask one*
*trying different names, keywords, ids and methods to get atleast some output*
*checks json and recycler adapter, all fine but still the error*
*hello darkness my old friend*
*checks the item layout again with a microscopic look and encounters a 0 added to layout width which makes 95dp to 950dp and hence no output somehow*
*2 hours and sunday mood wasted* -
I drank two pots of coffee and am now paranoid. I want to do memory test of my new ram. So I am going to use memtest from https://memtest.org/ . Out of paranoia I decide to test with VirusTotal. It passes 68 out of 70 tests. 2 say its bad. Windows Defender says it is fine. I usually just rely on Windows defender. I test with another site and it says it is clean. But is it really clean? Why do so many assholes ruin a good thing? Scammers and blackhat hackers are scum.4
-
Clean code is the biggest bullshit in software development history. Oris it agile/scrum? Can’t decide yet.
Note: A new contender arrives with anti-nested coding cult. You hide your deep nested logic away from main logic block, so it is easier to maintain… Said probably by someone who never coded serious software.4 -
I was looking for a RRule Generator Component in ReactJS because I (a back-end dev) am lazy af to build front-end component. It drains my energy and I stumbled upon "react-rrule-generator". And holy moly. It is no longer maintained, but it has a very beautiful code. Then I thought, I should search more open source projects where code is clean so I can learn more.
So, do any of you know any open source project, library code or whatever that you think has a very clean code?3 -
So yii 3 is basically a clean up of yii 2 from all built-in extra library, and devs are free to include those with composer. No?5
-
Robert Martin says in clean code, or maybe clean architecture, that one should separate the tests into what is hard and easy. GUI tests are hard and therefore brittle and so we should test against view models.
However on clean agile he says a story is not done until it passes automated acceptance tests which in my experience are always brittle and grow so large and brittle that things grind to a halt.
What am I missing? Are stable acceptance tests possible on the GUI? Should we test only an API?5 -
Caching in Prestashop 1.6 (idk about 1.7) is fucking bullshit. I don't know who made it but he surely must be an idiot. There is no way that the cache is going to speed up your website after a few days of using it.
Memcache/d - For some strange reason, it gets slower and slower after just a few hours. There is literally almost no entries in memcache, but it becomes slower than without cache? WTF
APC - Do you have multiple websites running? You are out of luck. Do you make a change to your website? Restart PHP to see changes. WTF
Redis - Same as APC, but you have to run flushall manually. WTF
CacheFS - God, this is a fucking monstrosity. It rapes the storage drives so hard, it is like running a fucking benchmark nonstop. 400-600MB writes are completely "normal". I have no idea, what is it doing tho. I would expect that writing ~3MB file to disk doesn't require over 100MB/s disk write for 2(!) or more seconds. Also, it doesn't clean up after itself, so after a few days you are out of disk inodes and you have to setup CRON to clean this shit up regularly. In the end, it makes your website fast, but only as long as you have <={number of CPU cores} customers shopping. Then, it becomes a complete disaster and requests are taking 5+ seconds to finish.3 -
I'm building a script parser to make mods for a game I like. The first step is to write an importer.
The documentation is nonexistent and I'm delving into byte manipulation, which I'm not familiar with - at all. I'm porting existing code from Java to C#, and everything is similar but different enough that I can't always just to a 1:1 transfer.
I get everything working, cleaned up and split into classes so I can write the exporter.
I do an import and the file won't parse. I try all previously know working files and still no good. I clean, rebuild, clean rebuild, run, debug, restart my computer, clear my cache, clean, rebuild. No good.
IT WAS WORKING 5 MINUTES AGO
Proceed to revert to every version from the last hour. No dice.
I was in the wrong folder the whole time.
Navigate to the proper folder, open the filename I know to be good and bingo, works like a charm.
The same project caused me headaches because I had a "== -1", when it should have been "== 1". Between my inexperience with byte manipulation and my untreated astigmatism, I was nearly sent to the shadow realm fixing that.3 -
I got a lot of crazy ideas and I am starting a lot of different projects. But I always start at developing the complete backend. Which is my strength. So in my opinion the product is ready to use, technically it works. Wouldn't there be the front-end .. It always ends in a total disaster when i try to create one that is beautiful. I just want to write freaking clean HTML5 code with any nasty CSS Framework. Any advise how i can overcome my anger?4
-
me: wanting a clean table to work, the less stuff the better, best would be a single notebook and nothing else
also me: backend dev, so 3 monitors, extern keyboard and mouse, some documentation papers and oh where is this cup coffee of last week coming from? -
I'd have the power to lint developer brains so they'd write clean code and I wouldn't spend so much time refactoring crap.2
-
I hate web dev. I said it. When you build a simple website with clean, consistent business and display logic and your boss asks you to make exceptions for every goddamn record. Maybe it's how the type is rendered. Maybe something needs emphasis. Maybe the designer doesn't like how a specific record word-breaks, so you have to write logic to handle that. It's always SOME annoying little detail that takes hours and hours, complicates logic and won't even be noticed.4
-
Waiting for devRant to fix apple subscription so I join. Just common and clean my bank account @dfox2
-
I was farting a lot and it annoyed me. So when i felt like i was about to fart i got up from my chair took my pants down spread my asscheeks to fart as much as i can so it can go away so i pushed the fart out but instead of farts caming out, shit was coming out! So i was basically shitting on the floor. Closed my asshole asap and rushes to toilet. Shit fell on my toursers pants and floor! Had to clean it up and it smelled so bad. Worst of all a girl is coming over to my house right now as we speak and this happened! I can not believe this....12
-
!dev
Missed the fucking bus to work because they changed up the times here without prior notice...
So no more having the "nice" train (with comfy clean seats, wifi and airco) but the "crap" train (old dirty seats, no wifi and no airco) AND a quarter of an hour wait...
I rly need a drivers license... -
!dev
Yea so that's how last night went. The result being that ya boi slept clean through the alarms and was an hour late for band practice2 -
When your code works then you have this inclination to add an extra feature and after adding it ,it works after catching a few bugs but then .... you feel so smug with yourself you add another feature and that stuff ups all YOUR CODE !!!and if you haven't saved a copy of the program before editing y0ur program so the eaaiset option you have I to use CTRL -Z and if you have been altering your code a lot the undo action only goes back a few alterations and hasn't undone your extra feature then you have to manually find the feature and clean it from your code taking longer then creating the program as a whole
=======
The undo action needs to save more alterations of the code 😑1 -
So few days ago I've installed Mojave from clean setup (Hackintohsh) and works smooth as butter, and today I woke up in the morning and sat down to work, my pc was running on windows so I restarted it, there was some updates to be installed but what a heal will install them later, so the pc started booting in Mojave, usually takes few seconds but this time it got stuck on the loading screen, so rebooted again and this time added -v boot parameter to clover to see whats going on, got some errors about IGPU (had to use intel's gpu.. thanks Nvidia .!.), did few googling some suggested using -disablegfxfirmware but that didn't work, so rebooted again.. hoping I would get more info, guess what? windows 10 was in hibernation (possibly because there were updates to be installed on boot) and that somehow prevented mojave from using the ssd i guess? not sure exactly, so In the end I got very lucky cause if I didn't read the message I would have reinstalled the mojave and loose a day at work... politely f*** you windows updates!
-
"You should not bother about making your code so clean, I want features not pretty files"
As I'm leaving this job next week, someone will have to continue this project after me
I think we can say that my boss sucks -
I'm trying out some stuff I read. I have rich domain models with private fields. In order to create EF core entities my domain models create snapshots with public properties.
So 3 models - domain, snapshot, entity.
Now I am thinking about introducing a fourth for the API.
This seems mental and that I have misunderstood something. Automapper might help clean this up. -
I'm trying to install OSX on a Lenovo Windows machine.
Since Hackintosh was taken down, any recommendations on a clean way of doing so?4 -
So, despite being pretty experienced with Linux server management, today, I failed, even after hours spent tinkering, to get Bumblebee working on an older laptop of mine (Intel i3 + Geforce 960m).
What's funnier is that before I wiped that laptop with a clean install, it was working, albeit it on an out of date kernel / driver combo.
Though curiously, despite using the newest release of Xubuntu, the Bumblebee PPA repo wasn't signed (Missing InRelease file), and further lacked one of the Package index files (For i386 i believe)
I'm about to sell the laptop tomorrow. Anyone has any hints or things I could have missed? I still have a day to work on it, and if I don't manage, I'll just put on a clean win install...4 -
I just love when all my code is perfect and clean... then I compile it to see my changes... and everything is fucking broken.. so I think "okay, let me see if I missed something or forgot a space or something stupid."... nope not that *recompiles* nothing is showing up.
"That's cool too, who needs a working website anyways." -
Why is there no music player for Linux with a clean, organized UI and only the basic features? (showing album covers, search, sorting by genre, artist etc)? All players so far are either buggy, look like shit, or have some cloud sync stuff .. I just want a simple mp3 player man D:14
-
So as we start to scale we are recruiting "a lot" of profile on the tech part. And for fuck sakes it's complex while covid shit storm!
No pub for the first tech interview, no late restaurants, a lot of "let's wait till next quarter"... Fuck....
And the worst of the creep is that I "have" to stalk/spam some profiles for the "hunt", and I'd like to clean/purify myself afterward... -
Has anyone noticed that lately Safari renders websites faster?
I have been testing the cache on one of our sites. Been testing with Safari, Chrome, Firefox(Clean no addons) and FirefoxDeveloperEdition. The response time from the server is pretty much identical on all the browsers. But Safari is definitely quicker at rendering it out.
Anyone got a clue why? The only thing i suspect is that safari doesnt have dev tools enabled, so that might be the culprit? -
Just finished updating a Laravel project to use page-specific dynamic JS imports using webpack mixins.
Everything feels so clean and manageable. I am zen...... -
I never did get that break I wanted. Though, I did get off incident tickets.
Has been replaced with project after project though, with the emphasis being on "getting it over the wall", so as you can imagine. There is a pile of tech debt that's just being ignored. It'll blow up in production one day.
It's not all doom and gloom though. I've gotten the opportunity to write a few things, from scratch that are separate from the rest of our products. Nothing nicer than a clean slate, not built upon a steaming pile. -
With stock market down, I want to get into some future tech trends cheap but which ones are good.... honestly don't think I can make much unless the prices jump 50-100%...
I see clean tech and 5g, but not really sure what 5g means. Not sure what the wow factor is...
Clean tech feels like we need to do it or we're screwed though I was also thinking about buying oil... But that's probably b not a good long term.
Crypto I don't think it doing to well and sorta goes against clean tech? So what else is there and thoughts?20 -
Question about cache (Redis or other distribuated cache).
So I would like to find a solution with “Partioning”. But without code it my self (ofc)
Ok, example :
In the application you have clients, each client has users, each user has role.
So right now it’s in the cache with the keu “User:<userId>” = role
Sometimes, when you change client settings, all entries should be removed.
So what I would love to have :
Client_Id/UsersRoles/UserId as a key
And I would love to be able tp delete “all keys after /” :
Basiclly delete client_id/ would delete everything in cache for this client
Delete client_id/UserRoles will clean up all saved roles.
I’m pretty new working with redis, but it doesn’t seem possible out of the box.
Any reading material I could read ?4