HNHacker News
TopNewBestAskShowJobs

arh68

1,213 karma · joined January 23, 2012

alec at mailc dot net
submissionscomments
arh68··on Poll: Why are people leaving their jobs?
Feels like half the team left already, and they've yet to replace anyone, so work gets dumped on us. No real commitment to remote work, let alone mask policy. Won't or can't get rid of unproductive folks. Just doesn't feel like a good place to write software.

I expect it's a story not too uncommon at this point.

arh68··on Tell HN: AWS appears to be down again
89.9999 % has a lot of 9s, dare I say military-grade.
arh68··on Scattered thoughts on why I waste my own time
Chess?! That's my most pointless hobby! I guess it's a matter of perspective.

Sometimes I feel doing my own yard / auto work is a waste of time, that an hour of my work could pay an hour of theirs, but as long as I can draw the line I think it's ok.

arh68··on Rost – Write rust code in German
See also Perligata. Not saying Welsh isn't better. I'm neither a Perl nor Latin expert, so I just trust em when they say

> Latin is a surprisingly good fit for Perl. The rich case structure provides an abundance of plausible mappings for Perl data types and subroutine calls...

[1] https://users.monash.edu/~damian/papers/HTML/Perligata.html

arh68··on Used car market gets even more bizarre
Nope! Many are 2WD (RWD), perhaps even most depending on the area. Some are full-time 4WD, but many have the manual 4WD selector 2H-4H-4L.
arh68··on ES modules are terrible
Agreed. So much breakage for so little. If I were teaching JS today I don't know if ESM is worth covering while CJS works at least as well. Maybe next year.
arh68··on The most impressive linguistic feat I’ve ever seen
FWIW, the Laravel source code has a prominent pattern to it, (comments, anyways) which is nice, for example

    /*
    |--------------------------------------------------------------------------
    | Application Timezone
    |--------------------------------------------------------------------------
    |
    | Here you may specify the default timezone for your application, which
    | will be used by the PHP date and date-time functions. We have gone
    | ahead and set this to a sensible default for you out of the box.
    |
    */
[1] https://github.com/laravel/laravel/blob/8.x/config/app.php
arh68··on How did the plain green lawn become the central landscaping feature in America?
In GA, with .25 acre of centipede, I'd say it's about 2 hrs/wk with heavy rain & sun (like recently). Less rain, 2 hrs / 3 wks. Push mower, slow & steady pace (it grows so thick, I can't just power walk it). Maybe St Augustine is very different from centipede.

Mulching seems to be fine if you cut along the rule of third (cut less than 1/3 of the thing at a time). Even side discharge seems ok, especially as you spiral over the discharge, re-mowing it.

I used to let it grow out, but thatch became an issue. Which is why raking them up makes sense (or dethatching).

Now I cut slightly on the short side, more often, which seems to naturally favor centipede over dandelions almost anywhere there's good sun & water & drainage. Nothing really beats mowed centipede, for me; letting it grow wild invites snakes et al, and paving it would be hot.

arh68··on NP Complete 3rd Grade Math Problems (2018)
The code snippet in the made-up language is certainly interesting. You know, with more judicious use of the graph paper, sprinkle in some OCR and you might could run the hand-written version one day. The typed version maybe something like

      0   PRICE=$10.02
      1   MAT A[20]
      2   BIN L
      3   DEC N
  /   4   FOR N FROM 1 to 2^20
  |   5   L = N
  |   6   /*******/
  |   7   (/\A[L])?=PRICE 10
  \   8   NEXT N
      9   
      10  PRINT A[L]
      20  END
      30  /SNUFFYRUN
      40  ((NIL))
      50  
      60  
      70  
      80  
      90  
      100
      200 
      300 
      400 
      500
          END
arh68··on Tesla valve
You raise an interesting point. I'd definitely want to test them under water main break scenarios, when a bunch of mud and sand &c make their way through the lines. A clear inspection port (whole side, really) would be super cool.
arh68··on What makes an interview podcast good or great?
It's subjective. I'd say pick three: 1) interviewer knows the topic 2) interviewer knows the person 3) interviewer does not speak for the person 4) neither total agreement nor disagreement. Also, they've got to know how to use a mic. On the other hand, if the person's a really good storyteller, it matters less what the interviewer does.

But so subjective. Personally, I usually can't stand Terry Gross and I've heard many say she's one of the best. I really liked some of Joe Rogan's interviews, but others are train wrecks.

