HNHacker News
TopNewBestAskShowJobs

fernly

3,250 karma · joined August 2, 2012

submissionscomments
fernly··on Steve Roberts: Computing Across America
You can see BEHEMOTH at the Computer History Museum in Mountain View, CA. It's just past the Lisa and opposite the Palm Pilot display.

The pictures in the catalog entry were taken in a warehouse. The bike is displayed much more nicely than these show.

https://www.computerhistory.org/collections/catalog/L2003.20...

fernly··on Teaching ChatGPT to speak my son’s invented language
It appears not: "vaguely grammatical and has some of the right words" according to someone who actually knows:

https://www.reddit.com/r/lojban/comments/12i0d0i/chatgpt_app...

Not surprising, given it would have seen many orders of magnitude less Lojban training data than its English input (basically two books and maybe a few megabytes of web pages).

fernly··on Teaching ChatGPT to speak my son’s invented language
Oh I wish I had time to train it on one of my old hobbies, Lojban!

https://lojban.io/

https://mw.lojban.org/papri/Lojban

fernly··on The average American has the same life expectancy as the worst part of England
Thanks, but the link has "expired".
fernly··on San Jose police union executive director charged with smuggling fentanyl into US
Coverage from the San Jose Mercury News, 3/29:

https://www.mercurynews.com/2023/03/29/san-jose-poa-office-m...

> SJPOA spokesperson Tom Saggau ... was shocked to learn about the allegations swirling around Segovia, who he has known as a beloved figure in the office for over 20 years.

> “She was looked at as the grandma of the POA,” he said. “She’s the one who planned all the funerals when we had officers killed in the line of duty...

fernly··on Capabilities of GPT-4 on Medical Challenge Problems
In the full paper[1] read the examples of GPT-4's actual responses, e.g. Figs 3.1 and 7.1 and forward. Very, very impressive.

[1] https://arxiv.org/pdf/2303.13375.pdf

fernly··on Robot Learns to See in 30 Minutes (2022)
Puts pack mules out to pasture. (Non-trivial application.)
fernly··on The series of fortunate astrophysical events that gave us Ceres
Regarding the remarkable points about AL-26,

"Meanwhile they were heating up, mainly from the radioactive element Aluminum-26. ... this hot stuff’s radioactivity is short-lived: With a half-life of 700,000 years, it was basically all used up, or extinct, within 2 or 3 million years."

So why was there a significant amount of it in the young Sun? Wiki[1] says it "is mainly produced in supernovas ejecting many radioactive nuclides in the interstellar medium." So are they guessing that the Sun condensed from a cloud of material that was _recently_ ejected by a supernova? (Because if it wasn't recently produced, there wouldn't have been any AL-26 left.) Something of a violation of the Mediocrity principle[2].

[1] https://en.wikipedia.org/wiki/Aluminium-26

[2] https://en.wikipedia.org/wiki/Mediocrity_principle

fernly··on Explaining my fast 6502 code generator
Geez, 25 years ago I was being boggled by how sophisticated was the code generated by the C compiler we shipped at SGI. For the MIPS architecture, as for most contemporary architectures, re-ordering memory accesses to minimize cache misses was FAR more important to execution speed than the specific selection of machine instructions.

Of course for early MIPS there were little things like, don't put a jump in the last word of a 4K page... :-(

fernly··on Duolingo Max, a learning experience powered by GPT-4
Thank you. I too wasted a good five minutes trying to find out what any tier would cost, and failed. I wonder if the USD prices are different from the CAD ones?
fernly··on Tiny-C Compiler (2001)
Um, excuse me, but there existed a Tiny-C in 1979. Whatever you are talking about creating in 2000 is in no way an original idea.

References:

Dr. Dobb's Journal #32 (Feb 1979) page 41, review of Tiny-C User Manual by Ted Shapin [0]

Dr. Dobb's Journal #35 (May 1979) page 37, "Tiny-C Interpreter on C-Dos" by Ray Duncan[1]

Tiny-C Associates incorporated in Holmdel, NJ, March 1978 [2]

"Tiny C" trademark application filed 1979, cancelled 1987 [3]

There was also a "Small C", see DDJ #45 (May 1980), "A Small C Compiler for the 8080s" by Ron Cain[4]. Cain references buying a copy of "the Tiny-C interpreter from Tiny-C Associates" and finding it too slow, so he bootstraps his own C compiler, writing it in C, compiles it on a UNIX system, then using it to compile itself to get the 8080 machine code.

See also DDJ #69 (July 1982) p. 66, "Small C for the 9900" by Matthew Halfant[5], porting Cain's compiler to another platform.

[0] https://archive.org/details/dr_dobbs_journal_vol_04_201803/p...

[1] https://archive.org/details/dr_dobbs_journal_vol_04_201803/p...

