HNHacker News
TopNewBestAskShowJobs

njharman

7,426 karma · joined April 19, 2007

I like oatmeal cookies.
submissionscomments
njharman··on No is a complete sentence
You should feel empowered to say no. Just don’t be a dick about it. By, for instance, only saying “no”.
njharman··on The hardest thing about engineering is requirements
Tons of human things have been scaled. Agriculture, retail, manufacturing, soildering, …
njharman··on The hardest thing about engineering is requirements
Requirements are a subset of the Hardest thing, which is communication.
njharman··on 3 percent of Python codebases we checked had silently failing unit tests
Huh? Seems super clear to me that "assertTrue" is asserting Truthyness and not equality. It's right there in the method name! And if you don't know "True" means Truthyness in Python, they you don't know the basics of Python.

A reviewer should catch this error easily. I kind of think many don't give much attention to unittests when reviewing. Which is bad. Good unittests are far harder to write than good code.

There's much more subtle errors of this class (False Negatives / always pass).

njharman··on 3 percent of Python codebases we checked had silently failing unit tests
> Adding third-party libraries is a huge step to take for a project

Really? I've can't think of a "real" project that did not include 3rd party libs.

Reinventing wheels or struggling with poorer implementations (unittest vs pytest, http vs requests, etc) is huge drain for a project. A huge misstep.

njharman··on Rust started as a personal project in 2006
I would guess "expression oriented" would mean a lang with no statements, more like lisp.
njharman··on Django: Reformatted code with Black
In 30yrs of dev the truest statement in standards I can make is that they change, all the time. The 2nd truest is I and coworkers have wasted far to much energy on arguing and maintaing STDs.

Blacks value isn't autoformatter, it's preemptive discussion ender.

njharman··on Why are semi trucks in the US and Europe so different? (2018)
https://www.roadprobrands.com/blog-posts/what-happened-to-ca...
njharman··on US Special Operations Command picks Anduril to lead counter-drone in $1B deal
Why not just ban "armed conflict"?
njharman··on US Special Operations Command picks Anduril to lead counter-drone in $1B deal
hobbit, balrog, ent.

Not because trademarks, none are. But because courts have ruled if you use enough elements, esp characters you somehow are infringing copyright. Or rather, it is easier to cave and change your product than endure the risk and expense of long court battle.

njharman··on Rack 2 (Virtual Eurorack)
> do this?

What is "this" for you?

For me it is a cheap intro/evaluation tool for the very expensive Eurorack hobby. To meet that goal it must be skeuomorphic. I can mess around with VCV + maybe a cheap (relatively) midi control to get some physicality. To discover my interest is superficial and lasts only a few months. Saving me from thousands of dollars of more "toys" that just sit on shelf.

njharman··on Battle of the Bulge
> "The Germans couldn’t operate below the regimental level without written orders."

That is so ridiculously wrong. I'm thinking it must be journalist's mistake/misquote/out of context (e.g. referring to specific unit/time/area and not the blanket statement it sounds like). No actual WWII historian would say that.

njharman··on Blender 3.0
Yeah, it's been amazing to watch. I was one of the original funders back in 2002 to open source it. My career took another path and I never did more than mess around with Blender. But that, I think $100 (not small amount for me at the time), is the best, most proud/happy donation I've ever made.
njharman··on Ask HN: Has Google search become quantitatively worse?
profit optimized is the inevitable result of any system that has profit motivation

banning advertising would help for awhile, but other profit streams would be optimised and expand to fill void, such as data collection/mining

njharman··on Git ls-files is Faster Than Fd and Find
> source code management system (SCM), it’s main business3 is not to help you list your files!

This seems utterly bizarre statement. What does author imagine SCM dies? Stuff, but listing the files that are the source it is managing is up there.

Like saying FPS is a game its not pushing triangles through GPU.

The larger purpose is facilitated by and requires the lessor purpose.

njharman··on High schoolers are training to drive 18-wheelers amid shortage of truck drivers
"Entry to the workforce" is not a goal. It is a failure of society to force people to labor for ~half their waking hours just to exist.
njharman··on High schoolers are training to drive 18-wheelers amid shortage of truck drivers
> When thinking about the trucking industry, the first thing that comes to mind about its drivers is that they tend to be older

No, the first thing that comes to mind is another shit job that has limited future and should be automated so humans don't have to do it.

