Skillshtml, CSS, js (vanilla, angular, jquery, node), SQL, asp.net, objc, swift
Joined devRant on 9/6/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Your dumb post passes!
var result = qualityService.Evaluate(yourDumbPost);
Why are these SAMPLES NOT WORKING!?
It's supposed to just be reading and writing OAuth2 tokens from session.
I'm THIS CLOSE |__| to getting things working and I had to leave work. The fucking worst.
On the bright side, I think I finally understand how OAuth2 works. I need to write an article that actually explains it properly because I've had to read dozens to get a good grasp on it.2
When your users are this dumb, it's hard to decide between making things obvious (but inviting potential errors) vs. adding a step to reduce the chance of errors (but potentially confusing people).
It would be easier if people actually read release notes...4
I'm tasked with a light redesign of our public site and it's a fucking shit show. It's using this old-ass grid system with pixel-based widths and it's just totally fucked and whoever put it together had no clue.
...I keep going back and forth between trying to work around it and unfucking it because, while I'd like it to be unfucked, I don't want to spend all week on this and I hope we toss it all out and do a proper full redesign in the next year or two anyway.
Not letting Google (overtly) use your data has its drawbacks.
For example, lately I've been getting senior dating ads in my Gmail app.
I mean really, Google, I know you know I'm 30 and married; who's kidding who?1
Tdd isn't very effective if the spec keeps change as you work.
I was trying to be good and write tests as I went, but it just ended up taking twice as long since I had to keep rewriting the code AND the tests.3
Tonight was my first experience with bazel.
It seems cool, but I still haven't gotten anything to work yet and it's been about 4 hours.
It hasn't helped that it doesn't work too well on Windows.1
A colleague of mine was very smart, but didn't know how to use classes in .net or object literals in js, so he organized his data with arrays.
It worked, of course, but, god, did I hate working with his code. It would take hours to make simple changes.1
C# Collection class had me pulling my hair out for hours the past two days.
With a list, you can do new List<T>(IEnumerable<T>) and it creates a new list with the contents of the parameter in it.
With new Collection<T>(ICollection<T>), however, the new object is a reference to the parameter passed in.
Is it just me, or does that seem fucking bonkers?2
Dev DB just auto shutdown in the middle of a restore.
From an online backup.
Anyone hear about EMIB from Intel? It seems like it might be a game changer for getting workstation power into Ultrabook form factors. They worked with a team at AMD to engineer it, and even made it sound like they're using it to combine core i processors with AMD graphics.
I ask because there has apparently been news about it since August but I've only just heard about it today.
In the process of fixing a bug, have you ever made your program better without actually fixing the bug?
I feel like it happens a lot to me.1
I worked at my previous job about 8 years (hired out of school) and wasn't actively looking for a new one; I had a lot of freedom and liked my boss and colleagues, but the pay was mediocre and I was under a lot of pressure because I was the sole architect, engineer, and programmer for a good number of important applications.
Anyway, my brother-in-law told me that his employer was looking for a developer and that previous candidates fell through, and that the pay was a lot more and they're good about raises (which was like pulling teeth at my then-current job) so I applied and went for an interview.
They basically gave me an offer on the spot and wanted me to start in 2 weeks. I told them that it would be hard since I'd basically be cutting my boss's Achilles by leaving so soon and suddenly (just hiring someone would take at least a month, not counting getting applicants), but they were adamant, as the position had been vacant for a few months at that point. I got them to agree to 3 weeks and pulled the trigger, but offered to help out in my old position for a few months cause we had a big project in progress I was leading.
So the new job is great: it's a much younger office and I'm having more fun and there's a lot less pressure. Meanwhile, at the old job, the project I was leading got scrapped and the asked me to do other odds and ends until, after screwing something up I basically told them I'm done. They got a new guy quickly due to a lucky turn of events, but he couldn't pick up where I left off on a lot of projects: they're going to rewrite one because of it. My one colleague still likes to point out that I left without them having knowledge of my code (besides that I always said I'd answer questions, plus it's been 6 months now and my code is all on a TFS instance they all have access to).
I still feel a bit guilty even though I have no reason to.
There's a function a previous employee wrote called isNullOrEmpty.
We're a .NET shop, if you couldn't guess.1
5" phones are too big.
15" laptops are too big.
Mid tower cases are too big.
Yet the market seems to disagree with me.26
Here it is: get MythTV up and running.
In one corner, building from source, the granddaddy Debian!
In the other, prebuilt and ready to download, the meek but feisty Xubuntu!
Debian gets an early start, knowing that compiling on a single core VM won't break any records, and sends the compiler to work with a deft make command!
Xubuntu, relying on its user friendly nature, gets up and running quickly and starts the download. This is where the high-bandwidth internet really works in her favor!
Debian is still compiling as Xubuntu zooms past, and is ready to run!
MythTV backend setup leads her down a few dark alleys, such as asking where to put directories and then not making them, but she comes out fine!
Oh no! After choosing a country and language the frontend commit suicide with no error message! A huge blow to Xubuntu as this will take hours to diagnose!
Meanwhile, Debian sits in his corner, quietly chugging away on millions of lines of C++...
Xubuntu looks lost... And Debian is finished compiling! He's ready to install!
Who will win? Stay tuned to find out!4
Fucking bitcoin miners are making graphics cards I have no intention of buying right now more expensive and it makes me mad.
How am I supposed to spec out a machine when the graphics card is $150 more than it usually is?9
Debugging in a dream and woke up... Tried to think about it while falling back asleep so I could go back in and finish.1
Since this isn't dev, I'll have to make it a rant:
I can have hobbies other than devving, goddamn it! Leave me alone!11
Worst issue you got blamed for, but wasn't your fault.
Best story about a dev you know who's angrier than you.
Best time backups saved your ass.
Story about a traumatic dev experience.1
Site (I didn't build) got hacked, lots of data deleted, trying to find out what happened before we restore backup.
Check admin access, lots of blank login submissions from a few similar IPs. Looks like they didn't brute force it.
Check request logs, tons of requests at different admin pages. Still doesn't look like they were targeting the login page.
We're looking around asking ourselves "how did they get in?"
I notice the page with the delete commands has an include file called "adminCheck".
Inside, I find code that basically says "if you're not an admin, now you are!" Full access to everything.
I wonder if the attack was even malicious.3
Took a college class - think it was called "Programming for Designers" - and the "teacher," aka CS grad student, just sat and played Pocket Tanks the whole time.
I like my job, but it might become hard to stay when another job that's closer and offering 40% more falls into my lap...1