HNHacker News
TopNewBestAskShowJobs

nulagrithom

1,867 karma · joined March 12, 2013

submissionscomments
nulagrithom··on Uber gets sued over alleged ‘Hell’ program to track Lyft drivers
Today I was asked for the 10th damn time to build something that could expose a small amount of HIPAA data. The last 9 times I explained how building this feature would, at the least, require a security audit, but nobody understood why I was making such a big deal.

Today, I almost said "Fuck it, if you want to make a blatantly negligent mistake then just reply to this email detailing once more how stupid this is and I'll just build it." If I get asked once more, I still might.

Does that make me an unethical money chasing individual? I dunno, maybe. And maybe I'm wrong and it's not a big deal -- I honestly don't know if that feature is a HIPAA violation or not. But most of all, I just want to keep my job and keep feeding my family.

I wouldn't be too quick to condemn the people that wrote this for Uber.

nulagrithom··on CodeStar – Quickly Develop, Build, and Deploy Applications on AWS
Not sure you'll see this and I'm kind of stretching my memory here but...

It was a node.js project and the db was separate, and keep in mind my knowledge of AWS is/was limited. But then, this seems to be the target audience for EB, yes? I'm sure a lot of this could be fixed but...

1) Logging

It somehow took me significant time to figure out how I could send meaningful logs anywhere but poorly organized flat text files in S3 without adding some kind of logging sink to the code itself. Sure, I could've just plugged in Winston and spat out everything to MongoDB but the team couldn't understand why we couldn't just get logs out of EB. And yeah, we could could grep through the S3 bucket but that meant syncing the whole bucket and trawling through an absolute ton of log files with no more precision than your knowledge of grep and regex. Not the best thing.

I eventually dumped all the logs in to CloudWatch, but the documentation to do so was severely lacking (from my perspective) that dealing with CloudFormation template files made me consider ditching EB entirely -- If I'm dealing with this garbage anyway why don't I just go whole hog and get more control anyway?

Even after dumping the logs to CloudWatch, I was still "the guy" for doing any good searching of these logs. Maybe this was just a team quirk, but what they really wanted was logs in MongoDB or something they know, rather than something AWS specific. Again, a logging sink would've fixed this, but there were concerns about uncaught exceptions and attempting to send to MongoDB in an unknown state.

2) Deployment Time & "Health Checks"

The team was used to pulling the latest changes manually and restarting the node.js process. Introducing CI ironically increased friction as our deploys were taking an upwards of 10 minutes (20 if immutable). This doesn't sound like much of a problem in a traditional environment, but going from a "cowboy coder" environment to "why the hell does it take 20 minutes to deploy!?" was a stretch. My initial answer was "health checks!" but then we discovered that the health checks weren't actually doing much for us... I had erroneously assumed that part of the health check meant monitoring the responses of the web service and aborting deployment upon massive failure. We had a deploy that crashed and returned 500 on every request, yet somehow didn't abort. Part of this may have been because the developer involved in the bug did everything possible to prevent a "crash", instead of letting the process die upon unrecoverable error (part of a frontend JavaScrtip mindset I assume), but trying to sort out how to make the health check look for 100% 500's brought me even further in to "why not set it up myself?"

3) Deployment Failure

We hit a hard limit of deployments and had to clean out a list of artifacts we didn't even know existed before being allowed to deploy again. WTF? This is when the team started to really question the value EB was providing.

4) I ended up "the guy" anyway, so what does it matter?

The documentation was too dense for my team, and the quirks were plentiful enough that I ended up "the guy" anyway. One day I came in late and a deployment had gone wrong. EB had been rolling out bad code for 20 minutes and they didn't know how to fix it. I had to clean up the mess. That was really the "fuckit" moment for me. Hand managed EC2 instances wouldn't have caused this problem. Regardless of knowledge problems within the team itself, the whole point of adopting EB was to avoid needing infrastructure specific knowledge to scale & deploy. Now EB was doing more harm than good.

---

These are just the things I remember off-hand. I'm sure there's solutions to these problems, but it just wasn't worth it for me to investigate when really my purpose was just to write and ship code, not futz with the infrastructure. We would've run in to less problems with a naive, manual setup in the end.

You can ping me at rtannerf dot com if you want to know more. I'm sure I can dredge up a few more annoyances and clarification from an old coworker. Hope that helps.

nulagrithom··on Do you have a pointless job? [video]
> I do maybe two hours of work a week

This is what bothers me the most... in those 2 hours, I somehow save the company 8 hours a week because somebody was doing by hand what I did in a few lines of code.

Is that "positive value"? Sure, I made the company more efficient, but what's this person doing now? Did I make their job "more pointless"? I mean, I can't see what I did as a bad thing per se but... I just don't know how it plays out in the end.

I feel like there's a huge piece of the "work" puzzle that's missing in our culture.

