HNHacker News
TopNewBestAskShowJobs

Taniwha

7,647 karma · joined November 25, 2013

submissionscomments
Taniwha··on War story: the hardest bug I ever debugged
In interviews I've never forced anyone to code, what I do is try to get them to tell me these sorts of war stories - I want to hear how you fixed it, why it was cooly bizarre, and I'm hoping for some enthusiasm when you talk about it.

I couldn't always get people to talk this way, but people who did usually worked out well

Taniwha··on If you get the chance, always run more extra network fiber cabling
And if you can't, always pull a string through the conduit .....
Taniwha··on Understanding Solar Energy
We also control (or used to control) our street lights in AoNZ using ripple control (it was implemented with a tuned reed relay in some towns). Back in the 70s friends built a ripple transmitter and sent morse across Ōtepoti by turning on/off their suburb's street lights (at 2am)
Taniwha··on Microsoft's 1986 IPO
Before the dotcom boom there was a rule of thumb in the Valley: "in order to go public you have to have 5 consecutive quarters of profit"

These days that's all gone out the window, but you can see why back then companies that did go public were more likely to succeed

Taniwha··on Athena spacecraft declared dead after toppling over on moon
I think it's taught to non-native english speakers, but seldomly to native speakers who are largely unaware about what they treat as natural
Taniwha··on The European VAT Is Not a Discriminatory Tax Against US Exports
If you're going to start equating VAT (essentially sales tax) with tariffs you open the whole nightmare can of worms that is US sales tax to the rest of the world - for those not living in the US every state, and in some cases every county has its own sales tax rate ....
Taniwha··on Suspension of inbound parcels from China and Hong Kong
My guess is that because of Trump's "de-minimus" change the USPS will now have to collect import duty on each and every parcel - they've probably stopped so that they can tool up for doing this. The annoying part of buying something is going to be physically going down to the Post Office and paying them, (or possibly having to poll them to pay online).

I live in NZ, manufacture open source hardware in China and ship from there. I ship all over the world, some countries charge import duty, some don't, but as an exporter I NEVER have to pay anyone's tariffs - Americans are going to learn who pays tariffs because now you personally will get the bill and have to deal with the annoyance of having to pay it.

Note: NZ charges import duty (which here is essentially our sales tax), they have deals with places like AliExpress/Digikey/etc to pay it at source (ie it shows up in your cart as you check out)

Taniwha··on CDC: Unpublished manuscripts mentioning certain topics must be pulled or revised
Why is this flagged? this is important news
Taniwha··on New Zealand welcomes digital nomads by loosening visitor visa rules
This is a piece of political posturing by the current government. People have been coming here and working on holiday for years, even though people are supposed to get a work permit if you come as a tourist and work remotely there's no practical to enforce it and no government has tried in the past. Making this change will have no practical effect on the economy.
Taniwha··on From ASCII to ASIC: Porting donut.c to a tiny slice of silicon
Xilinx, Altera - there's also some really cheap stuff coming out of China (Tang Nano). Because they all have their own dev system you tend to choose the one you know

There's a standard for external add-ons called PMODs (small boards with external connectors or parts) tiny tapeout uses it too, picking a dev board with PMOD connectors is probably a good idea.

Taniwha··on From ASCII to ASIC: Porting donut.c to a tiny slice of silicon
Almost anything you can do on Tiny Tapeout your can do on an FPGA and test it today (not wait 6-9 months to get silicon back) - if you are laying polygons yourself because you want to test out some novel circuit that TT is potentially a great idea.

On the other hand if you've learned logic design and want to spread your wings and make some real chips then TT is an educational experience - not only is the tooling different but often you need to understand stuff in depth that FPGA tooling kind of hides (because essentially FPGAs come pre routed) so it's a great way to take a small step into silicon design.

There's probably a large bunch of people who will make just one design because they can, just to say they did it.

I've taped out 4 CPUs on TT, I'm retired, I used to do chip design, TT has the same sort of scope as the logic blocks I was making 20 years ago - no one is going to be using it for manufacturing (you get just 1 die back)

