News for hackers. Stuff that matters.

maddyboo

Re:An intro to finding things in Linux on Tuesday November 23, 2021 @02:41PM (#29322336)
Also = when prefixed with a space, which works basically like `command -v`, expanding to the full path of the executable. For example `echo =grep` results in `/usr/bin/grep`.
Re:.plan on Wednesday November 17, 2021 @02:12AM (#29250020)
On plan.cat/stdin it shows just such an incantation:

    T=`mktemp` && curl -so $T https://plan.cat/~YOUR_USERNAME && $EDITOR $T && \
      curl -su YOUR_USERNAME -F "plan=<$T" https://plan.cat/stdin
It worked for me ¯\_(ツ)_/¯
Re:Cellular Automata in F# on Saturday November 06, 2021 @09:03PM (#29135443)
I don't know F#, but from what I gather it's very similar to OCaml which I do. To put it bluntly, after OCaml, most other languages feel ugly. OCaml is my idea of what programming should be: graceful, ordered, well-designed, mathematical, yet practically applicable to real-world problems.
Re:Why Tokyo Works on Saturday November 06, 2021 @08:32PM (#29135246)
Except for the "everything is just so great" part.
Re:Photoshop’s journey to the web on Tuesday October 26, 2021 @12:41PM (#29002642)
This isn’t what I meant when I asked you for Linux support, Adobe!
Re:Self studying the MIT applied math curriculum (2019) on Sunday October 24, 2021 @03:33PM (#28981144)
Excellent intro comic, it got me really excited about your product! I would love to try it out once you release a more advanced course. I signed up, hopefully you will send e-mail updates as you release new courses.
Re:Hetzner Apple Mac Mini Offering on Tuesday October 19, 2021 @11:58AM (#28919598)
Source?
Re:Show HN: I built a sonar into my surfboard on Monday October 18, 2021 @12:38AM (#28902275)
Super cool!

P.s. it seems the repo with the code is private.

Oops

> Connection failed: User 'u126801970_ortingo' has exceeded the 'max_user_connections' resource (current value: 15)

Obsidian may be Electron, but it doesn’t feel like it to me. It’s fast, smooth, and I’ve never noticed excessive memory usage. I think its quality exceeds most fully native apps, especially on Linux.

Last I heard it was built entirely by two people (and two cats). What’s a better way to build a high quality native-ish application targeting 5 platforms with a team of 2?

Re:Pursue High-Quality Leisure on Sunday October 17, 2021 @04:02AM (#28894773)
> chill and relax

> don’t need thinking

You seem to be seeking proxies for the effect of not thinking, putting your mind and body at ease, and letting go. Have you given meditation a try? Anecdotally, it can fulfill these needs in a way no other semi-conscious activity seems capable.

Re:Showing GUIs from Shell Scripts on Wednesday October 13, 2021 @03:27AM (#28849292)
I like yad[0] for this. For example, I use it to present a GUI color picker to change/insert colors in Vim (via a plugin called vCoolor[1]). I also use it in some i3/sway scripts that need user input or to show a progress bar.

[0]: https://github.com/v1cont/yad

[1]: https://github.com/KabbAmine/vCoolor.vim

Does anyone know of any similar magic for turning an RPi into a Chromecast?
Re:The Mind Has No Firewall (1998) [pdf] on Saturday October 09, 2021 @11:09PM (#28815424)
Down the Wikipedia Rabbit Hole we go:

> During the initial run of [A Fish Called Wanda], a Danish audiologist named Ole Bentzen died while laughing during a screening, which led newspapers to report that he had died from laughter. The official cause of death was heart fibrillation, which may have been caused by an increased heart rate due to extended laughter. Cleese considered using the event for publicity, but ultimately decided it was in too bad taste.

https://en.wikipedia.org/wiki/A_Fish_Called_Wanda#Death

Re:Pocket P.C. – Ships first dev units on Saturday October 02, 2021 @12:52AM (#28726054)
Reminds me of the ClockworkPi[0]. Is there a name for this form factor?

[0]: https://www.clockworkpi.com/

Re:Footnotes now supported in GitHub Markdown on Thursday September 30, 2021 @10:40PM (#28713896)
It’s the “wrong element” but if the goal is to scroll to a given vertical position then it works.
I mostly agree, but one really nice feature FF has is the ability to see a diff of the CSS properties you've changed in the inspector:

https://developer.mozilla.org/en-US/docs/Tools/Page_Inspecto...

Re:Nginx Playground on Friday September 24, 2021 @11:42PM (#28650306)
Absolutely. Julia is amazing. All of her work on Wizard Zines is so positive, helpful, approachable, and yet has enough depth that everyone from beginners to experts can learn something. She is an Internet Treasure for sure.
Re:Slacktyping: I'm typing when you're typing (2018) on Thursday September 23, 2021 @09:19PM (#28637598)
That’s not stupid, that’s really cool!
Re:Confessions of a Michelin Star Inspector on Wednesday September 22, 2021 @02:42AM (#28613674)
Most things in Japan seem to come with less pretense.
Re:Show HN: I built four eight-foot-long handwriting robots on Sunday September 19, 2021 @08:00PM (#28589100)
See also the LongPen, conceived by author Margaret Atwood for remote book signings. I particularly like the name because it sounds like something out of her fiction.

https://en.wikipedia.org/wiki/LongPen

Re:Bestline: Light self-contained readline alternative on Sunday September 19, 2021 @02:24AM (#28582124)
It would be cool to see a version of rlwrap [1] (blwrap in this case?) using this library.

[1]: https://man.archlinux.org/man/rlwrap.1

Re:The pitfalls of using SSH-agent, or how to use an agent safely on Saturday September 18, 2021 @05:51PM (#28579672)
I like to use GPG-agent’s SSH agent emulation [1]. I start the agent with a systemd user service and have the keys expire after something like 10 minutes. A benefit is that it uses a GUI pinentry dialog to ask for your password if the requesting program doesn’t have stdin from a terminal, e.g. if I try to git push from Fugitive inside vim. I find that GPG-agent is more intuitive and less finicky than SSH-agent.

[1]: https://wiki.archlinux.org/title/GnuPG#SSH_agent

Seconded, I’d like to incorporate it into a project of mine.
> It’s a shame that the punctuation of human languages can’t be logical.

    s/the punctuation of //
This looks cool! I would be concerned about the privacy of my communications, though, since your service is essentially a MITM. What have you done to address privacy concerns? Your privacy police seems like boilerplate and doesn’t address anything specific to your service.
Re:Raspberry Pi Nixie Atomic Clock on Thursday September 09, 2021 @02:49AM (#28467015)
Dalibor has a YouTube channel where he publishes super interesting videos about the production and R&D processes. Highly recommend.

https://www.youtube.com/channel/UC0IY1BQiMehWMvezqWLyk4g

Re:Migrating from Docker to Podman on Saturday September 04, 2021 @03:08PM (#28418101)
I wrote a little tool to make creating and interacting with systemd-nspawn containers easier (on Arch Linux only right now):

https://github.com/b0o/arch-lwc

Not intended for any sort of production. I personally use it to run Firefox inside a container and for testing.

Re:Adapting the OCaml Ecosystem for Multicore OCaml on Wednesday September 01, 2021 @07:24AM (#28378458)
Also interesting: the new OCaml website is built with ReScript, the rebranding of ReasonML.

Older »