HNHacker News
TopNewBestAskShowJobs

mmphosis

6,512 karma · joined May 29, 2008

that crimson space between http://images.fogus.me/blog/lisps.png
submissionscomments
mmphosis··on Ask HN: How can I find something worthwhile to do?
Thanks for the question. Here are some ideas: unlock yourself, go outside, go for walks, and do "nothing."

Watch what happens. Appreciate even the tiniest things, breathing, that you might observe or do. Be especially grateful that we don't have any problems. I strive for mediocre. Remember that the TAB key on your keyboard stands for: Take A Break.

mmphosis··on No more boot loader: Please use the kernel instead
> What kind of key are you using?

I want this because right now I use camera cards to boot. The key needs to be wired directly to the processor and be the first and only entry point. Instantaneous boot is what I want, not resuming from hibernation but "instant on" of the full system.

> What are you booting?

I am booting Linux, BSD, custom systems, lightweight bootstrap programs that do a specific task like diagnostics.

> On which architecture / machine?

Agnostic / various. For instance, instantaneously booting / running only on GPU(s).

mmphosis··on Firefox 128
Has this fixed the copy and paste bug?

I can't reproduce the Copy and Paste context menu entries sometimes disabled when they should not be bug since updating from 127.0.2 to 128.0

https://news.ycombinator.com/item?id=40886954

mmphosis··on No more boot loader: Please use the kernel instead
A removable physical key: a programmable ROM.

I have programmed the ROM to instantaneously copy my ROM to RAM and run. The entire system is running instantly as soon as I power on. There is absolutely nothing else.

Because everything else is a big mess:

Intel ME, BIOS, UEFI, kernels are signed by companies with Microsoft's blessing, EFI, FAT, TPM, anything with the word "Secure" in it, ...

mmphosis··on Ask HN: Is there any software you only made for your own use but nobody else?
Lots. They mostly perform automation, shortcuts: hotkeys, commands, scripts, aliases, functions, AutoKey, ... They've taken anywhere from years to minutes. The software gets used frequently or it gets deleted.

For example: p will do cat (or hexdump or ...) or ls depending on file (type) or directory. Let me show you shebang which is just a memory aid:

  $ show shebang

  .../bin/shebang
  #!/usr/bin/env sh
  head -n1 "$0"
mmphosis··on Ask HN: Where to sell vintage computers?
Running on the original hardware is a different experience than using an emulator. Also, you can test if your emulator is correct.

The old ones can have internet! They were mostly for playing games. There was far more software than Lotus123.

They look cool on a desk powered on. For instance, I have llamafile piping output to the Apple II.

mmphosis··on A Git story: Not so fun this time
UTF-8
mmphosis··on The Government has made an ad about existential threat AI poses to humanity
https://www.thejuicemedia.com/5680-2/

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

https://xcancel.com/thejuicemedia/status/1807308764875461101

mmphosis··on U.S. state welcome signs
Oh Canada!

https://commons.wikimedia.org/wiki/Canadian_province_and_ter...

mmphosis··on Meta LLM Compiler: neural optimizer and disassembler
https://xcancel.com/AIatMeta/status/1806361623831171318
mmphosis··on HyperCard Simulator
Either way, expect no HyperCard (or work-alikes) from Apple. But how about other vendors? What about open-source projects? Nothing there, either. Oh, there is no shortage of attempts. And all of them are failures for the same reason: they insist on being more capable, more complexity-laden than HyperCard. And thus, none of them can readily substitute for it.

https://www.loper-os.org/?p=568#selection-660.0-660.5

mmphosis··on HyperCard Simulator
The hamburger menu has "New Stack..."

You can also Sign in

https://hcsimulator.com/mmphosis/Stack

mmphosis··on Anybody have problems with bookmark organization like me?
I am finding that most saved bookmarks are simply not that important, until one of them is.

I don't use bookmarks in any of the browsers because I use different browsers and devices and they don't all sync and I actually don't want them to sync or sign in which can become a time sink.

If it's that important *today*, I manually save "One-liners & Links of the Day" chronologically month to month in a hand-coded HTML file which is my home page which can easily be accessed from all devices and browsers. If I go back in the chronology and frequently access a link, I might put it at the top of the home page under "Favourites / Recents / Frequents."

To answer your question, yes: I have problems with bookmark organization.

mmphosis··on Show HN: Keydogger – Minimal keyboard macro for Linux (Wayland)
There is AutoKey for Linux and X11.
mmphosis··on Please maintain eye contact for the duration of the ad

  Something went wrong, but don’t fret — let’s give it another shot.

   Firefox’s Enhanced Tracking Protection (Strict Mode) is known to cause issues on x.com
Not to single out twitter because a lot of web sites simply appear as a blank page.

The only winning move is not to play. How about a nice game of chess?