nulagrithom··on CodeStar – Quickly Develop, Build, and Deploy Applications on AWS
I'd look at it almost like Wix and other WYSIWYG editors: it's perfectly fine for smaller stuff. Small to medium doesn't really need to flesh this stuff out. I could use the hell out of CodeStar currently. I'm doing multiple small projects and this shop is doing the "ops people" thing, so there's a ton of friction between code, test; deploy.

But on my last project (much bigger) Elastic Beanstalk started to really show its rough edges, and I was pretty close to tearing it down and setting up by hand, which gets in to becoming the guy who knows AWS Good Enough™.

But I could've easily seen that project scaling way up and being tempted to go the Kubernetes route, which would've required a true DevOps person to maintain.

Just based on my anecdotal experience, I don't think either of the previous projects were paying for the DevOps person in the first place, and I don't think CodeStar is going to replace them now either. This is just low-hanging fruit.

nulagrithom··on I Stopped Attending Programming Meet-ups
If you're "kicking people out of the group" and telling people not to "RSVP" unless they're 100% committed, then I feel like you're more effectively making people disinterested in your group than you are solving your attendance estimation problem.

If your group is so large that you have a waitlist, I'd be willing to bet there's a consistent statistic of RVSP vs Attendance that you could rely on. Maybe check records of your past events and see if there's much fluctuation?

nulagrithom··on PhantomJS: Stepping down as maintainer
ffs it's just FTP. All it needed was a scheduled task that called winscp pointed to a file containing a handful of flat FTP commands. If the guy who replaces me can't sort that out, how's he going to sort through my code?

Besides, now it's some abomination wrapped inside a proprietary program that doesn't work right in the first place, only this time we're out the $x,xxx licensing costs and the entire process is opaque, with absolutely zero hope of sorting it out on our own. That's not a huge gain...

nulagrithom··on PhantomJS: Stepping down as maintainer
This problem was well demonstrated at my shop the other day. There's a lot of fear of open source here. We needed to run a simple FTP process. I said I'd write a short script.

"You've gotta be careful with those free tools though... Never know what will happen when they break. You can't get any support. Besides, we need logging and alerting too."

"Oh, $currentTool does logging and alerting?"

"Well, yes... But it's currently not working. We've got a ticket in to fix it."

That was months ago. Yesterday it broke and there was no alert. There's also still no logs.

Gotta be careful about that "open source" stuff though.

nulagrithom··on Electron is flash for the desktop (2016)
I'm a little confused by your list... In what way are text selection, caret behavior, clipboard, spell check, open/save dialogs, drag/drop, accessibility, and right click menus not available in the browser?
nulagrithom··on Better Git configuration
To each their own. Sure my coworkers complain about this or that annoyance in WebStorm or whatever that they can't customize or fix, but then they never lost the better half of a day to ~/.vimrc so...

I can see it both ways. I'll choose customization, but I wouldn't fault someone for expecting a good out-of-box setup.

nulagrithom··on Ask HN: What are the OSS alternatives to iOS/Android?
The 'About' page is a dictionary definition of the word 'Lineage': http://lineageos.org/about/

Wow

nulagrithom··on Falsehoods Programmers Believe About Families
From TFA:

A number of people on Twitter have taken the title literally. "This is about managers and lawyers!" they protest. But, of course!

All of the "Falsehoods" memes - including the original - are a shorthand for "Constraints placed upon a complex system by a mixture of ignorance, apathy, business requirements, or other legal constraints".

nulagrithom··on A lawsuit over Costco golf balls
The article makes it sound so light-hearted:

> “We laughed when we got the lawsuit. We knew we made it.”

So, what? They were just like "lol we're getting sued"? I have a hard time believing they were perfectly OK with the situation...

nulagrithom··on Privacy issues with the “Hugging Face” chatbot for teens
Is the phrase "privacy issues" referring to the supposed bug that prevented the chatbot from sending its privacy policy?

I'm not really sure what this article is about. There's a chatbot out there that asks for selfies. The rest is FUD.

nulagrithom··on A million-dollar engineering problem
> before you go full-hog on AWS, do some simple math first

I had a coworker who was turned off of AWS by clicking the "Dedicated IP" checkbox when deploying a CloudFlare distribution with SSL.

One month and $600[0] later he swears up and down that AWS is the devil.

You can spend an amazing amount of money on AWS by accident and/or without need. Hourly pricing is a huge footgun. Best to run everything through the "Simple" Monthly Calculator: https://calculator.s3.amazonaws.com/index.html

0: https://aws.amazon.com/cloudfront/pricing/

nulagrithom··on New Features in C# 7.0
ES6 actually! Pretty recent: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
nulagrithom··on New Features in C# 7.0
I thought the reverse with ES6. :) "Oh look, arrow functions! Finally!"

