HNHacker News
TopNewBestAskShowJobs

nulagrithom

1,867 karma · joined March 12, 2013

submissionscomments
nulagrithom··on Hawaii "button pusher" refusing to cooperate with FCC, internal investigators
It's unreal.

> “We asked (Hawaii Emergency Management Agency) for a screenshot and that’s what they gave us,” Ige [Hawaii Governor] spokeswoman Jodi Leong told Civil Beat on Tuesday. “At no time did anybody tell me it wasn’t a screenshot.”

So the governor asked for a screenshot and they sent him a "mockup" instead of the actual interface?

I can only assume the actual interface was somehow even worse than the fake.

nulagrithom··on Code Less, Think More… Incrementally
I don't know why I'm indulging your pedantry, and I think I'll stop after this, but what I'm reading from you is the following:

Because he only failed at continuously merging his code and writing tests, but didn't explicitly mention that there was no build server, then he didn't fail at continuous integration. He only failed at version control despite the fact that they were using CVS, were branching and merging appropriately, but were not doing so in the rapid fashion that became prevalent 10 years after version control. Additionally, because projects have managed to succeed without continuous integration at all, the rest of the original article that simply mentions his "questionable" CI failure is not even worth reading (but is certainly worth commenting on).

Disregarding how closed-minded it is to dismiss both articles based on that single sentence, by implementing proper CI he would've covered all these "version control" issues anyway. I think it's fair to call that a CI failure, as it does fall under the blanket of good CI practices.

Secondly, I think your bar for "success" is too low if you're willing to throw out "ticketing, automated deployment, and automated unit testing" but still call a project a success. I'd call that an inevitable clusterfuck regardless of how well it runs at the moment. Without these CI basics it's going to suck to maintain that system in just a few short years. I really, really hate dealing with systems that were built without these should-be-obvious basics.

nulagrithom··on Code Less, Think More… Incrementally
First sentence of the article: In software engineering, continuous integration (CI) is the practice of merging all developer working copies to a shared mainline several times a day.

Guy didn't do that. His project blew up. He failed the basic premise of CI, and his project blew up. I'm not sure how much more clear it can be: his project failed because he didn't do continuous integration. He _did_ use version, as did everyone else in the company. But he didn't do continuous integration. And his project blew up. Ergo, the statement that caused you to immediately stop reading: "The post describes how a 6 months project failed because it didn't implement the principles of Continuous Integration."

nulagrithom··on Code Less, Think More… Incrementally
https://en.wikipedia.org/wiki/Continuous_integration
nulagrithom··on Code Less, Think More… Incrementally
You stopped at the first sentence? Sheesh... You missed all the context.

I read the link and it does indeed explain how his project failed because he wasn't continuously integrating his code in to the main branch. It's not just about CI, but actually _continuously_ integrating code.

nulagrithom··on Ending Bitcoin Support
> What future does an asset have if people don't actually buy stuff with it?

I look at it (maybe naively) like a solid gold bar. You're not going to walk in to a convenience store and pay with a bar of solid gold; you might flee the country with one though.

Beyond that, I totally agree with your read on the post. Linking the pull request[0] was especially backhanded. It feels like there's some underlying frustration there that was expounded upon using good references and kind words.

[0]: https://github.com/bitcoin-dot-org/bitcoin.org/pull/2010/fil...

nulagrithom··on Show HN: A cryptocurrency news scraper inspired by Hacker News
Why does a 0-points, downvoted Reddit thread with an (((echo))) have 640 points on this scraper?
nulagrithom··on “The Problem Child of Seasonal Flu”: Beware This Winter’s Virus
Sometimes even the privileged won't have this option. I get 6 sick days a year, accumulating 4 hours a month. I have a young child in school, so I'm not sure I've ever managed to hit 3 days...

Pretty sure I had the flu last week. Still showed up because I don't want to blow any of my precious 2 weeks vacation time. Got it from my coworkers anyway, who are probably thinking the same thing.

Would take a pretty big shift in US work culture to change any of this.

nulagrithom··on The screen that set off the ballistic missile alert on Saturday
Borderline thread necro here but...

> "Have you considered that our long lead times on inventory means we increase our holding costs?"

What's frustrating about this is now we also have to understand the business overall, and that's kind of the problem in the first place: nobody has the patience to explain it.

