HNHacker News
TopNewBestAskShowJobs

eddieh

1,077 karma · joined September 27, 2013

- Software engineer. Indie dev. - Working on Virtual Controller - Follow my progress: https://github.com/SillyUtility/VirtualController

Writes posts and eventually halts.

submissionscomments
eddieh··on Proposal to add build graph output to GNU Make (2020)
GNU Make is pretty good about telling you why things are happening with -d

If you can get away with it use -rR to skip builtins, it makes the output of -d much nicer.

I usually end up running make with -rRd or -rRp when I want to inspect things. -d tells you why things happen and -p shows you what rules and variables are defined.

eddieh··on Google no longer producing high quality search results in significant categories
Honestly, I think a good search engine would hardcode the first two results to be the official website for "thing" and the wikipedia page for "thing" if they exist. Then it can list out the organic results. Just that change would make search 10X better than it currently is.
eddieh··on Google no longer producing high quality search results in significant categories
You're right. I've been complaining about Google results for more than a decade. Things keep getting worse. People used to dismiss my allegations, but I'm seeing more people noticing now days.
eddieh··on On Emacs 28’ context menu and Unix mouse-usage in general
> I wrote this mess

On the contrary, the simplicity of the styling and layout is honestly beautiful.

eddieh··on On Emacs 28’ context menu and Unix mouse-usage in general
Does your keyboard have a num pad? If so, then you're likely extending your arm to to far, bending your wrist at an odd angle, and relying on your shoulder to bear the weight of your arm when you use your mouse.
eddieh··on Emfy: Emacs for You – Quickly set up vanilla Emacs for editing
I’m running the Yamamoto Mitsuharu version of Emacs.app so maybe it is patched to ignore (menu-bar-mode 0).

I recall having my menu bar disappear on some other version of Emacs.app in the past, but I think it was from setting menu-bar-lines to 0 in the frame properties.