But if you must:

https://github.com/zedeus/nitter/wiki/Instances

At the moment, this worked for me:

https://xcancel.com/soren_iverson/status/1801253187602788424...

mmphosis··on Canada Sought to Be a Hydro Superpower. Now Its Rivers and Lakes Are Drying Up
https://en.wikipedia.org/wiki/Public%E2%80%93private_partner...
mmphosis··on Are We Living in the Roaring 20s?
No, I don't think nice round numbers like 20 or 100 years show a pattern. I like to think more in terms of generations: 15 to 30 years. I can't predict the future. Please take my 30 year time-line idea as numerology where similarly numbered years must resemble each other. It's broken into a decade each of boom-bust-war:

  1890 boom "Klondike Gold Rush"
  1900 bust "Panic of 1901"
  1910 war WW1
  1920 boom "Roaring"
  1930 bust "Great Depression"
  1940 war WW2
  1950 boom "Golden Age" [1]
  1960 bust [2]
  1970 war Viet Nam
  1980 boom "Long" [3]
  1990 bust [4] [5]
  2000 war Afghanistan, Iraq
  2010 boom [6]
  2020 bust [7]
  2030 war [8]
Of course, there are booms, busts and wars occurring at anytime. And some parts of the world might feel like they are in the future and some in the past.

[1] https://en.wikipedia.org/wiki/Post%E2%80%93World_War_II_econ... [2] https://en.wikipedia.org/wiki/Recession_of_1960%E2%80%931961 [3] https://www.hoover.org/research/ten-causes-reagan-boom-1982-... [4] https://en.wikipedia.org/wiki/Early_1990s_recession_in_the_U... [5] https://en.wikipedia.org/wiki/Dot-com_bubble [6] https://www.forbes.com/sites/chuckjones/2020/02/17/obamas-20... [7] https://en.wikipedia.org/wiki/Economic_impact_of_the_COVID-1... [8] https://www.rand.org/content/dam/rand/pubs/research_reports/...

mmphosis··on What to do if your car is submerged in water
I miss manual hand cranks for car windows.
mmphosis··on NetBSD for the Advanced Minimalist
After many years, I've got OpenBSD working. I think that the trick was booting from Legacy BIOS. I do like the minimalism.
mmphosis··on I don't think the cheapest APC Back-UPS units can be monitored except in Windows
You are correct. The input on the wall wart is 100-120vac 1.5a (150watt to 180watt) but the output is only 12.0vdc 4.6a:

  55.2 watts
The "xFi Advanced Gateway (XB7)" router is definitely warm to somewhat hot on the outside. The AC here varies from 118vac to as high as 126vac (maximum rating.) Right now it's at 122vac. I think my 185 watt number might have been 123.3vac x 1.5a, or maybe it was the previous "xFi Advanced Gateway (XB6)" which was also a chimney.

I am not an ISP. We work remotely — there is no fiber here yet.

mmphosis··on I don't think the cheapest APC Back-UPS units can be monitored except in Windows
I call it "the chimney."
mmphosis··on I don't think the cheapest APC Back-UPS units can be monitored except in Windows
We get a lot of power failures. I use laptops, but for other non-battery powered equipment, I have a BN1500M2-CA with a raspberry pi running debian plugged into one of the USB charging ports and the USB Data Port cable connected from the UPS to the raspberry pi. It keeps my ISP's 185 watt router going for longer than the ISP's switches will stay up when the power is out. I get more than 3 hours with the router and a 4K monitor plugged into the UPS. I remember seeing NUL characters in the text of an old log, but otherwise apcupsd works well:

  2024-01-30 08:15:13 -0800  Power failure.
  2024-01-30 08:15:19 -0800  Running on UPS batteries.
  2024-01-30 08:20:06 -0800  Mains returned. No longer on UPS batteries.
  2024-01-30 08:20:06 -0800  Power is back. UPS running on mains.
  2024-02-04 12:52:58 -0800  Power failure.
  2024-02-04 12:53:04 -0800  Running on UPS batteries.
  2024-02-04 12:54:04 -0800  Mains returned. No longer on UPS batteries.
  2024-02-04 12:54:04 -0800  Power is back. UPS running on mains.
  2024-02-18 12:10:13 -0800  UPS Self Test switch to battery.
  2024-02-18 12:10:21 -0800  UPS Self Test completed: Battery OK
mmphosis··on Lode Runner (HTML5 Remake)
The original loaded pretty much instantly. Software of that era didn't have minutes long "Loading ... Please Wait" screens for everything.

Also, the original didn't <s>try to data collect</s> ask to enter a name. For some odd reason, it took a while to get past this annoying dialog box on this web game.

On the original, the player would keep running whereas this new game is laborious in that you need to hold down keys to keep moving. The original keyboard layout is:

  UIO =  dig  up  dig
  JKL = left down right
