Better HN
topnewbestaskshowjobs
Log inSign up

ghewgill

1,196 karma · joined Jan 24, 2011 (15y ago) · 120 submissions

https://hewgill.com

[ my public key: https://keybase.io/ghewgill; my proof: https://keybase.io/ghewgill/sigs/ekeqihd1f2-ueH7c1OfZUti7OexSibHHd1B2DEul6Fw ]

Submissions

comment 1mo ago · link · parent

The following lines say "any of", not "all of". Lack of one particular feeling does not imply lack of consciousness. Lack of all of them probably would.

comment 2mo ago · link · parent

It's a bit of a challenge to get suitable trees to grow in the central California desert.

comment 3mo ago · link · parent

Yes, let's look beyond centralized services for source control (also known as "developer social media"). For example, Forgejo is working on federation (https://codeberg.org/forgejo-contrib/federation/src/branch/m...) which makes the choice of where to host your code less relevant, because anybody on the federated network will be able to interact with any other repository no matter where it is hosted.

The success and growth of Mastodon proves that this model works, particularly for people who identify as being developers.

comment 4mo ago · link · parent

Midnight at the bottom! I really like this one: https://sunclock.net

comment 4mo ago · link · parent

In the "number field" clock, the hours are always along the top row only. 12:10 and 10:12 look different.

comment 5mo ago · link · parent

HP calculators were an important part of my formative years. I have a 12C, 15C, and 16C (all original models). I also have an HP-35 (red LED digits) within reach right now. That was the calculator I used for high school exams, because we weren't allowed "programmable" calculators so I had to go a bit retro for the time.

The 16C was an interesting model. It had a lot of potential capability with the different word sizes and bitwise operations, but I think it fell short in practice because the operations it could do just weren't that useful.

My favourite model is the 15C, it got me through four years of math, physics, and computer science university classes. The integration and matrix functions were super useful because it was hard to do some of that stuff in your head.

7.

SilverBullet introduces desktop app in beta(silverbullet.plus ↗)

3 points · by ghewgill · 7mo ago · 1 comment

comment 7mo ago · link · parent

Maybe I should have complained more loudly about them using the same name as that thing I wrote that I called Copilot. https://hewgill.com/pilot/copilot/index-old.html

comment 8mo ago · link · parent

I had that "a-ha" moment not at first by learning that "fenêtre" means "window", but later when I learned the German word is "Fenster".

comment 8mo ago · link · parent

The story didn't mention what had happened to inflation in the meantime. A dozen eggs costs $32.

comment 8mo ago · link · parent

Electricity costs money too? I don't know how the cost of power compared to the cost of a candle in the beginning of the 20th century though.

comment 8mo ago · link · parent

MajorBBS could handle multiple lines on its own, but you had to handle ALL of the lines with one box. That meant a serial port interface like DigiBoard which provided some number (8 or 16 or more) of serial ports that you would connect to modems.

comment 8mo ago · link · parent

Sheesh, trigger warning please! I remember the how.

comment 11mo ago · link · parent

I've done AoC on what I call "hard mode", where I do the solutions in a language I designed and implemented myself. It's not because the language is particularly suited to AoC in any particular way, but it gives me confidence that my language can be used to solve real problems.

Neon Language: https://neon-lang.dev/ Some previous AoC solutions: https://github.com/ghewgill/adventofcode

comment 1y ago · link · parent

The walrus operator allows you to use `elif` there to avoid cascading indentation.

    if m := re.match(pattern1, line):
        do_stuff(m.group(1))
    elif m := re.match(pattern2, line):
        do_other_stuff(m.group(2))
    elif m := re.match(pattern3, line):
        do_things(m.groups())
    else:
        ...

comment 1y ago · link · parent

Raymond Chen happens to have worked for Microsoft for a long time, but he is an institution unto himself.

comment 1y ago · link · parent

If text files are your world, then http://todotxt.org/ might be for you. I'm currently using "pter".

comment 1y ago · link · parent

The colons there don't represent C++. That's just a way of referring to a windows API function that exists in a specific DLL (in this case "user32"). Because the functions used here do not exist in older versions of Windows, the linked code dynamically loads user32.dll and tries to get the address of those functions so they can be called. That's why you need to know which Windows DLL they exist in.

comment 1y ago · link · parent

I think the hard limit of 100 todos is the best feature of this. Why don't other todo apps have this feature?

comment 1y ago · link · parent

SLMR and OLX were by the same author, but OLX was a complete rewrite and didn't look anything like SLMR.

comment 1y ago · link · parent

OLX (and SLMR) author here. It gives me warm fuzzies to hear about your positive experiences with OLX, after all these years. To this day I maintain that Turbo Vision was peak computer UI, it's been downhill since. :)

comment 1y ago · link · parent

You're thinking of the Thawte Web of Trust: https://en.wikipedia.org/wiki/Thawte which was run by Mark Shuttleworth (now of Canonical). The certificates were used for email, not for SSL. I lost track of what happened to it after CACert took over.

23.

First confirmed footage of a colossal squid captured(rnz.co.nz ↗)

37 points · by ghewgill · 1y ago · discuss

comment 1y ago · link · parent

Increase the iterations on the sidebar. You will then see more detail until you zoom in even further.

comment 1y ago · link · parent

Do you believe that the Library of Congress is immune from the current administration's information purge?

comment 1y ago · link · parent

> Mission owners and operators often lack adequate capabilities for software understanding because technology manufacturers build software that greatly outstrips the ability to understand it.

I wonder if this is because software engineers build things that are too complicated for the problem domain, or whether it is because the problem space where the software sits is inherently complex.

This report addresses the unusual modes of operation, specifically mentioning "normal, abnormal, and hostile". So much of software has unpredictable operation in the face of hostile attacks (particularly if the attacker gets "past the firewall", either a network one or a metaphorical software interface boundary).

comment 1y ago · link · parent

That also seems like a reasonable explanation. I never got any of the background story from our guides.

comment 1y ago · link · parent

There's a pass on the Inca Trail in Peru called "Dead Woman's Pass" (https://en.wikipedia.org/wiki/Warmi_Wa%C3%B1usqa). I have to assume this is a similar warning.

comment 1y ago · link · parent

Yes. This warning in the documentation (and the same warning for "git restore") is doing nothing to help the situation. I've had to put a stake in the ground on this SO answer: https://stackoverflow.com/a/215731/893
1234