Taniwha··on What it's like working for American companies as an Australian
9am in Pacific time is probably more like your 3-4am (depends on where in Aus you live) - certainly you could create 'core hours' 1-5pm Pacific time which would at worse be your morning (early morning in your winter)
Taniwha··on What it's like working for American companies as an Australian
I worked in NZ for SV companies for the past 20 years (until I retired) - I essentially worked US time but NZ days - so I got up early (5am winter, 7am summer and worked US core hours 10am-6pm) but didn't work US Fridays and got a lot done on my Monday. After 5 years I switched jobs and they agreed that I'd never have to start work at 5am (so 11am-7pm CA time) - that worked really well
Taniwha··on Black boxes from Jeju Air 2216 stopped recording four minutes before crash
remember they turn them off when they're not being used, a 1 hour battery would go flat every day
Taniwha··on Flattening ASTs and other compiler data structures (2023)
heh - I built compilers this back in the 70s because the machine I was working on didn't really do pointers as a 1st class data structure (B6700 algol), it's not really surprising finding someone doing something similar in another language that makes pointers difficult to deal with
Taniwha··on Be Aware of the Makefile Effect
I think this is completely normal for tools that you program seldomly. I write makefiles a couple of times a year, I've been using make for more than 40 years now, I use it every day, but I seldomly program it, and when I want something more than simple dependancies I often clone something that already works.
Taniwha··on Soldering the Tek way
Yeah, I teach kids how to solder, we use unleaded solder, but always insist they wash their hands after
Taniwha··on Gate-level simulation of ASIC in browser
Mostly I'm just trying to explain just how (relatively) hard things are, so people wont get too far out of their depth. I'd really recommend doing the usual HLL/assembler approach - start with a verilog only implementation, build a test bench (tiny tapeout has infrastructure for this), look at the bits you want to be faster/denser, try a hand compiled gates implementation (you can do this within verilog for a start), then maybe even hand lay it out

Yes, I live south of you in Dunedin, though I worked in the SF Bay Area for a couple of decades doing all sorts of stuff including chips, OS's, embedded crypto stuff etc

Taniwha··on Gate-level simulation of ASIC in browser
(I've written Verilog compilers, normal compilers, designed gates and chips, can read polygons, written assembler, etc etc)

I think it is all very analogous to software compilers, but IMHO writing in assembler is an order of magnitude easier than manually laying gates, and maybe 2-3 orders more than manually laying polygons.

Yes you can get better performance and density by laying polygons, especially stuff like ROMs and RAMs and regular ALU structures, but it's a lot of work and not a rathole you want to go down as a beginner

Taniwha··on Gate-level simulation of ASIC in browser
You can work at the polygon level if you really want to, you can write gates and have it lay them out for you (or place them yourself), or work in a higher level language like verilog and have it compile them into gates for you (what most people do) - your choice
Taniwha··on Gate-level simulation of ASIC in browser
You can do it too, come on over to https://www.tinytapeout.com/
Taniwha··on Nearly half Dell's US workforce has rejected RTO. Rather WFH than get promoted (2024)
Where would one get a list of these WFH Dell employees? Asking for an HR friend ....
Taniwha··on The price of shutting down coal power, and what would be gained
I flew across Northern China 5 years ago, you could see open cast mines next to power plants to the horizon .... but they were rapidly filling in the space with wind generation 1000s of turbines using the coal plant's transmission lines - they knew that the pollution drifting east to Beijing wasn't sustainable
Taniwha··on Algol-68 seemed like a good idea
Yup, we bought 1.5Mb of core for our B6700 for over a million dollars (I think we only had 3Mb on the machine I was working on)
Taniwha··on Algol-68 seemed like a good idea
A68 also allowed brackets interchangeably with the key words, you could say:

x := ( y < 1 | 1 | 2 );

Taniwha··on Algol-68 seemed like a good idea – until it wasn't
6 passes seems like a lot but likely that was just to fit it in the tiny computers of the time.

One problem with the language is that you can't parse declarations and expressions until after you have parsed the bracket structure of the language (because you can't tell whether a name is a type or an operator until you have processed their declarations (which do not have to be done before use) - that sort of means you have to do at least 2 lexical/parse passes

Taniwha··on Algol-68 seemed like a good idea
Not really, I did an implementation in the late 70s, ran on a mainframe of the time (1MHz 6Mb). The language itself is not much more than modern C in scope - and in fact many ideas that were new in 68 are expected in modern languages

The big problem was that the spec was essentially unreadable.

Taniwha··on Algol-68 seemed like a good idea
But not really - lots of new stuff was added - structures, unions, pointers, function pointers, operator definitions, a heap - all stuff that hadn't appeared in a language spec before, things we all see and use every day.

The big problem was that the language spec was incomprehensible (I've done a language implementation), trying to embed syntax and semantics into the one spec - the maths guys went a bit overboard there. The other main problem was trying to solve the reserved word problem by defining effectively multiple fonts/type faces for different parts of the language .... at a time when even lower case wasn't really an option for most people

Taniwha··on Hacker Fab
Maybe step back to 1980s gate arrays - a sea of nand gates just waiting for metal layers - wiring could just be done with fibs/insulation
Taniwha··on NandGame – Build a computer from scratch
Tiny Tapeout https://www.tinytapeout.com/ is the next step ......
← PreviousPage 6 of 34Next →