HNHacker News
TopNewBestAskShowJobs

stevep98

508 karma · joined May 11, 2011

submissionscomments
stevep98··on HeyWhatsThat – Calculate viewshed and panorama for any point on Earth
I’d like to be able to determine the location of a landscape photo. Should be able to calculate the panorama for 5x5 mile regions of earth, and use some matching algorithms to find the closest profile to my picture.

I thought about this when watching geowizard:

https://youtu.be/0ZbmYh9QZgA

stevep98··on I shaved 187MB off United Airlines' 439MB iOS app
Likely a DRM requirement so you can’t pirate their movies
stevep98··on The specs behind the specs – a deep-dive on ASN.1
I used the Netscape/Mozilla NSS library quite a bit, and one problem I found with it, is that all of the DER encoding/decoding was written by hand. They should have generated all that boilerplate from the ASN.1 modules written in the specs (later, RFC 2459, but at the time, a hodge-podge of scattered specs).

Hand-coding works okay when the data is what you expect. But when you throw mal-formed certificates at it, you have to catch all the edge cases. Having generated code would have enabled much more edge cases to be covered.

stevep98··on Ask HN: Career change for elderly UK ex-convict?
Learn how to write phone apps and sell them on the App Store. You can be your own boss.
stevep98··on I Don't Understand NFTs
> The underlying media pointed to by the NFT is not restricted, it's infinitely reproducible and thus valueless

It is protected by copyright or other IP law, and not valueless.

I would say that the incentive is that they can access a market of digital products without fear of being sued by the rights-owner. The value of the NFT approach is that it can all be codified and automated so that a) as a creator I can get paid for my content without having to negotiate contracts with every distribution channel b) distribution channels get access to every piece of content.

Not saying that NFT's will work in the end, but that's my understanding of it.

In simple terms, though, it's just codifying the license terms, so that at least has some value as digital media grows and content creation becomes decentralized.

stevep98··on I Don't Understand NFTs
If you have a digital work of art, an NFT can help you with two things: forms a binding between the rights-holder and the work of art. The NFT can also encode various information and other licensing decisions made by the rights holder for example:

- what is the name of the license covering the work of art - who is the original author - what date was the work created - what if anything was it derived from - are private or public performances allowed - is copying allowed - does the license allow for sublicenses or transfers

And, as we get into the money question: - what is the cost to play, display, or perform this work - who should be paid

I could imagine, say, iTunes being able to play NFT protected works, and being able to collect a fee from the user to be able to play it. In theory this would go directly to the rights holder, which would perhaps be the original author rather than a music publisher.

Another example I saw was that artists could create limited editions, say of 1000 of a digital image. If I wanted to display these on my TV, I would have to have own the NFT. The NFT addresses the problem of how Samsung figures out how to pay the rights holder. Usually after a work of art is sold, the original author is out of the picture. But, they could encode an NFT so that whenever the ownership is transferred, the original creator gets a slice. So, the original creator would continue to benefit from works which appreciate in value.

stevep98··on Thermal Grill Illusion
There used to be a demo in Epcot (‘The Body’?) which had two coils, one cold and one heated.. they were separate at the ends, so you could feel the difference. In the middle, they were interleaved, and if you put your hand on it, it would feel simultaneously hot and cold. Cool demo.
stevep98··on home.netscape.com in 1997
Ah.. from July 9. I was hired there on July 1. Good times!
stevep98··on Branson and crew reach space, return in runway landing
He was talking in a press conference after Virgin Brides was already closed down. The journalist asked him why it failed, and he said “no customers”, which was pretty funny.
stevep98··on Freespin: C64 demo running on 1541 floppy drive
not a book, but....

https://github.com/mist64/c64rom

stevep98··on Freespin: C64 demo running on 1541 floppy drive
I wasn’t bad with programming BASIC, but the true epiphany came when I went on vacation to Spain (very common for UK kids). I took the programmers reference manual which not only had info about BASIC, which I already understood, but it included info on all the 6502 opcodes and all the c64 registers. It really took me a long time to understand what this was. It would have been much easier to have a mentor to help me through this… it was a reference, not a tutorial.

But at some point, it clicked, and I started writing out the assembly… there was a register to control the screen background color… so I just blasted 0 into that register to make it black. In what was probably my greatest ever fear of engineering, I then hand-assembled my two-line assembly into 5 bytes of machine code. But I had to wait until I got back from vacation to try it.

It worked… it changed the background color, but it crashed the machine… I had forgotten to add ‘return from subroutine’, after that it worked, and that was the beginning of my journey.

I regret not spending more on proper tooling early on. But all the good assemblers were cross-assemblers that ran on pc’s.

There’s was also a really good book by Raeto Collin West that went into more details, and that’s where I got some of the drive register info. There is a command you can send to the printer to dump its memory, so that’s what I did. (To get it’s ROM to see what it’s drivers are doing)

The printer was critical to being able to read through the assembly and annotate it. You learn how to read ASCII in your head, etc.

stevep98··on Freespin: C64 demo running on 1541 floppy drive
Thanks for the info. I had remembered something like a 17x number but that just seemed like my mind was misremembering.
stevep98··on Freespin: C64 demo running on 1541 floppy drive
The processor in the 1541 was identical to the c64… 6502. (Or 6510C)

The serial link between them was notoriously slow. I studied them extensively as a teenager, and had reams of disassembly printed out in fanfold dot matrix, with my own scribbles. This is how I learned 80% of my computing skill set.

The signaling between the drive and computer used a clock line and a data line. When reading from the drive, the drive would set the data bit then invert the clock. The CPU would be polling the clock line, and when it changed, it would read the data bit. There wasn’t any fancy hardware like DMA. It was basically two cpus connected to get her with a couple of I/O pins.