arh68··on Ask HN: What are some examples of poor naming in computer science/programming?
If you don't know the origin of the phrase dynamic programming, you are quite perceptive. You've landed quite close to its true definition.
arh68··on Ask HN: What are some examples of poor naming in computer science/programming?
They're not necessarily confusing, but "constant variable", "local import", "randomized sorts" probably all sound weird to outsiders. Also, I wonder where "linting" came from (de-linting?). Some terms are just so popular that the names will always be a blur without context (index, object, array, function)–you can always "rename" them but it wouldn't help.
arh68··on Blizzard's reputation collapsed in just three years
A commentator during the match. Or after the match, before the match, &c. Like Joe Buck or Bob Costas. The person talking about the game and usually interviewing the player(s).
arh68··on Restaurant prices in the 19th and 20th centuries (2009)
Interesting, the prices and choices. See also https://www.economist.com/big-mac-index and https://github.com/TheEconomist/big-mac-data , though you may want more historicals.
arh68··on Coding with Character
Mononoki is my recent favorite (unmentioned yet, but surely popular).

https://madmalik.github.io/mononoki/

Monofur is a wild font I'm mildly surprised was omitted. I did use it full-time for a while maybe 10 years ago, but it's maybe not the best daily driver.

https://www.fontspace.com/monofur-font-f39937

arh68··on Toyota is quietly pushing Congress to slow the shift to electric vehicles
It's a 4.0L in the 4Runner (still 17 MPG), and now a 3.5L Atkinson cycle in the Tacoma. The majority of their sales are neither Priuses nor Tacomas, though (efficiency outliers be sales outliers, too). CAFE factors are going to be weighted by production numbers (right?), so as long as they sell 10x as many Corollas & Camrys as Land Cruisers the spot's not so tight.

I definitely agree the 5.7L in the Tundra/Sequoia gets horrible mileage and that's why I see many times more F-150s near me.

arh68··on No More Movies
819!? 819 is not a lot of movies. Some folks over on Criticker [1] have thousands of reviews. Think 15,000. I myself have reviewed 440, and I've never seen a lot of well-known movies. To say "no more" after 819 just seems odd. Perhaps one needs a break.

I do agree that miniseries have grown as a genre, but I wouldn't be confident in saying it caused movies to decline.

[1] https://www.criticker.com/

arh68··on Sir, Please Step Away from the ASR-33 (2010)
I've recently dipped my toe into APL, and I tend to agree.

APL only really advances from lines of ASCII text to lines of Unicode text. It's still very line-oriented. If Unicode expands toward Tex/LaTeX/&c it could look a lot more like written math. Subscripts are nice, but there's more to it.

Unicode entry is so poorly supported on macOS & Windows it's really not funny. Emacs (C-x 8 ENTER) is my best bet, or Xah Lee's website &c.

If one were to design a new APL, one would be tempted to just use the few characters Apple lets you type with an Option or Command key. (and of course I can't easily type those symbols so I refer to them by six letters each—that's likely not going to change)