[2] https://www.bizapedia.com/nj/tiny-c-associates.html

[3] https://alter.com/trademarks/tiny-c-73219160

[4]https://archive.org/details/dr_dobbs_journal_vol_05_201803/p...

[5] https://archive.org/details/dr_dobbs_journal_vol_07_201803/p...

fernly··on The gap between how old you are and how old you think you are
Actually turning 80 caused a mental shift. I'd be doing something and think, wait, should an 80-year-old be doing this? Something about the number made my mental age repeatedly try to re-align with the physical. The effect lasted a few days then faded.
fernly··on Intentional Camera Movement Photography Magazine
I took a look at the sample issue (see link in another response) and my first response was -- this will be wiped out so fast by generative AI image makers.
fernly··on DetectGPT: Zero-Shot Machine-Generated Text Detection
See the more recent comment here by @skissane about using chatGPT to write fiction. Process sounds quite similar.
fernly··on Firefighters forced to smash window of driverless Cruise taxi to stop it
Parallel case with a standardized solution: override controls in elevators for emergency responders.
fernly··on The audacity of Apple Podcasts
> even choosing to download the audio in Apple Podcasts makes it available for offline listening, but doesn’t produce an MP3 or M4A file that you can move around or archive—it retains its DRM.

Can this be solved by use of, e.g. Audio Hijack? (https://rogueamoeba.com/audiohijack/)

fernly··on I almost bought a scanner
While this is not one of the 7200 scanners claimed by VueScan[1], it might be worth talking to those folks. With their experience they might be able to reverse-engineer the protocol.

If not (and I'm sure this is not an acceptable idea to a purist like OP) I would consider using a good consumer-grade scanner and post-process with Topaz AI[2], which produces absolutely astonishing results in my experience. Yes, maybe it is inventing the pixels it adds, but they look like the right pixels nonetheless.

[1] https://www.hamrick.com/vuescan/supported-scanners.html

[2] https://www.topazlabs.com/topaz-photo-ai

fernly··on Andromeda Invaders: A retro-style game written in HTML5, Canvas, and Web Audio
Freezes after a few shots for me -- both Brave and Firefox. Possibly hug of death from HN readers?
fernly··on Show HN: Vento, a screen recorder that lets you rewind and record over mistakes
The site says nothing about itself. Is it only a Chrome extension? In what platforms can it record the screen (win? mac? linux? only in a browser?). What other features does it have, eg select a portion of the screen, visual indication of mouse clicks, etc.
fernly··on Mapping Python to LLVM
A major type-incompatibility not mentioned in the linked blog post is this, from[1],

* Strings: Codon currently uses ASCII strings unlike Python's unicode strings.

Judas priest, after all the effin' grief we went through to learn how to handle Unicode strings in Python 3, and to finally begin to realize their value, you take this step backward? Forget the i64 limits, the lack of native Unicode strings is a flat deal-breaker. (For example, will Codon warn if it sees an "open(encoding='UTF8')" call? Or a normal open(mode='rt') if the default local encoding is UTF8?)

It doesn't help that the same doc also mentions that

* Dictionaries: Codon's dictionary type is not sorted internally, unlike Python's

Current Python dicts are not "sorted"; rather they "preserve insertion order, meaning that keys will be produced in the same order they were added sequentially over the dictionary."[2]

This is new functionality added only recently (3.7) so its lack would not inconvenience a lot of existing code. OTOH, why did they not plan to reproduce this useful feature from the start?

Possibly they were thinking of the pypi package SortedContainers[3]?

[1] https://docs.exaloop.io/codon/general/differences

[2] https://docs.python.org/3/reference/datamodel.html#index-30

[3] https://pypi.org/project/sortedcontainers/

fernly··on Mapping Python to LLVM
See https://docs.exaloop.io/codon/general/faq

"While Codon does offer a JIT decorator similar to Numba's, Codon is in general an ahead-of-time compiler that compiles end-to-end programs to native code. It also supports compilation of a much broader set of Python constructs and libraries."

fernly··on Wolf 1069B: Earth-mass planet in the habitable zone of a nearby, low-mass star
The wording is a little ambiguous but I read the abstract as talking about the _stellar_ rotation period being ~170d. Not the planet. The star rotating adds a low-frequency signal that interfered with the effect of the planet.
fernly··on A new treatment for arthritis: Vagus-nerve stimulation
> Both Galvani and SecondWave expect to announce first-in-human data within the next year.

In other words, this is vaporware as yet.

fernly··on Using ChatGPT to make Bash palatable
502 bad gateway. Followed a link to the wayback machine but that page didn't do anything.
fernly··on The APL Source Code (2012)
I'm skimming the source code, noting a few things that might help others do so. The "ADD NAME=" lines separate what would have originated as separate decks of punched cards. Each card is an assembler statement; each has an 8-digit sequence number in columns 72-80. You might note that sequence numbers are sometimes not consecutive. This reflects changes due to editing. As long as the deck could be sorted in correct order on the last 8 columns it was ok.

Each such source deck would have been assembled to make an object deck. There are assembler commands for formatting the printed assembly listing: TITLE to set a running title on the listing pages, PRINT OFF to avoid listing repetitive macros, PRINT ON, PRINT NOGEN to not print macro-generated statements, EJECT to start a new listing page.

A DSECT line introduces a data section, essentially a record. The pseudo-instruction USING tells the assembler which register contains the base address of a DSECT, so USING MKLOCLS,14 says, assume R14 has the address of the DSECT MKLOCLS. Reference to a name defined within that DSECT will generate an instruction using R14 plus the offset to that name.

A CSECT names a "control section" or named block of instructions. The linker handles CSECTs and DSECTs as units. A CSECT typically begins with USING *,15 or some other register, to inform the assembler that at run-time R15 will have the base address of this code. Local jump addresses will assemble as offsets from that register. A DROP <reg> statement tells the assembler to no longer assume that register is in use.

There are inside jokes: the code with TITLE 'THE AGORONOMIC ROUTINES' is memory management.

APL\360 managed memory on two levels. First, as a time-sharing system, it created a separate "workspace" for each logged-on user. A workspace was a contiguous block of memory (typically 32K as a practical size) that contained all of the user's current code definitions. There was not room in the typical 360 RAM for more than a few user workspaces at one time, so the system swapped whole workspaces in and out as it serviced each user. The code to do this operated the disk drives directly on a head and track level and was highly optimized. You'll see a number of references to "one-track workspace" as a special case; if a workspace fit on one track of the (2311 or 2315) disk, it could be read in or written out in minimum time.

On the user level, the interpreter while executing APL code is constantly creating and trashing values which are stored as memory objects within the current workspace. So there was memory allocation and garbage collection. Garbage collection was a simple sweep across the workspace moving all active objects to one end.

APL would be initiated as a normal job under OS/MFT and would immediately take control of the entire system, kicking the OS out and managing all aspects of the 360 hardware itself, including interrupt handling, storage protection and so on. This was before the day of hardware-supported virtual memory, so it didn't have that to deal with. See NAME=APLSAPLM and forward. I'm pretty sure in that code, TCB stands for Task Control Block, a dispatching object. APL had multiple internal tasks being time-shared, as necessitated by the fact that it had to handle asynchronous interrupts from both terminals and disk drives.

fernly··on The Fermi paradox revisited: Technosignatures and the contact era
If you grant moss and bacteria, then more complex life forms become inevitable. There are _advantages_ to be being multicellular, or multicellular life wouldn't exist. It's energetically advantageous for a plant to acquire a woody stem and stand up above the moss, or for a simple organism to work out how to have eyes, or teeth, or legs, or an exo- or endoskeleton. Assuming an environment that affords nutrients and is stable over a long time, once life kicks off it should keep complicating itself. It wouldn't stop at simple forms.
fernly··on Boom Unveils Symphony Supersonic Engine
Company press release: https://mailchi.mp/boomsupersonic.com/supersonic-takes-shape...

Company description of "Symphony" engine: https://boomsupersonic.com/symphony

Claims 10% lower operating cost, use of 100% sustainable fuel

fernly··on AI Sculpting
Oh, thank you! I always wondered if it had a name.
fernly··on AI Sculpting
The basic technique, a gouging or scooping away of the material to leave a remnant outlined by negative spherical spaces, produces a result that to my brain is not merely ugly, as another commentor wrote, but actively, strongly unpleasant, repellent, shudderingly cringe-worthy. I could not physically remain in the same room with the human forms shown.

But that's just me.

fernly··on Occupational Hazards of the Second-Hand Book Trade
The experience of being a seller of old books is available to amateurs, in the form of volunteering at your local "Friends of the XXX Library". These organizations receive donations of books, sort and price them, and resell the books with the proceeds donated back to the library. Friends of the Palo Alto Library[1] processes tens of thousands of books in a year, and a single monthly sale weekend typically grosses over $15,000.

As described in the article, books do arrive in, mostly, cardboard boxes, or in paper or plastic shopping bags, and I think I remember a plastic washtub. And of course in a suburb, they arrive as a loose pile in the back of an SUV.

As volunteer manager of a section, I get to evaluate and price a couple hundred books a month. The primary tool for this is Bookfinder[2]. I can't imagine working in this business without it and other sites like Addall[3] and of course, eBay.

[1] https://www.fopal.org/volunteer [2] https://www.bookfinder.com/ [3] https://www.addall.com/used/

← PreviousPage 4 of 27Next →