So in addition to coming up to speed on whatever tech stack they have, we're going to have to find someone who understands and is capable of explaining the (sometimes completely foreign to us) business side of things and come up to speed on that too. That's a lot of ramp up time, especially when nobody wants to hand out raises and you're better off finding a new gig roughly every other year anyway.

I'm currently working somewhere with people that are great at explaining the business, and are willing to discuss at length the intricacies of how anything works at any time. The tech stack is abysmal, but being able to easily understand the business makes it worth dealing with the dumpster fire of a LoB app. I'd take it over the previous job, where we had greenfield project, bleeding edge tech, and money, but nobody could tell me how the hell the business worked...

nulagrithom··on The screen that set off the ballistic missile alert on Saturday
> "Delete all production orders for period"

Hah! I built one of those once! The (very abbreviated) conversation went something like this:

"I need a way to bulk delete orders."

"Umm... Are you sure? I can't think of a good reason to delete a bunch of orders in production."

"Yes. We absolutely need this."

"Ok..."

A short time later

"Why does it ask me to confirm? Just make it do it."

"Sure..."

A week later, after restoring from backup

"Remove the bulk delete function. I don't know why we even have that!"

Really demanding managers refuse to explain their XY problems... This one never did learn.

nulagrithom··on Ask HN: What is the most painful problem you have day-to-day as a software dev?
A truly astounding amount of technical debt.

Sometimes the sheer weight of it makes me think I'll never finish this project, ever, and I should just give up right now and go find a new job.

What's more is we're about to (unknowingly) add more by rewriting some things in an obscure language that doesn't have any way to automate testing & deployments, use version control, etc...

nulagrithom··on Intermediate Vim tips
> I don't like excessively long lines of code (120+ in most languages)

Quick straw poll on this... How many people like a line length limit?

My personal preference is a fairly strict 80 (barring silly things like URLs), but I've always been met with resistance to ANY line length limit. Is it really that imposing?

nulagrithom··on iPhone Performance Degrades as Battery Ages
I'm not sure that proves the iPhone gets slower with each update.

Whenever I announce an update my users suddenly become hyper-sensitive and start reporting bugs that have been present for weeks/months. I wouldn't be surprised if there's a similar effect here.

nulagrithom··on Bundle Phobia: find the cost of adding an npm package to your bundle
How does avoiding the use of a package manager fix bloat? Or do you mean to say everyone should be writing vanilla JS with zero dependencies?
nulagrithom··on Bundle Phobia: find the cost of adding an npm package to your bundle
Suggestion: also show the number of dependencies and sub-dependencies.

That's usually where I run in to bundle-phobia mentality (whether its warranted or not is another discussion).

nulagrithom··on Nearly 5M Americans in Default on Student Loans
Don't be naive. If I don't pay my taxes this year the Internet and roads won't suddenly disappear. I'll still drive on the roads to work and use the Internet when I get there.

Not paying your taxes is absolutely a self-serving sociopathic gamble.

nulagrithom··on Exercism – Level up your programming skills
Actually, I think this highlights a problem with so much of the content out there about learning to code. Back to the toilet analogy:

> When you need to fix a toilet you don't usually start with learning hydrodynamics.

I think that's wrong. You weren't taught hydrodynamics. You were taught how a toilet works and then ran in to a plumbing problem. The issue is there isn't much out there on plumbing, so to speak. It reminds me of The Cliff of Confusion and The Desert of Despair.[0]

There's tons of hand-holding tutorials that will teach you the basic syntax of JavaScript or PHP, but once you're set loose in to the real world, where we're no longer just reversing strings and other trivial exercises, there's surprisingly few tutorials available (I suspect because it's way easier to write about simple facts than it is opinionated best practices, but that's a different topic...)

I don't really have any silver-bullet for you here. The "knowing libraries, how to run php on my system, a bunch of php specific stuff" part is mostly a matter of tenacity, Googling, and reading tons of dry technical documentation. It takes a while before the big picture starts to click.

[0] http://www.vikingcodeschool.com/posts/why-learning-to-code-i...

nulagrithom··on Spiders eat astronomical numbers of insects
Out of curiosity, what did this look like from the street?
nulagrithom··on Simplistic programming is underrated
This is interesting to me because the map reduce has way less cognitive load for me.

With map reduce I see the following:

- We've got an array

- We're going to loop through it and square everything

- We're going to take that and add it all together

- The result is r

When I read the for-loop counterpart:

- We have a variable called r that we're initializing to 0

- We're starting a loop with j as the index initialized to 0 iterating through an array