All APL needs though (EDIT: and really I mean any language, as long as we have common sequences), is leader key sequences. Rho is `r. To me, it always will be. The interface [1] has this down pat. We should be able to type anything in Unicode with just a few of the 104 keys. Like how T9 allows 12 buttons to type 26, &c.

The world is never going to build a 12,000-key Unicode keyboard. We're going to have to use leader sequences. Just my (beginner's) opinion.

[1] even tryapl.org/ !

arh68··on Ask HN: Have you found a good desk chair?
I think the Four Kings of chairs are the Herman-Miller Aeron, the HM Embody, the Steelcase Leap, & the Steelcase Gesture (my preference). I've not tried the Embody myself, but I'd bet it's good. HM Mirra is a close runner up. I've got maybe 11,000 hours in the Leap, it's fantastic. My Gesture is new but I think I like it more; the arms truly are great.

It's really hard to guess what you'll prefer; just keep your eye out for trying out as many as you can. Also note Aerons come in 3 sizes, so maybe you like the M better than the L, or vice versa.

arh68··on Ask HN: Would Spreadsheets with Lisps be much more powerful?
Look, yes and no: I want to ignore Turing completeness and the tarpit, forget about lambda, and talk about intermediate results. I write excel so as to write out intermediates, so to calculate f(n) = f(n-1)+.. I’d write N lines. If you could just write a function to “skip to the end”, there’d be value in seeing all the values in between, in some sort of debugger view / virtual sheet. If that makes sense.

If I define (square n) and (twice f) to calculate a quartic function, what would I see in a single cell, when I’m not looking at the formula view? That’s what I wonder.

arh68··on Mathematics Cheat Sheet [pdf]
Wait, what? Is this a rendering bug, or a typo?

> γ = 0.527721566...

I think it's closer to 0.577 215 664 901 ... see https://en.wikipedia.org/wiki/Euler%E2%80%93Mascheroni_const...

arh68··on Scarcity tactics can anger customers
> We don’t know how customers that do manage to buy a scarce product feel afterwards.

I bought an instrument the other day, online. When I first saw it, it said 3 people had it in their cart. Maybe they were saving up, maybe they were waiting on a tax refund, I don't know.

I feel kinda bad I took away their chance to play it instead of me. Anticipation destroyed. If it showed names & avatars, I'd probably feel even worse. Maybe it's different for truly mass-produced stuff, where the serial numbers are in the billions.

arh68··on Internal Combustion Engine
Rubber with embedded steel wire is less stretchy than the rubber bands we're used to. Tires even more so than belts; it adds integrity like rebar in concrete.

You're correct that once it jumps even 0.5cm (~1 tooth) it could touch piston to valve; it depends on the engine, but I'd wager most nowadays are interference.

arh68··on Virginia Eliminates Accelerated Math Courses
I mean, this hardly seems true. Sounds like Ian Serotkin is looking for a hot take. From the .doc on the VDOE website itself [1],

  The implementation of VMPI would still allow for student
  acceleration in mathematics content according to ability
  and achievement. 

  Local school divisions will still have plenty of 
  flexibility to create courses ... School divisions will 
  also be able to offer advanced sections and acceleration 
  through the courses.
So, is Serotkin wrong or what?

[1] https://www.doe.virginia.gov/instruction/mathematics/vmpi/in...

arh68··on Dvorak vs Colemak (2010-2020)
You're so right about [1], when possible. I should've rearranged them years ago on this mid-2012 MBA 11" .. maybe I should actually do that, today. I'm quite used to 104-key qwerty boards, but if all my keyboards could say aoeui they totally would.

For those chiding the practice, it's not for beginners-still-learning, it's for actual-years-running-users trying to type one-handed once in a while.

As for looking at a qwerty keyboard from a dvorak mindset, I'd say dvorak "wins" in my head like my right eye's image wins over my left. I look down and "see" aoeui .. pyf .. dhtns. But it's still confusing.

The programmer in me wants a numpad for () [] {} +-/*^% &c. (Do any exist, off the shelf, I wonder?)

arh68··on Best practices for writing SQL queries
likelihood of commenting out last N lines >> .. first N lines

What happens is I want to comment out a join entirely, and all its columns. I rarely find myself commenting out the first column. I'd prefer trailing commas on every element, where allowed, to be sure! but leading isn't so bad once I got used to it.

Plus to scan for a missing leading comma is a linear (literally!) search whereas [missing] trailing commas don't line up.

arh68··on Best practices for writing SQL queries
I like your second version. My own style, still evolving, is to write more lines and align further left

  select
    a.foo
    , b.bar
    , g.zed
  from alpha a
  inner join beta b on
    b.alpha_id = a.id
    and b.thing = a.another
  left  join gamma g on
    g.beta_id = b.id
  where
    a.val > 1
    and b.col < 2
  order by
    a.foo
arh68··on In Defense of Dumb TVs
Plasma & burn-in: I have a '13 Panasonic Viera VT60 with 10,000 hours, no real burn in. I've got a '08 Viera and it's fine, too. I actually bought it with a vertical line malfunctioning, and it's seemingly sorted itself out (looks fine now). No dead pixels, no burn in, tens of thousands hours.

If I watch 24 hours of CS:GO, the white scoreboard text will be visible, but if I turn to max brightness/contrast and play Mad Max for 24 hours, it's always come back to normal.

The panels do get hot, though. That part's always been real.

arh68··on Why can't I write code inside my browser?
You know, I largely agree with the author, I do feel sympathetic. I kinda feel a, idk, lack of sympathy in this thread. Of course you have to learn the machine in front of you, but would you ever have to set $PATH on an iPad? If perhaps I could program Fortran on an iPad, would I really benefit from having the history, the context/history/knowledge of knowing what a $PATH is? Maybe. I doubt it. Knowing /bin from /usr/bin from /sbin from putting . first or last, do you know for fact which $PATH cron/crontab will use? &c &c. Knowing if .bash_profile runs, or .bashrc, or .profile, knowing exactly when they run.. I have not found it fun.

I think you have to admit, most people anyways, that you're ignorant of a lot of systems that came before you. If I gave you an IBM 704, would it be "easy" to program? I would not enjoy that, I think we'd all rather write Fortran on a MacBook. (ask yourself why?)

I have replaced an alternator, but I just learned older cars had "generators" and they're quite distinct (though very similar). I don't know much about "points" or distributors, but I've replaced ignition coils & spark plugs, I feel like I basically understand the gist of that. But I don't know what came before it. I wouldn't fault a mechanic for not knowing points, but an automotive engineer should.

To me, this is where perfectly good wrenching (programming, coding, per se) on its own might be unlikely to advance the state of the art (in software/automotive design). Maybe: To be a really good technician, you should focus narrowly on the hardware/software you service, and not necessarily what came before. But to be a really good engineer/developer/designer, you should focus broadly on everything, to as much depth as you can. Ideally, why not both?

I learned HTML in notepad, then looked for game makers, played with Winamp visualization language, anything that was easily programmable. Did y'all just go straight to writing Rust in Vim?

← PreviousPage 4 of 23Next →