HNHacker News
TopNewBestAskShowJobs

farhaven

222 karma · joined July 11, 2015

submissionscomments
farhaven··on 9front “The Golden Age of Ballooning” Released
Yes. There's [acme-lsp](https://github.com/fhs/acme-lsp) for providing language server integration and things like "jump to definition", "show hover-help" and so on.

I personally use `autokey` on Linux and `sxhkd` on macOS for adding a key binding for `acme-lsp`'s `Lcomp` command which performs completion.

There's also [Watch](https://pkg.go.dev/9fans.net/go/acme/Watch) for monitoring a directory of files for changes and running a command in a persistent Acme window. I use that for continuously running unit tests while I edit some piece of code, or for automatically running `go generate` and such.

For your REPL needs, there's the `win` command that implements a basic dumb terminal as an Acme window. This provides a few goodies like letting you edit the terminal buffer with Acme's `Edit` command and its embedded Sam command language, as well as adding "snippets" that can be executed with one click of the middle mouse button.

Acme by itself is already plenty useful (`win` is part of the "standard distribution" so to speak, in that it is part of the various Plan9 forks and of plan9port), and a lot of extra stuff can be built rather quickly by hooking into its 9p interface:

For example, my tool to add commonly used tools to the tag (the blue line at the top of each text window that contains the file name and commands that act on the window) is a handful of lines of shell script that parse entries in acme's `acme/log` file and select the appropriate tools to add based on the name of newly opened files.

My Git integration is a thin wrapper around `win` and `git commit --interactive` that pops open a window that allows me to author a Git commit similar to (but a lot simpler than) magit for emacs and fugitive for Vim work.

Even if you're not in Plan9 (or one of the forks), I encourage you to give [plan9port](https://github.com/9fans/plan9port)'s Acme a spin.

(FWIW, this post was written in an Acme window because it's a lot more intuitive to use after some getting used to than regular ol' GTK text boxes used by Firefox.)

farhaven··on Call for Participation to Chaos Computer Club’s 37C3
The sibling already answered in broad strokes. For the current congress, you're probably too late. Organizing the thing started, if I remember that correctly, somewhere around May/June this year.

There's multiple levels of organization, grouped under the various *OCs (Foo Operations Center), the best place to get to know them and get involved is at the congress through angel shifts. The second best place is probably to hang out in the various German/Swiss/Austrian hackerspaces during the year and getting to know people who are part of the orga.

farhaven··on Call for Participation to Chaos Computer Club’s 37C3
Who is this "Antifa" that you talk about? Are they in the room with us right now?

Calling the CCC a fascist organization is a pretty hot take that I haven't come across yet, I'll give you that, but as they say "extraordinary claims require extraordinary proof".

farhaven··on Call for Participation to Chaos Computer Club’s 37C3
Actually, there aren't really subcontractors. There _is_ a registered company called CCC Veranstaltungs Gmbh (CCC Events Inc.) which more-or-less owns a lot of the equipment (sound stages, lighting, ...) and nominally rents the venues and such, so that if the conference goes bust, there's a legal entity that can go bankrupt instead of individuals, but that's about it.

Food stalls are not hired by the CCCV GmbH, they pay to be there (and in turn get to dictate their prices), video streaming and such is handled by FEM e.V. (a non-profit that specializes in this kinda stuff) and is not paid (except for expenses, I think, but I don't have insights into that part of the finances) and truck drivers and such are actually volunteers.

"The people running this thing" are also volunteers. They do get a bit of money as an exchange for having to take unpaid vacations way in advance of the event for organizing stuff, but it's a far cry from "well paid". It's more of a "here's enough to not go broke on rent and food".

farhaven··on Call for Participation to Chaos Computer Club’s 37C3
Hamburg, they finally finished renovating the CCH.
farhaven··on Call for Participation to Chaos Computer Club’s 37C3
You mean the CCC that was founded in the rooms of leftist newspaper TAZ at a table that was stolen from the anarcho-left commune "Kommune 1"?

If you don't understand that the CCC is and has always been anti-fascist, you're way off the path, friend.

Edit: forgot to mention: any notion that Antifa is a state-organized thing is misguided at best and wrong and in bad faith at worst. It's just not true.

farhaven··on Writing my PhD using groff
FWIW, `latexmk` has a "Watch the sources for this document and rebuild if they change" mode builtin. It gets activated if you pass it the command line flag `-pvc`.
farhaven··on Ask HN: Has remote work made you procrastinate more?
I've been working mostly remotely for the last 10 years, I think if I remember correctly the only jobs I had an office at that I had to be physically present at were my very first job that I got immediately when I started attending university (held it for two years), and then half a year as a research assistant at the same university to bridge the gap between my 2nd job (that was already fully remote, as a research assistant) and my 4th job when I got my bachelor's degree.

All others have been remote (with a few days/year spent at the office at most). I like to think that I'm more productive at home because there the way I show my work is to actually produce visible results instead of being at a certain place for a certain amount of time. It's IMHO way easier to goof off at the office.

farhaven··on Killing the Command message: should we use Events or Documents? (2007)
Yep, getting a bunch of 404 for the pictures here
farhaven··on Adding a “duress” password with PAM Duress (2021)
I have a feeling that "Is pam_duress.so configured in any file in /etc/pam.d, and if so turn on a big red light" is a pretty trivial thing to add to those "plug the person's computer in here and have them log in to their machine to decrypt everything, otherwise they won't go through customs/leave our dingy bunker" solutions.

These duress passwords seem to be for kind of contrived scenarios, to me. Either your threat model is "someone breaks into my hotel room and steals my laptop", in which case it's useless, or "The $OpposingSideSecretService got me and hits me until I give them my password" in which case it seems to be equally useless.

farhaven··on Roblox has been down for over 24 hours
That reminds me of the first company I worked for. Rumor had it that a handful of their engineers got their hand on the Design Patterns book, read it, and decided on a single design pattern that they'd use for everything.

So many visitors...

farhaven··on Windows 11 still doesn't understand our complex lives – and it hurts
To be fair, Teams also doesn't unterstand "I don't want notifications for the next 48 hours". I think "not understanding that there is no 1:1 relation between a person at work at a specific computer" describes Microsoft and their products quite succinctly.
farhaven··on Rob Pike's Rules of Programming (1989)
Do you work at my company? Because I have a coworker that is always proposing _exactly_ that solution. No matter what issues the code has, for him its usage of MySQL is always "the worst moment".

Asking for benchmark just gets a repeat of "our worst moment is MySQL and we can solve that with some NoSQL cache".

farhaven··on Infinite Multiplayer Minesweeper
Yeah, adjustable viewport size is on my TODO list.

> Do not trust other people's flags though as they can be wrong - possibly intentionally.

Yes, this is intentional. I want to see how people start collaborating across very limited channels. Or how they start playing against each other :)