mmphosis··on A Brainfuck interpreter written in PostScript
https://imgur.com/bQ1JlIQ.png
mmphosis··on test, [, and [[ (2020)
They are different binaries on Linux Mint!

  # file /bin/test /bin/[
  /bin/test: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=6fe552c80ab0b3d3e60de2ab09167329e222eb67, for GNU/Linux 3.2.0, stripped
  /bin/[:    ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=99cfd563b4850f124ca01f64a15ec24fd8277732, for GNU/Linux 3.2.0, stripped

  #/bin/test --version
  #/bin/[ --version
  [ (GNU coreutils) 8.30
  Copyright (C) 2018 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.

  Written by Kevin Braunsdorf and Matthew Bradburn.
Built with LBRACKET or not ...

https://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;...

mmphosis··on Xa: Open-source 6502 cross assembler
There are so many 6502 assemblers. Here's a few: https://web.archive.org/web/20151021054219/http://hoop-la.ca...

There are so many, I don't even know which "tass" you are asking about. 64tass?

https://sourceforge.net/projects/tass64/

64tass looks really good as it supports 6502, 65C02, R65C02, W65C02, 65CE02, 65816, DTV, 65EL02, 4510. I use Merlin32 which supports 65816, but I pretty much stick to 6502. I do use xa from time to time. Others have mentioned ca65 which is popular and can support macros and lots of other things that make it incompatible with other assemblers.

Advantages for no 6502 assembler in particular because there are so many available!

* compatibility, ease of use, ease of install, ease of building from source, portability, size, speed, lack of dependencies, vintage, hack-ability, written in $MY_PROGRAMMING_LANGUAGE ...

mmphosis··on Ask HN: What are you passionate about at the moment?
cold water surfing

https://www.surfline.com/travel/canada/british-columbia/regi...

mmphosis··on Ask HN: Good practices for my first C project?
pointers and arrays. bounds checking. C is a loaded footgun, careful

don't prefix with scope letters, avoid globals. naming can be difficult, but really succinct names are so helpful.

avoid prefixing, and avoid exposing a plethora of functions or creating them in the first place. delete these five words

first in, last out. there are many strategies

sadly, whatever horrible text editor is on the machine that I am using. I am working on creating my own text editor / programming editor

Variable Length Arrays (VLA.) I had to look that up. avoid features, keep it simple. try other ways, measure the cost

it absolutely matters that error handling works. failure is not an option, it's an opportunity. handle all errors, and avoid creating more

Undefined behavior (UB.) avoid acronyms and avoid undefined behavior. use all the tools that you can muster

mmphosis··on Ask HN: What Is GNU?
To me, GNU is usually a lot of the commands that I use within Linux, or operating systems like BSD.

https://www.gnu.org/software/coreutils/

I am more into programming than philosophy, but the term "free software" figures prominently with GNU.

https://www.gnu.org/software/software.en.html

GNU Herd is around but it is not as prevalent as the Linux kernel.

https://www.gnu.org/software/hurd/

Linux is the kernel and it can access hardware and provide a stable interface to the hardware, and GNU is software. Thus, you'll hear the term GNU/Linux used to describe the operating system. A GNU/Linux operating system being: the GNU operating system commands and the Linux kernel. With these systems, you've got lots of options. You don't have to use GNU, you could just install something like busybox that gives you similar commands to GNU coreutils.

I believe one of the most important pieces of GNU software is the GNU Compiler Collection (GCC.) You can use a GNU/Linux operating system without having GCC installed. To actually build the Linux kernel, compiler tools are required. From Linux's start in the early 1990's that was GCC, although now other non-GNU compiler tools are used as well.

https://www.linuxfromscratch.org/lfs/view/stable/chapter01/h...

https://gcc.gnu.org/

I don't know much about Slackware, but I would imagine you could install GNU commands in Slackware.

You usually need to run an init program to get things started. This could be the init program for s6, OpenRC, runit, busybox-init, systemd, or another init system. Pick one, although the Linux distro usually picks it for you.

My operating systems are a mish-mash of startup managers, kernels, init systems, system commands including a lot of GNU software, networking software, desktop software, audio and video software, games, virtual machines, emulators, you name it.

mmphosis··on My Unhealthy Relationship with Keyboards
I am a longstanding Mac OS X user that wishes Linux had an easy way to remap modifier keys. For now, I've settled on having keyd installed:

  /etc/keyd/default.conf

  [ids]

  *

  [main]

  leftalt = layer(control)
  leftcontrol = layer(alt)
With AutoKey, I can swap Alt and Ctrl keys for Terminal apps and make my remapped ⌘C and ⌘V work as I expect.
← PreviousPage 4 of 28Next →