HNHacker News
TopNewBestAskShowJobs

gimboland

388 karma · joined September 27, 2012

submissionscomments
gimboland··on Second-Guessing the Modern Web
Ah, the heady days back when everybody bought books written by Don Box which only Don Box could understand!

(Edit: yeah, of course, that was DCOM not CORBA, but anyway, that's where I flashed back to. :-) )

gimboland··on Best Practices for Working with Configuration in Python Applications
https://blog.ganssle.io/articles/2019/11/utcnow.html
gimboland··on Why isn't the external link symbol in Unicode? (2018)
In an RTL language, you don't even need to mirror it.

Or, to put it another way: if you think it needs to point to the right, is that because the text you read flows that way?

This then makes me wonder if the large portion of the world's population that read right-to-left find the currently widely-used external link symbol (as discussed in the article) a bit jarring.

gimboland··on Eloquent JavaScript 3rd Edition (2018)
So it is! I stand corrected - thanks! I am, however, still open to the possibility that I was right in the past, and that he recently added the dates. ;-)
gimboland··on Eloquent JavaScript 3rd Edition (2018)
Kent's stuff is good but I have a niggle with him (and an annoyingly non-zero bunch of other bloggers): no publication dates on his posts. As someone who always makes notes of what I read, and who wants those notes to include publication dates, it annoys me that I have to look at the git source for a given blog post to find out when it was published. (Though at least with Kent I have that option...)
gimboland··on Shell Productivity Tips and Tricks
I use autojump, but I liked the idea of having an fzf-powered menu pop up when invoked without any args (which is not how autojump behaves). So I made rustled this up (zsh): https://pastebin.com/aLmqJVRy
gimboland··on Shell Productivity Tips and Tricks
fzf's great. I use it for a quick/easy git branch menu, complete with preview of recent history of each branch: https://pastebin.com/R91bP2qa
gimboland··on Apple aims to sell Macs with its own chips starting in 2021
> Everyting else seems to be cross platform and runs ok on Windows, or even linux.

Yes, but then you have to run Windows or Linux.

I think that people don't (on the whole) get Macs in order to run particular software, but many (myself included) do get Macs in order to run MacOS. (Silky smooth trackpads don't hurt, either.)

gimboland··on Ask HN: Who Is Firing?
That's not true.

Here's the relevant law: http://www.legislation.gov.uk/uksi/2020/350/contents/made

Here's the relevant section of that law: http://www.legislation.gov.uk/uksi/2020/350/regulation/6/mad...

Here's the relevant text of that section:

> to take exercise either alone or with other members of their household;

There is nothing in that law that restricts either the number of times you can do that or the amount of time you can spend doing that. There _has_ been guidance issued by various people in government and law enforcement agencies, but that is exactly what it is: guidance. According to the law, you are free to take exercise either alone or with other members of their household, and the law doesn't care how often you do that or for how long.

