HNHacker News
TopNewBestAskShowJobs

npsimons

4,272 karma · joined March 8, 2012

Previously a programmer in the DoD world, now a solo software developer. Before that, I used to hack on RTLinux until FSMLabs couldn't afford to pay me any more. My personal interests include search and rescue and musical groups. Also tried my hand at consulting around 2000-2001, failed; tried another startup based on a GPS logger concept that never got off the ground. Would like to contribute to open source, but the aforementioned extra-curricular activities get in the way. Run my own email/web for personal stuff at hardcorehackers.com; can be reached at the usual (RFC) addresses there.

I despise Apple fanboys and Microsoft shills, but I'm getting better (mostly by laughing at the former and ignoring the latter).

I used to be what I considered a master of C++; nowadays I'm an unabashed Lisp elitist, but mainly I putter along working on personal projects. Not currently looking for work, but if your project is interesting enough . . .

Still of the opinion that Emacs is the last editor on the last OS (Debian GNU/Linux).

submissionscomments
npsimons··on I hope work from home continues
My boss on a project roped me into hobby chat as I was taking a five minute break to stretch my legs. He turned it into 40 (!) minutes of non-work chit chat.

I don't want to be unfriendly, but I'm at work to get shit done because I'm getting paid. If someone wants to talk hobbies, we can do that another time.

npsimons··on I hope work from home continues
Exactly! You can go both ways with this: at my house, I have exercise equipment, up to and including a barbell and plates. If I feel like grinding out some sets real quick, I can. There is absolutely no comparison to working in an office.
npsimons··on I hope work from home continues
I've been at a job where projects have put us in vehicle bays with no insulation on the door, in Winter. Temperatures got down to 40 degrees Fahrenheit. Luckily, there was no dress code, so I would wear my mountain Winter gear, but even so, it was really hard to get any coding done as my fingers were too cold.

There are a lot of bad companies out there, and it's all well and good to say "find another job", but not everyone has that luxury.

npsimons··on I hope work from home continues
Everything about this post is spot on, and what I've been saying for years.

But management doesn't care. They don't even care about productivity. It's all about keeping up appearances, having butts in seats, and I'm so, so sick of it.

npsimons··on Prescriptive software is better than descriptive software
Thing is, the learning curve may be steep, but it's incredibly valuable, time very well spent.

I learned VI on some UNIX tools my father installed on our DOS computer in the 90's. Then I learned Emacs in 2000 and have been tweaking my setup ever since. Sure, it's not perfect, every few years when I have some down time I will spend a day fiddling with things heretofore unlearned, but the general setup has worked well (and gotten better) for two decades.

How many other editors have come and gone in that time?

npsimons··on Pro1 X: A Linux smartphone with slideout keyboard
> where auto correct gets in the way.

