HNHacker News
TopNewBestAskShowJobs

injb

891 karma · joined May 29, 2018

submissionscomments
injb··on How the AR-15 Became an American Brand
From hand-waving attempts to connect modern AR-15 owners to a lynching that took place 3 generations ago, to technical nonsense like this:

>>> They ... required no particular expertise to shoot or physical strength to carry. They were also deadlier than the rifles that had come before them, which used relatively large bullets that made a straight passage through the body on impact.

...this article is a cheap hit piece.

injb··on US Justice Department Urged to Investigate Gunshot Detector Purchases
This doesn't surprise me. I would say I hear things that sound like gunshots (maybe 50% certain) multiple times per day. Of the times when I'm 100% sure they're gunshots, it's very very rare that a crime ends up being reported, at least going by the local police incident maps.
injb··on Ask HN: Thoughts on marrying someone for a green card
They are definitely going to scrutinize the marriage. I don't know if it'll be as intense but I don't see why it wouldn't be. The adjustment of status process generally puts the burden of proof on the applicant, so it's not really any extra work for them. They'll just say, provide proof that the marriage is legit and it'll be up to you.
injb··on [dead]
what country did this happen in?
injb··on The Selling of America's Most Controversial Gun
Paywall.
injb··on Oh No, I Kinda Want to Work for Elon
How many poor people do you think work for SpaceX?
injb··on Geographic ‘hot spots’ for cigarette and firearm deaths in the U.S.
I don't have proof of this but I have a hard time believing that passive smoking kills anywhere near as many people as the behaviour of drunk people.
injb··on How long would it take to count to a billion out loud?
Probably impossible unless you talk extraordinarily fast. 1 billion seconds is over 30 years but most of the numbers would take 3-4 seconds to pronounce.
injb··on Are any words the same in all languages?
>> Harold was a Saxon king and I think you got former and latter reversed

Harold Godwinson was a saxon. He's talking about Harald Hadrada, a viking who invaded the North of England just before William The Bastard invaded from the South.

injb··on Nobody Will Tell You the Ugly Reason Apple Acquired a Classical Music Label
I don't get the problem. They are going to tune their search engine to return their version of these recordings? Who cares? They're not going to be able to do that with popular music. Only public domain stuff.
injb··on Ask HN: How do I get the most out of my team again?
I don't know your process or what your role entails but if you're responsible for output then you should be part of the process. We do scrum and my manager joins standup every day.

Are tickets taking longer than estimated, or are estimates higher than before?

Do you estimate as a team? You should be part of the estimation process.

If estimation is normal, the you should be finding out the first day that a given ticket is not on track. Get devs to make daily commitments and pay attention to when they are not met. What went wrong?

If you wait until the end of the estimated time and then ask why its not done, you will never get accurate answers. You have to track it more frequently than that.

injb··on ‘Full Metal Jacket’ Seduced My Generation and Sent Us to War
>>> I can't believe that anyone who has seen "Full Metal Jacket" would be enthused about going to war.

I don't know. I'm definitely not blaming the film or its maker. But I can't deny that is does kind of awaken a fantasy in me. I have never been involved in any military, but a part of me has always wanted to be transformed like the men in that film.

The thing is, when I imagine being in the story, I don't see myself like Private Pyle or Cowboy. Their stories don't discourage me. So I do wonder if Kubrick missed the mark by making a film that horrified him but actually inspires others. Maybe there's just something wrong with me. Even Platoon has an allure to it. Even Barnes was a hero in some ways. I could be like Barnes without the evil parts.

Apocalypse Now on the other hand, now there's a movie to kill recruitment if ever there was one. There's literally no upside in that movie and very few characters have any redeeming qualities.

injb··on Ask HN: Am I Doomed as a Dev?
Of course you're not doomed! Don't worry. You could always do a side project that uses containerization and cloud hosting.

My first dev job was over 15 years in bare-metal hosting (RHEL) and this was one of my biggest weaknesses too. I didn't get penalized too badly for it in the end. I even got an interview with a company that specialized in some kind of Kubernetes based product. I didn't get an offer from them but I did get an offer soon after that from a 100% AWS-hosted product company. It probably helped that I had so many years of development experience and had learned the basics of docker and containerization tech generally, so I understood what it can do for you and I was able to talk about that stuff intelligently. I had run into all the usual pitfalls in bare metal devops over the years so I was looking forward to moving to docker/cloud based stuff.

