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 Infinite Mac: Turning to the dark side
That would be Project Builder and Interface Builder. Project Builder was kind of a graphical make tool and Interface Builder was the real star of the show, it was the graphical user interface builder. And there was Edit for source code editing.

There were sold as separate product, NeXTStep Developer that had all the development tools, but if you bought the education version of NeXTstep the developer tools came bundled.

jdswain··on Zenv: Forth for the ZX Spectrum
I had the machine lightning version for the Commodore 64. I remember that the manual was printed red paper so you couldn't photocopy it.
jdswain··on Who invented file extensions in file names?
It was called SOS on the Apple ///, originally Sara's Operating System but officially Sophisticated Operating System. It was a very advanced OS for its time, most notably one of the first to include a useful driver model.

The SOS filesystem was reused for ProDOS (and later GS/OS as well), but a lot of the advanced features were removed for ProDOS due to wanting to fit into the smaller RAM of the Apple ][.

jdswain··on Can't be fucked: Underrated cause of tech debt
And that is why I dislike the label 'sprint'. A sprint is a short (unsustainable) extreme effort, not something that you do continuously.
jdswain··on John Warnock has died
Core Graphics is an implementation of the same imaging model as Postscript and is very close to PDF (and can easily be used to render PDF documents).

With Display Postscript you could type in real Postscript commands into your C/Objective-C source file and it was pre-processed into actual code.

  defineps PSWGrayCircle( )
    newpath
    10.0 10.0 5.0 0.0 360.0 arc
    closepath
    0.5 setgray
    fill
  endps
And it could be called just like any other function, including with parameters.
jdswain··on John Warnock has died
That brings back memories. I did almost exactly the same thing, but I created a Postscript program to render a "Common Seal" stamp, that through some process unknown to me could be converted from the printout to an actual stamp. It was all circular, the text was rendered on a path (a circle) and automatically scaled to fit. I used a lot of paper writing that, I went a little further and moved the image to different positions on the page so I could get more than four tests on a page, but still a large amount of paper in the end. I'd forgotten about the Microsoft Word special style that made it all possible.

So when I got to use a NextStation with Preview.app, that was a huge revelation, interactive postscript.

jdswain··on Apple co-founder sells Carmel Valley ranch, will become nature preserve
Well apparently he did write a check book balancing program for the Apple II, so by that measure he probably wrote more code than Steve Jobs.
jdswain··on IBM PC 8088 replaced with a Motorola 68000
So maybe being a bit pedantic here, but the Atari ST was originally going to use CP/M 68k, but part way through development they changed the base OS from that to what was more of a MS-DOS clone (which as others have said was also mainly a CP/M 80 clone). I think this was done to have better compatibility with the GEM layer, so the Atari ST OS, TOS, was more like MS-DOS than CP/M.

It would be interesting to port TOS (or more likely EmuTOS) to this 68k IBM PC and kind of go full circle.

jdswain··on PornHub blocks users in Utah, cites state’s age verification law
As a parent myself, I'd like to say that it's not that easy. There are measures you can take, but it doesn't always work.

The web is maybe easy to control, but what about all the other means of communication kids have now, like in-game social tools? In the end that comes down to do you ban everything that could cause an issue, and then you are isolating your child from their friends.

Even if that issue is solved, I've heard stories of kids 'forcing' other kids to watch porn on phones at school. How do you prevent that one? Most often the other parents are unaware, don't care, or even provide the porn.

jdswain··on Advanced Amiga Architecture (1992)
I used to get Byte magazine back then. The cover date was three months in the past by the time I got it. Before the internet the News section was still relevant even after three months. Some books I ordered took 6 months if they arrived at all.

This was Invercargill, New Zealand in the 80's.

jdswain··on Sun: The Network Is the Computer
Plus the Apple //e (January 1993) had 80 columns and lower case, which coupled with the disk drive made it useful for business. But I guess the IBM PC (August, 1991) already had all that by then (and the Apple ///, November 1990).
jdswain··on Tell HN: Did you know that you can help restore a person’s eyesight for $50?
In Australia/New Zealand we have a similar charity started by an Ophthalmologist that began by performing the surgeries himself:

https://www.hollows.org/au/about-fred

jdswain··on Front end developers: stop moving things that I’m about to click on
You know what would help with this, if the click rectangle updates were delayed, maybe by 1 second, after the UI updates. Then if you were already aiming for a button when it moves, you'd still tap it.
jdswain··on Emacs on an iPad
The front bezel is clipped in, it's quite hard to detach, but can be carefully removed, and then the screen just sits behind with a eDP connector. Quite a contrast to an iPad.
jdswain··on Emacs on an iPad
I tried using Blink shell for a while and it was ok, but when my iPad screen broke I got a Thinkpad X280 as a replacement. For emacs, programming and a lot of other things it's way better. I've just spent some time in KiCAD this evening, I couldn't do that on an iPad. Plus if something breaks it's way easier to get parts, a new screen is under $100 and I can install it myself without any tools.
jdswain··on A Bluetooth Low Energy soil moisture sensor
So Lora is probably more practical. We had to trigger a solenoid so needed a bit more power anyway, but could reliably run off a LiIon battery with a solar panel for recharging. Makes the whole package more complicated, but it worked well.

The extra range or Lora means I didn't have to implement a mesh protocol. I wasn't looking forward to having to test a mesh network, point to point is much easier.

jdswain··on A Bluetooth Low Energy soil moisture sensor
Does anyone know what kind of range you get with BTLE sensors like this? I'd think a decent distance would be required in most cases, and BTLE is meant to be short range.

A while back I built a LoRa device and we got really good range, 10km at least without having to try too hard, the plan was to deploy 100's of these so it was complicated ensuring communications without collisions, and also this was for a controller not a sensor, which is much harder on the battery as the device needs to listen periodically for updates.

jdswain··on Yes, the 8086 wanted to be mechanically translatable from the 8080, but
There’s a story about someone watching Woz entering hex into the computer directly to write a program, and every now and then he’d pause for a little. They asked him why and he said he was calculating the offset for a forward branch, which would mean he’d have to think of all the code up until the branch destination and count the bytes. Then he could carry on and enter those bytes.
jdswain··on Show HN: Lldap, a Simplified LDAP Server
I’ve used SRP on a few projects, including for a large bank for the log in from their counter system. Once you get the algorithm sorted out it’s quite simple and it feels a whole lot better than some of the password storage systems I have seen (and still do see) implemented.

I’ll have to have a look at OPAQUE, which according to Wikipedia is a newer alternative to SRP.

Edit: Just noticed that there are quite a few more systems using these types of algorithms, including Apple HomeKit.

jdswain··on The Atari 800XL
And Atari DOS was written by the same people that wrote DOS for the Apple ][. Shepardson Microsystems. The book ‘The Atari BASIC Source Book, written by some ot the same people is still an interesting read today.
jdswain··on Collection of Sun Workstation boot logos
I do miss the diversity of computing from back then. Today everything has converged on looking and acting almost the same, but back then there was so much more choice. Amiga, Atari St, Mac, SGI, Sun, NeXT, and a whole lot more.
jdswain··on The afterlife of used hotel soap
Some people have problems with sodium lauryl sulfate. In toothpaste it gives me mouth ulcers, and in soap I get skin irritation. It’s quite hard to find SLS free toothpaste, or even shampoo, but it could be worth trying if you have unexplained skin irritation. I haven’t had one ulcer since swapping toothpaste and before that I was getting them all the time.
jdswain··on Minimum Viable Declarative GUI in C++
Like the original NeXT AppKit, where the UI was built from objects in memory, then stored on disk as archived objects. The objects could be manipulated with InterfaceBuilder and live tested. These concepts seem to have been lost along the way, to the point where they are not a part of modern NeXT->Mac->iOS development.

But also they got harder to implement as UI's got more complex.

jdswain··on AWS Region Coming to New Zealand
I live in an area of New Zealand surrounded by hydroelectric dam's, and I've often thought it would be a great place for a datacenter. They'd be electricity savings from avoiding the transmission losses to get the electricity all the way to Auckland, and land is cheaper, but mainly because there ought to be a way of using the cold water for cooling rather than electrically powered coolers. The data center could even be built underwater, possibly in a canal to benefit from the existing water flow.
jdswain··on My first Z80 assembly language program
I had an older student at my high school teach a machine language course, complete with a one page table of opcodes and their hex values so that we could type them in.

After that I purchased a copy of Programming the 6502 by Rodnay Zaks. Books took 3 months to arrive if they were a special order like that, sometimes longer. To this day it's still one of my favourite books.

jdswain··on Woman catches state police attaching tracker to her car, now they want it back
Indiana Pi Bill - https://en.wikipedia.org/wiki/Indiana_Pi_Bill
jdswain··on Have you ever hurt yourself from your own code?
Did something similar to OP. I was writing a controller for a streaming system and managed to accidentally set the volume to 100. This was with speakers not headphones. I had to pull the power plug to stop it. Just about gave me a heart attack.

The bug was a feedback loop in the volume control code that somehow ramped the volume up without any way to stop it. After that I always tested with a physical volume control later in the audio chain, with the volume set to a medium level.

jdswain··on Ask HN: Why are 5 inch USB floppy drives so uncommon?
It looks like 5 1/4” drives themselves are getting quite rare, not many on eBay, while there are lots of 3.5”. So even with a controller, getting a drive is not simple.

I’d say the main reason, is that 3.5” drives are much more common, and they overlapped USB They are much more standard than 5 1/4” drives too.

jdswain··on The First Microprocessor, the F-14, and Me
Ray Holt also went on to design the Jolt computer, a very early 6502 based computer which lead to the SYM-1 (also designed by Ray Holt), and TIM-1, which was more of a kit with a pre-programmed ROM. I built my own TIM-1 this year and have been doing a bit of research into these early 6502 boards. The Jolt computer is perhaps most famous for being used as the microprocessor section in the first Atari 2600 prototypes.
jdswain··on Why Italians don't drink a cappuccino after 11am [video]
Cheese is low in lactose, and gelato is too, it's mainly sugar with only a little bit of milk.

Someone I know, who is lactose intolerant, believes that frozen milk isn't as bad, I've not found any scientific evidence of this, so it's probably not true, but she thinks she is more tolerant of frozen milk products, so maybe there is some reason?

← PreviousPage 3 of 7Next →