njharman··on Declassified docs reveal truth about FBI’s contribution to Hemingway’s demise
That is an incredibly disjointly written article. Something is set up, then next sentence has nothing to do with it. Sentence structure, word choice, just weird.

Seems like (bad) machine written.

njharman··on Why HN is the way it is, and why we hope it will stay that way
How many is too many (people to piss off)? Take your statement in another context.

Say native dissidents pissing off local government / foreign natural resource exploitists.

Or, americans of african ancestry attempting to be heard / get equal rights in 50's america. They were certainly socially disapproved and silenced by society at large.

Social oppression is the most insidious form of censorship. It needs to be combated with the most vigor and rigor.

njharman··on Why Japan Looks the Way It Does: Zoning [video]
> Plenty of homogeneous states which don't work.

Plenty? Name five, other than isolated microstate islands. I can think of very few modern homogeneous ethostates.

njharman··on Why Japan Looks the Way It Does: Zoning [video]
> we chose cars

We didn't choose, decision was foisted on us by tire, car and oil company lobbyists.

njharman··on Faster Python with Guido van Rossum
The GIL has already been removed in at least Jython and PyPy.

PyPy is 4x faster (on benchmarks), no xp with Jython.

njharman··on What if Git worked with programming languages?
That is the kind of problem solution that ends up with you now having 2 problems. New problem(s); having tabs and spaces, having to think when to use them, having to train/document everyone in usage, having to debate that usage, having to correct code and chastise people who get usage wrong.

Use a automatic code formatter with minimal options. Automate either running code formatter on commit or denying commits that change when code formatter is run on them.

njharman··on The Vinland Map is awash in 20th-century ink
Tis why scientists and historians when presented with a single "fact" throw up their arms and exclaim "Well that proves it!" No point in looking for collaborating or conflicting evidence. Or, to reexamine when new technology or techniques arise.
njharman··on The Vinland Map is awash in 20th-century ink
Y'd think if you had access to 1400 "paper", the effort of making your own gall ink for your forgery. It ain't hard. Maybe the galls aren't common in Norway?

Otoh the deception lasted 100yrs.

njharman··on Chekhov's Gun
I was disappointed the Wikipedia article didn't have any counter views or criticism. Article on concepts typically do.
njharman··on How did American “wokeness” jump from elite schools to everyday life?
This so much.

If you tie your identity, your idviduality, your importance to your melanin amount or ethnicity you are racist. You are dividing up humans into "us and them". You are using it to set yourself apart, to make yourself different (which inevitably leads to divisiveness and bigotry because you've divided up humanity) and to stake out a claim of ownership on some part of human culture.

It's not your culture it is our culture. We are all humans. All culture is human culture.

Bigotry will persist for as long as people invest importance and value into ancestral and cultural differences between groups. Whether as a positive (celebrate X culture) or negative (blame Jews).

Obviously, until we view ourselves as united, as one. We will remain divided.

njharman··on How did American “wokeness” jump from elite schools to everyday life?
I, nor you, have an obligation to honor or respect anyone's beliefs. We have the limited rights to dismiss, criticize, adopt, etc any belief/creed/etc. The limits are prohibiting or restricting others, including original inventors of belief , from doing same except in support of 2nd limitation. Which is, doing harm.

Many want that to be absolute no harm. I strongly disagree that "hurt feelings" and "uncomfortableness" are worthy levels of harm.

Society continues to debate this.

njharman··on How narcissists climb the career ladder quickly
Two things;

Majority of comments seem to assume narcissist is also incompetent or unskilled.

If this study is accurate and you want advantage in career then you could do worse than adopting the narcissist behaviors linked to advancement by study.

njharman··on ZeroVer: 0-Based Versioning
I can't tell if this is a spoof or joke?

This entire section reads like a joke post

> 0verview Unlike other versioning schemes like Semantic Versioning and Calendar Versioning, ZeroVer (AKA 0ver) is simple: Your software's major version should never exceed the first and most important number in computing: zero.

A down-to-earth demo:

YES: 0.0.1, 0.1.0dev, 0.4.0, 0.4.1, 0.9.8n, 0.999999999, 0.0

NO: 1.0, 1.0.0-rc1, 18.0, 2018.04.01

In short, software versioning best practice is like the modern list/array: 0-based.

We'll leave it to computer scientists to determine how expert coders wield the power of the "zero-point" to produce top-notch software. Meanwhile, open-source and industry developers agree: ZeroVer is software's most popular versioning scheme for good reason.

← PreviousPage 4 of 34Next →