Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "it all just works"
-
Boss: “Our YouTube channel doesn’t look at all like our website.”
Me: “I’ve made it look as close to our branding as YouTube allows for with its limited editing controls.”
Boss: “This is unacceptable. I expected more from you.”
Me: “I cannot accept the blame for this. YouTube is setting the design parameters for all channels and I can only do so much.”
Boss: “You can call the YouTube, can’t you? Why didn’t you call them?”
Me: “.......and ask them....what?”
Boss: “You don’t ask! You tell! Our company has been around for 140 years. Our brand name carries that weight. They’ll change their design to what we need if you’re assertive enough.”
Me: “Ma’am, that’s just not how this works. That’s not how any of this works.”50 -
The mobile web version of GitHub is absolute garbage. It's so shitty I don't even get why they bother. It lacks basic features like issue searching and the interface is so dumbed down everything just feels cheap and I always feel like I'm missing out.
All the devs I've talked to say they always just select "show desktop version." I do that too. It works perfectly. It's so fucking annoying. I wish they would just make a real mobile version, that's not missing features, or just default to the desktop app on mobile - works fine and everyone uses it anyway.43 -
I just remembered the first time I set up a Linux-Server. It was a simple Apache webserver at my first internship anf I didnt have a clue about literally anything.
My mentor guided me through and gave me literal step-by-step instructions (alright, now type... and now type...).
At the end he told me "OK, now run 'sudo rm -rf /*' to finish setting up". Me, being the naive and clueless motherfucker I am, happily nuked the everloving shit out of my newly setup server. I was like "Alright, WTF just happened??" He then told me "Now that you know how it works, do the entire thing again all by yourself. And you just learned an important lesson: NEVER exexute commands you dont know what theyre doing". I really did learn a lot on that day and still follow that lesson :D8 -
Apple has a real problem.
Their hardware has always been overpriced, but at least before it had defenders pointing out that it was at least capable and well made.
I know, I used to be one of them.
Past tense.
They have jumped the shark.
They now make pretentious hipster crap that is massively overpriced and doesn't have the basic features (like hardware ports) to enable you to do your job.
I mean, who needs an ESC key? What is wrong with learning to type CTRL-[ instead? Muscle memory? What's that?
They have gone from "It just works" to "It just doesn't work" in no time at all.
And it is Developers who are most pissed off. A tiny demographic who won't be visible on the financial bottom line until their newly absent software suddenly makes itself known two, three years down the line.
By which time it is too late to do anything.
But hey! Look how thin (and thermally throttled) my new laptop is!19 -
Sister comes into my room
"Can you look at moms laptop, it stopped working I'm scared I broke it"
Ask why
"Idk it just stopped working, all I did was install adobe flash player I dont think that could do it could it?"
Top kek
Take a look
"EFI IPV4 0 (error code) failed to boot"
Weird. Enter bios
"Hard drive: [Not detected]"
Well, that's no bueno
Pop open back, hard drive is loose
Pfft, push that fucker back in
Boot -> works
"Mom is going to kill me I broke it im so worried" -> relieved laughter
Adobeflashplayerkilledmyharddrive.jpg
Shook.exe14 -
Dude, FUCK automated bathrooms.
First of all, what the hell is so complicated about making a motion sensing faucet that works? Why does it *need* to be motion sensing? I stand there for 5-10 seconds with my stupid soapy hands extended, waiting for a squirt of the divine liquid.
And then the immediately following experience isn't much better. Motion sensing paper towel dispenser. The first go works fine, but it always dispenses half of what you need to get your grimy paws dry. So you go in for seconds, and it just flat out ignores you. Leaves you on read. You flap your pathetic noodle arms at it again. It isn't happening. Please wait 3-5 business days.
Oh, and god forbid you forget to cover the automatic toilet with a few wasted squares. Lean into a shit ONCE and you've just been prematurely flushed. Your ass is misted with the cold, unforgiving equivalent of an automatic insult.
Asshole design12 -
When i was studying Engineering, I used to wonder how programmers works straight 3,4 days without sleep and all.
With today, I completed my 3rd day, with just 2 hours sleep in the last 70 hours.
Now I get it,
This is.. passion,
This is.. love,
This is Life.16 -
For people who think/find that open source solutions are always better than commercial/paid/proprietary ones, you are not going to like this rant.
I'm starting to get really fucking fed up with people always, whenever I see someone (including myself) mentioning that an open source solution which is an alternative to a closed source one, saying that it's shit.
I've had countless encounters on here (also irl) where someone mentions that an open source solution (GIMP or Libre Office for example) is shit by default while they've maybe (or probably?) not even used it themselves.
Also people going "you can't even compare those two as for what they can do/features/functions". I'm definitely not saying that those open solutions are perfect. But to call them worthless or shit and/or to say that you literally 'cannot compare them' or that the open solution just doesn't work as a *FACT* is fucking bullshit.
Let's take GIMP for example, the use case of a friend of mine:
- He works both with macOS and Linux Mint, he *needs* a design/photo editing tool which is cross platform. (or at least one which works on macOS+Linux)
- He does not mind paying for software but he prefers to use software which is free as in freedom because he also likes to tinker with the software (a lot of people find this argument bullshit, I noticed on here. Why is that? It's a valid reason. Maybe not for you but we're not talking about you right now).
- He likes Photoshop but due to Linux incompatibility and the fact that he can't tinker around with the code, it's not an option for him.
- He'd gladly go for paid software but GIMP fills all his design/photo editing needs (also the more advanced ones but don't ask them to me because I have no fucking clue how that shit works)
- GIMP *just works* for him, he never has trouble with it.
Let's take Libre Office, my own use case:
- It *NEEDS* to work on Linux, which Libre does.
- It *HAS* to be open source, ethic/moral thingy; Libre Office is open source.
- It doesn't need to work complete magic but it needs proper basic document and 'excel' sheet functionalities which is the case with Libre and it works *for me*.
- I don't mind paying for it, will probably donate in the future (seeding the macOS+windows+linux versions fulltime at the moment)
See, for our use cases, it works very well. So why go into "it's no match for proprietary alternatives" mode right away? It actually is, as you see in the examples above.
Please stop saying that those solutions *don't work* or *are shit* because they do work and are useful for me and loads of people around the world.
Do they have *ALL* the features which their proprietary alternatives have? Maybe, maybe not, maybe they're missing some and maybe they even have some features which the proprietary alternatives don't have, I haven't checked out every feature.
I'm not saying that it works for you, for the record, I'm just saying that just because for you it is a fact that they're bad/shit/hardly working, doesn't mean they are for others.21 -
Alright people, I'm gonna be blunt here, which is something not often seen from me. Thankfully this platform is used to it.
I am absolutely sick of people hating Windows/MacOS just because of the fucking practices of the companies. Let's take a look at a pro/con list of each OS type respectively.
Windows:
Pro - Most computers built for it
Pro - Average consumer friendly
Pro - Most games made for it
------------------------------------------
Con - Proprietary
Con - Shady info collection (disableable)
Con - Can take some work to customize
~
Linux:
Pro - Open source
Pro - Hundreds of versions/distros
Pro - Incredibly customizable on all fronts
------------------------------------------
Con - Can have limited modern hardware support
Con - The good stuff has a steep learning curve
Con - Tends to have unoptimized programs or semi-failed copies of Windows programs
~
MacOS:
Pro - Actually quite secure in general
Pro - Optimized to all hell (on Apple devices)
Pro - Usually just works
------------------------------------------
Con - Only (legally) usable on Apple devices
Con - Proprietary
Con - Locked down customization
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See? None of them are perfect. Fucking get over it already. Maybe I want to use Windows because it works for me, and it actually does what I need it to. I can disable the spying shit through a few nice programs. Just because I work in IT doesn't mean that I HAVE to hate Windows and LOVE Linux! I mean, Linux is absolutely SPECTACULAR for all of my servers, but as a Desktop OS? Not there for me yet. Check one of my other rants: https://devrant.com/rants/928935/... and you'll see a lot of my gripes with Linux that Windows actually executes well. FUCK!38 -
Once we were going to present a web service to governmental firm. All is going well so far and my boss asks me to host the web application the day before the presentation.
I hosted it and all was good with demo production tests, but I had a bad feeling.
While it was running on our server, I also ran it locally with a reverse proxy just in case.
* Meeting starts *
* Ice broken and down to business *
"And now our developer will run the demo for you..."
* Run the demo from my laptop to double check --> 500 Internal Server Error *
Holy shit!!!
* Opens reverse proxy link on my laptop. Present demo during meeting. Demo works like a charm. *
Firm representative: "Great! Looking forward to go live."
*Our team walks out*
GM: "Good job guys"
ME:4 -
Half a week later I finally found out why my DNS server "wasn't working" on any of my servers.
Let's just say that MullVad's anti-dns leaking technology works extremely well.
It was tunneling all DNS requests through its own servers to prevent DNS leaks and I never thought of it a single fucking time!
😅4 -
So today I decided to switch to angular 4(material) on a project I had done. I have to say I am shocked by the sheer size of the node modules dependencies I have to install. Why wouldn't they just ship it all in one package. 😤 I had to install the client, material SDK, animations etc and all this is happening over shit sub-saharan Africa internet speed. I have been setting up for the past 5 hours and I'm only halfway through. If anyone reading this rant has a company that works to bring internet to Africa please hurry. We need you.4
-
Still not learning git properly. I still find it very hard to grasp how this works and although I'm starting to use it more and more, I just can't wrap my hear around it so I often reside to scp for upload and no version control at all.
:'(34 -
My team member just rewrote all of my code and it looks beautiful and it works but and now i feel like I'm a terrible programmer :'(13
-
Just the other day I got back from getting an extra monitor.. and just when I came back home, some older lady that also lives in this residence came to me, all panicked because her left car lights wouldn't turn off. So she asked me whether I could fix it, because I'm a man and therefore technical... Yeah.
Told her I don't know anything about cars (I don't even have a driver's license), and she should ask someone else.. but she kept clinging on to me and eventually I figured.. screw it, how hard can it be?
Got to her car, yada yada yada.. lady opens the door, and it's full of fucking buttons everywhere! No fucking way that I'm gonna dabble with those. So, do the easiest thing first.
"Ma'm, could you please turn on the car?"
*Turns car on, all lights light up*
🤔 Fair enough...
"Hmm.. and what happens if you turn it off now?"
*Turns car off, all lights go off*
Lady: "I've got no idea how you've done it but thank you so much, you're an angel!! 😊"
Me: "Well.. 😅 let's just say that turning it on, off and back on again works at least 90% of the time..."13 -
Fixed a project for a collegue.
Him: How did you fix things, what's the process?
Me: Click stuff and press Buttons randomly until it works.
Him: ... That's all you did?
Me: Yup, the rest is just experience. -
Best current career choice:
Quit to become a Freelancer.
OH BOY did I sleep bad directly after that decision - no contracts, no sales running.
Oh BOY do I now 2 days later sleep like a dam relaxed, happy baby :) - My network for the win!
The days before handing in my resignation I really looked forward to just leaving, but the actual task again was scary. Why? Cause until then future for me was bound to income, job=stable income = happy me, happy wife, happy child.
Now? Just 4 days later, If all goes to plan I'm already overbooked twice. Truth told!: Couldn't have done it without the network that I built over the years where I was employed. Let's see how this works out :)
I stand up with a huge smile each morning: Just a great feeling!5 -
Me: I've been using ubuntu with i3 for 6 months. Is awesome. Everything works great.
Brain: Have you seen debian or arch linux. They're better than ubuntu. Just try' em
Me: Brain shut up. I don't have time to reinstall everything + I'll 100% fuck my pc up. I'll do it another time.
Brain: Trust me. I know what's better for you. Try it now
Me: No.
Brain: Pleeeeease.
Me: Ok fine.
Me: Now windows doesn't work, debian doesn't work. I need to format my hard drive and do this shit all over again.
Brain: ¯\_(ツ)_/¯. Hey. Install arch linux.9 -
This just makes me mad every time.
I have a friend who asks for help in coding and just reads and copies my whole code, doesn't even understand what's going on and just copies the whole damn thing (the variable names too). Also, says I don't know how to do it properly because I indent the code and he wants it all in a single line.
If there is any error in the code, just tells me that there is a problem and does nothing and keeps nagging me if I solved the problem every 2 minutes.
Once I solve the problem, just copies the stuff again and then brags to others about the code and takes all the credit.
After bragging, if someone asks him for help he just tried to match the code line by line and worry by word. And tells them their code is wrong if they are using a different method of solving the problem and asks them to do it like him.
Being an introvert, I don't go shoving my stuff in others faces and criticising their code.
But the professor knows I am good, so that works for me. :)17 -
Does anyone else despise buzzwords? A little background. I am a senior dev with a government organization who works in machine learning. As everyone knows, AI is the hottest of the hot now. Thus, everyone believes that they need it.
Long story short. I had a "requirement" come down to develop an "AI" algorithm that totaled all of the hours that a device was used last month. I explained to them that they weren't looking for "AI" and instead they needed rudimentary mathematics and a touch of Business Analytics for visualization. When they finally understood, they told me "nevermind, we just want to get into AI"...11 -
Linux... Is shitty... Ok it just is. I've tried all kinds of variations and they all just... Urgh
Now I know... I know devs are meant to love it ... But compare it to windows
(Yes windows fucks up more) but when it works it works.
... Windows isn't perfect... But it doesn't try to be.
Linux has that feel of... Clearly made by a dev... It works consistently but doesn't take into account how people want to use something...
Linux is something you have to learn to love. And I'm sure I could.
But with windows it's intuitive it's straight forward
I feel like if I was to pick up windows having never used it... I would know how it works. I could at least use it go online and watch videos do the basics... In Linux ... No it's not as easy, sometimes not possible
An os you should just know how to do everything you want to do, and not have to download tonnes of shit to get it that way
It is, the future... But holy fuck get your act together Linux65 -
I just experienced the opposite of rant.
I spent 1 entire day ranting about a algorithm I couldn't write with no issues, it occupied all my mind and got me pissed of.
And today, I rewrote it entirely, and it works perfectly everywhere.
I was like : "No it can't work here. Oh ok", "And here's the bug ! No ? Nice.", "Don't tell me it'll work here. I'm a God".
That's why I love being a dev :D
Thank you, you freaking problem I had !7 -
CLIENT "So my nephew who does stuff with computers built it and we are ok with how it all works so don't worry about changing that. "
DEV "so like you have a public form with no input filtering, spam mitigation let alone sanitization or remote concern for security. Basically you have a Json flat file that is 34mbs of links to, viagra, replica watches, nock off name brands and one real estate company. It is getting about 15 submissions an hour. Since you don't want me changing how it works are you happy to just leave all that ?"
CLIENT "no no we don't want all that but we have no route to delete it, can you just stop all the spam and let us continue on?"
DEV "ok so back to my first question can we rebuild all of this properly, or do you really want to just leave it all"
:/ FML3 -
!rant
Linux vs Microsoft
Well, this war is certainly one of the oldest. IMO,
Linux - great for automating stuff, free, and customisable.
Windows - user friendly, softwares much more easily available, much easier to use.
Frankly, I have tried using Linux a lot of times, but never liked it one bit. I am a GUI fan and hate to type commands for every little thing. Plus installing Ubuntu wiped out my disk once and I lost all my school memories ( this was in 2008, I didn't know much about backups, was quite young) ,so I am quite vary of it. I just don't feel it to be intuitive. Just to do a simple task, I loathe to learn difficult commands, and just read the syntax.
However, I have no bias against people who use Linux.
It is like religion, live and let live, follow whatever suits you.
On devrant, why's there so much hate for Windows? Because it is paid? Because it has updates? So what!
I never had a problem with it, I update once a month, takes 10 mins. If you set up your active hours correctly, it works great, you can disable updates also. Windows 10 is highly stable. It is paid, but in my country almost all laptops come with windows preinstalled. The OS-less laptops are about $10 cheaper, which is not that much to freak about.
Would love to hear your views and logical arguments.
Please be polite.35 -
Just updated to the latest insider build for Windows 10.. left PC unattended and came back later and it was ready... no BSODs, no random crashes, no issues, nothing... it just works as expected...
I can hear Linux fanatics screaming after reading this 😂
FUCK all this Windows stereotypes BS going on here13 -
My dream was shattered!!
I joined a new company. I graduated last 2 months before and joined as data analyst.
So I was dreaming to work on some awesome research projects and all, but it was just another dream...people here don't work on any sort of data analytics instead the data science team uses regex and all to extract things and say they are building models.
Ahh...wtf!!!
Many co-workers are good and help me, but the boss. He left all the annoying works to me and the release is in next month...
"BRUH I JUST JOINED YOUR COMPANY!!!"
Then after some days he gave me more task, when he found that one task was super easy(i mean it was just to extract things using bs4 and selenium, hardly will take an hour) to do then he took that himself and in the next meeting said he did that work and it was super difficult!!!
Data science here to senior members is just for loop!! I dont even know why I joined this firm
Ahhh!!! I want to scream!!!11 -
So I been telling Cox no to upgrading my modem for the past 2 months, my modem works fine, so now last night the modem just stops working, the internet is out and I call support, I tell them the problem and they without even thinking ask what version of modem I have, I tell then gen 2,they then offered a upgrade for free and the old gen 2 ones were not working lately, I reluctantly agreed to swap them for free, so after I got off the phone I was curious, I decided to packet sniff and find all my data is being sent just fine, but once it reaches the Cox main gateway it just drops the packet, I even pinged the DNS and it responded fine, turns out they just shut my connection off and basically forced me to upgrade to their gen 3 enhanced Wi-Fi bullshit8
-
> dockerized gitea stops working 502,
> other gitea with same config works just fine
> is the same config the issue? maybe the network names can't be the same?
> no
> any logs from the reverse proxy?
> no
> does it return anything at all on that port?
> no
> any logs inside the container?
> no
> maybe it logs to the wrong file?
> no others exist
> try to force custom log levels
> ignored
> try to kill the running pid
> it instantly restarts
> try to run a new instance with specifying the new config
> ignores config
> check if theres anything even listening
> nothing is listening on that port, but is listening in the other working gitea container
> try to destroy the container and force a fresh container
> still the same issue
> maybe the recent docker update broke it? try to make a new one and move only necessary
> mkdir gitea2
> all files seem necessary
> guess I'll try to move the same folder here
> it works
> it is exactly the same files as in gitea1, just that the folder name is different
>10 -
OMG! I fucking hate it when people who have no idea about technology whatsoever have a conversation about some 'technical stuff' and I've got to listen to trash like:
A: "It's a wonder that all of this stuff actually works!"
B: "Yeah, I heard that it all connects over some kind of WAVES or something like that..."
FFS! I know you can't know everything, but please for the love of god ... just don't!
- Currently sitting on the train and cringing like a madman -11 -
Tried deploying a new nginx server today, wrote the site config manually.
"Alright, done! Let's restart the service and look in the browser how it looks"
# systemctl restart nginx
> Process exited with error code.
"Fuuuuck..."
# nginx
> Unexpected } on line 13.
# vim /etc/nginx/sites-enabled/thatconfig.conf
"Wait wtf.. there's nothing wrong with the curly braces.. they're all opening and closing as they should..."
*takes another closer look*
Line 12, missed a fucking semicolon 😑
Append semicolon, :wq, # systemctl restart nginx
Works like a charm 🙄 all because of a stupid semicolon.
Until now I thought that the semicolon jokes were just lame.. but damn you semicolon, you are indeed the superior hide and seek player 😅10 -
Guys guys guys. Conversation had right just now. A PM from the company I’m freelancing for just said
“We need to move away from SQL server and shift all the data to MongoDB. I don’t want it to take more than a month tops”
Verbatim. No context. Nothing. The website is for a small time supply chain software that’s been chugging along for a decade now with spaghetti code everywhere.
How do I even respond? The other guy who works with me sent 😂😂😂 to me privately and now is offline lol wtf12 -
I don't get all this hate for windows, it works great, you can do everything on it and who wants to "customize" his os is just ranting uselessly...
I'm using windows to write this message and I'm not having any prob...6 -
I just cant fucking believe this bullshit!
THE PRODUCT YOU'RE ASKING FOR NOW ITS NOT THE PRODUCT WE AGREED ON MAKING. ALL THE ADDITIONAL FUNCTIONALITY AND CHANGES YOU WANT TAKE TIME!
I can't believe how rude can people be! We were supposed to stop working in this product MONTHS ago but you keep asking for changes, for additional things and then you yell at us just because we dont have it ready for yesterday?! You got some fucking balls man just fuck off. You have to understand the development process, every change you ask for can have consecuences that make us rewrite a bunch of code and we also need to test everything again and again to make sure it works! Gimme a break!4 -
I fucking hate all these JavaScript frameworks. You try to learn one and then there is another one that's rising up. While you wonder why a framework exists and what's the best use case there is a fresh off college grad who built a fucking app on it. How the fuck is it even possible? Did you study the framework? Did you understand how it works? Or did you just put together a bunch of tutorials and built the app. I feel people just want to churn apps out without bothering about understanding the framework. Ask them about design patterns... They know nothing about it. Ask them vanilla JavaScript questions.... They fumble easily. Ask them OOPs..... They look dumbfounded. WTF!!!
Or maybe I am just getting old. It's possible.9 -
!dev
Oh my fucking god spotify is SOOOOO trash for free users!!!
I don't mind ads, I don't mind not being able to download.
BUT, it won't let me freaking repeat a single song!
AND, it automatically adds random music to my playlist while listening to it!!!!!!!
Apparently, it has a "feature" (cough limitation cough) that if you are a free user, your playlist must contain at least 15 songs or they will randomly add songs WHILE you are listening to your bloody playlist!!!!
I was so hyped about spotify finally being in India, now I am more disappointed than it not being at all 😑😑😑😑😑😑😑
Edit: This is about spotify android, the desktop (mac for me) version works just fine 😑😑🤷🏻♂️🤷🏻♂️45 -
...i just remembered why I have a MasturbatorPattern repository on my bitbucket, why is it named that way, and what it does.
It's one of the core abilities of that magical AI i've mentioned in my previous rant. And it's called that way, because of how it works:
The Agent has some objects (as in, class instances) available to it, and wants to get some other kind of object. So it inspects by reflection ("touches") all objects around itself, inspecting their public functions, building up a plan/path/tree of "this function takes the object I have as input, and returns this other object which this other function of other object takes as input and returns this different object, which...." etc, etc, until the final function returns the object the Agent wanted to get in the first place.
And then it goes and "does" all those functions, in that order piping the parameters through.
So first it touches them (second layer of metaphor - linux finger command), and then it does those which output (ejaculate =D) something useful to it.
Therefore, MasturbatorPattern =D
Not sure if my sense of humor is just weird or outright unfunny.8 -
FUCK SAFARI!!!!! I am developing our new company website and have a deadline tomorrow. It is built with flexbox WHICH SHOULD WORK EVERYWHERE BY NOW. The new website works FINALLY GREAT in all browsers now and then I just tested it in Safari (which I did not do before) on my mac and SO MANY THInGs doNT WORK! WHATTA FCUK?? I EVEN GOT EVERY THING TO WORK IN EDGE?? Is safari the new explorer?! What happened?!4
-
I was working on a site just moments ago and everything was fine. Then I move my laptop from my living room to my bedroom and on refreshing the page everything seems broken! Disorganized cards, and everything looks 10x bigger. I panic because I was supposed to deploy it on Thursday and I was just doing some final touches and angular has given me one hell of a time. I fucking rolled back all my commits to yesterday and cleared chromes chrome's cache....still nothing works. Then I realized there's a new button on my address tab and on clicking it is showed I had (accidentally) zoomed in by a fucking 175% when moving the laptop *facepalm*. On resetting it everything was ok. Now I have lost all of today's commits and my chrome cache. One box of tic-tacs down and I still can't overcome my rage... So I wrote this rant 😠😩😩
I need a stress ball😩😩7 -
Client tests app 100000 times, app works fine
Client tests app once, app doesn't work
Client sends email to everyone,
"Hey, @CodesNotHot, this app is not working at all! Can you please look at it right now!! This is URGENT!"
I test the app, it's working fine.
I just want to high five someone with a machete on the face right now.2 -
Today a junior dev from the company I'm working at as consultant, suddenly shouted:
😤"why the hell my software behaves differently on every pc here in the office ... But it works on my machine? I'm sure there's something wrong with the OS/Framework"
🤔 let me think for a moment ...
* is it because the whole office keep developing like the ancient romans did?
* is it because that software is such a mess that requires a wizard in order to manually change all the magic configuration strings ?
* is it because every damn developer there has his particular environment and the word "container" reminds you only the show where the people bid for unclaimed shit ?
* is it because the "guru" at your company decided it was a super cool idea to wrap EVERY single external library (that just works out of the box) into some obscure static helper without even a single trace of documentation and clue of what's wrong?
🤗"I don't know... Must be a bug in the OS or framework for sure" -
Fuck Cypress. It’s a fucking goddamn pile of diseased garbage. Its design decisions actively fight against you, its methods don’t work, it’s unreliable as fuck, and it intentionally keeps stale state so your tests fuck with one another — and that even fucks up its own interface so nothing fucking works.
It’s like stepping into the shower and expecting clean water, but instead it’s just some obese guy with diarrhea shitting in your hair, and then getting all indignant that you’re upset about it.
If you consider using Cypress for something, find another project.17 -
User: "Why isn't this process updated? There's something wrong with your system."
Me: "Did you submit the request?"
User: "Uh yeah I'm sure I did..."
Me: "Go submit the request again." (they never did the first time)
User: "I don't know how. Will you show me?" *shows user how to do it* "Ok I did it now."
Me: "You did it wrong, you need to resubmit it."
User: "Ok I resubmitted it."
* a week later *
User: "The process still hasn't shown any progress."
Me: "You didn't resubmit it like you said you did."
User: "Will you show me how to do it again?"
* fuck me *
Me: "Sure..."
Process works as expected and everyone lives happily ever after, except the developer that knows it is just a matter of time till the next user blatantly lies, has no respect for anyone's time, and demonstrates a complete lack of desire to care about their job at all and just wants to bitch and complain like a typical lazy ass-hat.6 -
Just installed linux (Ubuntu 16.04.3 LTS x64) because windows update was being a cunt, instantly, it all fell into place and I got it fully running with minecraft (using generic driver, but it actually works pretty well, don't worry I will get the proper one tomorrow) and a desktop icon for it within two hours compare to windows (update) taking 4 days to do barely any updates, not accepting java or graphics drivers, which it requires because fuck opengl with the default drivers.
Fuck windows. Hooray for linux!
Now back to programming...
Thanks for putting up with me but I just need to vent because I felt like I couldn't program (and I didn't) because of FUCKING DOOLALY WINDOWS 8!
Btw thanks to the local charity shop for introducing me to (SUSE) linux when I was like 11, giving me a hope in hell of using linux. I now have around 11 bootable linux disks and 1 bootable flash.rant all praise ubuntu hail linux ranting my fucking arse off java works fuck windows opengl by default3 -
!rant
Just started working for a new company. Super cool. Just like the last one (as far as perks), except they actually trust their devs.
Old company: Make sure your code is extensible
Devs at old company: You know it's not written in stone right?
Old company: Does that mean you can make it do this?
Devs at old company: No. That's the wrong code base
New company: I need a feature. Get it done when you can
New company devs: Well, guess I'll take some time to refactor all this stuff while I'm at it
~Some time later~
New company: Thanks, that feature works great!
No staring over shoulders, asking when it will be done. No asking why we want to refactor something. As long as work continues to flow, there are no issues. It's great!
Also, if we want to try a new tech, we just have to put together a short paper explaining why it will work better in that situation than the tech that's already in place. -
The IT guy at client made a spaghetti code website to replace their time entry software. I come in to “finish it up in a week to two” (just me). I start by removing 1200+ lines of convoluted data access code that doesn’t work, SQL injection prone too. I quickly gave up and started from scratch; just copyied some of his actually decent HTML.
Friday, he proceeded to try to install node on the server and run main.JS. Now he’s all concerned my repo is too complex because he can’t deploy a static website 🙁
He didn’t ask me how it gets deployed nor did he listen when I said “node is NOT THE BACKEND we have .NET core for that”.🤦♂️
I’m gonna spend a week writing documentation at 5th grade level and hand holding him so he understands how this code works because he’s going to be the one maintaining it.1 -
What I don't understand is why it is so hard for some seniors to just let me jot my notes down, I get it you're busy but if you just let me write down certain key words, I will never ask you this question again, I am nervous cause I had to bug you for help so my mind is not taking anything in, its freaking out cause you're making it so clear I am a bother! So I'm gonna go back to my desk without notes and no idea of what you just tried to tell me.... It was never a problem for my first senior, and he even became my mentor! In a question of 6 months he could go on holiday cause I could handle all his responsibilities until he came back with my trusty note book in hand... So why are you telling me to stop making notes!! It works for me so leave me be!! - sits at desk, pondering why I exist - 😖16
-
"Back in the days, you had to put a lot if effort into getting WiFi working in Linux.
Today, you can take a Linux notebook, slam it into its dockingstation with all kinds of peripherals attached to it, and it just works"
~ my boss9 -
Users and Bosses.
I honestly don't know who is worse, the end user or the boss.
The boss thinks all you do is click a button and everything just works, so everything should take 30 minutes to complete, why on earth would it take a week to do something?
The user seems to think every tiny idea is the most important thing ever to add, so they tell said boss it must be added, and boss normally agrees.
I get it, Marge (Fake name), adding in a copy button because you're too dumb to press ctrl + c is way more important than updating the security after a Ransomware attack.
No boss, I can't add in 30 new things and make sure the security protocols are updated all before the meeting in 15 minutes.
If you think it's all so easy and just pressing buttons, why did you hire me? Anyone who can read and press a button should be able to do it....4 -
Not exactly dev stuff, but LaTeX low-key makes me nervous.
In writing my thesis it seems that through some keyboard-fuckery I managed to slip in some weird unicode bullshit character somewhere, so that it doesn't compile. Alright, I just do \DeclareUnicodeCharacter{0301}{ASDF} so that it gets replaced by ASDF. Searching for ASDF in the output pdf file does not yield results, so I can't even find the location of the fuckery in the text. It seems that unicode character is somewhere in my .bib-file and I guess my citation style doesn't even render the part of the data that character is in after all. So the above hack works, but still there is some weird-ass character in my bibliography file that I can't find.
On another note: I get that modularity is cool and all, but who thought that it is a good idea to give people zero transparency over what macro stems from which included package? No namespaces etc. I end up including a whole lot of packages that are needed for exactly one macro. That bloats up the file and you have no way to trace back which macro came from which of the quazillion included packages.
...then again maybe I'm just a lazy piece of shit whose google searches end before success and all of the above has some easy fix.9 -
I am currently in a bit of a (well-deserved) lull at work, both of my projects are finishing up/ finished, so tomorrow should be pretty light, as the latter half of today was.
And I have really gotten interested in the HTTP protocol. It's so interesting learning how it all works under the hood.
So I think I'm going to be researching/ messing around with creating a cpp project that essentially implements cURL from the ground up, creating sockets, reading from them, parsing the HTTP requests... all that. I don't expect to actually get it done, but it should be an immense learning experience. I have a clear goal: implement this function:
std::string get(const std::string&);
Once I'm able to just GET as simple as that, I know I have achieved my goal!3 -
This compiles and works in C++:
int arr[10];
5[arr] = 42;
cout << 5[arr] << endl;
I know why it works technically. Its just pointer math. But I have to ask "Why?" Of all that is unholy, WHY?!11 -
First day out of 10 exam days today! Have to use windows which I'm obviously not a fan of but oh well I'll manage.
But really, at first it didn't recognize my headphones (regular headphones input). Fair enough, after the admin fiddled around for half an hour we got it working.
*lets install Firefox and chrome*
The installers wouldn't launch at all, bit of fiddling around aaand it works.
*lets use Ms word again then*
Every time I try to save a file it gives shit tons of errors.
Found out that it does save but only with those errors.
*alright let's open up some pdf files*
"Error: no permission to use this application*
Oh come the fuck on just work I've got important stuff to do with a lot of time pressure!
I DON'T MIND USING IT ONCE IF I HAVE TO BUT COULD THAT COCK SUCKING PIECE OF SHIT JUST FUCKING WORK?!
The worst part, I wasn't the only one with trouble, multiple people still don't have the jackplug thing working :/1 -
I just love how liferay keeps finding ways to surprise me...
Customer: need to fix this security issue
me: ok
me: fixed. Testing locally. Works 100%.
Me: testing on dev server. Works 100%
qa: testing on dev server. Works 100%
me: all good. Deploying to preprod
customer: it doesn't work
me: testing preprod - it doesn't work.
Me: scp whole app to local machine. App works 100%.
Me: preview loaded liferay properties in preprod via liferay adm panel. All props loaded ok.
Me: attach jdb to preprod's liferay to see what props are loaded. Only defaults are used [custom props not loaded according to jdb]
me: is there some quantum mechanics involved..? Liferay managed to both load and not to load props at the same time and the state only changes as it's observed...2 -
I'm so fucking done with net neutrality. the only ones who want it are verion, comcast, and other big isps.
fuck them.
this is fucking merica. nobody wants it, and this is a government designed for the people. I guess it only works in theory.
the talk about this has been fucking exhausting. how much clearer could it be?
how does it keep coming up? so much of the economy is online. why would congress want this? this should be a fucking fundamental right. no bs, just fast speeds everywhere. i hate all the isps thinking that because the world is so reliant on the internet, they control everything.
isps are a service. that's it.
they're not a profiler or advertiser, just a service.
and if that changes, I'll buy a bunch of flash drives and go offline.
bottom line, we should have privacy, neutrality, and a safe web. fuck those greedy bastards.17 -
I fucking hate developping on windows😡😡.
Since I use linux it's a pain in the ass to work with windows in developping related stuff. Nothing works.....Or the last day it worked and then it just thinks like "fuck you, I really like to screw all the work you've done in the last hours over"
Come on...10 -
Here's an even meaner prank. Make it just a tad more difficult on them.
Set chrome in kiosk mode, so they can't switch out of the browser.
Unfortunately 'Alt + F4' still works, but they'd have to know that ahead of time.
And then kill off `explorer.exe` so they can't press the windows key.
You can either set this up as a bat, or you can do all of this from the Task Manager.
```
chrome --chrome-frame --kiosk "http://fakeupdate.net/win10/"
taskkill /f /im explorer.exe
```
And to really piss them off, set it up such that every time they reboot it just goes straight to the update screen
You can set Chrome to run as the Windows shell instead of explorer.exe. Just set the registry
```
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Shell =
[chrome path]
```5 -
Okay. For fuck sakes, writing complex code that's meant to handle "everything" and is "super generic" can be a fuck up. Like just keep shit simple. THAT is the show of great and impressive work. Over engineering is not it. Yes your shit works and yes your shit is fancy but was it needed? How long did it even take you for this over kill? How long will it take the next person to understand or not.
Someone now has to sit and run through your shit to get what you were doing. Instead of just being able to look and once and have it all figured out.
Keep things simple.
Lost 2 hours on bullshit 🤬4 -
Me: Im testing a new feature that is not on production yet for 30m and can not make it work. (I asked the developer for any idea why is not working)
Dev: i just tested, works fine.
Me: i just tested again with no luck. I’m i missing anything?
Dev: (Developer comes to my desk). Lets see what you doing wrong here. (After 5seconds). You're not on UAT. You have been redirected to the production and you've been testing there all this time.
Me: 😩 -
One of my friends works in NVIDIA and slwas previously a part of the graphics department where she worked on the rtx 3070 and briefly on 3080 card. The funny thing is she gets paid very low (SDE in India) and sadly her monthly salary is less than the price of either of the cards. While she is not keen on gaming, some of her mates are in a similar situation and just dream about buying it.
All I wanted to do was point out the irony wherein people who help make the thing themselves cant afford it.50 -
> barges in
> slams massive unintelligible PR on the table
> fixes a bunch of tickets all at once
> won't explain how tf it works, it just does
> refuses to elaborate further
> leaves9 -
I think, after a few weeks, I'm actually quite enjoying that the Android SDK is genuinely awful.
We all know the feeling: "This is shit, whoever designed this is a fuc...oh, I get it. This is pretty cool actually."
So, it's nice to encounter a genuine dumpster fire of a platform.
I think the beautiful thing about its absolute obsession with providing a context to every single operation, is that you end up passing it around so much that the very concept of context becomes redundant.
Honestly, half of the stuff in here I've just attached to a global statics class, because it saves having to request a context, or a manager or some fucking kind of adapter, and it works just fine.
I've started to laugh when I look up a solution and see the browser scrollbar shrink into infinity, because the recommended answer is about two whole pages' worth of boilerplate to make the back button disappear or something.
I don't think there's been a single moment where I've just been in the flow of writing code. Pretty much all of the process is grafting boilerplate into it.
Not long til deadline, thank fuck.2 -
Ever dealt with people who don’t understand a damn thing they’re coding and just copy and paste stuff around and say that it works? It’s amazing how long people can skate by with only knowing 50% of how what they’re working on works.
We had some dumb know it all on our team who would regularly ship half-done stuff to production and then scramble to fix it after the users bitched about how it didn’t meet the requirements.
This stupid person changed an else to an if having no idea what any of the logic did in this section of code, didn’t adequately test it, and it somehow made it through code review because the better devs were out of office.
This bullshit goes to production, fucks up 200,000 records, and users start complaining about it. Shitty developer refuses to revert the offending code until multiple people on the team overrule them. They spend the next week unfucking the data and decides to just take a day off on Wednesday because it’s been “too much mental energy to fix.” The shit wasn’t even fully resolved yet.
Some people seriously do not belong in this industry. This person’s thought process was:
“Changing an else to an if can’t possibly have significant consequences. Let’s just change this so my code change executes to see what happens.”
Still not sure how they weren’t fired when this happened. They unfortunately got to quit on their own two months later.3 -
We have this lovely little old lady who works in QA and whenever she finds a bug she goes across the office to the developers desk and taps them on the shoulder and spends like 15 minutes explaining and showing the bug...
This is infuriating as you lose all concentration on what you are working on and wastes so much time... But I can't bring myself to tell her to stop just can't find kind enough words. She's a lovely person and means well but it seems her world runs a lot slower than everyone else's.1 -
Oh, it's finally done and works well!
Oh, let me just optimize that a little... And probably rename this...
5 minutes later:
Shit it does not work now.
10 hours of debugging later:
I'll fix it later
To all new devs:
Commit more regularly -
Running a fucking conda environment on windows (an update environment from the previous one that I normally use) gets to be a fucking pain in the fucking ass for no fucking reason.
First: Generate a new conda environment, for FUCKING SHITS AND GIGGLES, DO NOT SPECIFY THE PYTHON VERSION, just to see compatibility, this was an experiment, expected to fail.
Install tensorflow on said environment: It does not fucking work, not detecting cuda, the only requirement? To have the cuda dependencies installed, modified, and inside of the system path, check done, it works on 4 other fucking environments, so why not this one.
Still doesn't work, google around and found some thread on github (the errors) that has a way to fix it, do it that way, fucking magic, shit is fixed.
Very well, tensorflow is installed and detecting cuda, no biggie. HAD TO SWITCH TO PYHTHON 3,8 BECAUSE 3.9 WAS GIVING ISSUES FOR SOME UNKNOWN FUCKING REASON
Ok no problem, done.
Install jupyter lab, for which the first in all other 4 environments it works. Guess what a fuckload of errors upon executing the import of tensorflow. They go on a loop that does not fucking end.
The error: imPoRT eRrOr thE Dll waS noT loAdeD
Ok, fucking which one? who fucking knows.
I FUCKING HATE that the main language for this fucking bullshit is python. I guess the benefits of the repl, I do, but the python repl is fucking HORSESHIT compared to the one you get on: Lisp, Ruby and fucking even NODE in which error messages are still more fucking intelligent than those of fucking bullshit ass Python.
Personally? I am betting on Julia devising a smarter environment, it is a better language already, on a second note: If you are worried about A.I taking your job, don't, it requires a team of fucktards working around common basic system administration tasks to get this bullshit running in the first place.
My dream? Julia or Scala (fuck you) for a primary language in machine learning and AI, in which entire environments, with aaaaaaaaaall of the required dlls and dependencies can be downloaded and installed upon can just fucking run. A single directory structure in which shit just fucking works (reason why I like live environments like Smalltalk, but fuck you on that too) and just run your projects from there, without setting a bunch of bullshit from environment variables, cuda dlls installation phases and what not. Something that JUST FUCKING WORKS.
I.....fucking.....HATE the level of system administration required to run fucking anything nowadays, the reason why we had to create shit like devops jobs, for the sad fuckers that have to figure out environment configurations on a box just to run software.
Fuck me man development turned to shit, this is why go mod, node npm, php composer strict folder structure pipelines were created. Bitch all you want about npm, but if I can create a node_modules setting with all of the required dlls to run a project, even if this bitch weights 2.5GB for a project structure you bet your fucking ass that I would.
"YOU JUST DON'T KNOW WHAT YOU ARE DOING" YES I FUCKING DO and I will get this bullshit fixed, I will get it running just like I did the other 4 environments that I fucking use, for different versions of cuda and python and the dependency circle jerk BULLSHIT that I have to manage. But this "follow the guide and it will work, except when it does not and you are looking into obscure github errors" bullshit just takes away from valuable project time when you have a small dedicated group of developers and no sys admin or devops mastermind to resort to.
I have successfully deployed:
Java
Golang
Clojure
Python
Node
PHP
VB/C# .NET
C++
Rails
Django
Projects, and every single fucking time (save for .net, that shit just fucking works on a dedicated windows IIS server) the shit will not work with x..nT reasons. It fucking obliterates me how fucking annoying this bullshit is. And the reason why the ENTIRE FUCKING FIELD of computer science and software engineering is so fucking flawed.
But we can't all just run to simple windows bs in which we have documentation for everything. We have to spend countless hours on fucking Linux figuring shit out (fuck you also, I have been using Linux since I was 18, I am 30 now) for which graphical drivers for machine learning, cuda and whatTheFuckNot require all sorts of sys admin gymnasts to be used.
Y'all fucked up a long time ago. Smalltalk provided an all in one, easily rollable back to previous images, easily administered interfaces for this fileFuckery bullshit, and even though the JVM and the .NET environments did their best to hold shit down, and even though we had npm packages pulling the universe inside, or gomod compiling shit into one place NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO we had to do whatever the fuck we wanted to feel l337 and wanted.
Fuck all of you, fuck this field, fuck setting boxes for ML/AI and fuck every single OS in existence2 -
Just got an amazing lecture by text from a university mentor of mine on some of the coolest shit to do with cat in linux, and why you can do things like open a shell with cat /bin/sh (or in my case, use it to stall a program and keep open a shell in a simple buffer overflow task).
God bless all you mentors out there who take the time to explain exactly how all this stuff works. It feels so good to have an idea on the mechanisms on "WHY" something works, not just that it does and that you should use it. As someone new, it makes all the difference.5 -
Built a C#/.NET application with support for a serial device. Tested it on systems A, B, C initially, all Windows system, same .NET version, same targeting, same build tool version, same initial connection configuration etc, etc.
Testing - works on A and C, B nopes.
...
OK, let's check the source, is there something about B that makes it impossible to execute that bit? - No, there is not, you checked that already, stop poking around, it definitively should work on B.
...
OK, maybe admin privileges, there is I/O involved, didn't need that on A and C, but who knows - nope, doesn't work on B.
...
OK, maybe something wrong with the connection settings? First try at reinstalling driver - but no, it doesn't work on B.
...
OK let's try with another device - more/less devices on B. Other USB ports. No. Still does not work on B.
...
OK, this is stupid, but, is the cabling alright? It is, of course it is, stupid - but it still does not work on B.
...
OK, at that point I'm just gonna ask a colleague, GrumpySoftwareDev whether he has any clue why it doesn't work on B. GrumpySoftwareDev knows nothing, but discovers that one of his applications doesn't work on Windows 10. You know nothing, Jon Snow, but it doesn't work on B.
...
OK, now I'm just going to ask another colleague TheLastOfHisKind who handed B down to me somewhat bluntly if he ever experienced problems when working with B and its serial configuration. TheLastOfHisKind tells me he does not and kindly offers me some input on the situation. Still no progress to get it working on B but he hinted he might have fucked up B's driver. I already reinstalled the driver but didn't reboot, which comes after reinstall.
...
OK, I'm just gonna remove and re-install the driver, then restart. Hu! Now the UI is gone but another serial device reacted on a general call. Not fully working on B but we're getting there.
...
OK, I don't know, I'm getting frustrated, let's borrow another system D - which has roughly the same configuration as B - from my colleague StrongCurrentGuy. StrongCurrentGuy borrows me his system and cautions me not to break it. I install the driver, plug the device and copy the application from B. It just works on D. Not on B though.
...
OK, you know what. I'm done. For shits and giggles I'm gonna remove that driver again, reinstall it and restart, maybe it'll magically work afterwar- WHAT THE HELL, I JUST OPENED IT AFTER RESTARTING, IT JUST WORKS - ON B!
... seriously, what the fuck. But yeah, at least it works now.4 -
Hey, we need a service to resize some images. Oh, it’ll also need a globally diverse cache, with cache purging capabilities, only cache certain images in the United States, support auto scaling, handle half a petabyte of data , but we don’t know when it’ll be needed, so just plan on all of it being needed at once. It has to support a robust security profile using only basic HTTP auth, be written in Java, hosted on-prem, and be fully protected from ddos attacks. It must be backwards compatible with the previous API we use, but that’s poorly documented, you’ll figure it out. Also, it must support being rolled out 20% of the way so we can test it, and forget about it, and leave two copies of our app in production.
You can re-use the code we already have for image thumbnails even though it’s written in Python, caches nothing and is hosted in the cloud. It should be easy. This guy can show you how it all works.2 -
We all get replaced by AI and nobody can understand their source code...
And everyone else just goes: hey it works ¯\_(ツ)_/¯12 -
Dam wandows... My system is up to date almost all the time as I install those forced updates before they are actually forced, just so I can be in control of saving things and not losing anything valuable during a forced restart. I've updated literally last evening and made sure the day is done only after all the updates have been made. Today I was working on a personal project and made an hour break for lunch and some rest. My computer went to sleep as it usually does when I leave it for 10 minutes or so... Or so I thought. After my break I sat behind the damn computer to get back to work only to realize that I woke it up to wrong system (windows is secondary as I only use it for this single project that needs to be done in .net and UWP) and there's no work to get back to. It just made an update without even letting me know there is one to be made.
I swear, if the person who made this design choice have paid only 1% of all the lost works' worth, they would smash the thing on day one and went bankrupt in first 2hrs of that 'feature' living it's life. And people wonder I daily drive *NIX based system...5 -
I am a senior Android dev, and I have an old colleague (iOS senior dev). We work on the same project, but in every estimation session he pushes a lot on the lower side: he estimates 4h a task that normally takes 6h or 8h, and the reason is that he has no social life. Right after work he starts working again from home (I can see all his commits), he also works almost entire weekends. I would say he works as average 12/13 h per day.
I don t want to work extra time (unpayed).
About him, it is his life, so I don t care...but at the same time this makes me pressure. I care a lot about quality of code, and I don t want to sacrifice it just for catching up. Most of the people in the team know that he works a lot extra time.
How would you handle this?28 -
Me: Im testing a new feature that is not on production yet for 30m and can not make it work. (I asked the developer for any idea why is not working)
Dev: i just tested, works fine.
Me: i just tested again with no luck. I’m i missing anything?
Dev: (Developer comes to my desk). Lets see what you doing wrong here. (After 5seconds). You have been redirected to the production site and you've been testing there all this time.
Me: 😩1 -
[See image]
This guy is wrong in so many ways.
"Windows/macOS is the best choice for the average user. Prove me wrong."
There are actually many Gnu/Linux based operating systems that's really easy to install and use. For example Debian/any Debian based OS.
There are avarage users that use a Gnu/Linux based operating system because guess what. They think its better and it is.
Lets do a little comparision shall we.
- - - - - Windows 10 - - Debian
Cost $139 Free
Spyware Yes. No
Freedom Limited. A lot
"[Windows] It's easy to set up, easy to use and has all the software you could possibly want. And it gets the job done. What more do you need? I don't see any reason for the average joe to use it. [Linux]"
Well as I said earlier, there are Gnu/Linux based operating systems thats easy to set up too.
And by "[Windows] has all the software you could possibly want." I guess you mean that you can download all software you could possibly want because having every single piece of software (even the ones you dont need or use) on your computer is extremely space inefficient.
"Linux is far from being mainstream, I doubt it's ever gonna happen, in fact"
Yes, Linux isn't mainstream but by the increasing number of people getting to know about Linux it eventually will be mainstream.
"[Linux is] Unusable for non-developers, non-geeks.
Depends heavily on what Gnu/Linux based operating system youre on. If youre on Ubuntu, no. If youre on Arch, yes. Just dont blame Linux for it.
"Lots of usability problems, lots of elitism, lots of deniers ("works for me", "you just don't use it right", "Just git-pull the -latest branch, recompile, mess with 12 conf files and it should work")"
That depends totally on what you're trying to. As the many in the Linux community is open source contributors, the support around open source software is huge and if you have a problem then you can get a genuine answer from someone.
"Linux is a hobby OS because you literally need to make it your 'hobby' to just to figure out how the damn thing works."
First of all, Linux isnt a OS, its a kernel. Second, no you dont. You dont have to know how it works. If you do, yes it can take a while but you dont have to.
"Linux sucks and will never break into the computer market because Linux still struggles with very basic tasks."
Ever heard of System76? What basic tasks does Linux struggle with? I call bullshit.
"It should be possible to configure pretty much everything via GUI (in the end Windows and macOS allow this) which is still not a case for some situations and operations."
Most things is possible to configure via a GUI and if it isnt, use the terminal. Its not so hard
https://boards.4chan.org/g/thread/...21 -
Fuck. The entire day to do this shit.
The screen was my first experiment, but because of a bad module (i2c) it didn't worked.
Today I finnaly got it to work.
Starting making everything almost like in the picture, everything mounted (and lots of black hot glue, no wires showing...
Didn't work.
One hour breaking everything apart without damaging the screen... Was a loose wire.
Started again... Didn't work...
The pot is also damaged, sometimes it works, others need to turn it hard.
New pot.
New set of wires.
Soldering everything right, testing all wires so no mistakes this time... But it takes so longgggg... Making everything in modules this time (to reuse without having to sordering again. And finally... It works.
By this time I should have 3 or 4 learning projects finish (I really wanted the screen to adapt all output in text, no serial, no blinking less, everything in modules, code prepared so, when I get my 40+ packages from China I already have a prototype tester ready.
10 hours... Fuck I'm really addicted, or else I would just solder everything together :D28 -
I wrote a file transfer thing to appease the initial idea that keeps coming back into my head every so often, like it's trying to haunt me. Problem: No mobile provider will let me test it, as it's meant to throw disgusting numbers of SMS messages at someone waiting for them. How many, you ask? Well, 1MB of data translates to about 8100 "standard-length" SMS messages. (Standardized length, non-"long" SMS messages are, at best, 70 UCS-2, 140 ASCII, or 160 7-bit characters.) It does work, though, as if I just write out all the SMS messages to files and read those in (in place of actual SMS messages, different delivery of the same data) it works flawlessly.
Why would I ever wanna make this? Well, T-Mobile seems to be more concerned with building new cell towers, rather than fucking fixing the ones currently working. The mobile data component usually dies for 8 or 9 hours a day in this medium-size city, but SMS still works, so... just use that to transfer data!5 -
I learnt something from every single project I made, but this one... it was really different, new language, new library, new hardware.
Problem:
there's an infopoint in a place, that was really hard to use (ball mouse over a monitor)
Solution:
make the screen be touch.
Developing the solution:
- after a bit of research I find out there's a library/project called OpenCV
- there are example programs that detect hands written in C++ (which I know) and Python (which I don't know)
- the whole infopoint works on a raspberry PI, with raspbian (I'm not new to linux, but it's somehow different, plus tons of customization)
So I spend like 3 weeks trying to understand how to make it work, at first, the webcam was on the TV and you could move the mouse just by shaking your hand, but it didn't work too well, so we tried making the webcam look at the screen and then calculate the differences between "no-hands" and "user-hand", but should have been calibrated, wasn't too precise... dropped solution.
put the webcam 30cm above the screen, let it just analyse a few centimeters of sight from the screen and it worked flawlessly, BUT it could just recognise the horizontal axis => had to rework the infopoint UI to make it dumb-easy
It all finally worked, I learnt python, openCV, a bit of photography
Then hated it all and decided to never do that again -
I started learning Golang today and really like it.
The error handling is *excellent*. It always works the same way and is standardized, unlike the hell that NodeJS error handling is (.catch(), try).
Modules confused the fuck out of me. I eventually figured out how they worked, but Go really doesn't try to make it easy to have multiple source folders...
I'll probably be re-writing my Discord Bot in Golang soon. Being able to have just one binary output will make things infinitely easier. Compile-time variables are another feature that's nice and easy to implement.
The goal is only having to upload a single binary to deploy on production from my CI script that has all keys and stuff inside. Feels good to finally throw all that old bad JS code out and starting completely fresh.7 -
For the last 20 years, there's one thing I've not been able to do reliably:
Share a folder on a windows computer.
Why the fuck can I write /etc/smb.conf from scratch with a blindfold on and make it securely work from all client devices including auth & acl, but when I rightclick and share on windows it's either playing hide and seek on the network (is it hiding behind //hostname/share? No? Maybe in the bushes behind the IP addresses?), or it's protected by mysterious logins requiring you to sacrifice two kittens a day.
Yes, finally it works! One windows update later... aaaand it's gone.
JUST GIVE ME A FUCKING CONF AND A MAN PAGE, MICROSOFT. I DON'T CARE THAT YOU'RE ORALLY PLEASING ALL THESE MALWARE RIDDEN GUISLUTS ON THE SIDE, JUST GIVE ME A FUCKING TEXT FILE TO STORE AND EDIT.4 -
That’s it I’m done with writing documents like Software Product Specifications and Software Requirements Documents and Software Architecture Documents, manuals, data sheets and more in MS word..
I’m doing it all form this point forward in LaTeX... I can stay in my editor, it works beautifully with version control because it’s just text... I can split it amung multiple files.. it looks damn sexy. I can focus on the content rather than being distracted by formatting and spelling issues and the rest of that shit.. ALSO.. it doesn’t crash or get corrupted.. well at-least I’ve never had a text editor crash or corrupt my files.
Idk why I didn’t learn latex sooner and do the switch.6 -
A little follow up regarding https://devrant.com/rants/3115422/
I'm quitting. Seems like owners took a huge chance in the past couple years when the business was doing good, and didn't plan for any kind of potential trouble. Now the stress is going through the roof, noting we do is good or fast enough, there's micromanagement everywhere. On top of that, it seems the company took a huge financial risk with the project I've been in charge of, and isn't getting nearly enough customers to cover that. As a result, people were told to lie about new features we've had in works to attract customers.
Several other people are quitting in the following months, and it seems like it's all coming down like a house of cards.
On a brighter note, I'll be done with all this just in time for my exams, so I can properly prepare for them.3 -
PSA MacOS Sierra 10.12 will make any user who wasn't the original admin user a standard user, it will also reset the original admin users password back to whatever it was when the MacBook was first set up. It all just works!
-
Am I the only one who enjoys learning low languages like C/C++ and absolutely hate Java (seriously FUCK Java so much I hate using it)
Working with pointers and just having the compiler completely explode in your face because you forgot a semicolon or an index out of bounds maybe a bracket just disappeared and you are frustrated but then you fix it and voila it works like magic.
Maybe it's just a thing of mine because C++ was the first programming language I learned and I miss this feeling of hopelessness (I think I might have done BDSM fetishes) and it makes me feel nostalgic.
When I was first learning them all I thought about was how cool this stuff is.19 -
I normally just have nightmares about the projects I'm working on, especially when I struggle with a bug for days. Those are usually about just me stressing out about it. However, I have a lot of dreams about computers/technology, not necessarily coding-related:
- datacenters were just potato fields. If you go work the field, you'd go data mining
- in Biology, when being taught how having children works, you only tell that "parenting is only chmod-ing the rights of your children until they become the owners themselves"
- IP addresses with emojis instead of numbers were a standard now and they actually managed to replace IPv4, because everyone was so into emojis. They named it IPvE
- I witnessed a new Big Bang when the 32-bit Unix time overflown in 2038, and we were all quantum bits3 -
Why has web development become so complicated?
I'm learning React with JSX . Why is JSX even necessary? HTML works fine. Its simple and gets the job done.
I can't stand the node_modules directory either. Opening it up reveals what seems like hundreds it not thousands of dependencies that all have their own recursive node_modules folder and the dependencies continue.
Why are we creating more unnecessary abstractions on top of more unnecessary abstractions? What happened to K.I.S.S?
What was wrong with vanilla Javascript and becoming great at that and using just that?28 -
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
-
Watching reviewers on a website review the new Eminem album 12 hours after its release is like watching a 10 year old review a scientific paper by Stephen Hawking with a quick skim.
Yes, the child should be entitled to their opinion. But No, no one with any sense should be listening to this child’s opinion.
If you gave a lil pump “album” a 7/10 and Kamikaze a 4/10 then your opinion is invalid, end of story.
But it’s all good. 95% of people are stupid and that’s just how it works, it’s nothing to be angry about. Just try to be in the 5%.
End of rant.8 -
Mgr: composer require. That's all you're allowed to do. I want you to manually go through our word press site, check which ones need an update. And do a composer require in the command line for each to update them.
Me: wouldn't it make more sense to just increment the version in the composer.json and then run update?
Mgr: no, you don't understand how composer works, it's very complicated. Just do require. Don't ever do update.
Me: *does it anyway (reverting later of course) and compares update vs require and their differences in the lock file*
I mean it looks like 'update' is updating important dependencies for each of the packages as well as the package itself... The 'require' just seems to download the package itself but no updates to dependencies for those packages.
But seriously is composer that complicated that I can't just do an 'update'?
I've been reading the composer documentation and it seems to be saying that update is the better way to go...
I'm doubting myself these days...12 -
So I'm basically my family's IT guy, as you'd expect, but this is just pulling my hairs.
My mom's laptop has a weird error message saying something about a corrupt windows update database.
Not wanting to mess the system up, I decided to factory reset the computer and see if that helped.
During the factory reset, windows tells me that it can't delete all files, and that another factory reset might be in order.
Alright, I don't think any more of it and proceed to setup the account on the computer, everything works fine.
Next day I decide to run windows update on it just to see if everything works as it should, the computer restarts and immediately BSoDs on me. Upon reboot the same error from before the system reset pops up again, and I'm back to square one.
Fuck windows and all its constant issues9 -
Fucking hate Qt.
Spent all morning trying to figure out how their bullshit QThreadPool works with their bullshit QRunnable but after a bunch of bullshit asynchronous testing I figured that my thread object was being collected and deleted before I was done with it, for no reason. Now if the race condition was documented... This wouldn't be an issue. But every google search brought up nada. Eventually I resorted to turning off autoDelete on the runnable, but then I just have a memory leak, obviously.
I couldn't find a way to manually clean up a QRunnable in Python. What the fuck.
I just went back to good old fashioned QThreads... This is why I quit Qt in the first place.18 -
Image relevant.
Tried getting puter to talk, puter no want to talk.
Me sad.
Me tell puter to stay put and listen at 4444.
External device doesn't do shit.
Me sad.
Read the docs. Nothing. Written like a 5 year old would.
Be angry, how do I put external device into tcp/ip mode? No one knows, the docs don't know.
I get frustrated and pull the USB cable out of it.
Mfw it starts spitting out requests to my server with no end in sight.
Mfw the requests all just repeat.
Mfw the docs tell me to acknowledge a request I have to respond with a content type of
"application/x-www-form-urlencoded"
How.
Not possible.
Mfw I decide to dissect a request to check it's accept header.
Mfw it says text/plain.
Great, no idea in what format the thing expects it.
Try writing out query string plainly.
It fucking works.
Why can't people just learn to write proper documentation.5 -
#justdevthings
That moment when you're so engrossed in your project that you lose track of time. You begin to SEE code irl, not just on screens. Things like hunger, environment and a sense of time fade away. That feeling when the code just works, but better when it doesn't and you figure out a smart fix. Oh gosh ill pay to feel like that all day.
I wrote a shitty layout for an android side project. It haunted me. I could still SEE the shitty xml long after the pc was shut down. I had a nightmare about it and woke up sweating, and all I could see was xml. Fkin xml man. I redid the layout at 3am and boy was i so satisfied.
I think that was just the tetrix effect taking its toll on me.
I always got screwed by parents for being on that machine all day, back in school. But none of that matters now. I can now feel the code running in my veins and flowing into the machine. I can now feel my heart throbbing at the sight of such beauty. They ask how i manage my social life. I say everything goes well until i start a side project, that's when social life gets fucked hard. I think I'm gonna die one day after performing the final commit.5 -
The reason for half the web-dev world sufferings is that Microsoft won't stop choking their users with explorer or edge, and half of the client are too dumb or lazy to download a different browser to test stuff. Fuck this shit man! Nothing works the way it should on this bitch.
Everytime my manager says- It should work perfectly on IE because client doesn't have any other browser, I curse IE for exisiting. If you can't improve it, just remove it you freakin' sadists. It'll not be an embarrassment to load something better on your OS. If anything, it'll get people to like you maybe. Like you for accepting your fuckery and making a decision in favor of the web dev world and innocent windows users, who only use your explorer to download other browser asap. For just that one time and for all your arrogance, you're making the whole world suffer.2 -
@Gerrymandered recently posted a rant, https://devrant.com/rants/1003724/..., and his reasons, which I won't really go into much, are completely legitimate.
We were talking in class and he was getting annoyed with people hating others for actually trying to defend the different flavors or Operating Systems. I've gone into it once or twice, but I feel the need to again. I'm actually going to be blunt this time, unlike my last one:
Linux has its niche. If you like it, then it usually works.
Windows has its niche. Businesses ***typically*** choose it first (with few exceptions, @linuxxx don't even bother coming in here to defend Linux. Love ya and all, but you really piss me off sometimes. Just saying.)
macOS has its niche. If you're a designer, try it. You might be surprised.
Can people shut the fuck up with the constant bashing of every single OS in existence with a focus seemingly on Windows? We get it, the dev community LOOOOOOOOOOVES to fucking hate Windows. Who doesn't? It can be broken as hell, but for a lot of purposes, it works. If I want to use Windows, then let me, and if you complain that because I'm a techie or anything that I can't use it, please go fuck yourself with a moldy rusty fork left out in a hurricane 20 years ago.
That is all.10 -
I'm all about concepts. I start some project, go through solving major problems, and test it just to scream "It's alive! It can be done, an works!"
Then I lose interest and move on to something else...1 -
I think the author of Mythical Man Month would be interested to see how wildly popular devRant has become. Maybe we are all optimists when we start out programming, but once you expose us to clients, PMs and deadlines. Well.. we're going to need somewhere to rant.
(and in case you haven't yet had the pleasure of reading it):
All programmers are optimists. Perhaps this modern sorcery especially attracts those who believe in happy endings and fairy godmothers. Perhaps the hundreds of nitty frustrations drive away all but those who habitually focus on the end goal. Perhaps it is merely that computers are young, programmers are younger, and the young are always optimists. But however the selection process works, the result is indisputable: 'This time it will surely run,' or 'I just found the last bug'
( The Mythical Man Month ).
- Frederick Brooks, Jr. -
Meta devRant rant:
Everyday there's a rant that reads, "I don't care what others think but I love me some PHP because all the $ gets me $$$, it just works™!"2 -
I've been asking myself this question for a while lately.
Can I combine the music coming out of my phone with the sound from games on my PC?
"Why?", you ask.
Because I want it!
So I started reading man pages and documentation about ALSA and PA. A couple of hours later it just works. I don't know how or why, but I did it, all by myself, because no one does such weird stuff.
I'm way too excited about this.11 -
give up on working hard
doesn't mean shit in the long run
it only matters who you can bullshit and how much money they have
*really* i mean this
at this point i've seen it so many times, and i thought the world couldn't be this dumb... but somehow that's really how it all works, there's really no secret
much better to just have had internship at some silicon valley company - their for loops, functional code, and abstracted classes are far better than the ones anywhere else, don't you know?
just wish the world would grow the fuck up, but alas, they have to remain wimpy kiddy caveman mentality style5 -
*[style*="width:"],*[width] {max-width:100% !important;}img[width] {height:auto !important;}
* !important feels so hacky but it works!
Old site with ancient code and multiple people not versed in css or even newer html. Decided, ah F it, just workaround that and * all the things!1 -
The thing that I most hate is when you're approaching a new framework/tool, you follow the official documentation and the first example doesn't work.
I'm trying the official documentation of webpack, I tried the first example and guess! Error! It says that's probably a breaking change. Where the hell should I learn it? I don't have the crystal ball, should I guess how your fucking tool fucking works? Oh my god, it's ok if you introduced breaking changes, but just update all the references, is it so hard? -
>Discovers a new low level profiling tool that could help us at work with stuck process debugging and gets all hyped
>Installs on test machine, tool doesn't work
>Wonders why. Oh. Needs a kernel module to work, compiled and loaded
>"Well, its my test machine... Guess that's no problem..." but... my hype died down a bit. Kernel module installation just for a new tool that aggregates all other commonly used tools? eh... Maybe it will blow me out of my shoes still
>Installs and loads the module
>Tool works. Turns out its just a htop-like tool, with shortcuts to launch specific other profiling tools like strace/ltrace/lsof/netstat/ss etc...
"Oh... That's boring. Maybe it has all those tools built in at least?"
>Tries to run ltrace - tool exits as ltrace is not installed
Lol
>Installs ltrace and launches tool again. Tries to ltrace a process and
>Nothing. Nothing happens. For seconds... Then kicks me off of SSH
WTF?
>Tries to ping machine... silence
Did... our net go down again? (Having issues due to a storm going over our area these few days)
>Pings google and... gets instant reply
More wtf
>Pings the hypervisor the machine was running on
Works like normal
Oh... Oh no. Please tell me it didn't!
>Logs into the hypervisor UI, checks machine state
Running OK
>Opens machine console aaaaand... Yep. Stacktrace as well as a lot of kernel mumbo-jumbo... It took the machine down to kernel panic.
I never went so quick from "We need this tool deployed everywhere" to "Omg I need to get rid of this crap as soon as possible" lol.
And just for those wondering, it was sysdig.1 -
To the JS devs (not all of course, but to many of them), look here: ;
Is it so hard to do? ;
I feel like you don’t use semicolons just to mess with non-JS devs...
Just because it works without, doesn’t mean it shouldn’t be used...
It’s as if i would stop using dots Just because I can it doesn’t mean it’s the way to go
It’s just making it more complicated for others to understand
Especially if the code looks like the spaghetti monster vomited into the IDE!21 -
I seriously don't fucking understand those people who like programming iDevices.
I mean, in my personal experience you have:
- iPhone not connecting to a WiFi (while working on a network project)
- Mac, while using multiple desktops on 2 monitors: I have the 3rd desktop active on the 2nd monitor, search for terminal to open it and it opens in the 1st desktop of the first monitor
- while making an app (ionic or unity), is about 5 to 15 times slower compared to the same android apps (same exact code, but gotta go throught XCode, y'know?)
- takes YEARS to download XCode, but is necessary to even just build for lastest iPhones updated
- takes years to upload to AppStore and when it's done it just tells you "oh bitch, you know what? you forgot that fucking icon for tablets, how about you rebuild it all? and NO, you have to change the build number or I won't accept it"
- App quality was so pedantic on the first publish but then always fucks it up at the second upload, like "hey we checked it the first time, now we can just 100% trust it works and doesn't use anything scammy"
- code+compiled app for iOS is like 1GB while android vode+build is like 100MB WTF do you even put in those 900MB? random trash? WHY?
- I'm not even gonna get into the forums or the amount of money you have to pay for both product and services
- MacOS works ALMOST like Linux, but takes all the worst from both windows and linux to give you the worst performance with the best graphics, but it looks cool, so doesn't matter
A good world would be a world where Apple goes bankrupt after Steve Jobs died1 -
So for the past few days I decided to create my own personal blog because I wanted to start blogging again. Anyways, I setup a basic WP website (sorry wp haters xD) and installed a pretty cool free theme that I tweaked all over the place.
I was thinking of cool things to add while I'm just in that setting up phase and I really admired that whole dark/light mode toggling feature :) so I spent the past day or so creating my own and it works finally, even across different pages! So i thought I'd share. (Please excuse the BS posts, its strictly for testing. Havent actually started writing posts yet xD)
Url: https://notyourcode.com
Heres also a link to this terrible js file I wrote that controls the logic lol (I'll have to refactor quite a bit but it works)
JS: https://notyourcode.com/wpd/...
Any feedback is appreciated as I'm still just developing it :)14 -
I think the sleep deprived me is finally cracking under the weight of incompetent assholes.
We just launched a major project in some weird cocktail of Agile slapped with MVP and release to the wild in a waterfall, but it was premature, premature in the sense QA hasn't even finished their side of things, but because some fuck with with "manager" in their title decided they have burnt through the budget with incompetence and scrapped an entire element of the project and outsourced just so they could make a shittier version that doesn't even fucking work.
How hard do you want to fail before you will start listening to the people that now have to work around the fucking clock to clean up this horse shit of a mess.
I'm literally arguing over field mapping with multiple 3rd parties, when the fucking requirements state WTF this is suppose to look like. All because they didn't validate or test their own shit.
Why is EVERY FUCKING cock head in this industry a waste of space and cash! Is it really to much to ask for 1 fucking project to fucking go live that actually fucking works where I don't need to work 2 weeks straight (including weekends) after going live just to be sure that what shit does hit the fan isn't going to create a SEV 1 issue...
Sorry, I'm pissed at the incompetence of others I need to deal with on a daily basis. It's not like this field is insanely hard. A little attention to detail and self validation, verification goes a long way. But clearly that's a rarity.
Once this shit is stable and actually works, I'll be pulling out the mop to clean up half this shit just so it actually works.
Oof, I'm getting to old for this bullshit.4 -
I hate dev politics...
PM: Hey there is a weird error happening when I upload this file on production, but it works on our test environments.
Me: After looking at this error, I don't find any issues with the code, but this variable is set when the application is first loaded, I bet it wasn't loaded correctly our last deployment and we just need to reload the application.
Senior Dev: We need to output all of the errors and figure out where this error is coming from. Dump out all the errors on everything in production!!
Me: That's dumb... the code works on test... it's not the code.. it's the application.
Senior dev: %$*^$>&÷^> $
Me: Hey I have an idea! If test works... I can go ahead and deploy last week's changes to prod and dump those errors you were talking about!!
Senior Dev: OK
Me: *runs Jenkins job the deploys the new code and restarts the application*
PM: YAY you fixed it!!
Senior Dev: Did you sump put those errors like I said.
Me: Nope didn't touch a thing... I just deployed my irrelevant changes to that error and reloaded the application.2 -
If I could I just wouldn't support email in any way shape anymore.
It's just too much hassle with all the spam filters and people just don't understand how email works.
Nobody fucking reads it anyway.... but everyone wants like a bazillion variations on stupid emails that go out that nobody will read.
They don't get that email is often instant ... but is actually async.
They don't understand that just because they got an email sent to their own distribution list ... and someone took them off the list... that doesn't mean that WE an outside group emailing that list stopped sending them messages.
Nobody actually looks at their spam filters until I tell them to do it for the 3rd time. And as if by magic folks at the same company don't 'have spam filter problems all the time'.
I had a company 'security' filter that straight up followed all the links in an email (that's fine ... we're good, I get that).... and then their stupid bot or whatever would actually click options on a form and fucking submit the fucking form!!!!!
I mean I get that maybe some sites have folks submit some shit and then deliver malware but that's gonna have consequences submitting shit none the less because I don't know it's just your fucking bot...
So they'd get various offers from our customers and bitch when they went to find it was already gone.5 -
<warning>bad words</warning>
WHAT THE ACTUAL FUCK!!! LibreOffice Impress is a complete shit!! I am all about open source and such but this shit just sucks, moving elements around a frame snaps them to some grid, however when you paste an element from other frame it will have a different grid!!! This motherfucker has got an ALT function that will allow you to move the element more precisely but it only works seldom and it hates it when I try to use the fucking arrow keys - it even crashed once when I tried it. AND WHEN YOU FUCKING COPY A TABLE FROM ONE FUCKING FRAME TO ANOTHER MOTHERFUCKING FRAME, DELETE A FEW ROWS AND THEN COPY THE FREAKING TABLE BACK IT WILL HAVE MAGICALLY DIFFERENT DIMENSIONS BUT JUST EVER SO SLIGHTLY, BECAUSE FUCK THE USER, RIGHT??!!! (Doing this because there is no way to split tables into two different objects) I constantly have to save my presentation, kill the process and open it again because something just stops working or gets stuck, like seriously, WHAT THE ACTUAL FUCKING FUCK???!!! Are there no tests?!!! Do the people who work on this piece of motherfucking shit even use it???!!9 -
OpenCL...
Okay so I'm completely new to OpenCL and I just put some stuff together to get a simple GPU Kernel running. Well that worked pretty good.
The reason I got into OpenCL was because I wanted to do some simple SHA1 cracking on my GPU. What I did was, I got a fast implementation of SHA1 from the internet, which works perfect in normal C++, but for OpenCL I have to rewrite some things. So I replaced all the memset and memcpy and so on with simple for loops and it still worked. Now, this should work on OpenCL, too, I thaught. God I was wrong!
Somehow the clBuildKernel got executed normally, but when I try to access the returned value (the error code) I get an Access Violation? It just doesn't make any sense to me?
Well I will try some stuff tomorrow again and I will find a solution for sure, but still, until now I just don't understand it. -
Short angry rant
What the fuck is wrong with the SalesForce Authenticator logic?! How in the hell do you fuck up a simple 2FA system this hard?!!
Login -> Waiting for Notification... nothing... -> Reload Page -> Login -> Waiting for Notification... nothing -> Click "Use Code instead"... nothing happens... -> Reload Page -> "Login -> don't even wait for notification and just pres "Use Code instead"... nothing -> Reload Page -> Notice there's a "Use Code" button on this page as well -> Finally be able to log into the fucking Aloha piece of shit...
How TF is it, that Duo is able to send me a push notification within 1 second and it ALWAYS works... and THIS FUCKING SHIT NEVER FUCKING WORKS THE FIRST TIME AND AT WORST JUST DOESN'T WORK AT ALL!!!!!
Fucking hell.... Don't offer me a push notification service if you don't know how to make one... jesus fucking christ... All of Salesforce security is fucking stupid, but at least the others mostly work, but this retarded piece of crap is making me actively surprised when it works on first try... Maybe it's because I'm on a slow connection, but again Duo Mobile doesn't have this problem and works *instantly*... so what sort of retarded monkey coded the SF one I don't know, but I hope they are making better products now, because this is a disgrace to programming and security6 -
If you also programm in your free time you probably know this kind of situations.
Situation: I'm currently creating my own PHP framework (I know there are plenty... I do it for "fun").
The database Connector Class wasn't working so after an eternity (around 2h) I just went to bed.
11pm: My Eyes open. I'm sure I just solved the problem in my dreams. (Spoiler alert: I didn't)
2am: I go to bed again. It didn't work.
Next day: I open the file add a missing required file. It works. I'm now tired AF and feel like dying and above all: I now get all the suicide PHP memes. Good night guys. I'm getting some sleep.3 -
Hi guys!
I never thought that this day will come, be here is my first rant with a big dose of frustration.
So, I'm working on the API team of one of ower products and a coworker that works on the webapp has a lot of problems (don't want to be mean, but he has problems like 'i can't catch a 404 http status, please send a 200 with a message' ) and he always go and wines about the API and that he can't do his job because the API is faulty...
But it is not the case, every functionality of the API is well tested and it works as it should.
So, tonight I was the only one left from my team and the project manager comes and
starts asking me about why I am returning http status codes with all my responses, how the login works and other stuff like that...
Just wasted more than an hour to prove that all the code that I wrote works as expected...1 -
I'll never understand distro hopping. You're having something that works fine and that you're used to. You can always change the look by using another DE. But you prefer to throw it all away, try something else, end up deceived, try something else.
Just, why? Educate me, what are you exactly looking for that makes you want to change after some time?10 -
I hate those mother fucking, Cock sucking, dick farting retarded faggots, who get the opportunity of a new job/internship just because they have a certain "relative" in the said company/organisation.
I mean its ok that you are getting an opportunity, but just don't act all-knowing-god-tier while you don't even know how to print a statement in c++ and got it.
How many more relationships should I increase of mine so that I get into the same position like them.
One of my friends got the internship just because his girlfriend's brother works for the firm.
Now that's just super barbaric unless he gave a blowjob to the gf's brother.
Their Fucking assholes need to be drilled by a giant pile drivers.5 -
So I am young 14 year old programmer that just started high school yesterday. What are some good things to try and do for a future job? Should I stop coding until hs is over, do I code casually with free time and then after High-school I will know a lot more? Not sure how it all works15
-
Some people of devRant are astonishingly stupid.
I post a rant of Ryan Dahl where he says he don't like the unnecessary complexity of modern software. It's an obvious UX rant, but @Crost says that it's about rushing releases and writing sloppy code to "tick the item off my list and solve the problem". @Crost and other boubas, if Ryan's vision was more widespread, macOS, the OS you all hate so much, wouldn't have existed because Linux would have the best UX ever.
I post a rant about Google algo being nasty and throwing triggering shit at me. I previously posted stuff like this, Root confirmed that it works just the way I think it works, it's a manipulative piece of crap. But @Oktokolo says that "The algorithm literally just gives you same of the stuff you just saw", well, I don't know, nice view of the problem for a guy with no computer and no smartphone, @Oktokolo! All that "youtube recommendations gathered us together on some obscure video" comments, and you still don't get it.
I post a rant about how I redesigned a fucking color wheel icon. It shows a "before-after" pic and the colors are obviously the same, but fucking @Oktokolo be popping up again, telling me that I have eye condition (!) that makes me see more blues than yellows.
No wonder you guys don't know how to use CSS, the simplest programming language (yes, it's a programming language).
No wonder smart people like SortOfTested just leave.
I still refuse to believe that devRant user base consists of stupid people exclusively. Perhaps they are just average, and I'm the genius with my Aspergers just getting way more information out of my environment like I always do.20 -
How come something works absolutely perfectly in dev but not in prod?
I was making a desktop app in election js and everything is working perfectly. No problem at all. But then I create the installer/distributable and nothing shows on the screen. And out of curiosity, I wanted to see the error log and it shows an unknown error, I didn't even know from what thing the error is being generated. And after I fixed that, another problem came with Asana Api. I mean, if it's a public API, why do you have to block it with cors? I hate cors!
And after all of it, there's more to it. I mean, why can't you just show the errors in dev?4 -
I figured out why FS2020 crashed all the time.
One day when I was just casually playing FS2020, I bluescreened with a watchdog violation. For some reason this corrupted a DLL which was part of my graphics driver which is not required for the output to come out of course. The DLL is “atidxx64.dll”.
Somehow, this went unnoticed.
After digging into the extremely well-hidden crash log I found out that it accuses this DLL file, dug up on it and I saw that it is made by AMD.
Reinstalled the drivers and now it works fine.
FUCK MY LIFE I REDOWNLOADED THIS 95GB SIMULATOR 4 TIMES BEFORE DIVING INTO THIS6 -
Fuck me I'm pissed. This sprint, my tech lead has been away and a senior dev has been covering for him. We plan a load of work and distribute stories and we churn threw it quite well. However, my senior dev says let's not deploy until all the works done. I was like, how is it going to be tested? He was like well it will be fine because it's all one test. Bs. We now have 2 days left, tester is getting stressed because they don't know what to test or what's been finished. Scrum master is asking why all of it should be tested at the same time and I'm here like this is fucking dumb. Also the tester decided to start testing with the most complex piece of work, rather than prioritising.
Starting to wonder if I'm just the outsider or whether no one understands that granularity is better.2 -
Officially faster bruteforcing:
https://pastebin.com/uBFwkwTj
Provided toy values for others to try. Haven't tested if it works with cryptographic secure prime pairs (gcf(p, q) == 1)
It's a 50% reduction in time to bruteforce a semiprime. But I also have some inroads to a/30.
It's not "broke prime factorization for good!" levels of fast, but its still pretty nifty.
Could use decimal support with higher precision so I don't cause massive overflows on larger numbers, but this is just a demonstration after all.13 -
I've been working on an Emscripten emulation layer for a fledgling startup, and it's just a huge bitch. Seriously, Emscripten is the worst designed project I've ever seen. It embeds constants into a js file that it spits out. It turns out you can't fucking run the wasm that Emscripten emits without these magic constants from the js file.
Additionally, all the wasm imports that emscripten specifies are weirdly cased, with apparently no naming convention. They also use some weird, shitty vararg implementation when it already fucking knows exactly how many arguments are going to get passed to an import.
Also, there are a ton of broken things left over from when emscripten compiled to asm.js that they never bothered to replace with features from wasm. God knows how it even works. -
So I was messing with mitmproxy in my phone and for some reason all Google services are blocked on it.
Apps hang when I suppose they're requesting to Google api, though chrome works for some reason.
I just realised Google even tracks the links you share with your contacts via chrome's address bar.
I'm thinking of going no-Google, any rom recommendations?
Thanks4 -
So I was told to look into a new project management tool to replace our home grown one that must be free, decided on visual studio team services because we all have msdn so it's free. We just got everything migrated and we've been using it very successfully for the past few months and it's honestly made task management so much easier.
Get back from vacation and my company just spent $100k on sales force agile accelerator... 😑 I don't understand how upper management works1 -
I swear on the Almighty nature, I fucking hate Browser compatibility.
Passing php data via JSON encode. Works superfine on Firefox and Android mobile browser doesn't on Chrome. Fucking shit. Been sitting for 13 hours and gave up. FFuuuuuuck !!!!
Form submission via ajax and it again works on Firefox but doesn't on Chrome. I just can't understand, my mind is fucked by all the angels in heaven. Data gets submitted, the form is reset but the function called to refresh the JSON data doesn't work.
Someone please kill me or I swear I will fucking kill everybody.4 -
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 -
My phone just died. Got a new phone on recommendation of friends and flash Jolla on it. The OS is super nice but the "Android support" doesnt work. No lastpass, no netflix, no prime, signal works half, no banking app.
I really need my windows phone back. It just worked without issues. After two android phones and now a Jolla in about two years im kinda done with all this shit.14 -
Co-worker put up a pull-request for his work, with no build file, no readme, no gitignore, and shell scripts for running the app (but not compiling it). O_o
The guy has been using atom editor even though we have license for Intellij for everyone, which .. whatever .. if it works for you...
In our daily stand, people offered to help him add the build files and he was like, "No, I know how to do it, I was just trying to avoid using Gradle until I had to."
It just made me think, "Yea I know you have all these nice screw drivers and hammers, but I'm going to keep using my hands and this stick so I can avoid using tools until I have to." -
When you wonder why it doesn’t work put print statements all over the code, because you want to find the error, but no print Statement works even if it just should print test...
Fml4 -
Spent an hour trying to figure out why Chrome wouldn't work at all. Even IE was working on my laptop.
Restarted the whole thing.
Now it works.....and I already lost most of my motivation to code. Just great... -
how do you all make something that youre unfamiliar with? i mean like something uncommon and strange that youd have to figure out. currently, i have to determine the radius of someones eyeball when the only thing i have is the distance between two eyes. how would any of you go about it? currently im just making an equation and changing values till it works.6
-
Looked up at the clock... 2 AM... Thought about giving up and going to sleep, but something kept me there...
Rewrote my encoder and decoder for my steganography program, which are used to insert and retrieve data respectively from images. Compiled, ran, and output was as expected!
Tried to write actual data, instead of just headers, to the image, and it broke... Of course it wouldn't work first try, it's me writing the code after all.
But then, after debugging for a while and changing a couple lines, the encoder looked like it had done its work properly. Then I decoded it, and voila, data completely recovered! It almost felt too magical to be true, usually I have to modify a lot more to get it working.
So now I'm in bed, after literally decimating the memory usage of the program, amongst other optimizations, and I know that the code works perfectly 😎 best part is I refactored each class down to 100 lines each, so now it's clean and dense 😇
Just had to share, feeling so good right now 😄2 -
Ever since i learned terraform i cannot go back. I cant fucking use the ui anymore. This shit is too good. 1 command to create all bullshit and 1 command to destroy all bullshit. Fantastic. Misconfigured shit? Just fix it in a file and 1 command to update it. Perfect. Need to add more shit? Add more lines and 1 command to update. Shitastic. Instead of misconfiguring bullshit or forgetting to delete some shit manually i can simply just do it all 1 command no errors
HOWEVER i noticed sometimes even terraform gets fucked up with bullshit. When im destroying my infra it infinitely says destroying. As if its stuck in that loop. No idea why. So i have to manually destroy the bullshit and then run destroy a fww more times till it works5 -
Long time no see devRant. This rant is dedicated to an MQTT implementation we use. Mosquitto, mqtt.js - FUCK YOU.
I spent the last fucking 30+ hours trying to find why the bloody fuck the stupid server / client won't connect to the shitty mqtt broker. From changing all possible config, enabling & disabling specific code nothing abso-fucking-lutely works.
But then it will randomly decide to connect to the fucking broker, not causing any issues at all. And each fucking day when I wake up again and think to myself: oh today I can actually leave when it is still somewhat bright outside - NOPE. Because guess what? The fucking shitty abomination doesn't work anymore.
I just love these types of problems that are almost impossible to debug because the only logs you get is: "SERVER disconnected". It's impossible to get a proper reason out of this shit show, it's just turned into randomly guessing what the error could be (and especially where it could be).
And each time I got it to work, tested it and let the testing team know that they can start testing it will just stab me in the back and be like "fuck you, I'm not working any more". Luckily it's not like the deadline is next week... otherwise work is great, trust me.13 -
My exploration into the dev world started back when Anonymous were actually something a bit more than just DDoS dicks. It started with joining in with the DDoSing, but that got me interested in how it works, how servers work, then how websites work, and it's all written from there!2
-
Microsoft :
"YOLO All Devops pipeline are now .net 8"
Me, lunching PROD release : "Whatever, I don't use any advanced shit"
Pipeline : "Can't connect to your nuget soure (private) : 401"
Me : What ? You just connected to it in prevous step in pipeline !
Azure : Yah, but prev st ep was using different syntax so it worked
Me : Ok, here you go, same syntax
Azure : Still nop.
Me : WHY ?!!!
Azure : I won't tell you. 401 !!
Me : Fuck you, I 'll rewrite this step from scrath !
30 mins later
Azure : Naaaan, stil 401.
Me : HOW ?!!! You literally use this nuget feed in 2 prev steps with no issues.
Azure : Fuck you
Me : fuck you too.
15 mins later
me to me... Hmm, I've already restored all packages. They "should" stay where they are..
Me : Take that azure : Ignore restoring for this step"
Azure : Oh yeah, that works ! All compiled !
WTF ?!!!! And why they release cha ges without even sending a mail. because fuck us apparently.
God I hate devops.... -
Boss assigned code cleanup to me. We put up eslint and fixed a couple of issues, all nice and cute. Now, he wants me to find any redundant code and remove it (redundant fields in config objects). Sounds doable right?
WRONG!
Because we're writing fucking ExtJS. This abomination that is still called a "web framework" in lieu of its former glory supports no typescript, no code intel, no JSDoc, no nothing. Absolutely heinous and deplorable. Add insult to injury, our code on it is even worse. NO single component reused except from a couple REALLY fucking badly written ones, because every component queries for shit outside its jurisdiction so it's all a dependency spaghetti. Everything else is just copy-paste. Barely anything works as intended anymore in this bloody joke of an app.
I tell him in a meeting, I can prepare an automated solution. Some script or something that runs on a file watcher. All nice and dandy. A weekend and a Monday later, I get tired and do something else to clear up my mind. Show him some progress in that other thing. He's like:
Boss: that's good and all but did you remove *insert misused config that got everywhere during copy paste* like I told you to?
Me: I'm still working on it. I switched cause I got tired a bit with the automation.
Boss: automation?
Me: We were talking about in the meeting. *Explains again*
Boss: That's not what we agreed upon
Mfw I've been rambling uselessly on the meeting about it just for you to put me down and make me remove all that copy pasted GUNK from the melting hot garbage that is our codebase BY HAND? All the 150 occurrences of it? What do you think I am, a fucking robot?2 -
So I live in the middle of nowhere and therefore I have a very limited choice of different ISPs. The short version of the choices is a fast but very limited in data size or one that works 99% of the time (I'll talk about the 1% later) but doesn't have limits on downloads. So I obviously chose the second one.
It works pretty great most of the time and I don't have any problems usually... The problem with "usually" is that the 1% of the time it doesn't work is all it needs to frustrate me. I could be downloading a massive file and around 70% the Internet decides to disconnect. It wouldn't really be a big deal if it wouldn't cause the file to get corrupted.
My point is that if you're going to share a big file, don't upload it to mega, mediafire, dropbox or anything like that. Just use torrents. They work way better for big files.2 -
~!dev
If you watch a 30fps video at 2x, is it the same as watching it at 60fps?
I usually watch anime (all videos) at 2x on my phone but when I watch it at regular speed it feels stuttery now but not sure if 2x is the same or it just uses frameskipping. Not sure how that works wither but wouldn't that cause more stutter?9 -
So my day started well.
I come in an the DVR monitor is not working, ok lets turn it off and on, nope. Lets turn the DVR on and off, nope still nothing. Played around with the VGA cable, nope. I cant replace the cable because its hard wired into the monitor....
I grab the spare screen next to me and connect it all up and it works!
Boss tells me to throw "broken" monitor out, I say I want to test it just to make sure, connect it all up to my pc and now it fucking works!
There are days I hate technology....1 -
!rant && POLL
A lot of people are asking for poll feature. There have been many debates. While reading those, I even thought we should probably ask a debate feature before poll.
Anyway you can actually create poll rant. Just gotta be creative and a bit organized like adults (hope we all are).
1) you ask your poll question as rant
2) you enter your poll choices as comments
3) people ++ their favorite choice comment (s)
Of course this is not a poll-poll feature so there are many lacking functions. But at least it works to certain extent.
Eg Question : What is your OS?9 -
Actually have a dev thing to say now.
I wrote a script to compile my kernel with the latest mainline version using my current config options. It works...so far. I'll check back with it in a couple months and hope it still works good. It also checks daily if my kernel is out of date (yes I'm one of those, fight me)
Also managed to get my laptop to boot from power on to LightDM in 15 seconds, and 9 of those seconds are firmware. It DOES have this thing on occasion where it freezes during the boot process while initializing everything tho?? I've been meaning to try and figure it out for a minute but I put it off so much cause I don't reboot that often anyways.
As for a personal update, I hung out with some good friends today and my best friend heard my singing voice for the first time, she said I have a good voice (she does a lot of musicals and stuff and just sings all the time, so I trust her opinion). I also gave that friend a gaming laptop as a late birthday gift/early graduation gift today because she doesn't have anything to game on and I didn't really use the laptop much anyways. Plus she's like my favorite person ever and she really deserves it. Unrelated note, I have had an off and on crush on this girl for 2 years. She's always been there for me and she's just an amazing person.9 -
I would love to see the environment that the Mac OS X team works in.
Do they work in all cubicles? Is it more of an open space? Do they use the latest Macs? If so, do they use all Apple hardware? Or do they swap out keyboards/mice with ones that they prefer? Which secondary displays they use etc.
I just wonder if the professional Mac OS X developers actually use their Macs the same way that Apple wants their customers to use them.4 -
College broke my school VM by "accidentally" pushing a policy to just me that disables being able to start anything after logging in (no DWM or Explorer, either, so just login, then infinite abyss.) Fine, nothing I can't fix, i got around shit like this in middle school. Reboot... can't get to the school's webpage. No DNS...?
No.
Windows disabled all the network services. Why? Defender didn't start, is why. Why not? School broke it. Goddammit. Gotta fix that.
There, are we ready now? NO, OFFICE ATE SHIT. FUCK, LEMME REBOOT AGAIN...
How about now? Everything works? Cool, let's get some work done. Download assignment, and... file's busted. Redownload? Nope. One more try? Nothing.
I am going to flip my shit I swear to fuck -
Turns out you can treat a a function mapping parameters to outputs as a product that acts as a *scaling* of continuous inputs to outputs, and that this sits somewhere between neural nets and regression trees.
Well thats what I did, and the MAE (or error) of this works out to about ~0.5%, half a percentage point. Did training and a little validation, but the training set is only 2.5k samples, so it may just be overfitting.
The idea is you have X, y, and z.
z is your parameters. And for every row in y, you have an entry in z. You then try to find a set of z such that the product, multiplied by the value of yi, yields the corresponding value at Xi.
Naturally I gave it the ridiculous name of a 'zcombiner'.
Well, fucking turns out, this beautiful bastard of a paper just dropped in my lap, and its been around since 2020:
https://mimuw.edu.pl/~bojan/papers/...
which does the exact god damn thing.
I mean they did't realize it applies to ML, but its the same fucking math I did.
z is the monoid that finds some identity that creates an isomorphism between all the elements of all the rows of y, and all the elements of all the indexes of X.
And I just got to say it feels good. -
It's so frustrating when libraries just give you a hello world example and you have to figure out what the fuck it does. No comments, no nothing. Then you go read the documentation, and find out they have topics for everything, but nothing explaining how it all comes together. They give you a hello world and then you have to figure out how the damn thing works.
Now I have to watch YouTube tutorials which will probably all use fucking Spring Boot and extra libraries. I just wanted a barebones example, is that too fucking hard?
EDIT: maybe I should take a break from this thing -
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 -
Windows users be like "Oh, it's fine. Our tent comfortably fits all my family and it's cold there for only half a year, but not too cold, just wear a coat while you're inside and you'll be fine. Clean water is only two miles away, walking is healthy after all. Yes, agents come every week and rape my wife but it only happens to newbs and honestly I respect that ritual, this is how life works. You only have to send three papers to them to ask them please not to rape us this week and they don't come for a whole week! I ain't stupid, I always carry my gun with me to shoot thugs"
Living with MacOS is just living. You pay the fee and they let you in.
Living with Linux can be just living too, but it can be much more, your skill and willingness to learn are always rewarded. I've been there, I used Arch.
But living with windows is always survival.18 -
Why is it so fucking difficult for mobile OSs (Android/iOS) to revert to mobile data when the WiFi is clearly not working? It’s so annoying when my phone connects to some AP 10 fucking nautical miles away and tries desperately to get a connection to the internet when I have a data plan that works just fine. The solution would be so fucking simple: before the phone switches to WiFi connection it should simply probe the internet. Login required? Ask me if I want to proceed before showing me the fucking login portal. No response at all? Then don’t even bother going any further with it.5
-
As of two days ago, I no longer use systemd on my Arch system, I switched to openRC.
Basically it all started right around 9 months ago, installed Arch on a new laptop, and whenever I would reboot (which was never very often, mainly kernel upgrades), about 7 out of 10 times it would crash when booting up. My solution for a while was "just don't reboot then".
I spent a while trying to figure out exactly what was causing the boots to fail. I tried disabling systemd units, just trying to narrow it down. I even got the logs from each failed boot, comparing it to a successful boot to find any differences just to have some idea of what the issue was.
One day I figured, it's possible that it could be an issue with systemd itself. So on my day off of work, I figured I'd try using a different init system, just to see if it would work 10 out of 10 times. Decided to try openRC, and sure enough, IT FUCKING WORKS!
Now, I don't hate systemd, I've always been on the fence about it. I feel like it just tries to do too much. I will say, it is fairly convenient to have a lot of things running off of one component, making them all compatible, BUT there's also the factor that one issue could potentially fuck shit up.
Hell, I'll say that it is easier to use systemd than openRC. Enabling unit files is easy as shit in systemd. But I personally like a challenge, and to learn new things, that's part of why I use Arch.
Anyways, I'm done with my rambling for today.2 -
I remember learning how to program 5-6 years ago. It was completely broken. All of these “courses” just teach the syntax of a language. They usually don’t even teach how it works or what it’s used for. Knowing the syntax is great and all, but what’s important is learning to apply it to solve problems.
A lot of other basic things are often overlooked as well. For example, introducing a text editor and the command line would have been incredibly valuable.
For a long while I was using online editors and logging the output of functions instead of actually making projects.
I’m glad I kind of created my own way of learning: by making projects. Just hopping into something was the best way to learn from me. If I got stuck, I’d simply look it up. As a result, I was able to actually apply my skills to learn. -
Try to avoid writing code that just works because one day some of your colleagues will have to refactor all of it and changing 70 files aint something someone would enjoy doing.1
-
So Igot that Samsung DeX thing a while ago. So far, it was just a nice gadget to have at hand, but I didn't get to use it properly since my laptop was always the better option sort of.
Now.
My power adapter for the laptop died last friday. I have a second one at home, but of course, I pack the wrong one for work.
Ended up working the entire day on the DeX. Thankfully, I just needed to do some web and office based stuff, and all the necessary documents are online anyway.
So that thing just saved my butt today, which is nice. Took a while to get used to, but it does it's job quite nicely.
To be honest: Iam suprised it works the way it does. Oh what a time to be alive...
Now the question is...
Can I get Ubuntu on here somehow? I did find a Tmux? shell and was able to download some ubuntu onto it, but it had gpg issues.
Anyone got more references? Ubuntu on Android 8.13 -
I'm most excited about Smart Contracts & Distributed Applications.
In early January I started learning Solidity thinking it would be super difficult but was pleasantly surprised when I'd completed my first DApp in a couple days. Two months on and I've finished 3 major projects and launched my own Udemy course.
I'm not a big follower of Crypto Currencies at all and haven't become financially invested in anything really. I just love the way development works on a blockchain; it is quite interesting and It feels really fresh solving problems using code that will become immutable. -
I ordered a Ticwatch C2.
It comes today, I plug in the charger since it's dead whenever I get it, and the charger works for all of 5 minutes; just long enough to set it up.
Immediately after setup, it shuts down and flashes the batter symbol every time I try to turn it on.
And if course, with the kick ass luck I have, the fucking charger stops working.
Nothing like having to wait two more fucking days to use a fucking product.7 -
The sentence we all dread:
"My stereo (insert any other piece of home tech...) is acting up, call ______ he works with computer's he'll know what to do"
ME: "Take it to the service shop, I'm a programmer not an electrical engineer"
After that you can't help but think they're thinking you just suck at your job... "pff he know's nothing" -
Smart me.. Updated OS X from 10.10 to the ‘new’ 10.12 just before leaving on my vacation. I’m currently at the boarding gate, wanting to develop some bits and pieces.
Apparently, the update fucked me once more.. My XAMPP server, the Git commands, my permissions, .. Nothing works.. Now I have to google all this stuff to get everything working again, but the Wifi is sooo damn sloooow.
Doubted so many times to install ubuntu on my macbook, but I have no idea how Ubuntu handles the battery life, the led keyboard, the function buttons, … The whole OS X works for me, but once in a while, it fuckes me so hard, I would've liked it if it took me out for dinner once in a while.. :D3 -
My wife’s computer just cannot work with Windows 11 anymore. It’s an older but still hardware rich gaming machine. I’m going back and forth between wiping the whole machine and installing Windows again to try to fix it. Or to wipe it and install a distro of Linux. I’ve been out of the inside track for Linux knowledge for 8 years. She doesn’t want to deal with anything command line all the time. And I don’t either. If I go Linux, what’s the best one that works with older machines and that’s easiest for someone nontechnical?16
-
OMFG. So my isp sucks. Like most isp do now adays. I was watching TV and I was trying to find a specific channel. I look for the channel list online. And oh my fucking God the site is horrible. They have some continuous loading script so I don't have to load all 2500 channels at once. But... It's fucking horrible I got to channel 120 then tries to scroll back up to see if there was a search bar. But guess what... It kept scrolled bg me down. Then I thought maybe if I refresh the page. Nope... It does not send me to the top it sends me to the fucking bottom. Since I can't clear cache on mobile im stuck scrolling up. Why can't they have a site that just fucking works.2
-
I've been fighting with my xmlrant.com hosting provider for a good several days now regarding enabling web deploy for my account.
According to their screenshot it all works, according to my various attempts still getting either 404 or 401 with the same login / server details!
So frustrating... It almost looks as though same authentication works differently for them locally and for me externally... Maybe domain name needs to be in FQDN format... Or smth else... Either way this will probably end up with them saying fuck off, all is working on our end.
And as well it might - it just might be my incompetence... *self-doubt creeping in*
But it's still frustrating nevertheless.
So far I need to settle for unreliable FTP deploy, which introduces big overhead as always copies entire deployment folder, even is only a few files are actually changed.
*Le sigh* -
Looking for someone to test a new factorization script I wrote.
https://pastebin.com/Td2XTKe6
Tested against a set of products from all primes under 1000. Worked even on numbers up to 87954921289
Worked for about 66% of the products tested.
Obviously I'm cheating a little bit because I'm checking for four conditions n%a == 0, n%a == 1, n%b == 0, and n%b == 1
It appears it is possible to generate the series from just the product, and then factor each result. The last factor in each each set of factors becomes x, and we do p%x and check for zero.
if it works, we've found our answer.
Kind of wonky but basically what its doing is taking p, tacking on a 0 to the right, and then tacking p to the right of *that*.
So if you had a product like
314
The starting number we look at is
3140314
The middle digit becomes i, and the unit digit becomes j.
Don't know why it works more often then not, and don't know if it would really be any faster.
Just think it's cool.9 -
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¿¡¿¡¿😢) -
Hm... Apparently I've been doing TDD all along... it's just that I don't save the tests in a seperate project.
I just keep editing Main() to test whatever i'm working on (each class).
Also the NJTransit site is sneaky as ****. It seems the devs know a bit about how to prevent site scraping by checking Headers and Client information...
Took all afternoon to get this test to pass....
it works in Chrome but not in my code... and even after I spoofed all the headers... including GZIP.... it wouldn't work for multiple requests...
I need to create a new WebClient for each request.... no idea how it knows the difference or why it cares... maybe it's a WebClient bug...
And this is only the test app. Originally was supposed to be built in React Native but that has it's own problems...
Books are too old, the examples don't work with the latest...
But I guess this also has a upside... learn TDD and React rather than just React... hopefully can finish this week...
I'm actually on vacation... yea... i still code like a work day... 10AM - 8PM....2 -
This is just funny more then anything 😂
This guy has been fucking up non stop!
He did something incredible, we gave him precise EXACT instructions you couldn’t mistake them
What does he do? Everything wrong.
Granted what he does, works, but... it will take me hours to do what I want to do with the data, if he did it the right way, minutes!
All I wanted was all the active products for this company and their links on the site. He creates an export I can convert to google xml shopping.
What does he do? create over a 100 export buttons one for each supplier so it’s right but it’s all products for that supplier in one file.
So I can do my bit if I just combine 100 files together 😂
It’s funny because there’s already an export that does the exact thing we want just without all the right fields. This is what we asked.
He just needed to duplicate that and add more fields 😂 we think he’s doing it on purpose to be a dick 😂 no one can be that dumb.
I’m laughing cause it’s fucking ridiculous. He’s gonna get fired soon, and he knows it. -
A function that I has had fucking 0 problems now fucking has one and all I did to it was ADD FUCKING COMMENTS TO SOME OF THE LINES. IT WORKS APPARENTLY BUT ITS ONLY JUST NOW STARTING TO SHOW THAT ERROR5
-
My coworker has been freaking out that our company doesn't do Agile or Scrum right and it will negatively impact his career. He claims that some elite company will want him to prove he worked in well oiled Agile machine. He also claims his last company had it down to a T yet he voluntarily left so they couldn't have been that damn spectacular.
I'm on my 7th company and no one does this shit "right", everyone makes it up. Also it's impossible to prove that you worked in a perfect environment to a different employer, if they even care at all. If someone asks, just tell them what they want to hear because no one actually works in this mythical world of Agile perfection.1 -
I was refactoring a 4000 lines JavaScript file, turning whatever I could into components. It was a pretty old project that I ended up being one of the few wizards to actually know how most of it works.
At one point, I noticed that login into a user account redirected us to the dev-test server, even when working on a local Docker container.
I never quite understood the issue, but ended up having the bug mysteriously disappear.
Until it came back two months later, then disappeared again.
At one point, all of the dev team on the project (four developers, me included, and one project manager) was investigating the issue, and we never figured out how or why this was happening.
Just Symfony routes shenanigans I guess.15 -
This night I had a fever and seen a weird dream. So, scientists discovered that our whole perspective is wrong, and the notion that anything is but a sum of its parts is now completely irrelevant. One can’t disassemble a thing and know how it works and what it consists of. Basically you want to build a computer, you buy all the parts you need, but you can’t assemble it anymore — it just doesn’t work, and nobody knows why. Same is true for cars, industrial machines, software and pretty much anything that have something to do with engineering.
So, earth went into riots, massive layoffs occured, world economy collapsed, and the forces of what used to be USA, China and Russia joined to tackle the problem. A research was started and we found out that we now have complexity cores (!) that distribute emergence (!!) in an ephemeral way (!!!) and that is what makes things work. Theory of New Complexity (!) emerged, and all the engineers were required to go back to universities to attend lectures about how complexity works and how to make things in that new reality7 -
Windows is getting dumber by the minute.
It now forgot how time works completely.
I setup nightmode to start at 21:30 and end at 11:15, and guess what, it just activated night mode at 11:15 (!)
I hate windows for all it's downgrading my life to pointlessness...4 -
every time I run into some issue in rust and spend days googling and asking a billion AI chat bots turns out it was rust that was wrong
I'm so exhausted
do they have brain worms
nobody considers "hey maybe this feature isn't in yet" (and actually they'll argue against it being a feature and you should feel bad at coming up with it)
they're just like "you're doing it wrong!"
YOU HAVE ALL THE INFORMATION TO INFER THE TYPE AND YOU DID INFER THE TYPE YET YOU TELL ME I NEED TO ANNOTATE THE TYPE BUT YOU'VE INFERRED IT AND YOU CANT TELL ME WHY I NEED TO ANNOTATE IT
And I love how suddenly you can convert a Result object using `as` which is a keyword reserved only for primitives, so say the docs... and it works (and works at runtime as well). because the type was never wrong. you fucking inferred it. but you're bitching at me that you need an annotation. when you don't.
remember when languages were made by people that actually liked coding instead of this clout-chasing nonsense. that's what I'm blaming this on12 -
I mostly come back to programming for the kicks of when something actually works :) But the reason I started was a life changing moment of black and green Space Invaders some 30+ years ago. After that it was all about computers and/or gaming.
My mom thought she was being smart saying I could buy something for my own money. Saved like crazy and sold all my toys. That got me 8bit Sega Master System.
I continued with C64, Amiga 500, a few Pentiums and a bunch of PCs before iMacs and Macbooks took over.
There are so many better developers so just as with music I just create stuff for fun, challenge and personal expression. But at work there are also opportunities to improve the world a little bit by dev work and I'm always grateful for the chance. -
!(dev|rant)
I just got an old refurb for the garage to run my camera capture stuff, as the raspberry pi wasn't cutting it. I thought for a split second about leaving the legit version of Windows 10 that came with it on it, and trying to do some in-home streaming over steam, but I found out very quickly that an old corporate refurb is not going to cut it for game streaming. And with all the complete nonsense you have to abide to make Windows usable(ie: disabling stuff you don't want), it's not going to be any use to me in Windows if it can't stream.
Also, for some reason, Windows just wouldn't use the built-in NIC at all. It reported the cable was unplugged, and just absolutely would not work. So, Debian it is, and lo and behold! The NIC works like a champ now. The camera capture works brilliantly too, so now I can turn off my desktop at night.
Linux just works. Windows, more and more all the time, is just more trouble than it's worth.2 -
"I want us to work organized as kanban!"
"But scrum works fine, we just have to resharpen our work with the process."
Me - completely calm:" it hardly matters, if have shit wrapped in green paper instead of blue paper. It's still shit."
Remember: sometimes all you get is crap, you still have to deal with it, you can't always procrastinate them away, aspecially with organisation changes1 -
Got a chance to work again on a Spring project after a few years of working with JavaSE.
All these horrible memories started rushing back. SpringJPA and its dark magic that only works unintuitively and under very certain conditions...
Ooooh boi. Now I remember. I remember it all.
Why do developers enjoy being squeezed into frameworks and enjoy spending half of a day figuring out how to make the application code compatible with the said framework rather than just writing code that they have full control over...? Masochists much?9 -
I love to work on very small, but completely retarded shitty projects.
It's just satisfying cause the projects are dead as fuck, only kept alive because the migrations still take too long...
Most of them only work entirely correct when all stars align, Nostradamus raises from it's grave and fulfills the prophecy of world end.
Joke aside, they really only work under very specific constraints....
.......
😈
So no one gives a damn when you just reformat the whole project, making it less of a diarrhea infested mess....
Plus add some much needed sanity by throwing refactoring fission bomb in it.
Still not works entirely correct...
... But it looks way sexier. :)
Small things that count... XD -
We received legacy project for support and fixing.. it had few issues:
1. There was a controller called MainController. This guy was the soul of the project 10k+ lines, heavily dependent on the data from the database.
2. We didnt get the data. Just the database structure (we couldnt run the app at all)
3. At the very end of that controller there was a "simple" eval($_SESSION['somevariable'])
4. We had no documentation and had to guess how it works...
Someone really had fun screwing up this project. Needless to say we got rid of it quickly. :) -
This moment:
When you have a weired exception, start googling it and practically bruteforcing all possible solutions you know of and/or found on stackoverflow.
Then after (half) an hour just starting from the beginning, attempting the simplest solution you can think of and it just works on the first attempt:
😱 ⏩ 😰 ⏩ 😤 ⏩ ☕ ⏩ 😥 ⏩ 😔
But you'll notice that you had learned a lot of this.
... Or maybe not 😜5 -
I hate IT. I hate just about anything that relates to computers.
It's all nothing but debugging.
SSH from linux, works great.
SSH from windows, even with plain password, permission denied. Blaah...
Why this shit won't just work?8 -
So, I encountered a classic case of the infamous "it works on my machine" excuse today. 🤦♂️ Seriously, folks, can we please put an end to this lazy and unprofessional behavior?
Picture this: I had just completed a feature in my code and passed it on to the QA team for testing. Confident that everything was running smoothly on my local environment, I expected a smooth sailing experience. But boy, was I wrong!
The QA team began testing the feature on different environments, and that's when the chaos ensued. What worked seamlessly on my machine seemed to transform into a monstrous bug fest on theirs. Panic set in, and I couldn't help but feel a mix of embarrassment and frustration.
Lesson learned: testing code thoroughly across various environments is crucial. No, seriously, it's an absolute must! That "it works on my machine" excuse is just a ticking time bomb waiting to explode in your face.
From now on, I pledge to dedicate more time to thorough testing and consider the diverse environments our code will encounter. Let's save ourselves and our colleagues the headache and embarrassment caused by such oversights. Together, we can put an end to the reign of the "it works on my machine" excuse once and for all!7 -
Just TYPO3 things:
in your config constants doing "styles.content.textmedia.maxWInText = 450" should basically crop all your images to a maximum width of 450 using ImageMagick except TYPO3 flips it's shit and won't do it.
After about an hour or so of debugging and guessing around with 2 other developers setting "styles.content.textmedia.maxWInText" to "500" will actually work. Every other number except 450 works.
Using TYPO3 is like preparing for hell.1 -
Finally got fed up with nvm and npm being messed up somehow and decided to reinstall it. It’s finally finished after 84 years and more text than the Bible and the complete works of William Shakespeare has been scrolling in my terminal as it installs.
Aaaand it’s still just as broken as before. I’m now considering re-imaging the entire machine and starting over again.
I know all the “right answers” as to why and how we use Node but I sometimes wonder how much of that is sunk-cost groupthink as well as “we’ve always done it this way”.
Should _setting up_ to write code and release software take longer than it does to write code and release software?3 -
I used to be a digital minimalist, and now my iPhone has every single app I know of. Minimalism is all fun and games until you're travelling somewhere out of your gated community where minimalism works, and suddenly you HAVE to have some popular filthy app, but you don't have it. You try to download it, and of fucking course your internet connection sucks ass, it's getting late, people are waiting for you, your phone starts to overheat and lag, all while you try to sign in to damn app. Its predatory algorithms detect an uNuSuAl LoGiN aTtEmPt and shadowban you, so confirmation emails/SMS won't come.
Just because of how sudden those things are, and because of how stressful it is to my autistic brain, I downloaded and signed in to everything I can think of.
…except TikTok. There are things I just won't do no matter what.22 -
Hey, you, my new colleague, you are annoying. I have reviewed your PR and left about 50 comments on your mess. I even explained to you why half of your code is shit in a very polite way. I have explained why you have to rewrite that and even how to do that in the best way possible. Result? Half of the code is gone, it works as before but without the overhead.
Now you're annoying cuz I have to go again on conventions and best practices. I totally understand that you've been doing it differently and throwing buzz words at me won't help. Just stop and do it as it's needed in this project, don't reinvent the wheel only because you can.
You know what? Fuck it! I'll approve all your PRs, anyway I am leaving soon. There is no benefit for me to teach you stuff. You're one of those guys that I voted against in interviewing process. But guess what? My manager decided to hire you anyway! Ha! I rarely vote NO and you were a one of those...
Your confidence doesn't impress me. That works on people that have no clue on what you are doing. Your just average at best, not a superstar.
Fuck it, you're on your own now!1 -
Don't refractor for fun!
An anecdote from my previous company. A developer had written a shitty java console app for fetching stock prices. About 3000 LOC. just one java GOD class. So, when me and my friend looked at it, we were amazed how that code works with all that if conditions spanning 100LOC. so. My dear friend underestimated the complexity. Since it just fetches stock price and puts in database right. I can write it in few days and much better one. So, he started writing code in an OO way. Three days later I see he still working on it. Having a glimpse at code. The app is now Object oriented shitty and ugly.
Guess what new code never goes in prod too.
Learning
Don't underestimate complexity of app.
Be empathic about fellow developer. Don't think he has written a shitty code. Think why he had to do so.
Don't work on refractors if there is no one to guide you.3 -
Always want to try Linux as main OS, but troubles with audio stopped me. Have heard about new shiny pipewire, that solves all the linux audio mess.
It's pretty easy to setup, but audio with pipewire has crackled sometimes when recording. Spent half a day to fix it by following random guides and docs...
Now uninstall pipe and install jack. Just works fine: select device, change sample rate and you are ready without any fuckinf annoying crackles and tinkering with a lot of config options10 -
That feeling when your friends' college life kind of depends on you helping them out in this assignment using a low level programming language (low level means it was meant to operate on the machinery level) that you were really good in at the first semester. Then you realize that you have forgotten a lot of things just because the logic and approach ist totally different from the high level programming language and you forget how a programming language works once you stop using it and it takes time to dive back in and you really like being friends with them. Now all you're left with is with the fear of letting them down.
-
I feel super discouraged. I just got a new job from being let go from my previous one, and I’m already thinking about quitting.
They really threw me into the weeds with a couple of complex tasks that require a lot of BE work and all I really do is FE. I’m still just trying to learn how the framework actually works. I think they expect me to become full stack. Now I find myself just starting at the computer screen most of the day because I have no fucking idea how to start working. The codebase and local environment is also fucked up super bad and barely runs on my machine.
Also, whenever I reach out these people they give the most minimal answers and have swollen egos. The frameworks they use have a really shitty community and bad documentation, so googling anything is really pointless. Working on this project, it has made me consider giving up development.
I am wondering if this is just a me thing though. Should I quit or stick with it for a bit?13 -
Soo I got a new keyboard called EVGA Z10.
Plug & Play is what I'd expect in 2021 amirite? Hell no.
This piece of shit arrived, got plugged in and the keys worked, that's cool and all but it got advertised with a display that.. stayed blank (or rather, it just showed "EVGA"). Installation guide says to install their crappy software.
So I install the software and so far so good. Now my display literally turns blank and displays nothing. I restart the pc to no avail, the software just shows an endless loading indicator when I try to set any settings to it. Great.
A few google searches later I found out I had to uninstall the current drivers, install drivers with version 54 and then to update to version 72, NOT 73 because.. that apparently breaks shit.
Now everything works as far as I can tell but what the fuck?4 -
So, I work as a sysadmin junior (6 months and going), and in the past few months, I learned what my boss warned me about - Devs don't understand us admins, and we don't understand the devs.
We have this huge client who is about to migrate to our company (We do mostly server managment/Housing/Renting), and I am so gald I don't have to work on the migration myself!
Just hearing what the company devs say makes me facepalm: No, it won't work. It cannot work on just 3 machines (They use like... 20 in total), no, we won't get rid of our docker swarm, that's essential (Doing the absolute minimum in their infrastructure, just a fancy buzzword to lure people on. Though they've spent like 2 years developing the app that uses it, so they my not want to give it up).
I kid you not, once, they replied to an email that contained the phrase "To be afraid of/worried about" something during the migration, that something could break, not work, be unstable. 7 times.
Might not sound as bad, but it was a rather short mail, and when they're so afraid of everything, its kinda hard to cooperate with them.
My colleague literally spent this entire week mapping out /their/ infrastructure, because they were unable to provide us with the description themselves.
And as a cherry on top, they sent us a "graph" of relationships of all the parts of their infrastructure that was this jumbled mess of rectangles and arrows. Oh, and half of all the machines were not even in the graph at all! Stating that "We also have all this, but I really don't know how to ilustracte the interactions anymore"
Why do companies like that exist? If you build an infrastructure yourself, shouldn't at least someone know exactly how it works?1 -
So I’m a huge fan of visual studio, but it let me down today.
“Find all references” just straight up fails to find all references of a member in this big F# solution I’m documenting.
I need to be able to reliably find what I’m looking for.
Reshaper for visual studio appears to not be that maintained for F#. FML.
Download Rider evaluation on the off chance, it works flawlessly.
One begrudging commercial license purchase later (despite being the only employee) and I now have software that actually fucking works.
What a wonderful time when Microsoft’s official IDE fails in analysis of its own language. -
My company has 3 core partners but one works remotely nearly every day of the week and the other has his own business to run (attorney). It's funny being the one in the middle hearing about how each of them never knows what the other is working on for the company in an exasperated fashion, when all it would take is for them to talk to one another. I literally schedule meetings on their behalf just so we can all get on the same page. "Oh, you don't know what he's putting into that business proposal? We could just ask him and find out."
-
I was under fire right now.
One cellular company, Idea, whose Internet service works really good, was blocking port 22.
And other, BSNL, which works terrible at my home, and is not working recently, since last few days( Maybe be data pack was over ), atleast support port 22.
Just got the call from client who has to send sms to all its clients, immediately. So BSNL was not working. And Idea was not supporting port 22.
Still, I gave IDEA Cellular, a try, and luckily it worked today. They started supporting port 22, at the right time.
My ASS is Saved -
So at work I still haven't gotten enough time to try/learn Docker/Openshift...
Should I just login on weekends to play with it, create some small projects to see how it all works?
One part of me says it my boss really want me to learn it, then he should clear the time for me.
The other part is like "I'm learning this for my own good and it might be fun since I'll finally be doing something new... And then I'll be the smartass on this too"5 -
Let me just say that I've been playing whack a mole with a new feature for while now. And it's becoming very tiring.
TLDR; CTO is changing the way we're going to implement this, every other day.
June 1st,
CEO: let's implement feature AAA,
CTO: we're going to have a call with Andy to tell us all about his product that will make this super easy, call will be June 4th.
Days before June 4th,
Me: Researchs product X, makes demo works flawlessly.
June 4th,
Call all good, few tips from Andy. We come to the pricing section of Product X
CTO: this will not work, pricing doesn't fit on our budget, fair enough.
June 7th -11th
Me: research altenative approach. Makes second demo.
CTO: Works good, seems to have too many moving parts, let's have call with Bob to check Product Y. It should make our lifes easier.
ME: Geee, ok let's check it out.
June 14th,
Call with Bob, all good, product has a fair price, stuff is experimental.
CTO: let's use Product Y, and just use what we get from their api now, and worry about changes later.
Me: Hmmm, that's a bit risky, but ok, you the boss, right?, starts again new demo. API doesn't work as documented.
Lots of trial and error to figure out how the api is working now, finally demo works well,
June 17th,
API changed, now it works as documented, (expected as it is experimental), previous demo doesn't work anymore.
June 18th,
Redoing research. inputs are completely different from Product Y now, need to redo all that is working and do and a lot more of research.
Go live is scheduled for end of next week, I hope that the API is stable now, and that I get to go live on schedule.
It is funny to see, that it would probably been the same if we just waited on the API to stabilize, and check the pricing section before choosing a product? Who knows.
Anyways, I actually feel happy that over the years I developed the patience to work with ever changing situations like this one.4 -
Visual Studio and its compatibility with Linux applications.
I don't know if I'm the only one, but this is my setup:
- Visual Studio 2017 on Windows 10
- Ubuntu 18.04 subsystem on Windows
I just can't do any Linux coding in Visual Studio... it is using my subsystem as a Remote Compiler and debugger, and a simple Hello World program does build and run successfully, but EVERY SINGLE LINE HAS ERRORS! It can't find stdio.h! Not a single include file works! They get auto-completed so it knows where the files are, but apparently opening them to see all the methods is too much for Visual Studio! I'd say the problem has something to do with IntelliSense since only inside the IDE my code has errors, compiling (which happens on the subsystem) works like a charm.2 -
I wrote a simple Python script to split a Wikipedia page into manageable chunks. But it took a while to load, so I decided to add a loading indicator. Just a few dots appearing and disappearing. How hard could it be?
"Okay, so I just need a few dots as a loading thing."
"Right, so I suppose I'll need a separate thread for this... Better look up Python's threading again"
"So the thread is working, but it keeps printing it out on separate lines"
"Right, that should fix it ... nope."
"I should probably fix the horrible mess here"
"Hmm... maybe if I replace the weird print() calls with all those extra parameters with sys.stdout.write()..."
"Right, that kind of works, but now there's just a permanent row of dots"
"Okay, that's fixed... Ish."
Well, it works now, but there's a weird mess of two \r's and a somewhat odd loop. Oh, and there's more code for the loading indicator than for the actual functionality. This is CLI by the way.7 -
I really wish Emacs had better integration with Windows. Vim is a wonderful text editor, but it just doesn't do everything I used Emacs for. If it were my choice, I'd only use Linux for everything, but unfortunately I have to use other people's computers since my personal system's hard disk is borked, and it's really unfortunate how poorly it works even with Cygwin. Oh well, can't have it all I guess.2
-
Fuck .NET Core, why can't we just use mono...
Shouldn't have to deal with all this clunky shit and endless amounts of frameworks needing to be installed...
Install mono and BOOM! it works, install .NET Core, install this runtime, that runtime and ensure you published using standalone else you are going to have a cunt of a time running it but now have to deal with 100+ MB for a simple fucking console application.
And scene...7 -
This SocketIO method emits a message to all users who have joined the same room (conversation ID).
This works if it's a 1-to-1 chat or a group chat with infinite users in the group.
The thing that bothers me is this enhanced for loop. It loops through ALL currently connected users.
- If theres 10 users, sure no big deal
- if theres 1000 users, it has to loop 1000 times
- for N users it loops N times
What if N = 10000? God what if it's 100,000 or 1,000,000.
Imagine having to loop that many times every time you want to send just 1 message.
OR wait i just realized. This shit grabs ALL users -- but within the room ID. Right? Am i trippin balls here
Im now confused (excuse my confusion i coded till 3am last night and im still fried). Is my logic flawed? Have i written this piece of code with good performance or not?38 -
So I finally decided to take the plunge to dualboot my Windows 10, since I'm using Linux applications more and more than Windows applications.
I just had to choose Fedora out of all distros. It sort of worked. When I tried to install, it won't get pass the login screen (kept getting blanks). I rebooted several times and went with "Troubleshooting" and it got me passed the login screen and proceeded to install at the lowest graphical settings, i.e. 800x600
So far so good, I was able to operate stuff that I wanted but I just can't stand working in a really low resolution. My guess is probably incompatibility with nVidia driver. Tried everything, rpmfusion, the negativo17 repo, the current official fedora repo, the If-Not-True-Then-False guide, and bumblebee. None works.
Makes no sense at all. Luckily my Win10 still works. Now I'm stuck on whether to continue trying to get Fedora distro up or try a different distro and start back from square one...3 -
I hate how my work mates think coding in Java you automatically become cleaver than most people who code in another laugauge ..
The hate Python and JavaScript , c'mon guys just write your fucking project so long it works you dont have to make statements on how Java is great. . We all no. . Statements like Python is English anyone can write are not welcome7 -
I'm just glad that someone helped me do front end in an unrealistic deadline given to us in 2 weeks to finish a corporate-scope project .(2 of us working on)
Now that we realize that he made was another issue that leads to technical debt.
I will do all the refactoring and assure that it works perfectly fine. -
That moment after you have modified a lot of files so that the linter doesn't throw any errors... Only to realize you were missing the FUCKING BABEL CONFIGURATION FILE AND AFTER YOU ADD IT EVERYTHING WORKS JUST FUCKING FINE WITHOUT MODIFYING ALL THOSE EXTRA FILES!
FUUUUCK -
Even though I’ve been working through a C# book about WinForms, which I’m half way done with, I still don’t feel like I’m working productively and I hate the negative feeling it’s giving me.
It’s going to sound stupid but it’s making me feel like I’m not spending enough time programming even though I’ve been programming quite a bit this week. I mean the small apps aren’t practical they’re just for learning how it all works but still. Im not reading the book for learning the programming logic it’s for the WinForms knowledge.
I think it’s just that I want to make progress on my main project and just have a 4+ hour coding session.19 -
Well, the solution works on the co-workers machine. Checked out the same branch on mine and it doesn't work. Tried restarting the computer, and now the application doesn't start at all. On top of that hassle I have to deal with creating tickets for something that in the end took three minutes to fix, just to verify a change in our test environment. That email-communication took all week.
How do you guys keep your calm? Because I'm almost bursting from this, it's so frustrating.3 -
yesterday, I just swapped my sim card for some time with another. Placed it back....and voila! I can't enable data connection. I lost all my apn settings. To add to this, neither is it auto fetching the apns, nor i can manually change it! It shows some fucking error "apn settings not available for this user". I have another phone with same android version (lollipop) and everything works smoothly on it. These guys just broke everything after giving an upgrade from kitkat. Auto brightness stops working after a few hours, random reboots.... This is it... bye bye stock rom!
-
Who just accidentally volunteered to go through an apps code and write down how it all works?
This guy!
Asked what I thought was a simple yes no question and have now caused an entire department to question everything they know.
On the plus side at the end of this I'll be the go-to guy for this app. And I can document it as I go.
So win win? -
This is fucking nuts.
So my grandma asked me if I could convert all of her VHSs into digital form (not said in these words ofc) so I said yes.
Oh boy, what a mistake have I done.
I bought this EasyCap converter for like 11$. Alright, so I plug it in, and the RCA IS MONO. WHY IS IT MONO IF IT SAYS STEREO ON THE BOX?????????
Okay, I said to myself that I would buy something better than this campfire material. So I bought one. Low and behold, the software that came with it is fucking trash. I had to find another program to capture the capture card output. So I tried NCH software. So I tried it and it works. WONKILY. VEEEERY WONKILY.
CAN'T YOU JUST MAKE BETTER DOCUMENTATION, MYGICA? PLEASE!!!!!!! I WASTED 3 WHOLE DAYS TRYING TO FIX THIS, I HAVE THINGS TO DO FFS3 -
The more things change, the more they stay the same. Many years ago, when most of you were toddlers, different web browsers were...different, and the most different of them all was Internet Explorer. Web applications were not automatically cross-browser compatible and it took a lot of adaptation/tweaking to make a webapp, or even a simple web page, work and look the same across different web browsers. Some web pages/apps only worked on a specific browser and poorly, if at all, on some other browsers. Now, in 2024, we're there again. Atlassian's Confluence works without a hitch on Edge, but often fails miserably on Firefox. Too bad. I don't like Edge, but am forced to use it just for Confluence. So, once again, I have separate web browsers for different tasks.7
-
So until now the default env var User directory paths for Windows were all located under %userProfile%. To my surprise:
cd %userProfile%\Desktop
no longer works. Indeed, when you are even just signed in to OneDrive (which is the default, even if you disabled backups!), these retards decided it was a good idea to move all the standard library folders one level up to %userProfile%\OneDrive\ instead.
And the worst is that the locations continue to be swapped when you enable/ disable OneDrive.. WTF Microsoft7 -
I know , it is shared host, subdomain and all the little things you seem to find just not up to your hipster fucking standards but frankly if my require_once(__DIR__."/../blah/blah.php) fucking works then I think your pompous ass should stop trying to find shit starting at my neighbours website and telling me you can't find a class that is right there , next to you! Loook motherfucker ! Use your fucking eyes!
** PS will obviously still see if it is a config issue but right now just fuck it .
REQUIRE_ONCE FOR LIFE! -
Spend all day debugging simple post request. Like really what is going on. Super simple. Eyes start to bleed. Check spelling on everything. Finally find out the access-control-origin isn't set right, other dev said it was whatever so glad I'm moving on. Nope. Same error running the app from Visual Studio. Check code again. Everything works in a browser. Windows, VS, or the emulator is blocking just POST requests. I can do get requests all day.
What hell. I'm so critical of my code I spend hours pouring over something I knew was right instead of looking for network errors. I just need to trust myself I guess.
Oh and Windows Cordova apps don't support ES6 lol.1 -
Was just fucking around with MyBB in order to figure out how it works on the control panel - whatever, right? Install a crap ton of plugins, and quite a lot of them wouldn't install due to an SQL statement being wrong. I check them, and either:
- the plugin ID is specified (it's auto-increment, it really shouldn't be specified at all)
- the database expected an integer and instead got a word
like for fucks sake, it's either 1 or 0 for being default, yet a lot of developers PUT YES OR NO?? HOW IS THAT EVEN REMOTELY AN INTEGER WHAT THE FUCK
So that was my past hour, running through plugin files, finding SQL statements and altering them. Safe to say that for what I got out of the plugins, it really wasn't worth it. -
https://microsoft.com/store/apps/...
the pet project I thought would take 2 weeks but took waaayy longer -.-
critique it?
Known issues:
tries to get dimensions from the width, works half the time, will make a setup process in the beginning eventually and allow people to change the values.
Background download, lockscreen and wallpaper all use different methods, trying to see which one works better, doesn't use a separate background process by itself hence easier on the system resources.
the "dismiss" is there just so the notifs carry images in phone. Somehow, notifs with just images and no buttons didn't show the images on phone, hence a temporary workaround, will be replaced with actual buttons later :p
Search and sketch don't work the way I want em to, are there but not accessible, will be there eventually.
tips? things I should change? anything?
And not the final logo, took it from a sample package to submit it, will tinker with the logo thing later :p
//first UWP4 -
spent 3 days at internship looking for a bug that's stopping the program from running correctly all the way though
5 minuets before i have to leave I change a single value up 1 increment just because I've had it with the program and for some reason works perfectly just how I want it to SOME GOD DAMN REASON I DON"T KNOW YET
Today is just about me going through some reading for the next step and trying to figure out why the hell that worked1 -
*me writing my sweet code like nothing bad could happend*
Xcode: bum! Compiling error
Me: what the...
*compile again
Xcode: yeah right. Bam! Error
*clean, etc. compile again
Xcode: yeah, try your luck looser
Me: ok, let's google it. First stack overflow answer: just change the simulator and should work correctly.
And of course it worked. And that's how it works all day.
Fuck you Xcode! Fuck you Apple! -
Started learning Python yesterday and with the help of the mighty internet I wrote a script that tells me how many lines of Java code I have written in a project. Just 9 lines of python and it works like a charm. Was so excited that I tried to tell my non Dev friends about it, but they where like "yeah, what ever"... I am always kinda sad that so many people aren't interested in programming, not even a tiny bit :/
But anyways... Python my love, where have you been all my life?2 -
My Model M's dead. Accidentally flooded the inside when cleaning it. After letting it dry upside-down a few days, it just holds a random key when plugged in and nothing else works. Can't open it all the way up as it's a plastic-rivet one.5
-
Wait. Why does this work? It doesn't copy any of the frontend code into the deploy location.
I'm not sure how this works, but it does. Crap, there goes my morning tracking down this wretched spaghetti deploy code.
At least I understand how it works in production. Shit, why is it different between production and our integ servers ,that isn't good. Maybe I can just refactor it.
That was all on Monday. It's now Wednesday and I'm still fucking refactoring something that wasn't actually broken. It just didn't make sense.
Maybe I should just revert my last three days of work on this branch and move on. No! It's too late, I've invested way too much time into this project...
... and I'm almost done, just a few more commits right? -
Is there anything worse than bugs that you can reproduce easy but lack exception/error messages so you can't fix it?
I'm working on a hobby project for Android and I can't solve a bug and it's killing me (the whole project depend on it). I went through all phases:
1. I notice the bug early but couldnt reproduce it so I let it be.
2. I notice it happen a lot when I started to use the framework for real. Decided now that I need to fix it.
3. Found the exact way to reproduce it.
4. Trying different ways to fix it, nothing works.
5. Write question on stack overflow, no answers.
6. ???
It feels like if you can reproduce the bug 100% of the time it should be easy to fix right? Well hell no - no exceptions, no error message and adb hangs until I stop the procedur. The last kick in the balls? When I stop the procedur I get all logcat messages back and everything look like normal. Just give me a damn error message! Tell me what you're doing or what I'm doing wrong!3 -
why do all erp solutions i know have a poor design?
one of you guys surely works for a company which sells erp solutions. as i am a user AND a programmer.
i just have to ask: do you have the feeling that your UI is bad?
and if - why is it like this?
i dont want to attack someone. just want to know the reason why all of the solutions i saw have bad UI or are just "user-unfriendly" (like you would say in german :D)1 -
I finally figured out how fucking JWT authentication works. It felt like I was standing all my life and I just sat down
-
Do you want to know why all the popular open source projects have less-than-optimal, sometimes really dirty code?
It's because their developers ditched all the unnecessary stuff to just get the damn thing done. When I choose an open source dependency, I don't need unfinished stuff. I need a stuff that works and has all the features I need from the very start. If it works, I don't care about code quality in my deps.
This is the reason why dirty, rushed stuff with a great idea behind it gains popularity. PHP, Git, jQuery, the list is quite large.
While you've been busy polishing your files hierarchy, these guys already shipped their product, gained adoption, and their userbase doesn't need your product anymore.
This is applicable only for true open source, not "it's developed by a full-time team of principal developers and the CTO is fucking Kent Beck, it costs $1m per month but yea we have it on github".3 -
"This module wraps around this genuinely awesome database and provides all the in-memory storing of the database so that nothing is persisted"
nice, just like I need it
Hudden truth:
"but in order to make it non-persistent you have to clear the database on every startup"
This shit cost me so much fucking time time, works needs it's sucked for every transaction, just for basic features not being implemented and performing even worse than standard choices because you can't leverage it's power for shit?
Fucking waste of time. I could have finished the Api with the standart module a long time ago, but I'm such and idiot and want to step outside my comfortzone too much.
I'm switxhing the fuxk back and maybe I get this done within 3 hours1 -
I remember tiny me just sitting in front of the computer barely reaching to the mouse clicking all the icons on the desktop of my dad's Win 98, seeing what comes up until i found something cool to play with like a game or MS Paint. I guess I picked up the «play around with stuff until it works» strategy pretty early.
-
My worst sin.....
I don't do unit tests...
In my head I think its a waste of time..
I test the program myself, it works, why should I write another program to test my program..?
Unit tests are good. They are all just excuses cos I'm lazy1 -
So i just learned aws elastic beanstalk (EBS, ECS, ALB, EC2, Amplify, S3, RDS, SQS)
Essentially i learned how to operate with aws to deploy a full stack web application with custom backend i built, with security and jwt token, certificate manager, ssl/tls to set up https and redirect from http, and react/angular/nextjs on frontend
All with custom CI/CD pipelines docker and other devops shit
But i still feel like im missing on A Lot of stuff regarding aws. I havent worked with Fargate for example and dont know how it works or when to use it, but i heard other devs use it
Can someone list me a number of things i as a dev should know more regarding aws?3 -
"Come on, people! Engage with my post!"
It does not works like that, obviously.
And yet every single fucker who comes to give some mandatory training says something like this.
Bitch, if no one engages with your "chair safety PowerPoint", it is because it sucks. Not necessarily due to your delivery, the material itself sucks.
So stop asking for engagement and just give us the quizz and we can all get back to work already!1 -
Anyone have experience with technical analysis, algo trading?
Was reading an article about how markets are probably going to crash next year based on some technical indicators and it reminded me of the days back in uni when I tried to create (simple) trading algos using all sorts of technical indicators...
Never got anything better than random... And I recall was basically throw some indicators together and backtest using different parameters. I think it's called p-hacking.
But anyway just wondering how is it actually done such that it works... And well how can technical analysis ever work if it's completely subjective to the parameters u use? Like just take Moving Average. You can take a average over any range 1s, 1min, 1d, 1 month, etc.
So many combinations u could use, how can you make any rules that you are confident enough to put lots of money on...7 -
I'm all spooked out. I just added complicated JS code in a massive block, doing something complicated, using syntax that I wasn't sure about.
Load the page, smugly expecting like 200 errors. None.
Alright...
Run everything... it works.
WTF.
It's all balanced out though, because then python started freaking out with the wackiest motherfucker of an error I've ever seen. (A pointer to a function magically turning into None) -
<rant>
Sat for most of the day with the work experience kid trying to explain how to debug, I couldn't even find how to make it error we tried a bunch of solutions. Different ways to get to the certain page and even tried older browsers. Still nothing! Trying to explain something to someone when u kinda just do it or don't really understand how it all works yourself is quite a task. Boss found the fix in 15 minutes
</rant> -
Had to present to my boss on my progress of Alienvault. Nothing works. Looked at all of the settings, configs, logs, and it shows no activity. I worked hard to get these things to run properly up until yesterday and during presentation day, it just up and stop.
Warning to everyone: Don't get AlienVault OSSIM. Its a headache to configure. -
So yeah, need money so I started looking for extra projects to develop and found a project to make "the new facebook" and it just kinda sucks.
I just got access to the whole codebase and it's done using angular, nodejs and typescript (which is cool to me), while the dude contacting me was telling me it was done in react (which is kinda a big no for me).
Well, anyway, I start by cloning the repo and the npm-i the whole thing, it's not even at 10% of the whole process and I already got like 50 deprecated packages over maybe a hundred needed (total of 2054 node modules installed).
Well I kinda don't even know where to start from this, all I know is that I'm gonna do it just for the money so I'll be a little underpaid (about 500$/month) while according to me the price should be about 1500$/month, but I can't do it full-time, so it kinda works out.4 -
I've never been more impressed than when I discovered Linux. It's a pretty classical choice but I can't say another. It's my favorite because for every need you have, you get a solution to make it. Right now, I'm learning how xcb works to make a tool for DE like Rofi.
Most of all, Linux philosophy implies that the most popular (and almost always best) tools used on Linux are all open source. So now, I can learn xcb just by looking at the codes of other DE, I'm really in love with Linux -
Fuck maven. For fucks sake. If you want to install something in js project, you do yarn add ... and shit works. If you want to install on linux you do apt-get ... If you want to install ANYTHING on windows in fuckin 2020 you download it and it has an .exe.
But not maven. Oh nooooo. You need to do all the bullshit with configuration, set shitty paths and just pray for someone to shoot you.
Don't punish me for Windows. It's a God damn corporate policy not my sane choice...33 -
I try to log in via SSH to a remote server. In the beginning all is well. It asks for my password, so I enter the password. Next thing: connection closed by the remote server.
So I wonder what the problem might be... I guess that perhaps I forgot to specify the username. Indeed when I try the 2nd time with my user name added in front of the host name - it works just fine.
But why is there no error message? Why not tell the user what's wrong? "User name is required". Can't be that hard?
Sometimes I see stuff and it just blows my mind why on Earth some things function so poorly. SSH exists for dozens of years yet the error message is not there -> it's guessing time.11 -
!rant Just an observation. There is a lot of discussion about syntax. Should it be tabs or spaces or should the opening bracket be on the same line as the method/function. There is 101 languages and standards. Syntax varies and you just can't learn it all.
What is more important? Result or the aesthetics? If you come into a project you adapt. You use the syntax everyone else is using. If you are a part of starting a project you agree on rules of engagement and stick to them so the team works at maximum efficiency. If you lead a project you define the rules by adapting to your teams habits. Because in the end it's the working product we are after.
Golden mean.1 -
just finished a prototype for my android app, when i all of the sudden find out about flutter and dart, and i have the fucking urge to rework EVERYTHING just because i fucking hate android studio and java for it verbosity
android studio is good in basically helping you limp along with java, but when i saw how smooth dart code works, i just started getting frustrated at every little complication the android API makes at doing android things in a java way
fuck that, i'm learning dart now -
So I have a STUPID question about Machine Learning.
And I am being serious when I say this.
I want to get into machine learning but I really don’t want to accidentally create the AI that kills us all.
I’m not trying to boast my abilities or anything I’m not that great but I just
one don’t completely understand how machine learning works?
And two how do I keep it from learning more than I want it to??
I’m not trying to be stupid I’m just trying to understand so I don’t make anything that I regret.17 -
Just wrote a small program for university to calculate the intersection of three lines (they should meet in one point). Well sometimes I had a issue so I just calculated all three points and took the points which are the same.
If it's stupid and works it ain't stupid2 -
Shit is getting more and more weird.
Context updating hooks inside useEffect is just icing on the cake especially the comment about how putting that hook in useEffect dependecies would cause infinite loop. No 💩, Sherlock!!!
No dumb components in this project except maybe buttons.
Every fucking component has tons of business logic and you can't simply tear it apart as data structures are all over the place. Prop drilling with every drill-step recieveng data of a different type.
We are using Context. For just one value. One. That's it.
Fuck this shit! This shit beats every anti-pattern approach I saw in my whole life, and this is my 40-ish project!
Over engineering by stdOut playing in the backround while I curse at this POS code.
The product is cool though. And it works™ -
Was using an open source piece of software for data storage and visualisation to work with the loggers my company makes. When importing old data for historical views, some of the csv imports would fail without any specific error messages.
It took me a couple of hours but after looking at their csv parser and making my own little one to test with, I eventually found out that it was all down to the way datatime (I think it was?) in java deals with DST, which apparently was to just fuck shit up.
Anyhow, a few simple lines added into the parser later and it all works just fine.
Was super proud of that one as it was the first time I actually looked somewhat good in front of my senior dev. -
Does anybody have any good analogies for explaining the difference between frontend and backend?
I have been thinking about a possible keyboard analogy since a keyboard is very well understood these days. This only really works for membrane keyboards, but that's fine.
We can all guess where this is going. If you remove the keycaps from a membrane keyboard, you pretty much cannot use it unless you poke into the membrane with something else. So the keycaps are the frontend. They are generally labeled so you know what they do, they are organized into some form of layout which can vary even on a country-by-country basis, they may have pretty colors and they make it easier to interface with the backend. The backend is the rest and the users don't really have to know how it works, its just supposed to work.
For mechanicals, obviously, the removal of the keycaps means it becomes a shitty frontend that is not easy to use, but does have great potential.5 -
Is it just me that would prefer to work with Senior Engineers rather than mid level engineers?
Some mid level engineers are just pain in the ass. This one guy insist on getting perfection in all of the requirements. The problem is that if you work with software/lib for so long, you realize that most if not all software are buggy or have limitations.You can't expect everything to be perfect. Sometimes something just works/don't work and nobody knows why. Need lots of shortcuts/hacks just to make it work. I would say that 80% completion is good enough, especially since we're running out of time and manpower.
I noticed that Senior Engineers tend to be less strict. If it works then it's good enough, if we found some bugs later then we'll fix it. I like this practicality so we can tackle more important issues at hand.
I hope that I don't have to work in the same project with this guy again.2 -
Pretty niche tool, but Sencha Architect!
It is a wanna be GUI-Builder/IDE for ExtJS, but neither works properly.
This rant is not about ExtJS, just about Sencha Architect, which my coworkers and I were forced to use.
If you want to join the ride, here an excerpt of just some of the issues:
- installation: already the setup is more of a gamble than an actual setup, either it works on your machine or it doesn't, plain and simple
- GUI Builder: just drag and dropping components is actually nice, but the editing capabilities are frustrating, you can't edit the UI code by hand at all, just through pre defined properties. If there was the need to really mix things up it wasn't possible, I couldn't even rebuild shown examples of their ExtJS documentation. Furthermore the property editor was data type locked, which means if you want to enter a string which ExtJS already supports, but architect locks the value as a boolean, you can't edit it at all, while still using Architect
- code editing: well it is a colored texteditor, which is fine, and I could live with that, but Architect let's you just edit areas where it allows you to - want to change something else? Nope not allowed
- autocompletion: there is none at all, same goes for refactoring, multi highlighting, string replacement, and others
- code storing: well now some may think edit it somewhere else, well no, also not possible... Architect not just only saves simple js, there is also a Json formatted file for everything you have created, which is needed so the tool can actually load it for further editing. They possibly never heard of DRY. But the worst of this code storing was actually using git along with it - have a merge conflict? Merge both files! Every single time, it was so damn tedious
There are a few more, but these were the worst I can remember.
Luckily I don't have to use it anymore!
Maybe they have fixed or changed a lot of it, because the developers were aware of the issues and eager to resolve them, as far as I was told on a roadmap presentation. And some of the tools they had released in the end of my time using ExtJS were actually really good, like an IDE plugin for the framework, and I liked using it. -
Firebase api is good simple and alright but when you want to add it to your android project , you want TO KILL YOURSELF. OK first gradle works then say oh you should update your gradle you update it . then it says cannot resolve firebase:core WHaaaaT? OK YOU SEARCH FIREBASE API FOR AN ANSWER THERE IS NOTHING THERE. then stack overflow come to your help you should update some FUCKING package that firebase didnot mention you should update and all this time you say dns is wrong , firebase is filtered your country again, and after you update thise tow package you found out that you should update your android studio too for just one line code(firebase mentioned this but I said noooo it's just optional) .2
-
yo so wtf opengl doing over there
all I can find on "APIENTRYP" is that it's "macro magic that makes everything work" but it's breaking fucking everything. I remove it and it works again (well, kinda, i still gotta fix some typing horseshit)
why is opengl in shambles i just wanna compile gdi -
Low self-confidence dev:
I'm testing out code that I've written for an hour and works the first time I run it. My first thought: "Well, I guess I'm just getting better at writing code with less obvious bugs -- better debug through all the LOC I just wrote." -
I swear by all that is binary when I see Siri I’m going to curb stomp that skank. She single handedly makes me want to toss my iPhone X (which is heavy) into an Apple store window then pick it up to ask for assistance with a representative. I hate having to say “hey Siri!” just so she can take her sweet ass time to answer me. When I speak she fucking deaf and misinterprets what I say 80% of the time. English is my native language. I have to talk like a robot for her to get me. Alexa I’ve noticed works faster and more accurate. Siri take note!1
-
If I ever work with people who use Python professionally I will go postal in under a day they are some of the most unprofessional snarky little fucking bastards on the internet !
Apparently a question with a million hits who's cure all answer DOESN'T WORK, is me being stupid.
So question, how many of you when looking at a third party client that doesn't have great documentation, export class data into a file to look it over at your leisure by using a serializer that just dumps the shit into said file so you can look at it ?
I mean fire and forget. Just works. Just descends into the data structure and starts dumping field values. Done. One line of code.
Json.PUTMYSHITINASTRING(FUCKINGCLASS) ???????
DON'T SAY MY METHOD OF WORKING IS BAD ! ESPECIALLY WHEN THERE FUCKING EXPORT CODE AS A CHECK_CIRCULAR BOOLEAN PARAMETER INDICATING IT SHOULD WORK BETTER THAN IT FUCKING DOES AND THE FUCKING DEBUGGER CAN REFLECT THE OBJECT !!!!4 -
My PC just stopped working and I can't figure out why. There's absolutely no feedback to pushing the power switch. I feel like I tried everything the internet recommends, made sure the button works (it does, and so do the connected pins on the MB), held it down for a minute with the PSU unplugged, shorted the power pins manually, re-plugged all the cables, changed the CMOS battery, tried turning it on with just one RAM stick at a time.
I'm out of ideas.12 -
Small experimental demo using JS, CSS and a bit of PHP.
http://abitus.net/tests/...
The code, all mixed in a unique ~600 lines 'index.php' file, is ugly af. But I was mostly interested by the concept here, so it's really intended to be a dumb prototype.
However I think this works. The idea was to use a conceptual design solution in order to show links temporality when it is based on their popularity. More a link gets clicked, more bigger and slower it will be.
There's still a lot to improve. It could work with images or even more complex contents like articles. Just a matter of improving the UI.
Please feel free to play with it and give your opinion. What do you guys think of the concept ?1 -
!dev
When a process works better than expected but you were hoping that it only works as expected...
USPS (mail service) is known for being crappy. I couldn't submit a temp address change via web bc I couldn't type my apartment unit # into their web form but a mail hold request where u manually just enter any address worked.
So I was at my parents for a month, just got back yesterday.
I put in a mail hold n before I left my apt, but expired on like Wednesday.
So when I got back Saturday, I expected a huge mail dump but I couldn't find any mail...
However last week I went to the local office and put in a Temp change of address bc there was a chance I'd go just to get the mail but not stay for other reasons...
Got confirm letter that it would be effective like Saturday.
I'm thinking it won't cover the mail held during the mail hold.
Well apparently it did... So now all my mail is at my parents but I'm back in my apt... -
When I was an apprentice in a small company, ...
I had the order to set up Subversion on our machine with a fresh installation of Linux Ubuntu. The order included to create only a single repository for all projects we were working on. He totally missed the point how version control works. In his opinion it is just a place to store backups, and nothing more.2 -
Aaaaand all tabs and windows go to bitches again.. sigh.. did closed tabs and windows in feierfox EVER work for anyone? I have noticed restore session works. But after closing gracefully, feiafax just don't bother saving shit. Somehow I have less patience when it comes to browsers. Fuck you feuercocks! Suck my balls you memory hungry, wannabe free hippie hippo. Done, deleted, die!!9
-
If I'm at the library.
And there are Ethernet ports.
Desktop computers are connected to it and working fine.
But when I try to unplug it and connect my laptop with it it's just doesn't work, as if it says there is no Ethernet connection at all.
What are some of the reasons for such thing?
Do I have to look up specific IP configuration and configure it on my laptop?
Do these windows domain system matter?
How can I get started figuring why it says it's that there's no connection in the first place?
The librarians know Jack shit about why it's not working.
And I can't find the technician contact address to ask him/her/them directly.
WiFi works fine, but slow, Ethernet connections has a gigabit connection. (I believe that should explain why I want to use that instead)3 -
If i have 2 branches on git
- main
- infra
You cannot push directly to main. It is forbidden. You can only merge to main
Now. Once i push to infra branch. Assuming all the shit went good pipeline passed tests passed etc. Then i merge it to main.
Now
Locally while im on infra branch. I have to pull latest changes from main otherwise ill fuck up everything and cause conflicts.
After trial and error i realized i just have to do:
git fetch
This fetches all shits from main (defaukt branch) into infra branch. And now it works. No rebase. No pull. Wtf?
Is this the correct way to do it?
Also i need someone to explain this to me like im 5:
- git pull
- git pull --rebase
- git fetch
What is the difference between those 3 commands? I tried googling and chatgpting but i cant seem to understand any explanation. Explain it to me in simple terms with examples15 -
web dev is hell, really, how hard can it be to add a background-image to the body in a mobile.
seriously, I had it fixed, left bottomx no repeat and contain, just that! as simple as it can be (not really, it would be simple if it hadn't vas at all)
"it works great, but your page can only have one paragraph, more text than that and I will ignore your background in your phone" this is the css talking.
fuck it, fuck it, fuck it, fuck it! -
The project needs to make bigger changes to a module. A guy starts doing the changes. It turns out that the task is bigger than we though originally. Team lead has a brilliant idea: you need help. So he'll assign couple of more guys to do the same change.
What's the catch? The catch is that we are now all changing the same files. The code is a mess and tweaks and hacks are needed all over the place. So basically one guy changes the files and others just watch YouTube and wait for him to commit. The it's your turn to change the files and the first guy watches PornHub.
You could all just try to edit the same files at the same time, but we all know how GIT feels about that. You change random lines, he changes random lines, someone else changes random lines, all merges go to shit, nothing works and we spend 2x more time on just trying to get it compiling again.2 -
So I'm working on this project in Django, right, and I've used it a lot. I love it, personally, I enjoy using it, it's great. And when I run it locally, it all works like a dream. Nothing is wrong, all behavior is as expected, all of that. Then I deploy it and let me tell you it is a DIFFERENT story. The same source code, same versions of Python and Django and what have you, same urlconf, but the thing DOESN'T WORK. Like most of it is fine. But posting an update to a database object throws a 404 (!!!works on the development server!!!), resetting passwords just sends you back to the index page (you get the email and the 'we just sent you an email' page on the development server). I think something is out to get me. I'm being haunted.6
-
Do you know when you're testing your code and anything works as it should, even when everything looks all right? I dunno how about you, but... everytime this happens, I just change var/function name to something like "fuckingCalculate()" or "suckerAvg". It's similar as punching an old TV everytime it stops, or kicking a door that doesn't open.
.
.
Once I change the var/function to It's previous name, everything stops working as before.
.
What a shame... -
What should I do, I have a central function that is not documentated and no test-cases are written for it. I have no clue what the method should really do, I know that it works in 99.9% of all cases otherwise we had much more bugs. Now there is one Unit-Test that reports an issue. I tracked it down to this method, no one touched the method nor the unit-test.
My logical thinking says that there is one statement missing, but it could also fuck up another part of the code... (This project has a bad testing coverage :'( )
What would you do?
- copy paste the method for this special case (I would hate me so much for breaking DRY)
- inheritance?! (Would make it more complex and then it would be still untested / undocumented)
- YOLO changing oO?! (hope for luck, just joking)
P.s it's an edge case unit test, the client / customer probably wouldn't realised it if it happens -
So I went thru all this trouble today just so I could get Live Captions on my OP6...
First impression.... It works better than on the Pixel 2 I bought a few months ago just so I could have it...
Second impression... Fuck Google...1 -
It just never works when you try to set up self hostet php apps never theyre all shit they never print any useful errors they just randomly pass wrong args they use fucking ioncube fuck everything6
-
Sigh. I don't like the methods of first line helpdeskers. Computer problem? Restart it, or.. re-image it. The hell..
I know these are standard practices but I don't like them at all. Just because there's a small issue with a device, you're going to throw everything away? No troubleshooting at all? I don't call that troubleshooting nor helping.
My friend works as first line helpdesk and I told him: "Hey, WhatsApp isn't giving me double checkmarks anymore for my messages to you since last night. It's odd." and his response is: "Restart your phone". My god.. how much more technically ignorant could he be? Everything network-related on my phone is working, including WhatsApp, but no.. "restart your phone". Anyway.4 -
Serious question - how does one learn basics of higher level networking, beyond stuff I can mess with on my local machine?
Today, I was completely caught off guard when I had to set up BGP-based loadbalancing on a machine and I just... Didn't know how the whole topology looks or behaves...
Once I go beyond the server in the network, I tend to get lost. Especially around how routing works and stuff like that... All I know is my machine has one or more gateways to which it sends data going to specific network segments...6 -
I believe that there's some evil dark magic in the BEAM that detects if the user or developer is on a non *nix machine and then purposefully throws all kinds of strange errors or just fucking blows itself up for no reason. Take the shit to a *nix machine and it just works like magic and is easy to work with which is part of the reason why I love it and the ecosystem.
-
Hey, can anyone give me an idea on how syncing works?
(Been searching for past few hours, didn't went past some weird advance server admins stuff or cloud backup ads.)
All i wish to do is to make a service for my app that will run every night and upload/delete /modify (basically , sync) my app's local database to the server.
Just gimme a rough idea on the algorithm to use, i have done till running the service every night( but what exactly it should do, i have no idea)3 -
> Be me
> Get exhausted with Rusts borrow checker while making games and decide to switch to another language
> C# looked good, I just made a mod in it for stardew valley.
> Start a new engine based on MonoGame.
> All is going ok? Having minor issues with getting .csproj files set up but other than that fine.
> Get advice to switch to .NET core for higher compatibility.
> Start doing that
> Doesn't work at all, random weird errors all over the place.
> ProjectIsFucked.jpeg
> Delete folders, I didn't have much anyways.
> Make some basic boilerplate for both the engine and the game like 5 times, deleting the folders and starting over because errors.
> Finally get something to almost compile.
> Reinstall .NET
> Compile works.
> Compile again
> Compile fails
> Do dotnet restore
> Compile again
> Compile fails
> Do dotnet restore again
> Compile again
> Compile works
What in the ever loving fuck.
In all seriousness, if anybody knows what in the fuck is happening, I'd appreciate the help: https://stackoverflow.com/questions...4 -
Bruh, just learn them how a computer works with minecraft. Inverters, And, Nand, etc... can all b made there. From there, u can make flip-flops, u can make registers, adders, multiplexors, demuxs. Ofc makin anything more then a 1-bit, maybe 2-bit machine, would be a pain, and dont get me starting on memory that extends one register. But hey, if u got the patience, u can ofc. Put it together to an ALU, combin all of them with a PC to an CPU. Ofc, you got no ROM or RAM, but hey, atleast u've built the hard part.4
-
I'm just about throwing my new Dell laptop (Precision 5520) out of the window!
When I disconnect laptop from the thunderbolt dock (TB16), the laptop screen stays off until it's connected back to the dock. No matter if I put the laptop to sleep before disconnecting. Everything works just fine if I shutdown the machine and restart it without connecting to dock.
The best part is that the computer seems to be running normally, the screen is just black.
Anyone got a solution in mind? I'm running Windows 10 and I have installed all the possible updates.1 -
i'm so tired... i don't know how much longer i can keep up the 4-or-less-hours-a-night routine, but I can't afford meds or appointments to fix it. I've tried most everything, even not touching anything digital for like a week and all the home remedies ever, but nothing works. It's been forever since i've had a good rest.
i don't know why but my body has locked itself into a "sleep 6AM to 8-10AM and no more" routine and i can't break it. i can't even stay up anymore, as i just fucking collapse at 7 or 8AM if i'm not out by 6.
why?3 -
Does anyone know a good method, or library to match 2 gps locations based on proximity to each-other?
while being fed a few 100 GPS locations per device per hour.
I currently do it by having the client send their Geohash to a database, then request all neighboring hashes around it and all other clients in those hashes, then get their GPS to check for distance.
But this does not seem to work flawlessly, it works on tests and emulators (its for phones) but on real phones it seems to be hit an miss, but no errors, the event just does not seem to fire.4 -
I don't know much about how search engines works and all that stuffs. I started a Blogspot and tried the Google Console to index my web on Google. But it sucks. I get redirect errors. "Crawled- but not indexed.", "Discovered not crawled". I don't know shit. And every video is just a crap on YouTube. I tried several methods and sometimes I feel like giving up.6
-
Fuck these IT corporate proxies
Nothing just *works* and you have to fiddle with shit all the time and waste hours and days
The worst thing is the team I work on and their code isn't on the corporate server so if I'm on their damn proxy I can't access my work, if I'm not I can't access company stuff that I need -
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 -
My upright A/C doesn't have both an outside intake and exhaust, just an outside exhaust, so it intakes through the back.
My cat S&D'd right next to the intake while it was on full blast.
just had to evacuate the room and pull the smell out with my grandpa's weird closed-door air purifier thing
(it goes across the entire doorgap at top and bottom and is basically a massive vacuum that sucks everything through an industrial air filter and blows it back into the room cleaner on the other side, looks and works well for being homemade)
on second thought where do all these strange gadgets my family has come from -
PLEASE i understand how it works but how is hashicorp vault supposed to be used?
Not to mention how should i use it for production? Literally no dipshit tutorial explains it. Everyone explains the vault server -dev part and thats it. Fuck you
Every time i restart the vault server all of the secrets and config get deleted. And then i have to readd them all over again?
How is vault supposed to work in terraform?
How can I automate storing secrets in vault instead of manually doing it?
How to automate starting vault server by a single command along with provisioning secrets and parameters?
How to store iam credentials from ~/.aws/credentials into vault by profile AUTOMATICALLY as soon as vault server is started?
Because if my backend depends on some secret from vault, how am i supposed to automatically have these secrets created so i can just run my backend without worrying which secrets i have to recreate because the restart of vault server deletes all the fucking secrets in dev mode?
How do i use this bullshit?
- Every guide explains it partially
- No guide explains how to 100% automate it
- every dipshit youtube video explains it poorly
- NO ONE explains how to configure it for production.
I am so Fucking lost in learning this bullshit.
Can someone give me a link to a repo of a working example of the things i just mentioned? Either you create it or send an existing link cause i cant find any.
Basically i just want to use Terraform and Vault together but i cant understand how to combine them together so that its all automated 100% -- for example i just want to do
terraform apply --auto-approve
And then the entire terraform aws gets provisioned + vault server stars AND gets provisioned with secrets.
How to do that?9 -
So... the guy from my last rant completely screwed up a site he'd been working on for our company (blaming the web hosters for their "shitty config" while it was just an error in his .htaccess).
He then proceeded to do it all from scratch (instead of using already existing stuff like he did before).
He asked me to help him out.
I put as conditions that we where going to do it "my" way, with the tools I am pushing at work (Docker, Git, CakePHP and Sass).
He rejected it (as always) saying: "I don't care if the site looks good or works good, I just want something out of the door ASAP".
So I declined because I just can't work with that mentality.
He asked an intern (of which he actually has no saying but w/e) whom barely understands the basics of HTML and CSS to help him out.
Intern agreed and they started working on it.
Two weeks in and the guy takes a nice two week holiday, leaving the intern all by himself :)
something something "I want it out of the door asap"... -
It's does not take a huge amount of knowledge and skill to get a program working.Kids in high school do it all the time. young men and women in college start billion-dollar business based on scrabbling together a few lines of PHP or Ruby. Hoards of junior programmers in cube farms around the world slog through massive requirements documents held in huge issue tracking systems to get their systems to "work" by the sheer force of will. The code they produce may not be pretty; but it works. It works because getting something to work-once-just is not that hard.
-
Well the good thing about last week is that I helped my company get through their hurdles of getting their backend to work with their mobile apps. Though it's in the weekends, but hey it gets me paid.
I just hope that the PM would cut me some slack for not doing git commits properly. After all, we're not big in terms of company size, and if the PM is so anal about it, we can't move fast enough. As long as the PRs are reviewed and made sure that the web app works, nothing else matters.5 -
Can someone explain me how prisma ORM works? I just finished a course with nextjs that uses prisma. Prisma basiclly performed all crud operations on mongodb for example. I saw no usage or need for cloud providers (aws). No backend separation. Like literally all of it was done in fucking nextjs. Very efficiently coded but still how is this good? Please explain why not built a separate backend. Why do it like this11