HNHacker News
TopNewBestAskShowJobs

henry_flower

998 karma · joined April 3, 2009

submissionscomments
henry_flower··on So you think you could be an electrician?
That could be the main point of this kind of articles: to dissuade potential competitors.
henry_flower··on I canceled my book deal
That was super interesting!

I think you should self-publish. With your existing audience, you'd sell plenty of copies, and nobody would push "AI" into your work.

henry_flower··on Ask HN: How do you use local LLMs?
not exactly daily, but I use llama3.2-vision (via ollama) to generate a .txt file alongside every photo I take, containing a description of the photo. then I can just grep for, say, "selfie":

    $ alias omglol='find -name \*txt | xargs -n50 grep -li'
    $ omglol selfie
    ./10/IMG_20241019_204444.txt
    ./09/IMG_20240930_082108.txt
    ./09/IMG_20240930_082118.txt
    ./07/IMG_20240712_154559.txt
    ./07/IMG_20240712_154554.txt
or to do a slide show:

    $ omglol selfie | sed s/txt/jpg/ | xargs feh
henry_flower··on Russian death camp: Three stories of Ukrainian prisoners
it is
henry_flower··on The History of CP/M (1980)
His autobiography in the epub format: https://gitlab.com/sigwait/computer_connections
henry_flower··on Twenty years maintaining the WiX Toolset
heh, I recently "ported" a Linux app to Windows and wrote a simple installer using wix 5 (it was horrible)

to even obtain wix v5: first, using scoop, I installed "dotnet-sdk"; second, using the "dotnet" command, I got the wix.exe executable via

> dotnet tool install --prerelease --global wix

henry_flower··on Show HN: Beta test Execute Program's interactive "Python for Programmers" course
> you have to start at the beginning for now

add this comment to the course's page, as it may not be obvious that it is not locked due to the beta status

henry_flower··on Ask HN: Best tools for self-authoring books in 2023?
You can always create an EPUB. If you enjoy tinkering with HTML, here is a short book on how to create a custom toolchain (disclaimer: I am the author):

https://sigwait.org/~alex/p/pg2e/

henry_flower··on Tell HN: Please don't print –-help to stderr in your CLI tools
what really drives me crazy is when invoked

    $ foo -h
I get "haha, you idiot, there is no such option -h, rerun with --help"

when I rerun with --help, it prints a worse than useless usage string and says "for more help, type --help-advanced"

henry_flower··on Ask HN: Could you share your personal blog here?
late to the party, but

https://sigwait.org/~alex/blog/

topics: linux (usually in some sort of critique), javascript, emacs, & random quotes from books I'm reading

henry_flower··on A Quick Guide to Mutt
Heh, I started using Mutt only because of "peer pressure" during my university years: all cool guys were using it! (Still with Mutt, > 10 years later.)

I think this is somewhat akin to Emacs: startup costs are enormous, but you reap the fruits for the rest of your life.

henry_flower··on Google has added ads on both its search page and Chrome://newtab
use this one: https://chrome.google.com/webstore/detail/blank-new-tab-page...

it's just an .html file with an empty body, no tracking & 5 lines of JS:

    window.addEventListener("load", () => {
      if (chrome.extension.inIncognitoContext) {
        document.body.style.background = "#53718e";
      }
    });
henry_flower··on Ask HN: How do you explain the sloppiness of modern software?
no dogfooding

too few developers enjoy their job

managers are incompetent but multiply like flies

henry_flower··on Google Open Source Code Search
> based on my IP

heh

in my case I wish it was based on my IP

but for some unbeknownst reason, some components of the page are in Russian. I'm not in Russia; nothing in my browser request indicates I'd like to read Russian.

henry_flower··on IRC and Emacs all the things
> that key combo is hardcoded in LISP

isearch-forward turns on a minor mode that has it's own keymap

