News for hackers. Stuff that matters.

jz391

Re:Lisp Comes of Age (1980) on Saturday October 24, 2026 @07:08AM (#50220144)
Not as good, but similar story: I got a free Apple Lisa at Uni; kept it in our workroom (I was a postgrad) for a while - amazingly well built box, but really heavy, so had to give it up when I left. Somehow still feel pangs of regret, although realistically wouldn't be using it much...
How to you manage the API when caller doesn't know the right size to allocate? I mean you could pass an allocator object (ala zig/C++ stdlib etc), though I'm not sure I like the extra arg on functions... I guess a quasi-global-variable approach (e.g. a "context" object, passed to all functions, which can hold an allocator, or equivalently implicit arguments in a functional language) would be one way to achieve that without the "noise" of explicit allocators passed everywhere.
True, but this design decision (to include memory allocation API in the OS) predates the process separation/MMU.
Well, FOSS is free (also "like beer", i.e. unpaid), so I don't find it surprising that it doesn't follow commercial mindset priorities. People working for free are driven by other motives. While needs of commercial users would be considered and accommodated in many cases, they are not the only priority, as they would be for a commercial enterprise like Microsoft.

I think you are pointing out the conflict that can then arise, but that I don't think is avoidable: a company has relatively short-term aim of surviving until year-end (or quarter-end) and making money. FOSS contributors are hoping to create something worthwhile by whatever value system they adhere to (elegance, public recognition etc).

They do, because if you cannon keep up with the repayments, the loan (mortgage) is secured on the house. So the bank will take possession of the house & sell it as quickly as possible (because banks don't want to own houses), which means they won't get a great price. Additionally, when people can't make mortgage payments, it's likely to be a bad time for the economy, meaning prices of houses will be low. All this creates risk for the bank, and rising house prices reduce this risk (it is more likely they will recover most/all of their money if they need to). That in turn means they will lend the mortgage at a lower rate than otherwise.
If you are living in a flat, this could of course be your neighbour's washing machine/TV etc...
Re:What TLA+ can and can't check on Sunday October 04, 2026 @08:40AM (#49953416)
You mentioned good tools available for Z - do you have any recommendations? I have tried in the past using VDM (alternative to Z, similar level) for writing down specifications precisely, but could never find adequate tools for maintaining/checking proofs/derivations.
Re:Have an LLC on Monday September 28, 2026 @04:29AM (#49875101)
In the UK, there used to be significant tax advantages in forming a Ltd: you could pay significant part of the income as dividends (since you were both employee/director and shareholder), which attracted lower tax & could be split with your wife etc. Then regulation IR35 came along...
This is a very interesting discussion. Your analogy of nuclear power is insightful to me. New technology with great positive & negative impact potential, some difficulty in controlling and a military applications (possible weapons-grade material production), being developed for commercial use.

Nuclear power development took different paths in different countries, with different government/private mix and light/heavier regulation (eg in US, AEC was supposed to both promote development _and_ regulate).

The central problem here is pace of AI development. It takes time to establish functional controls/laws/practices. I'm sure that in 1950s/60s, the pace of nuclear _military_ proliferation seemed running out of control. This lead to fear of falling behind (hence arms race), fear of nuclear war (CND) and some eventual stabilisation of the international landscape. However, the commercial development was largely unopposed, due to the techno-utopism of the era. Obviously governments found it much easier to control the public narrative at that time. Our societies are having this lively public debate now, before we have a good understanding (based on experience i.e. accidents/mistakes).

Another difference is that nuclear power involved only governments and v. large corporates, i.e. much fewer entities compared to AI use rollout to basically everybody in developed countries. Imagine the difficulties we would have faced with that technology, if consumers in 1960s had available nuclear-generated power which required them to exercise precautions to avoid radiation.

It is much easier to accelerate development of tech vs pace of societal processes such as public debate, law, regulations, broad understanding (aka "common sense"). I expect some artificial slowing down will need to be applied to the technology side, to allow the humans to catch up.

Re:Commodore 64 released September 1, 1982 on Wednesday September 02, 2026 @09:49AM (#49536192)
And, of course, with the Speccy you had the Microdrive - an affordable middle ground between tape recorder and a disk drive. I still remember the excitement of not having to record/rewind/play (to verify). Good old times...
Re:How I developed an Am29000 C compiler and web browser on Tuesday August 18, 2026 @09:13AM (#49345156)
That is sad to hear. I had the pleasure of meeting him once, working with Perihelion as a student. Perihelion were a smart bunch and Helios (quasi UNIX distributed OS for Transputers) was incredibly usable and powerful for its time and hardware (Transputers lacked MMU).
Would an extension to `madvise` to say: "page this region in/out as a whole" help here? Engine could define memory ranges representing each expert and leave paging to the OS (tho' "paging" at this point becomes more similar to swapping in granularity...).
Re:Linux kernel will support $ORIGIN, sort of on Tuesday July 21, 2026 @03:39AM (#48989249)
One point mentioned in the first link you included is support of $ORIGIN in #! scripts - that would need kernel support.
Re:Childhood Computing on Tuesday May 26, 2026 @06:34AM (#48277764)
I think many of us miss that feeling... For me, the level of complexity of the computers in my childhood (TRS-80, Spectrum) made them interesting but still possible to fully understand. I think we have lost that - modern hardware and software has complexity on a scale which makes it impossible to fully follow. After decades of computing, I only have a high-level understanding of many components of a typical PC. So for my son, any understanding of what's going will be difficult...
I do understand it takes effort to stop and re-accelerate, but isn't making effort (exercise) part of the purpose of cycling in the first place? My main objection is to cyclist failing to stop at pedestrian crossing lights: as a pedestrian, when I see a green light, I expect to cross without having to dodge moving vehicles on the road. I do check the the road to make sure that cars have stopped, but cyclists (who rarely stop at crossings, at least in London) are harder to see, as they are smaller and often obscured by the traffic.
Re:Project Hail Mary – Stellar Navigation Chart on Sunday May 24, 2026 @06:13AM (#48256038)
Definitely agree with the sentiment (also a Speccy 48K guy), but at the risk of being pedantic, I think you're double-counting: "million times faster" is for one Spectrum, the "0.000625% price" is for a million...
Re:Extraordinary Ordinals on Thursday May 14, 2026 @02:29PM (#48139270)
Braces are substitution, so

  b{a/x}
means: expression b with variable x inside it replaced by expression a. So their beta-reduction line just says that if

  k = ... (λx.b) a ...
it can be reduced to

  k = ... c ...
where c is the expression b, but with all occurrences of variable x replaced by expression a.

I think Tk(x) denotes "the definition of variable k is expression x" and the square brackets are "k[x]" something like "in the context of definition k, value of expression x". So I suspect that

  a=Tk(x)
  a[y]
would be effectively

  (λk.y)x
But yes, not very clear on explaining the notation. Also seems to have some typos e.g. at the beginning have "x ∈ k, x, y" which looks to me should be "x ∋ k, x, y" (or of course "k, x, y ∈ x").
Re:Mojo 1.0 Beta on Saturday May 09, 2026 @04:44AM (#48073242)
> I wouldn't call it "exceptionally nice"

I guess depends on your reference point :-) I recall in the beginning, python offering an easier/more readable alternative to Perl, which itself was a step up from awk/sed/sh script (for the tasks/uses GP mentions)

Re:A simplified model of Fil-C on Saturday April 18, 2026 @12:28AM (#47813137)
Reminds me of a commercial project I did for my old University department around 1994. The GUI was ambitious and written in Motif, which was a little buggy and leaked memory. So... I ended up catching any SEGVs, saving state, and restarting the process, with a short message in a popup telling the user to wait. Obviously not guaranteed, but surprisingly it mostly worked. With benefit of experience & hindsight, I should have just (considerably) simplified it: I had user-configurable dialogs creating widgets on the fly etc, none of which was really required.
Re:Bringing Clojure programming to Enterprise (2021) on Friday April 03, 2026 @01:49AM (#47623564)
The key issue is that Lisp's minimal uniform syntax has less variation to help with visual pattern matching, which we humans are good at (compared to richer syntax).

The meta-programming power of Lisp may be largely due to being homoiconic, although Dylan/Julia etc achieve similar without it. However Lisp's minimal syntax is not a prerequisite for homoiconicity: S-Plus/R has a more conventional syntax while retaining "code is a list" representation.

To extend your analogy: if the house is a listed building (UK concept; apparently US equivalent is listed in National Register of Historic Places), by law you cannot just tear it down. You need to do much more work to renovate what can be done without disturbing the original structure. This obviously costs much more and is generally done by different specialists, who have harder job and hence are better paid. So the question comes back to: what kind of work do you want to do...
Re:Making Video Games in 2025 (without an engine) on Monday March 02, 2026 @05:25PM (#47225057)
And, of course, the next level of procrastination is to develop your own programming language, which you will use to write the engine to use in creating the game :-) Definitely hats off to Jon for pulling it off - he had a lot of focus and some previous experience - and it also helps to have re$ource$ from past successful games. For many of us, the lure of developing better tools, rather than the end product, proves to be too strong to resist. At least Jon stopped short of developing own OS :-)
Re:The cleaner: One woman's mission to help Britain's hoarders on Saturday January 24, 2026 @01:38AM (#46741558)
True for many, but I actually have been acquiring some computing books I had enjoyed reading in my youth (e.g. Organick's Multics). Perhaps living permanently abroad strengthens nostalgia...
Re:Show HN: Learn Japanese contextually while browsing on Tuesday December 16, 2025 @09:45PM (#46297643)
Interesting. The voice used for the pronunciation sound seems to be using the wrong language though (FYI using Firefox).
Absolutely. As an Electrical Engineer turned software guy, Ohm's/Kirchhoff's laws remain as valid and significant as when I was taught them 35 years ago. For software however, growth of hardware architectures/constraints made it possible to add much more functionality. My first UNIX experience was on PDP-11/44, where every process (and kernel) had access to an impressive maximum of 128K of RAM (if you figured out the flag to split address and data segments). This meant everything was simple and easy to follow: the UNIX permission model (user/group/other+suid/sgid) fit it well. ACLs/capabilities etc were reserved for VMS/Multics, with manuals spanning shelves.

Given hardware available to an average modern Linux box, it is hardly surprising that these bells and whistles were added - someone will find them useful in some scenarios and additional resource is negligible. It does however make understanding the whole beast much, much harder...

Re:What Killed Perl? on Wednesday November 19, 2025 @09:24PM (#45988120)
Indeed. Coming from UNIX tools (sed/awk/sh/grep/tr etc), perl had a lot of appeal and almost intuitive syntax - alternatives in the '80s being C, awk, or if you were unlucky, FORTRAN IV without string type :-). The benefit of having a single language with all of the functionality of these tools was amazing at the time and ability to use familiar syntax was a benefit. However expectations for programming languages grew somewhat since...
Re:Ask HN: Local RAG with private knowledge base on Sunday November 03, 2024 @12:36PM (#42034549)
Does anyone have experience using any of these for scientific paper PDFs, in particular containing equations (I'm guessing graphs are still well beyond their reach)? The workflow for these seems to involve converting PDF->text...

Older »