I can’t remember where I saw it, but there was an extremely fast driver going around, and sure enough I disassembled it to find out what they were doing.

Before each 256-byte sector was transferred there was a loop which synchronized the cpus in the drive and host computer, down the the clock cycle. Then they used both clock line and data line to blast all the data, two bits at a time down the lines. The cpus didn’t wait for any clock to change, they just read the data as fast as possible. Wrapped with a bit of error detection to top it off.. in the end it was about a 10x speedup with the same hardware…. Which at the time was totally mind blowing

stevep98··on Boeing cargo plane makes emergency landing in ocean off Honolulu coast, FAA says
After the first engine failed, the pilot reported that the second engine was going to fail too, as it was running very hot. So, that eliminates a lot of failure modes.
stevep98··on Peter Thiel turned a Roth IRA into a $5B tax-free piggy bank
There was another article about another PayPal mafioso doing the same thing, Max Levchin, in Forbes back in 2012…

https://www.forbes.com/sites/deborahljacobs/2012/03/20/how-f...

It says the following:

“Tax rules bar you from investing your IRA or Roth IRA in a business you control—such a “prohibited transaction” can render the IRA immediately taxable and ­possibly subject to penalties.”

Thiel and levchin, and probably many many others have certainly skirted the spirit of the Roth IRA.

stevep98··on Solved by 1440p HiDPI: MacBook Pro 16“ is hot and noisy with an external monitor
I'm running one of the mentioned GPUs on a 4k monitor and never saw this problem.
stevep98··on Crypto crash deepens, stocks slip
A month ago ETH was ~$2200, now its $2500.
stevep98··on Few realistic scenarios left to limit global warming to 1.5°C
My understanding is that 2 degrees is not that harmful in itself, but it would lead to further uncontrollable runaway increases due to release of methane locked in frozen tundra.
stevep98··on 2p and £2 coin production suspended for ten years (2020)
The 2p coin should have gone a long time ago. It’s exactly the same weight as 2 1p coins. It’s huge though.

I also have a big problem with the pound coin... it’s far too heavy.

stevep98··on ISS dumps 2.9-ton battery, its largest discard ever
An alternative to deorbiting all this junk would be to aggregate multiple smaller pieces into a single trash pile. You could sweep all the trash from a swath of orbit, and tie it all together. Next you attach a single rocket to provide an emergency manouvering capability. Eventually, decades from now, you send a recycling unit to reprocess all these highly refined materials into something useful.
stevep98··on Fry's Electronics is closing all stores
I went into central (on Lawrence) a few weeks looking for a new monitor. I’m the kind of guy who does my research beforehand, and generally go in knowing what I want already. But I asked for help and a recommendation. I told the guy my basic requirements and he basically just looked at all the boxes to see if they had the specs I wanted. He had no experience with the products, and was really no help. I get better advice from reading the reviews on Amazon, sad to say.
stevep98··on Show HN: JavaScript Program Synthesis
This reminds me that last week I was joking with a friend... someone should make an AI that solves leetcode problems. Instant hire!
stevep98··on Apps Are Helping to Gut the Restaurant Industry
There are so many scammy ways they are approaching this. For example you think by looking up the restaurant on an app then clicking the phone number button to place your order directly, that you might avoid the fees. Nope. It’s a man-in the middle phone number, and they take the cut anyway.

Go to the stores website and pick your order, and have it fulfilled via doordash? Fine, you’ll pay a fee for the delivery driver. But the restaurant doesn’t pay doordash fee since they didn’t drive the business to the restaurants website.

But, next week you use doordash app and reorder the same thing? From now on the restaurant will pay the doordash fee.

stevep98··on Teardown of the SpaceX Starlink User Terminal
I think there is still a pricing problem with reusability because spacex doesn’t have any competition that is reusable.

There is no downward pressure on pricing because spacex only has to be slightly cheaper than the cheapest non-reusable rocket. So for a marginal cost of, let’s say, $2m for a reflown booster, there are still able to charge $50m+.

But since their customers are seeing prices of $50m, space is still expensive... nothing much has changed.

(I’ve simplified this by omitting the fact that the upper stage is not reusable)

A lot of BFR development is being done in the open in Boca Chica, and you can follow along because it’s being live-streamed almost 24/7. BFR has had small incremental hops recently and will try for a 15km flight this week. We’ll see what happens.

stevep98··on A look at Chang’e 5 telemetry
I would expect NSA would be already doing what these guys did with regards to receiving data. It’s practice for when they want to do the same with Chinese spy satellites. And, if they want to embarrass China, they could cause a failure by uploading a rogue command. NSA certainly has access to the required dishes.
stevep98··on Hyper-regional chippy traditions of Britain and Ireland
Tugboat in south San Jose batters and fries their fish to order.
stevep98··on Ask HN: Best HVAC system for a new house?
Check out Matt Risinger's Youtube channel. He's a builder, but much of his content focuses on lowering the cost of HVAC by making sure your insulation is effective, and your building envelope is draft-free. He does cover equipment too, such as multi-zone systems.
stevep98··on How Big Oil Misled the Public into Believing Plastic Would Be Recycled
Japan does this.
stevep98··on Tesla’s former CTO is building a giant lithium-ion battery recycling operation
The truck that collects my garbage has two sections. The driver selects which section the bin will dump into. It’s difficult to see from the curb what’s going on. Are you sure this wasn’t the case for you?
stevep98··on Hyperloop: Pipes of Fancy
I was told that Hong Kong metro makes more from real estate rental than ticket sales.

And just look at what we put next to our Bart stations: giant parking structures. Sigh.

← PreviousPage 2 of 9Next →