a snippet from isearch.el:

  (defvar isearch-mode-map
    ...
    ;; Several non-printing chars change the searching behavior.
    (define-key map "\C-s" 'isearch-repeat-forward)
    (define-key map "\C-r" 'isearch-repeat-backward)
hence to redefine C-s, to, say F12:

  (global-set-key [f12] 'isearch-forward)
  (define-key isearch-mode-map [f12] 'isearch-repeat-forward)
& so on

I don't see what is the problem here

henry_flower··on On Infantilization in Digital Environments (2015)
here's an example:

    https://developer.twitter.com/en/docs/tweets/curate-a-collection/api-reference/get-collections-entries
scroll to the very end of the page, where twitter cheerfully asks "Was this document helpful?"

why did they choose a happy/sad face, instead of, I don't know, regular buttons?

who's the indented audience of that page? kids? I think not. It's probably a 30-something year old grumpy, bearded guy, yet...

henry_flower··on On Infantilization in Digital Environments (2015)
I think her main grievance is:

1) you are not a child

2) yet, you're suddenly start being addressed as a child

3) you get used to it (even if you protest at first; or maybe the silent majority doesn't mind?)

4) because of 2&3, with time, you became infantile (which, certainly, could be an exaggeration)

5) apparently, this technique works quite well for "customer retention"--you feel "safe", for everything that is presented to you is cosy, cartoonish, kid-oriented staff

henry_flower··on Linux 5.6 is the most exciting kernel in years

  https://www.kernel.org/doc/Documentation/filesystems/cifs/cifsroot.txt
henry_flower··on ‘Just four dudes’: Inside EasyList, a community-run ad-blocking list
I suspect that the editor didn't actually read the text but nevertheless chose the most obnoxious title possible (as they often do)
henry_flower··on Ask HN: Which abandoned proprietary software would you resurrect?
Presto browser engine (from Opera 12) for a lightweight Electron alternative
henry_flower··on On the Road to Pure Go X11 GUIs
a hint: it's very customary to inject a proper disclaimer into such kind of posts
henry_flower··on ESLint compromised, may have stolen your credentials
are you sure?

  $ json -j version dependencies.eslint-scope < `npm root -g`/eslint/package.json
  {
    "version": "4.19.1",
    "dependencies.eslint-scope": "^3.7.1"
  }
henry_flower··on Emacs 26 Brings Generators and Threads
try redo+:

https://www.emacswiki.org/emacs/redo+.el

henry_flower··on Emacs 26.1 released
just a user; wrote several elisp pkgs

> Not being paid for a labour of love does not make one exempt from criticism.

I'm fine w/ criticism; I'm just of an opinion that the word "shit" is a bit too much; also I'm fascinated how the current emacs maintainer handles such a complex proj

> The software's user interface

which part? the majority of the user-visible 'interface' consists of so called interactive elisp cmds (runnable via M-x ...); the help for such cmds (or the whole modes) gets extracted from the corresponding fn comments & gets updated in real time when/if the code changes.

> and on-line documentation should be implemented in my language, but it's available only in English.

this is tough. the user's manual is huge. it'd probably take a year for a pro translator to produce a meaningful result

the elisp manual is even bigger

the tutorial is available in multiple lang, though

>> M-x speedbar That displays a hierarchical file browser in a separate window, not a list of documents.

click w/ the rigth btn in the speedbar win: a popup menu will appear. select speedbar->displays->buffers

henry_flower··on Emacs 26.1 released
> Emacs is shit

pls don't say that :( there's exactly 0 ppl in the world who get paid for writing emacs. nobody is selling the editor as snake oil liniment that ought to remove all the grievances.

> No localisation

what do you mean? I can read/type in emacs in all 3 human lang I know/use daily.

> No tabs

true

although `M-x speedbar` can display the list of all open buffers in a vertical fashion

> Window cannot be maximised prior to setting some obscure option

I usually just press F11

> Menu items and buttons do not have underlined letters (i.e. accelerators)

true

> The vast majority of the options cannot be accessed through the menu

true

> or dialogues, instead you get a non-editable document with embedded buttons

why do you care if it's not a 'native' dlg? the mouse works. C-s works.

> Configuration is stored as code

hehehe

that's the whole point, m8!

> Keys cannot be rebound from the menu.

true

> The list could go on and on

I was hoping you'd mention the idiocy (I cannot find a more proper word) w/ buffers that have long lines. every time I open some 2MB xml file that was generated as 1 string, emacs suddenly becomes dog slow. this is what should be criticized, not the inability to rebound keys from the menu, imo.

henry_flower··on Python startup time: milliseconds matter

  $ time ruby --disable-gems -e 'puts "hi"'
  hi

  real    0m0.009s
  user    0m0.008s
  sys     0m0.000s
henry_flower··on Writing System Software [video]
I think the essence of any live streaming is an active chat; viewers ask questions, point out mistakes, &c. you 'engage' w/ your audience irt.
henry_flower··on A billion reasons never to buy IBM services
> the author's broad, unsupported generalizations

> surprised to see the author's use of "the Ukraine"

heh

just look up his linkedin; apparently he has spent his prime years working in Russia as some kind of tv producer there.

henry_flower··on Notes for new Make users
that's a wonderful mnemonic you have! I've quoted you in the updated version of the text (I hope you don't mind).
henry_flower··on Notes for new Make users
it's alright

besides, you're right, "ppl" and especially "2fold" were a bit too much :)

Page 1 of 3Next →