- We've got a variable x on each iteration that is the current position in the array

- We're adding the square of x to r

Maybe it's a personal quirk. for-loops make me feel stupid.

nulagrithom··on Google Is Blocking YouTube on Amazon's Echo Show and Fire TV
It's in the Play Store on my S8. Wonder what's going on here...
nulagrithom··on Alexa, are you listening?
"The $foo is vulnerable to a physical attack that allows an attacker to gain a root shell..."

This is true for nearly any device, including your cell phone, your MacBook, etc, etc, ad nauseam.

And every time these devices come up there's so many comments on how they would never have one in their home, ostensibly because "it's always listening".

This is sickeningly naive in my opinion. Any device with a microphone is capable of the same thing. You shouldn't be trusting your phone any more than an Alexa device.

nulagrithom··on AWS Cloud9 – Cloud Developer Environments
https://en.wiktionary.org/wiki/cloud_nine
nulagrithom··on AWS IoT 1-Click - One click creation of an AWS Lambda trigger for any device
AWS re:INVENT is on this week. Lots of announcements.
nulagrithom··on “Hey”, an interruption tracker written in Scheme
I've tried this to no avail. Only change was "Sorry for interrupting you but..." or "Oh I thought this was a quick thing. I don't mean to interrupt you. Do you want me to come by again later?"

Showing a breakdown of where my time had gone using Toggl (literally 50% to interruptions) did the trick.

nulagrithom··on Why we never thank open source maintainers
From my experience in the medium business world (maybe 500 people total?), paying is the only option. Open source is evil. Maintaining things is evil. Writing your own code is evil. Just shell out $x,000 for support.

If I could find a way to say "Yeah, we can get 'support' for this open source library for $xxx per month" my life would be much easier.

nulagrithom··on Desktop compositing latency is real
I wonder if it would be feasible to use this to reduce input lag in an editor?
nulagrithom··on Why does man print “gimme gimme gimme” at 00:30?
A unique error code will accomplish little. It will serve mostly to bewilder and frustrate you after discovering many users can't (or won't) remember so much as two numbers.

What I'm saying is take the unique error code and add an absurd/funny phrase to the number. It's easier for people to remember an odd mental image than it is ERROR CODE -42.

nulagrithom··on Why does man print “gimme gimme gimme” at 00:30?
Ah, but there's something to be said for the effectiveness of these weird error messages. Typically the conversation would go: "We got an error come fix it", with no further details. It can be really hard to track down from there.

I experienced something similar when troubleshooting some Chrome issues across a Citrix XenApp farm. It was so incredibly useful to be able to ask the users "Did you get a dinosaur or a He's Dead Jim?" One was a connection issue I could disregard, the other was the memory management problem I was trying to track down.

Sometimes I wonder if we should make all our cryptic, developer-only errors absurd and memorable. I've never had a user tell me anything like "java.lang.OutOfMemoryError: Java heap space error". "The lemur jumped the shark again" gets their attention.

nulagrithom··on When I use classes, when I don’t, what I do instead and why
Understanding 'this' in JavaScript is simply table stakes at this point. You and anyone else who touches your JS code should have a decent grasp on 'this'. Citing "complexity of this" while using React is just absurd in my opinion...

You Don't Know JS: this & Object Prototypes cleared it up nicely for me.[0] Love the series in general too.

Also -- and I'm not sure how it's typical done when taking a functional approach -- where do these functions "live"? What if we want to use a Person in another module/component/whatever? Do we basically just have a collection of "static" functions on a helper class that we're going to be using? I'm not sure that's a real gain. Would rather see the functions available on the Person itself (though maybe that's just my OOP ways talking).

And then there's the "pure function" part. Without explicit documentation and no other knowledge of this individual's functional predilections, I would be surprised when the setName function actually creates an entirely new Person and then sets it name.

I don't know. I really do enjoy functional approaches, but I don't think avoiding 'this' is a good reason, and I feel like the example given isn't the best scenario to illustrate.

[0] https://github.com/getify/You-Dont-Know-JS/tree/master/this%...

nulagrithom··on Code together in real time with Teletype for Atom
> As time goes on the resource usage becomes less of a problem.

Yet vim is still more popular today by a wide margin. :)

It's not just about memory usage; it's about lag. Atom felt laggy to me. I also value my time, and I can't stand waiting for my editor.

← PreviousPage 3 of 11Next →