Over a year later I'm still a bit more rusty than most of my coworkers on AWS stuff. But you can pick it up. If you teach yourself how to use containerization (e.g. docker) and get a feel for what the advantages are, what problems it solves, to the point where you can talk convincingly about how you're exited to get a chance to use it, I think you'll come across ok.

injb··on The Impossible “Literacy” Test Louisiana Gave Black Voters in the 1960s (2013)
> Sure they do, just not straight lines.

Well yeah you could take it to mean that, but in plenty of other places they tell you to draw circles around things, so they must have meant something else here.

> Words sure do have an internal order. e.g. "eesph" is sheep with a jumbled order.

That's the order of the letters

> Draw a line through the two letters that come last in the alphabet

Only one letter can come last in the alphabet.

OK maybe gibberish was harsh lol but they definitely cannot be answered correctly.

injb··on The Impossible “Literacy” Test Louisiana Gave Black Voters in the 1960s (2013)
This reminds me of the maths questions the Soviet universities gave to Jewish applicants, except the questions in this one are total gibberish:

>>> Draw a line around..

Lines don't go around things

>>> Draw 3 circles, one inside the other

That only accounts for 2 of them

>>> Print the word vote upside down but in the correct order

One word can't have an order

>>> Draw a line through the two letters that come last in the alphabet

???

It goes on like this.

injb··on Russian women fear return of murderers freed to fight for Wagner
evidence?
injb··on Is it defamation to point out scientific research fraud?
AFAIK the plaintiff would have to show that it's not true. That wouldn't be anywhere near enough but would be a start.

I think they would also have to show that either the defendant knew that it wasn't true, or was reckless about it. They also have to show that it was likely to be believed as a factual claim, so expressions of opinion or hyperbole are not defamatory. This isn't legal advice, just what I think from years of reading Popehat.

injb··on Is it defamation to point out scientific research fraud?
>>> Depends on whether you think true statements made in good faith with the goal of reducing harm can be defamatory.

IANAL, but legally that's easy: no. Under US law truth is a solid defence against accusations of defamation. If the statements are true then your intentions don't matter.

injb··on Paul Graham calls A.I. ‘the exact opposite of a solution in search of a problem’
Can't read the article. Does he mean it's a problem in search of a solution then? Or does he mean it's "the exact opposite of a solution, in search of a problem" (in other words, a problem in search of a problem)?
injb··on Canada had poached 10k tech workers from the U.S. – in just 48 hours
I'm seeing a lot of replies along the lines of "what does Canada have to offer me as a US tech worker?".

I gather from the tone and from the fact that this is even being asked that these people are US-born, or at the very least have had some easy path to permanent residency.

The linked article clearly explains that this is aimed at H1-B workers in the US, and it goes into plenty of detail about what Canada is offering them that the US isn't.

injb··on Free Cash in Ireland, at Least for a Moment, Thanks to a Bank Glitch
Title is an outright lie, withdrawals are debited and counted as an overdraft if you don't have the money.
injb··on Paul's Thoughts on Liberals
I think this is better described as PG's thoughts on dissent and protests rather than his thoughts on liberals.
injb··on My $0->$100M->$0 in 5 years story
To the extent that petrol stations are like convenience stores (which they typically are), the ones in my European country sell freshly baked bread, pastries etc. and have deli and hot food counters (and yes the beef they sell there is all grass fed). They also sell fresh fruit and while I don't know what's considered "unorganic" when it comes to this, it's all similar to the so-called "organic" stuff at whole foods. I don't know about variety but that isn't what I was talking about, I was talking about quality.

One time I was in a Walmart Supercenter (or whatever it is they call the huge ones) in Michigan. I had been there a few times but I couldn't find the fruit & veg section any more, they seemed to have moved it and put Halloween candy in it's place. After burning 10-15 minutes searching the whole store, I gave up and asked a staff member where they put it. "Oh we got rid of that sorry". It's literally the biggest supermarket in the city and you can't buy an apple or a banana.

There was a fancier place I used to go to in that city, Fresh-something-or-other. The kind that models themselves after Whole Foods. Everything time I went there, they only ever had green bananas. I mean, totally inedible, days away from being ripe. Every time.

