HNHacker News
TopNewBestAskShowJobs

michael-ax

118 karma · joined January 19, 2018

submissionscomments
michael-ax··on Gobolinux : Redefining Linux filesystem hierarchy
in other words, they haven't thought to make the damn name and case-sensitivity preferences configurable. how odd is that.
michael-ax··on PostgreSQL's Missing DateDiff Function
one is counting distance, the other one buckets. alias the fn name to datebucketdelta to make the different problems memorable individually. :)
michael-ax··on An iframe from googlesyndication.com tries to access the camera and microphone
fwiw, there's a switch in every ext. mic. jack.

plug in an un-wired connector, cut of the wiring post, smooth with a nail-file or put on a crowning drop of glue so it won't rip your bag and you're done.

michael-ax··on An underrated idea: the priority view
now you're touching on the limits of knowledge of those making choices and might be tempted to rate them. that's out of scope for the deciders at that level, the parents in that story. ... the point is that they know the situation best. and that utility lets them quantify the subjective to test-run the rationalizations going into their decisions.

e.g. "maximising sum(log(utility))" like the comment on the article said. the only thing strange here is that philosophy deals with qualitative, not just quantitative domains. thus they tell these stories. :)

michael-ax··on An underrated idea: the priority view
think of it as a label for the process by which you decide to prioritize cleaning up different areas of your house -- and utility becomes a rational and humanizing thing.

using it to prioritize your relations forces you to grapple with subjective and irrational things such as personal prefs, aspirations etc. so.. also rational and humanizing.

this leaves using it to mess with others without them participating in weight-setting (democracy as a weight discovery mechanism?), that's where it gets messy.

i fail to see where any of the three facets above make it humiliating to see where 'by priority' the most relative improvement can be made. i mean, this is all just fine talk about something innate to nature, no?

michael-ax··on Batteries included with Emacs (2020)
emacsclient can also talk to multiple emacs-servers by name. this is awesome to keep different sets of buffers available.

also, there's zile.

michael-ax··on Batteries included with Emacs (2020)
to operate and use a tui like emacs with confidence and start typing at the speed of thought:

consider putting a photo of your keyboard next to your screen and painting the keyboard a nice uniform black.

your body-mind's intelligence will swiftly learn to position your hands and coordinate your/its fingers without adding things to unlearn later.

the photo of your keyboard near where you are focusing when looking at the screen makes a huge difference, one could start with just that.

michael-ax··on QOI: Lossless Image Compression in O(n) Time
definitely ubiquitous.

we applied rle encoding for time-series and triac control systems 43 years ago after getting some guidance from a mainframe guy - but since RLE is practical so that we even use it to give direction to people on the street, its probably so old that its even found its way into the way our genes are encoded. :D

michael-ax··on QOI: Lossless Image Compression in O(n) Time
its not 'significantly better'.

but also ask "why are the tables of content prefixing the contents of all my books?"

its taken ages, but with this model, c lib authoring has finally taken something that was a core strength of pascal: single-file modularity.

though in theory there's no difference between theory and practice, in practice, there is. and this kind of packaging makes a lot of sense for a lib like this.

michael-ax··on The Skill of Org Design
ask your suppliers and customers?
michael-ax··on Terfenol-D
throw when heavy, pull when light. its crazy.

https://www.scientificamerican.com/article/the-good-kind-of-...

https://owlcation.com/stem/What-is-the-Mass-Effect-Gravity-A...

michael-ax··on Terfenol-D
I'm proud of everyone else that picked up on the piezo analogy! so cool! Here's a deeper look on the idea and the mass-change experiments:

https://owlcation.com/stem/What-is-the-Mass-Effect-Gravity-A...

edited to add video and sciAm paywall links:

https://www.youtube.com/watch?v=_INqXPFdJM8

https://www.scientificamerican.com/article/the-good-kind-of-...

michael-ax··on Computational hierarchy of elementary cellular automata
are you aware of any voxel-space toys that can run these? 'cause i think that -- as volumetric beings, we need that space to think right. will check out the vids. tyvm!
michael-ax··on Notcurses 2.4
fine, very fine, a new/better fb-terminal is a good thing;

