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 - "nap"
-
When I finished my studies, I was looking for a job and had an interview at a smallish company.
Boss: can you do C?
Me: yes, I have already done some stuff in C.
Boss: I mean, are you really good in C?
Me, growing suspicious: well yes I already have been using it - but anyway, there's also the project documentation for looking up, right?
Boss: uhm, the code IS the documentation.
I envisioned myself being drowned in undocumented spaghetti code and wasn't really keen on that job anymore, but my following question pretty much ended the interview:
Me: oh, I see. Do you have any roadmap for getting your development to a more professional base?
His looks, priceless! He was just shocked when he realised that he had failed my interview, and that I was a fresher made it even harder to digest for him.30 -
People say go big or go home. As if going home is a bad thing. Hell yeah I wanna go home and I wanna take a nap when I get there.4
-
Age 12:
Mum: "You're always on the computer doing your silly codes! if you keep this up you're gonna be a failure at life!"
Age 15
Mum: "Hacking? oh please! you sound like a kid who wants attention"
Age 18
Mum: "Son, i was wrong. im sorry."
Age 25
Mum: "Are you okay over there? you're always on the computer doing your work, rest and take a nap, eat lots of carrots when you can"
even if you weren't very supportive mum, i still love you. :)21 -
Last year, my company sent me to India to coordinate stuff.
Me, to my wife: "They've chosen me because they trust my social skills."
Her: "OMG, what is the rest of the company like?!"
LOL.. :-)3 -
I want to stop charging my e-scooter at around 85% because this will increase the battery life. To avoid always having to pull the plug at the right level, I made a stop circuit that goes between charging brick and e-scooter.
There's no processor involved, just a CMOS 555 used as inverting Schmitt Trigger which controls a power mosfet. Also two status LEDs and a start switch. The poti adjusts the cut-off level. Worked on first try, with only manual voltage and tolerance calculations beforehand!27 -
Came home late last night and told my wife I'm skipping dinner to take a 1hr nap as it's going to be a long night of bug fixing and testing. Woke up, my wife and 1yr old son are already asleep. Saw the pic below posted on the wall above my work area at home. She's a teacher, she's never heard me mention it, and I don't use this method (I prefer music on my headphones). But she does know I lurk devrant so she must've browsed here while I was napping. Feels good. Code fixed, checked-in, unit tested and released for user testing.6
-
Math: the imaginary unit is i.
Electrical engineering: no, it's j.
C hacker: hands off my loop variables!13 -
So I have implemented all the features required for the current release. Carefully reviewed my code several times, but no testing.
Tester: everything passed green. Not sure whether you're a good dev or I'm a bad tester.
Me: let's call it a draw.10 -
Also a big “fuck you” to whoever decided under any circumstance holding the power button down on a computer case meant anything other than shut this mother fucker all the way down and try the fuck again.
Gahhh. When I hold the power button I don’t what you to sleep, I want you to die! I’m electronically smothering your bitch ass. When I’m holding down the power button to restart, the computer should feel like it’s being waterboarded! Like these may be it’s last moments on Earth if it doesn’t act right and get in compliance! No it’s not nap time, it’s time to shut up or shut down...forever!9 -
My wife took the kids to the mall.
I work from home.
me: fuck yeah, I'll be able to work now, since I focus a lot more when there's a lot of silence in the house, looking forward to this coding session
me: *takes the fattest 2 hour nap*
I guess I was tired...8 -
Me, in the zone, staring at the code. Co-worker enters.
Co: hey, can you...
Me (not really listening): no.
Co: it's just...
Me: no.
Co: later?
Me: no.
Co: but...
Me: no.
Co: (leaving)13 -
Next time you're using some FOSS soft, or bitching about it being buggy or the maintainer not responding to your tickets the same day - remember, that the author of that soft could be enjoying some nap time, playing with hie/her child(ren), having a fun time with fam/friends, playing PC games, going for a walk, cooking and choosing healthy food over fast snacks, doing anything he/she wanted.
But instead, the developer chose to spend that time building a tool, so you could have it, so you could do things faster/easier. So YOU could spend your free time the way you want.
So next time you're bitching about something not working, stop for a moment and first say THANK YOU to the author for that tool. If not for people like him/her, you would still be doing your chores with sticks and stones18 -
Fuck those useless calls!
PM: customer X wants a call in an hour.
Me: they didn't send emails before. No questions, no prep, no call.
PM: yeah but they want to talk.
Me: these unprepared calls are pointless. I'll be sitting there, noting down the questions and telling them I'll have to look up the details.
PM: shall I tell them that you don't want to talk to them?
Me: I don't care, it's your call, do whatever you want.
PM: that's not professional.
Me: oh you're calling it professional to sit there with a pencil, writing down crap or what?
PM: what's the problem?!
Me: I've had this shit for the last two fucking calls, and they were so unprepared that they wasted half of the call just reading up, and I'm fed up with this shit!
PM: but they are the customers, and they aren't that happy.
Me: yeah, and do you know why? Because our schedule is completely fucked up and our management has been ignoring ANY warning from engineering for WEEKS! That's why they are unhappy and not because I'm not holding their fucking hands!
PM: hey, but you can't tell me what I have to do!
Me: and you can't tell me either! [he's my PM, but technically not my superior.]
PM: so no call or what?
Me: you're free to have your call. I'll sort out the shit that they're concerned about, putting that down in a proper email, and then we have at least some basis for discussion!
PM: (left for his call)
Btw., my cursing was the same in the live conversation with him.9 -
Trying to concentrate. Co-worker from another room standing there, BLA BLA BLA, and she's fucking LOUD. But she hates coldness, and it's below 0 °C outside.
So I open two windows, and guess who instantly leaves! Now it's cold, but SILENT. HAR HAR!6 -
1. If your contract allows it (and it should), get more involved in public dev community. Your employer benefits greatly from making a small closed source core product, with a giant open source ecosystem around it. Write public articles. Working in a community larger than one single business is fun.
2. Start a company coding club, a "labs" division, work in a slightly more exotic language. Great if your employer gives you time, but using some of your own is worth it too. Work on non critical tools, creative experiments. Sometimes you stumble onto incredibly valuable ideas which would never have popped up if you had strictly followed stakeholder requirements.
3. Listen to your body. If you feel restless, go for a run. If you feel tired, take a nap. If you're stuck, wander around the company. If you feel down, go find a place with more than a dozen trees. And always have a notepad nearby for doodling!5 -
Me: You're looking rested - the vacation does you good, it seems.
Co-worker: I didn't have vacation?!
Me: but our PM does.
Co-worker: ...2 -
Meeting with American customers in Germany. One of them fetched a bottle of water with crown cap, but the opener was missing. She asked whether someone had an opener, so I got out a lighter and opened the bottle. Surprised looks.
My (Indian) PM: "That's a German thing, opening bottles with everything except bottle openers. Even with other bottles."
Customers were like, WTF?!13 -
My day.
6 am: 2yo woke up
8:30 am: start work (from home)
11 am: go get breakfast/lunch
11:30 am: work call. while driving. Learn nothing new.
12:00 noon: infuriatingly slow errand
12:30 pm: work call. Learn nothing new.
1 pm: finally get to eat. It's cold. And terrible.
6 pm: 2yo finally goes to sleep (missed nap)
9:20 pm: 2yo wakes up screaming.
9:30 pm: find 3 or 4 tablespoons of leftover tuna in the fridge. No bread.
10:45 pm: I finally finish my work (super-urgent friday-morning release of a next-Wednesday-morning deadline... Yeah idfk.)
11:29 pm: 2yo stops yelling and screaming and goes back to sleep
11:39 pm: finish writing this while in bed.
11:40 pm: Sleep?10 -
The bad thing today: I killed my laptop with coffee.
The good thing today: it was my company laptop, not my private one.17 -
Code review, here the simplified version. What the fuck has to be wrong with someone who seriously codes the first variant in production code?!19
-
Today was a productive day
Worked for an entire hour.
Then won 4 war Thunder games
Climbed 300 in clash of Clans
Took a nap
Had a beer5 -
Friday, I got a mail from my PM shortly before I wanted to leave. Basically it was, hey can you check out whether this issue [which I hadn't even heard about] is somehow related to our system? Meeting is in one hour.
My answer: I guess not, otherwise I'd have been in the loop much earlier than one hour before the meeting.
I shut down the PC like a boss and went into weekend.8 -
Linux: the weather applet in the panel displays the weather. When I open it, it displays more weather details.
Windows: the weather applet in the task bar displays the weather. When I open it, it displays random news and stock prices.
Microsoft can't even do a fucking weather applet right. Everything has to be an incoherent mess.34 -
Office prank time! It was some years ago when the horror movie "The Grudge" came out, with that creepy Japanese dead girl who made that horrible "aaahhhhhh" sound. A coworker, who was just as shocked by the movie as I was, would occasionally send me emails with sceenshots from that movie.
One day, I upped it. I knew he was the first in the office in the morning, so I arrived even before him. It was still dark. I put a walkie-talkie under his desk, set it to "no beep", switched off the lights again and hid two rooms away.
Sure enough, he arrived. I waited for about 10 minutes to be sure he was sitting at his desk. Then I used my walkie-talkie and "aahhhhh".
WOAH, his scream was loud even two rooms away!3 -
Have you always been missing ads in CLI applications? Have you been wondering how to bring such modern browsing experience to CLI? NPM has solved this problem, it has CLI ads now!
https://github.com/standard/...
However, the are already people who spoil this great new experience with CLI ad blockers:
https://github.com/kethinov/...26 -
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 -
Friday 6pm to Sunday 6pm, with toilet breaks, snack breaks and a three hour nap on Sunday morning. Roughly 44 hours. It was a hackathon, Nov 2016. My team came in fourth place and the first three teams went to Germany!
Well, I got a well paying attachment from it so it didn't go all to waste.
Me and my laptop then... -
How do you make a job offer so that only real 1337 haxx0rs will apply? Well https://automattic.com/ has found a way I guess.4
-
Holy shit, I'm really impressed with the high tech park my dentist has. She takes pictures of a tooth, a computer makes a 3D model out of that, then she grinds down the tooth as necessary and takes pictures again.
From the difference, the computer generates the data for the tooth crown, including warning spots where it could be too thin so that a bit more grinding is needed.
Then she corrects some spots manually and sends it over to the CNC machine in the next room that cuts the thing from a ceramics block with correct colour. Some heat treatment later, and the tooth crown fits perfectly.
Gone are the days with dental imprints, provisional crown and not quite fitting final crown.2 -
My tip for staying productive: **Don't**
Take a break. Take a few. Have a nap. Take a stroll outside. Enjoy life.
Life's too short. If you're not having fun, you're doing it wrong.
Fuck productivity.5 -
Fuck you idiots at medium.com for your sheer impudence. Not only that you track me, which I havn't agreed to, you think it's a good idea to nag around and gather even more data!
You stinking farts label your stalking as "let's make things official"! Who shit in your head?
I've seen other places way more often, and guess what, no coffee bar has ever had the idea to ask for my ID card just because I bought my second or third coffee there.
But just because it's the internet you think it's OK to be intrusive wankers, yeah?! Fuck off.4 -
I did it: I built up another PC identical to my machine (https://devrant.com/rants/2923002/...) for my SO and installed Linux Mint for her, too. That had been my primary motive for an easy and stable distro in the first place.
Now that didn't come out of the blue. We were discussing the end of Win 7 already two years ago where I brought up my concerns with Win 10 - mainly the forced, lousy updates and the integrated spyware, and that I was considering Linux as way out.
I had expected quite some pushback because she had been exclusively on Windows since the 90s. However, I didn't sell Linux as upgrade. It's just that Win 7 is over, progress under Windows as well, and we're in damage control mode. Went down pretty well.
Fast forward three weeks - remember, first time Linux user and no IT-geek:
- it just works, including web, videos, and music.
- she likes Cinnamon.
- nice desktop themes.
- Redshift is as good as f.lux.
- software installation is just like an app store.
- updates work via an easy tray icon.
- quote: "Linux is great!"
- given this alternative, she doesn't understand why people willingly put up with Win 10.
- no drive letters: already forgotten.
- popcorn for upcoming Win 10 disaster stories.
- why do Windows updates take that long?
- why does Windows need to reboot for every update?
- why does Windows hang in that update boot screen for so long?
I'm impressed that Linux has come so far that it's suitable for end users. Next in line is her father who wants to try Linux, but that will be a story for tomorrow.22 -
Me at QA, talking about a nasty bug I found in legacy code.
QA: what was the root cause?
Me: pos code.
QA: pos?!
Me: piece o' shit.
QA: ...1 -
Damn, credit cards are so fucking secure these days that you hardly can BUY shit with them!
I need some special electronics that I only can get from a vendor in the US, which is overseas. Click click, buy, done. Well no, credit card refused. WTF? Click retry link. No, still refused. FUCK.
Called up the 24/7 hotline of my CC company. Oh yeah, that got blocked by the security system, somehow. We disable that for 20 minutes, just retry. Clicked retry link at the vendor. No failure mail. Hmmm, too good to be true?! Called up the electronics vendor. Yeah should work, stuff is in the warehouse stage. 40 minutes later: credit card declined. FUCK.
Called up the CC company again. Ok, disable blocker for one hour. Nice advice from them, tell the vendor it's only 45 minutes so that there's some buffer. Clicked retry link at the vendor and called them up to make sure that they retry before the time runs out.
LO AND BEHOLD, I could finally pay the shit!!8 -
I'm doing code review. Unsure about the deadline, I ask my co-worker:
Me: "Guess I'm half through, when do I have to be done?"
Co-worker: "Well if you're half through, you are already half done."
Me: "No shit, Sherlock."
LOL -
Apple you drove of delusional suckers! When will your retarded fashion devices finally support WEBP?!
A gallery page with images, and thanks to WEBP, it's 408 kB. Because Google made WEBP and handed out a well documented CLI FOSS compression tool that even can convert the source PNGs to lossy WEBP with bloody transparency. Well done, Google!
Except that Apple's shitty management can't take it that Google actually made something nice, so no WEBP. Instead, JPEG-2000 that enjoys nearly no fucking tool support. The free tools that even can deal with that mostly don't support transparency, and the encoder sucks donkeys so that JPEG still fucks JPEG-2000 big time.
So it's JPEG with matching background for iOS. Fine, but since JPEG's blocky artifacts are much more visible, the compression can't be that high, and it's 769 kB. That's 88% more image data for Shittari than for non-retarded browsers and even Edge! EDGE!!
Oh and if the user changes light/dark system mode according to surrounding light conditions, guess what happens? Yep, since JPEG doesn't support transparency, now it's different JPEGs with dark background via the media query in the "picture" element, and it's another 754 kB download. Bloody 1523 kB instead of 408 kB, that's a factor of 3.7!
Fuck your ass Crapple, with an electric eel!19 -
The Windows 11 keynote was such a load of bullshit. All the emo yadda yadda. You know, when I work on Windows, what I feel is irritation, anger, and despise for the amateur shitshow that Microsoft delivers.
In particular, but not limited to the fucking update reboots where Windows sits there uselessly and shells fucking prawns in its own ass!
Oh we now have semi-transparent shit. That's progress! It's so great! Only that it's not because already Windows Vista had Aero Glass, and Windows 8 removed it.
But we we have fucking rounded corners now! Crazy shit, some intern at Microsoft discovered border-radius, or did they dig out some fucking Windows XP copy? That also had rounded corners way before Apple even invented them!
To top it off, Microsoft even failed to deliver the livestream seamlessly and recommended watching it at Twitter. Yeah, that's the fucking "Windows experience" as we know it, you clowns!
My favourite BS quote from Nadella himself: "the web itself was born and grew up on Windows." That guy is so full of shit that an unmaintained latrine in rural India would be envious!8 -
At a festival where I was with my GF from back then, I asked her whether it was OK if I drank some more, which she was fine with, but she didn't get the implication.
Later in the tent, when I was totally drunken, she turned me around and wanted some action. The sudden movement didn't go well, I was just able to open the tent, vomited out of the tent, and turned around to continue sleeping.6 -
No, actually, there was this other hackathon I attended. The hackathon itself went pretty damn good. But as for the "experience", it was full of regrets.
You see, I was working on it for ~36 hours straight with the team. It was held in a warehouse sorta building. Weird place. But I lived nearby. So I finally thought (around 2AM) fuck it I'm going home for a quick nap, and went home. When I returned around 3-4 hours later, no one was there (even other teams). They all started to come back at around 7am all drunk, sweaty, and happy. Then I found out what happened. Apparently, there was a bondage themed party going on downstairs. And around the time I left, the girls and guys came up, saw a bunch of devs, and invited them all to the party. AND I MISSED IT!!! 😭2 -
Big project this week. Lots of fires to put out. Deadlines approaching.
Monday: I can get by on just four hours sleep. No problem. Will be just like college.
Wednesday: I'm going to just close my eyes while this file uploads. Maybe I will backup the server while I'm at it; Just take a nap while that processes.
Friday: Sorry if my office smells like vomit. It's because I am so tired I vomited.
Sunday: I'm not getting out of this bed tomorrow. Let them fire me. I think I will just will myself into a coma. That will be nice.4 -
Ah well, it's double out of fashion because smoking is on the black list of the health maniacs, and nobody smokes pipes anyway. BUT! filling a pipe and smoking it for easily half an hour is quite some pleasure!73
-
Xmas party, held at an external location. After some drinks, a co-worker whom I was friends with started flirting up one of the waitresses. Now, he was tall, well-trained, and quite attractive for women. It was just that he also was married and had a child.
I quietly sought out that waitress and told her about that, asking her to turn him down because nothing good would come out of that. She appreciated it and stayed out of his way.
Felt kind of back-stabbing him, but at the same time, also saving his ass from himself.12 -
On an afternoon the day before delivery, we discovered a crashing bug. At around 2 AM, we had found the cause and fixed it. A short sleep at home, then back to office at 8 AM because the delivery was 200 devices containing that software, and they had to be updated manually because production had put in the old image.
We seized all available computers, even those from marketing who were... surprised. Half-way in the update, we calculated that we wouldn't have enough time until the freight service would show up.
So we asked the secretary that she should be a bit flirty to the parcel guy, invite him to a coffee and chat around to buy us more time. We closed the last parcel just when he figured that he had to continue with his tour.5 -
Burn out from studying today. Drifted off into a doodling mood and ended up with a wireframe. I need a nap.3
-
Google: hey website owner, use link rel preload for images loaded by CSS to reduce roundtrip delays. Chrome supports that, Safari also, and even Edge does.
Mozilla: we had some bug with preload back in FF 57 and our solution since has just been to disable preload per default. Done. Who would care about loading speed?
Also Mozilla: we have no idea why our market share has been plunging. Google is evil.8 -
Apple vs. Microsoft: who sucks more?
At first glance, it's obvious that Apple sucks more. Their overpriced products are so bad that they rely heavily on vendor lock-in and cult-like brainwashing.
Then again, Apple's vendor lock-in also acts as buyer lock-out so that it's easy to avoid Apple. Basically, Apple sucking more also means they suck less. Think different indeed.
Microsoft on the other hand sucks more because their crap is so ubiquitous that it's difficult to avoid Microsoft.
That looks like a draw - but here's the tie breaker: Microsoft tries to ape Apple, BUT! Microsoft even sucks at copying Apple's suck.
So here's the final verdict: Microsoft sucks more.38 -
My CPU temperature under sustained full load has reached 46°C where it used to be 43°C. That leaves two conclusions: either the thermal paste has gone bad, or summer has started.32
-
Interesting bug hunt!
Got called in because a co-team had a strange bug and couldn't make sense of it. After a compiler update, things had stopped working.
They had already hunted down the bug to something equivalent to the screenshot and put a breakpoint on the if-statement. The memory window showed the memory content, and it was indeed 42. However, the debugger would still jump over do_stuff(), both in single step and when setting a breakpoint on the function call. Very unusual, but the rest worked.
Looking closer, I noticed that the pointer's content was an odd number, but was supposed to be of type uint32_t *. So I dug out the controller's manual and looked up the instruction set what it would do with a 32 bit load from an unaligned address: the most braindead thing possible, it would just ignore the lowest two address bits. So the actual load happened from a different address, that's why the comparison failed.
I think the debugger fetched the memory content bytewise because that would work for any kind of data structure with only one code path, that's how it bypassed the alignment issue. Nice pitfall!
Investigating further why the pointer was off, it turned out that it pointed into an underlying array of type char. The offset into the array was correctly divisible by 4, but the beginning had no alignment, and a char array doesn't need one. I checked the mapfiles and indeed, the old compiler had put the array to a 4 byte boundary and the new one didn't.
Sure enough, after giving the array a 4 byte alignment directive, the code worked as intended.8 -
This morning in the office:
- bumblebee grounded
- diagnosed low fuel level
- refueled bumblebee with sugar water
- system check pass, airworthiness restored
- bumblebee asked tower for take-off
- tower opened flight window
- super-clean take-off
- bumblebee left control area
:-)3 -
The best part about home office isn't that you can fart without co-workers getting annoyed. It's that you can even use a lighter on the fart to see whether it will burn.4
-
I got two lines of code done today, and they were just changing numeric defines. Time to do that: 2 seconds.
Time for analysing the measurement data of various runs in order to know which numbers will work out: the rest of the day.6 -
Boss: You have one month to finish the program.
Me: It will be complicated but lets see how it goes.
To be cleared the end date is 2 of July.
Boss on the last friday: You have to finish on the 20th of June
Me: Yeah sure....
Boss yesterday: You have to finish on the 15th of June.
Me: You said one month.
Boss today: you have to finish by the end of this week
Me: No problem Boss you will have it tomorrow!!!
Boss: You have to. There are more projects waiting...
Me: -.-
This is what I have to deal with. But hey... don't forget... tomorrow is a new day so ... fuck it.5 -
Google cripples ad and tracking blockers: In January, Chromium will switch to Manifest V3 which removes an essential API in favour of an inferior one. As usually, Google is being deceitful and touts security concerns as pretext.
That hits all Chromium based browser, such as my beloved Vivaldi. The team argues with their own browser internal blocker, but that's far worse than uBlock Origin. One of Vivaldi's core promises was privacy, and that will go out of the window. The team simply doesn't react to people pointing that out. They're fucked, and they know it.
So what now? Well, going back to Firefox because that will include the crippled new API for extension compatibility, but also keep the powerful old one specifically so that ad and tracking blockers will keep working. Google has just handed Mozilla a major unique selling point, and miraculously, Mozilla didn't fuck it up.26 -
So, today for my SO's father who is already over 70 and wants to try Linux. However, he doesn't want Linux on his main PC for now, rather on the old one so that he can take his time to get familiar, which is a reasonable plan.
But holy crap, what a machine! Intel Core2 Duo 4400, 2 GB DDR2(!) RAM, 250 GB IDE(!) HDD, DVD RW drive. Graphics, sound and LAN integrated on the mobo chipset. It's half a miracle that it doesn't run on steam. The machine had been delivered with Vista and has always been painfully slow.
It doesn't even support booting from USB, but I had prepared a DVD just in case. Surprise: it booted from DVD without issues and with full HW support!
Partitioned and installed, deleted Vista in the process (felt good). I went with the full blown Mint 20 Cinnamon edition because XFCE isn't as beautiful. Also, having XFCE now and then Cinnamon looking different on the other PC would be confusing.
Installation took some time, but worked. Cinnamon's RAM usage is at 750 MB idle, and at 1.1 GB with Firefox started. Once the PC is booted, it runs pretty OK with reduced swappiness and noatime on all file systems, plus unnecessary startup applications disabled. Updates took long, but ran through successfully. Installed LibreOffice and some small games, Firefox got uBlock Origin, Youtube worked OOTB.
That PC somehow had escaped disposal several times - and now has a proper OS for the first time in its miserable existence. It runs so much better than it ever has. Just wow, a "big" Linux desktop from 2020 blows a contemporary Vista out of the water on such an old machine!16 -
Customer call.
Customer: what's the status of the software?
Me: it's a bit of wood work.
Customer: wood work?!
Me: yes, I think it would work.
Customer: ...
Me: ...6 -
Woke up after a 2-3 hours nap at night just to have a career-panic and apply for all the jobs I'm overqualified for.
... Now I regret it.
😐6 -
Talk with a co-worker who has a bit of a motivational problem.
Him: if I had more fun, I would be more productive.
Me: you're not here for fun, that's why they pay us.
Him: how are you motivated?
Me: by money.
...
A bit later.
Him: do you plan for retirement some day?
Me: no. By then, there won't be retirement anymore. We will eat fried rats in the street.
He starts understanding why I'm wearing black metal shirts.10 -
With unlimited time, I would finally be able to brut-force each and every password in the world!
Also, I would take a nap <3 -
Funniest meeting ever!
Some years ago, there was the regular department meeting where useless news from upper management were handed down. The team I was in was also there: team lead, co-worker and me. The team lead had a new girl and was daydreaming of their nights, my co-worker wasn't quite back from the football match on the weekend, and I was playing chess on my mobile.
Department lead was blah blah blah and when can we do this on your rig? We looked at each other and instantly realised that none had been paying attention.
My co-worker was the fastest to recover and straight-facedly turned to me: "Well Fast-Nop, that's your domain."
I picked the ball up before team lead could say something: "Sure, but schedule appointment is for our lead."
Our lead couldn't contradict us and then had to negotiate a schedule while trying to find out what it was about. *LOL*2 -
LOL Have I Been Pwned has pwned itself, cost-wise. Here the steps:
1) Go all in on cloud shit like Azure
2) Think you're a smartass
3) Trick the cost side with even more cloud, this time Cloudflare
4) Be not quite as smart as you think
5) Enjoy your 7000 EUR bill
6) Make some tweaks and continue with step 2.
Source: https://troyhunt.com/how-i-got-pwne...
Bonus laughter: he's a "Microsoft Most Valuable Professional", though not an actual employee.22 -
Uh-oh shit went wrong with umpteen thousand jobs in a pointer heavy, multi-threaded application in raw C. Fuck, some pointer gone wild?!
30 minutes later, after trying to find out how many jobs it takes to start failing. Noticed that it's about the default settings. Wait what? That's where the realloc'ing should kick in, check that.
Aahhhh. Maybe I shouldn't zero the whole buffer after realloc, just the new part. D'uh! -
You guys, I think I know what is it....I think I know why I wanted to be a developer.
It started off innocently enough. I was a young lad in IT. Wide-eyed. Absorbing anything and everything I could. Then, the asshole clients came.....
I would put on my best customer service face on, and address the client as calmly and as respectfully as I could. Reminding myself that their frustration is understandable.
To deal with the increased time dealing with clients took, I developed scripts to help me handle maintenance and keep my head above water. I developed scripts to streamline equipment provisioning for big deployments. I developed scripts to handle other technicians who didn't log-off the phone queue and fucked up our on-call flow. I put in place email rules to sift through the bullshit and time wasters.
I became a developer to streamline and make myself as efficient as possible. But the clients keep nagging. The bullshit keeps coming. The other players get in your fucking way.
There is no end you guys.... THIS IS ONLY TUESDAY. I can't script the passage of time. I'm....I'm.... I need a fucking nap.1 -
So last night i was dealing with some mysql query issues trying to grab some complex data from a relational database and ended up giving up.
This afternoon i was about half-asleep going to nap, not even thinking about the code and randomly came up with the solution.
A few hours later i made the changes and it works as intended.
Anyone else solve code subconsciously ? 😂😂😁😁12 -
It's amazing what two cans of redbull and monster, a well organized to-do list on Wunderlist, 36 hours of nonstop programming and a deadline that's dangerously approaching can do in a sane man.
Now excuse me world but I'll have the longest nap in years starting fro3 -
So you're sitting on your crappy Win 10 and whine about that piece of shit, huh? You had five fucking years to come up with a plan, but noooo. Instead, you put your thumb up your asshole and hoped MS would change ways. Only that they didn't, and that's because they bet on people like YOU, and now you have to suck your dirty thumb.30
-
In my master equivalent thesis, I was supposed to build upon a year of work from my predecessors. However, I argued that it had no actual foundation and would never work properly, so I threw it away and started from scratch.
The prof was astonished and commented "well it's your thesis", insinuating that the risk was on me. Turned out I had been right.2 -
take a walk!
take a naps!
The ONE thing that has had the biggest impact in my career is likely walks and naps.
Some years ago out frustration I decided to pause a project and took a walk (or a nap, I don't remember) and 30 mins later I had a clearer idea of what to test next, a possible solution or something...
Nowadays I don't wait at all to be frustrated, way before that, when I feel myself spinning my wheels, slightly stuck, or just a little slower than what I usually am, I just stop right there and take either a walk or a nap. I can't count all the times in which I've come up with solutions/alternatives/approaches/etc. to problems/tasks/etc.
So now walking and napping IS part of my work. I'll get familiar with the problem, or spent some time understanding the goal and then I'll go for a walk or take a nap. And my career keeps progressing, I'm less likely to snap, haven't been anywhere near burnout for years, raises, and other great stuff, and a huge part of it I attribute it to taking walks and naps!
Give it a try!9 -
Don’t work from exact place you eat everyday or sleep or entertain.
If you can’t focus set timer from 15 minutes to 1 hour and do something else that is not engaging your brain the same way your work does.
Go for a walk.
Take a break from electronic devices.
Take a shower.
Take a nap.
Take a dump.
Make a list of things todo before you eat.
Make groceries.
Clean your house a little.
Make a laundry.
Any manual labor helps if you need brain muscles for thinking.7 -
Just been browsing Awwwards about websites: https://www.awwwards.com/websites/
All of that is unusable crap and achieves "clean" design mostly by not having functionality. The trick seems to be a useless fat image and tucking away functionality as small as possible. This is design wankery.6 -
The recent post on being obsessive with "CTRL+S" reminded me...
Be careful if the file was shared with you via Dropbox.
I was doing this with an excel doc called "services by client" once and got this email...
----------------------------------------------
Subject: "services by client updated...." :-O
AAAAAHHHH OMG
Every time you hit save, I get a popup notification on my screen and its’ been going like once a second for an hour
Are you MANIC SAVING that excel sheet!??? Are you dealing from some past trauma of losing a document that you’ve worked really hard on!!!???
Lol … maybe copy the file outside of that folder a few minutes so I can continue my nap without this little “ding” going off :-P
----------------------------------------------
...all I had to say was WHO LEAVES DROPBOX POPUP NOTIFICATIONS ON anyway. Or mute your computer, lolz?1 -
The seventh fishcake.
Usually, I buy six fishcakes in the weekly shopping. Today, the seller accidentally put on seven, wanted to put back the seventh, but it fell into the egg salad. She took the fishcake and was about to throw it away because no customer would buy a fish cake with egg salad sauce on it. I intervened in time and bought it to avoid throwing food away.
Afterwards, I thought about how sick and decadent it actually is that it would have been perfectly normal to throw food away just because food was sticking on the food.10 -
C has too much undefined behaviour because the standards comittee was being lazy and slapped that on a lot of issues that ought to have been implementation defined instead.
The most ridiculous example for UB: An unmatched ' or " character is encountered on a logical source line during tokenization.
Like WTF, that should be a compile time error, and it's easy to detect.21 -
Today in the office, a co-worker and me had a synchronised rant. Both sitting at each our desks, and independently of each other, he suddenly cursed "I hate text fields" while I burst out "network, piece of shit!"
-
I ordered a reduction sieve for my espresso cooker from Amazon, but got this instead (Euro coin for size comparison). They'll resend the correct article, but WTF is this shit even?! Crazy crap!23
-
I love GDB on CLI!
I'm using an OSS tool for multi-threaded testing stuff, and it's nice but segfaulted after 30 minutes.
I was too lazy to set up an IDE project and click through tons of stupid shit, so I just compiled the tool with debug symbols, fired up GDB on CLI, let it run until a crash, got a strack trace and quickly found the problem.
I sent a bug analysis to the author, plus a patch which got accepted, done.5 -
Wanna know why Windows sucks so much? It's because of the Windows users. No, really!
Windows user: But but but I can't switch away from Windows because MIMIMI!
Microsoft: Ah, is that so? Then why should we even try to make (and pay for) an effort?5 -
So I've kicked off the motorcycle season for this year! Scanned some nice roads for speed control traps or road dirt, then the same route with more WABROOOOOO.
That machine is whopping 19 years old, and I still like it as much as on the first day when I bought it as new. Plus that it doesn't have software nonsense, not even injection. Means, it fucking works.8 -
From Sarah Connor Chronicles, 2008: "They used to think that 12 nanometer scale was impossible. The circuits are so tiny, you're all but in the quantum realm. It's the most sophisticated processor on earth. If you could take your memories, your consciousness, everything that makes you a person, turn it into pure data, and download it onto a machine, that chip could run it."
I'm watching the DVD on a quadcore Ryzen APU that is built in 12nm, and it was already outdated when I bought it last year. I guess I better download myself to my laptop because that's a 7nm Ryzen.14 -
Not sure if this technically counts as all nighter, but when Udacity released their basics Android nanodegree they had a contest where the first 100 worldwide to finish got a scholarship for the advanced Android nanodegree. I followed the uberman sleepy schedule, 20 min nap every 4 hours, around the clock for 6 days. Finished #17. They didn't even have the videos or lessons for the last 3 sections, just a description and a project for each, so they set up a slack channel to let us talk with staff and collaborate with others trying to get it done.
-
Had a customer call - the guy's name was "Kevin", which in Germany isn't even a name, but rather a diagnosis for stupidity. However, he was really competent and into the stuff. So what now, readjust my prejudice? Nah, he had an Asian family name, so I instead learnt that being of Asian ancestry trumps "Kevin" as given name.2
-
My job forces me to work 9-6 with a one hour lunch. Since I am forced to be full time wfh, I eat while working and take a nap during my "lunch".
I am much more productive.5 -
Haha - whoever says Azure is totally fine unless people are too stupid to configure it might want to think again. Apparently, that shit is so difficult to configure securely that even Microsoft fails to do it: https://msrc-blog.microsoft.com/202...9
-
Bit rot under scientific research: using a very high-end microscope, I was able to take a picture of bit rot in action. It's microtrolls eating the bits!2
-
*LOL* The animal rights organisation PETA criticises the use of donkeys in the traditional Passion play in Oberammergau, Bavaria, Germany. PETA claims that Jesus would ride into Jerusalem on an e-scooter.
https://dw.com/en/...11 -
Not CS degree, but EE, and totally worth the effort. Not only that without degree, I wouldn't get jobs in many companies, but I actually learnt a lot. Laplace and Fourier will be as valid in a 100 years as they were 200 years ago.
Yeah, it was fucking hard. Math was rather OK, only 50% of the students failed the first exam. EE was harder, 90% failed at the first try. That wasn't regarded as problem - on the contrary, the exams were designed to weed out. After two semesters, we already had 50% student loss.
I remember what the EE prof told us in the first semester: we would learn a lot of things, but most importantly, to think like an engineer. Didn't make sense right away, but 5 years later, I knew what he had been talking about.3 -
I'm starting to like the crisis. Not only that I have home office, I'm also in for reduced working time. 3.5 days per week from next month on, and the state will fund 60% of the pay loss. Yeah!17
-
In tech: too freaking many. A few days (I fell asleep at my desk for power naps).
Ever: 72 hours. I had 6 jobs with only enough of a break to drive to the next. Used lunch breaks to nap. -
So I'm writing some multithreaded shit in C that is supposed to work cross-platform. MingW has Posix threads for Windows, so that saved already half of the platform dependency. The other half was that these threads need to run external programs.
Well, there's system(), right? Uhm yes, but it sucks. It's incredibly slow on Windows, and it looks like you can have only one system() call ongoing at the same time. Which kinda defeats the multithreaded driver. Ok, but there's CreateProcessA(), and that doesn't suck.
Fine, now for Linux. The fork/exec hack is quite ugly, but it works and is even fast. Just never use fork() without immediate exec(). First try under Cygwin... crap I fork bombed my system! What is this shit? Ah I fucked up the path names so that the external executable couldn't be run.
Lesson learnt: put an exit() right after the exec() in the path for child process. Should never be reached, but if it goes there, the exit() at least prevents a fork bomb.
Well yeah, sort of works under Cygwin, but only with up to 3 threads. Beyond that, it seems like fork() at some point gives two processes the same PID, and then shit hangs.
Even slapping a mutex around the fork and releasing it only in the parent process didn't help. Fork in Cygwin is like a fork in the ass. posix_spawn() should work better because it can be mapped more easily to the Windows model, but still no dice.
OK, testing under real Linux. Yeah, no issues with that one! But instead, I get some obscure "free(): invalid size" abort. What the fuck would that even mean?! Checking my free() calls: all fine.
Time to fire up GDB in the terminal! Put a catch on the abort signal, mh got just hex data. Shit I forgot to compile with -O0 and -g. Next try. Backtrace shows the full call trace, back to the originating line in my program - which is fclose() on a file.
Ahhh I remember! Under Linux, fclosing a file that is already closed makes the program crash. So probably I was closing it twice. Checking back.. yeah that's where it was.
Shit runs fast on several cores now!8 -
- booting Linux
- starting Clonezilla
- kernel panic after some time
- WTF, this used to work
- look at sensor values
- CPU is really hot
- CPU fan doesn't work
- BIOS warning disabled because the lowest regular fan level is 0 RPM
Luckily, I still had some cheap 120mm fan which is a bit louder, but works. What's astonishing is that in normal operation, i.e. without full load, the case fans alone provided enough air stream for the CPU cooler.8 -
Nvidia might stop being a douchebag about Linux: https://developer.nvidia.com/blog/... Right now, that doesn't change much yet, but it opens a possible road.19
-
Dialogue when I entered the room of a co-worker, and it wasn't an individual office.
Me: YO MAMA her son bitching 'bout compiler licence?
Him: Kiss my ass!
Me: Could cram a wet roll of toilet paper down your pants.
Him: Yeah that'd come pretty close.
Other co-workers: WTF?12 -
Today my life was saved by some fellow devs here on devRant and for those who helped(I will try to @yall in the comments), thank you so much you saved me! And more importantly saved me from all that fucking stress, which was plaguing me all day and breaking me down and lately I’ve needed that kind of pick me up. I felt so relieved I took a glorious nap! It was so needed and my head felt so much less like I bashed it into a wall piled with stress.
Recently I’ve started to actually make friends from people on devRant and it makes me excited because I can actually talk about programming/get help if I need it and they are able to. And talking things out and getting explanations for questions I have it just feels so wonderful.
Things have been luckily lookin up a bit and it’s giving me some hope and inspiration to do more.4 -
I'm starting to hate 2020. Back pain because of muscle strain, ongoing middle ear inflammation, and now a tooth crown has broken off. Fuck this shit.8
-
PyTorch.
2018: uh, what happens when someone uses a same name attack? - No big deal. https://github.com/pypa/pip/...
2020: I think that's a security issue. - Nanana, it's not. https://github.com/pypa/pip/...
2022: malicious package extracts sensitive user data on nightly. https://bleepingcomputer.com/news/...
You had years to react, you clowns.6 -
Wow, I still remember some math after decades. Today, I needed some parameter calculation in an interval with smooth transition at both ends (i.e. continuously differentiable). So I used a 3rd degree polynomial where the values and derivations gave a 4x4 linear equation system. I lazily hacked that into WolframAlpha, and it works nicely.1
-
1. I don't have to use headphones to listen to music. Can listen in speakers and avoid my ears being sweaty
2. No random interruptions from anyone. Interruptions are usually from slack messages and emails which I can decide when to look at
3. Have a solid 1 or 2 hours for coding (because of the above 2 reasons)
4. The time spent in commuting is instead spent on nap or relaxing -
Yeaaahhh that moment when the program flawlessly crunches through ten thousands of files, only limited by the slowish HDD! :-)
In full multi-threading, tons of dynamic buffer resizing, pointer shit left and right, also two star programming, and everything written in raw C!14 -
Code fuckup day or what?! After two weeks where I wasn't on my project and a co-worker handled it, I came back to my project and reviewed what he had done so far.
Me: "I don't understand how this new code part here can work?"
Him: "Uhm, actually, it doesn't, somehow."
Me: "..."
Then he had checked in his stuff with spaces while the whole project is with tabs. And variables that were used in a different way, but still under the old name, now completely misleading. Bypassing existing infrastructure and defines with "just for this case" hacks. But the best was tracking higher level state by peeking into lower level data buffers, even pulling out their data definitions into global header files - instead of using proper states in the higher layer itself.
NOT! IN! MY! FUCKING! PROJECT!!!
So I spent the day cleaning up the shit to fight off software rot right in the beginning.4 -
So there is a WP plugin for GDPR conformity. True to form of the shitty WP plugin ecosystem, it has a major security hole that allows taking over the WP installation:
https://wordfence.com/blog/2018/...4 -
I just woke up from a nap. This may seem weird but I had a dream about organizing a devRant meetup at my location. dfox was in town for some reason it involved alot of beer.7
-
Oldie but goldie.. after my studies, I was looking for my first job and did interviews. In one of the companies, they asked me whether I knew C. Well yes, I had been programming in C. Ah no, that wasn't enough - they asked whether I was really good in C. I got suspicious and argued that there was the project documentation anyway, right? Turned out, no. The code was the documentation, as I had suspected.
Then my question - as freshman, mind you: "Do you have any plans to get to a more professional way of developing?"
The interview was pretty much over at that point, the boss got actually angry. Well, interviews work both ways, and he had failed. I surely dodged a bullet.2 -
Shaving with an old-style safety razor just rocks - that metal thing consisting of three pieces where a slotted, double edged razor blade fits in. With the good Russian Astra Platinum blades at 10 cent per piece where a hundred piece pack lasts for years. The whole thing can be fully dismantled and cleaned.
I can't understand why people use this modern overpriced Gillette shit at 2 EUR per piece that you can't even clean, with debris stuck in-between that starts to rot if you use the blade block more than once. Must be brainwashing by ads. Even worse for women who pay 50% extra for the pink version of that unhygienic shit.
Oh, and real shaving soap with a real shaving brush and not the canned aerosol garbage that doesn't really work anyway.8 -
So, Terminator : Dark Fate was in the cinema. Not as good as I had expected, and Hollywood's contemporary in-your-face leftist propaganda made it even weaker.15
-
And just when you like Linux a little too much, it bites you in the ass to remind you why the year of the Linux desktop never happened.
Wifi printer is installed, CUPS test page works, even scanning works. But printing anything else results in the printer spitting out raw postscript with a few random lines per page.
Great. Looks like I'll have to print to PDF, then go to a copy shop and print because printing under Linux is still an unsolved issue.
And yes, that would have worked even with Windows 10. Fuck.24 -
LOL that's why I love C!
The function pointer cast for strcmp because qsort expects a compare function with two const void * pointers instead of two const char * pointers, that's just beautiful.
Not to mention the hack to abuse strcmp on a struct - which just works because the first struct member is a string and the rest just gets swapped with memcpy as opaque data.
I guess that wouldn't pass a code review at work. :-)6 -
Not exactly a co-worker, but one of the devs from the client's team spent a few months working in our office next to us. He would always take a nap at lunch time and snore loudly, and eat an apple afterwards and it seemed to be impossible for him to chew with his mouth closed.
Whenever he had a cold and his nose got blocked he would still force himself to breathe through his nose, so it sounded something like a mix of darth vader and someone drowning.
He also lacked any notion of personal space, and would always sneak behind us to ask questions and then put his laptop right on top of our keyboards or in front of our screens and start talking while we still had headphones on. -
Installing a GPU is easy - except if it doesn't fit in the case. I had to saw off 3cm of the upper, 5.25" bay. Just removing the bay cage entirely was not an option because I still need that for my DVD drive.
My bow saw wouldn't have enough space, and the cage is riveted. So despite terrible ergonomics, I used the metal saw of a fucking Swiss Army knife for 24cm of cut length through 1mm steel. Then I filed off the cuts so that I won't injure myself later.
However, I was too lazy to take out the mobo and shit, so I protected it professionally against potential metal dust - with a towel.21 -
There's an interesting species out there, the skiplings. They are small, furry beasts, and usually go unseen because they live underground. When there's trembling action however, they leave their burrows to check out what's going on, typically while sitting up.
The rarest breed has the distinct habit of appearing quickly, and once things are observed to be calm, slowly return underground. They are mildly social in that several of them can inhabitate an area, but each has its own little den for sleeping.
Unfortunately, skiplings are a rare species so that they are protected under WCAG 2.1 section 2.4.1 at maximum criticality level A.3 -
NOT saving the world in 2019. I already did that in 2012 when the Maya calendar ended and wasn't being thanked - on the contrary, people said "haha look, nothing happened".2
-
Got my new PC up and running!
CPU: AMD Ryzen 5 3400G (APU)
Cooler: Scythe Mugen 5
Mobo: Asus B450-F Gaming ROG Strix
RAM: Crucial Ballistix 2x16GB
SSD: Samsung 2TB M2 Evo 860
DVD: Plextor PX-891SAF
PSU: Bequiet Straight Power 11 550W
Case: Lancool PC-K58 (10 years old)
Case fans: Bequiet Silentwings 3 140mm (front), Silentwings 2 120mm (back)
The cooler is massively oversized for the CPU, but perfect for a silent PC.
OS: Linux Mint 20 Cinnamon
As much as I loved Win 7, but it's over, and Win 10 just isn't acceptable.18 -
SPDX. Actually a cool idea, you slap one line of comment in your source files that gives the licence. Easy to understand at a glance, and grep friendly. Also no more "huh what exactly does this licence here say, is that MIT, BSD with or without shit or what".
But once you have something simple, you can bet some design committee tries to "improve" it and cover everything imaginable.
The result looks like this (see also screenshot): https://wiki.spdx.org/view/...
Holy shit. What was that about? Simplifying crap? Yeah sure that's totally what it looks like.3 -
My GPU blocks the airflow from the lower front intake fan to the CPU, so I wanted to have a fan in the 5.25" drive bay directly targeting the CPU.
While that bay fits a 140mm fan nicely, there was no mounting point. I ended up making four fan struts out of the metal covers for the 5.25" inserts, the ones that you wiggle out. Drilled holes into the case, a bit of foam above and below the fan to seal the larger gaps, and done.
The trick is ofc that the 5.25" case covers are meshed and hence act both as air intake and dust filter. The CPU runs a few K cooler under load.14 -
You think jQuery would finally have died after the IE era? Or that it would only be used to still pander to IE users?
Well... nope: https://w3techs.com/technologies/... says jQuery 3 has overtaken jQuery 1, which was the only version to even polyfill IE.
WTF is wrong with web devs, just WHY?! jQuery's use cases are shit that would be simpler and with less code without jQuery, shit that should be done in CSS instead, or shit that doesn't belong on websites to begin with.42 -
My wife was done with exercises on her electronic 88 keys piano.
Me: I also know something nice.
Her: oh so?
Me: (repeatedly typing key #3)
Her: (thinking)
Her: C hacking?!5 -
I came around the corner in the corridor where a senior PM talked with an engineer.
PM: ... and that's why a good team is so important and we also need sensitive people.
Me: do we have some here?
PM: oh yes, I'm highly sensitive.
Me: one learns something new every day. :-)1 -
My setup: AMD Phenom-2 1100T with fat cooler for silent PC, 16 GB ECC RAM, AMD Radeon HD-6850 passively cooled, WD Blue 1 TB HDD. One 22 inch monitor with 1650 x 1050.
The mouse is a bit broken because the click switch under the mouse wheel doesn't work anymore. The empty bottle in front of the PC is necessary for lying on the room light switch, or else it won't work. And the black/yellow tape is a fix for the worn out seat cover.
But the best, under the monitor, is the little green troll that serves as rubber duck. -
A server application pulled off some sort of listings as table. Problem was, it crashed with some thousand data files after one and a half hours. I looked into that, and couldn't stop WTFing.
A stupid server side script fetched the data in XML (WTF!) and then inserted shit node-wise (WTF!!), which was O(n^2) - in PHP and on XML! Then it converted the whole shebang into HTML for browser display although users would finally copy/paste the result into Excel anyway.
The original developer even had written a note on the application page that pulling the data "could take long". Yeah because it's so fucking STUPID that Clippy is an Einstein in comparison, that's why!
So I pulled the raw data via batch file without XML wrapping and wrote a little C program for merging the dumped stuff client-side in O(n), spitting out a final CSV for Excel import.
Instead of fucking the server for 1.5 hours and then crashing, shit is done after 7 seconds, out of which the actual data processing takes 40 bloody milliseconds!4 -
I have a power nap after lunch. No matter what. Waking up from a nap is like getting a new extra day for free. And this time whatever was bad before the nap just doesn't seem so bad anymore.7
-
Both GCC and Clang can switch off the braindead type-based aliasing rules through the "-fno-strict-aliasing" compiler option so that everything can alias everything.
On the other hand, C offers the "restrict" qualifier for pointers where you promise that nothing will alias this memory area, not even same type pointers.
What happens if you use "restrict", but compile with "-fno-strict-aliasing"? Will the "restrict" be obeyed or disregarded?
Answer in the comments.8 -
Office Ninja!
Today, my PM dropped by in the morning and mentioned she had some customer feedback on some item in a project where I'm the holiday replacement for someone else. I already had work to do, so that kind of interruption wasn't welcome.
"Well yeah, just forward it to me, I'll see what I can do", I told her. She agreed. Half an hour later, still no email from her. Hey, that looked promising!
For the rest of the day, I didn't talk to her, avoided speaking at all when she was near and even sneaked by her room (open doors) in silent mode lest I drew her attention and she might have remembered the email.
Until afternoon when I went home, still no email. Success! :-)5 -
Nvidia at it again. After receiving backlash for trying to pass off a 4070 as 4080/12GB, und "unlaunching" it, they did the same shit again.
This time with a 3060/8GB. Yes, as RTX 3060, a well established product with a lot of reviews, intentionally misleading the customers who think that a 3060 is always the regular 12GB model. And the new shit isn't even cheaper.
The main issue isn't the reduced amount of VRAM, it's cutting down the memory bus from 192 to 128 bits, that costs quite some performance.
So if you see a 3060 and think it might be a bargain, watch out that you don't accidentally end up with the "bait and switch" 8GB model.
Or even better, consider a 6650 XT that is both faster and cheaper than a 3060, and RT is lackluster on the small RTX cards anyway.7 -
My first rant! Hi everyone:
When stuck, a little nap (20 min or so) and a cup of coffee (3 or 4 liters 😂) usually do the trick.5 -
I was trying to make this app a good "SOLID" app. Then I realized if I did that I was going to have 57 objects that were just different enough that I couldn't generalize them and this app just isn't important enough for me to do that. So I took a nap.
-
@Baguette is apparently a professional sleeper, please teach me, I need an expert in this domain, I can't stand going to work with barely 4~ hours of sleep / night5
-
The tons of undefined behaviour in C that ought to have been implementation defined instead, and increasingly sadistic compiler writers on the other side.
Like signed integer overflow that should just do what the underlying machine does, i.e. in practice, wrap around two's complement.
But the wierdest UB is when a C source code line has a non-matching ' or ". WTF, this should have been a compile time error!2 -
The good: use the hardware watchdog in your application control flow.
The bad: don't use a watchdog.
The ugly: trigger the watchdog from a fucking timer interrupt.3 -
I read somewhere at the start of the global pandemic: when it comes to work from home life, you should never underestimate the benefits of a power nap.
My gods, that person was right! I only wish I had taken advantage of it more over the last year.1 -
Today
I was working on a project for the uni, went to have a nap and take a break.
The problem I was coding java in my dream.
I WANT A BREAK!!!!!!!!!! -
Fuck you Mozilla. You have killed the major unique selling point of FF, that being the add-ons, and replaced them with web extensions that will never even come close. Not enough with that, now you're killing the add-on servers to also kick FF forks into their balls. You stupid bunch of wankers have a history of pretending to know better what your users want, and your plummeting market share shows how much you suck at it.
https://blog.mozilla.org/addons/...19 -
Google: we want to crack down on adblockers in Chrome and remove APIs. If we threw out Chrome store extensions that use the old ad blocking APIs, Chromium forks would be hit as well, haha!
Vivaldi: we've integrated DuckDuckGo based ad and tracker blocking right into our Chromium based browser. Also for Android now, haha!9 -
Uh-oh I fucked up.
Not at work, but with my website where I had an email forwarder to an external address. The forwarding was everything so that I could do the spam filtering and occasional check in one place. Unfortunately, that triggered the spam detection at the external address (after some years!), and my provider ended up on a blacklist.
That got me a pretty angry mail from my hosting provider who had already disabled the forwarding and wanted to make sure that I understood the issue and would not put it in again.
I thought about whether they had fucked up because it was even possible to do that, or whether I had fucked up because I should have known. Hm yeah I opted for the latter and apologised.
The support guy seemed happy that I didn't try to argue (possibly like other customers...), and advised that I just should add another account in my email client. Sure, at least that will prevent this shit from happening again.
He also mentioned that every single blacklist issue they had experienced in this year was accidental due to external forwarding issues and that they would consider just disabling it altogether.
Which is probably a smart move, just as hint for these ranters here who work at hosting companies. Or at least only enable external forwarding if spam assassin or so is in place.3 -
PCs are a clusterfuck these days. Microsoft has abandoned the niceness of Win-7 and opted for Win-10 - with spyware, untested forced updates and forced online licence checks to make sure you have to get the shit. Macs are total crap, and Apple doesn't care because they instead prefer to milk customers with overpriced iShit. Linux sucks and looks like a Soviet tractor, but at least, it doesn't fuck up itself just by switching it on.
I had Linux as only OS from 2001 to 2010, and while I obviously can deal with it, I finally hated it enough to switch over to Win-7. From 2020 on, it looks like I will be back because Microsoft has managed to fuck up Windows even worse (and then these suckers wonder why Github users don't trust them). Maybe I'll buy a Tux when I install Linux so that I can punch it in the face.
Progress was yesterday - today it's about damage control. Welcome to a world where the brightest CS guys are thinking about how not only to shove up even more ads into peoples' asses, but how to also transmit lab data of the poo.7 -
Interesting: how to hack websites right upon installation. Basically, monitoring issued TLS certificates and trying to access e.g. WordPress installations before the user was able to configure a password.
That relies on a sloppy deployment process, of course - like making a live installation that is online immediately.
Source: https://portswigger.net/daily-swig/...10 -
What a coincidence. JQuery gets an update to 3.4.0 - and I removed the JQuery dependency that a mid-sized widget (15 kB minified) needed.
Rewriting the selector, css and trim stuff was easy. Each, children, append, empty, remove and extend were not too hard. Animations gave me more headache, but in the end, JS triggered CSS transitions worked nicely.
I was able to shave off the usual 30 kB over the wire for JQuery, and the whole thing seems snappier. Finally, I'm at vanilla everything!
Of course, it's largely due to JQuery's merits that vanilla JS is where it is today. So, thank you JQuery, and farewell.3 -
Been sick all day, got to work from home. Kid goes down for a nap, my wife leaves to run her errands. Finally starting to get into my groove after blah-ing most of the day. So of course my kid decides to wake up earlier than expected. :P2
-
Me to QA: I need an urgent signature.
QA: That costs a cake.
Me: If we baked cake at our company, that would have too much sugar, and we would use more salt as workaround.4 -
Asus announced their AM5 board X670E Extreme. The E already stands for Extreme, which makes it an Extreme Extreme.
My feeling is that AM5 will be extremely - expensive!
That's because the AM5 LGA socket moves cost from the CPU (formerly PGA) to the mobo, but AMD certainly won't drop CPU prices, rather the opposite, and then there's also DDR5 as cost driver, not to mention tons of PCIe 5.0 where we don't even have AIBs.
On the upside, that would finally end the days of GPUs causing a disproportionately large share of the system cost - if only because the rest gets more expensive.6 -
Friday afternoon, the week's work is finished, and I'm ahead of schedule.
An email arrives for another project.. "URGENT yaddayadda". The dickheads where it came from have taken weeks to react, and now it's urgent. Yeah, fuck you assholes, ideally with a smoothing iron.
On the upside, I'm not addressed directly, and that project isn't my task. But boss could make it mine in no time, and I think he would.
I don't even open the email, nobody has seen it anyway yet, AND I GO HOME! :-)3 -
Just to help out folks who find this week's group rant topic just as confusing as I did:
https://en.wikipedia.org/wiki/...1 -
MarSecOps: "Marketing Security Operations, the idea is that security is not just the realm of website developers or the IT department anymore, but rather the marketing department has an equal if not greater interest in, and even responsibility to security."
Source: https://strattic.com/5-predictions-...
WHAT THE FUCKING FUCK? The marketing dimwits responsible for security? Whose IT competence ends at Powerpoint drivel?!
I LOLed so hard that I could have shat a cactus!8 -
So, this is 2023, a year with a prime number, Windows updates will be fast, the Linux desktop will have a breakthrough, and AMD will have 25% dGPU market share.5
-
Testing had some issues with system integration. I asked them what their setup was.
Answer: "Almost similar to the real hardware."
LMAO!2 -
Since few days I’m sick. Literally, I look like shit and feel even worse. Some combo disease with fever, diarrhea and things like that. And despite that, I tried to work from home today. And surprisingly - I’ve made everything I planned to do: 100% PHP multi process server, which sends push messages via GCM and APN, emails and SMS (using different operators API and talking AT commands directly to modems). I’m a bit proud of myself. And now I feel like I’m dying, so it’s time to get some pills and take a looong nap ;)3
-
What's wrong with Mozilla?!
Savvy webdevs use link preloading to break up dependency chains for late discovered resources, and users like the faster loading as result. Firefox 56 started supporting that two and a half years ago. Turned out they had screwed up and it didn't work with non-cacheable resources. So Mozilla "fixed" that by disabling the feature altogether behind some config flag.
And they left it at that - still not supported. They even had patches, but decided not to merge them and instead try something different, some day.
Is Firefox becoming the new IE or what?6 -
Why is fucking Chrome still not able to auto-hyphenate on Windows desktop?! Yeah I know the dictionaries, OS integration yadda yadda, BUT:
1) TeX did this 40 years ago, this is a solved problem in CS!
2) Firefox is a 3rd party application in Windows, just like Chrome, and can auto-hyphenate!2 -
A coworker asked me about a specific tool because he "had heard" that I had some experience with it, whether that tool would allow a certain use case, and whether there was some documentation.
Wait, in which project was that? None of mine anyway, hmmm... ah that one, from a few years ago. Who wrote the reports back then? Can you guess?
THAT MODDAFOKKA!1 -
Same procedure as last year? Same procedure as every year for the last truly static website holdouts: change the year in the template, re-compile, upload.2
-
Everyone wants faster programs, so doing more optimisations with GCC at -O3 instead of -O2 makes the program quite a bit larger, but... SLOWER. Makes sense, right? Why do you even have -O3 if it generates larger AND slower binaries than -O2?
Ah IC, it's because you use that level only on individual hot functions, not on the full program. How do I do that? Function attribute for optimisation. Cool. Uhm, what is the exact syntax? The fucking GCC documentation doesn't say that. When will devs finally learn to give bloody EXAMPLES?!
Googling around. Ah, with quotes, but without the leading hyphen it seems. Copy/paste. Compile again, tadaa: it's only a little bit but still FUCKING SLOWER than -O2!
GCC's -O3 is like that stupid kid at McD that ate like a damn horse, had to vomit afterwards and was even more hungry than before!13 -
Boss: Can I have you design our website?
Me: Yeah, of course. I'll send you some details for the design and after you approve it, I can get started on it.
Boss: Okay, send me stuff you find.
Fast-forward to two days later, he decided going through my design checklist was a hassle so bought a WordPress theme and just asked me to make 3 banners for its slider with no given context and no help as far as design and aesthetics are concerned... way to get my hopes up then bring them down. And designing them is making me so sleepy, I took a bathroom trip to nap for a while because the Wi-Fi won't stop disconnecting either.3 -
Telecon about new requirements. I brought up concerns that while the customer's new approach would fix some problems, it would also fuck up something else.
Customer panicked because he didn't have an answer. I calmed him down that this telecon wasn't about finding answers, only for ensuring that we were on the same page with the questions. Customer relieved.
I actually explained the purpose of the telecon to the customer who had scheduled it. WTF.2 -
Which is worse?
- Staying at a company you helped build because you have an emotional attachment to it, even if it's not as good to work for now, people are leaving every week and pay is under market rate.
- Leaving a company you helped build purely for more money and a big name on your CV.
Follow the money or follow your heart?
(Image slightly relevant?)10 -
If you can't write code please get the fuck out of our way! Stop applying for our jobs! Take a nap on the nearest highway during rush hour. That's all.3
-
Somehow, a continue instead of break in a switch-case looks weird. Although it makes perfectly sense with regard to the outer for loop.8
-
Got some new coffee, Trung Nguyên from Vietnam. Now that's some in-your-face coffee! Strong and interesting taste, slight cocoa aftertaste. Only recommended for hardcore devs.6
-
How do you deal with choice paralysis?
Like I should do X but rather do Y
But I don't feel like doing Y now either so should do Z
But that's no fun/productive...ah wtf let's just do A,B, C after I take a nice long nap...
And then after the weekend, nothing I should've done got done...17 -
Fucking customer industrial machine doesn't work properly because the dumbass who designed the control algo failed to consider basic physics how this shit is even supposed to work. Just to be sure, he also included some race condition in the measurement part of the software.
-
Take a nap and play fortnite, I get so frustrated by the end of it that everything else seems measly
Fuck you fortnite2 -
I left my computer on to finish running a script a script while I took a nap. Just woke up but its still not done....
Why? Because I used a || instead of an && ...2 -
How I program at home
Leading back in my chair throwing a stress ball in the air listening to a YouTube video on how thanos is the boss baby cartoon randomly shouting F**k and furiously typing before my idea goes away
How I program at school/work
Stares at screen muttering swears and wanting to take a nap while googling basic sh*t1 -
Yeah so I quickly hacked stuff together. Why make it beautiful before I know whether it will actually do? Hack now, refactor later!
Yeah and then that moment in refactoring where main() gets under 700 lines and I don't know whether what I'm feeling is joy or despair. Gaaaahhhh!
At least I have also written automatic tests so that I can see when something breaks.3 -
Today, I got some crap on my desk with possible bug reports from the field. They have been lingering somewhere for fucking MONTHS, and suddenly, an immediate answer was due. I was the unlucky one who was the least clueless about the product involved. SHIT.
OK, sifted through the reports. Some of them were duplicate, others obviously not our problem. No idea where to even start for the rest. FUCK, it's Friday!
But here comes "senior dev secret knowledge"(tm). Instead of saying WTF-IDK, I proposed an "action plan"(tm) (that BS term alone...) detailing the steps that we would need to take, and since I had no idea how long we would need, I just added enough steps in the "action plan"(tm) to make two weeks of investigation believable.
PM was very happy and just took that as direct customer reply. Now it's weekend anyway. :-) -
a contract designer came in usually one hour late with headphone on playing b-box music, who took a nap on his desk almost everyday before his contract ended. later, he took on a creative director gig in another startup1
-
Just been watching some police soap on YT with "real police officers in action". Haha, yeah.
Huh, what's that outside, flashing blue light? Oh, a police car. No, two. Three. Actually, four. All of the guys rush into the neighbour house, WTF. Real police officers in action. -
Yeah, my new e-scooter arrived today! I just have to get the insurance sticker that is legally required here; I'll do that on Monday.3
-
Meetings.. Was I not listening? Blame it on the ADHD (Attention Deficit Hyperactivity Disorder).
Maybe society has AEHD (Attention Expected Hyper-Delusion).
Seriously, who can pay attention to someone speaking AT you.
We have amazing magical devices one can enchant to do their bidding; Contemplating the details of such, often, is more enjoyable than what your rambling on about, talking head.
Not sorry, ;).
Also THANK YOU, you amazing MIT's (Manager of Information Technologies). A lot of you understand and even may use your underling employee's as a vented heat sync for your frustrations. I love what you do and thank the universe I don't have to engage myself in those activities. I have sympathy for the decision to give up your jeans and t-shirts for business attire; keep strong, your role is vital. <3
The insomnia is going to have to give me a break. Work in 3 hrs, time for a nap; and no, I don't take ADD medication (Amphetamine). I don't need a prescription; I can procure my own drugs, thank you.
Nor would I do them to get through work, that's drug abuse.5 -
Just woke up after a 1/2 hour nap at work, on my desk chair. I was woke up by someone who violently closed a door in another room. Uuh... Need some sleep1
-
Friday 13th. Superstition.
0655, got WFH laptop going. 0700, VPN'ed in. Bluescreen, first in ages. Yes, Windows, the hatred is mutual. Rebooted. Windows claimed memory fault, offered check, 40 minutes. Noped out. Started machine. VPN'ed in. Some strange script error that I'd never seen before. Rebooted. Script error again. Shut down machine, then rebooted, same problem. 0715, fuck, still wearing sweaters, my e-scooter not charged, and an important Teams call at 0800.
Got dressed, stuffed laptop into backpack, hurried up by foot. Took the bus. Fuck, the next connection on the change station just had gone off. Took a taxi to make it. Arrived at the company, plugged in the laptop, started with no issues. Had the important call.
Took the laptop to IT. Tested it with external network connection and VPN. Worked with no script error. Had it checked for RAM issues. No issue. WTF had happened in the morning?!6 -
Wasted a day as Shitlock Holmes with the build chain.
It would not reproduce the firmware hexfile that had been checked in. Reverse engineering that along with the mapfile to find out the cause, it was a const string that was guarded by an ifdef from another file that was auto-generated as prebuild step via a script that fetched some version control info.
Or, it would have been if the installation instructions had been correct and someone had described that no spaces in the absolute path name of the project are allowed. Otherwise, that shit just failed silently.
I then had to reverse engineer the intended workflow from the commit history in the version control to figure out that the last dev obviously hadn't quite understood the project specific workflow and how the version control interacts with these build scripts.
At least, I finally did get a matching hexfile.1 -
Gna gna gna Chrome you stupid sucker!
I have some objects that I animate using JS triggered CSS translate with a transition duration. Why on earth would Chrome think it's a good idea to apply that duration also after the animation when I zoom the whole page?!
OK, slap a transition end handler on the object and reset the transition duration when the animation is done. But FF doesn't have that problem in the first place, and even IE works as intended!5 -
Super brilliant idea for Windows: when logging on with a password that is only slightly mistyped, or with the consecutively appended number from the previous month, it should still be accepted. So much more usability - Microsoft just cannot reject that!8
-
Fuck you, Nvidia. Uhm no, this time not from Torvalds, but EVGA: they're fed up with Nvidia's antics towards their AIB partners. No 4000 series EVGA GPUs anymore.
Source: https://forums.evga.com/Official-Me...9 -
I had six items that I wanted to centre horizontally via CSS. Problem was that depending on the viewport width, the items could either take one, two, three or six lines. But the items broke to the next line like text so that e.g. the top line had five items and the second only one. What I wanted was three items each in this case.
Finally, I came up with a hack of media queries to make the parent container just so wide that six, three, two or one item would fit horizontally, and then centre the parent container with margin left/right auto.1 -
I've been dreaming about an eat() method in, I guess, Javascript. It would accept a string as parameter and set the cursor position further by the width of that string in the current font and size without displaying the string. A bit like a span with FG == BG.
But the best was the debug mode: the characters would be printed, but a yellow duck would appear from the left and eat them in Pacman style.1 -
I specified a requirement where certain bits in a certain message shall be evaluated for certain items. The tester came up to me and talked some BS about how to guesstimate these bits by totally different bits. I said, look up the interface definition, the bits are there. Got an email, same BS. Tester was just too lazy to look it up. So I answered that message ID X has bits 60-63 for the four relevant items.
However, I carefully avoided telling him which bit was for which item so that he knew what it was, but I still forced him to look up the inter fucking face definition. -
Some time ago at work, I verified a system design by running the whole thing in my head, bombarding it with various fault conditions in all phases in order to check whether I had forgotten anything. I had my eyes closed, and my PC was not even switched on. Right in that moment, the boss of my department came in.
He: what are you doing?
Me, without opening the eyes: thinking.
He: don't you want to code?
Me, eyes still closed: no.
He: (leaving)1 -
The tale of mouse and clock
Once upon a time, there was a mouse that wanted to know what time it was. So it asked the first best man, but unfortunately, it didn't understand Suaheli. Anyway, the man just mumbled "gotta kick the cat in the ass".
So the mouse went on and nearly would have got it when another mouse came into play that had been sewed onto an elephant's ear for 27 years - but it had forgotten the exact time it had gotten sewed on.
So the searching mouse came up with doing something about the sun, but since it was just a dumb mouse, it looked into the sun and was blinded for a time.
Somewhat desperately, it staggered through the gutter where there was quite some garbage. Just by chance, it fell over a dumped wristwatch and broke its nose.
Moral of the story: even a blind mouse sometimes can find a broken clock.2 -
My head is hurting and my brain feels cloudy after that nap... but should I get back to it? That is the question.
Edit: Just found that my ears are wet inside. This is an interesting but gross development.3 -
2am: I can just go to bed at 4am and get 4 hours of sleep and be fine
4am: Eh, I'll just sleep at 6am and take a nap before work.
6am: Who the fuck needs sleep? That's why I bought coffee -
Earlier today I spend 3 hours that included a nap and cleaning the house to try to clear my head and figure out why my Unity multiplayer code wasn't translating properly to local. Turns out a certain function has no problem existing in update in multiplayer but wants to be in fixedupdate in local... Productive day.
-
Ah I love that movie.. Hero, from 2002. I've seen it in the cinema three times. It's a real marvel, especially the scene where the forest turns red right after Snow killed Moon.
I also like how the quotes are adaptable:
Martial arts and programming are quite different, but they are based on the same principle: striving for highest perfection.
The essence of programming reveals itself through study and meditation.
(The latter one is also one of my favourite lines at work when being asked how come I know some esoteric stuff: it revealed itself through study and meditation.)5 -
Gamers Nexus has a really unique benchmark for the new AMD GPUs where AMD actually manages to pull ahead of Nvidia:13
-
Trained model with L2 regularisation. Didn't really see much of a difference to L1. Checked everything again... turned out I had re-run the L1 setup instead of the L2. *facepalm*1
-
There was a big hairy ball of SW mud from another project that a poor coworker had to "reuse". Only that it was impossible because there was no documentation, shit was partly auto-generated with mysterious Excel tables, and the actual code was just as bad. No APIs and nothing, just hacking shit into globals, several nested state machines that were overriding each other's states, and with global side effects. WTF.
Two devs took a look at it - minimum 8 weeks. Schedule was some days, and PM insisted that it was "already working". But the worst thing was that the dev in charge had been looking for another job anyway and quit, so the whole clusterfuck suddenly was on my desk.
The code was so awful that I could only bear it with both eyes closed, so I instead read the spec of this project closely. Turned out that it didn't actually demand this feature, only a small subset of what the ball of mud was supposed to achieve - which I was able to implement from scratch within a day, plus another one for documentation. Phew. -
Best place to code: Home! In my bed !
Why ? : Simple ! I can take a quick nap when i am tired and wake up with the solution !6 -
Sick of manually punching holes in punchcards, moved to microcode on the mighty DEC PDP-11...time for my nap.
-
The WordPress Gutenberg editor is now starting to hit unsuspecting users who havn't been following up with the preview phase. They mostly hate it, and the arrogance from the WP pricks is stunning.
My favourite quote from WP.org admin Otto: "This is the future editor in WordPress. It is happening. There's no stopping that train now. People thinking that they can somehow stop the train are people who are standing in front of a train. That never really ends well."
Yeah you little dipshit, do you know what did end FUCKING well? Not having put myself on your bloody track in the first place so that I can sit back and enjoy my popcorn! :-)13 -
Almost got caught taking taking a nap haha
Lately I've been taking it easy since the work I've been doing has been super easy and boring.
So I was just lying in bed watching some youtube video.
When it ended I decided it might be a good time to check my laptop and see if there was a message.
Sure enough, I WAS FIVE MINUTES LATE TO A MEETING!
When I joined, there was only one person. It was a bit hard to tell if he just didn't quit the meeting since I was expecting another person on the call haha.
Then I checked the invite list. Oh, he declined.
Oh shit. My manager was supposed to be on the call too.
Upon further inspection. He said he was 15 minutes late.
So he didn't catch me slacking off haha.
Otherwise I'd for sure miss the "you coming?" message since I turned off slack notifications on my phone and he'd think I take off an hour on fridays regularly.
Not easy to slack off, haha6 -
I am now going to attempt the problem solving ritual.
Requirements:
-have a problem or piece of unoptimized code and you don't know how tk fix/improve it
-be able to sleep/take a nap
Now before I fall asleep the ritual should provide me with an epiphany to solve my problem
Plan b:
I have a class ninja (model), with an observablecollection<property> properties and an observablecollection<gearslot> gearslots;
,a class gear with an observablecollection<property> properties and an Category category:
And a class gearslot with a Gear gear and a Category category;
Via entity framework this results in several property entries per ninja
And several property entries per gear item
All good so far.
I now actually want the ninja property values, to be the sum of the gear property values
So a ninja has int, agi and str of 0.
Gear has 0 or more stats.
If the ninja has two pieces of gear on with agi +1, then the ninja agi should be 2
If possible i would like the logic in the model.
Else i have to put it in the viewmodel.
That i can figure out, its just so inelegant.... -
But why can’t Android Studio work out of the box?
I want to develop, Not mixture with gradle and stuff...
Time for a Power Nap.2 -
Yeah Statler and Waldorf are my new role models. A code review in S&W style should be quite a killer, haha.
- I've never seen anything like this before.
.
.
.
- And I hope I'll never see anything like this again!8 -
I've just used https://gtmetrix.com to see how devRant fares. Pretty well actually, with one major gotcha that should be easy to fix. There are a lot of static resources without browser cache expiration date.
A little image optimisation could also be done, see the PageSpeed tab. And scaling down images in CSS could also be replaced by proper scaling of the image itself.
The YSlow tab shows that a little JS minification is missing, and maybe 4 external scripts could be combined into one.1 -
My last week of vacations. A brake on bussiness programing... lol
Monday:
Receive a phone call from a colegue:
Hi the equipment it not working.
Me: ( upset with the acuracy) reboot that shit!
Colegue: Its working. Thank you.
Me: 😲😨😵😱
Today (Thursday):
Collegue: The printer is not working!
Me: 😡 Im on vacation. Check the cable or try to reinstall the printer...
Colegue: Its working. Thank you.
Me: 😱😱😱😱😱😱😱😱
2 fucking hours later:
Collegue try to call
Me: Did not answer... 😡 Fuch this shit.
Colegue send text message saying that they had a problem on the video projector but its ok now..
Me: 😠😡😢😢😢
I'M ON V A C A T I O N3 -
Things you can do while npm/yarn install is running -
- Take a nap
- Go for a walk
- Read something
- Check social media
- Listen to music
- Watch videos5 -
PC-Lint is such a useless piece of shit! Tons of warnings with no actual benefit. The obvious motivation behind this crap was to throw as many warnings as this cheap sucker can even generate with no effort to minimise false positives. Typical snakeoil shit, reminds me of ZoneAlarm back then which reported every ping as "attack" just to fool the clueless into buying. Meanwhile, the actual bugs that sophisticated tools can find pass unnoticed through PC-Lint.
-
When you click Run, go for a coffee, have a meetup, a quick nap, grow a beard and two kids only to come back and find ...
...Gradle building... -
Got recruiter spam from a "devs only" super-hip recruiting company. As they announced in the mail, they develop themselves and know the difference between Java and Javascript. On their blog where the last post is from more than one year ago, they have hints how to pimp up one's resume. Amongst other useful things: don't use Comic Sans.
WHAT THE FUCKING FUCK?!5 -
Have a lot to do so I only sleep for four hours.
Next day take 4 hour nap and waste entire afternoon.
Productivity pre alpha. -
Not quite sure what to rant about, but it sucks:
- Why the FUCK is Windows taking bloody TWO MINUTES to delete Android NDK?
- Why the FUCK does it take ANOTHER two braindead minutes to delete that from the waste bin?
- Why the FUCK is Android NDK so bloated to begin with?
- Why the FUCK have I still not come around to equip my 8 year old PC with an SSD?1 -
Fuck, the gas spring in my ergo knee stool at home has given up. Now it's in the lowest position, not that ergo anymore, which also tore the rubber gaiter on the spring piston. On top of that, the seat cover is so worn out that I had to duct tape it so that the filling doesn't crumble out too much.
That thing is 20 years old, and the manufacturer discontinued the product years ago. Buy a new one? Noooo. Modern quality would be worse. So I ordered a generic gas spring, let's see whether I can install it, plus a moped fork gaiter. And then hire some professional upholsterer to finally get a luxury leather cover.
That will likely still be cheaper than buying the closest modern product that is even in a similar class.6 -
*le me sleeping/nap*
> Employer : Hey Dexter, check all our projects, I'm visiting new client..
> Me : okay sure, but what's the acceptance criteria?
> Employer : Yes
> Me : *sleeps again*
¯\_(ツ)_/¯2 -
So the tests for the AMD RX 7000 GPUs are out. Business as usual: superb for non-RT gaming given the price, crap at everything else - including energy efficiency in FPS/W.
Pro tip to the AMD marketing: you don't highlight features like energy where you suck relative to the competition. You point out your strong points. Admittedly, you don't have much to work with here.3 -
Who else woke up at 6am to watch the Olympic live stream so to avoid ads during the primetime replay?
And now it seems to be over (8:30)...
Time for a 30min power nap before I head into work.1 -
Mozilla you stinking kangaroo pouches!
When you set an object's CSS translation via JS like so:
obj.style.transform="translate(0px,0px)";
and then read it back, every browser including FF until 66 gives this, with additional space:
"translate(0px, 0px)"
However, bloody FF 67 returns "translate(0px)". Because it's always a good idea to just introduce external changes nilly-willy, right?
That screwed up my crappy string slicing because it relied on the presence of the comma. It was a quick and dirty solution, but with additional future proof if/else logic, it wouldn't even be quick anymore.
Besides, the whole string slicing looked like yo-yo code anyway so that I instead added shadow integer variables to the objects. That solution not only works, but is even faster.10 -
Got an invitation for a telecon this afternoon. Just "some quick questions"(tm).
You stupid smurf dick, write them fucking down so that I can fucking prepare useful answers and probably eliminate the whole dumb telecon at all.
I declined the telecon, problem solved. No fucking questions means no fucking telecon. I won't burn through the project budget for ventilating your dick, you can hire a hooker for that one on your own cost centre. -
I’d like so advice, sometimes I need to code for pretty much 2-3 days straight
I try to power nap on occasion as I know being tired can have a bit of an effect.
I need to stay alert so I was wondering what tips and tricks people may have to help
As I need to stay away from caffeine now 😒 -
Guys how do you manage sleeping while you need to wakeup at 6 AM to work on a project? if you slept at let's say 3 AM can you wake up at 6 AM then take an hour nap at 11 AM until 12 PM ?13
-
Automate this!
I'm an aspiring coder working some chappy administrator job just to pay the bills for now. My boss found out that I may actually be more computer literate than I let on.
Boss: "I want you to make X happen automatically if I click here on this spreadsheet"
Me "X!? That means processing data from 4 different spreadsheets that aren't consistently named and scraping comparison info from the fronted of the Web cms we're using"
Boss: "if you say so.. Can you do it?"
Me: "maybe.. Can I install python?"
Boss: "No..."
Me: "what about node.js or ruby?"
Boss: "no.. I don't know what you're talking about but you're not installing anything, just get it done"
Me: "Errm Ok.."
So here I am now, way over my head loving the fact that I'm unofficially a Dev and coding my first something in Powershell and vb that will be used in business :)
Sucks that I still have to keep my regular work on target whilst doing this though!2 -
I have a son, so my social life pretty much revolves around him. That said, we just had a great weekend. We reserve weekend afternoons (after his nap) for adventures, and I think we do well with it.
I make it very clear to my employer that outside a certain scope, I am simply not available for work. They understand and accept this, but it took a lot of years to get to this point. I've been doing what I do, in some form, for almost twenty years. -
Can anyone tell me if is normal a design department earn more than a IT department??? Am I crazy or this is plain stupid???10
-
So another guy (let's call him Steve) and I were helping someone else on how to install something that requires Python and since I was too tired to follow up I decided to take a nap.
2 hours later, I woke up just to see Steve telling me he tried to install 64-bit psutil with a 64-bit computer, on a 32-bit Python install.3 -
!rant
I'm really excited with the 2018 World Championship, and I guess I'll leave work earlier to watch the games live.
.
.
.
.
.
.
.
What do you think, who will win? Carlsen or Caruana?2 -
New dilemma. Now that I have some interviews lining up, I’m having trouble trying to figure out which direction I want to go. One is a company offering unlimited PTO (whatever that actually means), remote only, non-micromanaged work. If I want a nap in the middle of the day, cool. Just gotta make progress.
Another is in an industry that I really want to get into.
A third is with a major entertainment company that is contract to hire with a high probability of hire. Amazing perks and benefits from what my friends that work there tell me.
And it’s looking like maybe all three making an offer simultaneously is a possibility.
So I might need to choose between a comfortable situation, my ideal industry, and a big name on my resume that includes great benefits.
I should be happy but this is stressing me out!1 -
The happiness of finishing a project that put so much stress into you, best feeling ever.
10 minutes later...
Others in office: Oh you're done. Could you help us with
Me: No
Others: It's not a lo
Me: No.
At least give me time to catch a power nap.2 -
Peace and quiet.
I'll play some smooth jazz or light classical, sit in my beanbag chair by the window, and take a 30 minute nap.
When I'm done, either the problem isn't a problem anymore or I have figured out a solution to my problem in my sleep.
This is something pretty new to me since wfh started and is one of the many of reasons why I will never go back.4 -
Nothing's worse than when you sudo apt-get intsall a package and you know that it's gonna take some time so you take a fucking nap but when you wake up fresh to work it says...
E: Invalid operation intsall.
-FML1 -
Shit!!!!
Worst question I have seen around here.
I only had, at the moment, 3:
The first one was... unsignificant. Never learn anything important/relevant from him.
The second one didn't payed me for three months. I had to quit.
Still waiting for him to pay....... just being ironic his not going to pay.
The third one is bipolar and... well I already had stories shared here...so you can have a look.
I could say that I had another one. Is was my Father... best man in the world. My hereo. Learn the best things with him: Honesty, loyalty and Hardwork.
Sorry from any kind of mistakes on my writting. Long day and long night. -
Finally reached a point where I’m too tired to keep my eyes open for much longer. Need a long nap and a rest from all screens.
Siesta time.2 -
Got a recruitment message on linkedIn from someone outside of Texas (I'm from Dallas). Started with "Howdy" and in his small talk to make him relatable, asked how o thought the Dallas rodeo was, for his upcoming trip.
I don't think I even know anyone who's been to a rodeo.
These guys make me need a nap. -
I feel fine for the whole day but the moment I get off work, I just feel tired and want to take a nap...5
-
Me: "<student> don't forget to go fap n nap in time" (he tends to game until way too late falling asleep during the day)
He: "I'm ready to learn hacking, I have aircrack-ng and A LOT MORE lol"
He: "machanger, anonsurf etc."
He: "wanna see?"
me: "not rly, cus you ain't gonna be using any of them for a looong time"1 -
/* wk54 */
I would like to resolve the problems of my code while i am taking a nap.
Every time that i get stopped , i´ll take a nap and resolve it in my dreams. Then, when I wake up, the code will be clear and the solution it always work!.
ALL DAY NAPPING !! -
When you import a project into a fresh install of Android Studio and the bitch has a gazillion things to install.
You might as well take a good nap if you've got shit internet 😒 -
So it's been a long semester and I was writing my final project earlier today. I wrote a for loop which removed objects from the list it was iterating through. And my linter let me. Why do I even use you, pylint? I could have saved hours of debugging if you gave me a message that I was doing a stupid thing5
-
Was dreaming about a repository for a good night's sleep, when I took a 4 hours long nap. All because of non existing sleep last night. - Might need to take a day of soon, it's just so darn hard.1
-
I feel inferior.... :(
Maybe I used too many ifs...
and it took me 1hr it seems...
maybe i should go back to sleep...
actually i woke up at 2am and realized i was supposed to be taking a nap... so i sorta overslept by 6hrs... tho i still need to work tomorrow... ehhh... today.2 -
I used to work in the culture and entertainment field. Some work days during festivals and tours were long. It wasn’t uncommon for me to work 24h+ straight, but I think the longest uninterrupted work session was during the first iteration of a big music festival, where I ended up doing a 53h (to my recollection) day, then taking a 3h nap, and continuing for another several hours. Dev work is so much easier comparatively in that regard - and the money’s better.
-
Thought i'd try using VSCode.. initialized folder for git... and then proceeded to delete all my nodeschool work that i'd done over the past year... ARAGH!2
-
Tries to automate login with vb using I.E...
Gets stuck because login page is a hive of nested iframes with deep nested tags without defined names
FML -
Reverts one file, ruins whole night. Don’t drink and revert. If your feeling sleepy it’s best to pull over and take a nap. Reverting while tired is irresponsible.2
-
Any code i write in Android studio.
That piece of shit would just go take a nap in the middle of my coding . I can no longer get response from mouse or buttons
Its bloody painful. I love it4 -
So today I wanted to keep going in my project, did nothing in the morning had to do market and came back tired (didn't sleep enought last night) so tried to rest (couldn't because had to help in the kitchen with the lunch), had lunch then take a nap, nap evolved to a nice sleep, woke up @1600, got out to deliver a ddr3, came back @1700, wife asked to get burguers for dinner... went to buy dinner, watched a movie (gold) has sex... and now I'm writing this rant'... so coded nothing... now I'm playing bf4 just because fuck it I'm not sitting in my desktop now....
So have you ever wanted to do something in your project and couldn't because external reasons didn't allow you?5 -
so i was having snack time at my preschool, right after nap time guys, and this was recently btw. and then this IDIOT named jack comes over and steals some of the crackers, before snack time is even ready!! and he gets away with it, the fucking bastard he is and then i try it, and get in trouble BUT THE THING IS, THE TEACHERS WERE LOOKING AT HIM WHILE HE DID IT. THATS WHAT PISSED ME OFF!!! FUCK THAT BASTARD NAMED JACK!!!4
-
working with Mapbox and so far everything works except displaying custom svg pointers for single points while clustering the multiples.
the documentation is only semi useful.
and my work-at-home coworker keeps meowing at me like that guy who wants to talk about TV shows whenever I'm working
I want a nap!