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 - "avoid this"
-
Random : Hey you're a programmer right?
Me : Yeah? *excited about possibilities*
Random : I am having troubles installing a game I downloaded. I've been trying for three weeks now.
Me : *sigh* OK, I'll have a look, but I can't guarantee I'll get it right.
*Spend about 10 seconds installing game.*
Random : How did you do that?
Me : I read the error message, it was pointing to the wrong file.
Random : You are a god man *calls wife* come look at this genius. *calls daughter* look at that *calls dog* this guy is so amazing.
I also now avoid Random, he had three hard drives, each with a different version of Windows installed, he totally screwed his bios, he admitted not having put thermal paste on his cpu. And he asked me to fix all of this whenever I have time.
I am not your computer fixer guy. Take It to the shop.12 -
One time a company I worked for tried to fuck me over and not pay me the referral fee that was promised for referring an employee. They hired the person I referred for a position that was advertised as having a referral fee paid after 6 months.
After the 6 months were up, I went in to HR to ask when I could expect to see the money, and they said “oh, you’re not eligible to receive the referral bonus because we hired so and so as a contractor (full-time) instead of an actual full-time employee.” And I was like... fuck that shit, they never mentioned that to me and I didn’t burn a referral lead so they could hire the person as a contractor and avoid paying me the advertised fee. I was absolutely livid and couldn’t believe it after I had been expecting this money for 6 months.
I felt cheated and none of my colleagues at the company could believe they’d stoop so low to not pay a highly-valued employee an advertised referral bonus. I had lots of battles with management over it, and eventually ended up with a portion of the promised fee, but not the whole thing.27 -
Today I found out that I could inject HTML into our documentation system.
I quickly tested it with the <style> tag by setting all paragraph tags to have eye bleeding red backgrounds.
Then when seeing that it works I've made a modal that displays a blinking red alert with the headline "Access Denied!", a loading bar that says "Tracing intruder IP..." and another line "Erasing confidential information.. .".
Then I've added an animation to run on all paragraph, heading and list tags - first they bounce and then the become transparent.
Then I asked one of the interns to go to that specific document - one of the longest and most important manuals they have access to.
I then left the room and through a window watched the poor, panicking guy looking into the abyss and "realizing" that he somehow deleted the important files and will be traced down soon.
I had to tell him the truth to avoid a suicide in the office.
It was perfect! I will definitely do this to others! :D12 -
console.log('This website owner is a verified shit nugget. Avoid business.');
If you get a bad client, warn others! ;)11 -
** The most hilarious authentication implementation I've ever seen **
They stored password in cleartext, but never mind, this is sadly quite common.
For some reasons credentials were also case insensitive (maybe to avoid silly tickets from CAPS LOCK lovers?).
Then I had a look to the query executed during the login:
SELECT * FROM users WHERE username LIKE ? AND password LIKE ?;
So I tried logging in with user "admin" and password "%"... and it worked!
I laughed all the day.30 -
Hey everyone,
@trogus and I have been working on some cool devRant features that we're going to be launching very soon. In addition, as some might remember from a recent discussion, we're trying to bring in some more revenue (so we can at least break even) to avoid having to think about advertisements in the app. To do that, we're brainstorming possible useful add-on features maybe that we can offer to devRant++ members, or possibly offer for a different plan or as a complimentary product (under the devRant umbrella, but separate in terms of where it's accessed.)
If you have a few minutes, we'd appreciate some feedback by taking this survey @trogus put together: https://surveymonkey.com/r/DT9MKVN/
Also feel free to discuss here too if you want, and thanks everyone!45 -
First off I dont mind what OS you are using. This rant isnt about the OS but about hypocrisy for some of the users. Secondly Im sorry for typos, I typed it on my phone while waking up.
People are calling Windows spyware, so they are using Linux or MacOS. Even though I disagree with the term spyware I would be fine with that if you weren't a hypocrite.
How many of the people who use Linux and call windows spyware uses Google, Apple, Facebook or Twitter once in a while? I highly doubt you if you say you don't.
A few years back Ive tried to live without anything of google, this also meant blocking YouTube, their trackers an javascript libraries.
Not much of the internet still works if you block google servers.
Google is everywhere and always collects data.
Facebook and twitter also collects data about you. Everyone who has your number in their phone will share it with Whatsapp and google so they can build up a profile. Even if you dont block it.
What I am telling you is that its impossible to avoid being tracked by these companies (including MS).
Every company I mentioned here has a profile on you, if you want it or not.
So let's check which of these companies tries to follow European laws.
Google gets fine after fine but doesnt really try to avoid it.
It looks like Apple, MS, Facebook and Twitter are doing it better on this.
But if you check the European law every European citizen is allowed to request their complete profile collected by a company. And that means complete and not the public part you volunteered to give away.
So I tried it out.
Google didnt want to give it, apple didnt want to give it, Facebook didnt want to give it and Twitter doesnt want to give it.
The hypocrisy is becoming clesr with the following. I did get my complete profile from MS. It was a messy PDF file which crashed most PDF readers.
It contained a list of people I know and how I know them. It contained MS accounts I had in the past and my hobbies. (and quite a lot more)
So from these big companies MS is the only one following the European Law.
So yes they do collect data, but they are open in what they collect.
And Im not saying here that Microsoft is great just because they follow the law.
You can have your own opinion about this and do with it what you want. I just wanted to share some, maybe alternative, facts.
And again this isn't an OS rant or whatever. I dont mind what you do, but I do mind hypocrisy.18 -
Free advice take it or leave it
A few days ago I completed my one year work anniversary(is that how it's said) at my first job. And this rant is basically stuff I learnt and stuff I wish someone had told me when I was starting out. Here goes:-
When you are starting out your first job you would be a fresh out of college and people around you in college are your friends where as people around you at work are colleagues. Your friends can like you, but you have to earn the respect of colleagues.
If you sit yo ass too long u will become fat(started going to the gym again).
Don't bother your seniors too much. they have their own shit to deal with.
Don't bring your personal shit to office I don't want to hear how cute your dog looked while it took a dump on your carpet.
Avoid the person who gossips.
It's a two way street.
Whatever you find amazing your boss may not you know coz you are a geek and your boss isn't.
Don't talk to people when they are coding.Yeah just don't.
Avoid "below the belt" humor you may look funny but you loose respect in the long run.
Keep upgrading yourself don't stop learning.
Admit stuff you don't know don't Bullshit.
To sum it up it's a game of respect, respect of knowledge,respect of skill and most of all respect of attitude.7 -
Alright, since Facebook released a VPN service a little while ago but they're actively advertising it as a secure and privacy friendly service, I felt like - although I'm very busy right now - I should do a security/privacy blog post about this.
If you even slightly care about your own privacy or the privacy of anyone you're communicating with, for the love of God, don't use this service.
Hereby a blog post explaining stuffs: https://much-security.nl//...44 -
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 -
Me: Oh I see were using a non-standard architecture on this app. I like this bit but what is this doing? never seen it before.
Him: Ah we use that to abstract the navigation layer.
Me: oh ok, interesting idea, but that means we need an extra file per screen + 1 per module. We also can't use this inbuilt control, which I really like, and we've to write a tonne of code to avoid that.
Him: Yeah we wanted to take a new approach to fix X, this is what we came up with. Were not 100% happy with it. Do you have any ideas?
**
Queue really long, multi-day architecture discussion. Lots of interesting points, neither side being precious or childish in anyway. Was honestly fantastic.
**
Me: So after researching your last email a bit, I think I found a happy middle ground. If we turn X into a singleton, we can store the state its generating inside itself. We can go back to using the in-built navigation control and have the data being fetched like Y. If you want to keep your dependency injection stuff, we can copy the Angular services approach and inject the singletons instead of all of these things. That means we can delete the entire layer Z.
Even with the app only having 25% of the screens, we could delete like 30+ files, and still have the architecture, at a high level, identical and textbook MVVM.
Him: singleton? no I don't like those, best off keeping it the way it is.
... are you fucking kidding me? You've reinvented probably 3 wheels, doubled the code in the app and forced us to take ownership of something the system handles ... but a singleton is a bad idea? ... based off no concrete evidence or facts, but a personal opinion.
... your face is a bad idea15 -
Just found out the backend developer I’m always complaining about. The one who:
- Can’t implement OAuth, and we have to have app users login every 24 hours because we have no way to generate new refresh tokens.
- Who used the phrase “your time zone is not my concern” to avoid building something that would let us inject test data.
- Who’s been debugging a critical bug affecting many users since December.
- Who can’t conduct API tests from external internet (you know, like the way the app will be in the wild) because it takes too much time.
- Who replies to Jira tickets only on a blue moon.
- Who has been 90% of the reason for my blood pressure situation
... is a fucking principal engineer in this company. In pecking order, his opinion should be considered more valuable than mine and everyone on my team.
I’ve just lost the will to live. How are big organizations THIS bad. Seriously, what promotion discussion did he go into
“So, you are a complete and utter bastard, nobody can stand to speak to you and you’ve yet to deliver anything of worth that actually works, over the course of several years ... ... ... interested in having your pay doubled??”20 -
Do you ever talk to yourself out loud while thinking/programming/debugging? (Not a rubber duck in sight, because that makes it okay?)
I need to avoid making this a habit..
Me: What? Why is this even an error?
Someone: What?
Me: What?14 -
Having a server with a lower spec CPU and RAM than dev machines, to ensure that if it works on the dev machine it will always run perfectly on the server.
This means we can avoid any debugging tools or techniques (including console logs), because “it will be perfect and it’s not necessary”.4 -
What the flying fuck is happening on the EU with the fucking GDPR corsairs!!
I made two - TWO - entirely static websites, hand-made, 100% cookie-free!! I didn't even need to store a goddam boolean cookie! No third-party content is EVER invoked, called or summoned! I hosted a small video to avoid Youtube! Facebook and twitter share buttons are links!! I DID ALL OF THIS ON PURPOSE AND INFORMED THE FUCKING CLIENT.
And THEN (and, of course, unsolicited), the fucking lawyers of an asshole GDPR corsair office came and scared the shit out of my clients and convinced BOTH of them to put the goddam GDPR cookie consent popup on the fucking websites!! And they took their bribe, of course...
In order to avoid billionaire fines because of the NON EXISTENT cookies of the SMALLEST, SIMPLEST, 2KB MINIFIED HTML page on the Internet.
Anybody else is suffering from this kind of behavior??9 -
At an interview, the first round was an online coding round. Two questions, one easy one hard, 90 minutes, easy peasy.
I solved the hard one first.
A bit of good logic, followed MVC pattern, all done. Worked flawlessly.
Submitted code. Online compiler threw up an internal error citing java is an invalid command(jdk not found).
Called the invigilators. What I heard next, I couldn't believe this shit.
"We're not responsible for any errors you may be having. Figure it out yourself"
I was like WTF dude. This is not even a compilation or runtime error!
After a heated discussion, I made him look at the code.
Him - what is all this classes and all? Why haven't you written everything inside the main function?
Me - those are model classes. Those are different helper functions. That is a recursive function to avoid 5 for loops and use divide and conquer. Ever heard of OOP? what kind of person writes a 300 line program inside one function?
Him - no no we write it like that only. Correct this.
Me - I fit everything inside the main function. Still the same error, java not installed. Called the idiot to have a look at it.
Him - yeah your code is wrong.
Me - may I know what's wrong with it? Can you fix it please?
Him - no no we aren't allowed to see the code (he had already read it twice. It was compiling and running perfectly, locally) .
Yeah you solved only 1 problem, you were supposed to solve 2.
Me - yes because the rest of the time I had the pleasure of your company. (It isn't everyday that I see talking buffoons.)11 -
(Not dev, not rant, although it might become one later on)
So as some of you may know, I am colorblind. I always avoid working with colors because of it. Yesterday I decided to do something I've always wanted, painting. And no I don't mean painting on a canvas but miniatures and other 3D models.
I love catan, I love 3D printing and I thought let's print a catan set and paint it myself, without depending on family to ask for colors.
I've got this German paint tubes and used the wikipedia color descriptions to decide what to paint which color.
The following is the result, its a wheat tile (and in the background a wood tile).
Feel free to give tips and suggestions. If I picked a wrong color please tell me so I can update my tactics.
Finally took this step. Yay25 -
PRO LIFE SAVING TIPS FOR DEVS (long rant, not clickbait 😝)
I have a medical condition called DVT (Deep Vein Thrombosis). It clots blood in veins near lower body parts. Affected leg swells and become red and it is very painful. It happens when you very frequently sit for very long.
I used to play games, code and stuffs for hours and sometimes I used to stay at home without taking decent walk for weeks. I am only 18 and did not see it coming. But its really early stage and I might be fully recovered real soon.
This condition is not rare and happens to millions of people every year. And it can be avoided if you avoid sitting at computers for long hours and take 5 mins to walk or stretch. Even if you can avoid this condition, there are many others if you dont pay attention on your body. Please take some time to google how you can avoid anything such.
(Please don't comment sympathies, I really know you wish well for me. Instead you can throw tips what you do to relax after long hours of work).15 -
This story starts over two years ago... I think I'm doomed to repeat myself till the end of time...
Feb 2014
[I'm thrust into the world of Microsoft Exchange and get to learn PowerShell]
Me: I've been looking at email growth and at this rate you're gonna run out of disk space by August 2014. You really must put in quotas and provide some form of single-instance archiving.
Management: When we upgrade to the next version we'll allocate more disk, just balance the databases so that they don't overload in the meantime.
[I write custom scripts to estimate mailbox size patterns and move mailboxes around to avoid uneven growth]
Nov 2014
Me: We really need to start migration to avoid storage issues. Will the new version have Quotas and have we sorted out our retention issues?
Management: We can't implement quotas, it's too political and the vendor we had is on the nose right now so we can't make a decision about archiving. You can start the migration now though, right?
Me: Of course.
May 2015
Me: At this rate, you're going to run out of space again by January 2016.
Management: That's alright, we should be on track to upgrade to the next version by November so that won't be an issue 'cos we'll just give it more disk then.
[As time passes, I improve the custom script I use to keep everything balanced]
Nov 2015
Me: We will run out of space around Christmas if nothing is done.
Management: How much space do you need?
Me: The question is not how much space... it's when do you want the existing storage to last?
Management: October 2016... we'll have the new build by July and start migration soon after.
Me: In that case, you need this many hundreds of TB
Storage: It's a stretch but yes, we can accommodate that.
[I don't trust their estimate so I tell them it will last till November with the added storage but it will actually last till February... I don't want to have this come up during Xmas again. Meanwhile my script is made even more self-sufficient and I'm proud of the balance I can achieve across databases.]
Oct 2016 (last week)
Me: I note there is no build and the migration is unlikely since it is already October. Please be advised that we will run out of space by February 2017.
Management: How much space do you need?
Me: Like last time, how long do you want it to last?
Management: We should have a build by July 2017... so, August 2017!
Me: OK, in that case we need hundreds more TB.
Storage: This is the last time. There's no more storage after August... you already take more than a PB.
Management: It's OK, the build will be here by July 2017 and we should have the political issues sorted.
Sigh... No doubt I'll be having this conversation again in July next year.
On the up-shot, I've decided to rewrite my script to make it even more efficient because I've learnt a lot since the script's inception over two years ago... it is soooo close to being fully automated and one of these days I will see the database growth graphs produce a single perfect line showing a balance in both size and growth. I live for that Nirvana.6 -
All this "political correctness" cancer spreading through the Python community at the moment over "master/slave" terminology has me wondering where will it end. When the pendulum swings will be have a pro-life movement opposed to pre-emptively killing processes? Will a branch of PETA form to oppose the taxonomic appropriation of reptilian names for the language as a whole? Are we going to need to find gender-neutral names for motherboards to avoid offending those who are offended by the oppressive digital binary? Will removing "mother" from the name motherboard invite 6th wave feminists to decry the influence of toxic masculinity in electronics? Do snake lives matter? Seriously, some people need to take a month off to go fuck themselves somewhere far far away and stop confusing "diversity" with "rampant idiocy".14
-
A senior developer come to interrupt me.
Senior developer: blah...blah....blah about this concept...... that concept... So, any new things you learn lately that you would like to share?
Me: I am learning back C++
Immediately he stop me and said, "Why did you learn C++? It is obsolete, no one use it anymore"
Me (in my head): But, you just said what I learn. It doesn't matter if its obsolete or not. Infact you are wrong, C++ is not obsolete anytime soon. I was about to share on webassembly.
Senior developer: So, would you like to join me in a short sharing session this afternoon.
Me: No thanks, I am really busy (just want to avoid at any cost)8 -
MARKETING FUUUUUCCCKSSSS!!!
The fact that I publish a contact email address on my GitHub profile for email about my fucking GitHub doesn't justify sending me unsolicited shit!! I get that you want your product out there, I get that you don't want to pay for.. you know, regular fucking advertisements, just like everyone else, because your product is entitled to special treatment, right?!
Let me tell you something, Yaren Sahin. Just like with Clark from InVision and the Chinese motherfuckers with their injection moulds from earlier, this is a clear reminder for me to avoid your unethical business like the plague! Fucking piece of shit!!
(better quality screenshot: https://i.imgur.com/ZL3ebFZ.png)
Which by the way I'm actually legally allowed to upload, because this email was unsolicited. You know, because unlike those marketing people I happen to know the laws a bit.rant at least they don't want to enlarge my dick github but no hot singles in my area? marketing fuckwit4 -
This is bullshit.
We've got a project where we need to build a robot that can:
A. Follow a line.
B. Avoid obstacles
C. Go through a maze.
This, in itself, is fine. I can manage.
The problem is, the teacher that is supposed to support the course, is never where he's supposed to be.
Ie: he was supposed to be in the classroom to answer questions and give feedback yesterday from 09:00 to 13:00. The fucker didn't fuckin show up.
OK, so today, he's supposed to be here too, I've been sat in his classroom without him waiting for over an hour...
Also, no way I can do the maze part without knowing what defines a fucking blocked path, is it going to be a physical object or is the line going to be a different cor if you're not allowed to pass there?
I'm getting tired of this bs.9 -
Don't buy the "We're bleeding edge, agile and embrace devops.". Those who proclaim that the loudest are the ones that think they do, but don't.
Oh, and any place that refers to employees as "tech ninjas" or "superstars" or anything cringy like that. Stay away.
This was more how to avoid shitty places. So to find a good place to work, use this statement in your search:
if (!<this_rant>)
{
... // maybe you're lucky
}9 -
How to avoid haters on Stackoverflow:
1. Add this before your code: "Try the following:"
2. Profit!
Exact same code, but one is hated11 -
South Africa Electricity:
This is after I lost my 7th 3000VA online UPS...
In South Africa we have 240V power most of the time which is great, but then there is scheduled power outages (because our electricity companies cannot "handle the load").
When we have a power outage we have automatic generators which brings everything back up although there is still the 1 minute drop which has weird spikes and odd voltages before switching to the generator (as the generators wait until they are stable)
This has being destroying our equipment, we had a $2000 repair bill 3 TIMES for 3 SEPERATE Xerox Machines that have surge protectors although their circuit board somehow fried.
We have lost 7 3000VA UPSes (3 different brands) and 5 voltage regulators we put to protect the UPSes.
The one UPS that fried just had 2 dead fuses, I decided to replace them (unplugged the batteries to avoid 240V) and when plugging the batteries back in there was a huge spark and flame and the metal and plastic melted onto the board and turned black (the metal pins to connect the battery are non existant now)
I am done with electricity...
P.S. 2 of our generators also got hit by lightning as we are high on a hill and ALL the plastic cable coverings inside the generator were melted14 -
Hello everyone.
I've seen people doing story/rant to introduce themselves, and I never done that, probably because I'm terrible at doing so, and the more people their is, the more complicated it gets for me. 😥
Usually I try to blend in, and be the same color as the wall. But I want to try something different, so bear with me as I go through this painful process. 😶
So here I am, a lonely dev, who only have friends through a screen, living in a dark room only lit by green leds (tho sometimes it turn red/pink), lost in a small street of Paris. I usually avoid posting on social media, but here on devRant, I feel alright, somehow, it feels like home... 🤗
Started developing at 14 with html and php, then css and js (with the later still being a mystery to me). 🤔
I never really had a real job. Had 3 month as an intern into a human size web agency, and despite the recommandation they gave, I didn't like the job... Dropped from school and self learned everything I know today. Did a certain amount of personal projects, but no publication for lack of confidence. As of today, I'm 28. 🙂
Then a year and half ago, I changed to c# with unity3D, and I had a ton of fun since. 😄
Learned cg effect, texturing, 3d, a bit of animation. I'm working on a project of indi game with two people that are my only social interaction outside of my family, and now devRant. I don't mind being lonely tho. 😯
But this community is awesome, so I'm glad I stumbled across that sad face on the play store. 😄
Also it's 7:30am, I didn't sleep because of this post, I'm tired, and yes I'm an idiot.21 -
!rant
I met my old school friends today. One of them was apparently showing off his programming skills too much(let's call him X). So much that he(friend X) was comparing Linus Torvalds with himself. And he was telling us that Linux is best because there are so many DEs and customisations and blah blah.
So one of my other friend Y(who's not into computers much) asked him to install Ubuntu on his laptop while we were sitting in cafe.(Y wants to play with command line mainly this semester according to him) So he started complaining that he does not have ISO with him and trying to avoid it.
I said I have kubuntu iso he can flash it right away. Then he(X) said "Kubuntu is too complex for him(Y)".(me in mind : " yeah, just because its a. DE, it becomes complex") So I searched in my phone (faked the search, basically renamed kubuntu iso to Ubuntu iso lol) and gave him " Ubuntu " iso
And this "pro developer" installed that on his laptop and after installation was completed he said that "OMG DUUUDE UNITY IS DEAD, EVEN UBUNTU SWITCHED TO KDE AS DEFAULT DESKTOP ENVIRONMENT, ITS COOL".
FFS8 -
!dev && rant
*Checks mailbox*
"To the energy consumer of this residence"
This better be something official, even though electricity is provided by solar panels here, and that as well as water and gas are part of the rent.
*Opens letter*
"AD: GET A CHEAPER ENERGY CONTRACT!!!"
Fuck you. If only you addressed it properly, you would've known that I pay exactly €0 for energy. Try and beat that, will you?!
Anyway, that's one way to avoid liability for sending crap to people who explicitly mention "no unaddressed spam" on their mailbox I guess... Pieces of shit.5 -
Avoiding bad companies starts at the job interview. Remember that the job interview is not only for them to evaluate you, but also the other way around. Make sure to ask a lot of questions. What are they doing, how are they working, what help is there if you get stuck, are they doing code reviews, what will you be doing etc.
The job interview is the opportunity for you to get an inside view of the company. Don’t just accept any job because you are desperate. Luckily qualifies devs are much needed in companies.
Also, make sure to go to multiple job interviews so you can see the differences. I think it can be difficult to avoid in the beginning, but as you get more experience, you can sort of tell whether it’s a good or bad company at the job interview.
Though sometimes you are just unlucky. In that situation: leave. It is so good damn easy to get a job in this field.3 -
Being a Woman in Tech® is exhausting because every time we know something a male superior doesn’t, we have to end our statements with “but maybe I’m wrong, what do you think?” so they feel like it’s their idea and take the topic seriously.
I used to be adamantly against this type of coddling but they beat it out of me. You can only be straightforward and confident a finite number of times before you’re pulled aside and told you’re “cocky,” “arrogant,” “irritating,” etc. So many of us use this strategy to avoid those labels, but it’s a tiring part of the job we shouldn’t have to think about.24 -
At a certain client, was asked to help them with an "intermediary" solution to stopgap a license renewal on their HR recruiting system.
This is something I was very familiar with, so no big. Did some requirements gathering, told them we could knock it out in 6 weeks.
We start the project, no problems, everything is fine until about 2.5 weeks in. At this point, someone demands that we engage with the testing team early. It grates a little as this client had the typical Indian outsourcing mega-corp pointey-clickey shit show "testing" (automation? Did you mean '10 additional testers?') you get at companies who put business people in charge of technology, but I couldn't really argue with it.
So we're progressing along and the project manager decides now is a great time to bugger the fuck off to India for 3 months, so she's totally gone. This is the point it goes off the rails. Without a PM to control the scope, the "lead tester," we'll call her Shrilldesi, proceeds to sit in a room and start trying to control the design of the system. Rather than testing anything in the specification, she just looked at the existing full HRIS recruiting system they were using and starts submitting bugs for missing features. The fuckwit serfs they'd assigned from HR to oversee this process just allowed it to happen totally losing focus on the fact this was an interim solution to hold them over for 6 months and avoid a contract renewal.
I get real passive aggressive at this point and refuse to deliver anything outside the original scope. We negotiate and end up with about 150% scope bloat and a now untenable timeline that we delivered about 2 weeks late, but in the end that absolute whore made my life a living hell for the duration of the project. She then got the recognition at the project release for her "excellent work," no mention of the people who actually did the work.
Tl;Dr people suck and if you value your sanity, you'll avoid companies that say things like, "we're not in the technology business" as an excuse to have shitty, ignorant staff.6 -
Almond: Look at these stats - our signup process sucks! We really need to make it better.
Boss: Yeah, maybe at some point. It doesn't affect live running though. Leave it for now.
<1 month later...>
Almond: These stats are getting worse. I really think we should redesign this to do x, y and z and avoid a, b and c.
Boss: Yeah, we probably should do at some point, but there's no rush. You can work on it if you really want to, but only if there's nothing else going on.
<2 months later...>
Boss: I'VE JUST SPOKEN TO TWO POTENTIAL CLIENTS, BUT OUR SIGNUP PROCESS SUCKS SO THEY'RE GOING ELSEWHERE! WE NEED THIS FIXED NOW!! WHERE ARE YOU ON THIS? CAN WE GET IT DONE AND DEPLOYED BY FRIDAY?!?!3 -
Dev: Hi Guys, we've noticed on crashlytics that one of your screens has a small crash. Can you look?
Me: Ok we had a look, and it looks to us to be a memory leak issue on most of the other screens. Homepage, Search, Product page etc. all seem to have sizeable memory leaks. We have a few crashes on our screens saying iPhone 11's (which have 4gb of ram) are crashing with only 1% of ram left.
What we think is happening is that we have weak references to avoid circular dependencies. Our weak references are most likely the only things the system would be able to free up, resulting in our UI not being able to contact the controller, breaking everything. Because of the custom libraries you built that we have to use, we can't really catch this.
Theres not really a lot we can do. We are following apples recommendations to avoid circular dependencies and memory leaks. The instruments say our screens are behaving fine. I think you guys will have to fix the leaks. Sorry.
Dev 1: hhhmm, what if you create a circular dependency? Then the UI won't loose any of the data.
Dev 2: Have you tried looking at our analytics to understand how the user is getting to your screens?
=================================
I've been sitting here for 15 minutes trying to figure out how to respond before they come online. I am fucking horrified by those responses to "every one of your screens have memory leaks"2 -
I’m fucking done….
I don’t even know what to tell.
I’m a CTO in a startu. We have pretty good traction, my salary is about average senior dev salary (plus 10%).
I’m good financially.
But I have no more pleasure in work. Like at all.
“This API call performance is bad”
Yeah I know, maybe you shpuldn’t try to call it for 1000 objects at the time ?
“We need to reduce Azure cost”
Yeah I know, but are you ready to live with performances downgrade it will generate ?
“I don’t understand on what thing you worked past week, where is a devops card ?
Fuck you, I’m in extenuating fire mode, I don’t have time for a fucking devops card
“We should migrate whole stack to modern technology, like JavaScript”
Thank you for your imput, Blazor WAS created to avoid JabaScript
“The client has only 1.000.000 records and API doesn’t return them all”
Use fucking paging moron. And BTW, I’m adding “number of authorized requests” shortly.
I can go on and on and on for hours. But the idea is : I completely lost the will or motivation to do anything. I’m considering just to quit and go back to be Junior dev for a random company.9 -
Some time ago I went for a job interview (Unity3D Dev). I have little experience in this field and never thought that I would get this job but wanted to gain some and thought that it would be a great opportunity.
So after the interview, which was great and I really enjoyed it, I've been tasked with making a simple minigame. Only requirements were that there have to be player controls, character must avoid obstacles and camera must be moving with player's progress. I've made a little spin on those. In 2d minigame I've created you are piloting simple (made out of 3d primitives) rocket. You have to avoid randomly spawned platforms. If you hit one, you explode. You also die, if you hit a wall or fall out of camera and hit Destroyer. Camera is constantly moving as long as you are moving. The spin is that you have very limited fuel. To regain it you have to land on said platforms with your thrusters. It took me around 12h to make this game. The only reason I know it is because they wanted this info. I've learned a bit while working on this minigame and had a lot of fun. It was a great impuls to start learning gamedev again and stop stagnation I fell in when I started my studies and work.
Today I've got response. Obviously I didn't get the job. They took more experienced person and I totally understand that. But there's more. They were so great to give me pretty extensive review of what was done good, what could be done better and how to gather more experience. They said that the game met their expectations and was written well. That's great, because I was worried that it would be bad since I haven't worked on graphics at all.
So, at least I got an impulse to start learning and maybe I'll even go for some game jam!4 -
Coworker: so once the algorithm is done I will append new columns in the sql database and insert the output there
Me: I don't like that, can we put the output in a separate table and link it using a foreign key. Just to avoid touching the original data, you know, to avoid potential corruption.
C: Yes sure.
< Two days later - over text >
C: I finished the algo, i decided to append it to the original data in order to avoid redundancy and save on space. I think this makes more sense.
Me: ahdhxjdjsisudhdhdbdbkekdh
No. Learn this principal:
" The original data generated by the client, should be treated like the god damn Bible! DO NOT EVER CHANGE ITS SCHEMA FOR A 3RD PARTY CALCULATION! "
Put simply: D.F.T.T.O
Don't. Fucking. Touch. The. Origin!5 -
My dev role model is my senior who taught me JavaScript when I was a noob. He was so cool. One of the few real programmers who enjoy their work in a clusterfuck world of idiots who pretend for money.
His philosophy sticks with me even today. I was new to the industry and the long hours of low pay intern work were getting to me. But he kept reminding me that programming still has this cool, engineering side where you blitz stuff out on a keyboard and build awesome shit.
I owe him my career because without him I'd still be one of the other stooges who bitch about the job and avoid studying. But since working with him, I never speak bad about my profession. Programming is a beautiful profession, even if the people I work with are sometimes dumbfuck dicks. And he taught me that distinction.2 -
- Recruiters are as bad as car sellers
- They are not your friends
- They're not on your side
- The less you ask for a job the more they're gonna get
- Keep your cards on your side
- Don't tell them how much you make (they love to know that)
- Set a salary expectation for yourself and push it
- Expect a few-months long job hunting
- If you know you deserve the salary you are asking for keep pushing.
- Be patient.
- Don't give your 2 weeks notice until you signed already for the other company
- Medical insurance makes a big dent on salary
- Keep applying for jobs even if you are advanced in a hiring process.
So far this is what I've been learning through my current job seeking experience.
I hate job recruiters, if you can, avoid them at all costs10 -
Thank you for fucking me
Thank you for sucking me
Thank you for lying to me
Thank you for showing your true self
Thank you for teaching me what type of people to avoid
Thank you for sharpening my focus
Thank you for making me suffer
Thank you for improving my grind
Thank you for being a bitch
Thank you for being a whore
For now i have taken heavy damage and a heavy loss of time
For i shall take it as a reminder
A lesson to never forget
Short term gain
Damages
Long term fulfillment
And vice versa
Yin yang
The perfect balance
You will not be missed
I am done dealing with this fuckin bullshit
Goodbye13 -
So I've made a couple of these meme modifications already but the rants I post them into tend to get deleted. To avoid wasting the couple minutes of my work, I'll post them under this rant.33
-
I've run into problems with the app I'm working on, the problems are related to issues regarding code.
No in fact it's related the last guy who wrote the app, the code has no comments and the variable names make no sense, the only comments in the code are blocks of code... With no reason as to why it was commented.
I have to add in some checks to determine if a person that has logged in is a full member or not (full member has access to the feature I've added) and the way the guy has made this app works makes no sense to me at all.
I've tried my best to avoid all contact with his code because it makes me want to yell out in frustration.
But for this one case I have to work with what's there.
I know I've mentioned this before but I've hit my limit yet again.
And for those who don't know this guy managed to scrape together skeleton code from two apps to make part of this app, rather than using parts of the other apps he left out code that was specifically made for the other apps, (majority of the commented out code).
One app was a taxi app and from the looks of it the feature he used was to get GPS location (which I don't understand before Google maps is a think after all... The taxi app USES Google maps), the other app is some sort of funeral webcasting app (I found code imports for it, without any actual code).
I don't actual understand how this guy could put this together without not thinking "maybe this is a bad idea"
Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live
I'm that psychopath right now..... Fuck that guy (don't know where he lives though)1 -
Want to hide this devRant apps on android but how?
Because everytime my wife see this devRant, she say, wtf this app? So many bad word, so many "fuck", you must avoid see bad words too much ,she said. Lol its true but still happy to see it, because its damn true. I love to see people say the truth19 -
Whatever you do, don't do this.
- a sleep for 300s to avoid full 24 hour rollover (lol)
- sleep 1d instead of cron; so at random times emails will be sent out or they won't at all
- this is a laravel project, there's a thing called task scheduling: https://laravel.com/docs/5.8/...
Git blame: https://github.com/invoiceninja/...
The actual core project docs at least tell you to setup a cron, though not via * * * * * nor task scheduling, which isn't as much of an issue though as their dogshit docker compose: https://invoice-ninja.readthedocs.io/...6 -
Trying to explain functions to my coworker and why they should be used even if powershell scrips don't 'need' functions
I've explained it 5 different ways across multiple meetings when they've gotten stuck on something.
At this point I've decided 1. I don't have the patience or brains to be a teacher..., 2. I'm going to have to review every script they ever fucking write, 3. I'm never letting them work on anything critical or time sensitive for big clients. (Small clients ehhh) I'll fight my boss to avoid that headache lol7 -
I don’t have a real way to find a good company.
As a rule of thumb I avoid startups.
This doesn’t mean all new young tech companies are bad. I avoid the startup rethorics. Those are 🚩 for both new and old companies.
And I avoid crypto, nft and other scam businesses. There’s an high chance that the owners will run away with the money and leave you without a job.6 -
Me: soooo can you get this done by next week?
Other dev: well who knows what rabbit hole I'll fall down. There's no way to tell.
Me: can you just avoid falling down a rabbit hole? We have a deadline.
Other dev: oh ya there's no way to know for sure.
Me: ....... Can you please try harder
Other dev: I'm trying I can't.
Me: ................6 -
I had a zoom meeting with a new company who came looking for ME. I did NOT look for them. I already have a job (but they pay 3-4x more than my current job).
It went well. How the fuck was this a technical interview. Guy only asked me what ive worked on so far by now. Nothing technical n shit
At the end
Hr asked me how much bands i want 💰💰💰(here we fucking go again)
I had to stall it and avoid question. The guy started rolling his eyes and turned off his webcam. The fuck is your fucking problem Bitch?
Then she said we cant move to the next 76th interview unless i say range or minimum. I don't give a fuck anymore. I said my minimum
She started writing it down and, i have never in my life seen someone disconnect a zoom call after that.
Literally hr was saying Thank u for taking the time to join the interview, the guy also said thanks, i started saying thank you for your time an- they fucking disconnected the fucking call. In the middle of my fucking sentence. I did not manage to finish my fucking sentence from how fast they disconnected.
NOW I'LL ASK FOR DOUBLE OR NOTHING AT THE END INTERVIEW DUE TO THIS BEHAVIOR. GET FUCKED4 -
Amazing how people misuse the term technical debt.
A bug is a flaw in your design/development.
Tech debt is a conscious decision/tradeoff, which is often tracked and removed as the product matures.
The difference is subtle. Avoid this mix up at least in written communication.9 -
About a year ago we created as an experiment a custom AST-tree with a renderer in React. We finished this part, but never actually finished any view in our app with this, due to other timeconstraints.
This week, our new project manager looked through the usage of the implementation and basically figured it was shit. This part is fine, it was just an experiment.
But then he said that we sgould never use any AST’s ever in our project. I tried to explain that ASTs are a general concept and mentioned that for instance TypeScript uses it. Then he went bat-shit crazy and disallowed the use of typescript. We spent the next two hours explaining that we cannot avoid ASTs and that they are not bad in general.
But we are not allowed to ever implement some similar to an AST. Sometimes, I’m just blown away by the stubbornness combined with ignorance of some people. Either is fine, but not both.14 -
Okay, so I have a question...
Although unethical, I’m considering disabling a clients services without warning. They’re 6 months behind on paying me and I have complete access over their network infrastructure. Upon reading our contract, I’ve made the mistake of incorporating services will be discontinued due to lack of payment... But, I know if I disable things they’re not smart enough to figure out why they aren’t working and call me... That’s when I’ll tell them that I can’t preform work until past bills are paid in full.
I’m located somewhere in the US. Is this too unethical, too illegal? I just want my fucking money... Thanks!
EDIT: Yes I have invoiced then monthly. They’ve received them because I had deliver al invoices to avoid the “oh I never received it” claims.25 -
Feature request:
A lot of people have been commenting on rants just to later get notifications about it, but also from my experience often times I comment on a rant but don't want to be subscribed to it.
Why not make it not subscribe you to the rant by default, and instead change the rant mute button to do the opposite and subscribe you to that rant? It would avoid the pointless comments, and this7 -
FUCK. This person who I have to avoid at social gatherings because I find him insufferably annoying is applying to my workplace and oh my God I hope I never have to work with him, at least the company is 700 people so the odds are relatively low?
Uggggg he's the worst. And I'm so easy going. There's like two people I feel this way about (fortunately the other lives in a different city).9 -
The difference between wisdom & intelligence - I need to wise up 😅
David came back home late. He did not inform his wife that he will arrive late today. He did not answer her calls. He didn't reply her messages. He was busy.
She was worried at first. Later it turned into anger.
He knew how to make her cool down. He listened to all her rants. She cooled down eventually. But he was more exhausted now. Work load and then this ranting of his wife made his mood off. A depressing day indeed.
----------------------------------
Daniel knew that he will arrive late today. He texted his wife to inform her. It just took 30 seconds to type, “Hey sweet, I will be late today.”
When he returned home after the exhausting work, his wife's smile was enough to refresh him.
----------------------------------
Daniel had an exhausting day but a refreshing end.
David solved the problem. He is intelligent.
Daniel avoided the problem. He is wise.
The difference is,
An intelligent person knows how to solve any problem.
A wise person knows how to avoid that problem.
src: https://quora.com/What-is-the-diffe...2 -
During my first internship, my boss had me build a social network type of platform for doctors, all by myself, using Drupal 7. I was like 'aw yeah sure!'...*sigh* younger me...
While I was working there, he didn't have any particular input on the project other that the occasional brainstorming session, where he would tell me things that big firms do (Facebook, Twitter etc.) that should be implemented. It was 2012 so you can imagine that many standard concepts of today, were making their first appearance back then.
I remember that he was sitting on his desk, a little further next to mine, watching a video about how to treat your employees like mine-digging goblins, in a way that would bring profit to the company. He didn't notice that the volume was loud enough and that I could hear what the video said. Still to this day, that moment was one of the most awkward experiences I had in any workspace.
Well the project turned out to be a really well-built prototype and then canceled because reality hit me and I left after my internship ended, even though he told me that he wanted to hire me and have me work on the project full-time.
So happy to have been there, just to learn to avoid people and places like that in the future, it really paid off (seriously, this is the type of stuff that you have to experience in order to armor up in the future).2 -
Just as I wait for my train, some advertisers from a utility company here approached me. Asking what my company is etc..
Me: "well I'm making my own company..."
*Looks at their pamphlet*
"Oh, utility company you mean. My apartment building has solar panels."
Them: "oh you know about electricity right... And F-16, the fighter jets that fly at 3000km/h"
(My neighbor is a former aerospace technician who mentioned that previously, should be about right)
Them: "they fly faster than electricity!"
Me: "but um.. electricity travels at the speed of light..."
Them: *avoid subject*
Them: "yeah it travels 7 times around the globe in 1 second"
Me: *recalls ping to my servers in Italy*
"Yeah to Italy my ping is about 300ms if memory serves me right... So that'd make sense"
(Turned out to be 40ms.. close enough though, right 🙃)
Them: "don't travel too much at light speed, alright!"
*They pack up and leave*
Meanwhile me, thinking: but guys.. all I wanted to do was smoke a cigarette before my train comes. Why did you waste my time with this? And uninformed time wastage at that.
Advertisers are the worst 😶12 -
So when our campus expo happened, I immediately went to the apps I critiqued last time when I was a a panel judge in the IT dep’s oral defence. Fair enough, this happened:
- The app I failed (the tilting avoid boxes shit app) actually got optimized and got the first time user tutorial I was looking for. I was short of relieved of them listening and kept going despite me failing them (props to the girl btw)
- Second app was the same as before but added my recommendations, nonetheless still a good app
I am nothing short of amazed they actually listened to me so I think that’s a win for my part1 -
Designer reporting a UI/Design related bug:
I noticed the wrong colour is being used on screen X. It should be xxxxx. Its imperative that we fix this, as it destroys the entire design motif. Our colour scheme draws influence from the ancient Mayans. They were relentless in their pursuit of excellence, whether it be their temples, their sophisticated writing system, their complex calendars, or their advanced mathematics.They sought immortality through their work, as do we with ours. Users will become lost in our onboarding unless we harmonise the flow, the slightest deviation could be catastrophic. Please fix this as priority 1, to avoid running the balance of the app
Designer reporting a technical bug:
Oh yeah, app crashed last week. Not sure what I was doing, maybe look into that7 -
WHY Atom, when I explicitly select a suggestion do you NOT ACTUALLY AUTOCOMPLETE THE SUGGESTION ?
I have configured so many fucking settings to try to avoid this why is it that I have to explicitly select my option 3 and 4 times before you ACTUALLY auto fill it.
I use you specifically FOR the auto complete function and you FUCK ME OVER ON IT.
I can just not seem to find a text editor or IDE that doesn't annoy the shit out of me one way or the other7 -
It's 28°C and the fucking (2015)macbook's metal body is running at atleast 70, burning my legs and making the inside temperature even worse ..
And Im only running Idea and Chrome...
Why have you designed a hellish tool like this instead of a normal laptop? What good is it to me that It's so slim and mobile if I have to have it on a table to avoid having 2nd degree burns on a daily basis?!
Seriously, what the fuck... I didn't ask for this shit, but my company requires me to use this "secure" laptop... Fuck everyone that was involved in this laptops design!!!7 -
So I am assigned to a new team to take over the leading position because the guy who did it up till now quit. And there is this guy who today seriously shared his screen with my boss and the rest of the team to point out that I formatted something wrong...
Realy it was something like
super.doFunctionA().thenFunctionB() instead of putting it like
super
.functionA()
.functionB()
He said he wanted to call me out early to avoid spreading of this "wrong formatting"
He wants to start a war? This fuckhead can have it!
Soon I will be the one who writes his tasks... hf8 -
So we are completely burned out with this project that had a fucking generic contract and my boss never had the balls (and never will) to say no to the client's endless requests and changes...
We are about to deliver it once and for all and they complain about one thing that I have already agreed to my boss that we would not do...
We tell the client that it is the case...
They email everyone involved in the project with a high level of drama on it...
I ask my boss, who is on vacation, on directions as to "how" I should tell them the fuck off...
My boss answer: I'm making a script to solve this issue and to avoid further trouble with it...
Ooo you stupid motherfucker! Can't you see you only bring more trouble with that attitude?1 -
Sometimes I feel like I'm wasting my time, I've been programming for the last 6 years, day and night, I know more than all the teachers I've had for the last years (including university), during programming classes at university I'm just there to help my friends and try to avoid they get bad habits (our professor didn't have this luxury apparently), but I don't feel the emotions I used to feel when I started, for the last month or so the only code I've written was two days ago to help the girl I like, when I'm home I try to force myself to code but I can't find the inspiration, I stare at the screen for 30 minutes, I reboot my pc, start windows and play videogames 'till night...
Then I go to youtube, and see artists and musicians, I feel like I can't do anything that cool...
Have anyone of you ever felt the same? What did you do to recover? I still love programming, but I can't find any reason to do it, I still don't have an original and interesting concept for a game, I have many side projects in the "maybe I'll continue it" stash, is there something wrong with me or is it normal?10 -
@Fast-Nop This one's for you, buddy. Took me all freaking day to figure out how to avoid unsafe-inline when registering a service worker. XD7
-
Can someone explain me AI/ML/DL in traditional algorithmic way without AI jargons?
What I currently understand is that they convert the training data to numbers based on a complex black boxed mathematical algorithm and then when a new data comes in, the same conversion is done and a decision is taken based on where the the new number fits in within the geometry/graph plot of the old numbers from training. The numbers are then updated. Is this what they call AI? Nearest number/decision search?
Kindly try to avoid critic, I am having a difficult time understanding the already trending AI stuff. People say that the algo exists from long back but only now we have the compute power.20 -
I'm convinced this is going to be wildly unpopular, but hey...
Please stop writing stuff in C! Aside from a few niche areas (performance-critical, embedded, legacy etc. workloads) there's really no reason to other than some fumbled reason about "having full control over the hardware" and "not trusting these modern frameworks." I get it, it's what we all grew up with being the de-facto standard, but times have moved on, and the number of massive memory leaks & security holes that keep coming to light in *popular*, well-tested software is a great reason why you shouldn't think you're smart enough to avoid all those issues by taking full control yourself.
Especially, if like most C developers I've come across, you also shun things like unit tests as "something the QA department should worry about" 😬12 -
Day 1: depressing
Day 2: blissful
OR
Day 1: blissful
Day 2: depressing
I noticed this pattern to repeat EVERY TIME IN MY LIFE.
When something is extremely good one day, I actually try to reduce the happiness because the depression will kick in the next day twice as much.... So even when i get hit by happy days, i am forcefully trying to become depressed in order to avoid being depressed twice as much tomorrow, CAn you Fucking believe me this ? Hhh
Hhhh
hhhhhhhhhhhhhhhhhh
i
i dont have energy to live9 -
Today I had what might have been my worst job interview to date. It had many different technical, cultural, and business red flags. One that really stuck out to me was when I asked my interviewer why he loves his job, he went on about how great the benefits and events are. Not a single word about the work he does or his teammates. A younger me would have seen this as an opportunity to put in some hard work and contribute to something great. Older me knows to avoid this dumpster fire like the goddamn plague.6
-
This rant is not about avoiding bad company but instead: If you find your self in a bad company make sure to note what is bad in terms of:
1. What is wrong?
2. Is it wrong by your book or by everyone's book?
3. How things should be done if you were in charge?
4. Are you able to be productive if those "wrong" things where done correctly? For example if they should have used gitlab cli for auto deployment, do you know how to do that? No? Learn. Yes? Move to the next item in the list
There is no way to avoid bad companies unless you are really lucky, just make the best out of where you are now :)2 -
I just experienced near death because of high blood. Super strong blood pressure. Avoid coffee, playing games, and sleeping very late at night. This is my advice as a survivor developer. I want to share this to help you. For fast deadlines or hard user stories, always negotiate reasonably with your SM or PM or PO or client.
Thank God he have me a 2nd chance at life. Take care of your health. Don't worry about deadlines. Health is more important. Always pray. I deleted all of my games especially my beloved call of duty mobile and clash of clans. I'll forget all games that I know because those contributed to my high blood pressure.
When you have a headache or head pressure or eye twitching . Stop what you are currently doing and relax, measure your blood pressure and contact your family asap. Take it seriously. My wife saved me.10 -
Not at all.
I’m a dropout. 🤷♂️
My dropping out was due to mental health from a bad relationship and also the realisation that I was failing the math-based portions of the course.
I’ve no doubt had I been better with maths and finished, the course would have been useful, but not the degree itself.
Not having it has never been a real barrier to my finding work, though it did raise eyebrows and require explanation to begin with... now my CV kinda speaks for itself in a way a degree simply doesn’t.
Throw in the fact that most grads can’t code (https://blog.codinghorror.com/why-c...) and employers are starting to wake up to the pointlessness of the degrees.
Real world learning, experience and intuition are *far* more valuable.
I will counterbalance this with the caveat that, if you’re doing things on the very bleeding edge, then a compsci degree beyond undergrad is likely the course you want to forge, I assume there’s no decent substitute for access to the knowledge of experts and the tech / equipment they bring to bear.... just avoid becoming an ivory tower type and you’ll be fine.4 -
I laughed waaay to hard at this. Anyone using kotlin? The language seems really nice, i currently develop with React Native if I can avoid java on android (too much to do too little) and was thinking about kotlin.2
-
I really like this book on the basis of the philosophy overall, no this doesn’t solve all problems but it’s a good baseline of “guidelines/rules” to program by. Good metrics or goals to architect and design software projects high and low level projects.
Fight Software Rot
Avoid duplicate code
Write Flexible, dynamic, adaptable code
Not cargo cult programming and programming by coincidence.
Make robust code, contracts/asserts/exceptions
Test, Test, and TEST again and Continue testing.. this is a big one.. not so much meaning TDD.. but just testing in general never stop trying to break your software.. FIND the bugs.. you should want to find your bugs. Even after releasing code the field continue testing.24 -
So, I am currently seeking opportunities at other companies. I randomly got a call on Thursday around 12pm from an unknown number and I was not able to take that call as I was in a meeting. Later on, after looking up that number on Truecaller, I found out that it’s a recruiter from a US-based firm that I had applied to earlier. I immediately tried to call that person again but she was not able to talk as she was in another meeting. I tried texting the recruiter asking for her availability but she didn’t respond. I called again and this time she got annoyed at me, saying that she will call me back if needed. Now, on the weekend I again tried to message her, asking when she is free for a conversation, she is acting high and mighty, saying that she will call me when we (the company) have interviews again (hinting that I have missed the opportunity and it’s my fault). Her passive-aggressive attitude seems to be coming because I didn’t take her earlier call— I did not deliberately avoid her call, I was in another meeting. I was not given any intimation that she is going to call me— let alone on a weekday at 12pm. My current company expects a high-level of professionalism and I intend to show the same level of professionalism in any future companies that I work with. This kind of dehumanization (mainly due to a power imbalance in top-down heirarchical structure) is why big companies have hard time retaining workers these days. And this company was not Google/Apple or anything remotely in the same league. So I seemed to have dodged a bullet there.4
-
Master/Slave
Fuck you guys. Honestly most of the rants i've read concerning python and their abolishme t of sait terms where fucking butthurt. "What virgin suggested this", "people shouldn't be offended, it's just a name" and so on.
I do agree with every one saying a name shouldn't matter (readability is a different story! However parent/child or producer/consumer IMHO preserve that). So why are you fucking offended when it is changed to parent/child or produver/consumer? Does it affect you in any way? You know there's the `sed` command, plus IntelliJ (and most other IDEs) have a quite good support for renaming/refactoring stuff.
By reacting this way, by beeing offended all you do is proving the point. Words can offend people. I personally don't care how it's called. So far I always used master/slave and didn't think twice about it. But then again if someone of my coworkers or friends would feel threatened by these words, I try to avoid them. Naming diesn't matter to me, nor the compiler. So fuck, if it makes people happy or feeling save then lets change it.
What the fuck do you gain by sticking to those terms anyways?17 -
So the incompetence of this knob-head are unbelievable, so in our company there's a particular method that required to return object specific way like
{
'a' : 'b',
{
'c' : 'd',
'e' : 0,
}
};
}
which somehow will be use everywhere in the project, I decided to create a constant class therefore anyone can use it and prevent redundant code. (re write the same thing over and over again). He decided to tell me to rewrite the same method for every-time I needed to return data.
My method is to avoid writing the same thing in repetition , that is why I place a method in a constant class where I call every-time I need to return those data in the specific way.
But he prefer writing it in repetition. OMG13 -
Any idea how to make a fan in an HP laptop spin at lower temperatures? The fan in my Pavilion dm-1 only starts spinning when CPU reaches 75°C and enters full speed when the GPU also becomes 75°C. Which is strange because this CPU and GPU are one and the same thing.. an APU. And overheating freezes often happen at around 75-80°C.. which isn't too much of a headroom really. I'd rather have it kick in at 50-60°C already, but would like to avoid using the power of the soldering iron for it.. I've already lost a fan to that previously (current one is a spare part from AliExpress). Granted, my soldering experience was much less back then.. nowadays I can probably even solder 1206 SMD packages comfortably. But I don't want to risk it, and I've got experience with custom kernels anyway.. are there any fan speed governors in the kernel that you know of?
FWIW, fancontrol doesn't seem to be supported on this laptop, and neither is pwmconfig. Perhaps I'll have to stick to the electronics method after all? Given that it's just a 5V fan, I guess that I could feed it power by tapping some power from a USB rail and controlling its speed from an ATtiny85.. but inside the laptop there isn't enough space for that and I don't feel like freeing this hardware out of its laptop chassis yet (though that is on the list). Either way running at 60°C under no load is terrible.. some HP certified enganeering "feature" I guess...4 -
I wish my boss would stop revoking my permissions. He's always saying how these slew of things need to be accomplished, yet, everytime I go to do them I'm at a wall because, despite having permissions for a very long time he decided to revoke them entirely.
It's not like I can't be trusted with them, it's been over 2 years with them, so why the sudden revoke?
I finally sent some snot mail to him informing him I'm unable to complete my tasks without the permissions granted to me (I'm a sysadmin, sec guy, boss is vp of tech), and instead of him granting them yet again he's going to run around and try to hack around the permission requirement so he can avoid giving me them.
Seriously? This is stupid. I was the one who wrote the security design and implementation document, and put all that work in. Now I'm being locked out of the system I designed, built and implemented?
Well, time to look for a new job. If you're a manager, please don't revoke your employees permissions without notice, at random, and try to hack around well-documented security policies. It won't end well!3 -
'Hey I found a bug in your code, it's probably a typo, see here.'
Me: Oh right, yeah. How stupid of me. Thanks, I'll push it.
'It's okay. You can push it or I can do it too after you push the changes we just discussed. I actually simplified one of your methods.'
Me: You, what... ?
(You crammed multiple lines in a single line with your stupid as fuck, rigid constructs, removing my error handling, loosely coupled service, in the name of simplification?)
' Yeah it's just four lines in a single function now, no need to call the function again and again.'
Me: (No... Just no. This totally undos whatever little I could do to avoid supporting your idiotic object in the first place.)
Oh... okay, we'll see. I'll let you know.
What life.
Life in a company full of ignorant, inflated egos is no joke.
Details:
I created a service that reads a configuration file and returns the configuration. This person needs five entries for his app logic. He collected them in a object. Quite alright. Except that the class prototype is shitty. I, like a normal person, made my service return a value based on input. I was asked to incorporate this awful object so that I can return the five entries together, which is awful because the service is not supposed to know about how the entries are clubbed. It should most certainly not know about the data members of the object!4 -
A couple of weeks ago I had an internship. I worked there with a classmate. We had a simple assignment, but since we're noobs when it comes to web applications (and because you don't learn that in school), we even had a hard time preparing.
Finally, I... I mean "we" decided to use React because it's close to the way we learned to solve problems in school. I asked him to implement a page with a date picker/calendar. I even searched for a repo that. 2 Days later he was still not able to implement it, he experimented with the code, but he
1. didn't even read the readme, just copied the tutorial expecting it to work
2. Didn't even look at the logic behind it.
3. Demanded to use this other repo with less functionality
10-30 minutes should have been more than enough. Instead, I wasted time telling him to read and code properly. He refused the second (and probably also the first), because "Why should I care? We'll be here for 3 weeks and then we're done with this"
Guess whom I'll avoid in any possible group project3 -
(Dev)Life in the past 12 hours
Oh boy have the last 12 hours been a roller coaster ride for me. Noob me decided to "compile" AoSP for my device to get a taste of how custom ROMs are built from source. Overall it was fun but the errors were a very good excercise for googling, SO. Couple stuff I learnt ( possibly useful for anyone who comes here )
* The shebang line ( #!/usr/bin/env python ) on my system translated to Python 3.7 environment instead of the expected Python 2.7. Best solution I think to avoid confusion is to create a python 2.7 environment and source it.
* Get your trees right. A jar file called WfdCommon.jar ( apparently known as wifi-display common ) was the cause of several hours of hunting the fault. My vendor tree somehow didn't have this file so dex2oat was borking out like mad. I'm still amazed how I figured this one out almost by myself. ( Basically I had to check every file included in the boot class path, and find the odd one )
* I wasted a lot of time in finding the right files to change version numbers and all. Maybe I didn't search XDA properly for a guide ?
Overall it was a fun experience. Also if anyone's experienced in this area could you share resources to learn more about custom ROM development? Specifically on the tweaking part where you mix features from different ROMs to make a great ROM ( like AoSP extended or Pixel Experience ). All I could find were on the zips and not on sources.7 -
Today I had a problem with a JS framework. The only person who was available who could help me was the one I avoid, because he always knows everything better.
Well, after I asked if he had time for me, he sits next to me and I started to explain.
After looking around, he started blaming my backend code.
(I belong to the kind of dev that tries to write small and simple code. But I also often use the more complex features of the languages.) He suddenly started accusing everyday things in the backend like inheriting a class or using objects and basic data types together as parameters of a method (WTF???) Hell, all I could say at that moment was that I had a problem with this JS framework and not with the backend that worked well. He probably tried for over an hour to find the bug in the backend and just wouldn't listen, after that he gave up. I wonder what this bitch has learned over the years. Can it really be that he forgot the basics of a programming language? Or has the fool never worked with an inheritance before? I think he's an incapable piece of shit, he hasn't even patched my reported vulnerability in his project in the last half year, which allows to inject own code onto the server.
Because of such fucking morons I get a headache when I think about it. How can it be that he's got a higher degree and earns about 50% more. I should leave this company!3 -
My build has been lagging behind due to the 8 year old mobo, so I grabbed one with a newer chipset that was a bit discounted and oh jeez the swag that comes with it.
Who is the target audience here? 12 year olds who build their own pcs? This literally makes me - albeit marginally - less likely to buy Asus things in the future. Even teenage me wouldn't want to be caught dead flashing this stuff.
And yes, the mobo itself is rgb. I've literally stopped trying to avoid it since it would put an unreasonable limit on your options with how common it is.7 -
Is it weird that I avoid forced socializing in my office? On mondays in the mornings we have a breakfast where essentially people gather (its a small gathering with 3 founders 1 cto and 3 employees), they have some pastries and juice.
And then they are talking about some bullshit for one hour.
For me personally monday mornings are for coffee and contemplation. I dont want to listen how boring their weekend was and try to impress them with my boring weekend. All that interaction feels so fake shallow and politically correct.
Dont get me wrong I care about my colleagues and what goes on in their life, but this forced monday morning and forced friday afternoon 1 hour gatherings are sooo draining and useless for me. I feel that only couple people are actually open during them and others are never sharing about their life, so esentially that gathering becomes an interrogation of 2-3ppl and topic revolves about them.
Gosh its draining. Gonna “be late” tomorrow again bcs I dont care. I would rather come in and go straight to work.
Having a beer after working means 100 times for me than that shallow and pretentious forced socializing that these guys are pushing so hard. Almost feels like micromanagement on personal level.5 -
Data Disinformation: the Next Big Problem
Automatic code generation LLMs like ChatGPT are capable of producing SQL snippets. Regardless of quality, those are capable of retrieving data (from prepared datasets) based on user prompts.
That data may, however, be garbage. This will lead to garbage decisions by lowly literate stakeholders.
Like with network neutrality and pii/psi ownership, we must act now to avoid yet another calamity.
Imagine a scenario where a middle-manager level illiterate barks some prompts to the corporate AI and it writes and runs an SQL query in company databases.
The AI outputs some interactive charts that show that the average worker spends 92.4 minutes on lunch daily.
The middle manager gets furious and enacts an Orwellian policy of facial recognition punch clock in the office.
Two months and millions of dollars in contractors later, and the middle manager checks the same prompt again... and the average lunch time is now 107.2 minutes!
Finally the middle manager gets a literate person to check the data... and the piece of shit SQL behind the number is sourcing from the "off-site scheduled meetings" database.
Why? because the dataset that does have the data for lunch breaks is labeled "labour board compliance 3", and the LLM thought that the metadata for the wrong dataset better matched the user's prompt.
This, given the very real world scenario of mislabeled data and LLMs' inability to understand what they are saying or accessing, and the average manager's complete data illiteracy, we might have to wrangle some actions to prepare for this type of tomfoolery.
I don't think that access restriction will save our souls here, decision-flumberers usually have the authority to overrule RACI/ACL restrictions anyway.
Making "data analysis" an AI-GMO-Free zone is laughable, that is simply not how the tech market works. Auto tools are coming to make our jobs harder and less productive, tech people!
I thought about detecting new automation-enhanced data access and visualization, and enacting awareness policies. But it would be of poor help, after a shithead middle manager gets hooked on a surreal indicator value it is nigh impossible to yank them out of it.
Gotta get this snowball rolling, we must have some idea of future AI housetraining best practices if we are to avoid a complete social-media style meltdown of data-driven processes.
Someone cares to pitch in?14 -
Recent conversation with a client for our SaaS product.
Client: So why can't we delete this information.
Me: We want to able to know who made a change to the data to avoid getting into trouble with the law.
Client: Does that mean you can see all the data on our account?
Me: (I know where she is going but let me stall)..You are the only one with access to your account. If I don't know your password, I can't access your data.
Client: But you sound like you can see the information in the cloud.
Me: (Laughs softly and segued).. The additional features you requested would be.......
Someone needs to read the T&C... -
It sucks to have memories assigned to specific sounds.
There are old songs that I love to listen to, but I keep thinking of heartbroken moments, the death of my grandma, my beautiful non-depressive childhood moments etc.
One method to avoid that is to listen to these songs again, but with "great" memories. That way it gets overwritten.
I may sound like a cry baby, but I had to let this one out of my soul to relieve myself in a strange way.3 -
Something I have learnt in the past month:
Never settle for a low salary no matter how good a company sounds (unless it's a really prestige company) if they don't realise your worth and don't care about their employees. Salary is important. You are important. And customers are important. Any company that just values money, income, profit and growth over their customer and employee experience is a huge red flag. If your work life is so stressful that it doesn't let you have a good work/life balance then avoid it. What comes above being a developer is being healthy and I think alot of people don't realise this. It may sound good to work as an engineer for a big platform but if they only value themselves you are just a cheap slave, move on and do something respectable and enjoyable.
Just my life lesson in applying for grad jobs.4 -
YOU DENSE MOTHERFUCKER!
If anyone read my last rant, I talked about how I wanted to buy a new phone with a subscription line, but they didn't allow me because "the system says you already have one and you're over due with the payments"
FUCKING MORONS, I don't know who coded the system but I will find you and bury your head in your own shit!
They use people's RFC (Mexican Tax ID number) to create an "account" and allow buying a phone. The ID it's composed by:
NNNNYYMMDDXXX
Where N are letters from our name, then they use our birthdate's year, month and day, finally they generate three unique characters to avoid ID clashes.
Well, this stupid fucker who coded the system thought it was OKAY TO STORE ALL BUT THE CHARACTERS THAT MAKE THE ID UNIQUE.
Fucking fucker...what were you thinking?2 -
Quick question, how do you guys find the energy/motivation to create side projects?
Currently, I'm working around 8 hours a day and afterwards I can't really think about getting on the PC as I know that I will burn out eventually and end up messing up the following work day.
Do you take a shorter work day? Do you work on non IT related side-projects? Maybe someone wants to discuss on how to avoid burn-outs and still have fun while working and doing side-projects? :) All ideas are welcome for this topic!11 -
I had once an sql error that took me two days to resolve it.
The error message was a syntax error but I was using an ORM to write my queries (doctrine with php) .I didn't have too much to debug as the code was pretty simple and clear so I got to the point that I convinced myself that this a bug and I'm gonna try to mess around it to avoid it.
Second day late night, something popped up in my mind '' hey what about those reserved words? Could it be the reason? '' aaaaand BINGO the key '' option '' is a fucking reserved word for mysql.
Tip : always check that list before writing your data models (specially if you're a noob like me)1 -
So I had to update my OS to Ubuntu 22.04 to support some newer software. I had been running 18.04. One of the things I notice is Ubuntu restricting security updates to Ubuntu Pro users. WTF is this shit? I look into it a bit more:
https://flu0r1ne.net/logs/...
and a long discussion with people for and against:
https://lobste.rs/s/h2dszz/...
Okay, great, Ubuntu is employing some hostage style manipulation to get people to pay for using the OS. Probably an exaggeration, but feels very slimy. But that part is NOT what bothers me about this.
What bothers me the most about this is Ubuntu will now have a list of computers that have or do not have specific security patches. This is valuable information if someone wants to sell this to a third party. Maybe Ubuntu would not do that, but they can always get bought by someone who would do that. This feels dirty like something Microsoft or Google would do.
I probably don't know the complete story. But the misunderstanding still leads me to want to avoid Canonical.12 -
This is the most wtf thing that happened me with Javascript, I had a regular expression and it caused bugs only with 4 digits long words, then I just noticed this:
/^.{3}$/.test(null) // false
/^.{4}$/.test(null) // true
What the fuck, I can't believe that who designed the .test method didn't think to avoid null coercion2 -
New phone after 5+ years and it's fucking awesome.
Successfully avoid American and Chinese stuff by going with a Korean brand.
And I fucking love Android. The kind of feature advancement that has happened in past so many years is outstanding.
The amount of customisation options available for the users are beyond one can utilise to fullest.
And my favourite feature is dynamic lock screen pictures every-single-time I unlock. I fucking love it. Makes me cheer up with joy. Very similar to Bing Wallpapers for Windows, but more dynamic.
Lately, I have been hearing from Apple users, that iPhone lacking a ton of basic features, apps not supporting functionalities, and we all know the overall advancement in Apple ecosystem.
While this post was more about sharing my experience with my new phonw than iPhone comparison but let's face it, the reason Apple went bonkers with the first iPhone launch was the app capabilities which led to a larger developer community building apps for iPhone while Android wasn't even born yet.
This is where Google is trying to capture the market now. More devs > more apps > more users > more devs and repeat.24 -
When my mom died in 2014, I was shocked to find that her profile on Facebook was suddenly changed to “memorial” mode and therefore I was no longer able to log into it. (If you’re tempted to tell me I’m dumb for using it, I don’t disagree, but save it for another thread...she and I kept in touch over FB because it was easier for her to manage.)
I think it was triggered by their monitoring of things and seeing keywords like “funeral” and “passed away” associated with her account, then having a person on their end change its status. Or something like that.
What I hadn’t known about (or I would have used it) was the legacy contact setting where she could have set me as the contact so I’d have at least a little access and control. But because of their strict policies, I’m forever locked out.
I get why they need to do this (to avoid fraud and impersonations) but the fact that there are zero documents or proofs I, as the executor of her estate, can provide that Facebook will accept to make an exception seems unnecessarily severe.
Anyone else experience this? Known workarounds?9 -
Observation rather than a rant.
Some of the best, most experienced devs I've ever had the pleasure of meeting and working with have invariably all been the most humble and least opinionated. Mention (x language that might commonly draw disdain) and you don't hear boos and hisses and jokes being thrown around, you hear considered, succinct observations about how, if they were to work with this language, there'd be various coding styles and rules that they'd suggest working to in order to avoid some common pitfalls and frustrations.
Mention a language or framework that they know little about, or heck, they know quite a *lot* about but in which they wouldn't consider themselves an expert, and they're the first to suggest drafting in help. They're more than happy to listen to bring themselves up to speed, even if that "outside help" comes from someone considerably younger and less experienced than them.
This has particularly come to mind as of late as I've found myself working with both ends of the spectrum, but it's been my experience for many years now. Have many others had the same experience?2 -
These are the absolute WORST cookies I have ever eaten. If you are Israeli or will come to Israel one time, avoid at all costs.
Please.22 -
So the company I work for is moving to a new building. The project managers, who we do everything we do to avoid, are going to be on the same floor as us. The contractors, who we pay a crap ton of money to fly them in from halfway across the globe so we can work closely with them, are going to be 6 floors away.
...who approved this bullshit? -
This is definitely a total first world problem but I am so frustrated.
I am stuck in a team that embodies the Japanese proverb "The nail that sticks out gets hammered down".
The management are there because it is convenient and flexible and have no interest in managing or keeping up with tech.
The lead developers are extremely anti-social and are not approachable and the this stems down to the devs (not all but really most) - all there just to do the bare minimum and spend most of their energies in trying to avoid work or having learn something.
Unfortunately I am passionate about what I do and want to build high-quality products and this has put me at odds with the way things work.
I could fill up alot of time talking about how I was ordered to "cut" images/icons out of PDFs rather just getting them from the branding team, or how I was scolded for having set up logging, detected a problem caused by another developer and fixed it before it cost a big client a massive amount of money... But really the point is that I have never worked somewhere with such an awful attitude to enthusiasm and quite frankly it boggles my mind trying to understand how they rationalise these things but the answer is always laziness.
Obviously there are worse problems in the world than working in a job where you are encouraged to do nothing... But it actually really depresses me and causes anxiety that I am working with people who don't care about testing or monitoring or learning new things or even collaboration.
...sigh...
Hopefully the job market will start opening again soon4 -
I was taught that an IDS is a passive protection method, and an IPS is active. My security+ boot camp is trying to tell me IDS is active. Thoughts?
And yes, I'm still studying for this, I've been avoiding it because I'm salty I failed by one. But now it's a requirement, so I have no more time to avoid. :(4 -
Agency hires me to convert a 4 column + sidebar + pattern backgrounds email to responsive, for a big client, I make a redesign, simplifying it (less columns, flat...) to avoid issues, client insists, exactly the same design is needed.
I tell him its almost impossible but I will try, and try, and try, many times, but on their old Outlook, some email parts are not aligned (just that), try, and try, many hours, many days beyond budget... all the times since first explaining that perfection is not possible with all possible email clients, and like 7% is using outlook... At that point, and before, email was so well.
Finally I put an end to this, tell them to pay and leave me alone, as they didn't take my advises and warnings serious, not my fault.
This story is nothing until the discovery I made today: the agency had signed a contract with the client, a bank, in that contract there was the obligation to replicate exactly the same design and should be perfect in all email clients...3 -
I've lost hope in my precision at this point:
We've updated our website to have X feature. The X feature was implemented, tested and even had unit tests... The worst part when I've lost hope? Both unit and the actual code had the same mistake in them. What was the mistake? Well...
if($variable = 'something') {}
Yeah... Read it carefully... We've always had the same case and only noticed it after 3 months when it was attempted to extend.
Funny enough, few users were harmed but no actual reports of an issue came to us.
Since then, I'm always triple checking that I have the correct amount of `=` to avoid further fuck-ups8 -
I have recently come into some spare time and I decided to build a game.
This is my first time building a game, mostly just worked on IoT and data processing, and I need tips on how to avoid becoming addicted to working on this hobby.6 -
Such beautiful. Much wow.
I am sick of this shit.
Yet another tour bus company fails to serve a website for tourists to reserve a seat ffs.
Tried the mobile version first. The UI looked awesome, but I could not reserve a seat. I could only see free and already reserved seats.
"Fuck you" I tought. Let us try it by changing user agent to desktop.
Now the UI sucks camel pussy, but the functionality works. Well... not so well. I want to sit at the most right corner to avoid people who keep going to WC or have other ADS syndroms thus interrupting my fucking sleep once every 30 minutes.1 -
This week at work I spent 20 hours debugging automated tests to avoid manual testing that would've taken a few hours.5
-
Best way to avoid procrastination : We tend to avoid commitments or to do large tasks as even visualizing them seems tiring and the longer it takes, the vulnerable we are to distractions
So I use this simple trick
I break my task into numerous sub tasks. For example if I need to finish a feature before day end, I would first list down all the cases I can think of in order and write them down using actual pen and paper.
I then start implementing them step by step.
I mark them checked once done.
It gives me a sense of achievement as I see those checks besides the sub tasks and I can also take breaks between steps.
So all it takes is just first five minutes of planning.
I had to do the above procedure, for this post as well.
Hope it helps fellow developers
:) -
Boss needs certain stats pulled from database once a year for board meeting. This time I delegate it to a junior dba/sysadmin. He looks at my 3-year-old docs that I hastily jotted down and pasted and included my rambling notes with results from way back then. Mostly they were just to jog my own memory, not to be a really neat, clean instruction guide. He does the queries correctly, but in ticket for boss he pastes also all my notes from the docs. boss gets confused, "what is this other number, I don't get it?!" We have to have a meeting of the 3 of us and waste an hour or so just to figure out what went wrong, finally I realize what junior guy accidentally did. Moral of story: to avoid baffling the nontechs, always simplify, simplify, simplify. Alternate moral of story: before delegating a task that seems old hat to you, always review your notes/docs and make sure they're ready for someone else to use them.1
-
tldr: I am a human with dreams and doubt.
At the Univeristy you end your course of study with a thesis, and there are two kind of thesis: compilative and progettual.
Compilative means that you study something and then make a report about it. Usually I see that this kind of thesis is done by people who just want to end the course.
Progettual means that you actually develop something, maybe driven by a professor, doing something new, or try something in a different way to see if it works... This is for the good guys.
but mine does not fit any of those.
I studyed a lot about some topics, I learned to use the existing tools, I learned to decide which tool is better and when. I learned the open problems in the field. And my thesis is an analysis for a solution for some of them. I did not develop a project, but I didn't just study something. And I am giving the base for a much bigger project.
And I did everything on my own, the prof who is supposed to drive my work let me go on, and I never really asked for his help.
Obviously everything is a mess, the thesis describes broadly a large range of things, who are outside my course, and I am just copying from here and there (avoiding wikipedia because I would be ashamed of that) (I mean, I avoid wikipedia and jump directly to the source).
I actually made a little project from the conclusion of my analysis, but it is more of a mistake than other.
And maybe I am writing this to grow my pride, and avoid depression. To tell me I am not a total failure. Or maybe am I really good as I dream to be? (because that is how pride works, doesn't it?)
I intented a new kind of thesis! Ah!
I will see the prof on wednesday and the deadline is on saturday! I will let you know!
and oh!I am writing it in english so you can read it!
Just kidding, I don't give a fuck about anything anymore, I just want to end this mess, and in english is easier to copy.
I learned from this big mistake of a thesis, next time I will make sure that the prof drives me, because I am 20 and cannot do an analysis such complex on my own.
becauuuuseeee yes! There will be a next time! I am graduating in december, but I am following the master courses since september! In january the first exams! I am practically already thinking about the next thesis. Suggestion on other mistake to avoid?
Did you know James Joyce and the stream of consciuosness? Well, here it is.
I may have spelled something wrong, I hope everything is undestandable.
wow, 2500 characters of rant, I am improving writing the thesis in english!
mngr, out.1 -
All I wanted to do was to create a quick cordova/phonegap app that uses external plugins - so I can't just preview it.
I ended up spending countless hours debugging why shit doesn't work through --log --verbose --debug, trying to avoid to install the monstrosity that is android studio and finally broke and installed it, fuck this shit.
---
Another post had to go for this. "I feel that's a lie [attached picture]".1 -
Why I try to ALWAYS use semicolons in JS:
In short, weird shit happens sometimes
An example:
So I'm doing a small project for freeCodeCamp, working with the Twitch API. I decided to make an array on the fly to append a few elements to a documentFrag in order after setting all my props. Forgot a semicolon. Apparently, Babel transpiles this:
info.innerHTML = (``)
[span, caret, info].forEach(elm => frag.appendChild(elm));
to this if you omit the semicolon:
info.innerHTML = ' '[(span, caret, info)]
this is why you should avoid relying on ASI, you're going to have to remember them in other languages out there, so for your own sanity, might as well get used to them. Just thought I'd share--who knows, might help a JS newb out there somewhere.5 -
My JS app can crash IE11. Totally reproducable.
Had a fun debugging session to find out how this is triggered. Happens inside a deeply recursive call in a library I'm using which redraws the DOM.
Found a hacky workaround to avoid that as I see no real solution. It's not like I'm responsible for fixing IE. These are the days where I'm happy I'm mainly a backend dev...4 -
I was teaching a friend of mine how CSS works for her exam and we reach the point where she had to style the tables and she reads:
To avoid having spacing between table cells you can use:
border-collapse: collapse
[...]
border-collapse can also have value "separate"
She fucking freaked out like "WHAT THE FUCK IS EVEN THE SENSE OF IT? SHOULD I HAVE BORDER SEPARATE: SEPARATE? WHY THE FUCK SHOULD I WRITE THAT TWICE? HOW THE FUCK DOES THIS EVEN WORK OUT?"
I just loved how she doesn't know how to make a website but she already hates CSS before even using it on an actual browser2 -
I avoid websites that advertise with 256bit encryption and military grade stuff. This makes them kind of sketchy when they advertise this encryption that hopefully every normal website has today.1
-
how do you devs deal with computer/screen headaches?
I’m a CS student, and last year at my software internship i had a pounding headache literally every day at work (worked 40 hours a week). I started drinking like 6 bottles of water a day and popping advil like candy, but i want to avoid them this summer.
any of you l33t vet devs have any secret tricks for these?
thx thx10 -
Toxic relationships are the worst thing that can happen to anyone. While some of them you can get out of or avoid. You can't do much about the ones you're born into.
Such people have their egos up their butt. They just don't realise that they're just a tiny dust particle in the entirety of cosmos. They not only make things difficult for others by their presence, but often go out of their way to do that.
Fuck this! -
I just created an Oracle account just to comment on a mysql bug report in order to inform people to use mariadb as a fix ¯\_(ツ)_/¯
^w should delete back a word, not to the beginning of the line! This is broken because instead of readline, Oracle's mysql-client uses editline.
Yet why the fuck do you compile mysql-client with editLine wrapper that breaks the common keybindings?
Licenses is why. Oracle wants to avoid using GNU GPL, and readline uses just that, so they use editline since it has BSD. And they just don't seem to give a damn if it breaks usability.1 -
I've worked with few incompetent people till now, but one guy who stands out is my peer who is a "Lead Developer".
First of all he knows nothing!! Even Jon Snow knows something, but this guy knows absolutely nothing. And on top of that he has a hard ass attitude. Never sticks to coding standards, pushes unwanted configuration files to Git, uses too many nested loops even when not even a single one is required.
And when I suggest him something, he starts giving these lame ass reasons and tries to avoid my comments. Then I say, "good luck with that buddy" and move on!!1 -
Apps having their own image picker is annoying.
I hate when apps don't have option to upload image by picking the system picker but instead show their own picker which sucks, you can only pick recent ones otherwise you need to scroll down, there is no search option or any filter at all, just allowing system picker is better, it allows all kinds of searching and Google photos picker also allows searching by dates, faces etc. No point reinventing that, I hope it becomes mandatory to only use system filepicker like it's in web browsers, this can also avoid giving access to entire filesystem when you only need to upload one image.1 -
I was recently hired as a fullstack developer internally in another team
While interviewing the manager specifically mentioned angular in the skill sets but *surprised* the codebase is in angular js
The previous ui guy didn't bother to upgrade to further versions and basically managed by adding band-aid fixes and patches to new requirements
Now the manager wants me to revamp the ui asap because it looks like something from early 2010s , i explain to him that I know angular ( previous projects was in angular 12 ) and this is in angular js which is totally different
To revamp it would basically mean rewrite
Manager thinks I'm cooking up excuses to avoid work or stretch my estimates ...6 -
In Rx, what is the point of returning Single for all of our networking request responses, if every call to that method, first of all converts it to an Observable so that it can use flatMap, filters, combineLatest etc.
I get that Observable's have more overhead, Single can only return once, thats all clear. But is it not MORE overhead to create a Single, return it, convert it and now have the Observable we were trying to avoid in the first place.
I don't know if its just Rx I don't like, or how the team here is using it. But it is pissing me off, to no end, how massively overly complicated this is. It really feels to me like this is following a textbook approach while ignoring all the practical details.
<rant>
Next person to say "because its the Rx way", is getting a monitor thrown at their head.
</rant>6 -
My mouses right button kept double clicking. This makes it really hard to play minecraft. It was a cheap logitech mouse from a wireless keyboard/mouse combo. So I went to the store to find a new one. Almost all the wireless mice were gone. Apparently WFH people hit walmart. I didn't want another single wireless mouse. This would mean I need the adapter for the keyboard (for keyboard mouse combo) and the new mouse plugged in. My computer is a laptop so there are not a lot of those slots. So I looked for a bluetooth mouse. Only one there and it was a sucky Razer. I have not liked Razer since they required people to register their software with an account before using their drivers. This really made me avoid this brand like the plague. So I finally settled on a wired gaming mouse. It has a nice long 6ft cord so it works with my setup. It is a G502 Hero. It works really nicely without drivers. I will be testing with drivers tonight. I usually buy el cheapo mice so this is new to me. So far so good.16
-
OMG... this client is killing me...
So they are writing a Java / SpringBoot app for whatever. For some reason they decided to write it in the overcomplicated way, i.e. using a custom Spring's BeanPostProcessor that changes the eventual type of some beans, causing some weird ass issues, causing the app to fail to boot up if built on some systems and start up just fine if built on others (https://stackoverflow.com/questions...).
I've advised the client (devs) to simplify the architecture and avoid using type-mutating BPPs (bcz.. you know.. noone does that..).
Instead, the client created a task for me to "remove the build logic creating JAR packages" and another "Create a shell script manually assembling the CLASSPATH list and launching the application"
omg... what the hell is going on? Am I on camera? This can't be real... in 202-fucking-4 in a greenfield project!!!
wtf...1 -
[this post is not a joke, it's about health, ladies might want to avoid reading it as it about defecating]
i did mindfulness during shitting and i think more people shud try this.
instead of just pooping without giving any attention to it or using phone while pooping, you can use your phone for guided meditation with apps like Trip, Calm, ...
While shitting I noticed small things like the water tap, I slowly rotated it; first the water came in drops(listen to it), then in a small stream, then a turbulent flow.
If your attention drifts away, gently observe that its a thought and let it pass.
focus on what is happening right now. Feel how your anus vibrates to fart, giving a tingling sensation.
focus on how the turd comes out of the anus, the way it expands your sphincter muscles and finally drops in the crapper.
Practice gratitude. I realised how lucky I'm to shit comfortably in solidarity, many people in the world don't even have such privilege.
I feel good that I've flush mechanism in my toilet and 24x7 water supply. The shitting time can be utilised in a very positive way like this.
Look at your shit and wonder this used to be food, and be grateful to your digestive system.19 -
Boss: We need a discount coupons system right now
Me: We have lot of security concerns, if we implement that as the things are right now, that will be exploited by hackers to get infinite discounts
Boss: Dont worry, i will monitor everything personally for avoid problems
Me: :facepalm:
PD: I entered this software agency 4 months ago by necessity and everything was a mess, they pay 250 bucks to all their devs.
They have what they deserve, a shitty software that can be exploited everywhere
Pls give me another Job xD
PD2: I can sell you lot of exploits for this shitty platform they built JAJAJAJAJAJAJA okno2 -
It drives me Insane that AWS still doesn't support Swift 3 for iOS. We're almost to the point where Apple is going to drop Swift 2 support in XCode and Amazon STILL has not gotten it.
I've started deploying Gateway APIs in Objective-C and linking them to the bridging header just so we can finally move foreword in our company and quit relying on legacy Swift support. Which is something I was really trying to avoid because we don't like mixing languages unless absolutely necessary. It's not a problem, but it's incredibly annoying to me. What IS a problem is having to start new projects already using legacy code from the very beginning.
What is amazon going to do when the next release of XCode comes out? Tell all new customers to downgrade?
Why even offer native Swift APIs if you're going to go this long and still not migrate, Amazon?! -
Trying to re-type a massive essay I lost because the app refreshed for some reason. I'll try to keep it short (spoiler: I lied).
Recently, I had a conversation with a couple of non-tech people about AI and the fear of computers making humans obsolete. I have some strong (borderline ranty) opinions about this, and thought I'd post here to see what reaction is get.
This is not a "machines will destroy us" post, it's more about the very legitimate great of losing jobs.
- AI is a tool. It's main use would to be help optimise the more complex routine tasks and free up people's time to be more creative in their jobs. Basically, it's the next step of automation.
- Human intuition can never be replaced. Sometimes, things just seem a bit off. Sure, an AI would avoid ever getting in that situation, but only if it had learnt it in the past. A human will always have to be at the helm of any such system.
- Achieving true intelligence and sentience is like trying to travel at the speed of light. The closer you get, the more challenges you face.
- Getting hyped by sensationalist news that claims the end is nigh because two computers optimised the language they used to communicate when trying to reach a goal is stupid. All this shows is that the tech is working as expected and the systems can optimise on the fly. To me, this was a pretty awesome moment.
Now, I'm not saying dystopia is impossible, neither am I saying that it is inevitable. Just like any tool presented to us, if we use it responsibly, we can make life and society a lot better.5 -
I had contact with the BenQ support recently.
On my small GV1 beamer, the auto switch off timer cannot be canceled by pressing a button. So I wrote them, that this is maybe a bug.
That was the answer:
"Thank you very much for your inquiry.
Insects entering the monitor through vents are a common problem that is not covered by the manufacturer's warranty as it is not a manufacturing problem.
This problem is known to all monitor manufacturers.
The cause of the problem is usually that the monitor is used in a dark environment without a secondary light source being activated.
If the insect is still alive, you can lure it out with a light source (the monitor should be turned off and cooled down).
If the insect is dead in the monitor panel, wait until it is completely dry. Then you can carefully press on the screen, next to the insects (avoid crushing them) and it should fall into the panel and leave the visible area.
Nevertheless, please send us a picture where we see the problem you are telling us, I inform you that the picture must be less than 2 MB in size."5 -
So a junior at Twitter created a linter that detects harmful language, then twitter decides to migrate all of their code and documentation to avoid “dangerous language”. The twitter handle of said junior - “negroprogrammer”. The only words twitter should start including in their business is cognitive dissonance.
Ok this should be interesting but this is devRant after all and I couldn’t just not mention this. Cancel me.6 -
What Google services are you still using? Earlier this year I made a conscious decision to avoid Google services if I can. I successfully got off gmail and gcal. Because I have yet to find viable alternatives, I am still using:
YouTube
Voice
Gboard
Android
Maps
Music
Home
Fonts (on occasion)27 -
I'm typically very humble about my work. There's a certain project that I enjoy a lot. It is challenging to me, which is something important to me. I learn a lot.
Colleagues do not enjoy the project in the way that I do. In fact, most of them don't like it or try to avoid when they can. When they can't, they often consult with me about the project. I have a genuine curiosity and interest in it.
However, there is one aspect of it that I don't like at all, but I deal with it. It comes with the territory, I guess. What IS discouraging and turns me away from it though, is when colleagues "get the better end of the deal" when it comes to making special arrangements for this project. Sure, make me dedicated to it for a period of time so that I stay focused on the topic, but yet, kind of do the same for another team member but reward the other person with not having to also deal with the particular task I don't enjoy. Give them the pieces I enjoy and stick me on the pieces I don't.
I know this is a very general post and it probably makes no sense, but I needed to let off some steam and still keep it somewhat anonymous. I work hard for this project and I often don't take credit when it's given to me / when I should be taking it. It's just discouraging how things are arranged sometimes.2 -
(body.get_parent().get_children())[0].play("open")
I really gotta learn how godot works to avoid doing crap like this3 -
I was asked to make proof of concept small frontend app with some simplified requirements, they asked me because it should be written in the stack I done most of my career work with. I do it in 3 days instead of 5, using those 2 days to optimise the app and explore different approaches. I noted down my findings, what to avoid and reasons and also what is good to use and reasons and shared with everyone.
We waited for the project to start, I started working on another project in the meantime and there was a big rush to make project go live etc., so I was consumed 100% on that new project.
So they put in charge backend php developer to do frontend js work. I said ok, do you need help in starting out? Nah, my proof of concept repo is enough.
4 days before that small project goes live they asked me to do code review. All things I noted down to avoid are in the codebase, few bad practices but everything is over-engineered (in a very bad way), some parts should be more flexible as current setup is very rigid, having almost all kinds of CSS, I saw SASS, CSS variables, 2 different CSS-in-JS tools with some additional libraries that is used to toggle classes.
I don't know how to approach this as I am not asshole as a person and I don't want to say to my colleague that his codebase is completely trash, but it is.
The worst parts: They called me to help finish the app and budget is almost spent!
I would rewrite the whole app as the state of the current app is unusable and everything is glued with bad Chinese ducktape that barely holds.
Additional points because it won't bundle as everything is f**ked.
I am seriously thinking of duplicating master branch and refactor the whole fricking app but won't do that as I am burning midnight oil on other two projects. Don't worry overtimes are paid.
I hate those shitty situations, this project was supposed to be tiny, sweet and example of decent project in this company but it is instead big fat franken-app that will be example how smart it is to avoid putting backend dev to do frontend work (I also agree for vice versa)! -
When you want to ++ a rant or follow a dev but the page refreshes and the post you saw pisses off into the nether-sphere. I can’t avoid this on any social media. What is wrong with me.7
-
can we just get rid of floating points? or at least make it quite clear that they are almost certainly not to be used.
yes, they have some interesting properties that make them good for special tasks like raytracing and very special forms of math. but for most stuff, storing as much smaller increments and dividing at the end (ie. don't store money as 23.45. store as 2,345. the math is the same. implement display logic when showing it.) works for almost all tasks.
floating point math is broken! and most people who really, truely actually need it can explain why, which bits do what, and how to avoid rounding errors or why they are not significant to their task.
or better yet can we design a standard complex number system to handle repeating divisions and then it won't be an issue?
footnote: (I may not be perfectly accurate here. please correct if you know more)
much like 1/3 (0.3333333...) in base 10 repeats forever, that happens with 0.1 in base 2 because of how floats store things.
this, among other reasons, is why 0.1+0.2 returns 0.300000046 -
Dear developer guy who wrote this documentation node!
You're a developer yourself. Don't you know that inverse psychology is something you should avoid, because it will not work?
Thanks!
---
Okay for real, why shouldn't one parse Build.FINGERPRINT on Android? I was looking for a way to determine if the device is an emulator or not, and came across a solution using this, and read the documentation.3 -
I think up dumb shit too. I should be a CEO...
https://msn.com/en-us/news/...
Logitech is my favorite mouse vendor. This is a stain on their reputation. This and the AI shit they are marketing. Why the fuck do companies ruin their products? I actively avoid subscriptions and companies that offer them.12 -
Co-worker put up a pull-request for his work, with no build file, no readme, no gitignore, and shell scripts for running the app (but not compiling it). O_o
The guy has been using atom editor even though we have license for Intellij for everyone, which .. whatever .. if it works for you...
In our daily stand, people offered to help him add the build files and he was like, "No, I know how to do it, I was just trying to avoid using Gradle until I had to."
It just made me think, "Yea I know you have all these nice screw drivers and hammers, but I'm going to keep using my hands and this stick so I can avoid using tools until I have to." -
Doing GUI agile testing with the QA before passing my code to test server. I do this 'cause the QA marked in the past a lot of bugs that aren't bugs because he didn't liked the wording (in spanish there's A LOT of ways to say the same thing), the color of a button or an icon, and this delayed the release of the code a lot of times. So, this way I can change things to avoid unnecessary bugs... if the QA is not so busy XD
-
What are people's thoughts on identifiable posts? I try to keep everything I say on here discrete so that I can't be identified, but this is the only place I have an anonymous presence. It's a useful outlet for frustration, but I also think it's a shame I feel I have to avoid the possibility of being identified. Elsewhere I use my email handle, so it's... Not exactly subtle.4
-
I am amazed at human stupidity.
I always enjoyed the idea of DevOps: to use virtual machines and constant integration in order to avoid errors and free the developers of hard-to-setup environments and somehow-it-works compilations.
I am amazed how [company I used to work for] managed to turn this into a nightmare.
Just imagine: silent forests, the smell of flowers, no developer trust to the point your devs can’t either make docker environments cause reasons nor they can access your actual machines programmatically because they are filthy peasants, forcing them to do everything manually: every deployment will be a frustrating editing process which takes up to an hour, but here lies the trick... it will still have continuous integration... or better: every feature will be deployed as if it was a release.
The true peak of illumination:
Turning a tool into a disease.
Take a sip of tea, manager... you deserve it.
Just thought about this job because I keep being tempted to just start my own company. The more I think about it, the less being employed makes sense, given my end goal.2 -
What do you think about my language choice set for the future (knowing I want to work as a software and app developer) ? Anything to add / remove ?
- C++: Fast and well-documented, so I think it's a standard even in the next decades to come
- Java: Although I think that this language will more likely die in the next decade, I'll maybe keep this language because some dinosaurs enterprises still rely on it. Ah and mainly because it's still widely used in Android apps programming. For now.
Talking about Android, does learning Kotlin worth it ?
- Python: Will mainly use it for automation and prototyping, but nothing more, as it seems not to be widely use in the software development field (or it is ?). I'll also keep it for hobbies, however.
- Rust: This language seems to be a rising star in the industry since it is very clean, classic, as fast as C / C++ while introducing more safety. However I'll wait a bit for this one since it requires more complicated and abstract knowledge I do not have yet.
- Javascript (or more particularly JSX): Hurts to say I'll keep it, even more than Java. I'd let it in the web development hell I won't step in if it was not used in webapps / cross-platform mobile applications. And since this kind of stuff looks trendy, I don't think I can avoid it. Plus, I liked working with React Native. Sorry.
- C#: Seems to be a must when working on Windows software interfaces, so guess I'll have to learn this one. Will do so gladly, it looks better than Java17 -
There was a rant earlier of someone working a 9 to 5 job now which i can't seem to find, wanted to answer in regards to wk26
They were complaining about it being a boring job with boring processes and not learning anything new..
you can't say that you haven't learned something new, i bet you haven't learned a new language or technology but there are plenty of other skills to be picked up from a company that have worked for this all their lives..
I mean, these kind of companies have either seen it all already and had tons of bad experiences they are trying to avoid, or then never experienced any of them but are still trying to avoid them.
I once worked for a Japanese company in Europe. All decisions (big or small) were taken by answering with the phrase : If it isn't broken, don't fix it. As a result they had an excel with over 64k complaints in them (1 row per complaint) and their website was running on 19 Sun servers, load balanced, using php 4.2 because the technology was just too old.
Point being, plenty of things to learn, getting new experiences, even if they are bad, at least now you know, how not to do things in a certain way, but all in all, working at different places, even bad ones, gives you perspective..
And perspective is important.
Perspective is experience.
It's the bit that glues the knowledge together.
Go out and explore, don't be afraid, everyone needs bad experiences, even if it was only so we can identify the good ones. -
I was thinking about the problems one of our clients faced with the launch of their project the other day, because things were rushed, stuff was omitted and in the end they could not meet the launch date, and I started making a list of hard lessons I learned over the years that would have helped them avoid this situation.
Feel free to add yours in the comments.
- Never deploy on Friday
- Never make infrastructure changes right before a launch
- Always have backups. Always!
- Version control is never optional
- A missed deadline is better than a failed launch
- If everything is urgent, nothing is important
- Fast and cheap, cheap and quality, quality and fast. Only one pair at a time can be achieved
- Never rush the start or the end of a project
- Stability is always better that speed
- Make technical decisions based on the needs of the project two years from now
- Code like you will be the only maintainor of the project two years from now. You probably will...
- Always test before you deploy
- You can never have too many backups (see above)
- Code without documentation is a tool without instructions
- Free or famous does not necessarily mean useful or good
- If you need multiple sentences to explain a method, you should probably refactor
- If your logic is checked beforehand, writing the code becomes way easier
- Never assume you understand a request the first time around. Always follow up and confirm
There are many more that should be on this list, but this is what came to mind now.2 -
Just happened today!
So since this morning we've been trying to get our website ready for UAT deployment Monday next week, even though we only were told of it yesterday. Since we had some critical merge conflicts to unscrew on our dev branch for promoting to UAT, we sent a warning to everyone on our hipchat group
Dev team: @all please don't commit anything to the repo for an hour or so while we get the branch good for dev and uat build
Tech lead: ok
That should be enough warning, right? Surely our tech lead, who has been piling up our scope creep trying to please our stakeholders, understands well enough not to do a single goddamn thing on our repo until we sort it out, right?
Nope.
10 minutes later our tech lead pushes several changes that not only break our builds but also remove all our configuration transformations. I just stormed out of the office to avoid sending her on a one-way ticket to slapsville and fuckyoutown. Geez goddamn louise. -
I HAVE A VERY IMPORTANT QUESTION.
i need advice.
is it better that i study during the day for college until 12pm (midnight) and then work on my own project from 12pm till 4-5am, go to sleep and wake up around 9-10am so thats 4-7h of sleep each day. the only exception would be tuesday bc i gotta wake up for college at 6am.
so i would be working on my project 6 days for about 4-5h per week.
i plan to do this for 2 months.
so: day shift - college study
night shift - my work
please help me organize my time.
now, im thinking about long term effects on this. its going to be pain. but i am in pain each day so i no longer feel pain. i will be exhausted as fuck. i am fully conscious of what is awaiting for me if i decide to do this.
here is my question. am i going to get a burnout from this? am i going to look physically different in 2 months (in a bad way)? am i going to be mentally worse? am i going to get really skinny? this would basically be a work of 19-20h for 6 days per week for 2 months. that is approximately 114-120h work week minus tuesday.
i have to be mentally equipped for this so i plan to do home workouts in night shift session in order to prevent burnouts. I'll do walks/jogs too in day shift for mental cooldowns. the most important thing for me is NOT TO GET A BURNOUT AT ALL COSTS DURING THIS PERIOD OF TIME NO EXCEPTIONS!!!
i need serious advice on how to do this right AND AVOID BURNOUTS AT ALL COST.
i MUST stay operational mentally for the next 2 months.
please list the things i should DO and NOT do so this can be achievable.13 -
The main reason I moved from Linux to macOS was that I grew up. If we count not just Linux experiments but prolonged usage, I was an avid Crunchbang fan. After it died, I moved to elementaryos.
What I want to say is, Linux can be very fun and educational when you're still in the uni. You have all the energy in the world, and you can afford to diverge from your daily routine for an hour to debug GPU drivers.
Now, the backbone of my life is keeping a very tight sleep schedule, taking meds on time, avoid infohazards, avoid scrolling on the web, all to remain in a very fragile state of balance that keeps the bipolar disorder away. I'm in the middle of all this, earning derealization (yes, I'm also autistic) every time I design a data model. All I want from my computer is to be treated like a careless, regular user, not like someone with a CS degree.
I use Sublime Merge instead of command line Git. I use Postico to explore PostgreSQL databases, not psql from my terminal. By the way, my terminal is not iTerm, Alacritty or some other such thing, my terminal is whatever came with my Mac, with whatever default settings.
Linux is crawling into a non-street-legal racecar's cockpit and strapping yourself in, ready to blast off. MacOS is your chauffeur, holding your old shaking hand as he helps you into your Maybach's backseat. They're different, and that's okay.
Can Maybach race? Well, it has a 621 HP V12, so if _you_ can race, it probably can too, but we all know it's not a racecar.
Windows? Windows is an SS officer, wearing the all too familiar Windows logo for swastika, throwing you into a gaswagen.16 -
bitter reflections from a bitter dev on hacktoberfest this year (in the past 2 hours of trying to find issues my IQ has at least halved):
- DefinitelyTyped - used to be my bread and butter to complete hacktoberfest; now, not sure if actual issue, or person just doesn't know how to use typescript (found a multiple such issues that were actually non-issues, the type they were asking for was right there, no pull request needed)
- avoid "issues" on no code / low code tools, these are toxic issues with titles like "I EXPLAIN BUG HERE", then probably not even a bug / more a feature request or clueless clown
- if your entire contributor team has the same character styled profile pic + background, i can't take you seriously; if your identity is so closely tied with what github team you are on... uh, i mean cmon what is this kindergarten? (also love the fact that an anon managed to get themselves mixed in hahahaha they ruined it perfectly!)
- most 'hacktoberfest' issue finders themselves are broken or don't load anything
- people claim issues and then never return YAWN
- the hacktoberfest discord: the projects channel is mostly people promoting their garbage repo WHICH HAS 0 OPEN ISSUES IN THE FIRST PLACE AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA and then OTHER people promoting their own portfolio on hacktoberfest???!! 😂😂😂😂 yeah bro i'm gonna help you with your own portfolio site GTFO
from what i've seen, i think i can start working approximately 5 minutes a day and be more successful than these absolute 🎪🤡🤹♂️ devs
sure, there is being a beginner, and there is being a clown salesmen trying to get people to do work for you... i mean wtf is going on
i WANT to help and contribute, but this year its really a struggle to find anything worthwhile to contribute to!
somehow the spark is gone... this might be my last Hacktoberfest... let me just return to my wisky and be in peace4 -
You can say you know a computer language to a decent level when you can in fact make useful programs with it.
For example, I can say I know JavaScript to a basic level. I know its basic core functionality by heart (which can't be said for some people I know), such as:
- it manipulates the DOM, the DOM has Element, Nodes, TextNodes (all to be found on W3C documents with its own specs)
- useful functions are:
getElementById()
getElementsByClassName()
Also knowing that these return either HTMLElementCollection or NodeCollection because you have to iterate over it differently then
- element.textContent
- == and ===
- dynamic typing
- closures
- avoid global variables
- nodes have parentNodes
- isNaN, undefined
- arr.push()
- arguments don't have explicit types defined
- etc.
Using this knowledge I built an antispam script for a particular server. It's good to know the model of a language, that it sits in your head and that you can use and understand the constructs when you want and how you want.1 -
Been thinking about if I want voice acting in my games. Potentially it would be really expensive. So I wondered if there was AI libraries for training your own voices. There are a few and some even are trying to do it realtime. Or at least fast enough for web site use.
I find this library:
https://github.com/coqui-ai/TTS
Looks interesting, but I need training data. I found that you can license a limited number of words from voice actors. The licensing doesn't seem to care if how you use the data as long as it stays inside your production (video, game, etc). There are even some free ones out there. I think it might be kinda fun to learn how to do this.
Yes, there are a bunch of AI websites, but the voices almost always seem conversational. Not voices in a game setting. Most of those are stupid subscription bullshit. I also looked at text to speech and most of those are subscription. I really really hate the SaaS business model. I avoid companies that use it as much as I can.9 -
I'll just drop this here.... 9-cartoons-help-avoid-any-actual-work
http://thecooperreview.com/9-cartoo...1 -
We heard you like security so we put antivirals in your docker containers despite the fact that we made you have antivirals on your machines running the docker containers.
And we won't allow to use root just in case you want to disable the av. And we don't care you need it for the docker 😂
This is how I was played when wanted to use docker containers to avoid dealing with OPS.
Some time passes, my team is going to have independent cloud infrastructure.
Doing corporate politics is challenging...5 -
I think that people are awesome in general each with their own story and personality.
But..but..not when they spread all the negativity around them.
I made the best decision ever when decided to avoid meaningless conversations where every phrase ends with "this semester/teacher/course sucks". Now I smoke alone and don't hang out in areas in school where most likely people are going to ask questions.
Saves so much time and energy.2 -
StackOverflow veterans: "this is an elitist meritocracy, so play by the rules to earn reputation and practice the same gatekeeping behavior that we have established for years." Then they wonder why mostly white male US academic guys keep engaging in their community.
Yes, it's "stackoverflow again".
Another one of those sites you can't really avoid as a dev, too good to ignore, to bad not to get upset about. Maybe also a mirror of antisocial patterns still prevalent in society and especially in the developer industry.11 -
Apple denies jelly scroll problem on new iPads: https://arstechnica.com/gadgets/...
This is nothing new: Steve Jobs himself told people to “just avoid holding iPhone 4 that way” in response to people being mad because iPhone 4 lost connection.
Apple is the WORST in handling user feedback, on par of Microsoft sponsoring concentration camps for immigrants (https://github.com/drop-ice). Though I still stand by my words of Apple products being engineering marvels.28 -
I love when there is a 30 page quick start guide from which there are 4 usefull ones, which can be summed up into: find this hidden subsection in our app, click it, and click next 5 times(each beeing explained in multiple pages). After this you are done.
But you aren't because that thing just doesn't show up, so you go through google, so, the official faq and finally you just arrive into a trubleshooting guide, where int the 300 possible problems yours is not mentioned.
And after spending half a day on this, in a hidden bugreport you find, that this just doesn't work.
And you sart all over again with option 2 of the installation guide, which you were trying to avoid. -
Dah, I wish I was better at painting. The easiest kind too - painting a room, not a picture. It's fine until I get to the edges. Then I mask off the area I don't want to paint, pull of the tape but no - turns out it's wonkier than a drunk student trying to walk in a straight line.
Go to touch it up, miss, get paint on the other bit I was trying to avoid. Great. Try taping it again - straighter this time - and it works, but then rips off chunks of paint when I take the tape off. Go to touch those bits up, then in my haste splatter it on the floor.
Seriously, how anyone can be this bad at this is beyond me.11 -
So, project needs vive headset + unity.
Set up done, unity project made, set up, plug the two, start tweaking, fixing stuff... Aaaaand need to tweak the script. Double click, MS studio comes up... Need to reactive the license...
I don't have a personal license (and I never will get one either, given how many times microshit has been a major pain in my glorious ass, I tend to avoid their shithole of products at all costs. Somebody else actually gave me access for this project.
So, that doesn't work, goes to download a free version, aaaaaaand apparently my level of access doesn't allow me to install this one.
... UrghhhhhAAAAAAAAAAAAAAAAAAA
Notepad++ it is. 😶2 -
Before rant (introduction): I'm the kind of dev that is a procrastinator by default, it takes me a huge amount of effort to avoid this bad habit.
Rant:
So, I'm going on vacation next week and finished all my shores on Monday. As I'm about to go on vacation, my team leader is avoiding giving me work so that it doesn't stay half way when I leave.
The problem is, this is the third day that I arrive at the office knowing that I will be there for 8 hours wasting my time not doing shit and looking at the screen!!!
The worst part is that if I get this bad habit going, it will stay and I will start to procrastinate a lot if I don't work to do fast5 -
I wanted that Makefile to avoid stripping binaries after building them, but there was no clear option for that. I only found this:
STRIP = strip
That tells where to find the executable that does the stripping. I changed it to a no-op executable, like "true".
So now I have
STRIP = true
to disable stripping.11 -
This is crazy I actually bough a phone just for devrant total worth it, this morning I read a rant from someone thinking about wearing a tin foil to avoid NSA from spying on H ,your not alone, FYI this is how it looks like
-
> new job, receive new pc
> everything looks cool, but they didn't go with Windows's setup
> it pops up now
> whatever, let's make windows happy
> No I don't want Edge
> No I don't want Office
> No I don't want OneDrive
> Windows move everything inside onedrive folder anyway
> have a heart attack when all of my fucking codebase disappeared
Luckily it was just moved (didn't know where, though), but wtf Windows, if I wanted to deal with these antics I'd buy Apple. I'm sticking with Windows precisely to avoid these strange unmotivamed fuckeries, why are you doing this to me12 -
Day ruined, cos some fucker paid to do something has fucked up and delivered, 3 days late, a crock of shit. I spent fucking ages with clear instructions and everything to avoid this fucking situation, yet here we are. Fuck shit fuck tits wanker.
-
This afternoon I had my first close encounter with a core dump, while working on my C++ simulation. It was brutal and I probably opted for the less efficient solution to avoid the problem, after hours of fighting. But hey. I'm alive and that is what matters most.
-
Try:
Read_Localizated_Content_(Ita)
😉
Ho trovato questo meme su fb... Rido follemente 😂😂
Except ItalianNotInstalledError:
I found this meme on fb...
M: I won't lie Neo, whoever fought an agent is dead. But where they lost you'll be victorious.
N: why?
M: I saw agents throw fists through concrete. Man shoot loads of bullet on them without hitting anything else than air.
Their strength and speed, however, remain result of the application of a system with many rules.
And you.
You are italian
(referring to our ability to avoid, bend, ignore and replace rules)
😂😂😂 -
Sass.
I'm using the @use directive to avoid bundling the same thing a hundred thousand times.
Sass doesn't give a flying fuck and bundles the same thing a hundred thousand times
Why you must hurt me like this5 -
F*ck software updates..
So while working today, one of the IT support guy came and asked to update my windows machine due to some stupid company 'security policy' they were following .. That update took more than 3hrs.. The reason it took so long because I somehow managed to avoid any updates for 6-8 months.
But that is not the end of the story... Windows update was followed by a bios update, some softwares, and at this point I just gave up and went for a cup of coffee, and left my machine locked in a drawer still updating and it will stay in this condition until tomorrow.. We'll see if something breaks after updating.
F*ck why are there so many updates and why each of them requires a f*cking reboot...
Productivity today was less than the number of side projects I completed. 😪6 -
I had a discussion about SAAS and microtransactions with another dev. They are a little bit younger than me. The trend toward this in games and android apps were discussed. We found that we both avoid software which employs these business models.
We cannot be the only 2 people who avoid products employing these common business models. So I wonder what demographic pays for these services and products? I am to the point that if my kid asks to buy something in a game, I tell them that we will get rid of the game if they keep asking.
The only time I have paid for SAAS is when there is extraordinary perceived value. Quickbooks for small business is one such product (way cheaper than an accountant). Another is the Xbox game pass. So apparently for the game pass I am in the demographic.
Do we not like it because it is new? Or is it a kind of sleazy business tactic? I dunno. I would rather pay up front for most things. I feel like SAAS will be employed in software with proprietary file formats which require a subscription to even get to your data. Vendor lock-in.10 -
I was wondering if there are "employees" in scam call centers, who genuinely don‘t know that they are scamming the people who they call.
Maybe they get minimal information or are lied to and don‘t care enough to question it.
So I‘ve tried to google it. I‘m bad at googling and couldn‘t find anything. All the results were how to avoid or to spot scammers and similar things.
I tried searching in German and in English and I also tried Duckduckgo. No luck.
Then I asked ChatGPT and it basically said that it could be very well true and gave some examples and referenced some articles.
Of course I know that ChatGPT can‘t be trusted because all of it could be hallucinated.
So I asked for references. It gave me just one link, which lead me to a 404.
Maybe you can help me out on this topic?
The reason that I want to know is because I get a lot of those scam calls for years now and I started to mess around with the scammers.
But if they don‘t know, then maybe I should try to convince them that they are working for a scam "company".6 -
Article 13 has gone through.
If you have a startup idea, move outside the EU to avoid millions of dollars of copyright fines.
Get the memes, get tor, get vpns, research how people get around the great firewall of china, because the EU just asked china to hold its beer.
I pity whoever's job it is to implement this piece of shit.12 -
Do you think it's possible to get enough of a following on YouTube and twitch to fund your living expenses and use the rest of your free time to work on your own studio projects?
For example I'm a VR and AR game developer. I do the whole shebang for game development and design on my own. I could stream play throughs of the current game I'm working on as a weekly thing and create tutorial videos for other developers and students for more content on my channel, but to also stimulate growth in the VR and AR industry. I'd in a way be creating my own market. I could also stream the development of the art assets and whatnot.
Could possibly make some money from the ads at first. Maybe even within the game?
Idk I'm trying to avoid having to get a job anywhere else if I can float my own success as an indie start up. So thoughts on this rant please?5 -
LinkedIn, if you have the nerves to send me an email, how about you also have some guts and tell me what that "notification" is about. Not that I care in the first place, but generally whenever I see the notification after logging in, I would think the same every time: That was a waste of time to read, even if it was in the email subject.
Like I care about some recruiter and his PHP shit when I've clearly stated as technology I want to avoid, have been deployed for 2 years and am using the tools I prefer.
I also don't care if I appeared in a search.
"Holy fuck, you appeared in that shitshow of a companies shithead recruiter. You better start celebrating like you won the fucking lottery and put your hips in a submissive position like a good boy"
"Thank you for using linkedIn, have you considered giving us money?" - automated bot of linkedIn stuff every now and then.
Is there some kind of fetish I'm missing that makes this an enjoyable or endurable experience?6 -
Why is so Fitbit so bad at multiple time zones??
Guess what, people get on planes and travel.
Every time, my Fitbit gets so screwed up, including things like changing previous step counts, or duplicating an entire day of steps.
I understand MTZ is a tough problem, but this is just unacceptable. I'm not obsessed with my steps, but when your product is all about counting something, seems like you should be more careful to avoid double counting or not counting at all. Seriously, how much R&D have they invested in their hardware and apps, but it completely fails when you travel. Get it together!1 -
What's your workspace setup?
Curious because it took awhile and a lot of experimenting/thinking to get mine setup the way it is, but now I can't even think properly unless I have things setup that way after booting up in the morning.
Here goes:
Workspace 1: General stuff, personal email. social media, random research for non work related things, etc
Workspace 2: My main project local development, includes terminals, database, browser research for bugs, debugging software, error logs, etc.
Workspace 3: My main project, production workspace, consoles, browser, etc related to production server, you get the idea
Workspace 4: local dev on my side project
I found it crucial to setup workspace 2 and 3, it has helped me avoid countless stupid errors, like, for example, accidentally working on production terminal and wanting to rip my hair out wondering why the fuck _____ isn't working, then realizing, oh shit, i'm on production, not local. Huge brainspace bandwidth saver when I setup like this.
How about you?2 -
wk195 sounds like people are describing the weirdest places they had sex. Lmao, I'm sure this has gone through somebody's mind at one point.
Let's see, what else to vent about. Ah yes, today I took the public transport because I had to be somewhere in the evening and I wanted to avoid traffic congestion. Guess what? I ended up sandwiched between hordes of people in public transport. I hate that much more than sitting in my car dragging the clutch. At least I was somewhat relaxed and I had my own space (so to speak). Being smooshed between a horde of stressed people? And pushy people trying to ram their way through others "I have to get out, I have to get off here" while the others are clearly heading out too? No, that's not for me.
And I know what's gone through one's mind at one point: "Look at this sad state of the world, look at the highway inefficiently and disrespectfully stuffed, look at these people, most of them wearing sad looks on their faces from the routine of life and their subconscious dissatisfactions. The current system has many shortcomings. In fact, the entire system is wrong."
Well, I'm glad I'm home now. Space, temporal as well as physical and psychological, is indeed a core component of one's space (no pun intended). It's at times like these we need to look at our lives and make the necessary changes to change at least our own lives, there that the system is hard to change.4 -
I have a lot to say..
In my project theres a design department, since the beginning of the project they didn't want to be part of the scrum methodology..(they used to work waterfall..)
So.. they have a disorder on the user history needs, and they argue for every request that we need to finish the history..
They dont go to the plannings, dailys.. they dont know shiet!
And meanwhile telling u this rant im getting mad as fuck..
so at this point i cant even explain how FUCKING UPSET I AM & WHY THE FUCK people reject the change and decides to work by their own! fuck this!
anyways ill share 2 storys ( i have a lot..)
1. "Raise your hand if you dont know whats a button?"
So we created a standard button to be re used it in other forms..
The designer came late to the planning, and decided to change the button layout (again x4) & it's behavior, so he wanted "the button disabled, but not disabled", since he wasnt able to explain it as well, he got upset.. and said that we didn't know about how a button works & asked the public to raise up the hand who didnt know what is a button.. and we were like :
dude are u fucking serius?.. u cant even explain what the fuck u want, u came late, and know u act like if you teach about ux & design? fucking rockstars..
2. "why do you call me to the planning if you don't need anything from me?"
We ask and required the designer to be in the plannings to avoid the disorder and the delivery delays..
that day we didn't require anything from the designer, so he started complaining that we called him for no reason..
me : dude, d u even realize why is this meeting called planning? -
I work out of HQ office of my org and perhaps the only one from my team.
My boss will be working out of this office as well.
He is currently visiting, before he relocates full time.
I have my first in-person meeting with him. I am super anxious and want to avoid it at all cost.5 -
Is it just me, or do REST API's literally rule the world right now?
Feeling like I can automate the universe.
But this is a real question. Are there reasons to avoid using web API's rather than sending data through some kind of shared database? I guess I'm not even sure what the alternatives would be right now... Are there disadvantages I should know about?3 -
Failed to make a decent demo for client because spaghetti code. I want to work on the project to sort out codebase to avoid same thing happening again, boss wont hear it and switches me to another project of which I have little knowledge of the stack when we have another guy who has experience in it.
My main project (the one I want to sort out) is so big it should have 4 people full time on it, but it has me and one part time outsourced contractor. I was hired as a meteor dev and he makes me work on an angular project like its totally easy to switch from meteor to node+angular+Jade.
I am a junior dev, boss has no idea how to project manage and ignores advice I give him.
This is going to be hell when we miss deadlines and have to explain to the client why their product has so many bugs.2 -
Worse than an incompetent colleague who can't help me fix technical issues is a demanding, confusing, beat around the bush, boss as a project director.
Project Manager is away and Project Director steps in to take over. Starts barking orders and when I try to actively contribute positively to get the project going, he stops at me, barks that I was asking the wrong questions or doing the wrong tasks. This isn't my first project rodeo. I have had plenty of project experience under my belt but he belittles me. I know what needs done and get the project done and over with.
I guess I know what I'll do. Avoid proactively contribute and just hang back until I get orders on what to do. Because fuck progress. Or until I hear more from my original Project Manager. -
So I bought this HP laptop about a year ago thinking HP was actually reliable. But oh boy was I wrong. The fucking screen cracked within the first 2 months, because of a small drop from a table, even while it was in my backpack. And the plastic casing is flimsy. It's only been a year, and it's already slowing down because of, what I'm almost positive is age. I've been careful not to do or download anything that might give it a virus. And this thing is supposed to last me another 2 years till college. And, it's fan is the most annoying thing ever. It'll run even if I'm not doing anything super demanding like browsing the internet with only a couple tabs. I'm not one of those people who usually have a ton of tabs open. What's worse is that it's the only machine I have to code with. The school chromebooks are complete shit, and I avoid them at all costs, my cs class has PC's to use but I can only use them during school hours.9
-
tl;dr i am proud of my universal program but annoyed it won't get appreciation.
<brag type='slightly'>the last three days i refactored my various snippets to a kind of modular and scalable software package. restricted to a rigid company system i make use of the technologies i feel confident in. so i created a javascript app that can be used with internet explorer. it is a neat tool to work smarter and mainly to make repetitive writing tasks efficient using predefined textblocks that have automated linguistic adjustments and are multilingual usable. after refactoring it is possible to extend any desired functionality by just adding another module. i learned a lot about implementing separated data structures, data processing, output and asynchronous script loading (and the annoying limitations of ie11).</brag>
i kept in mind that this tool might not only help my personal duties to be done more efficient but also might come in handy to all my colleagues having similar tasks to do. the downside is my colleagues having irrational computerphobia and i know for sure they will proceed to do these repetitive writings manually resulting in inconsistencies and an inefficient time management. while my wise wife tries to convice me that at least i had fun coding this stuff and having it supporting me with annoying tasks, it still bothers me being the only user, as it means no progression for the company. it riddles me how the colleagues, acknowledging us all being craftspeople in the first place, avoid use of computers whenever possible and rather rely on medieval working flows.
i find it quite amusing to be the 'can you fix my printer'-guy, but i just cannot handle this attitude. and everyone complains about having so much to do. get your shit together and start clicking these few buttons goddammit! -
Control your searches like an ADULT damn it!!!
So we have records that can have any of a bazillion different reference numbers associated with them. No big deal. Everyone does right?
Our customer's love to run reports and so we have this one option for "just look at a hell of a lot of reference numbers". I call it the 'fuck all' search.
Really it is just there to find something that you don't know where a rando string or number might be in the record and just want to do a "fuck all" search across a number of likely fields to find it... and then presumably you'd be an adult and refine your search from there. LOL yeah right...
Customers get lazy and include that stupid option in their reports and we get a lot of.
Customer: "I always run this report (that includes the fuck all search) and now it isn't working. I want records that have ID 2222."
Me: "Yeah well that was only working because you were rando typing '2222' in like several fields and it would find those .... but now you quit doing that so it won't find them. If you want ID 2222, click the drop down and search by 'ID'. That will find it right away."
Customer: "But I want to just search by 'fuck all search' to find it..."
Me: "But then you get all these other records too right?"
Customer: "Yeah but I just delete them out of the spreadsheet ... "
Me: "Look watch this <screen share> there, look all records with an ID of 2222 and no more extra records you need to delete!!! How great is that?"
Customer: "But why do I have to do it this way now, I want to do it the old way..."
ಠ_ಠ
(granted I could add their ID to the fuck all search but we try to avoid adding too much because it gets out of hand / stops being useful the more fuck all it gets)3 -
If you ask any sane person "hey, do you want to get some disease with fever, headache and potential risk of dying?", I doubt anyone will say "yes".
But if there exist a way to prevent it with a proven efficacy from both evidence-based medicine and science, why not get it today? I'm not even talking about covid. Why people are not getting their flu shots? How's that logic works? You mean you don't want disease, but you also don't want to take any measures to prevent it?
Every time in late autumn people get cold. For a sane person, one such case with themselves is enough to say "hey, I don't want this to happen again the next autumn". Yet people do nothing.
I can't understand this.
And this is only a flu. Hepatitis will destroy your liver and potentially will destroy your whole life, so why avoid vaccination?8 -
I used to fucking love VSCode it visually was great, it was simple, had an integrated terminal that wasn't shit, supported many languages well (while not forcing every extension down your throat), and was straightforward to configure. I also had problems with it, mainly I felt it was way too bloated for an editor.
That good impression I had is gone now. It seems like every time I'm actually using the editor I have to fight with it. Whether that's an update that fucked up my config, or a reinstall and now I have to **convince** my fucking editor to use tabs instead of spaces automatically and I have to specify because holy shit it will not just listen after I set every possible fucking indentation setting to disable spaces or enable/prefer tabs and they keep adding shit like this that I give no shits about that make me sift through the damn settings finding the settings that turn off whatever new visual effect or quirky little automation they've implemented. I can't tell you how much I actively don't want my braces to be matched up by a color that doesn't even have anything to do with my color scheme.
Ive tried switching but holy shit intellisense is such a great feature that helps me so much so I'm not always bouncing between docs and my editor. Which ATM I'm learning go and intellisense has more fucking information on the functions than the docs do. I've seen Neovim (which is what I'm probably switching to) has language servers that are similar to intellisense so I'm intrigued to try that.
I'm just tired of constantly having to avoid all this shit I don't give a fuck about. I just want to get in, do my thing.
I won't be surprised if I'm the only one on this train 🤣8 -
Some compilers give an error message on forgotten type casting. From that it shows good typing style casting. So you also avoid clerical errors that can lead to the program crash in the worst case. With some types it is also necessary to perform type casting comma on others Types, however, do this automatically for the compiler.
In short:Type casting is used to prevent mistakes.
An example of such an error would be:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
int * ptr = malloc (10*sizeof (int))+1;
free(ptr-1);
return 0;
}
By default, one tries to access the second element of the requested memory. However, this is not possible, since pointer calculation (+,-) does not work for a void pointer.
The improved example would be:
int * ptr = ((int *) malloc (10*sizeof (int)))+1;
Here, typecasting is done beforehand and this turns the void pointer into its int pointer and pointer calculation can be applied. Note: If instead of error "no output" is displayed on the sololearn C compiler try another compiler.1 -
I have to stop this in the first place, but:
Rebuilding something that already exists as a plugin or module.
Why the fuck should I make everything from zero if there's already something working that suits all of my needs?
On the other hand, avoid abusing the usage of plugins in order to avoid demolishing performance4 -
After paying 3 years in advance to my host, some emails of the owner of a project I work with (very small thing, but still..) began to disappear. She doesn't receive the messages and neither the person who sends receives a error message. I've contacted them but no one could found out what is happening.
In this meantime, I had to change the PHP version (there is a version control in their cPanel). Just after changing, Mysqli and PDO stopped working. It took about 4 to 5 days for them to fixed it (shared host).
Back to today, I needed to send and receive lots of emails of this project. As we are losing tons of legitimates mails, we started to cc our personal emails to avoid misscomunication (deadlines are very important). Of course, exactly today, Microsoft's mail stopped accepting any emails of our host IP, as it appears someone has an Trojan hosted there. Of course, except me, everyone else personal email address are Outlook.com.4 -
just found this
// ...A shed load of voodoo is then executed...
// .. removing the need for this would have involved messing around with the existing code which is such a rat's nest that I would rather avoid it -
On the learning new stuff before applying some horrid shit everywhere:
Read the fucking guide/documentation/whatever, few times and if not clear, ffs ask someone - it will make you look less stupid now then later when you fuck it up for everyone!
Dude started doing something new when I was on long holidays, and I got noticed the day I was back.
Said ok, let's dive in and spent all day reading docs and guides, good practices and saw examples of what to apply and what to avoid cause shitstorm will happen etc.
I asked that dude to show me his work on this up until now, and that dude used every antipattern available!
Invest some fucking time in educating yourself a bit and pay attention to, you know, important fucking things from docs/guides! -
Portfolio websites...are they good, bad, or meh?
As I’m already contemplating making a move from my current (first) dev job due to the fact I’m a glorified data entry clerk, I got thinking about creating a personal/portfolio website.
I already have a domain name, I registered it years ago and just keep renewing it. So I’ve pointed that to my GitHub pages site, and will do some work on this over the weekend.
My question is, are they worth the effort? Would a prospective employer bother to take a look if it was on my cv or linked in?
What pitfalls should I avoid?4 -
Not loving the implicit return statement within Scala. I like to avoid else statements to keep the level of nesting low and do early return yet Scala doesn't allow that.
(I am aware that I should flatMap that shit though in some cases I just want a simple if not foo then throw exception line. And continue with the next block until I return something.)
So you either have to create if-else-nesting beats or use pattern matching. The latter seems overly complicated for this use case (though it has its moments).
I know that I can make the return explicit yet the linter warns against that. It feels so verbose and I currently do not see any benefits and would argue that the code becomes both harder to read and maintain.3 -
I'm in a bit of a slump. I need 'content' for a unity game I'm making. In the game you play as a banker and you collect money you can spend on upgrades. There's also a vault in which you can store money and collect interest. I'd like for there to be more to this game so it's not just a clicker game where you collect upgrade, collect, upgrade repetitively. One thing I did think of but would like to try and avoid is a simulated stock market because of the coding difficulty. I'd anyone has any suggestions it'd be much appreciated!2
-
The customer was really persistant that we should not use ANY locks when reading from SQL server, not even Sch-S locks, because "noone else is using locks".
After two days of trying to explain to them the concept of "Dirty Reads" and the practical imposibility to avoid Sch-S locks, they finally gave up.
The best part was when they asked in a quite condescending way "this is funny, why do you think that nolocks causes dirty reads?" and I sent them a link to the MSDN page about nolock that cleary states "Specifies that dirty reads are allowed.". -
TLDR: Why the fuck is a senior developer creating multiple instances of a core piece of logic all over the fucking application?!?!?!?
Context: I am also a senior dev, and have worked with this guy for years. He has even completed me on my clean code practices and architecture, so I really cant understand why he would copy and paste a public class into 3 other models on the project instead of just referencing the original. I’m just posting this hear as my version of screaming into a pillow in frustration, and to avoid badmouthing him to co-workers.6 -
My LinkedIn profile lists quite a lot of languages and platforms, but I made sure to not include Ruby there, just because:
1. I never worked with Ruby
2. I never want to work with Ruby because I got fed up with the smugness of ruby developers back in the day so much that I made a promise to myself never to be one of them. Literally anything just not Ruby. I'll even take up COBOL if I have to, in order to avoid Ruby, unless I can justify it as a backup scripting language for small automation stuff where other languages would simply not work. Aaaanyway...
I get this message from a guy:
"""
Hey <Actual first name>,
You got recommended by a person, and judging by your profile you'd make an excellent fit for this company I'm representing who are the leaders in their field, bla bla bla more info on why company is the greatest in the world.
They need an experienced senior Ruby developer for their new web application bla bla bla.
"""
I wonder, if I committed to learn Ruby well enough to pass an interview, faked some Ruby experience in my CV, and they actually hired me, how long would it be until they hang that recruiter for not even reading the profiles of the people he's bothering with messages. -
I didn't set out to be a dev.. so not much support dev wise, but in general loads.
I dropped out of uni, went back home to avoid paying rent and at least get some form of education.. here parents are obliged to take care of kids until they finish schooling but still.. they could've bitched about me dropping out. They were just concerned I wouldn't be employable without any kind of education and with lesser grade.. anyhow, I probably wouldn't be where I am if I continued wasting their money trying to finish uni when I wasn't motivated enough (still huge problems with ocd so at that time and it was too overwhelming).
I had a plan to finish this along the job when I can afford it but the courses are for regular students only..so no way I could attend them..
Anyhow, I am information science engineer by profession (if that is even how it translates to english), should be taking care of network & computer administration..yet here I am maintaining, bugfixing & developing most 'hated' projects at this firm & I love it!!
So yeah, I hope parents are proud of me..have to ask them though..
Some details in here somewhere: https://devrant.com/rants/2870913/...
edit: typoooooossssss -
New office stories.
They use following channels as official communication channels
1. Google Hangouts (yes, living in 1800s)
2. WhatsApp groups (FUCK MY LIFE) Thankfully I am not part of any and will avoid actively.
3. Slack (heaven's sake some sense here).
And above that, they use Google Workplace for emails and office tools.
And now combine this mess with Apple. How inhumane my working conditions are.3 -
As I started learning React, I found the allure of declarative style of programming appealing. I try to avoid maintaining multiple state variables for data that can be derived from the base state itself that's stored in the redux store. It works wonders when I have to change something; as I just need to make changes to one function in the utils folder and that change is implemented across the whole app, rather than change the instances everywhere as was the case when I initially started working on this project after the previous dev left.
But I see myself redefining a lot of computed values everywhere, and if I just try to define them in the root component, I'll end up with a huge list of props being passed to a couple of components. Shifting it to the utils folder helps a bit, but then I find myself defining even the simplest of array filtering methods to the utils folder.
Is this need to define computed values everywhere a trade-off that you need to accept when you write declarative code, or is there a workaround/solution I am missing? As of now, the code-base is much better than how it used to be when they had a literal Java dev work on React with their knowledge of Java patterns being used in a framework that is the polar opposite of OOP, but I still feel like there's room for improvement in this duplication of computed values.2 -
First let me start this rant by saying: Don't use SharePoint lists as your primary data store if you can avoid it. You're gonna have a bad time.
My coworkers and I work on a system where we need to pull tons of data down from a SharePoint site and run various algorithms and operations on it. Generate reports, that sort of thing. This is all done in the browser using a Typescript React SPFX webpart. Basically using SharePoint as a DB/DAL.
Because of the sheer amount of data we end up pulling down (our system in production is the single source of truth for one of the largest companies in Canada, and they're currently building a pipeline as we speak), in order to maintain a reasonable speed while using it, we have some pretty intense caching logic implemented, logic that ensures we get new items when new items are detected, and merges changes to already exisiting objects. It's pretty brilliant, and that's before we even consider the custom paging that my coworker implemented in order to get around the IndexedDB max size of 100MB.
Well that's all well and good, and works great in production, but it is a horror to work with. Because EVERYTHING we touch on the server is cached locally, it can be IMPOSSIBLE to detect data anomalies, be they local or server side -.- You don't know how many hours I have completely WASTED fixing a "bug" that didn't really exist... Just incorrect data in the cache12 -
Do you have that one person you work with that you just can't stand for whatever reason?
I've been having a tough time with this one project at work and been falling behind because we hired a junior dev and 2 inexperienced freelancers. So to help me out my boss let me use his office for the day to avoid all of the noise.
I had been under the impression lately that I didn't like my job due to the constant context switching and being isolated for the day was a really nice refresher.
Then the project manager starts harassing me at 430pm saying the client is now expecting something deployed in the morning with no warning or requirements. Way to set client expectations.
That one moment made me realize that the context switching wasn't what I disliked about my work. It's that one person. They're so bad at what they do that it makes my job so much harder. -
does this happen to anyone else?
so every time i am happy, but like really happy and everything in the day goes very well, i am thankful for being alive and truly love life etc, at the end of that day or the next day something hits me and i fall into depression because i remember all the problems i was ignoring while being happy. this has actually happened a lot of times so every time i am really happy i automatically remember how is this temporary happiness gonna end, so i try hard not to be happy in order to avoid deeper depression later. and whats the point of living if ur not happy?4 -
When it comes to judgemental conclusion of people's acts, I've always been careful and maintain a total calmness because I never can really tell what influences such acts. The so called boss I'm working for, obviously has anger issues and I find it very difficult to tell what triggers such irritating habit. Unfortunately, it is uncontrollable by him. He releases it whenever it comes. I've tried as much as possible to avoid falling into the pit of false consensus bias - i.e, the tendency of assuming other people should think like me. I work my ass 50 - 60+ hours a week + weekends for his startup company without expecting much in return but he still feel people are not important to him. Nothing actually interests me anymore in the company and I feel quitting is a necessity for me right now - please, I need people's opinions regarding this.1
-
Does any of you have the compulsion to micro-optimize every bit of code that you write? How do you deal with it?
I'm not just talking about algorithmic optimizations, but the real nitty gritty stuff. I'm talking about using bit fiddling to avoid if statements where speculative processors might make mispredictions. Anything that might make a program compile to fewer machine instructions or avoid extra stack frame overhead.
This all started a year ago when I took a systems programming course at my university, and started learning C and C++. But I find myself doing this in the wrong places. Who cares if this trivial program that I wrote runs in 1.2 or 0.6 seconds? My future employers won't care if my code is 10% more efficient when it takes four times as long to write.
It's gotten to the point that I can't bring myself to use languages like Python because I don't know how it's implemented under the hood and can't predict how the different ways I could write a function will affect performance. How do I bring myself to trust that the compilers (or interpreters) and the programmers that wrote them will be sufficiently optimal, and just move on? 😩4 -
I'm not the product manager. I'm not the leader. I'm not even in a lot of meetings. Why my colleagues ask me about product/development decisions?
I appreciate they about wanting to know my opinion, but when they come in a rush it is a bit stressful.
And I am not paid for that.
It might sound about selfish, but the reality is I am not one of those roles (and my salary neither) to avoid exactly this.
Whatever.
At least I can redirect them and not lead with the sublaying reasons of the doubts.1 -
How many of you have managers who grill their employees for coming late?
Maybe it's just me being downright lazy but I've always had this idea that working for a tech company would mean flexible timings and no fixed minimum working hours (as long as you meet your deadlines and get the job done).
I've been working for this small AI/CV startup for about 10 months now and my manager/founder's nephew, who is my age(22) keeps grinding me for not coming on time. I'm not really a morning person (and my productivity decreases significantly whenever I wake up early) but I make sure I meet my deadlines.
Initially, I used to avoid all this BS but now it has started to annoy me. Suggestions?10 -
!rant // more like a warning
If you use tty (no X or graphic env) and use tmux as terminal multiplexer -> avoid using mpv in it.
.
When you use -> mpv --vo=drm "video name" in tmux session and want to pause video -> cpu usage will climb up to 100% on single core.
(can make laptop warm)
(I don't know what exactly cause this but my theory is, tmux cant redraw after video is pause and it keep trying forever and end up using cpu 100% on single core)
.
Solution
- use mpv on another tty which you didn't run tmux.
- example : tty1: all stuff, tty2: mpv.
And cpu usage will be normal after video is pause.4 -
I go to add a method call in a business logic class that's used exclusively in a particular service, and get blocked in the PR by some other guy-
Other Guy: refactor this into the shared framework referenced by all our microservices
Me: it is only and would only be used in this service
OG: what about the other business logic class in this service?
Me: it's not used there, and if it does end up used there then we can refactor it into a class that they both reference then
OG: I need to know when the abstraction of this function will be done. is it going to be delivered next sprint?
Me: YAGNI - better to avoid doing extra work when we don't know if we'll even need it
OG: tbh you can still abstract it with some generics and lambda magic, but im not gonna enforce that
Me: premature abstraction is the root of all evil (tongueout)
OG: not really, its the root of not having a million miles of tech debt in 2 years
I just can't win for losing with the anti-YAGNI yogi.1 -
Does anyone have experience with bad engineering coaches?
We have a new guy who came in to my team as a coach, and it has made my work life so much more stressful.
It’s hard to put my finger on what is wrong, but this guy seems to lack a bit of perspective on his role at the company.
He is not a manager — he does not have any formal power — yet talks as if he were in charge of the team.
This goes from changing the way we do stand up, to inserting himself into any technical discussion going on in the office. It has gotten to the point where I will hold technical discussions in other parts of the office to avoid him.3 -
DEVIANTS!! NEED ADVICE...
I have been focusing on learning and implementing data structures and algorithms through participating in competitive programming sites...
Whenever I face an issue and struggle to find an answer (which is more often than not), I ask the forum about the fundamental principles involved in the question...
I avoid looking at the solution, as much as possible.. And, when I do look at them, I still question the author of the code about the reasoning behind a particular section of code which I don't understand...
I don't wish to copy and paste code, but sometimes, I wait for days on end, but I don't use the code until I receive an answer...
Is this the right way or are there any other way which I could implement to strengthen my algorithmic thinking??10 -
Question for iOS Swift guys:
Since Implicitly Unwrapped Optionals are now dropped for a while, and everything is an optional, hiw can I now declare property that has no value and intializer will not make fuss?
I used to do this:
class Bullet {
var calibre: Double!
}
This way I can avoid initializer which gets useful when there are properties which hold complex types, which get useful when writing tests.
If I remove ! Then compiler complains.
If I put ? Then My code becomes crap of guards and ifs to check for optionals.
Really hate this Optional thing in Swift. Half my time when I jave an issue is related to optionals.
Btw,
let x: Int! = 10
let y = x, yields y: Int? -
I just came across this strategy for the rate us section to avoid the lower ratings on the store.
When you click on rate us. It initially presents you with a 5 star with none filled up.
If you click on stars 1 to 3 then a feedback box pops up asking why I'm giving them less stars. Still letting to change them to 5 stars.
If I click on 4 or 5 stars then the app directly takes you to the play store listing where I need to press the 5 star again.
What do you think about this strategy?. Is it worth implementing??3 -
How can I avoid coding in trial/error when learning a new framework (recompiling and testing)? I’m learning Unity and find myself constantly recompiling just to test if a single line works. This adds up to a lot of wasted time - am I missing something or not doing something properly?2
-
What's wrong with reviving/bumping an old thread on a forum? It seems way more efficient to me to continue on one central thread. I hate common rules like "don't post in a thread that's a year old, start a new one". Why not keep the conversation in one place? What am I missing?
Isn't this already how we (properly) do email threads? I always go back to find the last email when I send a follow up to avoid breaking into two different threads with two different sets of replies.5 -
Advice on great hardware for Linux kernel? I'm going to get myself a new laptop, my current one gave me great headaches due to the Realtek network card (no jeffing driver). I'd like to avoid this sort of things this time around: what should I get/avoid?2
-
HP Switches are a clusterfuck of shit.
The command line interface seems to be designed in a way to ensure that HP support engineers will always be needed.
My supervisor and I figured it would be easier for our task to go and steal some Cisco switches from the other department to avoid having to deal with this giant pain in the ass -
For someone not deep-into-security, can someone tell me why "encrypted"/"non-compromised" communication is hard?
Wouldn't a private server that holds conversation in-memory (imagine Dictionary holding U2U GUID-GUID list of 'msg' objs) suffice?
Incoming IP info is disregarded and nothing gets written on-disk ever
Need to erase everything? just reboot the server, it's all in memory anyway
To avoid man-in-the-middle, pre-handshake check cert integrity by exposing the certificate-fingerprint by another endpoint, if the fingerprints match, proceed to switch to websocket
Wouldn't this be wayyyy more secure for actual anti-establishment talks than all the fancy probably-backdoored software that exists today? .-.
Hell it's easy enough that someone could make it go live in a few days, keep it up accessible if you know the IP and port to communicate and close-and-delete when done16 -
The way to avoid procrastination is to understand and use what your mind is trying to do - give itself instant gratification.
I use this method:
Step 1: Prepare your workspace in every way possible.
Step 2: Leave. Go do something fun for 20 minutes or so (yes, procrastinate on purpose). Get your mind calmed down and get rid of the anxieties about starting by just not starting.
Step 3: Sit down in your prepped environment, free of distractions and with a calmed mind, and pick a task to start hacking away at. -
I did know some people would negatively takes my honesty.
To be honest. I don't really like compliments. There's nothing in myself. I never expect any compliment. I'm hideous in fact. That's why I join devRant.
I feel comfortable when no one in sight.
But you know sometime, I feel that I want to tell what I feel. To anyone that don't know me in person (in regards to avoid getting messed up).
Is this a sign of mental disorder ?3 -
How many days an hour do you real professionals actually spending writing code... Right now between work as a junior front end dev, class and an applied project for school my brain is mush by the middle of the week and I spend my weekends trying to avoid opening my laptop, I hope I'm just overloaded right now and that I don't feel like this when I graduate.
Im getting a little worried though.2 -
Why some devs simply join the team, assess where they are positioned, and ALWAYS find ways to avoid doing work but to "lead/help" others... managers event encourage this kind of behavior that ends up harming productivity, examples of this:
- sharing "interesting" news of new technologies sometimes completely unrelated to the current stack
- informing about potential risks on libraries and versions
- infinite code reviews with stupid comments around how things should be done according to him/her
Is it just me ? or there will always be a newcomer with this kind of attitude? why managers can't see they are actually harming productivity?2 -
Ahh, management. They now decided to implement yet another clown role. Release manager…
😬
I am leaving. I just must leave this workplace!
They have so many roles now and it’s getting increasingly difficult to avoid them. I thought we were flying low before to avoid the radar (we use ci/cd, all automated, deploy all days of the week, so we are good. I mean, we go from business need to implement with (some) quality in minutes. Yes, we make mistakes and we fix them rapidly and continuously).
It will be difficult to stay. I really thought I would enjoy it here but management is making it pretty clear that they are not serious about software. They want fancy titles and pretend to work.
Fire em all I say! No one will notice that they are gone. 🤷🏼♂️4 -
Just after feature launch, major bug on production and now I am getting yelled at by my lead as the issue happens to be with the PR i was responsible for reviewing yesterday. Somehow a logic error got past my review. But considering how large the project is it wasn't possible for me to test out every possible scenario myself. They should have had QA handle that. Also, that was my first code review. I can't understand why my boss has such unrealistic expectations. Bugs are expected at this stage. I feel like he just puts too much pressure on me for no other ther reason other than to just trigger my imposter syndrome. That way, I feel like a bad developer even though I am working my ass off. And he gets to avoid giving me a raise. Cant believe I rejected multiple offers to stay at this company. I don't even know why am I still working for this company anymore.4
-
This is fucking annoying as hell!
Having incompetent female drivers, lots of grandpas and grandmas, heavy goods vehicle and "car driving beginners" this morning caused me to get late to my destination for about 30 minutes. Fucking hell.
Let us just avoid the beginners, truck drivers, grannies (the License papers should be taken them away!), and just take a look at the female drivers.
Not all of the female drivers are incompetent. But in my area it is almost near to 100 fucking percent.
Why are most women such incompetent drivers? I am really fucking pissed off to face this almost every. Fucking. Day.17 -
implementing ticket from epic somebody else did breakdown on
someone from other team mentions that we should be getting approval from their team and preferably avoid doing stuff in this legacy repo
im just a code monkey, i didn't make the decision (or know the nuances around it), nor did i want to be in that old legacy repo
pain
i didnt know, i dont know what i dont know,
how do i do better next time...3 -
Recent graduate asking about programming work.
I just graduated a bachelor's for Games Programming. I've studied c++, Java, Unreal, Android studio and Mathematics. Also includes group projects and game specific stuff.
I spent a year in Germany doing software and database courses which included 6 months working as a front end developer as an intern.
I keep getting job offers for front end work but I'm seeing no interest from software or games. I hate websites, specifically front end and don't want to end up stuck in that career.
Should I avoid front end jobs and hold out for something else, or do you think I should bear with it for now? I'm currently waiting on an interview for a 12 month contract as a front end developer at a rate of £200 a day, 5 days a week. Yet I have absolutely no idea if this is good or not.
Any advice you more experienced people can give me? 😰3 -
I am legit getting tired of trying to help people improve and hit huge roadblocks because nobody seem to care if what we do works for the intended purpose.
I have seen some terrible unstable code that fails 50% of the time on run time and never was reviewed or tested on core software, but since it was worth a lot of story points, people get congratulated for finishing it but nobody bothers checking if it really works in the first place. Story points are meaningless in this Agilefall Frankenstein shit process we use and bosses keep saying they will improve it but nothing gets done.
Worst thing is my work often depends on this shit.
I swear one of my good colleague and I are trying to introduce commit and PR gating, code review, code quality to avoid as much problems as possible while speeding up CI and documentation but 90% of devs do not give a single fuck about it. They just bypass it with admin rights because it supposedly slows them down.
When I bring up to management that the processes are terrible, I get the classic "we can't force people to use these processes because we have to respect their work ethics and it is different from yours." While I get that some things are subjective, in this case that's a lot of words to say they suck and give no fucks.
Sorry for the rant, it is starting affect my morale and efficiency at work, but I know every workplace got its problems.2 -
Accidentally reverted the repository wiping all the non-versioned custom patches in a production client! I thought it was my computer’s terminal. Luckily we’d got a backup from last deploy. Later we customized the bash prompt in all prod servers to avoid confusions like this.1
-
I used tailwind css in my web development project but as soon as the internet goes the images text blow out of proportion I used cdn if I had to deploy static website on amazon S3 with tailwind css how can I avoid this issue ??3
-
Honestly, I've never even given a second thought to the use of the terms "whitelist", "blacklist" or "master". I mean, I'm not against this change in any way, but I'm also not sure if these terms are commonplace because they stem from racially charged meaning or not. Guess my privileged ass has never given it much thought.
https://zdnet.com/article/...9 -
Best way to learn to code? More specifically, best way to avoid distractions whilst learning? I find myself easily tempted to play video games or watch YouTube videos instead that has nothing to do with coding...
Did anyone else suffer from this? Is this just a phase and once I break past it, I'll be really into programming & forget about everything else?3 -
Last week I spent a couple of days researching how to sync a CalDAV server with any Android calendar.
I downloaded several apps, and tried to connect in many ways (without HTTPS, calendar link, user link, any combination of them, with and without www, etc.)
Today I chose an option I had been trying to avoid: downloading an app that was recommended in some places but that's no longer on Google Play Store.
Got the APK from some website that didn't look too suspicious...
website.com, username, password; and it WORKED. (This also confirmed my server was well configured)
IN A MATTER OF SECONDS. Within the next minutes I could test sending events to and fro.
WHY?
WHAT- WHY IS THERE NO ALTERNATIVE FOR SOMETHING SO TRIVIAL. This future is so dumb.
One would have thought that there was something better than a dead-simple app made for Android 4.4
I really can't believe it.4 -
I am a 3rd year undergraduate and we need to make a web based project. Problem is no one on our team has ever made anything web based or even a simple website before. We need to run some Java code in the backend apart from that we are free to do whatever we want. Any advice on what frameworks to use and what to avoid?
I literally have zero experience on this so any advice is appreciated!3 -
I wrote this short intro to Elixir escripts, what they are, how they integrate with mix and why you should avoid using archives.
https://monades.roperzh.com/overvie...1 -
Anyone learn about Bloom filters in school? I was watching a lecture and he mentioned using a Bloom filter with a few hash functions to create a cache you can use to avoid querying a table if there's no match, which is a neat idea. I've never heard of this but I also didn't study CS in school so I'm curious if it's common knowledge.1
-
I'm a junior, now getting used to the idea of having to finish something in the same day if it's urgent for production and therefore having to clock in extra hours.
It's depressing, in a way.. I'm hoping to avoid this as much as I can and just get work done within the usual 7.5 hours.2 -
I started programming with Threads (in C#) I though it can't be this difficult after i get it how to create a delegate right (2 hrs) and interact with my form without a crash (after another hr, but it didn't do this what it supposed to do) there popped up errors kind of randomly out of nothing and I have no idea how to avoid or catch them😩4
-
Is storing game score as static int is a good idea? I know you should avoid them, but is it the same in this case?3
-
Ok so.
You know you have to deal with annoying things when you take on a guard duty role and yes, we signed up for it because of the mullah.
However, you also want to do this with a reliable and robust monitoring and alerting systemthat you can depend on! And no i am not going to advertise a product for this... What i will tell you is which one to avoid.
Meet Quest "Foglight" ... It does EVERYTHING! It monitors, it alerts, it does trend watching it does fancy shmancy graphics, it does reporting, it is very extendable... WAUW, right! right?
Well, if you were stuck somewhere in 2005-2010 maybe... But this fucklight is cutting short on EVERYTHING
Today , i got called up at 3:30 in the morning (i am typing this after the incident) because this shit of a system has "HIgh Availability" by basically letting the FMS server suck each others jaggons and hope it somehow respons. This is a sort of keepalived thing, but on proprietary java tech..
Oh, yes, it's written on java and... yes.. Java 6
This means that, effectively we are running RHEL5 machines (yes, RHEL 5!!!) because something more modern in place? nope.
I have no idea anymore what i am ranting about, i'm tired, i'm tired of this shit, i'm tired of getting called up just because of some dude has been cussing up a sales representative, sucked each others jaggons and pushed the federal goverment with a shit solution for almost a decade now.
Fuck Foglight
Fuck Quest software, because did you really think you would get enterprise level support for an enterprise product which you payed enterprise euro's for it? You are so naive, how cute...
And consequently : Fuck Dell and Good job Dell.. For purchasing quest software, mess around with it, and then dump it back to the market... Srsly Dell , you were like me when i had this hot ass chick as a girlfriend but later seemed to be too crazy to justifiably tolerate compared to her hotness. Dump it like it's trump.
Oh, and, wauw! Foglight graced us with a successful startup process after .. what.. 6 times restarting? In 2 hours... With 12 CPU's and 128 GB ram and .... oh fuck this you don't deserve such resources.4 -
If I could create laws, I would pass a "software usability act" which would eliminate many annoyances we face daily.
For example, the law would mandate range selection in file managers, mandate time-stamped file names in camera and voice recording apps, and require that browsers open a new tab next to the currently open tab instead of at the end, and all user interfaces must have a dark mode to reduce eye strain, and all operating systems must have a blue light filter, text editors must create a temporary copy when saving to avoid corrupting the existing file, camera applications should not corrupt the entire video file when ending unexpectedly (crashing), cancelling file operations must not cause data loss ( https://support.google.com/photos/... ), no mandatory pull-to-refresh ( https://chromestory.com/2019/07/... ), to mention a few examples.
Mobile file managers commonly lack a range selection feature (also known as shift selection or A-to-B selection), where all items between two selected items of a list can be selected immediately. ES File Explorer had this in 2012, yet many fancy new file managers still don't have this. To select many items, each item needs to be tapped individually. This is an unacceptable annoyance.
This is not to be confused with the inferior drag-to-select which requires holding the finger on the screen until all desired items are selected. Drag-to-select is not range selection, only its ugly stepsister.
Ah yes, under the imaginary software usability act, Mozilla would have to say good-bye to its evil add-on signing. "For our protection" my arse.13 -
When I try to install package 'cryptography' for Python,,, C++ and RUST compilers are launched by the pip package installer. The compilation fails. Is there any chance to avoid this error? 🐍🐞4
-
So this is a pretty sweet read about burning out and how to avoid it sorta... https://smashingmagazine.com/2016/...
-
Why Android makes it a pain in the ass to make apps that let theie users choose their own language? This pushes me to reinvent the wheel just to avoid their broken mess named Locale.
-
What do I call Components as used in ECS when my app is entirely written in React and I want to avoid the tedium of qualifying the names?
This is a really fundamental thing to the project so I get to pick less-than-ideal but short names since anyone who works with the code will encounter it within the first 5 minutes.9 -
Recently joined new Android app (product) based project & got source code of existing prod app version.
Product source code must be easy to understand so that it could be supported for long term. In contrast to that, existing source structure is much difficult to understand.
Package structure is flat only 3 packages ui, service, utils. No module based grouped classes.
No memory release is done. So on each screen launch new memory leaks keep going on & on.
Too much duplication of code. Some lazy developer in the past had not even made wrappers to avoid direct usage of core classes like Shared Preference etc. So at each place same 4-5 lines were written.
Too much if-else ladders (4-5 blocks) & unnecessary repetitions of outer if condition in inner if condition. It looks like the owner of this nested if block implementation has trust issues, like that person thought computer 'forgets' about outer if when inside inner if.
Too much misuse of broadcast receiver to track activities' state in the era of activity, apપ life cycle related Android library.
Sometimes I think why people waste soooo... much efforts in the wrong direction & why can't just use library?!!
These things are found without even deep diving into the code, I don't know how much horrific things may come out of the closet.
This same app is being used by many companies in many different fields like banking, finance, insurance, govt. agencies etc.
Sometimes I surprise how this source passed review & reached the production. -
I'm beginning to feel like any kind of specific approximation via neural networks is a myth. That if you can't reduce output to simple categorical values that can be broadly interpreted between two points, that it doesn't work.
I have some questions and they don't seem to be getting answered about the design of the net. How many layers should I use ? How many neurons per layer ? How does this relate to the number of desired quantitive scalar outputs I'm looking to create, even if they are normalized, they can vary GREATLY and will if I'm approximating the out of several mathematical expressions. Based on this and the expected error ranges of these numbers and how many possible major digits could be produced within the domain of the variable inputs being introduced, how many neurons per layer ? What does having more layers do ? In pytorch there don't seem to be a lot of layer types per say, but there are a crap ton of activation functions, and should I just be using these at the tail end or should they actually be inserted between layers so the input of the next layer passes through another series of actiavtion functions ? what does this do to the range of output ?
do I need to be a mathematician to do this ?
remembered successes removed quantifiable scalars entirely from output, meaning that I could interpret successful results from ranges of decimal points.
but i've had no success with actual multi variable regression as of yet, even when those input variables are only 2 and on limited value ranges eg [0,100] and [0, 2pi]
and then there are training epochs to avoid overfitting, and reasonable expectation of batches till quality results will start to form.3 -
Avoid the words blockchain, microsoft, competitive, startup, and equity. This works well for a primary screening. Second at the interview talk to them if they don't know shit either the company is shit or don't give a shit who they hire. Third figure out what you need to make to live without stress, any company that will pay it cares about their employees as long as it's somewhat reasonable
-
https://nakedsecurity.sophos.com/20...
Is this legit ?
It is as a result of a query I have, I am curious if Docker's claims to system isolation between apps is verifiably universal.
There have been a number of attempts at virtualization that avoid VMs, and I have always wondered is there a way to access the host systems kernel through these ?
Thoughts ?18 -
Every little positive thing has a cumulatively encouraging effect on the mind
It may not balance out the bad in someone's life
It may cause a diseased mind discomfort at first
But in the end in the former case it's better than not to have things that reinforce a sense of well being
And in the latter a mind caused discomfort by happy things is one that is used to hiding in its own misery to avoid its own pain and the recognition of that pain dragging it slowly out of it's mopey bleak existence is the first step towards self betterment
I thought of this as previously over the smile my fitness app brought on my face saying 'beyond awesome'
It's nice to have little reinforcers
And to all the bitter hateful disgusting garbage that takes joy in making any and all causes of joy except their own dysfunctional warped interests please get fucked to death with a steel pole with a wide hook on the end 😁 -
A long time ago I got an idea for an Internet concierge shopping service that would pair you up with a human to help you comparison shop anything. Obviously this was before AI or the kind of tech we’re used to now. The idea was that the help of a real live person to help you track down deals was better than some of the emerging product recommendation engines I was researching. I figured I’d at least make a short term business out of it until tech caught up. So I built the site, DB, and business logic and recruited my bargain-hunting wife to help people find good buys. It worked ok, but wasn’t easy to monetize because people wanted her help for free rather than pay any kind of fee. Their perception was they weren’t saving a substantial amount if they had to pay someone to help them. Of course, our pitch was that by paying someone to help them, they might avoid paying more by trying it on their own.
It was an interesting experiment anyways.1 -
Looking into devcontainers, trying to avoid having to install every little piece of 'dev tool' into my system, so i can savely test rust.
The CLI to manage devcontainers in the standards requires yarn and nodejs to be installed, and further more is another little piece of 'dev tool'. nodejs literally destroyed my system multiple times, and is the whole reason why i am cautious about installing random tools in my system in the first place.
I feel so alone in this world sometimes.5 -
!rant
Sony XZ Premium. Or the LG g6?
I'm also wondering about phone updates, ive always had nexus brand phones so this wasnt a concern of mine, but now I'm thinking to avoid the pixels because they are so expensive.5 -
Are dating sites safe for real meetings?
Very few people who use dating sites consider them only for online communication. Most users need them to find someone for real dating. So, after an online dating stage, sooner or later, people start thinking about meeting in real life. And even if everything has been perfect and smooth and you have a great time via online chat, it doesn’t mean yet that you shouldn’t forget about safety measures. I don’t doubt the online dating safety, but it’s better to be safe than sorry. So, when taking a decision to move from online to real dating, you need to prepare for the first date well and thoroughly.
1. Make it formal
Even if you have been chatting online for many months, and you know probably everything about this person, including many moments of life that people usually do not share at once, you still should not rush the events, no matter how hard you want to make a huge step forward. Your first non-virtual date should be formal, no exclusions. Choose a crowded place for the first date, for example, a restaurant, cinema, exhibition, or agree to meet in a park and spend time there. Do not invite a person to your home nor accept an invitation to visit her house.
2. Inform your friends where you are going
I know that it may seem like too much for just a date, but you are going to meet a person you have never seen in real life. And informing a friend that you are going for a date with an online match is an absolutely right decision. Besides, most dating sites recommend to do it.
3. Leave if you feel uncomfortable
Your real date may significantly differ from the online ones that you had before. So, if you see that your virtual partner is not the person you know so well online, you’d better end this date. Not all online dates should go real. Sometimes, it’s better to leave things as they are and continue communication online.
4. Avoid alcohol
Do not drink alcohol on the first date. Even if you feel a bit nervous and you know that a little alcohol will help you to relax and calm down. I still recommend you to avoid drinking because you may either create a wrong image of yourself and spoil the date anyways or simply make mistakes.
So, how safe is online dating? I’d say that online dating is 100% safe in case you do not neglect the basic rules which work not only for virtual dating but also for the real-world one. Do not rush events, take your time, avoid conversations about money, do not send or buy gifts on request, and do not share personal things about you unless you are sure you know a person well enough. https://wizzlove.com3 -
I have a question about Android dark theme
I've added dark theme support for my application using 2 different themes declared in styles.xml.
On official android developer site:
"In order to support Dark theme, you must set your app's theme (usually found in res/values/styles.xml) to inherit from a DayNight theme"
and this is what I've done. I've also created colors-night.xml to avoid modifying colors that cannot be modified in styles.xml by coding and this works too: when dark mode is activated from device system, colors changes automatically.
At this point, I was wondering which is the best way to implements dark theme: creating 2 different themes, using colors-night (and drawable-night) or a combination of these 2 ways? -
Top 5 Reasons for Not Discussing Weird Topics in Your Graduate Admission Essay
Knowing the top five reasons for not discussing weird topics in your graduate admission essay is very important. There is really no strict requirement about what kind of topic you use, as long as you can discuss it effectively. However, choosing weird topics may not really work for you, especially if it’s a very controversial or sensitive one. The following are the top five reasons why you should avoid discussing weird topics in your essay.
Reason #1: Weird topics are weird.
First off, weird topics are exactly that, weird. The last thing you want to do is weird out your graduate school admission panel, which is almost a sure way of getting yourself that polite rejection letter that every applicant dreads of receiving.
One of the main important points to remember is to think of your audience when writing your graduate admission essay. This audience will be composed of tenured professors, and probably younger teachers closer to your own age. Although it is a good idea not to tailor your essay according to what you think they want to hear, it’s best to stick to a topic that will make the panel want to get to know you more. You can do this by putting yourself in the admission officer’s shoes and trying to feel what your reaction would be with a particular topic you have in mind. Being creative is good, but to any audience, weird is weird, and most audiences will not know how to react to a weird admission essay.
Reason #2: Weird topics may reflect your personality in a bad way.
Weird topics make you look weird, or worse. You may think that a weird topic is the same as a creative topic, something that most experts on admissions officers urge applicants to use. With a weird topic, you can easily make the jump from being creative to just plain strange or worse, someone with an emotional or personality problem. Weird topics, when discussed ineffectively, are bad topics, and can be anything from the death of a pet, recent religious epiphanies, and even parent bashing. These topics are the last topics that can paint you in a good light so avoid these and other similar topics.
Reason #3: Weird topics may not represent the real you.
Weird topics will not paint the real you, unless you are naturally weird. If you really think that being a little bit off will pay off, then by all means do so. But if you want to appear as normal and as emotionally healthy as possible, save the strange stories for Halloween night.
Reason #4: Weird topics may seem too informal.
Weird topics can get too informal. You can be informal but you need to look normal as well in order to avoid appearing irreverent. Some may disagree with this, but often the only way to get on your admission panel’s good side is to tread on the middle ground arefully, and not be too stiff and prudish but not be too loose either.
Reason #5: Weird topics may confuse the readers.
While most schools allow their applicants free reign when it comes to writing an admissions essay, you can do your self a lot of good by treading on the middle ground. Avoid weird or strange topics if you can. A weird topic will put your readers in a place where they may not understand you. And in a process where getting to know you as a person is the main objective, this move will definitely have an effect on whether you get accepted or not. Knowing what to write in a graduate school admission essay is fairly easy, especially if the school provides you with a set of questions, known as prompts as your guide. As long as you already have the other requirements such as the right grade point average, recommendation letters, program of study and the like, you can start working on your essay. But if your still not sure whether it good idea to write essay by yourself. You can find tons of great quality writing services such as https://uk-essays.com/research-pape.... At such a websites you’ll easily find help from from people who already have considerable experience in writing a wide variety of essays. They will gladly help in any issue that makes you difficult. -
Question about linux iptables. I am currently blocking all access and whitelisting only when my users launch my software. When software is launched a socket client is also launched, it connects to socket server, identifies itself with a password and disconnects. If given password by socket client is correct, then socket server whitelists the users IP by executing the following command: " iptables -I INPUT -s userIP -j ACCEPT".
My problem is that now I have lots of duplicates of IP's whitelisted and as far as I've heard I should not go over 25k iptable rules.
So my question is how to check if ip is already whitelisted, in order to avoid duplicate iptable rules for for same IP?
Obvious solution would be to store whitelist somewhere (mysql/txt) and double check before whitelisting ip, but maybe there is an easier way to do this?4 -
Mongodb CEO and the developer who build this shit for brains interface should be tarred and feathered. Almost 90minutes in and I cannot connect to anything other than error codes. What in the actual fuck is your job other than to make it difficult for a "free tier" user to connect?
"connect ECONNREFUSED 127.0.0.1:27017"
Oh ok another 20 minutes of work and you give me a bland beige error code like "```TLS/SSL is disabled. If possible, enable TLS/SSL to avoid security vulnerabilities.```"... um ok how do I enable it for your site, your database or on my computer... oh wait you don't say shit do you?
So now I'm fully 81 minutes into this shit show and all I get for error codes are these really descriptive gems 'getaddrinfo ENOTFOUND cluster0.hudbd.mongodb 'dot' net` comes up if I choose `mongo` with "connection string scheme" above it or `bad auth : Authentication failed'7 -
My work laptop broke over the weekend and now I have to use a replacement device… (cue the horror film music) …with Windows 10! (no, not 3628800)
So far I've gone mad about 20 times, including white font on white background, Chrome freezing on login, blurry font, Edge and Bing being opened all the time, displaying the "Users" folder as "Benutzer", despite it not being named that, …
I thought I could avoid Windows 10, I'll leave this company in a few months anyway. But no, the old laptop decided to die with almost the worst possible timing. At least it wasn't early May, then I'll write my final exams, including a five-day-project.
Also, who thought it was a good idea to put the "End" button NOT at the end of the keyboard? I've remapped it on three of my four laptops so far (one already had this arrangement), but on this one I don't even have admin rights. So I press the wrong button every minute or so.1 -
I hate it when I'm knee deep in projects that need to be done before the new CI strategy starts two avoid a three week long full test every two weeks and then my dear boss comes up with having me do the planning for the next testphase while my coworker is scrolling through 9gag. I mean, sorry old man but either I automate this monstrosity of thirty million layers of 'naturally grown', ill documented, identifier lackimg piece of shit or I can do the fucking schedule. My mother isn't an octopus, i've got only two arms...
Tl;dr: Why do non programmers always heavily underestimate the time shit needs to get done? -
When just push to github 2 hours before and u only change the views then theres this " the head of your current commit is different from the repo. Either push and pull to avoid conflicts" u tried pulling and its not working and you only change the views. No branch no other contributer. 😩