Even without autocorrect (say, with Hacker's Keyboard on Termux), I still get frustrated by mistyped keys. "Up arrow" instead of space in bash, "o" instead of "p" in org-mode (with speed-commands).

I miss my N900 physical keyboard.

npsimons··on Don’t use environment variables for configuration
My first thought on the headline are specialized concerns of the above: environment variables are an attack surface. If you use them for configuration, it's all too easy for an attacker to modify them without the victim knowing. Just look at issues with LD_PRELOAD: https://attack.mitre.org/techniques/T1574/006/

That said, I agree with GP that environment variables are super useful and super simple. But I've also been burned more than a couple of times by setting something in the past and then having it caused unexpected bugs that are hard to trace down as they aren't in my working memory. They're a double-edged sword, to be sure.

npsimons··on Show HN: Three Things Daily – Make gratitude a daily habit
I've never understood dedicating a whole darn website to such simple concepts. Perhaps that's why I'm not rich.

It's three things! Just write them down somewhere. Heck, put them in a text file and check it into git.

I ran into a similar mindset with someone asking about BMI on another forum I frequent and someone suggested a website. It's two math operations! Just open the calculator on your phone (yes, even flip phones have one), or on the computer you're reading this on.

ETA: For those wondering, here's the three things as I heard them:

  1. Something that made you smile or happy:
  2. Something you are grateful for:
  3. Something you did well:
npsimons··on Apt Encounters of the Third Kind
This has advantages and disadvantages; yes, if there is a security hole in it, it likely affects everything that uses it. But it also means it gets use-case tested more thoroughly, at a minimum. Ideally, all "stakeholders" would have a vested interest in doing reviews of their own, or perhaps pooling money to have the code scrutinized.
npsimons··on Apt Encounters of the Third Kind
Remember how Adobe removed Flash support from Acrobat a couple of years back? Attacks like this are why. Well, and Flash had other issues, too.

I'm not sure when you started using PDFs (I remember mid-90s when my Dad told me about this cool new document format that would standardize formats across platforms, screen and paper!), but hardly anything is static any more.

npsimons··on What solitary confinement taught me about surviving isolation (2020)
> Perhaps this is an opportunity to grow!

Empathy is a vastly underrated (and underdeveloped) skill.

npsimons··on Apt Encounters of the Third Kind
This is the kind of content I come to HN for! I don't get to do a lot of low level stuff these days, and my forensics skills are almost non-existent, so it's really nice to see the process laid out. Heck, just learning of binwalk and scapy (which I'd heard of, but never looked into) was nice.
npsimons··on Ask HN: Do you read books regularly? Fiction or nonfiction?
> How could you EVEN read non fiction after browsing hacker news all day ?

1. Get book recommendations and research topics from being online (expand your "surface area").

2. Step away from the computer.

3. Read books from step one.

Granted, I need to take this advice myself, but the problem is I've been conditioned by variable rewards (akin to gambling) to keep scouring online for "more content", but it really pays to do deep dives on a regular basis, it's just the reward is usually far off and spread out over time.

npsimons··on Ask HN: Do you read books regularly? Fiction or nonfiction?
> It's fascinating how he was writing around 100 years ago, and how around 25% is super old-timey cultural references or things that no one would think today, but how much of it is still pretty relevant.

Perspectives from the past are super interesting. In "Teton Tales" by Paul Petzoldt, he describes chopping down a tree and tying it with rope to a car to use it as a brake going downhill, back in the early days of cars where brakes weren't so good. Crazy stuff! I need to finish that book someday.

npsimons··on Ask HN: Do you read books regularly? Fiction or nonfiction?
I've gotten a lot of good book referrals through HN, including "Starting Strength: Basic Barbell Training" by Mark Rippetoe. So cutting out online stuff is just a bad idea (significantly reduces my "surface area").

OTOH, I really need to get back into a habit of reading books, every day. I used to go through a goodly number of non-fiction books on a regular basis (another good book, "The Pragmatic Programmer: From Journeyman to Master" says you should read at least one non-fiction book in your field a quarter), but recently I've just lacked the discipline and habit to do so. I find myself reading a lot online, but so much of it is so low information and not in-depth enough.

That said, I also try to partake of fiction, although in that regard I'm not doing great either, as I opt for a lot of passive fiction in the form of video. Fiction can be just as good for expanding the mind, even exercising empathy. Just reading speculative fiction (to give a broader term to science fiction) can exercise one's mind in visualizing things or give one new ideas. Heck, Google Earth was supposedly inspired by a technology in "Snow Crash".

ETA: There's some great "forgotten" fiction out there, which hasn't been turned into other formats yet. "The Stars my Destination" and "Lord of Light" are excellent. Which reminds me, another good source I've found for books is /usr/games/fortune

npsimons··on Free Software: An idea whose time has passed?
> the intent of the adherents to the term Free Software is to seek to promote certain freedoms for the users of software, by depriving the creators of software

Oh, he's one of that kind of cunts. Someone with an axe to grind against FLOSS because he obviously hasn't studied history of copyright in addition to his misunderstanding of FLOSS.

npsimons··on Free Software: An idea whose time has passed?
The author is quite clearly an ignoramus on the topic of FLOSS, and can be safely ignored. I'm not sure how this got to the front page of HN. It's embarrassing, frankly.
npsimons··on Free Software: An idea whose time has passed?
> "Software vendors won’t usually be inserting spyware into their wares."

JFC. I'm sorry, but this "article" can be dismissed on that alone. Software vendors already are inserting spyware into their "wares." Did the author do any research?

npsimons··on Silicon Valley firms in no hurry to open up offices despite easing of virus ban
Admittedly, my views on this come from the limits of my own experience - as someone who writes (and sometimes rights) software, I highly prize uninterrupted time in flow. I suppose writing and other such similar pursuits would work very well on an work environment that was isolated.

But I do try to exercise my empathy and recognize for some endeavors it's is useful to collaborate. I just wish that people wouldn't attribute intrinsic necessity of physically close collaboration where it is not warranted.

My purpose or activity, even after I'm financially independent will be writing software, something I can do without having to be in close contact with people I am working with, and I in fact am much more productive when I'm not.

And honestly, even at 40 hours a week, I still have a lot of time in which I've formed my best social relationships. My coworkers are nice people, I just have shockingly little in common with them outside of work.

npsimons··on Hutter Prize
I've always felt that the best non-CS programmers were physicists, because they are always looking for the simplest model (eg, the same community that rejected a 27 dimension string theory as being too complex, but don't quote me on this, I'm no physicist).
npsimons··on Silicon Valley firms in no hurry to open up offices despite easing of virus ban
Working hours taking up so much of our life is an orthogonal, but not totally unrelated issue.

As with complaints against "working from home", I get the feeling that proponents of work socializing recognize there's a problem, but they have mis-identified the root cause.

npsimons··on Silicon Valley firms in no hurry to open up offices despite easing of virus ban
> How about creating new knowledge and process?

Judging from how academics across the world, and even across decades if not centuries create new knowledge all the time, I'd say it's not a barrier to work remotely, whether that's in time or space.

npsimons··on Silicon Valley firms in no hurry to open up offices despite easing of virus ban
I second your whole post.

To try and empathize with a lot of the people bemoaning WFH, I believe they are just suffering from quarantines in general. I truly believe many of them would do fine if they could WFH 100%, but be able to go out with friends on weeknights and weekends.

You are absolutely right that the office is a pisspoor substitute for real comraderie, and I wish people would stop conflating the two.

npsimons··on “Is Parallel Programming Hard, and, If So, What Can You Do About It?” v2 Is Out
I mean in the example you gave, the work was already partitioned for you. That we have high level tools that make it easy doesn't change the fact that the work of rendering frames in an animation are very clear chunks of work that lend themselves naturally to parallelization.

We can quibble about the semantics of "parallel" programming all day, but I think that either too broad or too narrow a scope for the term misses the point: that data coherency is what makes parallel programming hard.

In the ultimate reductio ad absurdum, you can just say it falls into one of the two classes of hard computer science problems, that being "cache invalidation", where the "cache" is some form of shared data. In this sense, I agree with you: it's not the parallelism per se that's hard, but I think anyone talking about the difficulty of it quite clearly is referring to the shared data problems.

npsimons··on “Is Parallel Programming Hard, and, If So, What Can You Do About It?” v2 Is Out
Not to offend, but yeah, if you've already partitioned the work to be done, then of course it's not hard.

I'm pretty sure that anyone who's come into even vague contact with parallel programming understands that the hardest part is communication and synchronization.

Your post feels incredibly pedantic.

npsimons··on Early-Retirement Update
I'll second all of this: if I wasn't getting paid for working on the projects at my day job, I wouldn't work on them.

I've got tons of ideas and cool projects I want to work on (some I've even made decent progress on in my spare time), but I don't know if they'd be profitable, nor do I want to worry about that. I just want to code on stuff I like.

npsimons··on Early-Retirement Update
Oh yeah, it's working very well, for the shareholders.
npsimons··on Early-Retirement Update
> I just want to work on whatever i want to work on.

This is exactly why I'm pursuing leanFIRE. Even if I hit the jackpot, I would still be toodling on personal software projects for the rest of my life. Not saying I'm any Michelangelo, but I would have to be trained not to write software. I'm just aiming to set my own priorities instead of working on things I'm not passionate about because I simply need the money.

I keep wondering if I shouldn't quit the day job and start a software shop, but even that sounds an awful lot like work where you trade one relentless taskmaster for another. I sure as shit don't want to have to worry about market share, I just want to make cool (to me) software.

npsimons··on Dogs orient and move in synchrony with family members
Anyone else think of "A Fire Upon the Deep" by Vinge?
npsimons··on Outrun: Execute local command using processing power of another Linux machine
It reminds me of GNU Parallel[0], so I have to imagine it fits for some use cases. I stumbled upon Parallel when I was trying to do user-level "distributed" computing at the day job for running hundreds of simulations in a shorter amount of time. Never really did get it working (I had a hard enough time just ginning up a Python program to orchestrate test cases across local cores; still took 3.5 hours for a full run of tests), and they're currently trying to get a SLURM cluster setup while I'm debugging NVidia binary drivers and overloading our Gitlab instance.

[0] - https://www.gnu.org/software/parallel/

← PreviousPage 8 of 34Next →