farhaven··on Infinite Multiplayer Minesweeper
1, 2, 6, 7: All good points, I've fixed those.

3: 64 bits are close enough to infinity :)

4: Good idea. Maybe something like a logarithmic curve on the number of discovered fields would be good.

5: Also a good point. I'll try to build that

farhaven··on Infinite Multiplayer Minesweeper
Good point. I'll fix that. Do you mind telling me your screen resolution? I think this problem may be more pronounced on relatively low-res screens.
farhaven··on Infinite Multiplayer Minesweeper
In a way, yes. It's fixed now.
farhaven··on Linux utils that you might not know
> Thus, I don't see why shred should be less effective in data=journal mode compared to the other journaling modes.

Because with data=journal, content that was previously written to a file (and made its way through the journal) might still be in there if the journal has not been replayed or garbage-collected in a while.

farhaven··on Emacs is sexy
I'd like to throw in the obligatory https://rms.sexy/
farhaven··on The Cult of DD
It wouldn't. It just won't be able to predict a file size.
farhaven··on The Cult of DD
On Unix, there's SIGINFO, which doesn't exist on Linux systems. That's why coreutils' dd uses SIGUSR1 instead.
farhaven··on The Death Penalty, Nearing Its End
Life in prison without the option of parole. Or, if the murder was caused by something like a psychotic episode or drug withdrawal, therapy in a closed facility.
farhaven··on A scammer stole $500 from me and in the end begged me not to tell his parents
I don't know, I'm 27 but for a lot of major decisions in my life, "what would mom and dad say about this" has been a factor.
farhaven··on What Danes consider healthy children’s television
Works fine from Germany. And now I'm watching bizarre Danish children's TV. There goes my day.
farhaven··on Philae Lander: “It’s time for me to say goodbye”
I don't think religion had anything to do with that decision.
farhaven··on Zenzizenzizenzic
> This term was suggested by Robert Recorde, a 16th-century Welsh writer

Well that explains it.

farhaven··on Native OpenBSD hypervisor hits -current
Many people with amazing selective reading abilities :)
farhaven··on Morpheus Linux
"sucks less" is a nod to the fact that all software sucks in some regard. Yes, also the software written by the suckless people. (It's also the motto of the mutt email client) Acknowledging that there is something wrong is the first step to making better things. Also, IMHO "We aim to do stuff that sucks less" is a bit more humble than saying "We aim to write better software", but in the end, both probably mean the same thing.
farhaven··on Ask HN: Who wants to be hired? (August 2015)

  Location: Paderborn, Germany (will likely move to Aachen before October 1st)
  Remote: Yes
  Willing to relocate: No
  Technologies:
    Languages: C, C++, Python, Lua, Go;
    OS: OpenBSD, Linux;
    other technologies: I think I can learn most of what
      I need to get a job done. Am not afraid to ask for
      help :)
  Résumé/CV: https://github.com/farhaven
  Email: gbe@unobtanium.de
I'm currently finishing my Bachelors Degree in Computer Science and will likely start my Masters at RWTH Aachen this winter semester. I've lived and breathed Unix (mostly OpenBSD with some FreeBSD intermingled) and Linux most of my computing live. I'm a fast learner and open for most areas of work if they're interesting. Previous job experiences include developing an energy efficient disk based user space RAID library with an integrated file system, that sadly didn't make it to market. Most work experience has been in academia. Currently working on a project that allows running different kinds of software defined networking applications on a common controller (I mostly do "plumbing" work).
farhaven··on Vim: Takeaways from One Year of Typing
It can be used with the mouse though, through `:set mouse=a`. I sometimes use it for quick jumping, because yeah, `45G6w` will also get me where I want to be but if the cursor happens to be near where I want to end up, clicking is just easier.
← PreviousPage 2 of 3Next →