(Caveat: that's the "England" version of the law; Wales, Scotland and Northern Ireland have their own versions; see e.g. http://www.legislation.gov.uk/id?title=Health+Protection+%28... )

gimboland··on Emacs: The most successful malleable system
Plus redstone is much easier to read than elisp
gimboland··on Emacs: The most successful malleable system
Well done. You have confirmed what they said:

> and the solution was something like "you are using it wrong - you need to use marks instead".

gimboland··on For 11 Years, the Soviet Union Had No Weekends (2018)
I, too, have read the linked article.
gimboland··on Ask HN: Is UK government insane or genius?
Merging threads?
gimboland··on Why the second wave of the 1918 Spanish flu was so deadly
> Or it is harder to force people into quarantine.

From the article:

> Harris believes that the rapid spread of Spanish flu in the fall of 1918 was at least partially to blame on public health officials unwilling to impose quarantines during wartime.

gimboland··on Italy is extending its coronavirus quarantine measures to the entire country
If you're disappointed in the American government on this, you haven't been paying attention for the past two years. They are handling this crisis exactly as they showed us they would.
gimboland··on In the 1970s, NYC Dabbled in Carpeted Subway Trains
The London underground has fabric seats. I wouldn't call the Tube pristine, but I appreciate not having plastic seats.
gimboland··on The Universe Within 12.5 Light Years
No, it wasn't the mental model, it was literally this picture, i.e. the image, down to the colours and everything.
gimboland··on The Universe Within 12.5 Light Years
As soon as I opened that page I had a flashback to playing Elite on my ZX Spectrum as a 10-year-old. I had to look twice at the map to check it didn't show Lave and Reidquat.

And that's really weird, because now I look into it, I think there's no way I saw a map like this in that game. Nor Frontier on the Amiga, as far as I can see. But when I look at the map, Elite is all I can think about, somehow I feel certain that's where I've seen it before, even though the evidence suggests I'm wrong. There's some strong association going on there. Weeeeeeird.

Edit: I think it might actually just be that I first saw this page so long ago that it feels the same... As soon as I zoomed out I knew I'd seen it before, but not for a long long time.

gimboland··on Format Python Code Using YAPF
I hear you on the double-quoted strings; and that's why the only black configuration I allow myself, is "skip-string-normalization = true" in my pyproject.toml
gimboland··on Is Catalina a Good Upgrade Yet?
FYI, You can replace the keyboard on a 2011 MBP; I've done it. Fiddly but not especially difficult. The 3rd party keyboard I replaced it with isn't as good as the original (in particular the backlight is very leaky) but it's not bad and gave the machine a new lease of life...
gimboland··on Apple AirPods: iPhone accessory or the next big thing?
OTOH, AirPods don't meet a minimum standard of quality for me, namely that of actually staying in my ears. They just kind of sit there, dangling, and fall out as soon as I turn my head. Only earbuds with an in-ear seal stay in — it just seems to be how my ears are. (I haven't tried out the Pros, however.)
gimboland··on Anti-patterns and malpractices in modern software development (2015)
Abstraction isn't just about reusability; it's also about comprehensibility. I put a lot of effort into lower layers that abstract away complexity, not so that my business logic is reusable, but so that my business logic is easy to write, easy to comprehend, and (within the constraints defined by my abstraction) easy to modify without breaking things. This does require that the lower layers, the abstracting layers, are well engineered, with well-defined interfaces and behaviour, but it pays off, even if reusability is nowhere to be seen.
gimboland··on Chrome OS has stalled out
More on where "pets vs cattle" comes from: http://cloudscaling.com/blog/cloud-computing/the-history-of-...
gimboland··on Simpler UI Logic With Finite State Machines
Philippe Palanque and the Interactive Critical Systems research group at Toulouse [1] have been ploughing this furrow for years, on the academic side but with industrial applications mainly in avionics. So this kinda stuff is happening, but it's still niche.

See e.g. [2] for more on one of the Petri-net-based formalisms they're using.

[1] https://www.irit.fr/recherches/ICS/

[2] https://www.irit.fr/recherches/ICS/softwares/petshop/ico.htm...

gimboland··on Thinking in React Hooks
Not a comment on the content, but I really wish people wouldn't publish blogs without an obvious publication date.

I learnt react this year; I spent quite a bit of time researching and reading, and obviously there was a _lot_ of ground to cover. In that process, it was really helpful to know whether what I was reading was published a month ago or three years ago.

The first words on that page (after the title) are "React introduced hooks one year ago". That may be true today; it won't be in a year, but in a year somebody looking at this page will probably see exactly what I'm looking at now. Not showing a publication date does that somebody a disservice.

</moan>

gimboland··on Hammerspoon – macOS automation with Lua
If you want to go deeper into Karabiner-Elements, perhaps check out goku [0] — it allows you to write Karabiner configuration in a much nicer configuration language.

[0] https://github.com/yqrashawn/GokuRakuJoudo

gimboland··on BitBar: Put the output of any script on your macOS menu bar
Hot tip for more space in your menu bar: Bartender — https://www.macbartender.com/
gimboland··on U.S. kids want to be famous on YouTube; Chinese kids want to go to space: survey
I upvoted you, but what is up with so many comments here starting with "I mean, "?

I assume that if you wrote it, you meant it.

gimboland··on The most copied StackOverflow snippet of all time is flawed
In python since 1999: https://groups.google.com/forum/#!msg/comp.lang.python/DfzH5... :-)

(Though not in the stdlib til v2.1, April 2001)

gimboland··on Algebraic Data Types: Things I wish someone had explained about FP
Yeah. You're not wrong. Sadly, while HN is full of people of great technical expertise, it's also full of people whose knee-jerk reaction to reading _anything_ here is to think of how they can say it's wrong, preferably in a way that implies or explicitly states that they're bigger experts than the person they're replying to. I find it very off-putting, personally, but I keep wading through the crap because (thankfully) that's not the whole story.
← PreviousPage 3 of 5Next →