eddieh··on Emfy: Emacs for You – Quickly set up vanilla Emacs for editing
But I sometimes run X on Mac and I find it helpful to change a few things for Emacs compiled for X vs Emacs.app
eddieh··on Emfy: Emacs for You – Quickly set up vanilla Emacs for editing
Or the even newer XDG-compatible ~/.config/emacs/init.el
eddieh··on Emfy: Emacs for You – Quickly set up vanilla Emacs for editing
I guess I didn't get the memo. I don't see what was wrong with `window-system' as it allowed stuff like `(eq window-system 'mac)' and `(memq window-system '(mac ns x))' which is nice if you're using different OSs/environments and need tailor your config.
eddieh··on Emfy: Emacs for You – Quickly set up vanilla Emacs for editing
May I suggest

    (unless window-system (menu-bar-mode 0))
That way the menu is only disabled in the terminal. Beginners might find the menu useful when running a GUI on Windows or Linux—I certainly don't mind the menu on macOS as it is always there for Emacs.app (regardless of the value of menu-bar-mode).
eddieh··on Redo: A recursive, general-purpose build system
As I have been saying for years: make is the worst build system, except for all the others.
eddieh··on Italian Courts Find Open Source Software Terms Enforceable
The corollary: reasonable people avoid GPL code at all costs.
eddieh··on FreeBSD Jails for Fun and Profit (2020)
Okay, I'll admit I just want it to be more like Plan 9. sysctl, ioctl, fcntl, sockets, could all have a file based interface. Maybe it isn't any better.
eddieh··on FreeBSD Jails for Fun and Profit (2020)
Wow. Name calling, especially such wholly inappropriate and inflammatory name calling, is way outside the norms here on HN.

With brand ambassadors like yourself is there any wonder why I and many others want nothing to do with GNU or the FSF?

eddieh··on FreeBSD Jails for Fun and Profit (2020)
It doesn't have to be procfs, but it would be nice to have a /proc like interface.
eddieh··on FreeBSD Jails for Fun and Profit (2020)
Lack of GNU stuff would be a selling point.
eddieh··on FreeBSD Jails for Fun and Profit (2020)
macOS would definitely benefit from adding support for jails and a whole host other features like procfs, unionfs, bindfs, tmpfs, etc.
eddieh··on Nextspace: a desktop environment that brings a NeXTSTEP look and feel to Linux
Having just built Motif and mwm (the Motif window manager) I can safely say that this looks nothing like Motif or CDE.

https://twitter.com/haltingproblems/status/14306551043491389...

eddieh··on Ask HN: Has Google search become quantitatively worse?
I’d love to take a stab at it. I think there are ways to monetize it that don’t involve advertising (at least enough to cover salaries and infrastructure). The only reason I haven’t is I don’t have access to the initial capital.
eddieh··on Setting up Gmail in Doom Emacs using mbsync and mu4e
And for Gmail specifically you might want to look at the mbsync option PipelineDepth

As noted in the .mbsyncrc gist:

> The value is "used to limit average bandwidth consumption (GMail may require this if you have a very fast connection)." Turns out the same is true for iCloud. There's probably some optimized value greater than "1" that can be used, but this works for me.

I actually have it set to 5 now.

eddieh··on Setting up Gmail in Doom Emacs using mbsync and mu4e
You might want to store application specific passwords in the Keychain.

Here is how to do it in .mbsyncrc

https://gist.github.com/eddieh/8c853c6cf8ffb3ad87e0720eb50f8...

And here is how to do it in .msmtprc

https://gist.github.com/eddieh/5b4df4a8a98ea202e6ebb020871b0...

eddieh··on Old towns eager for new blood sell Italy homes for $1
So what you’re saying is there’s a market for innovative ISPs and HVAC installers?
eddieh··on Debian's Which Hunt
I do have SIP disabled for DYLD_LIBRARY_PATH and a handful of other things, but macOS still says /usr/bin/command is on a read-only file system.

[edit]

Not hard to remount root as writable

    $ sudo mount -uw /
    Password:
    $ sudo mv /usr/bin/command /usr/bin/command.save
    $ tcsh
    % command -v command
    command: Command not found.
    % command -V command
    command: Command not found.
    % 
Now reversing the changes

   % exit
   exit
   $ sudo mv /usr/bin/command.save /usr/bin/command
   $ sudo mount -ur /
   mount_apfs: volume could not be mounted: Invalid argument
   mount: / failed with 66
Looks like I'll have to reboot to get the read-only state back.
eddieh··on Debian's Which Hunt
tcsh on my system:

    $ tcsh --version
    tcsh 6.21.00 (Astron) 2019-05-08 (x86_64-apple-darwin) options wide,nls,dl,bye,al,kan,sm,rh,color,filec
    $ tcsh
    % command -v command
    command
    % command -V command
    command is a shell builtin
    % builtins | grep command
    %
eddieh··on Xorg-Server 21.1.0
Okay, my bad. I just tried a pre-Meson version of Mesa and you're right. I thought that Mako was some Meson extension...I didn't really look into it much. I was just annoyed when the build broke and Meson printed a message that looked like it was missing a dependency. Then I was doubly annoyed when pip told me Homebrew (or Linuxbrew) would break in the future. It seemed like Meson was a PITA, but that was my first experience with it. I was wrong and I apologize.
eddieh··on Xorg-Server 21.1.0
I believe that's correct.
eddieh··on Xorg-Server 21.1.0
Hi, I was recently trying to make some improvements to the build for XQuartz, which in turn was so I could make some changes to XQuartz and fix some issues with recent macOS changes too.

While I made some progress, it took much longer than I anticipated. I wonder if there's demand enough for X server on macOS to justify this work? Additionally, I'd have to find some funds to support my work as well, if I were to continue.

eddieh··on Xorg-Server 21.1.0
Okay, but builds can require additional python modules. Mesa requires Mako and won’t build without it.
eddieh··on Xorg-Server 21.1.0
Had to deal with this recently, Homebrew on macOS though. Meson build failed. Had to manually install Mako with pip, which also installed MarkupSafe. Then bitched that Homebrew (or Linuxbrew) will break in the future for some reason. So next time I build X, I can look forward to that. :/
eddieh··on Xorg-Server 21.1.0
Building X was already complex and annoying. While I hate autotools, I didn’t find Meson to be particularly better. If anything this is a lateral change. Instead of m4, shell, and makefiles, Meson has python, some python packages (managed with pip), and ninja. I guess Meson is faster, but I’m not convinced that justifies changing the build system especially since the speed up isn’t too significant.
← PreviousPage 3 of 15Next →