HNHacker News
TopNewBestAskShowJobs

jdswain

389 karma · joined May 5, 2011

Remote Software Architect.

[ my public key: https://keybase.io/jds; my proof: https://keybase.io/jds/sigs/JuHXXIhuefdZjpeFytCS4YvxdoIa6SnkDjV3wcoAB9c ]

submissionscomments
jdswain··on Has the cost of building software dropped 90%?
Software Development is much more than writing code. Writing code may have become 90% easier, but a lot of the other development tasks haven't appreciably changed due to AI, although that might come. So, for now at least the answer to the question posed in the headline is no.

An exception might be building something that is well specified in advance, maybe because it's a direct copy of existing software.

jdswain··on Autodesk's John Walker Explained HP and IBM in 1991 (2015)
Commissions were different back then. I worked part time selling computers around 1990 and a little earlier, margin on computers was moving down, but was as high as 50%, I recall it moving down to 30% and stabilising there for a while. I don't remember software margins, but it could have been about the same. I used to get 50% of the margin as commission.
jdswain··on Kafka is Fast – I'll use Postgres
What sort of systems do you work on to require this kind of traffic volume? I've worked on one project that I'd consider relatively high volume (UK Post Office Horizon Online) and we were only targeting 500 TPS.
jdswain··on Minecraft removing obfuscation in Java Edition
(Hi Andrew)

It's the misuse of OO constructs that gives it a bad name, almost always that is inheritance being overused/misused. Encapsulation and modularity are important for larger code bases, and polymorphism is useful for making code simpler, smaller and more understandable.

Maybe the extra long names in java also don't help too, along with the overuse/forced use of patterns? At least it's not Hungarian notation.

jdswain··on Microsoft BASIC for 6502 Microprocessor – Version 1.1
It's likely that is is mostly just the standard Microsoft Basic with some modified I/O routines. Since Microsoft Basic is now under the MIT license you are free to modify the code, it may be relatively easy to re-implement the I/O routines and have a legal 'recreation' of the P2305 cartridge.
jdswain··on The Framework Desktop is a beast
My company provided Dell has the same issue (Intel CPU). Comes and goes a bit with firmware updates.
jdswain··on Bill Atkinson: Polaroids Showing the Evolution of the Lisa GUI [video]
Well Woz was pretty good at software too. He wrote a lot of the early Apple software, including Integer Basic (to write games) and the low level disk software, called RWTS for Read/Write Track/Sector.
jdswain··on Ask HN: How do I give back to people helped me when I was young and had nothing?
I'm not good at this at all, but if you do want to thank people that helped you, and let them know what it meant to you, don't leave it too late. I've had one regret after another as people who were significant in my early life died and I didn't get the chance to let them know what they meant to me.
jdswain··on Why the original Macintosh had a screen resolution of 512×324
It has 32-bit registers, but it has a 16-bit ALU, so it's a matter of opinion if that makes it a 16 or 32-bit processor. I'd go with 32-bit in that it's instruction set gives the impression to the programmer that they are working with a 32-bit system.

And for more evidence, the Z80 is referred to as an 8-bit processor but has a 4-bit ALU.

jdswain··on Installing AIX PS/2 v1.3 on a 486
For some of us it brings back bad memories of sitting watching progress bars for hours and occasionally getting asked to feed another disk into the drive. Office was probably the worst for the number of floppies, but linux was even more, and you had the extra worry of if it would actually boot after the install, or if you got a setting wrong and had to start again.

Soon after all that we got to use CD's, which made life a lot better.

jdswain··on Glider for Apple II
Not at all the same, but they did have QuickDraw II for the IIgs. This library had the benefit of using the simpler IIgs graphics modes, avoiding all the Apple II weirdness. With a little bit of searching the source can be found online.
jdswain··on Glider for Apple II
For anyone wanting to build sprite type code on the Apple II, you really should read this article in Byte magazine:

Preshift-Table Graphics on your Apple by Bill Budge, with Gregg Williams and Rob Moore. A23 Move blocks of pixels across the screen with only 3K bytes of overhead

It's kind of hard to find, it's in the December 1984 Byte magazine, but an additional magazine at the end of the PDF, Bytes Guide to Apple.

At the time this was huge, Bill Budge was probably the most well known game programmer, so getting a look inside how he wrote code was a big thing.

Of course, as mentioned elsewhere, graphics is hard on the Apple II because of the complex memory layout due to Woz wanting to save a few chips. This can be contrasted with the Atari and Commodore computers that had custom chips that made graphics a lot easier.

https://archive.org/details/byte-magazine-1984-12/page/n397/...

jdswain··on OpenAI says it has evidence DeepSeek used its model to train competitor
It's not that they consumed publicly available material, it's that they re-published that information, and sold it.
jdswain··on Sonos CEO steps down after app update debacle
I've implemented both UPnP discovery and mDNS, and mDNS was quite a bit easier to make reliable than UPnP. However, if they did have a reliable UPnP system, it would almost certainly destabilise the software for any transition like this. There's just so many different network issues to deal with, it's tough to debug when a user reports a problem and it's probably an issue with their router which is only sold in Germany. It is very frustrating class of bugs, when the app just doesn't find devices on the network.
jdswain··on Ask HN: Is it wrong to use my personal laptop for work?
I liked this comment because it said what I was basically thinking. In my last job I kept everything seperate, a lot of people didn't and when we all got made redundant, I just closed my work laptop and walked away, some of the others were scrambling to disentangle everything and had all sorts of problems.

But in my new job I'm doing work on my personal laptop. It started because, I travel by plane to work regularly. I was carrying three laptops, my personal one, my work one, and one provided by my current client. It was just so much easier to combine everything into one laptop and just carry that. It's working out really well. Before I was constantly moving from one laptop to another just to check messages.

I think doing work on your personal computer is less bad than having personal stuff on your work computer, I wouldn't do that.

jdswain··on Apple introduces iPad mini built for Apple Intelligence
I got an 8" Android tablet instead of an iPad mini. What I wanted, was to have something really compact that I could use emacs on, mainly for org-roam, notes and writing in general, not for writing code. It works well with termux, I don't think there is a good way to have a local version of emacs on iOS.

The keyboard is the most important part really (although I did want a good screen too). I'm on my second keyboard, they are only about $30 each, which is better than iPad prices. The first one wasn't so convenient to unfold quickly, the new one is working really well.

jdswain··on Zuckerberg claims regret on caving to White House pressure on content
The trouble is there is no way to turn it off. I've nothing against that kind of thing in the right place, but for me Facebook is not that place, and it sneaks in no matter how hard you try and prevent it.

Here's some funny fail videos...of girls in bikinis. Here's some sport images for the sport you are interested in, with far too revealing angles/images.

So I don't use Facebook any more, and feel much better for it.

jdswain··on On finishing projects
I've come to a similar conclusion lately. I used to spend a lot of time jumping on my latest idea, researching and even writing a bit of code to get started. I'm much better off writing my ideas down, hopefully in a form where I can consolidate the ideas into a few projects, but even if it just stops me wasting time on an idea that I'll lose interest in soon, it's worthwhile.

On the other hand, I've got one large ongoing series of projects that are relatively pointless, and that is the whole point of them. I'm learning from them and I don't have the pressure of completing anything (although I would really like to). From time to time they have been really important for my mental health, and I value them for that.

I'm also quite aware now that I need to feel achievement to keep me motivated, and if I have a plan and can check off an item on that plan then that counts as a good day. Work doesn't always give me that sense of achievement, so having something else that does can be really valuable.

jdswain··on The Apple IIGS Megahertz Myth
I think the built-in keyboard idea had run its course, so any possible Apple IV would probably end up looking a lot like an Apple IIgs. The little keyboard extension on the IIgs case is kind of reminiscent of the Apple ///.

It would have been good to end the line with what was planned for the Mark Twain, internal floppy and hard disks would have made the whole system a lot better. And of course if we could have got a 14 MHz 65C816 as well then it would have been a really interesting system.

jdswain··on The Apple IIGS Megahertz Myth
It slowed down to 1 MHz for I/O and Apple ][ compatibility.

I wouldn't call it a disaster, sales and marketing wise mainly, but that also had a lot to do with the IBM PC coming out around the same time.

It was probably the most complex 6502 design, and mainly consisted of discrete logic chips rather than custom chips that other manufactures were starting to use. It had advanced features like an additional addressing mode to access up to 512k RAM without bank switching. (Plus two speed arrow keys)

jdswain··on The Apple IIGS Megahertz Myth
Rockwell and WDC had 65C02's up to 4 MHz relatively early on, but the 4 MHz versions seemed to be quite rare. WDC now has 65C02's rated at 14 MHz, but they go quite a bit higher than that if you've got fast enough RAM.

There are some technical details on why a 4MHz Z80 is roughly equivalent to a 1MHz 6502. As always with processor design there are tradeoffs in every decision. The Z80 had a 4-bit ALU, but I'm not sure if that slows it down.

The Z80 has a more complex architecture than the 6502. A 6502 clock cycle is one bus cycle and simple instructions can execute in one clock cycle. For the Z80 a clock cycle is called a T-state, and one machine cycle consists of multiple T-states. A simple instruction like INI takes 4 T-states.

jdswain··on A RP2040 based DECstation 3000 emulator that can run DECWindows
People used to get productive work done on DECstations, they were big and expensive in their time. Now we can recreate them for just a few dollars (plus the cost of a screen and keyboard). Today almost everything we do relies on the internet, so a wifi driver would be useful as well.

Many things we do today require more processing power, but many things do not. Writing, terminals (well SSH could be a problem), email, hn. We used to do raytracing on a DECstation, had to use a remote X window to view the finished image in colour.

You would think that a certain subset of people would quite like a simpler system today to work on, but I guess it's just easier to buy something modern with all the extra layers of complexity.

Maybe this is because today programming largely relies on having access to the accumulated knowledge of the internet, and a very complex web browser.

jdswain··on The joy of reading books you don't understand
The article title reminded me of when I was young and used to read Byte Magazine. Byte used to cover a wide range of topics, and could get quite technical, but the big thing that is vastly different to today is that you would get a monthly digest of articles that were selected by the editors, not by yourself. And I used to read it cover to cover. There was a lot I didn't understand, but also I feel like I gained a wider knowledge than if I only read what I was interested in, and many times the ideas that I was exposed to turned out to be useful much later in life.

Some of them ended up being distractions too, like playing with hardware, or writing a compiler, but it was all very interesting.

jdswain··on Apple II graphics: More than you wanted to know
No, and there was no (easy) way to detect the vertical retrace. For a lot more on that topic have a look at the Apple II mouse card, they needed to synchronise with the video and did work out a software based way of doing it, but the final product added hardware to make it possible.
jdswain··on Apple II graphics: More than you wanted to know
Some other hardware features were very good for the time. It gets a lot of heat for the initial reliability issues, but they were eventually solved. They also limited the Apple ][ emulation to 2+ features, so no 80 columns, and that was probably a mistake. On the other hand the good features were:

- Profile hard disk (but would have been better if you could boot from it). - Movable zero page, so the OS and the application each had their own zero page. - As mentioned, 80 column text and high resolution graphics. - Up to 512k addressable RAM, either through indirection or bank switching.

It was probably the most ambitious 6502 based computer, until the 65816 based IIgs came along. And SOS was better than ProDOS.

jdswain··on pico9918: A replacement TMS9918A/TMS9929A VDP using a Raspberry Pi Pico
The main constraint appears to be the number of available GPIO's. For 8-bit projects the bus can take a large number of pins, not leaving a lot for the other functions.
jdswain··on Tell HN: We should snapshot a mostly AI output free version of the web
At least I think I can tell when I am reading AI generated content, and stop reading and go somewhere else. Eventually though it'll get better to the point where it'll be hard to tell, but maybe then it's also good enough to be worth reading?
jdswain··on Ask HN: What is the most useless project you have worked on?
It was big. Compared to textbooks today it was probably very good. Hardcover and probably 500 pages. This was 1984, in New Zealand, but I think the textbook was British.

I tried to help my daughter with some maths a few months ago and I couldn't believe how bad her textbook was. It didn't appear to explain anything, just used exercises to show results.

jdswain··on Ask HN: What is the most useless project you have worked on?
When something I work on gets cancelled or not released, I try to feel better about it by thinking of the learning involved. Sometimes when I've been on projects that are going nowhere I will try and find ways to learn new things. A very minor, but useful example was a project early in my career where we were told to stop work while the management re-evaluates the project. I learnt to touch-type that month, a useful skill for my whole career. That was my first year contracting, they gave us a months notice on that project and I started the next contract the next Monday, so I billed 13 months that year.

I feel for architects that see their own buildings torn down in their lifetimes and replaced. I'd find that hard to deal with.

jdswain··on Ask HN: What is the most useless project you have worked on?
That reminds me of a story about a friend of mine from high school. In fourth form (age 14) he did every exercise in our maths textbook and sent the author a list of corrections to the printed answers. I don't think this was very well received by the author. That friend went on to miss 7th form year, got preferential entry into a maths degree, and had his degree by the time I finished year 1.
← PreviousPage 2 of 7Next →