still i wonder if this thing couldn't embed itself into a bash-process and serve tui frames with a scriptable curses api so that you could, for ex, have some tabs and buttons and graphs on a system status app

it could bring inversion of control to node and any kind repl .. so that instead of away from a term-info and term-cap standard, one would move toward curses as an acessible tui/gui metaphor, or at least toward something that makes sense without constant apologies for the past.

maybe i'm not using the right words, but it seems to me that hacking this up so it can be stuck into bash so that its api appears like any other language extension would make notcurses a highly desirable dependency for just about any project!

michael-ax··on Abusing the Chromium Devtools Scope Pane
the links you want: https://weizman.github.io/?javascript-anti-debugging-some-ne... https://github.com/weizman/awesome-javascript-anti-debugging
michael-ax··on Extreme Ironing
so ein quatsch!
michael-ax··on PAM Duress – Alternate passwords for panic situations
why do passwords cover accounts not scopes?

if passwords also covered account scopes -- which is what this tool enables one to monkey-patch into the OS, i could give you my password so you could gorge on my code without me having to worry about you reading my journals or abusing ~/.ssh

other than that, i second your notion.

I'm thrilled by the idea of using passwords to switch between the sorts of things i do without having to log-out.

michael-ax··on PAM Duress – Alternate passwords for panic situations
Thank you, I think I'll rig that up.
michael-ax··on PAM Duress – Alternate passwords for panic situations
Yes, those _are good, i have an Alt-F9 alternate desktop for guests, but a 2 letter password for her to bypass the screen-lock and change the music or something would in fact remove my sometimes duress, i think..
michael-ax··on PAM Duress – Alternate passwords for panic situations
perhaps i could use that as a screensaver password to share with my girlfriend? it would close spreadsheets, emacs, un-mount journals and personal drives. PAM's used to reauth from the screen-saver, right?
michael-ax··on WinFsp – Windows File System Proxy
i'd love one for keepass and https://www.presslabs.com/docs/code/gitfs/ :)
michael-ax··on Unison Programming Language
I'd love to see this in c, for scheme/racket.
michael-ax··on Ask HN: 90s programmers, what did you expect the future of tech to look like?
I was hoping for more even better UI's designed by programmers
michael-ax··on Zsync: Differential file downloading over HTTP using the rsync algorithm (2010)
yes, now imagine you could have the performance benefit of pre-computed hashes for that rsync process .. and we'd have zsync. :)
michael-ax··on Zsync: Differential file downloading over HTTP using the rsync algorithm (2010)
Why am i thinking that an auto-generated wikipedia/.zsync file could be the best way to maintain local copies of that site and others like it?

Server-side maintenance/generation of .zsyncs might be transformative wherever replication is desirable, no?

michael-ax··on The Global Chessboard
An orbital perspective on 2..3..4..5000 years of human history in a 10 minute read. What's not to like?
michael-ax··on Show HN: fcp – A significantly faster alternative to cp(1), written in Rust
https://www.unix.com/man-page/mojave/2/fclonefileat/

summary: this is a nice cow/cloning wrapper for use on a single ssd partition!

-- but cloning not copying between volumes or partitions is .. and when you actually want to copy with fcp, it can be very slow as detailed in other comments.

michael-ax··on Modulinos in Bash
put your tests into the module!

. . # exit when sourcing [ "$0" == "${BASH_SOURCE[0]}" ] || return 0

echo "Tests for [$0]" . .

this way you'll wind up able to load/source globs of reusable self testing code into the global namespace with ease.

add a [ -n "$1" ] && { undef and exit } block at the top of the file where you document the names you're using as you would in a header.c and packaging your code for reuse becomes easy.

at last count i have 19 such modules in /ops/bash. they are immensely useful to help me remember this atrocious language :)

michael-ax··on GitHub – nushell/nushell: A new type of shell
seems nu can do a lot of otherwise horrid sed/awk/cut/etc parsing for bash. that is great!
michael-ax··on Let web applications be file handlers
>the discord client in chromium.

running in-browser is not the same as installing their electron client.

← PreviousPage 2 of 4Next →