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 - "i like it this way"
-
Not that much dev-related, but still...
I wish I had a way of decompiling the code of my life, correcting it and then compiling it. I was diagnosed with Depression yesterday and it has turned me absolutely empty. The kind of empty where you feel like you're a void.
I'll survive. I know that much. I also know that it's going to be even harder than it was before.
Just for lighting the mood. This is also my struggle.50 -
i posted a question 43 seconds ago. there is no way you can read this whole question in 43 seconds and i already have a -1 downvote on stackoverflow.
i feel like these fucking cunts just downvote out of boredom just because they feel like it15 -
I can't watch others use a computer.
That's not how you ask google a question.
You're clicking the wrong way.
You click like an idiot.
Why are you scrolling like that? do you hate moving down the page so mutch it makes you scroll like that?
Why am i forced to sit through this?
When will this end?13 -
I am gonna rage for a bit.
Before I start, know this: I diehard love development, computer science and everythjng surrounding it.
The area comes with a very nice and interesting history and cultural impact. In particular, here as it was in the U.S of A. I love it, I love researching till my eyes beg me to stop and my brain fries. I love reading about history and the silicon knights that madd shit happen through digital wizardry.
And you can only imagine how happy I was when I got my shiny lol B.S in Comp Sci, keep it in my office and errthang.
I
Fucking
Love
My
Field
But. I have noticed something recently. In 2018(obviously before that) this new generation has a knack for making things cringey.
What do I mean by that?
Well, shit like that. Is it necessary? Or what about images(multiple) showing stuff like "double tap for your favorite language!"
Why? Why must we be this way? Why do people find a way to shit all over nice things? Is this shit necessary?
I specially hate pictures of girls showing their legs and right next to them a laptop with some basic af css file --->#codergirl ....fuck off.
Or the trillions of code pictures that are only html or some js framework flavor of the week.
Its just retarded man.38 -
> Manager: Why does service X behaves Y way? It should do Z instead.
> Me: *explains why*
> Manager: I don't understand this...
> Me: *explains it in more simple terms and shorter sentences*
> Manager: I'm still not sure I get it.
> Me: It is like this because of a third party provider and we can't change anything for the same reason. Also it is working like this for half a decade now.
> Manager: Ok, I get it. So please fix the service, it should do Z instead of Y.
> Me: *facepalm* Sorry, I can't. Ask (frontend guy), maybe he can help you.
> Frontend guy a bit later: ┌П┐(ಠ_ಠ)8 -
Hi, am new so i want to say hello!
Like this place and their people so i decide to create an account :D
Sorry for my english. Am on the way to improve it.33 -
Dear Customer,
I think you misunderstand the reason I sent you some documents for review.
I sent the examples to you so that you could see what your inputs produced.
I didn't send them to you so that you could fart out your mouth and about what you want like a little kid.
If there's shit on the page it is because you put that shit in the system ....
Please have someone else who is going to put a little bit of effort into this 'super important project' contact me.
Also bullet points don't work like this:
- Here I talk about a thing but
- and here I continue that thought with no context and incomplete sentences
- Also this is unrelated.
- But this is about the first bullet point again.
- Here I repeat another bullet point but I say it in a completely different way.5 -
I live in an apartment building that has about 20 floors. About once every month, I'm either waiting for the elevator or in it, and the floor indicator display flashes "14" very quickly no matter what floor the elevator is actually on. Whenever this occurs, it's always 14 that gets shown.
This has made me think about what this bug looks like and if it will ever be fixed. Will they ever update the firmware in the elevators? Is it a software issue? It could also be a hardware problem. Either way, every time it happens I think about it and if this bug will ever be fixed.
I've decided to call it the "phantom floor 14 bug."9 -
HO. LY. SHIT.
So this gig I got myself into, they have a whitelist of IP addresses that are allowed to access their web server. It's work-at-home. We just got a new internet provider, and it looks like I get a different public IP address everytime I disconnect and connect to the WIFI. And since it looks like the way they work on their codebase is that you either edit the files right on the server or you download the files that you need to work on, make the changes, and then re-upload the file back to the server and refresh the website to see the changes, now I can't access the server because I get different IP addresses. And it's highly inconvenient to keep emailing them to add IP addresses to the whitelist.
No source control, just straight-up download/upload from/to the server. Like, srsly. So that also means debugging is extremely hard for me because one, they use ColdFusion and I've never used that shit before and two, how the hell do you debug with this style of work?
I just started this last Tuesday, and I already want to call it quits. This is just a pain in the ass and not worth my time. I'll be glad to just go back to driving Lyft/Uber to make money while I look for a full-time, PROPER job.
By the way, can I do that to a contracting job? Just call it quits when you haven't even finished your first task? How does this work?17 -
When I'm coding, I often come up with some cool algos and when I do, I feel pretty good.
But the next second, I get this feeling that I know there are a million other people in the world who have solved the same problem with the same or better algorithm and I feel like shit. Like all the work I put in is somehow redundant.
Like finding answers on StackOverflow... When you do, you know the person who answered has already done it. You're just repeating it. But again, the fact that I'm looking for answers from other people in the first place is ....
I don't know. I guess I need to change the way I code from now on....3 -
Request: I don't like the way the page looks. Make it better.
Question: can you give me some more info? What is it that you dislike about the page? You approved the design, the mockup, the HTML version...and we just finished implementing the backend. Can you be more specific?
Response: make it more like this *gives link to completly new layout from a theme on themeforest*. Why does mine not look like this. Make it like this!
Reaction: *fuck this shit, never freelancing again...* Well, then do it yourself. I'm done!
// best feeling ever :)3 -
Me: "Hey <coworker>, I got this mistake do you know why?"
Coworker: "Seems to me like you didn't put <thing> in there"
Me: "No way, I just edited it here"
*looks at file*
"Oh, I didn't save that"
*saves file*
"Oh hey, it works now 😅"
Office: 🤣🤣🤣
Mondays, I guess 🤷♂️3 -
"...the way he has written the code, it feels nasty man. I would have done it this way..."
Fuck you and your feelings. If you think my code is bad, give justification for it. Explain the fucking reason. Stop saying it "feels" like a bad code.
Fucking tired of this mentality in most of the developers. Why is it that the moment you look at someone else's code, you feel like you would have written it better. Programming is problem solving. And you can solve a problem in couple of different way.
If the code is absolute shit, has followed no best practices then yeah, go ahead and call it a bad code. But just because you would have moved some lines here and there, that doesn't mean the other persons code is horrible.
Goddamit!13 -
I was learning about packets and I was trying pirni (like Wireshark for iPhone) on my local network. I found a packet of my my roommate about a recipe of fancy a fancy dish
me: *enters the kitchen* Bro you need to see this I got this sick recipe of $fancyDish that I really wanna try
le roommate: THERES NO WAY ARE YOU FREAKING KINDING
I know its wrong to spy on peoples trafic but it was worth it hahaha7 -
The company I recently started working for are young guys my age, who want me to create awesome stuff, however I feel is best, and they let me think and try stuff, like new cool design ideas and use latest API's to create the most modern site possible. "Whatever you think is the best way to do it"
And I'm paid a decent salary. This is the first job I liked. Ever. I literally wake up early to get going, and work overtime (without them knowing nor paying extra) because I think this project is so amazing and I feel like giving back.. I usually hate PMs, but these guys rock.4 -
Python: I hate the way it uses True/False over true/false
Java: Static. Just fuck static. oh and System.out.println(), why the fuck did they make the basic print function so long to write.
C#: I despise the way the curly braces get automatically put under the function declaration rather than beside it since it's a language style thing.
C: the inability to declare vars in altho declaration of a forloop. Although I think C11 let's you do this.
Javascript: Fucking prototypes.
Coldfusion: it runs like an elephant. Slow and heavy.
Go: The way the compiler won't let you have unused variables/imports. Pain in the ass for testing.17 -
So this happened...phone somehow turned on in my pocket and the fingerprint sensor rubbed against the fabric a lot of times...didn't have access to my phone for FREAKING 2 HOURS!! Why should my phone get locked by the fingerprint sensor?? The way I see it, if you are someone else, you either have my finger...or you don't...like you could kill me and chop my hand off or be crafty and try and use my finger while I'm asleep or drugged...either way, it wouldn't take that many tries to unlock my phone 😒😒.11
-
I've been a programmer for years now. I've slowly been getting promotions and I'm a senior developer at a large company.
to anyone I look as if I am an extremely good programmer however I constantly feel out of place. I feel like I am way worse at coding than my co-workers and people underneath me but I keep getting complimented on it.
I feel like a fake.
does anyone else feel this?15 -
This is probably gona make me sound arrogant, but fuck it, you don’t know who I am, and I need to RANT!
I hate it when B.A.’s who have never studied UI or UX rail-road over my design decisions, and I just gota go along with it cos they in charge.
Then, when I make the interface the way they want it, all sorts of problems arise… Mother fucker, I saw this shit coming, and that’s why I designed it the way that I did.
Now I gota tell them how to solve the problems by doing what I originally said, and when they finally see the light, I gota waste more time re-doing the interface.
I once went through 5 fucking iterations of “Let’s try it this way”, Just to end up back with my original design spec cos these fuckers can’t even imagine what shit would look like, and how it will interact.
Now you would think after this happens a few times they would learn to trust my design skills, but noooo, Mr B.A. has to piss all over my ideas every time.
And every FUCKING time, we end up going back to what I originally proposed…
Learn your fucking lesson dumb ass!!!
*drops mic & goes straight to the bar*9 -
Fucking sharepoint
I’m fuckin done, editing this website layout is like teaching a kid with ie brain, worse is I need to use a fuckin sharepoint designer 2013 and I’m working on online sharepoint so everytime I saved something it’s delayed and my screen acts like having a motherfuckin seizure when I accidentally scrolled it. Not to mention grid doesn’t work here so I need to lay it out the fuckin old way. Oh the client also wants a fancy navbar so I literally hide the sharepoint desinger navbar and using js create my own navbar inside the container. Fuck you for creating this shit and actually sell it to people, it’s like working on a fucking old tech6 -
Our software uses a lot of video/audio hardware. But this hardware goes away when we deliver to the customer.
So everyone was asked to think of a way to be less depended on hardware.
I thought of a very clever idea and I told it to two senior software engineers who both saw much potential in it.
I've only worked here for close to 2 months. And I feel like this is a major contribution if they'll use my idea
Next week at the brainstorm session I'll have to present my idea (informal meeting)
I'll make an update when I know more3 -
From the guy who wrote all the Programming Microsoft books and the Annotated Turing book. Comes this book.
This book is great for beginners great for people who don’t know a lot about software and how computers work, simple read. I like it because it also gives a different prospective, beginning at Morse code and works up from there all the way up to high level languages.
The book gives snippets of code to discuss it not really a tutorial book. It’s a different type of book that all people could understand.
Good read32 -
At a meeting:
"We don't know why <past developer, they all know who this motherfucker is> did it this way but we have to..."
Me: *slams table* no, stop. I am tired of this. Y'all must've really liked this guy. But he did it this way because he was a fucking idiot.
A
Fucking
Idiot
There is no other reason for this amount of fuckery that I have to be bothered to fix and mess with on A DAILY BASIS so I am gonna go ahead and call it as it is. The dude was a damn moron and no one here stopped him. I know he was a janitor here that got his cute lil associates and y'all wanted some good will hunting shit to happen, but <said dumbass developer is no matt damon"
Them: "YOU CaNt JusT UsE ThaT lanGUAGE"
"Am i gonna fix this shit?"
"Well......no one else kno...."
Me: "exactly"
Legit man i am sick and tired of this shit. I did not earn a B.S in comp sci. Graduated in the top percentage of my class, am suffering through my MCS to fix php like a fucking moron all day.The rest of my web devs backed me up.
Aaaand btw..no, it is not my job. I am a fucking analyst, i provide data reports, i program said reports, i am tasked with this shit because i used to work for then as a web tech.....got a different position cuz i was tired of it...fuck me right?18 -
Once I quit this job, I'm never getting a Mac again. I know many like working on one but for me it just gets in my way, it's naggy, the window manager is clunky, homebrew is a crappy package manager compared to pacman and good do I miss focus follow mouse. This is the third time that I've used macos for insert a year and it has actually gotten less pleasant over time.8
-
This happened via mail thread today.
Boss: we need this new brilliant feature I just made up and running asap! Top priority, it has to be done well, for my reputation is on the line!
Me: *looks at the specifics* 'kay, looks easy enough, this evening max and it will be ready. I just nees some extra info about what kind of data validations (I speak no accountant) are needed, and some other details (a total of 3 questiona).
B: Sure! Remember, it needs to be perfect, as my reputation is at stake. Call me on the phone and I'll give you the details!
M: Can't you answer via mail? Thua way both me and the other devs will have clewr guidelines
B: Just call me! Why do you need it to be written down? It's faster this way!
...Fine. I'll keep asking until you're ready to give me a written answer to my questions. No way I'll take security details via phone for something you want in production this evening. No chance in Hell I'll take responsibility for "misunderstanding" what you said on the phone. Why does it always has to be like that?8 -
A kid that went to my daughter's preschool class died (they are in the 3-4 years old range)
The parents still don't know what their kid died from some virus.
They said the kid became braindead so I'm guessing meningitis?
Meanwhile we're pretty scared, and unsure if we should keep sending our kid.
I'm very disappointed in the way the school handled this, like no quarantine, no fucking notice on our kid's book about how they're going to deal with this.
Fucking piece of shit school.
Everyone on the whatsapp group is sad, saying religious shit. Hello!!!! Can I know what this kid died from so my kids don't die too????
I feel sad for the parents and the kid but... everyone is reacting in a very stupid way to this.
Like no one's gonna even fucking ask if this kid went to class this week and potentially passed it to other kids?
Fuck this dumbass mediocre country.10 -
I'll start this by saying that i am neutral to Linux. I don't hate it but sure as hell don't like it either. But this still pisses me off. Fucking leftists and feminists are dictating how the Linux community should operate and doing so in the most disgusting way possible.
Those cock haters claim they are for inclusiveness but then create a code of conduct that is against white males.
We never cared about race or gender before. But because of actions like this we are starting to treat people differently based on gender and race. It is like we are going backwards instead of progressing and this is because of their "progressive" ideas.
Fuck you, you are making programming not fun anymore.
For me, I'll keep calling a spade a spade and don't give a fuck about anybody's feelings. We all should be doing this to combat this dumb shit being shoved down our throats.
For reference, I'm talking about this https://lulz.com/linux-devs-threate...25 -
Every now and then I see neovim being mentioned here, which sparked my interest. Currently I use vim, vi and the likes. Given that I'm at least somewhat familiar with these, what are the differences between them and neovim, benefits of one or the other, and ease of migration?
As for why I'm not going to Stack Exchange to ask this question - I understand that this will be very opinionated, which I find desirable. There's nothing like actual user experience. But Stack Exchange being the way it is, such questions would be shot down immediately :')8 -
I asked our customer at least 10 times if they really REALLY want the feature this particular way, because it absolutely made no sense..
Guess who got a bug (!!) assigned today in which the feature should be changed like I told them..........7 -
I really like retro games and there is this thing called retropie which turns your raspberry pi into an arcade machine. Since I have way too much time, I decided to built an arcade machine case out of wood with an old TV and analog sticks from Amazon. So yeah, I wired everything together and wanted to share it with you guys. I'm still searching for stickers to put on the top and on the joystick panel, but for now I really like the result. Tell me what you think!14
-
Have you worked on something impressive and wanted to tell a non-programmer about it?
You start to figure out a way to say it, but then you decide 'nah they will not get it'.
But you still want to talk about it with someone so bad... Its super unsatisfying to not be able to explain this tech shit to the people you like.
If you were a pilot, you could say shit like 'i landed a plane during a storm while eating a burrito' and everyone would be like omg thats amazing.
What do I have to say? I made an auto pilot system for a plane, so that a pilot can land it during storm while eating a fucking burrito.. what's their response?
ehm okay <crickets chirping>
🖕🖕9 -
So, it has been 2 months and a half since I started working. So far I learned two important things.
1. Clients are fucking retards. Like really fucked up shit. I don't even understand how they got the job.
2. Working for a company is nothing like an internship. I now realize much they treated me like shit during my internship compared to my current job. I did my internship in a startup and I now work in a big multinational company, I feel way more welcome in this company than in the startup
So far I really enjoy my work and I've been learning more for the past 2 months than during my studies.6 -
Back then, whatever finished tasks I have done, our CTO always contradicts my idea and finds a way to humiliate me. I don't get the point why he did that. Probably, he didn't want me to excel at something or he really does have crab mentality. I already reported this issue to our CEO because I was being harassed and submitted my resignation letter.
And boom! Guess what? It looks like our CTO just stepped a chicken manure and treats me nicely like a princess.
P.S. To be honest, it took him like a couple of months to step down and act normal like nothing happened. Really appreaciated the A-ffort, though!10 -
Why the fuck do people go to so much trouble to justify what they did instead of just admitting they were wrong?
The way I handle this type of people is to first ask a straightforward like "X implies Y, right?" If they answer "yes" I say "then this here isn't right" and watch them go around the world to find a justification for it not being wrong.6 -
I like how I transitioned from learning Java to Javascript because I thought they were related in sone way.
When my teacher first introduced Javascript, he told us this is NOT your grandfather's javascript. Next thing he told us was 'What is this?' My seatmate and I looked at each other perplexed. My teacher once again said 'What IS this?'. It turns out we needed to first learn about the context of 'this' -_-
That moment when you discover Java was a lie o_o3 -
Is it just me who sees this? JS development in a somewhat more complex setting (like vue-storefront) is just a horrible mess.
I have 10+ experience in java, c# and python, and I've never needed more than a a few hours to get into a new codebase, understanding the overall system, being able to guess where to fix a given problem.
But with JS (and also TS for that matter) I'm at my limits. Most of the files look like they don't do anything. There seems to be no structure, both from a file system point of view, nor from a code point of view.
It start with little things like 300 char long lines including various lambdas, closures and ifs with useless variables names, over overly generic and minified method/function names to inconsistent naming of files, classes and basically everything else.
I used to just set a breakpoint somewhere in my code (or in a compiled dependency) wait this it is being hit and go back and forth to learn how the system state changes.
This seems to be highly limited in JS. I didn't find the one way to just being able to debug, everything that is. There are weird things like transpilers, compiler, minifiers, bablers and what not else. There is an error? Go f... yourself ...
And what do I find as the number one tipp all across the internet? Console.log?? are you kidding me, sure just tell me, your kidding me right?
If I would have to describe the JS world in one word, I would use "inconsistency". It's all just a pain in the ass.
I remember when I switcher from VisualStudio/C# to Eclipse/Java I felt like traveling back in time for about 10 years. Everyting seemd so ... old-schoolish, buggy, weird.
When I now switch from java to JS it makes me feel the same way. It's all so highly unproductive, inconsistent, undeterministic, cobbled together.
For one inconveinience the JS communinity seems to like to build huge shitloads of stuff around it, instead of fixing the obvious. And noone seems to see that.
It's like they are all blinded somehow. Currently I'm also trying to implement a small react app based on react-admin. The simplest things to develop and debug are a nightmare. There is so much boilerplate that to write that most people in the internet just keep copying stuff, without even trying to understand what it actually does.
I've always been a guy that tries to understand what the fuck this code actuall does. And for most of the parts I just thing, that the stuff there is useless or could be done in a way more readable way. But instead, all the devs out there just seem to chose the "copy and fix somehow-ish" way.
I'm all in for component-izing stuff. I like encapsulation, I'm a OOP guy by heart. But what react and similar frameworks do is just insane. It's just not right (for some part).
Especially when you have to remember so much stuff that is just mechanics/boilerplate without having any actual "business logical function".
People always say java is so verbose. I don't think it is, there is so few syntax that it almost reads like a prose story. When I look at JS and TS instead, I'm overwhelmed by all the syntax, almost wondering every second line, what the actual fuck this could mean. The boilerplate/logic ration seems way to off ..
So it really makes me wonder, if all you JS devs out there are just so used to that stuff, that you cannot imagine how it could be done better? I still remember my C# days, but I admin that I just got used to java. So I can somehow understand that all. But JS is just another few levels less deeper.
But maybe I'm just lazy and too old ...4 -
This week actually. We had an Innovation Week. I was tired of waiting for the company's collaboration tech team to give us some kind of virtual whiteboard system (they also won't let us use things like Google Hangouts or Microsoft One Note, etc...so they make remote collaboration and planning almost impossible)
Anyways long story aside I proposed we make a virtual whiteboard we could host internally as a web app using STOMP over Websocket. They said "there's no way you can finish that in a week". I did.
And it came out great. It even supports pressure sensitivity and different brush textures. Everyone loves it and teams are like...wow we could use this member facing too. Had like 5 people around my desk connected to it drawing dicks for like 30 minutes. Then our boss joined remotely and saw the dicks. They laughed their ass off.
tldr; was told there was no way I would complete an ambitious innovation project...completed it with style. Damn I am good. -
Rant !Dev
News says FB took a huge plunge and Zuckerburg lost $15 billion in 1 day and this is the result of all the privacy breaches
I'm looking at the price charts and even from my memory, it's still higher than when I checked last time.
Am I missing something or it seems news these days and the headline journalists are just monkeys finding the quickest way to get attention and some money? And reporting things out of context... Too me it just looks like a market correction... Just like bitcoins...3 -
I recently joined a new company where work is quite different than my previous company.
Every day at work is challenging for me. There is good exposure to learn technology in depth. But time constraint to deliver module like under 3 days does not let me learn my work, also I am not satisfy with the quality of my code that I provide, it more looks like a patch. In my previous company I was favorite developer of my team but here I feel like a fresher who doesn't know from where to start.
Even I feel like my presence does not make any impact in office as I am just like an extra player of the team. I am slow at my work because I learn then I code due to which my manager does not consider me for any new work. I feel like left out in my team.
Once I overheard one of my colleague he called me helpless and were making fun of me. With every passing day I am losing my confidence.
I have no github reputation. It's like I am jack of all trades but master of none.
Every day is like big fight day in office.
I know our only way to survive in this industry is to keep on learning but in smart way. I am not sure what's that smart way?
Any advice would be helpful.4 -
I feel like the web frontend landscape has gone to hell...
It used to be a priority to develop lean front end applications that load fast and work the same on most devices. If resources are required you try to share them. I have always liked the way this was solved using CDN.
Proper workflow: include some small libs you might need, script your interactions, test site, deliver.
And now our friends of the Javascript community have discovered the nuclear science called npm... It started off as this great benefit allowing frontenders to complete entire projects in the language they know and love but I feel like it has grown into an abomination that produces bulky applications with more boilerplate configuration than actual active code...
Surely I can't be the only one who is completely fed up with the direction this is going? Is anyone else looking for a lean way of developing javascript again using only a couple of small libs instead of those monstrous frameworks.
I have even considered to develop a library that makes it easy to develop with CDN (and dependencies) in mind but I don't even know if it will be worth it as more and more people tend to move away from it.
I'm sad10 -
I hate being so insecure. I don't start developing an idea because I think I won't be able to do it, I don't code together with someone who is better than me because I think they'll make fun of me or think I'm doing it wrong, I don't speak up in class even though I probably, definitely, know the answer. I feel like I'll never get anywhere if I remain this way. Anyone have some advice? Thanks11
-
So I had a thought this morning while brushing my teeth.....maybe I should change my devRant avatars clothes every day? That way it looks like a real person and stuffs......then it HIT me suddenly.....I'm a fucking loser.1
-
Installing Unreal plugins from github be like:
clone, try to build
unreal: nah
me: can you tell me why?
unreal: nah
me: please?
unreal: nah
...
me: With the powers of MS VS I command you, tell me why the fuck you aren't building!?!
unreal: yeah I need that dependency in this plugin fo rmotion tracking
me: we don't do motion tracking *comment it out*
unreal: there I build it.
... I feel like I was a Karen, went to talk to the manager (VS) who gave me a proper explanation to why the employee had to behave this way.2 -
Public class Canadian {
Im a proud Canadian myself;
To bad I hate the cold;
not like it matters anyways;
if(computer.hasWaterCooling()){
window.close();
heater.isActive(true);
}
}
(Ok I started typing this and noticed I was over using semicolons, had to go all the way)8 -
Languages like python and R are some-what high level languages, with an easy syntax and very readable code. This useful essentially to make it easier for non-programmers to use it. For me as a software developer with +4 years of professional programming. I started with Assembly, Quick-Basic to C++, Java then C#, I found Python super convenient, and at times way too convenient.
At first it felt like I was cheating, and would not consider myself actually writing code, more like pseudo-coding.
After a year or so, I got used to it and it became my default, but it still does not feel right .. is anyone else feeling the same?
I do believe that coding the hard way is not always the right way, but I am just wired that way.17 -
I feel like Stackoverflow is a fastfood for programmers mind. It gives you a solution you starve for. It may be not the best quality, but it works for now. It does not satisfy you in a long run, and may be too shallow for advancing. But it works and gives you more to think about.
I would never find a quick solution to parse a string with regex. I never thought it works this way. But hey, I'm happy.9 -
>dad nagging to learn python
>i hate python
>cuz i hate snakes
>whatever
>so started learning it
>with some awesome video tutorials
>even though i like the instructor
>i find the language
>boring
>uhh
>why do u use this?
>oh and you say it is easy 4 begineers
>oh good
>then why does only
>del keyword gets highlighted in pycharm
>just to look cool i guess
>lua is way better
>hope lua is more used than python
>and more supported
>but i still like C#
Moral: C# rocks10 -
Rant on adaptive brightness....
So basically on my laptop there is this "function" that if the screen is mostly black it lowers the brightness, while if it's white makes it higher....
This means, if you are on devrant or discord or visual studio or any dark UI and then switch to something like google you will get freaking blinded by the max brightness, and when you'll switch back to the first program due to the lower brightness it won't look good and also it will be annoying to the eyes, and you CAN'T make it brighter because that's already the max brightness
...
WHO THE F*CK THOUGHT IT WAS GOING TO BE A GOOD IDEA
If you really want to do something like this at least make it opposite: white screen low brightness, black screen higher brightness.
Well, i don't like it, maybe someone likes it, so can i disable it ?
NO
I have it disabled both in power saving settings and in the intel control panel but it's still active, the only way to fix it is set a registry key i found online and then reboot, but guess what, after one or two weeks it reverts back to enabled :/3 -
Time for a soap box rant.
I just found this in one of our projects. I've simplified the example to make it more anonymous.
When I see code like this it automatically means there is a lack of attention to enumerations and/or understanding of what they are.
One may argue that in a certain execution of code it's a minor performance hit and therefore insignificant. It's still a performance hit. Furthermore, it takes even less time to do it the right way than it does to do it the wrong way.
Every one of these lines will enumerate the list from the beginning to try and find that one element you're interested in. Big O notation, people.
Throw that crap into a dictionary or hashset or similarly applicable data structure with direct reads at the beginning of your logic so that it only gets enumerated ONCE when the data structure instance is created. Then access it however many times you want.
Soap box rant over.15 -
I started thinking and worrying about numbers much more than before
in the US, you write numbers like this:
1,000.00
in Germany usually like this:
1.000,00
and in programming languages like this:
1000.00
now i wonder how to type a number, whenever i have to use german software
should i use the US way, the german way or the dev way? the wrong one could possibly break it11 -
Remember the post about bruce's constant?(4.5099806905005)
Well apparently theres a convergent series for it found all the way back in 2015.
Apparently its an actual thing. Which connects e to the square root of this series.
And it converges on (bruce-1)**0.5.
I confirmed it myself.
The two people who found the series that converges are N. J. A. Sloane and Hiroaki Yamanouchi
Thank you Sloane and Hiroaki!
The actual formula is a series of embedded square roots with the repeating numbers 1,4,2,8,5,7
like so...
sqrt(1+sqrt(4+sqrt(2+sqrt(8+sqrt...
What this means is you can find e using this series.
All you do is run the series, raise by a power of 2, add 1, calculate J and K like so
J = log(2, 1.333333333333333) / log(2, 2)
K = log(2, 1.333333333333333) / log(2, 3)
then calculate (J+K)-(bruce-1)
and out pops our buddy e:
2.7182818284591317
I guess I bullshitted myself for so long, that I didn't believe people like scor when they said they legit witnessed by math skills grow.
Or maybe a blind squirrel occasionally DOES find a nut.
Pretty cool find either way.13 -
Well, this is a rant about devRant! Sorry.
I like devRant, especially when my internet connection is fast. But when it is not, it is very annoying to wait for a rant to load whenever I click [read more]. I found myself skipping interesting rants that I want to read just coz I don't wanna be waiting doing nothing during the loading screen!
Suggestions for how to improve this:
- Just like facebook and devRant web app, Increase the limit of the text that loaded when loading the rants feed. Not all of it has to be visible in the feed, but when clicking read more, show the rest so I can continue reading the rant while the comments are loaded.
- If not, then like youtube, load the whole rant first from the server when clicking read more before loading the comments.
- (Even for short rants) when clicking on a rant, show the loaded text while fetching the rest of the rant. This way I can at least click the rant, and continue reading till the rest of it (or comments) is loaded.6 -
Just got into web development.
Y U NOT WORKING RIGHT?
How do you guys make really complex websites when I can even center an unordered list without the first child...
I write something like align-vertically: center;
And what does it do? NOTHING!
And if it does something, it mirrors the whole page, makes it all bright pink and then everything explodes and I'm alone in a dark void, only me and my PC are there and somehow I have access to the internet.
And then I look it up at stackoverflow and I'm like: Oh, ok, I'll do it this way then.
And it still doesn't work and does absolutly nothing!
So I'm trapped in this void of nothingness till the end of my days.
At least that's what it feels like.9 -
!rant
I put programming on a long hold a few months ago, but after I browse the playstore and randomly get recommended this app and install it I re-discovered my love for programming. I've been so motivated like I was pretty much never. I learned C#. I've completed my projects that sat around for way to long.
I'd like to just THANK YOU guys. You are an amazing community. -
I feel so guilty.
I had to make a hotfix today. It is the ugliest piece of shit code I ever intentionally created. But there was no other way. I swear there was no other fucking way!
My boss just assigned this to me. But because she thinks this needs to be a hotfix and can't wait for the next release we just have to change the server and not the client side of our application.
So I had to add a memory to our server so that it knows from which high level method from the client the multiple low level calls to it are coming from.
It just doesn't make sense logically.
I mean I feel like I killed someone. And just so that we get less writes to our DB. I mean yes in some edge cases it is a huge speed-up...
But nothing this fix solves is a new bug.
I'm gonna take a shower now. For like an hour3 -
(semi-rant)
The new MacBook Pro's front is NOT metal. It's made out of some plastic despite looking like brush metal.
I learnt this the hard way when i accidentally ran my keys across it and gave it a nasty scratch.
Every time i see it, i feel an irritable itch that i can't scratch.
Luckily, i have the perfect bandage.24 -
This is stupid but i think is my best idea yet.
So i have an old orange pi, with only 256m memory. Its running a few tasks i need but i wanted to use it for controlling a few things from my phone (lights and powering on my pc) so i thought i would make a server for that. Now mind you, my shirt doesnt say "lightweight backend language", so there was no way the pi couldve handled a struts server. I was digging around and found that php has a shell_exec command. Then it clicked, and i wrote the whole system like
shell_exec("java -jar someprocess.jar"). Now this sounds really stupid but it works and php is really light so it doesnt even slow it down that much.
Thinking about making this into some kinda server/framework/something just for fun.4 -
Please bug test your websites heavily. Don't be like this.
Should be mentioned, under normal circumstances this never hits more than 500 MB (still way too much for what it is). However, I somehow got the website to absolutely shit itself and cause this amazing sight to behold (2.6GB/4GB used by the website alone.)
I believe this was caused by some poorly coded JavaScript, subsequently causing a memory leak.
(Yeah I have 2 browsers open so what?)
(Also taken with a shitty camera then also edited. Lost the original because I'm an idiot.)8 -
Me: "So, this is a new way to show to your clients the daily menu using a QR Code and..."
Client: "I like it. I wanna buy it."
Me: "What?"
Client:"This QR-thing. I wanna be the only one using it"
Me:"But you can't buy the QR Code technol..."
Client:"Don't bother me. I want it. And when I want it, I get it. I can pay, you know."
Me:"Ehm......Oooook."
Me: "It's 10$ for every QR Code that we, and only we, will create! But, hey! Shhh!!"6 -
I just saw this job opening for visual artists (not me at all, but still curious what kind of person they are looking for).
https://artstation.com/jobs/J1OY/
It's so detailed, a person applying would immediately know what is expected of them and what their role will be. Why isnt this like this for most programming jobs?
Example of programming job opening descriptions:
Knowledge of a backend language (ex: python, java, C++)
Experience with databases
Experience with making and using APIs
This does not in any way describe what I will do at all. (yes this is a copy of most useful information of a job offer I recently got). It does not state which language to work with (I know none of the listed ones, but I do know PHP, C# and javascript/typescript (yes I know) for backend languages.
What kind of database experience? I have worked as supermarket employee and when I had to order new things I had to use a application to update the database. (Ive done more, but who does not have experience with any kind of database in any way)
TL;DR The artist job opening description is so well described. Why isnt it that way for programmers more often -
decided to participate in a short c++ curse at uni, just to refresh my memory about it since it seems rather important.
Got sidetracked at the preparation task, which was the usual hello world...
I'm running this in emacs now...
Like, one view is the program and under it is the shell run from inside emacs...
I dunno why... send help?
Now I'm considering how can I configure the emacs shell in a fun way.. oh dear.7 -
I really invested into this work from home lifestyle, moving in an appartment where i could have my own office, upgrading my personal workstation, leaving overpriced locations close to subways behind.. so i do hope it will remain like this for at least a few more years (or why not, even forever for dev roles)
It's way better than a shitty office placed in location equally incomfortable for everyone
Otherwise.. well, there is always the option to go freelancing from home3 -
Today at 'Derp & Co' a fellow co-worker decided that had duplicated data on Relational DB is good!
- Dev: 'but what if we have 2 companies in diferents groups?''
- co-worker: 'Just call it company A and Company B'
- Dev: 'but... this is not what...'
- co-worker: 'Trust me Dev, is the easy way'
I want the professional way, not the easy (and damn wrong) way :(, I can't improve myself like this.
Also, dead line is here too... TT^TT
Last sprint and still with doubts about the DB structure.12 -
A long time ago, I've started my journey into web development. Discovered HTML, CSS and was great, then it came WordPress.
As a self taught developer I thought this was an awesome way to develop sites quicker, didn't really knew any better and, for all I did at the time it was fine.
Then I discovered .NET and MVC, I was amazed (I kinda love the MVC pattern)
Then it came Laravel, really really liked working with it, felt free to develop isntead of focusing on mundane stuff
Last week a client came by, requesting a site for his business, he wanted all sorts of custom stuff, but he needed it in WordPress because that is what he knows how to use.
After three days of dealing with "the WordPress way" I'm seriously considering doing the whole thing in Laravel and style the admin to look like WordPress. I feel like wrestling a 500 pound gorilla, geez, why do every little feature has to be implemented in such an unnatural way.
I'm grabbing a hook but to hang myself on it5 -
https://github.com/serde-rs/serde/...
Shit like this makes me wonder, wtf is going on in some developers heads.
TL;DR: serde devs sneakily forced precompiled libraries onto all of the users of the library using serde_derive without an obvious way to verify, what's in this binary and no obvious way to opt out, essentially causing all sorts of havoc.
The last thing i want in a fucking Serialization library (especially the most popular one) is to not being able to verify if something shady is going on or not. All in the name of compilation speed.
Yeah compilation speed my ass.
The worst thing of it all is, even if i decide to drop serde as a direct dependency, it will still download the binary and potentially use it, because of transient dependencies. But i guess, i will try to disable serde wherever possible and implement my own solution for that. Thanks but no thanks.
This is so fucking stupid, it's unbelievable.21 -
OKAY BUT WHY THE FUCK DO PEOPLE HAVE TO ACT LIKE THEY'RE SOME KIND OF GOD WHEN THEY CAN'T EVEN PASS AN INTRO CLASS. Some background: I go to an early college in high school program which offers computer science where you take two college classes a semester starting you junior year in high school. AND THIS GIRL TALKS ABOUT THIS PROGRAM LIKE IT'S AWFUL AND SHE HATES IT AND HOW THE PROFESSORS DON'T TEACH AND SHE FAILED AN INTRO TO PROGRAMMING CLASS WHICH TEACHES JAVA BUT THEN SHE ACTS LIKE SHE'S WAY ABOVE THE OTHER KIDS IN MY CLASS BECAUSE SHE'S RETAKING IT. SHE'S ALSO A STUDENT ASSISTANT IN MY CYBER SECURITY CLASS BUT DOESN'T KNOW WHAT THE localhost IP IS. I UNDERSTAND THAT I DON'T KNOW EVERYTHING BUT AT LEAST I DON'T ACT LIKE I DO. IT'S SO INFURIATING!!!!!!
-
Ughhhhhh. This fucking code is a disaster! The guy says he built it DRY, but it's WET as fuck! So much fucking repeated code!
I'm annoyed most because I know that it'd be a fucking waste of time to try and rebuild what these guys have built over the past 5 years, but goddamn it, it shouldn't be an excuse to keep on making code like this!
I know that I'm not super experienced in C# but pick up a goddamn book on good coding practices. This thing is a disjointed mess and it never had to get this way.
So many fucking interfaces!!!! AAAAAAAAAAAAAAA19 -
Many people / engineers around me talk about trendy stuff like Cybersecurity or AI and show off what great encryption and neuronal networks they 'have built' ( I would rather say 'using').
I kinda get the feeling of 'Everbody talks about it - no one really knows what's goin' on inside (especially those guys who hate math and even algorithms).'
Am I just stupid or does somebody else here feel the same way? I mean people have been doing serious research about this stuff for years. And currently many kids are coming up with it as if it is easy stuff like the bubble sort.4 -
"hey i want to print hello world to the terminal, can someone help me?"
>You should use ai for this, construct a neural network and feed it data.
>node has a great framework for printing to the terminal, use npm i termprinter && tp create-app
>*20 line bash script with esoteric unix tools nobodys heard of*
>hey i did this in unity, heres a link to my 30 minute long youtube tutorial
I somehow feel like the barrier of entry for programming has been lowered way too drastically.10 -
Real Incident (India)
So, this one time, out of the Blue, my engineering manager said "Let's, Shit together sometime."
I was like "Yeah, Sure. Sounds like a great Idea."
**-(Wondering why am I always so Agreeable to her 😒)
She has a bit of an accent and I realised she actually meant "Sit".
What a bummer!!! I was really looking for some intimacy, not the ideal way, but, it was something nonetheless.
Ha!
Back to the Screen, now!4 -
Need to rant. I am doing programming 2 at university with java and the assessment is to make a card game. The subject is shit and is basically going over loops, variables, conditionals ect which we learned in introduction to programming and programming 1.
This leaves little time for oop principles, design patterns inherentance and all other useful stuff.
I am dedicated to making a career in programming and want to do my assessment the correct oop way. Although the lecturer doesn't care and is instructing the class to do it procedurally and shit.
I could do the program really quickly the shit procedural way and still get full marks but I feel dirty as hell coding like a scrub. So I'm 60 hours in on this assessment and there are so many classes and even more because of unit testing (we don't have to unit test) and I am spending way too much time.
My code is beautiful, my classes are tiny and maintainable, easy to modify and I'm learning so much about how to code oop the correct way with the help of a mentor and someone I look up to. But god does it take forever to code this way. And soo many iterations and redesigns because I'm still learning.
It's almost done but now I have another programming assessment for another class I'll have to do the dirty way because of time restraints and other assessments.
Sorry for wall of text but this is stressing me out 😛4 -
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 -
So I was changing some CSS, but the changes weren't showing.
Was it being cached? Nope
Was the selector wrong? Nope
Well it was the right file yeah? Yup
So after like 10min of scratching my head, restarting the server, etc it turns out I was checking prod instead of dev.
This isn't even the first time this has happened 😑
Guys just remember to keep your dev tab and your prod tab away from each other, like way away.8 -
First week at job as newly graduated from CompSci. And I feel like a fucking monkey trying to figure out how everything works, I have help from the main developer but it feels like I have to ask questions all the time and I can feel the judgement in his voice. Today I committed my first lines of code (phoneformatting) and he basically had to hold my hand the whole way through. I feel like shit atm, I really want to be good at this, I watch tutorials but when it comes down to it my mind just blanks out and I can't figure out how to even write a simple fucking method in php (which he did and my brain just shut down ). Please help me, how do I improve at remembering all these terminologies, I feel like if I keep it up like this they won't have me around for long.7
-
Today is just one of those bad days where I just don't even want to be in the office (yet outside it's rainy as fuck)
Either way I gotta make this oculus go app and I have to look into the headset every like 5 minutes to test it.
Damn VR programming is just so awesome bc you can literally sleep with headset on and none will find out1 -
I gotta say, I actually admire the work that content creators must go thru to make quality content.
So as I stated before I’m working on YouTube channel, under the name “TheSoftwareSage” ... to create tutorials and a way of me teaching software the way I believe it should be taught, not how the mainstream methods of today are.
Bottom up approach rather than top down
(Must start with a firm understanding of the foundation.. and build upon the knowledge as we go thru the layers of abstraction but the key concepts must be understood first)
Anyway, I’m working on this in my spare time and I was not aware of how much effort I would actually need todo this right haha. At first I figured I’d just screencast a monitor and have a ppt or text editor or terminal open and that stuff and just do it.
As In person with my interns I never have “planned” lessons or content is all impromptu based on the need at the time and I just go with it, with their computers and a whiteboard lol.
I was wrong for video recording lol... maybe it’s OCD... or perfectionism, I’ll make a video, review it like 5times and then be like shit I forgot to mention this or that or I didn’t like how I explained this or that
OR
I keep worrying too much about colors, and sound levels and quality and transitions and video angles and all this other shit.
And then post editing fuck.... I’m about ready to say fuck it and “do it live .. one shot” and just upload the end result.
I guess this would be in the content world similar to our “paralysis analysis” notion.10 -
Here I am just tryna browse a site and this stupid attempt to trick me into falling for a scam pops up. There is no way to stop the pop up because I can’t tap anything fast enough. Not even restarting the browser because it remembers this as the last URL it had accessed. Looks like I have to uninstall and reinstall chrome. Honestly, if you’re a scammer, what the hell is the point of doing this? What idiot is going to call the number? All it does is annoy you to the point of suspicion. Or maybe there are people stupid enough!?7
-
My company is 8 days late to pay my salary.
The government (uae) recommended a 4.5 work week and my company hinted they wont abide by it
My company promised us bonuses and shares a year ago that we still didnt get
Altho we have been working remotely for 2 years due to covid, they are also trying to enforce going to the office...
Everything about the company is way too toxic
I want to leave ...
but all my applications get ghosted so i feel like a slave, its like i need this company otherwise im jobless. I haye this6 -
The presumption of incompetence:
Has this ever happened to you?
Starting a task and chatting with a fellow dev-- my first time implementing analytics in this particular app. I mentioned to them that I've been doing analytics implementation on various apps at our company for years, but our current apps' analytics setup is the most intense and this will be a good learning experience for me to dig into.
They responded by sending me code snippets of existing analytics implementations to help me. Not hidden or lesser-known classes, very obvious ones I already had open and was working off of. With advice like "just search the codebase for 'analytics' and 'trackPage''" lol.
I like this person a lot, but this definitely caught me off guard. It felt like something her obtuse manager would do, but not her. This would probably not be a big deal to most but I'm so used to being given unsolicited/unhelpful/irrelevant advice from male devs, and having to be pleasant and thank them, this one was tough to witness.
How do you respond to unsolicited "help"? Does it bruise your ego the way it bruises mine? lol12 -
Being a junior and part of a small team at a startup, working with a new software architecture, even the team lead is a beginner in it. It feels like I'm at an echo chamber, there's nobody expert enough to look up to if stuck, decisions seem to be based on opinions rather than an architectural design kinda point of view.
Ugh, I hope I'm not the only here ever feeling this way.7 -
Tech interview prep on leetCode... I solved this but wanted to read the optimal solution. I check the Solution page..... 😟 🙁 ☹️ 😣 😖 😖 😫 😩 😩 😦 😧 😮 😬 😬 😵
https://leetcode.com/problems/...
The way I solved it, basically just did a merge of the 2 lists as is iterates thru them...
Ialright i need a break after i try to understand this...
btw, tech/CS workers, when you approach a real problem do you think like this? Solve the problems in Big O and math symbols?7 -
The best/worst code comments you have ever seen?
Mine:
//Upload didn't work, have to react:
system.println('no result');
//$Message gives out a message in the compiler log.
{$Message Hint 'Feed the cat'}
//Not really needed
//Closed source - Why even comments?
//Looks like bullshit, but it has to be done this way.
//This one's really fucked up.
//If it crashes, click again.
asm JMP START end; //because no goto XP
catch {
//shit happens
}
//OMG!!! And this works???
asm
...
mov [0], 0 //uh, maybe there is a better way of throw an exception
...
mov [0], 0 //still a strange way to notify of an error
// this makes it exiting -- in other words: unstable !!!!!
//Paranoic - can't happen, but I trust no one.
else {
//please no -.-
sleep(0);
}
//wuppdi
for (int i = random(500); i < 1000 + random(500 + random(250)); i++)
{
// Do crap, so its harder to decompile
}
//This job would be great if it wasn't for the f**king customers.
//TODO: place this peace of code somewhere else...
// Beware of bugs in the code above; I have only proved it correct, not tried it.
{$IFDEF VER93}
//Good luck
{$DEFINE VER9x}
{$ENDIF}
//THIS SHIT IS LEAKING! SOMEONE FIX IT! :)
/* no comment */5 -
When someone asks me a tecnical question in something i'm interested in:
"It works like this ... Oh i also should explain you how processors work ... Anyway, when a bufferoverflow arises ... And thats how crypthography works ... and so does blockchain work ... anf thats why bitcoin is causing way too many stress on the power grid."7 -
I didn't think this were true when I started out programming in the field, but now that I've been working for a few years, I've discovered this:
While your technical expertise does matter, it does not weigh as hard through as how likeable you are; that's right, likeable. You can be an idiot, yet if you make people like you and pull the right strings, people will think you're this grand genius (while you're not!). How perception matters..
Soft skills matter somewhat, but I discovered they can make or break it. I noticed people like to be idiots and frolic around instead of taking things seriously that need to be taken seriously.
Here I am, with my expertise. People don't like me - and it makes them judge me the wrong way, like I'm stupid. Yes, imagine that, you with more skills, being looked at as stupid by idiots with little the fewer skills.
It would be neat if I were valued for my skills, not how much someone likes me!
This industry is... disappointing.10 -
I hate it when I ask about a way to solve a very specific problem in js, and people be like:
"You should use this x library, it has the y utility that will solve your problem right away"3 -
Just picked this up for my goals this year. If I don't like it, I can always sell it off and I don't like having to switch between screens on my laptop for tutorials. Has anyone used How to Learn Python the Hard Way? Did you like it? Hate it?5
-
Decided to start using my smart watch again, mainly to track steps and pulse.
It has this weird "body battery" measurement, supposedly it shows how much energy you have left out of 100.
My problem is that I'm apparently in a sleep like state when I'm coding (low pulse, no movement and low breath count), so it charges my "body battery"... But I'm actually working...
Thus the watch is like: "no way you need to sleep now, you slept all day", when I head for bed...
Fuck me.4 -
Here's what overthinking sounds like -
My mom was watching me coding on VSCode and said - You just type things in colors and get paid.
I thought - wow i never thought about it that way. For me it's syntax highlighting but to someone else it's writing code in colors.
This must be the same way for butchers where they don't think how precious life is - killing animals is just a part of their job.
Same with child traffickers - They don't care about human lives or emotions. It's a job for them to do what they do.
Same with military generals or assassins.17 -
It seems like I'm going on an assignment to a company working with Angular. Reading through the documentation I just want to ask all Java developers to get their greasy hands out of JavaScript. It feels like GWT all over again with Google reinventing core JS technologies just so that it looks like Java. Dependency injections? Observable wrappers? RxJS in general? WHAT IS THE POINT? Why can't I do this in a way adhering to web standards? Why can't I simply use fetch() or axios or whatever? Why can't you support reactivity without forcing me to write more boilerplate than I had on my central heating boiler? I just want to code and not be forced to discover what Google developers think web should be like.
Please, let me out of this hell.
Fortunately, it's not gonna be a long assignment.3 -
While it's totally not without its valid use cases, I fucking hate pair programming.
Well, let me elaborate. I hate *remote* pair programming. It completely disrupts my flow and wastes so much time with additional water cooler nonsense, and pedantic argument for the sake of participation. Not to mention "oh hey let me see how you did this... Oh, you know what, I think it would be better to do it this way...". Ok, great, we weren't even discussing that, but sure, let's completely detail this session to refactor something that could have come up at a good transition point, like I dunno, say a code review?
Like I said, there are very good reasons to pair program, but I would much prefer rubber ducking wherever possible.2 -
(inspired by another rant I read here)
Last semester we were learning Java in the Programming Fundamentals class and a friend of mine asked for help with an assignment.
The objective was to make a virtual store (as a console app) in which the user would be able to select a few products, customize some of them and then the program would print out a receipt, with a list of all products, their prices, and the total cost.
Simple enough I thought, but there was a catch: you were not allowed to use arrays because the teacher hadn't taught that to the class yet. So I was like "how the fuck are you supposed to do this then?". Turns out the way to do it was to just append text to a string in order to generate the receipt. This is stupidly simple, so stupid that it didn't even cross my mind.
It's just that it's an awful way to architecture your code, it's just plain shit. Sure, if you're learning programming that's completely ok, but using that code on production is just completely unfeasible and I think that's why it didn't even cross my mind to do it this way. I'm just constantly worrying about performance and good code architecture and organization that the simplest of all solutions slipped my mind. When I finally discovered the way the teacher wanted us to do it I just wanted to kill myself...3 -
!rant
Communication is IMPORTANT, and the way to approach someone is also IMPORTANT.
I experienced that my colleague is from China, and his English accent is so strong (in the context of not understandable, like the word 'folder' he pronounces it 'foda', and the word 'code' he pronounces it 'korr') that I have to ask him to repeat himself (which sometimes I felt guilty to ask him to repeat for thrice, and I am still not able to understand) or maybe we can do it over text. It is much easier to understand him that way and I can leverage these texts to see a bigger picture of the message.
From this, I realised I need to work more on understanding what he is going to say and what he actually meant.
Any advice for me?9 -
I have a problem!
I used to love programming and I really had a passion for it! I was a fast learner and realized quickly that I had a talent for this. It felt obvious that I should go for a career as a software developer! I have now been working with this professionally for about 2.5 years and I already hate it! I'm not sure if it's the job or the career that I hate but all my creativity and passion for this is gone! I feel like it's way too early to get tired of a career!
Has anyone else been through something similar? Is it a phase? Should I get a new job? Should I change career completely?20 -
.... herein is a major reason I despise this time period.
Between people uniting to turn every masonic and historical site look like absolute shit, its being stoked over something new: a repeat film release from way back in 2021 of an arthurian legend....
and diverse workforce practices strike again.
can you see in this image why this film might suck and be a pussy production not meant to entertain anyone who actually questions historical or even literary precedence ?
If I haven't mentioned this recently.
I hate you half baked fucks. I mean my god. Nell Flanders has morgan freeman in it and they managed to set a decent message in it without being inaccurate !37 -
Did you know? TL;DR stands for "too long; didn't read".
BUT DID YOU FUCKING KNOW THAT THE REST OF THE FUCKING TEXT MATTERS TOO?
Fucking read the rest before trying to be helpful. You wouldn't discuss a book after reading the summary, the same applies to questions.
"just do it like that"
"But that's not what I asked, I need it this way"
"Why would you need it this way?"
"ID fucking K. Maybe I left a fucking hint about that in the context? Can you spare like one or two minutes to read the context?"2 -
They did it. They really did it.
Oh my... I can't believe it.
I suggested app admins find a way to enable keep-alive in the app. And they installed it.
I mean it. KeepAlive_setup_v1.4.msi is what I found on the desktop.
Next, I feel like suggesting to download more RAM... After this stunt, I wouldn't even be surprised.....2 -
this year i finally found a job where I don't feel like dying, and it pays well. things are going so smoothly that I'm a bit weirded out, in a good way.
the work as a dev requires creativity and is mentally exhausting, but i got a nice routine going on (not a lot of programming, mostly database maintenance), and even with the high pressure I'm still fine :) -
Them: You have 6 days to build this frontend page for our wordpress site.
Me: Ok...
*proceeds to spend 4 days trying to arse my way towards a semi reasonable bootstrapped website based on the existing website's styling.*
Me: *Presents website*, so... uh... yeah, I don't usually do frontend stuff, I'm more of a backend dev, but here's what I could do.
Them: This looks like absolute horseshit.
Me: So what do you not like about it?
Them: All of it. It doesn't look anything like the wireframe that I gave you.
Me: Ok... So let me get this straight, you want it to look exactly like how you designed it in your wireframe? *wireframe looks like a child drew it*
Them: Yes! Is that so hard?
Me: I mean, it's a little hard. I'm not exactly a front end developer. Aside from that, I think this design is not very user-friendly.
Them: we don't care about your opinions, OP. Get back in there and make it look exactly like the wireframe.
Me: Ok.
*proceeds to go to fiverr, and contract someone else to do it for me while I get to do fun stuff in the back end.* 😂
----
We'll see what they think of the project when it gets back to me. Wish me luck guys.1 -
So working on the cutting edge of 3d scanning (think project tango) i feel like my boss and his client are trying to sell a sham.
The technology is amazing but very limited. They are trying to sell magic. The PoC barrely works properly by their standards, and the one they are trying to sell to saw a fluke in behaviour that made it appear as if the PoC worked like how they are trying to sell it.
I hear them brooding over this plan to just sell that without any real plans to make this project work. There is no way they can make it work eithout compromises.
I do not want to be part of this ._.2 -
FUCK YOU!!! HOW CANT YOU SEE THAT EVERY TIME I SUGGEST TO SEPARATE OUR FUCKING WORKFLOW WITH FRONT END/BACK END AND TRY TO INTRODUCE AT LEAST SOME MANAGEMENT TO THIS SHIT HOLE ITS MY WAY OF SAYING: look dude, I like it here but fuck you shit face if I have to deal with this fucking CSS bullshit one more time there are going to be delays everywhere ...
Fuck you CSS.1 -
Just writing this because i’m stressed as fuck and i’m currently having my second sleepless night in a row...
Like i mentioned earlier i have 4 projects on my name. Two are on a real tight deadline, the other two are smaller, more support like issues.
Last week i got asked basically to get about 20 storypoints done in two hours by my Scrum master. Ehh no. Impossible. Wish i could do magic...
Yesterday i had to make a quick hotfix between the two bigger projects. Tried to reject this but had to do this any way. (It was basically the clients fault/content)
Also, f’d it up because there are current changes that are ready for deploy but haven’t been approved yet.
Do i get a f’ckin email this morning about how the progress wasn’t followed and the git permissions aren’t right.
You fucking twat! If i i did have ANY freaking minute in my planning to actually take the time for this damn hotfix this didn’t happen any way! You’re fucking restrictions only make things harder you goddamn motherfucking morron!8 -
@allBeginners:
It's not about which language to pick or which problem to solve. It starts with thinking like a programmer.
I think that this guy educates quite well: https://youtu.be/azcrPFhaY9k
TLDW: Write your problem in English first and then translate that into simple code, not the other way around. If it does not work, you told the wrong things to the computer; its not the computer failing.4 -
[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 -
I hate this company so much. I was tasked to write a simple program wrapped in an API. They gave me freedom of choice to use any language and technology because I said it'll be deployed in docker anyway.
Now, when they gave me the server, it's Windows Server 2016, of course, without docker installed (or even supported in any way). The access is done via TeamViewer for which I receive ID and password by calling a guy.
Oh, and everything runs as admin. "It's easier that way and we always do it like this."5 -
Hey guys, this is my first rant. I like this friendly community very much so far and hope it stays that way. So here it goes...
I have this Trello app on my Android phone. It has this nice feature - calendar... But week starts on Sunday. So I started investigating, how I could change it to Monday. Googled and found that you have to change the language, which I did. Now I wish I had this nice ISO date format yyyy-MM-dd, but this motherfrakker doesn't allow me to!
How much I hate this little piece of shit! What does he want from me? Download the sources, add the functionality, compile for a week and flash it into my Xiaomi?!13 -
I am currently working as a consultant and I like it. It also makes upset/happy/schadenfroh (not entirely sure how I feel about it) when we tell the client what work needs to be done in which order and why just so they can throw it all overboard and we do it the way they want it and it bites them in the ass a few month down the line.
They hire us for the external professional experience that we bring, so listen to us. We did this before, we know what works, and we know way your way does not work.7 -
Our site ran into a cache stampede which took down the site for awhile. While people were helping out, I just stayed out of their way since I knew nothing about it -_-
I realise I need to git gud but I can't help feeling inadequate and useless at times like this.
Is perseverance, experience, and passion to keep learning and bettering oneself the only way to being a master?2 -
This February, I posted a !rant here ( https://devrant.com/rants/1999689/... ) about getting a NLP internship with the help of the community.
In the past few months, I have gone up, and now I have a job offer from a small organisation (StrataVAR) as their Python dev.
I received the offer letter today. Since I am in the third year of graduation, then want me to work parallel to the university classes, they pay way above Indian freshers' average, and they have put me in a team that works on things I like.
It would not have been this way without the help and support of the communities I'm a part of, such as DevRant and StackOverflow (obviously). I just wanted to thank all who cared and helped. It means a lot.8 -
Why React is soo complicated? Seriously why do we always need to use some stupid shit like this
const [state, setState] = useState();
what the fuck is this? Who designed it that way, why it should always look like shit for no reason? Why its API feels like spaghetti? When i am comparing other front-end frameworks they feel like heaven in their structure.
AND WHAT IS WRONG WITH ME HAVING A QUOTE ON A PARAGRAPH ELEMENT, WHY DO I HAVE TO USE FUCKING HTMLENTITES FROM 2000?
FUCK'ERE35 -
doing things right seems to be a waste of time
especially considering how fast things change beneath you
for years I've said I should just stop overoptimizing but I've yet to fucking try it. I said this to myself 5 hours ago and what am I doing. I spent the last 5 hours trying to overoptimize for a theoretical scenario that I won't ever even be in, because I haven't even decided what I want to immediately do
how about immediately do something Jesus fuck
next Tuesday this system will have to be rewritten again anyway
how many fucking asset loading systems do I want under my belt
just load the fucking assets
maybe decide on which assets you'll be using first so then you don't overoptimize for "WELL MAYBE ILL LOAD THEM INDIVIDUALLY THEN PUT THEM IN A NICE IMAGE IN RAM FIRST BEFORE I SEND IT OFF TO THE GPU" omg just shut up. just because you can doesn't mean you should. doesn't help everyone using this thing keeps insisting you do it this way. but you don't fucking need to.
actually you know what, I blame them. they kept confusing me with yOu ShOulD do It ThiS WAY. next thing I know I'm walking through every possible conceivable way to do asset loading so I can decide how to load assets and then end up in architecturizing of the perfect system. I didn't want to be on this path. but they told me to be on this path. I blame them
take-away: if you can make it work at all, just use that unless it breaks something. fuck how or for "what" the dumb system is designed. people don't stick to their "designs" anyway -- it's idealism just like free stuff sounds great in theory, but in reality it just shits up everything because it's unrealistic3 -
Fuck I am so screwed... Spent an hour + trying to implement a Trie except I didn't know it was called a Trie... and don't remember how to implement one...
I am so fcked for my technical interview/test i m planning to take this weekend...
It's like I know i've seen this problem before and the brute-force way probably won't work... but after an hour trying to implement the right way... i just go fck it...
and lo and behold... it doesnt work..
Google the solution and the code is like less than 100 lines... and probably took the guy 10 minutes to write...6 -
So I was waiting on a mysqldump for over a halfhour wondering why it was taking way to fcking long.
But then I saw I typed mysql -u user -p database > dump.sql
Instead of using the mysqldump command xD at moments like this you realize how important sleep is xD -
So after a few struggles on my current uni assignment I’ve come to the realisation I need to change the way I write code, or at least the way I think about the code before I start.
I have a tendency to rush into coding something before I’ve planned it out properly, and over the last couple of days stupid mistakes on my part caused hours of stressing.
Are there any good methods for sitting down and planning stuff like this out, or is it just a case of getting some paper and a pen and writing out the logic etc in whatever way makes sense to you (me)?7 -
“I’ve tried everything, it won’t work. I HAVE to do it this __insert-stupid-dev-fuckery-here__ way”
Hmmmm 🤔 ok have you tried getting down on your hands and knees and walking around like a little piggy begging daddy to rough you up and put you in a pen?!? Because that’s what your gonna need to do for me to forgive you. Please please please just try to THINK about it before you do ANYTHING6 -
Somewhere half of the project, after just placing a new version on staging I get an email from the customer:
" This is really going the wrom way! Everything is so big, and what happened to the original design? The one I agreed to! I really dont like this, please go back to the way it was!!!"
I replied asking him what exactly wasnt as the original design (We really followed the prototype we had showed him earlier)
So the next day I get this email:
"Whoops, turns out I was still zoomed at 150%. I guess it was a bit of an overreaction.."
Couldnt believe this :')1 -
It's well known that Amazon uses robots in their warehouses, but I had no idea that they stock them randomly? They just put new products wherever they fit best, scan the box (obviously) and once finished, the robot just drives off on his merry way to god knows where.
And since this is Amazon, they spend the time and money to optimize the entire process in every aspect so this *is* the most efficient way to store (and later pick) products in definitely.
It is kind funny, with all the precise machinery, optimized processes and 1984 like surveillance of their employees, it turns out that distributing things randomly is the most efficient way to run an Amazon warehouse. Like, no AI, or something based on ratings or on historic trends. Just random.
(Link to video https://youtube.com/watch/...)7 -
Okay... I need to confess.
I actually like the idea of counting arrays from 1 like it is in some languages.
It makes code cleaner.
Think about it.
You would never need to subtract 1 from count/size/length or add 1 for things like the month in javascript because the first item would be at index 1 and many many errors wouldn't be happening because we don't need to force our minds to think another way. I learned counting from 1 after I learned to walk so it's the most natural thing to do. Just because the software/hardware below our language works that way doesn't mean we can not abstract this behavior away. What's your opinion about this? Am I wrong?12 -
This motherfucking conference!
I've been waiting for over a day for the fucking notification to come out. The way it is going, were I in Aus the notification would be two fucking days late. If this translates into rejection, I'd like the organizers to drink boiling lava and then get fucked in the arse with frozen lava; cuz the delay is a fucking nerve wracker!4 -
I'm thinking of writing an email server that accepts all usernames and just forwards the mail to the main inbox.
Or at least forwards a huge list of usernames to the main inbox.
You know, for spamming shit conveniently.
This way, user1@spam.com, user2@spam.com, and user3@spam.com will all go to the same inbox without actually needing to register any of those users.
It would be like having an email with infinite aliases.
Is there something like this already or do I need to implement SMTP?10 -
*this is gonna be a long one*
This year has been a Year™️. I'm kinda fed up with the industry in general, and I'm not sure how I'm gonna get back to working.
I also got an official autism diagnosis, which makes me feel like there isn't really gonna be a workplace where I'm not gonna want to die. It's fucking exhausting to deal with corporate bs and I don't have the bandwidth for that.
Recently I've been focusing on finishing my studies and I've been considering a hard turn to academia. tbh it's not an idea i like to entertain, but i do like that it has more autonomy and room to breathe. I also like teaching, that's not the problem for me, i just hate the research culture in general. I find it pedantic and gatekeepy in a way that really pisses me off.
Anyway, I'm mostly exhausted, but i do enjoy this field, I just don't know where to go from here.3 -
Ok, so I have been lurking around here for a while now. Not at all knowing what to rant about. I like my work, I don't have to deal too much with annoying (or almost any at all) customers and all in all I feel fine.
However, I feel like I want to, in some way step into this awesome community in other ways than just comments and ++.
So this post will be about a book. It's almost our Bible. Well it's probably the closest thing to a proper part of the trilogy we will get.
And for not being written by Douglas Adams (the almighty) himself; this book is surprisingly good! If you haven't, and get your hands on it, do read it!3 -
I inherited some code today. I am in the process of reworking it to drop into my framework so I can use it with our product. I am seeing this throughout the code...
try:
\do something\
except:
pass
Ahem... HANDLE YOUR DAMN EXCEPTIONS!!! DON'T JUST PASS THEM INTO THE BLACK HOLE OF NOTHINGNESS! FFS!!! Using pass like this means "Fuck it. I don't care if this fails and I want NOTHING to tell management when it does. I want to blindly look into their frustrated eyes and say ..duhh, I don't know why it failed... Fuck troubleshooting. You know what, this job isn't meant for me anyways." My outer voice is politely saying "There is a better way to do this. Please allow me to show you." Meanwhile my inner voice is flipping tables and clubbing baby seals. /rant -
!Rant
Hey guys i just wanted to share my newest project with you. Its a highly customizable snippet manager currently only available for windows (sorry linux guys but the linux version is on the way). Im working on this application now almost 2 years. You can download it here: https://snipaway.futureglobe.de/
I hope you like it and would love to get some feedback from other devs (because devs are my main target audience).
Thanks to anyone checking it out :)2 -
I always had this mentality that I shouldn’t rely on a certain library or framework for my entire project because what if one day they stop supporting it. (Yeah I’m talking to u vuetify) That’s why I came up with this code structure that for everything that I wanna do I have a ‘driver’ library all coded by myself that interacts with that third party framework or library so if they stop supporting it I could just change a couple of lines of code in my driver file and my codebase should be working again. But I feel like this ‘driver’ approach is not the most efficient way of going in terms of memory usage. Do you guys think I should keep it simple and directly use those libraries or this is actually not a bad approach.7
-
Apple Music is the worst music service I've ever used.
By far the worst UI/UX ever.
It doesn't allow me to easily organize my music the way I want.
Search is sluggish.
The recommendation algorithm sucks.
Can't LIKE a song without it asking me to also sync my local music files to the cloud. Seriously, why the fuck can't I like/favorite a song and be done with it? Why does it need to sync with my local files?
This is a basic feature that works in literally on any other music platform.
The damn thing can't even play FLAC.
I know Spotify has its issues, but it actualls feels like a well engineered piece of software.
Apple Music seems like it was made by junior devs for a school science fair.
The only thing going for Apple Music is the sound quality, everything else is bullshit.7 -
Idk why but it feels like lately i've such a pessimist approach to any new-tech (barring languages)
Any new framework or wrapper or CI/CD handler and without even seeing beyond description my instinct goes "fuccccccccck this, I hate it, it'll break things"
I wonder if theres a way to fix this mindset T__T or am I just getting old idkkk6 -
Yesterday I bought a book. I did not know about it. So I read the first few pages before purchasing it. I did not look for the review online. I paid by card - not through my phone or contactless, just plain old card going into a chip and pin device.
This morning I got an advert in Facebook that I should buy the second part of the book. I know they snoop my online activity. In a weird way I kind of accepted it. I guess my question is how'd they know so much of my personal life.
I'd probably will leave Facebook today. I am sure they are watching this status as well. I hope the jackass behind this learns in my own small way I tried to stand up against their jackassery. Like everyone else here I from IT. I hope some one (or many) from this extraordinary community who is a lot more capable than I am, stands up to this invasion and make an end to this snooping.9 -
a friend of mine has applied at a company who have sent them this task* to complete before the job interview.
They gave about 10 days to complete this.
*I rewrote it
Personally I think this is super overblown and way too much to complete as a test before the first interview.
They expect the applicant to configure an SQL database, a backend with a custom API and a UI.
It's like a fullstack prototype software, not a task.
Im not in web development and I wouldn't feel confident learning these technologies in my free time in just a few days.
I said that this felt like some HR manager writing up the test or that they want the applicant to create a prototype for free.
Am I being too extreme here? To me it feels overkill, what do you all think? Is this common?
Oh and I should mention, this is for an internship position for a bachelors student.21 -
This project is gonna drive me insane. I'm moving a custom-scripted WordPress ecommerce site to WooCommerce. The basis of the source site was WooCommerce but with the advantages stripped away and with a LOT of hard coded stuff added to it to make it seem like a unique, custom ecommerce engine.
Now I have to strip all that away and standardize it back into the WooCommerce way so it's all easier to maintain.
It's like I've been handed a jigsaw puzzle of a bunch of clowns and now I need to take it apart and put it together again but make it look like George Washington instead.1 -
the current ERP software i test has a function that, when you dont have the USB dongle plugged in, it will annoy the workflow with a popup where you have to solve simple math stuff. (Like 2041+949). I am kinda inclined to write a small programm that insta solves those pop ups.
I must note, this is a weird way of licence management.1 -
My pc has this weird glitch where anytime I install or uninstall a Steam game my headset microphone (Logitech G933) mutes, and I can only unmute it again after a couple of seconds. It's been this way for the longest time (though not always) and I have not the slightest fucking clue what could be causing it. Anyone else ever heard of something like this?9
-
WHAT THE FUCK IS THIS SHIT?
Like seriously, I don't want to see this shit. I HADN'T TOLD YOU TO SHOW ME THIS SHIT YET YOU STILL FORCE ME TO. I never set the keyboard to Danish. And in fact, IT'S NOWHERE TO BE FOUND. Then why for he love of god do you think I need to have the option to change my keyboard to Danish when I have insisted on not having this option. Is it because my locale is set to Danish? Is that it? I'll gladly change my locale then ffs, but THIS SHOULDN'T HAPPEN.
My Windows display language is English, when I installed this shit I even set the keyboard to English US, I even disabled the change keyboard shortcut because I knew that for some reason Windows would find a way to add a Danish layout. SOMEHOW.2 -
Today, I used NAT in a way I never before thought of as a solution to a problem - Exposing a service listening only on an internal address, to the internet, to a selected list of hosts.
For some reason, it made me a little sick in my mouth. It feels... Ugly, to solve this as such. But I was only copying this solution from a different server of the same client, so no reason to implement it differently and thus complicate future administration...
Is it normal to use DNAT like this?1 -
So if anyone is interested or has read or listened to The 48 laws of power....
https://youtu.be/pSWIVupPAKI
I'm 40 minutes in and at first I was in denial...
"No people are better than this now, we can transcend this kind of behavior and thinking, I don't need to act this way and follow the lessons in this book"
And now that I'm through a couple laws and I apply it to my marriage, friendships, my job, etc. I'm like SHIT this really is human nature isn't it....damn it.
I really need to start applying this book to how I approach life lol3 -
Hey guys,
I just released my first decent npm package: https://github.com/zzyyxxww/abides
It took more work than I expected and releasing it means a lot to me since I had a non existent portfolio before this.
I wrote it because I didn't like the de facto validators and I just wanted to do things my own way.
i know creating js packages is usually ridiculed, but at least I created this with a conscience and good code coverage.
thanks for reading.4 -
Ok, now math is starting to make sense and I'm beginning to enjoy it.
Is this a new level of the love of hurting one self or is this the act of enjoyness? Hmmm...
I noticed that I like to "reverse engineer" the formula we have to remember (I don't like remembering without knowing its benefits and reason of existence and it will most likely be forgotten after graduation when I don't find these two attributes of one formula) and I noticed that I am rather old fashioned and like to do it in a complex way instead of the derived ready formula way.4 -
wow, to think about it , I have not been really 'excited' about stuff for last few years...
Now its like yeah, this is all a rat race...gotta learn this , learn that ,learn everything...but not really excited about it..Maybe feel like a thug-life boss if I get paid or recognised for my work...
However this is a race I am happy to run in,I like coding, like nerdy/smart tech jokes , like learning new stuff, and like my programming life.
A day without opening my laptop is really a day I feel sad but not the other way round. -
I REMOVED every single thing that EVEN REMOTELY looked like it's handling redirections, I REMOVED ALL PLUGINS, and I STILL GET FUCKING REDIRECTIONS and THERE IS NO WAY TO DEBUG IT BECAUSE I GET REDIRECTED AND I DON'T GET A RESPONSE FROM THE CODE I WRITE and OF FUCKING COURSE it does not in any form LOG THIS SHIT ANYWHERE because fuck me that's why.
Truly, wordpress was created to punish us for our hubris.4 -
!dev !rant
Not working at McDonalds, I got hired to do factory work for a company i've known about for a while. Loving it way more!
side news: I'm getting into OOP with python, i definitely like the organization and ease and sense in that all. Recently learned how function definition works, so I can really get this ball rolling now! -
I am not a php dev and I have nearly 0 knowledge of php. All I know about php is that xampp is your friend and you have to write that $ everywhere. But that one day I had to setup phpLDAPadmin on apache2.
I have nothing against php, but I just don't want to have anything in common, since I'm just perfectly fine with my java.
So I had to make it work. Fought my way through different incompatible versions of php and phpldapadmin only to see "not found" on phpldapadmin.
I thought, like, wtf?? Especially when index.php of apache2 is displaying just fine? I mean, I can "edit" some php code, but configs and php setups are just something like out of my world. Tried setuping it on different vms - same result. I've buried way too many hours into this with no result. Finally I gave up and contacted a friend of mine which is like php god for me. He did same thing as I did in ~ 10 mins, but the result was the same. Tweaked some configs - same. Scratched his head, sat for 5 more minutes, did something and boom - it works!
I've asked him, what is that php magic and the answer killed me:
"Index.html was missing"
At that moment I just wanted to exit through the window. Sadly, there were no way to open it.
Yes, I am this stupid in php. But I still miss all these wasted hours...2 -
I want to use Babel or Typescript for the first time. Because as I read it is the way to go, when compressing JavaScript and make it browser compatible. If that's false, please correct me.
There's a question I've got about this. Right now I am using a PHP router file dealing with requests and selecting the right .js file and compresses it. So I can write like modular JavaScript functions and include them when needed.
My question is, what do I have to change in my setup to switch to the mentioned technologies?11 -
The 'hamburger menu' is now like, and industry standard for basic UX everywhere.
Am I the only one who feels that it in its entirety, sucks?
the way iPhone implements its commands on the bottom or the way windows used to (before it gave in to hamburgers in UWP) implement charms was a way more efficient and elegant way to show commands..
I cant think of a better way without sacrificing screen space, but this for sure isn't the best way to handle commands.6 -
My (younger) brother used to be way better than me at programming. He was making all this cool stuff (mainly Arduino).
I learned to program to make cool stuff like him basically. I learned Python to start since someone told me it would be easier to start with (it was).
I made a bunch of small programs (shitty things to help with homework, text based game, etc).
Eventually took programming classes in university.
Now I do C++ for a living. -
Our project manager is a past-retirement-age consultant who prefers to communicate the old-fashioned way, which is to physically pop in to my office asking questions about stuff that isn't even urgent and could easily be dealt with in jira or by e-mail FFS. Way to go disrupting a dev, break my flow and deprive me of my joy of working! He even says it himself: "May I disturb?" My answer is "No, but now that you already did, spit it out!" He's a nice and funny guy, I give him that. But I don't like this particular behaviour of his. I've complained to him directly and also to my boss, but to no avail. This is where devRant comes in, to let the steam out. Anyway, if I have it my way, we will definitely *not* be hiring the same consultant for our next project.2
-
Just started using ZeroNet(https://zeronet.io/) and it's a nice technology, well thought, but it seems like it can't expand itself or find it's way in the end. That's sad. I don't know if this will improve over years or be forgotten.
-
"I don't know about changing that part of the platform"
-"Do you see any other way?"
"No, but this one is pretty complex"
-"Would you like me not to do it?"
"No, but like, really test it, OK? It's a very complex part of the platform"
-"Would you like me to include the phrase 'this was really fucking complex' in the release documentation?"
Sometimes I think my boss is against coding :/ -
> client has no infrastructure of the project
> dev like me still work on it
> I constantly request for mock-ups and infrastructure
> client never responds back, instead he raises issues ahead of sprint
> I snap back at him
> Client wants call now
> What the fuck
To be honest, I'm gonna take a stand here...fuck this shit man, no clear way of working2 -
Heck yeah!
That awesome feeling when you figure out a coding logic to get the intended result.
I've been stuck on this issue past few days. But always had an instinct I could figure it out the way I want and since it was always in the back of my mind, things started making more sense like finding pieces of a puzzle.
Finally it all came together.1 -
My dad needs my help with an excel sheet and calls me "Hey, need your help to do X, but this computer doesn't allow me to do, how can i do it?"
Me, who has already used skype, teamviewer and (Wahtsapp) video call several times (him too!) and got things done faster this way:"let's do a video call (whatsapp) so you can show me and i can help you better" (my dad thinks teamviewer is too complicated to use)
my dad "oh come on please, i don't have time for this, let's do it this way!"
After i tried to explain him that it would take far more time on the phone, needing him to explain what he sees, telling him the advantages of a video call right now, he ended like "ok forget about it!"
as he said that i kinda fell in a rage, quit the call myself and almost threw the phone against smth.
Seriously how hard can it be??? it's just few phone taps away😥, i would have even proposed to video call him myself to make things easier for him! But he prefers the classical-phone-way which every time takes half an hour just to understand where he's at.
It's just frustrating every time...2 -
I haven't touched my OpenVPN server configuration in almost a year. Everything seemed to "just work" the way I wanted it.
I have now just found out that all ipv6 DNS queries were actually going to the wrong ip.
Why am I such a magnet for stupid shit like this?
Every time I try to do something beautiful, elaborate, complex, I always get some small shitty detail wrong.
It's like "close, but no cigar".
Every.
Single.
Time.
Sigh
Bonus fun fact: I only found out thanks to Windows' DNS leak feature. Thanks, Windows!5 -
Last year, I made an application of A* maze-solving algorithm in class. I used a linked list and my friends used arrays. Their algorithms were way faster than mine (I remade it later :p).
OK I understand that accessing memory by address if way faster than accessing by iterations, but I also see that python lists or C# lists are really fast. How is it possible to make a list performance-proof like this? Do the python interpreter make a realloc each time you append or pop a value?1 -
10 Months ago i started with webdev. Before i never program at all, but i Fall in love. The only thing i hate about webdev is this.
dude:look at my Website?
me: how did you do this?
dude: i used 900000 frameworks. it was really easy.
me: ...
I know.. you don't need to reinvent the wheel, but if don't think about what actually happens, where is the fun??
i don't know if it is also the case in Software dev but i don't like the way it evolves6 -
So today at work, a dev proposed some solution to a performance problem by using divide and conquer. But the way he said it was came across like "this is a brilliant, algorithmic solution, I bet you'd never think of this because no one else knows algos".
So then I just reply to him mentioning Big O and how it seems the performance is N^3, exponential. In which case the optimal size is like 1. But basically like starting an algo discussion to see if he can keep up... Or if he's just dropping some algo slang to look good.9 -
For years I've been working with SVN, It was great! and I though nothing can be better.
I've heard about git, even used it for some time but more or less like svn.
Now, after switching jobs I had to work with git so I took tutorial and man.
This 3 trees idea and branch for task is sooooooo Awsome! I just love it!
should learn it way long time ago.
and that's why in our world one should always learn deeply technology before think he understands it.2 -
Sometimes, at least once or twice during the month my body just fucking breaks. Right now for example I can't sleep and I am beyond fucking tired. This is going to hurt bad once I eventually pass out but feel the weird pain that I get from going sleepless for 2 fucking nights.
I work out like a motherfucker in order to get tired. Every fucking day I land on the gym(monday to Thursdays and Friday I take it easy with saturday and sunday rest) i run 3 to 4 miles just to get tired enough.
But not this week. Have not been able to sleep since friday for more than 4 hours.
Why am I this fucking way? I am far too young to be fucking around this way. My caffeine intake is close to null.
Fuck me I just want to sleep.4 -
Math is like a language syntax. You understand the meaning of needed symbols and keywords, then you can write it the way you want.
Physics is like a framework. You have to understand how problems can be solved using patterns someone else thinks is the best way.
This is what I think when I should be reading for the big test of physics and math for upper secondary school.2 -
I think it will be hard for Facebook to recover from this.
It seems like most people can tell that it is toxic.
Of course, a heroin addict would tell you they know heroin is bad, that doesn’t mean they are gonna stop using.
So FB isn’t going anywhere (they already have their needle in a lot of veins), but I’m not sure that even the addicts will see them the same way again.5 -
Not entirely sure if it counts, but Postman.
Used to be a simple, yet efficient tool for integration testing. And nothing more. Now it's a bloated, convoluted resource eating piece of bling-bling that tries to do a shitload of stuff, but only does them in a mediocre way.
Meh, while I was typing this I realized what a comfortable life I lead if I complain about something like this. Oh, the perks of being a middle class white man working in the tech sector...8 -
yes, i know this isn't omg! ubuntu
yes i know it's obviously not StOve (you guys are way too nice)
but im going to look like an idiot for asking this here. my process is a rollercoaster to read so bear with me
context:
· xubuntu 17.10
· zsh (not that it matters)
° i want to be able to use java -jar file.jar
i tried using that command
zsh: java: permission denied
then used sudo
sudo: java: command not found
i grabbed the generic x64 tar.gz and extracted to ~/.local/.app/java/
set the Java path to the openjdk folder inside, no good
i installed openjdk-8-jre
couldnt figure it out that way, so uninstalled
RE-GRABBED the x64 tarball
extracted into /usr/java
set the path to the folder containing java & javaws executables
still no luck
what is the problem here17 -
Double rant....whattttt!!!
1) That moment when you're like god this code is awesome/I'm a genius/Can anyone else other than me even comprehend how to do something this awesome? AND THEN you shift to "wait a second..." Is this actually super convoluted/inefficient/there is a way easier way to do this? :o
2) Do people even know that google can provide them with like any and all of human knowledge? I feel like 50 times a day in my head I'm screaming "GOOGLE IT!!!!!!!!!!"
2 examples....
Earlier today I ctrl+alt+down arrow my co-workers computer because he left it unlocked and I was feeling especially awry so when he kept saying I don't know how to fix it, I was like google it!!!! I'm teaching you a valuable life skill...
Second. I was at my in-laws house and we got on the topic of what does "impeachment" actually entail? So my mother in law was like hmmm I thought it meant so and so....I'll have to ask my friend so and so the next time I see her....she's a political science major or something like that....
In my head....
I'm like.....
Or....
You could.....GOOGLE IT!!!!!!2 -
Dear @dfox and @trogus
I'm writing this here because reporting such issue to GitHub doesn't seem to do it's justice.
It's been happening for like HALF A YEAR.
AND IT'S YET TO BE PATCHED.
WHY. WHEN I CLICK THE BACK BUTTON ON MY PIXEL 2 XL (ANDROID 9). ALWAYS CLOSES THE APP?!?!?
Yes, this is a rant about DevRant, I have no complaints other than this exact one.
It's been happening for way way WAY too long, and never been patched.
Please don't reply to me "why don't you report it on GitHub?" ITS BEEN REPORTED OK?!
I've always loved DevRant since I first joined, but this issue is preventing me from browsing it every time. It's jus irritating.
Please, @dfox and @trogus, try and for once take the time to try and fix it.
Thank you.5 -
I prefer three spaces-wide indentation in my code. This is unconventional to say the least, as many people prefer four or two spaces width.
This is why I use tabs — every developer that works in my company can do two clicks in their IDE to set the indentation they like, and I realize I must not force it my way with three spaces. Indeed, one of my colleagues prefer four spaces, and it took them less than a minute to set this up and not to worry about it ever again. To me, this sounds like a good alternative over arguing and finding a compromise that "everyone in the team are okay with".
This way, every developer who comes to my company at any time ever wouldn't have to get used to the indentation width standard that is different from what they're already comfortable with.
I want to live in the world where "convert indent" button in IDEs that replaces spaces with another spaces is dusty and abandoned. I met those who use four spaces, the most popular standard, who also thought everybody who disagrees with "The Standard" should change their ways. This makes me sad.2 -
!dev
I wanted to prank a colleague. And he ruined it by showing up to the site of prank way too early, despite him having had clear instructions as to "let me know" once he gets to the office.
Anyways, as I was going to lengths getting this damn skeleton yesterday, I was thinking how much more fun it would be if my highschool bestfriend was here instead of him, and what greater lengths I'd go just to prank her. Halloween specially would be prank every day for a week! 😆
Now, point to make, is that the mentioned bestfriend is well and alive, just wants to live her life her own way, and that doesn't include having a goofy friend such as me as close anymore (and I feel that's fair, however much I don't like it)
But that I am projecting my friendship with her on this new friend/colleague... creepy of me, I know, but like... also sad. Like I felt bad for myself for a second there. How many times in a lifetime do you get to feel bad for yourself?
*Cue Joji's Glimpse of Us*5 -
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 -
Engineering manager and I have a chat last Friday about some working performant code that needs to be refactored for future reusability. Not my favorite stuff but ok, let’s do it. We talk about things VERBALLY, one way of doing it, then another way. She’s in a rush to her next meeting and has to go. I feel very clear on what she wants and how it needs to happen.
After the call I do some thinking and I give her the estimate and brief her my plan. I tell her exactly the way it’s going to be done. She says do it and gives me her sign off.
I submit my MR today. And then she says why I didn’t do it another way. A more generalized way. And “the way we talked about.”
And I ask her if she can explain her way bc there is obviously some misunderstanding. And she proceeds to zero in on some functions I wrote and say how they are not generalized enough and how it’s basically the same as what we had before (but it’s actually a much different design). I patiently listen and at some point she abruptly says she’s out of time and needs to go to a meeting. I say I still don’t understand what she wants. Then she says that she will implement it bc I still don’t understand and she has no more time to explain. I feel pretty bad.
I suggest next time she can show me on zoom whiteboard, just anything visual and not auditory to make sure things are clear and we are on the same page.
She concludes that management has directed us to come to the office more so I need to come in so we can do in person white-boarding.
This whole thing feels unnecessary. We’ve never had this issue before. It seems like either some intentional plot to get me to come into the office more often or terrible communication skills and a lack of priority on my managers part. Like can you just white board your ideas for 5 minutes?!?! There are many tools to do this digitally!
The thing is I still don’t know where the communication gap is bc I still don’t know what she wants. Keep in mind all this fuss is over three cards of text on a webpage.
This is my first job in industry. How do managers normally communicate engineering ideas? And what are the best ways over zoom? And in person?
I noticed here there is not a culture of whiteboarding or pair programming.
It’s on the days like these I question what I’m doing here…10 -
The default font was different between development and production. The default font was never selected for the application. It has been this way for years. I found and fixed this. Now a huge amount of UI issues are just gone. People are like "Why was this never set?" Internally I am saying "Because they got lucky and never thought about it in the past."
Other people's code...3 -
Talking with my dad about a program he's been working on at his company. He doesn't work on it directly, he works with parts on the side to show to clients. He's basically a sales rep that shows some cool features.
Me: is this that the program where it converts scanned items into readable text?
Him: yes but it does a little bit more than that.
*promptly goes into detail about how it works*
Basically merges documents together based on some criteria that it needs to meet. There are 5 cases and all of it is coded in sql, the 5 cases aren't coded based upon logic but based on each possible outcome of a scenario. And it would brute force it's way to a solution. The way he explained it made me think it was just mountains of spaghetti code.
I couldn't help but think something like this
00000
00001
00002
00003
It just sounded messy. And I haven't even looked at it.
Me: 😬 why would you design it that way?
Him: because it works.
Me: but the code has to be so unmaintainable
Him: well I don't have to look at it full time.
Me:... (flawless logic... But why¿¡¿¡¿😢) -
How does it feel attending conferences? (Good ones!)
Here in my country we don't have that many good ones they are all just some show offs talking about how they hacked their way through. But when I see videos for big conferences with thousands of people it makes me feel a bit jealous and sad that I can't attend those where you'll get real achievers (~_~)
Why did I have to be born here like this FUCK 3rd world countries.2 -
I'm about to graduate and I have no idea what I'm doing. I tried learning the basics and even went through a lot of extra stuff. I can only say I dabbled in scripting, web scraping and a little bit of software development. However when I compare myself to my peers, I feel so out of place. I can't confidently say I know even the concepts I practiced. I am really interested in the field but I feel like I'm way behind and this is constantly nagging me. Is this normal or is there anything I can do about it?3
-
Microsoft is buying GitHub?
Actually, that sounds great. A lot of people here are making it sound like this is the end of the world as we know it, but how do we know that they will make it awful? The Microsoft of today is different than the Microsoft of 2007. The purchase is simply a way to expand their enterprise offerings. I have experimented with Office365, and it is actually really useful. GitHub will be a way to expand that offering to software development companies.
Who knows? We may even get some kind of Azure CI service built directly into GitHub repos?
However, I see why some people are concerned. If they want to move to GitLab, I don't actually blame them a bit. I was already using it before it was cool!
The point of this rant is that we should give Microsoft a chance, and not jump ship right away.3 -
Just posted this in another thread, but i think you'll all like it too:
I once had a dev who was allowing his site elements to be embedded everywhere in the world (intentional) and it was vulnerable to clickjacking (not intentional). I told him to restrict frame origin and then implement a whitelist.
My man comes back a month later with this issue of someone in google sites not being able to embed the element. GOOGLE FUCKING SITES!!!!! I didnt even know that shit existed! So natually i go through all the extremely in depth and nuanced explanations first: we start looking at web traffic logs and find out that its not the google site name thats trying to access the element, but one of google's web crawler-type things. Whatever. Whitelist that url. Nothing.
Another weird thing was the way that google sites referenced the iframe was a copy of it stored in a google subsite???? Something like "googleusercontent.com" instead of the actual site we were referencing. Whatever. Whitelisted it. Nothing.
We even looked at other solutions like opening the whitelist completely for a span of time to test to see if we could get it to work without the whitelist, as the dev was convinced that the whitelist was the issue. It STILL didnt work!
Because of this development i got more frustrated because this wasnt tested beforehand, and finally asked the question: do other web template sites have this issue like squarespace or wix?
Nope. Just google sites.
We concluded its not an issue with the whitelist, but merely an issue with either google sites or the way the webapp is designed, but considering it works on LITERALLY ANYTHING ELSE i am unsure that the latter is the answer.2 -
TLDR: I wanted to change email to new one, but I could not remember which one I have
currently. I found out an API in DevRant JS files for email verification and used
it to find it out.
So, I am moving from Gmail to Protonmail Pro, absolutely love their service.
I wanted to do same on Devrant but I could not figure out my current mail for
"I lost my password" form. My Password Manager have only login saved, and profile does
not show email address.
I thought that this user information is stored on server so it have to be some way to retrieve it. I dug
in source code and I've found:
`<div class="signup-title">Verify Your Email</div>`
Which has event assigned to function which uses jQuery.ajax (love it btw :D) to call:
`url: "/api/users/me/resend-confirm",`
This seems like worth a shot. Few copy-pastes and one ajax call later:
*Ding*
From: support@devrant.io
To: dawid@dawidgoslawski.pl
"Welcome to Devrant"
Got it :) So I have already changed in march when DevRant on previous layout.
This is what I love in this profession - problem solving. AI will not replace human
in any way, we will just stop coding array iterations and data manipulation - we will focus
on real problem solving and human touch (like design, convincing management for changes).1 -
Yesterday I asked a question on stack overflow about what algorithm I should use in order to parse command line strings like in gnu getopt for example.. And I've got downvoted for no GOOD FUCKING REASON. On top of that, my question is on hold. WTF?! For some time now stack overflow is becoming more and more a community of fucking cunts, arse-holes and toxic people.
Title:
" What parser algorithm is best suited for command line parsing? [on hold] "
My question:
"I want to write my own command line library from scratch. What algorithm should I use in order to parse gnu style args like in getopt for example ? I mean what's the best way other than tokenizing and parse them in a naive way? Should I try to look at LR, LL algorithms or this is way too overkill?"
Their response:
"Your question sounds like "I want to do X. What's the best way to do it?". Too broad, you need to be more specific about what problem you're having. (And keep your question clean. No meta-stuff in there.)"
I mean, what more context-specific reason should I add you dense motherfucker!? I want an algorithm to parse your momma's cunt so hard 'till it blows the fuck up. This what you want? You fucking senseless piece of garbage. God, give me a car to run over their fucking internet cable and over their head, too.8 -
iPhones have never been more unlockable, as literally a picture of someone on your phone can be used to unlock their phone.
On the subject, I would also like to know what the point of an unlock is? If a criminal has my phone, they are stealing it, period. If a good Samaritan has it and wants to identify the owner, they can't because there is a lock.
This means that the only potential way that I am ever getting it is that there is no lock and a good person found it.3 -
How to meditate, Kiki way:
1. Lay completely motionless
2. For every thought your brain generates, ask “Where did it come from?”
It’s difficult first time, but then you get used to it.
For me, anxiety manifests as itchiness and pressure in the heart area. But when I think in this specific way, anxiety shuts up, and my heart feels… actively good? Not a heart orgasm or something, just the feeling you get when you take off your bra after a long day, but condensed in one area.
Thinking this way is like reading a history book. History doesn’t tolerate what-ifs, and thus, the opinion of your anxious part — a so-called internal critic — becomes irrelevant. At least, I think it’s how it works, I’m not a therapist or something.
Everything I analyze traces back to my mother. I mean EVERYTHING. What a manipulative bitch indeed. You probably missed that, here it is: https://devrant.com/rants/9940652/...
Meditation became a bad word recently. It’s something you hear from self-help gurus and other scum alike. Despite that, here is the simple way to meditate that works. Use it!67 -
Do you ever have a problem that you just don't know how to resolve, you are way out of your depth and it seems like there really is no solution. There is nobody you can ask for help. You want to just give up. Then finally you have an answer. You fix the issue and it feels like you are superman and you can do anything. I remember that feeling before but this time I think maybe I should start looking for another job.1
-
Not a rant, just something that made me laugh way too much. We wanted to test this error logger we made to see if it could report where the error happened, so we wrote a function that just throws an exception. Not sure what to call it, we called it “shitTheBed”.
So it looked like:
service.shitTheBed()
I almost want to leave it there.2 -
The hotly debated topic that anybody can learn to code is always seems to devolve into a definitional or even epistemological argument to the point of being valueless. But I like to think about it like this:
Anybody can learn to code in the same way anybody can learn to drive. The most rudimentary of searches for 'dash cam fails' should provide some valuable context for the practical implications of this.7 -
The last Windows 10 update (10 days ago) has fucked up my dual boot with Elementary OS (Linux distro). I tried many things to retrieve it but with no success !
So I reinstalled it ! So now I would like to know how to prevent this shit happened again. Is there a way to do that ? Maybe a /boot partition or it's unnecessary ?7 -
"Okay, this is way OT but here it goes. Back during the GW Bush days I noticed something strange. All five TV networks suddenly started using human(s) to refer to us. Gone were humanity, humankind, mankind (!), people, person(s), us, we and human beings I about barfed when I watched an ingenue said her best girlfriend had found a wonderful human to marry.
I see three problems. One is the way putative competitors started this newspeak in lockstep. Another is the degradation of English. The last is the loss of emotional content. Saying "Humans are responsible for climate change." is so blah it's like somebody else is responsible, like Martians, maybe like somebody else is responsible, Martians, maybe.
I apologize for the wording of this rant but I am forced to use a phone with one hand due to severe injury.3 -
My last company during the interview said I could do hybrid.
It was about 6 hours of public transport a day. One way was 3 trains and one bus. If everything went well. Which it almost never did. Had days where I had to travel 9 hours.
My whole plan was to move closeby but was going to lean on the hybrid to stay somewhat sane.
They said well we kind of want you to work in office only for a bit. I was like fair.
I went hard responding on home for months.
I asked if I could do hybrid now because it got to the point it really started affecting my productivity.
They said nah we dont do that here.
(They literally had hired an third party dev that was fully remote)
Month later I said wasn't it possible to do at least something.
They offered me 1 day every 2 weeks. Like that was gonna make a fucking dent you fucking crownies. I had to act like it was a god damned privilege.
I made it 9 months in before I was like I really can't do this anymore like this.
The CTO was very quick to move me to HR. They wanted me to mutually unwind the fucking contract.
They were saying well you've got this many vacation days left we'll add 2 days so you'll have pay next month.
Last day was friday where the CEO came to me. Was like here a little something.
A 10 fucking bucks amazon gift card. Are you fucking mental.
I was so fucking done with it.
Work should be a two way relationship you fuckers.
I always did my work. I did it well and it really felt like they just didnt even acknowledge me as a human.7 -
A new way appeared in my life.
Everything related to cars, metal and motor engines.
I may or may not have to dissapoint some people with it, but I am not going to be a dev I guess.
It was all fun and chill. Do not worry. I am not going to leave this awesome place haha, just felt like mentioning it. :)8 -
Is it possible to have an "epistemological bug crisis"? Because i feel like everything I referred to as bugs in my early career weren't true bugs, they were just bad programming or architecture flaws. I feel like real "bugs" are weird issues with the language, compiler, module, etc... that should work one way but work another way. Anyone else had that experience?
This gives rise to the secondary question: who perpetuates the idea that bugs are just "anything wrong with the current codebase"?3 -
tell me..?
if i am NOT doin any proj and i am just learning and solving problems on competitive websites like codechef , hackerank etc.
is it a bad thing ?
or should i just continue learning this way?
P.S I AM TRYING TO BE A SELF TAUGHT DEV !12 -
So I bought a gtx1650 gpu for my old phenom II X4 pc. It didn’t work – the screen vent black in like five minutes after powering up the pc.
I was disappointed, but instead of returning the gpu, I bought all the other components to build a new pc on ryzen cpu. Including the gpu, it all was like $400 and I still have all my old parts to sale.
Now I’m here, playing all the latest games like doom and wolfenstein on ultra in 1080p 60fps and I’m more than happy.
I basically found a way to convert my bad experience into good experience. I’m just off my therapy, so all that bad experiences that may seem insignificant are a big deal for me.
I didn’t knew it was possible to make a good emotions out of bad emotions that easy. If only I knew the way to apply this strategy for any arbitrary situation.
(please miss me with that boomer bullshit like “nothing is wrong stop whining and get over it” etc. I’ve been there, I’ve done that and I needed medical treatment afterwards. “Getting over it” just doesn’t work)6 -
I hate that feeling when I say "I think I could fix it" and eventually accepting that I have to ask for help, and maybe pay for it. That feeling tastes like defeat, and it's the same way people feels when they need my services. I think this should help me be more sympathetic with clients, but it doesn't.
-
StackOverflow gatekeepers: "Voting is already communicating." Maybe it is, but in such a minimal way like an error message saying "an error occurred". Sadly this is current UX as well as long as nerds are in charge. Sometimes I feel ashamed to be a developer. Are we human or robots?3
-
"Ten years ago Facebook sucked, but now it's awesome."
- Some dude at GGJ.
The way he said it sounded like he actually believed it.
I have nothing to add to this.1 -
So as an IT student I learn new stuff everyday. This is very useful, only not when you find it that the technique that you used in your personal project is not the only way to do it and is super fricking messy.
Whole weekend reworking.
(Not meaning I don't like the coding but just having to remove so many lines and reorganize files and the content of the files sucks sometimes :/) -
So I have this "idea", you know how normally most sites have the usual backend functionality, like profile, profile edit, CRUD of some thing... Well I was wondering if there is not a way to make it "granular" kind of like models that can be reused by the backend with a noSQL approach... That if selected for a site it will implement it without too much hassle... I'm not an expert here so pardon any incorrect terms... Not sure if I'm being clear insl my question... Any suggestions welcome, I don't mind researching any suggestions or guidance from someone who has accomplished this.6
-
I just installed the interior IM app developed by my company's IT center, the way it uses to sync messages is almost common, downloads data from server and adds those conversation to client's window, and I am sure the guys who wrote this stupid thing invoked a same function like pushing message or something else, 'cause my cellphone vibrated like a Morse code machine w/ tons of Adrenaline injected when I press "Open", for almost fucking 1 minute.
-
Was doing some chill programing when all of a sudden we lose power in the entire fucking house! So not just a blown fuse or something, but looks like the entire street has it, so no telling when it'll be back on either -_- Also I reaaaallly need to buy a UPS for my server, this is happening way too fucking often.5
-
As a beginning designer I got a task: redesign of existing app... On the first call with developers I asked some questions for better understanding why the app looks the way it looks... How it works..... And I asked who is this app for...who will use it...who are the users..... And the devs were like.....3 minutes of silence..... And I was like...wtf? They don't even know who will use this stuff.... I immediately understood why the app looks the way it looks.. On almost every my question I obtained an answer like.... The database.... Some Backend programming stuff....and all the time I got some answer from devs like how should I code this or that... I changed every my question at least 5 Times, because I got all the time some absolutely strange answers - which had nothing to do with my questions... I felt like I run my head against a brick wall... Yeah.. Sometimes Its difficult to discuss problems with people, who are closed in their own World + when they show you zero understanding or zero effort to understand you...I felt like the collaboration with those people is some kind of punishment... 😂....but fortunately there are still a good people who shows some effort to understand you or to comunicate... Humanity is not lost. ☺️4
-
Was told at work today that I don’t follow directions closely enough and the lack of attention to detail in my work is a problem.
I remember being this way since my first elementary school teacher pointed it out to me. I’ve always been this way. It’s how my brain is wired. No matter how hard I try, I always miss something. Especially when it is a really complex set of tasks. I’ve literally got the results of a cognitive test I took in college documenting and quantifying my working memory deficits.
You think you’ll change that now, after more than four decades of me being like this, with a performance review? Good fucking luck!8 -
Are there any Italian devs here? Or anyone who wants to move to italy? 😂
I built startupjobsitalia com a couple months ago to help early Italian startups and founders find local talent. I moved to Italy from Norway in 2022 and noticed that there wasn't a dedicated site for this like they have in the Nordics!
It was a good way to learn Next.js, OAuth, and Supabase, but it'd be way cooler if Italians could actually get some value out of it🤞🏻2 -
Boss/prof (does not understand code): "I like it more this way. Come on don't make that face thanks to OOP it won't be that much of a deal to make a change right"
He wants to change a fundamental data structure of our software 😉😉😉1 -
So many choices for backend I'm fucking confused. Yesterday, I tried Django and i found it little similar to RoR(in generating things, db migration things).
I'm currently working in NodeJS.
I even don't know should I rant or cry.
And of course frontend is another thing same like this.....
And I'm not much experienced to differentiate them and know which is better and where it will fit.
Can anyone tell me in simple way which framework fits where?1 -
3 days ago i started home workouts after 3 long years of not doing it. By following THENX on youtube. It was a 20 minute ab workout. I fucked myself over. I am in SO MUCH PAIN for several days now. Every day I'm in more pain. I cant stand straight because of how much it fucking hurts. My stomach muscles are FUCKED. It feels like i got punched and beaten in the hips and stomach. But those are muscles strained from not working out for years. This first workout was way too extreme and I fucked up. I look like that old grandma that bends her back like a cockroach while walking. This is ridiculous for a mid 20s guy. How do i recover from this shit12
-
Hello fellow Ranters,
I'm in need of some help, I want to try building a small website, like maybe 4 pages worth of work for my uncle. But I'd like to build it in such a way that a non-programmer (my uncle) could upload photos to a portfolio section through an administrative console page. I'm doing this mostly to learn how to build something like this and also as a side project to help out my uncle.
From what I've read, I'm thinking that Angular (maybe?) might be the right way to go about building dynamic pages, but I'm not really sure and was wondering what you guys would suggest? If possible can you please also recommend a place where I can find examples for something like this?
Thank you in advance for your help and recommendations, I really appreciate it!!!7 -
That shitty moment when you are finally about to release your code, after about one month of developing and testing, and making sure everything is OK, imagining: "Oh we're finally releasing this feature, I have worked so hard on it, it's going to kick some ass!" but surprisingly things get fucked up on production server... I mean seriously? Stupid middleware I killed myself to get to work messed up. Where the hell have you been in staging, you stupid little bug? You happy now? My CTO giving me awkward looks and shit like: "I'm sorry but you have to come fix it, during weekend." The best way to fuck up my mood, today is the last day of week for god's sake!
I hate releasing like this. seriously SAG in this release!1 -
Why is it that windows 10's network adapter takes so fucking long in order to work and connect to the internet!!
Does anyone know a way to trace back what's causing it? And why it takes like full 15 minutes for the Ethernet or wifi drivers to even work? (I'm not even sure if this is something with the drivers or the way windows's network adapter way of working)
I couldn't find Jack shit on the internet (most of them are ghetto do this and that and hope it works) I want something more advanced so I can figure out for once why this happens on numerous windows computers
(Linux people, I understand you, please don't rant your stuff here, this is a bit serious issue, thx)6 -
I feel terrible asking this because I feel like I should be able to figure it out if it's possible, but is there a way to have the devRant UWP app extend to fill my screen? That's one of the things I really liked about it before because it seemed so spacious. :/8
-
!rant
I'd like to take a moment to appreciate how much I've needed something like devRant.
I didn't even know I needed it, but here I am, scrolling on here more than I ever scrolled any other social media.
We're a great community guys, let's keep it this way (:1 -
I'll put it this way. Svelte is like Kotlin. It's modern, elegant and a pleasure to work with.
React is like Java. Old, bloated and a pain to work with.
Svelte makes React look like it was built by masochists.
I don't work on frontend often, mostly because I despise the frameworks.
Svelte is a breath of fresh air.
I just want to ship a product quickly and it doesn't get in the way.2 -
Tell me if I'm wrong
I know android dev and the more I go deeper, the more i hate the way things are done. It felt like memorising something new everytime i had to get shit done. And if u stray even just a little u get a shitload of exceptions. My android devs were pretty much crying at the end of this 40hr hackathon(i was on backend).
At the end, i just don't like d way things are done, its just way too complicated and messy for my use case - hackathons and making things as a hobby.
So you could imagine when i started react native and saw all my problems fade away. I don't know what'll happen when i go deeper. But if you've had the good fortune of working with these things, do u think its a good switch? Will i face d same issues with react native as i do now? Thanks3 -
When comments find their way to class tests:
“TODO: Finish conjugation of montre in the whole text”. I had no idea of the conjugation and finished under time pressure so this stayed in the class test (gave it back last second) and I was well aware of it.
Just wondering what the teacher must have thought. Didn’t say (or write) a word about it tho.
Should see if someone tweeted or posted this (I mean someone wrote a book only with examples of stuff like this)
Idk, I should ask if I’m allowed to write class test in an IDE. And set MARK, TODO, etc. Would make them a lot easier.30 -
Jesus fuck generic number adding in rust is pissing me off
why did I decide to do this
I literally don't have to
let's just add 12 traits and then find out it doesn't know how to divide by usize. well how the hell am I supposed to convert it then. there's no trait for "f64 as f32" so now my shit looks like spaghetti cuz of that, now this...
so let's see I could call into() on usize to get it to be unknown T number... but there's no way for it to know what to convert to and I can't determine if there's any way for me to tell it that
THESE STRAITJACKETS
I might just need a padded room at this rate
*goes to sleep* later
.... required for usize to implement Into<T> wat
😩
I suspect that's gonna be another dead end
GOod ErrOrS16 -
Setting up eslint is driving me nuts.
This shit never works for me.
Every two months:
I read why eslint is important to have in development workflow. I get convinced of it's benefit. I decide to give it few hours to do this correctly this time.
3-4 hours passby, still nothing. I run into problems that only I face. My vscode setup is a complete mess now. My code formatter wants one way if writing code which eslint doesn't like for some reason.
Fuck this shit.
Am I the only one?3 -
! Not a rant about Linux being better than Windows.
I used to ignorantly think that but experience and awesome community's like this have taught me better.
At a previous job I worked with Linux for ages and git used to how streamlined it is when working with a console. I then moved to Windows (to make games I'm Unity3D, which was awesome!) and found myself pining for a decent console. I finally found ConEmu which has a multi tab feature!
Just wanted to share this, knowing it made my life way more fun!6 -
!rant
Decided to take a AI course bc i felt it was going to be a cool topic and because I have no experience with AI.
I find out on the first day of class that we are using a implementation of Scheme called Scheme Chez Petite.
Scheme is cool and I like using it. I feel like it makes me think in different ways u know.
However, I have a 2015 Macbook air. And a bunch of my classmates have similar Macbooks too.
Our Prof. told us that the only fucking way to run scheme Chez petite locally is through a fucking windows VM.
So now I have to download a fucking 10GB windows OS so I can fucking do my homework.
And, since i have a 2015 Macbook air, everytime I start the VM, my computer sounds like its gunna fucking explode and it absolutely destroys the battery life.
I feel like there is a better way to do this than through the VM. Or maybe not using Scheme Chez Petite and maybe something else? idk8 -
Sooo I think my VPS slowly dying. Disk r/w performance has gone to shit - we're talking ~10MB/s write speed on a fucking SSD.
Is there any way to bring it back to life? Or should I just give up?
Note: I've been keeping this VPS alive for years because it only costs me 1 eur/month, and they don't have this offer anymore - it costs triple now, so I reeeeally don't want to lose that price.
Also, I'm using it as a DNS server (among other things), and I really like the IP address, so I don't really wanna lose that either...
What do?8 -
Our manager is in tons of meetings all the time. He sees himself as our architect, and he has read and approved code reviews. Yet when he does get time to code and submits his own massive weekend coding binge pull requests, they're often entirely different from everything we've written to this point.
Instead of trying to be consistent with the work we've currently done, he continually argues any comments we make in the code review. I want to be like, "If you wanted it this way you should have designed it this way instead of giving us a bunch of empty class files an interfaces with terrible names." -
The managers thinking that you are in office and calling you all of a sudden, without any message before, and then telling you “Ah sorry for calling you that way, but this is how it is when you are remote”, like wtf, at least you can ask before, maybe I was going to take a pee.15
-
Completely fed up today, trying to investigate a memory leak using google chromes profiling tools, first of all all the "documentation" is well out of date so you have to pretty much guess your way through it.
Anyway i start to investigate and it looks like the JS Heap increases in size only after a garbage collection, surely this is the wrong way round or am i just being stupid2 -
so i did this convenient download script that worked like a charm at home only to find out internet is blocked for these kind of things at work. adding a port results in a single connection success that will be blocked on the next attempt. i get it with all the security concerns but am curious which way it-department tells me to download 3k+ files with likely dynamic filenames otherwise...2
-
"How about we don't do it this way because I have undone what you did and have redone it in a stupid way and if we have to do it the correct way we'll have to undo MY work, so let's just keep it like it is, ok?"
Really? And one of your arguments is "because it's working now", bitch it was working before, you just didn't read my code.
I'll give you the benefit of the doubt though, I don't think you did this on purpose, you were tired yesterday, I get it. But still, could've talked to me before deleting all my code.
I'm not that mad though, I got paid the same and still found a nice pattern I can use on my own future projects, it just won't be used at work. -
Any tips on how to promote a niche app?
From what I have heard, an effective way is to post it on a subreddit or some specific forum (like this). But since I hate it when other people do that and the chances are high to get banned for that, I am looking for other ways.8 -
Is anybody else bothered by Slack? The way they handle account management and channels bothers me. It solved a problem that didn't exist, and now it has become this ecosystem so many people/organizations are over reliant on.
I feel like AIM had better features in the early 00's.1 -
!Rant
I need some help, does someone know what is a good way to get a legit linux sysadmin certification? I've been using linux for a couple years now and i'd like to have it on my (baren) resumee :D
I freakin love this community btw, its hilarious -
!dev && !rant
So I really liked the movie Blindspotting from this summer. I originally watched it because the two main characters (and writers) are two of my favorite rappers, but it's a great fucking movie.
The way they're doing the soundtrack for the movie is basically releasing multiple EPs (honestly not 100% sure how long it's gonna go on). And I just found out that the second EP got released like a month ago. I've been listening to it and I fucking love it.
So nothing really important, I'm just really hype for this right now. -
I feel compelled to figure out how to use software in a gaming setting to teach skills like CS and Math. But do it in a way that is fun and not feeling like a "math game".
I want to spend more time learning about algorithms, architectures, design approaches, etc. Writing such a game would force me to understand what I present in a very intimate way.
I can see a way to create algos in game using very visual ways. Then allowing someone to make superstructures combining those algos to solve tasks.
I was inspired by how some algos require data to be sorted a certain way before starting. As the algo as a side effect resorts the data to know when it has completed. I realized if an algo is generic enough it can be combined just like functions or objects.
I also want to learn math better, especially in conjunction with code. So making a platform for learning these would be a lot of fun. I would definitely want both visual and textual interfaces to the code. I have to imagine a real programmer being frustrated with a visual interface unless it was really compelling.
I find it interesting that a lot of algos are represented visually when trying to show how it works. I realize some probably cannot be visualized so easy though.
I also want to use software like this to teach someone to think more deliberately and help people be more disciplined in their thinking. I know I could use this.
I have a secret goal of being able to use such software to help someone become a math/programming wizard. I don't know if this is achievable, but having exercises that help solidify root concepts in a fun way would be really useful IMO. -
Praised be the developer/customer! 6 hours listening to him how HIS WAY is the ONLY way to write clean and reusable code! And teaching us how to write HIS way!
No matter how it ignores normal conventions, his way will ALWAYS be the better one! And to everybody who codes otherwise... we call them WRONG!!!!!
Anything you would like to change? NO! We will write it the way "WE thought it before" (I think he meant "HE thought" and impose into us... but... well, I guess I'll have to endure...)
It is the first meeting for this project, and I already want to jump off of a bridge :)2 -
I way under-quoted this custom CMS.
I thought ContentBuilder.js was going to be a better plugin. Documentation is lacking, I've run into a couple bugs, and the thing looks like it was built 10 years ago with iframes for image uploads...Ugh.
On top of that, I didn't realize how much work certain things would be like the drag and drop menu builder. Yea....it took 4 different plugins to find one that works well with nested items.
I'd say I'm 60% through and need to be 90%. I'll probably start cutting corners unfortunately :(2 -
Whenever I'm trying to get something done urgently suddenly something wrong happens. And then a chain of 'something wrong' starts. It doesn't matter how many different ways I try, there's always something wrong waiting for me on the way.
And when I try to fix 'something wrong', something else wrong happens.
I feel like this whole universe, each and every atom in this galaxy is trying to fuck me up.3 -
So I recently installed Arch Linux... I don't get it. I got one little error... easy "fix" though :/ The minimum is up in less than half an hour... then maybe installing a desktop environment (I like MATE)... and... that's it.
What's the big thing I missed?
Is it only because "da user has da force" and "da user is da control master"?
Is it only that the user (in this case me, myself and I) is responsible for every fckin package, update whatever?
I'm sorry for my stupidity but... I'm not sorry for my intelligence 🧠 🤪
It didn't feel special in any way :(
but was a bit interesting 🤔7 -
I have been working on a really interesting project for the last 6 months, now they put it on hold because another department wants something else done.
Now I have to go back and work with shitty tech and horrible legacy code.
They said is only for a month or so, but I can feel that it will be more, way more.
I feel like it is bothering me more than it should, probably because the other project was mine since day one and was way more enjoyable to work with.
Part of me wants to quit because of this, part of me tells me that I need to wait and I will get the other project back.
What would you do? How can I shut up my internal quitter voice? -
I did an oopsie.
I accidentally accepted a job/project through a friend and realized later that I would have to use wordpress which I have absolutely 0 experience with.
The thing is it's a website for swimming club and at first I was like sure let me just recycle this old school project. But then I've realized they are gonna need something dynamic (to update their schedules etc.) and that they will need something user friendly.
Later I found out that their previous website uses wordpress and that they like it and wanna keep that.
So here I am, thinking if I should just back off or try the dangerous way of learning it while creating the website (it probably wouldn't be worth the money since they won't pay much).
Honestly, how did I even get to this point.2 -
I tried to make some SP using the syntax and formatting that visual studio outputs when making a SSRS report. I thought it was nice.
It formats the code in a standard way and transforms stuff like "join" to "INNER JOIN" and "left join" to "LEFT OUTER JOIN ".
When the team reviewed the code they were like WTF?! This syntax is horrible, it can't be understood. You did this?
*Me with my red face*...
I just said. You know what? I am going to go back to the old school syntax if you prefer. I just thought it was better.
Yeah... You really should go back to old school syntax.
---
Keep in mind that the old school syntax is annoying to me... No formatting at all and basic instructions are not in larger upper case.
Anyway, I thought it was nice tbh. I still think it is. And it is definitely better to me in some way.
What bothers me most is that they want to improve their coding. They say they want to be more standard and it seems every time you want to make a change it's not a good idea because "everything is already written that way". And when you don't make a change, "you should have change it"... Well sorry I was just copying the old style.
Anyways , it's not that important. I do get their point. Sometimes.1 -
So I just got something to work the way I wanted it to as a start. But I already don’t like the result and want to change it, even though this is how I planned it to be.4
-
Another Team: How do we do this thing? What aws role do we need?
Me: You do it like this, and I don't know the role by this guy does and all you have to do is ask him for the name of the role to assume.
AT: Ok, great.
AT: We're going to do it like this (wrong way, completely against best practices and completely against what the company architects dictate)
Me: No... thats the wrong way. Don't do it that way. That is bad, because (Reasons A, B, C). Do it the way I told you it should be done.
AT: Ok! I see thank you!
3 hrs later
AT schedules a meeting to go over options to do the thing ... including the WRONG WAY and they still haven't talked to That Guy to get the role name they need.1 -
This Old Fart looks at webpack prod ver of my code and be like change the way you write code because I can't read it.1
-
Programming Siemens PLCs is the same like using windows. Pretty comfortable - if you are fine with using it like 85% of the users.
Spent 10h today finding a way to realise an interrupt everytime a specific variable is set.. Every damned microcontroller can be used to! - _-
And therefore this typcial windows user question:
Is it not intended by Siemens or am I blind?
I mean i know you can use some prefabricated interrupts.. Like the cyclic interrupt OB.. I can't believe that it's not provided to freely create interrupts?!
Someone with an idea? -
This laptop se poes!
3 BSODs already today. On top of the whole wicket thing giving me kak with the stupid way it pulls in JS.
Like this is a Java gig (which comes with several issues of its own) so why the fuck am I on Windblows anyway5 -
I love coding, but there are some days when it drives me absolutely crazy. Like when I spend hours trying to debug a single line of code, only to realize that the problem was actually something completely different.
Or when I'm working on a project and I'm pretty sure I know what I'm doing, only to discover that there's a better, faster, and more elegant way to do it. It's like my entire codebase is taunting me: "You thought you were good at this, didn't you?"
But you know what? Despite all of the frustrations and setbacks, I keep coming back to coding. Because there's nothing quite like the feeling of finally getting that piece of code to work, or seeing your project come together in a way that you never thought possible.
Coding can be a rollercoaster of emotions, but I wouldn't have it any other way. Here's to all the developers out there who know what it's like to ride that coding rollercoaster, and who keep coming back for more.1 -
Went to scan a file with the built in Win 10 scanner. It came up and said the file was excluded from scan. So it gave me a link to the exclusion directories of the virus scanner. I looked and it had the entire C drive as the last exclusion. I did not do this. I have specific directories on exclusion, but not the entire drive.
I got rid of this exclusion and scanned the entire drive. I didn't get any virus or worm hits.
Is this a sign of an infection?
It would have had to be changed with something that asked for permission to make administrative changes like an install. I honestly don't know what I would have installed that I gave permission to do this lately.
Is there a way to accidentally right click somehow to add a directory to the exclusion list?3 -
I'm in need of advice. I reckon this is no stack overflow but that's probably for the best as I wouldn't feel as comfortable posting there as I am doing it here. So, back to the question: I'm currently working with legacy code, written in .NET 2.0. This code is responsible for calling upon PEC services in order to finally create personal smart cards. I was tasked with the job of creating a repository system that would allow the program to call on the old legacy services or the new ones without any distinction. We are talking about SOAP services in both cases. The issues is: the new service definition is comprised of soap policies. This wouldn't be a problem per se, with more modern version of the framework, but with .NET 2.0? Yes, it is. It doesn't support policies and signing the body with a certificate right out of the box. How can I manage this? I feel like the only way would be letting the proxy class do its thing up until the very last moment: intercept the SOAP request before its sent and modify it according to the specifications. But I reckon this is very bad practice. Is there any other way out of this?
Thanks for anyone that would like to help. 🙂6 -
How come so many dev teams are working with blindfolds on?
We have two projects that communicate using endpoints. One of them throws a parsing error with some data. Cool, just give the calling project some debug references and attach a debugger right?
Apparently not. I haven't figured out why we can't do that, it seems like the project only works using nuget references so we never get any debug info for the other project.
Asked around how we usually solve issues like this. The answer: "idk the codegen always works, so we never solve issues like this".
What.
It "always works". Except now it doesn't. And you've never tried debugging it? Instead just working with blindfolds on trying random shit until it does?
This is far from the first time I've heard this on a team. That and "we don't need error codes, if something goes wrong we have to fix it either way". I'm losing faith in the dev world... -
My fellow Linux Gamers, how do you DO IT?? I mean, my laptop is not some beast (it was 5 years ago, but now is old and tired) but it was able to run (not the smoothies way possible) games like Dishonored 2 on windows, but now that i am full-time Ubuntu user and i am stuck to minimal games i ask myself:
HOW DO YOU RUN SOMETHING POST-MARIO ON THIS SHIT?? i even tried wine with play on linux and even Gothic 1 runs like a slug..
Please, help a fellow gamer and linux enthusiast to understand where to look for a more performant experience 😔12 -
!rant
@dfox it would be nice to be able to see whom you are following, so you can easily revisit rants you love.
And please don't let us see how many followers we have, I like it this way :)
So:
Following list ++
Followers list --6 -
!rant
How to market an app?
So I am working on this very simple app. It has more or less one feature and also a quite limited target group. I make the app mostly for myself because I need this one function that it has but it would be nice to get a few bucks out of it (after I get the bugs out of it). I can't tell you what the app does (I realize I sound one of those "like facebook but..." people) but imagine those really simple apps like the many water level apps you can find in the app store but only musicians will ever need it.
So here is the question: should I limit functions and show adds and sell a pro version or only offer one version and always show adds? It will be a handy tool for those who really use it so maybe someone would consider buying it. On the other hand, the features are way too cheap to spend money on (who would buy a flashlight app?).
Thanks for your help!1 -
Hey so if anyone works for/know someone in MSFT, here's an idea if you can get it in front of someone that can do something with it.. (I tried Twitter.
Have Windows feature/app to transcribe/caption any audio (videos, zoom chats, etc).
Like this without all the setup and using your voice engine (Translator).
https://docs.google.com/document/d/...
Think of it this way, your still dominate computers and you can one-up Google.... And Apple.15 -
Just a question about a generic social app. Using mongodb , 3 entities ,like comment and post . how do I display posts in feeds with comment count and like count . since its mongodb I can't do joins . the other way is to maintain a data structure on the server side . or yet another way would be making 2 extra queries to db for retrieving like and comments count . Any other way this is possible or is it possible to form a query in mongo db to retrieve all 3 at the same time???1
-
It's been a bit since I last used this platform, but I recently got a "new" phone (as in it's new relative to the one I've been using) only to find the devRant iOS app is no longer on the US app store. It doesn't seem like the tools used to create ipas from installed apps works on devRant (I believe they're built around 32-bit apps and we are way past that now) so now I just have this device with an app that seemingly no longer exists.
...cool I guess?6 -
Hi guys so I have a fairly simple spring boot backend with mongodb. I am starting out with this setup for my app. I dint choose something like firebase because it will lock me into their ecosystem.
My question is can initially just run my backend with Digital ocean droplet or I need dedicated hosting?
Can it be done with docker. Is it the only way?
If not digital ocean then which one? Vultr, hetzner, linode, aws lightsail?
What are the things needed. Am I missing something?21 -
Thought this algorithm keenly, it's like the best way I could or it could ever be done (in my head)...
there is no way this is going to fail
Then it fails terribly 😡😡
These are the times you feel like changing your career then un-installing devRant -
I have come to the conclusion that I'm dumb as fuck.
I have been stuck on this trivial problem for 1 HOUR AND 46 MINUTES...
https://leetcode.com/problems/...
maybe, hopefully, just because i'm trying to do it in a "clever" way, maybe if i just did it the dumbest, most inefficient way i can think of, it would take me "only" like 15 minutes, but at this point i'm not so sure... :(37 -
So this is a long, time sickness i have with the way we are brought up and being counseled in mental ilness. I feel like because i have bipolar disorder, and combat PTSD people are unaware of how debilitating it is to live like this, they just hear the symptoms and have no idea what its like to live with it. So like my wife and parents they are so ignorant to it that its insulting.. Im not toootin my own horn, but from 21-32 i have dont nothing but kill myself in every way i can. or jump headfiurst into addictions just to stop the dark times. I married a women thats become the worst person who has ever crossed my path. I need a helping hand sometimes to keep it together from people that shouldnt ever feel bothered but being honest with them is dissapointing..1
-
Hey guys and gals, hope everyone is well! very recently i have ventured into learning how to use Emacs! and i find it very interesting !, I'd like to know whats the best way of going about setting up my Emacs editor for Python 3? Before learning Emacs i have mainly been using visual studio and intellij Idea :-).
One more question I have a project idea i'd like to build for myself, I'd like to create a small program to keep track of my favourite stocks and essentially send me notifications or emails if a price has gone down or up :D, whats the best way to approach this? getting the data etc? I'd like to personally build this with my Emacs editor too!
Thank you for taking the time to read my question :D, really appreciate it!
Milo3 -
With firebase, is it possible to see events in realtime? I know how to debug on my device via DebugView via adb. But I want to distribute a test build to my client and I want him to be able to test events himself. I saw there is a StreamView but it allows to only select a snapshot of random user. I need my client a way to be able to test the debug build on his device while being able to see events in realtime, like for example it's being done in Segment. Is there a way to do this in firebase?
-
I need to go buy a rubber duck so it looks less like I'm talking to myself. Trying to pull out and refactor some shit functionality in a WordPress theme because the client NEEDS it. Frankly all it is doing is creating a custom post type, but they're used to the way they've been doing it and I'm stuck with dealing with it. I generally like this part of my job (my face in the code) but trying to read this huge mess of code with no standards is driving me insane.
"What in the hell are you doing here?" "Why do we have variables for $thedata, $the_data, and $theData?"
"Why are your brackets on the wrong line sometimes?"
"Why is each line in this function enclosed in it's own PHP tags rather than around the function?"
At least if I had a duck I could say I'm talking to him.3 -
What is the efficient way of querying database and fetch paginated posts AND also checking if the user viewing that post has liked it?
Just like on instagram or twitter, you can just like/unlike post.
Entities:
- user
- post
- user_post_like
Ive implemented fetching posts for 1 user profile and also liking unliking each post. Thats fine
But now how do i know which post has been liked by which user?
One way i can think of is:
1. Query paginated posts (e.g. 10)
2. Loop through each post and query in user_post_like table to check if this post has been liked and if it is then set flag liked to true. That way on the frontend i can easily set liked or unliked post via ui
But this means I'd have to query database 10 times all the time, aside from querying 10 paginated posts. This doesnt seem efficient... Or am i wrong? Is this normal?
How would you model this?7 -
A piece of my soul dies when I see code like this:
Y = x ? false : true
I was already mad because the file that contained this line was written in a way that makes it really hard to fix any bugs or add feature that were supposed to be already implemented, then the sight of this just made me feel sad10 -
I have a Question ✋
Scenario : We are the offshore team. Asked to add a feature similar to other product. I added the feature in product, created necessary database to store the data. Later Manager started barking how my code isnt similar to the one he asked for me to do. I explained to him, my way is better for, database is optimized and is simpler. Later had to redo his way.
Question : How often do you come to situation like this? How would you have handled it? 🤔
Extra : Share if you have similar story.3 -
Yo grad school is a mark ass bitch. That being said I love it in a weird sadistic self torture learning new things kind of way ❤️
Serious question though. Should I take two instead of three classes next quarter? I have no time for a life with three classes. My gf is not happy with this. And if I’m not studying everyday there is no way to comprehend things at a basic level. If I take two classes I feel like I’ll be falling behind. Is it expected not to have a life in grad school? At least nobody is bothering me about jira tickets and when I’m gonna ship here.3 -
Hey Guys,
I want to build a voice assistance like Ok Google from scratch using ML.
Actually, I'm unable to figure out How can I achieve this 😅.
I want App like When I give command like Open DevRant then the App should work like Google App.
Ok all Good.
But I want to know If I write a code to open any App like Open APP_NAME
then It is coded by me not my app is learning this.
Sorry If I'm unable to Explain this to you.
I want to know Should I have to code all procedures for doing task like open any app, calling any number, etc myself or is there any way that my App can learn on its on 😔.
If somebody understand this please suggest me what is best for this.5 -
My boss told me to search some information about a specific way to program a web wich name i don't remember. It was based on Java and the icon was something like this. Am i fcked out?2
-
Alright so I have been trudging around in javascript land for a bit and one thing kind of bothers me (correct me if I am wrong I would love to be wrong on this). It seems like a lot of javascript, or at least frameworks, leave a lot of possibility for memory leaks. Like you can create an anonymous object with a method that just kind of hangs out and acts with no way to retrieve it and turn it off. Am I wrong here? Please tell me I am wrong. And for the record I know I can assign anonymous objects to variables in various ways, but I am not forced to.4
-
Pretty new in my company.
Every time i ask something like vcs or other stuff they just tell me do it this or that way, because it's 'grown historically'... I can't hear that anymore... They just don't give advice and show me how to do stuff but not explain... And always say the two words... I can't hear them anymore... -
I don't know why, but even though I have years of experience doing agile both in school and at work, I seem to have a hard time adjusting to the agile work method because I always seem to want to do waterfall.
I don't like the stress of having to rush out a product, nor do I like working on an unknown piece of software (framework/library) without knowing it fully; it just itches me and I get obsessive.
I don't like creating just a piece of functionality and rush it out the door, but I rather like doing it in an R&D type way where I get years to finish a product that I slowly work on, like a modern-age philosopher and scientist.
I know there are companies out there that have this approach, but sadly most of them are agile 'cause they all wanna be cool.. LoL
I'm an old mind in a modern world..2 -
So I think I have answered this, but here goes.
I have ddns service I need to update periodically. I chose once every 5 minutes. I am using this command:
/usr/bin/wget -O /dev/null -o /dev/null <webcall url>
I have it running every 5 minutes in a cronjob. I checked and wget is using port 443 to connect to my webcall url which is https. I am assuming this is hiding the details of the url. Is this true? Also, I don't like that the cronjob is sending the whole command to syslog. Is there a way to prevent it from syslogging this? I would rather keep the details of the url hidden as much as possible. I am the only user on the server, but am curious if there is a way.
So questions are:
1. Is wget hiding the details of the url from prying eyes? It is using port 443 for https.
2. Cannot I not log the cronjob command in syslog? I supose I could create a script that hides this.6 -
Does anyone know if there actually is a way to make URL alias? Like:
I wanna go to https://maps.google.com
But instead I only wanna type : maps.google
Just like that new thing of Google "sheets.new"
Or are there any Google Developers that may see this and are gonna implement this 😉
And I know: But why don't just type .com behind it? Well.. If there is one thing that I've learned as developer it's that every second you spend to long on one thing.. You actually waste because at the end you could've wrote a whole project! Or fixed a bug or something like that. You know what I mean17 -
Today I tried: pnpm.
Following up my hateful rant against Isaac Schlueter and his decisions on npm.
I went all the way out and tried so many alternatives, honestly found a developer experience much greater than the "official" one.
What triggers me the most is the explicit statement of "other creative means" in this commit https://github.com/npm/arborist/..., you don't talk like that when all other package managers are making creative workarounds for the design failure of node_modules.
I don't know what it is but I really hate this guy.4 -
Been looking into some of my old code (an OBSE plugin). Wanted to know how something worked I made over 10 years ago. I look through the code and some of it makes sense, some of it looks really messy compared to what I write now. I want to remake some of this code to work on a different game now.
I have some code for threading that I have no idea where it came from:
https://github.com/Demolishun/...
It allows transferring data between different threads using mutexes. It is really really simple. I searched github to see if it came from there. There is stuff with similar names, but the code is way way different in those. I honestly don't see whey this code needs to be any more complicated than it is. I wonder if it is because I don't know something or I just like simpler solutions. Maybe there are use cases the other coding solutions have that solve particular problems?
Anyway, I plan to pound out an SKSE version of this plugin. I have been wanting to make this for some time now. I don't necessarily have a need other than the fun factor. My lack of providing good directions for use on the OBSE version kept people from using it. I will try and do better on this version.2 -
If I make a character oscillate on my screen, and match its time period to my camera's fps, it should seem still on my camera in theory right? I tried to implement it like this: https://www.paste.org/115774 but I can't figure out what could be going wrong, my guesses are either I'm expecting too much precision, or my camera's fps fluctuates a little, either way, please let me know what you think could be going wrong.18
-
Did my upvote crash devRant... Now where's that post again..
https://devrant.com/rants/4849574/...
Hm... Maybe Android just didn't like that I upvoted that...
Which reminds me of my rant now.
In Android 12 after upgrading, the Square button (recent apps) stops sometimes and then I need to reboot to get it back...
But instead, so I didn't have to reboot, I switched to Gesture navigation... Which actually isn't that bad after getting used to it?
So maybe this was another Google truck to force their way.... -
Any advice for debugging a 520 error from Cloudflare?
I know this isn’t SO but Ive been having the toughest time finding a decent way to find the cause of a 520 error from Cloudflare.
I have a droplet of Digital Ocean running Apache 2.4X and randomly throughout the day I will get 520 errors in the browser’s Networking log.
Naturally, there’s nothing even noted in the Apache error log or access log. And Cloudflare has no logs on this in the console.
If I retry the request it will go through with no problem.
Anyone experienced something like this?5 -
Many people seem to hate jQuery and want to do stuff in some library's way, and I'm here like... What? jQuery is a perfect way of doing things like DOM manipulation, when everyone comes along with their libs, they will only exist for 1 microsecond before it gets abandoned, while jQuery has been around for YEARS and it still works the way it first has been
I don't get the appeal for new JS libs and hate for jQuery, at this point I'm suprised its included in standard browser contexts2 -
This stupid windows update 1803 is complete mess. The windows changed my background image to blank (it was like dark screen all the way) fuck ..for a sec I thought OS crash or something. Any idea why this is happening with 1803 update?2
-
dude why there so many dum fuck in this industry like people who just graduated , and don't know shit about tech or anything but flex and complain about shit just can accept that they don't know any shit this many years fucking noobs nothing like why are they , this don't deserve jobs just make bug and always call for help like why cant they figure out their shit, its just cant just spoon feed they every time, like i dont know what happens to this people after or they just survives in it? just tired of getting my ass on whenever they suck dude they dont know how to commit git lol , but never accepts , i am not talking about one person its like a species now , they dont even try to learn even tho they get jobs for no way , itrsucks2
-
Is it just me or is it annoyingly finnicky to get an android device connected to Linux? I want to transfer files but its not getting mounted (unlike all my other devices like USB sticks/HDDs). And yes mtp is turned on on my device. How do you guys do that? Any convenient way? In this case I would actually appreciate a non CLI method5
-
I’ve made a list of things I want to learn. Languages, frameworks, etc and i don’t really have too many things on the list that way I can learn them well.
I’ve been struggling with this choice because I’m honestly not sure whether or not I should consider Rust to be on the list.
I like the modern features it contains, and I don’t mind the syntax.
I don’t like it’s way of memory management, I’ve heard it’s performance can be very lacking, and I’ve heard a lot of negative things about the compiler and the efficiency of the language (although I feel like efficiency comes down to the person and how the code is written)
So please redpill me on Rust and try to convince me to add it to my list because it’s close.2 -
Drupal. What is that for a CMS ? Should not be called this way. Feels like there is no UX at all put into it.
I really want to run away from work right now. -
Hey guys!
I would like to know what are your workflow for planning an angular2 project.
I wanna do it in a correct way. Component-oriented and using good practices with this concern.
I read your thoughts :) -
I really don't understand javascript sometimes... I'm trying out feathersjs, and I really like the idea of the services/hooks architecture. I even see they include some conveniently preconfigured database services. So I see they also have the ability to generate the tables from my javascript (using knexjs) I figure hey this is great and really convenient and a nice in between using a full ORM and straight up sequel... problem is, it only works sometimes, because it seems every database adapter in javascript all run asynchronously I can't seem to figure out how to make it wait for the database to finish being created, before the rest of the framework configuration finishes...
I've spent nearly like... 5 hours wasting my time on this trying to understand why/how it works the way it does, when I could have just written a sql script (which I will be doing...)
I just want to curl up in a corner for a bit after this experience...2 -
I know that when your code is in PR Process its a good oportunity to improve but I dont want my TL think I am useless... It was a good way to verify how he likes to work and that he is a functional approach fun but I would like to give him the image of being accountable... This is my 2nd week...
I would like to know if there is a place where you can grab imperative java code so as to practice... I wont run like crazy to transform all to functional but would like to be awared..
We are using Java Vavr library which is amazing... -
I'm currently working at a company that builds escape-room alike games (sadly that's how I can best describe it). My boss lives by the "I like this therefore this is how it should be!"-mentality, and this has led to none of the rooms having anything in common with any of the other game. I need help finding a way to inform him that we need to unify the look and feel of our games to create a overall feel and a "brand".
Do any of you have any good way of showing that this is a good idea and a way to prove that it's needed, straight out telling him this has not worked.7 -
🐟💩The image i fetch from s3 is of type byte array
I return it to angular as an ArrayBuffer
Which then needs to be somehow converted to an image so i can fucking show it
Then after research i had to convert ArrayBuffer to Blob
And from Blob to URL encoded object which returns a string that now shows the full image in img tag
Somehow, by a sheer of trials and error i have just accidentally made a very secure way of fetching a very sensitive piece of document (verification document with user's personal data on it) and now in browser this is shown as blob:shit-image/random-hash. Not even the file extension. This means nobody can download this image. You fucking cant. Its a Blob motherfucker! Like a Blob Fish. It saves either a .txt when you try to save it (no idea how) and if you try to open the image in new tab it shows gibberish text. This means you can read-only this highly sensitive document image and not manipulate it, not even download it. Perfect. I have just made a very secure software by accident.
(this blob fish looks like my shit)3 -
I loathe manual regression testing. So much so, that today I made a quick bash script to move my mouse every minute to make it look like I'm online and doing stuff while I watch Twitch and YouTube videos.
The worst part is that we have Cypress to automate this and my company puts more value in pushing out features instead of automating all this unnecessary manual testing. Soooo I'm just not gonna participate because there's no way for them to know that I'm *not* testing.1 -
Does anyone else also feels like "I knew it why I didn't try this way, this was easy" after using stackoverflow1
-
So I just started another little project, and recognize it. It was one I was super close to finishing as well, just like the other.
All I'm waiting for on the one project is the ability to get a good c# dev env setup on linux.
but now I wonder should I abandon this one to ?
seriously, point ?
listening to these fucking people make their children misbehave and wail is like being in hell.
this is EXACTLY the way I would envision hell.
projects I can't fix
eternal entropy
no sex
and fucking pedophiles everywhere.
that and screaming.