injb··on My $0->$100M->$0 in 5 years story
The food comment is frankly bizarre. The food you get in Whole Foods is at best similar to what you find in a petrol station in Europe. The US has the worst food in the developed world.
injb··on I reviewed 1,000s of GraphQL vs. REST perspectives
Thanks, that's a more nuanced understanding of it than I had. Still, when I try to think about keeping that model in sync with the real underlying model, it scares me.

It sounds to me like there is still bound to be some correlation between querying flexibility on the client side, and coupling between the client and server. But that is OK in many cases and in fact is how many REST apis are already being implemented.

injb··on I reviewed 1,000s of GraphQL vs. REST perspectives
The issue I'm talking about is allowing clients to make arbitrary queries via GQL. Maybe I've misunderstood it, but that's how I've seen it used before. If clients can do that, then they need to know about the model. And if they can't then I'm not sure what GQL does that REST doesn't do.
injb··on I reviewed 1,000s of GraphQL vs. REST perspectives
A question you should ask yourself at the start that I rarely here any discussion of: how much do you want to expose your backend data model to your front end(s)?

If your answer is "completely", which it sometimes is, then GraphQL might be a good option. It's only a question of implementation details.

If the answer is "not at all" then GraphQL is probably going to be a bad idea because that is the whole point of GraphQL.

The reason people don't realize this is because sadly most people's idea of a REST API is already just a plain 1-1 mapping from DB tables to JSON objects served over HTTP. If you're doing that, you're already coupling any front ends or other consumers to your data model, so what do you have to lose with GraphQL (other than the complexity of deploying it)?

When REST was coined the goal was to hide as much data model stuff as possible. This is really really important if your backend app needs a high degree of interoperability across organizational boundaries, because data migration is hard! But if your API is consumed only by a small number of components that your organization has total control over, you might not care that much.

Years ago I used to see people implementing crude remote procedure call patterns over HTTP because they thought that's what REST was, and had been told it was better because of reasons. But this wasn't a better way of doing remote procedure calls. It was a much worse way! Now I see people using frameworks that just expose all their DB models as HTTP endpoints because they think that's what REST is and have been told it's better. That isn't really what REST is, and GraphQL might be a better way of doing that if that's what you need.

REST is a bunch of constraints that make interoperability and scalability easy to achieve. Maybe you benefit from those constraints and maybe you don't. But that's what you need to think about before you think about GraphQL.

injb··on Ask HN: How do I exploit a windfall of leverage at work?
I'm no expert but I don't think there's a way to use the leverage of them desperately needing you sustainably. If you plan to leave in the next year or so then just hit them for the best sounding job title and the most money you can. But if you do anything to instill resentment then your days there will be numbered.

Personally though I see the opportunity to do the work and define your own career within the company as the biggest opportunity here. If you like what they're doing, figure out what you want in terms of role and responsibility and ask for it. Tell them you want to be the chief of this or the director of that - not just the title but the responsibility too. If they say no, do the work anyway. When they see your level of ability and commitment they'll probably start to worry that you'll seek the role you want elsewhere, and so they'll give it to you.

injb··on Ask HN: Why do companies typically provide APIs but not clients or specs?
I presume you're talking about REST apis? If that's the case then virtually every language has a client built in. That's part of the advantage of using HTTP from the API vendor's point of view.

As far as publishing a spec, I don't know but I'm guessing part of it is a reluctance to commit to anything (which does kind of defeat the purpose of a public API).

injb··on The Microcontroller That Just Won’t Die
>>> new 8048 variants and the microcontroller family’s weaknesses

Like, for example, only one external interrupt and one timer, which was 8-bit.

I did some reverse engineering on an 80s Porsche engine management computer[1] that used the 8048. The engineers had to get really clever to work with these 2 issues. They used the reset pin as a second pseudo ext interrupt, which works ok but has a few side effects you have to deal with.

The lack of a 16 bit timer was single-handedly responsible for adding massive complexity all over the code. Basically the loops had to be capable of scaling themselves for engine speeds below a certain threshold because otherwise the timer would overflow!

You have to wonder if it was worth what they saved vs just using an 8051, especially considering that this car had 2 engine management computers, and the main one used an 8051!

[1] https://jhnbyrn.github.io/951-KLR-PAGES/

← PreviousPage 3 of 18Next →