It's fun to see how languages influence each other.

nulagrithom··on Why I Don’t Talk to Google Recruiters
Three man team and he was the lead. Yes, it was a project management issue.

I'd rather see basic project management skills than basic knowledge of algorithms. Unfortunately, the former is much more rare.

nulagrithom··on Why I Don’t Talk to Google Recruiters
You really think that the majority of failures on Steam and app stores are due to lack of basic algorithm performance knowledge?

A project can die a thousand deaths before performance becomes its death knell.

nulagrithom··on Why I Don’t Talk to Google Recruiters
I tend to run in to more critical issues than performance, like shipping the product/feature at all, meeting deadlines, writing maintainable code, and writing documentation.

In your highlighting example, instead of working with someone who will optimize, I'd much rather work with the guy who will realize we can just debounce the dialog, write a one line comment about the performance issue, and then move on to the next thing.

Maybe I'm biased though. I've worked with the performance guy; he was brilliant and the code was clever and highly performant, but he was also slow and didn't write clear, maintainable code. We didn't ship in time and I had to find a new job when the project got scrapped. Damned if it wasn't fast though.

nulagrithom··on Why is this job not handled by a machine yet?
Where I'm at, we're big on getting our people to manage the exceptions rather than doing the work. If you're looking at the entire job to see if it's routine then of course you won't find much room for automation. But if you can automate even 10% of their day then that's a big win.

And yes, the software is total shit. There are no unit tests and it's written in RPG (half of it dates back to '95). When it breaks we go back to managing the exceptions, much like "talking to the manager" when the service worker screws up.

The company wouldn't be afloat without automation like this. We would be completely crushed by our competitors. I don't think the automation needs to be done well at all. It just needs human backup.

nulagrithom··on What programming languages are used most on weekends?
> Picking up the basics of a language is easy, but it's knowing the nuisance that separates the professional from the amateur.

I disagree.

I went from C# to Node.js and back to C#. I learned the hell out of JavaScript, and yet I feel like nobody will ever care that I can explain some of its nuances and gotchas. Language nuances are constantly evolving anyway.

Learning Node.js unlocked whole paradigms I didn't understand in C#. I never really "got" functional programming. Switching between the two helped me understand the pros and cons of different approaches. I discovered a lot of the things I miss from JavaScript are actually there in C#, just a little off the beaten path. On the other hand, I can appreciate "the C# way" and breathe a sigh of relief that certain gotchas do not exist in that environment.

nulagrithom··on Why do you use Firefox?
Chrome feels invasive to me.

It's always wanting me to sign in to my Google accounts and sync everything. Why would I want to sign in to a browser?

It wants to run extensions as background processes (wtf?). Why would I want my browser to run "apps"?

It's like it wants to be an OS wrapped in an OS. Why wouldn't I just use my OS?

At this point, it just feels like bloat to me. I want a browser. That's all. I guess I use Firefox for what it doesn't try to do.

nulagrithom··on I Had My Electronics Seized by U.S. Customs and Border Protection
"Involved" is a stretch. He runs an email service that was used to send the emails. One of his users sent the hoax emails.
nulagrithom··on The Sound of Silence
What a perfect example of the problem described in the post.
nulagrithom··on Wavelength, published by Asana
Well, first, you should consider whether this is actually a problem. I've had coworkers worry about this sort of thing with Travis CI, Coveralls, CodeClimate, etc, the fear being that "they'll have our code and can steal it!!" Took some time to convince them that nobody working at Travis CI gives a shit about our spaghetti code (let alone making it run with no docs!)

If you've taken a hard look at your secret squirrel company stuff and you've decided that 1) these ideas truly are trade secrets worth stealing and 2) they need to be documented in detail inside the product, then yeah, you might want to look at some kind of self-hosted option.

I suspect however that 90% of these concerns are simple hubris, much akin to "sign this NDA before we talk about my startup idea."

nulagrithom··on You don't see Google on first page of search results by googling “search engine”
They do. https://www.google.com/search?q=recursion Plenty of other examples.
nulagrithom··on K100.1-1966 Safety Code and Requirements for Dry Martinis (1966) [pdf]
Anyone know what the Radiation Mixing Method joke is about?
nulagrithom··on Super Mario Run
I watched the intro video and still have no idea what this app is or does.
nulagrithom··on The bank lent me $2m so I spent it on strippers and cars
> Remind you of any Presidents-elect?

Is that really necessary? I'm getting a little sick of Trump replacing Hitler in Godwin's law. We had a detox week for a reason. (https://news.ycombinator.com/item?id=13108404)

nulagrithom··on Ask HN: Best current model routers for OpenWRT, DD-WRT, Tomato, etc.?
Not an open source one, but we use Cradlepoint routers for our remote offices that need to fail over to 4G / LTE. I quite like them.
← PreviousPage 7 of 11Next →