HNHacker News
TopNewBestAskShowJobs

cjg

3,862 karma · joined March 31, 2009

submissionscomments
cjg··on Lens (The Kubernetes IDE) v3.5.0-RC.1
https://k8slens.dev/ provides more info.
cjg··on From chaos to free will
Bell's Theorem doesn't say that at all. It just puts constraints on what such a deterministic system would have to be. For example a non-local deterministic system could well be compatible with Bell's Theorem.
cjg··on Show HN: Game of Life in 32 bytes of assembler
Depends on the Unicode encoding, no? Although, to be fair, it's probably UTF-8.
cjg··on A New Exoplanet and a Martian Helicopter
A helicopter on Mars is a challenge due to the low air density: https://youtu.be/GhsZUZmJvaM
cjg··on One corner of U.S. oil market has already seen negative prices
http://archive.is/tfWyx
cjg··on Popcorn Time 4.0
It isn't stealing. After you torrent something, someone else doesn't have less.

It also isn't treated as stealing by (most countries'?) legal frameworks. It's copyright infringement - and not even commercial infringement (where you are making money by infringing). Non-commercial copyright infringement isn't even criminal - it's a civil matter.

cjg··on How I made a 3D game in 2 KB of JavaScript
It gets zipped so the duplication goes away. In fact, repetition is deliberate to get better compression.
cjg··on Ask HN: STEM toy for a 3 years old?
A balancing cactus - e.g. https://www.amazon.co.uk/Plan-Toys-0410101-Balancing-Cactus/...
cjg··on How to decrypt WhatsApp end-to-end media files
The article links to the code: https://github.com/robertdavidgraham/whats-enc/blob/master/b... and provides an explanation of what it does: AES decryption with CBC mode.
cjg··on Show HN: Debugger that generates video visualizations for algorithm learning
vardbg is for Python, so rr isn't very helpful.

However, you could use RevPDB: https://morepypy.blogspot.com/2016/07/reverse-debugging-for-...

cjg··on Show HN: Debugger that generates video visualizations for algorithm learning
This could be a simple / cheap way to get a time-travelling debugger. Run your code through vardbg generating a video. If that run results in unexpected behaviour then you can step back and forward through the video and see where things went wrong.
cjg··on New York on track to ban cashless stores and restaurants
I think the person you are replying to meant "should" in the sense of "I want things to be a certain way" rather than "I think it is true that".
cjg··on Procrastination is about managing emotions, not time
In "The Regulation of Emotion": "the experimenter burned scented candles in the room, which she presented as part of her research on aromatherapy. She told some participants that the candles would freeze their current mode state for about an hour. The rest were told that the candles would not affect their moods."
cjg··on AGI Has Been Delayed
The first few autonomous vehicles have clear utility. The first few machines on IPv6 did not.

There's no network effect holding back autonomous vehicles.

cjg··on Ask HN: What should be taught in high school?
Shoot and edit a video and upload it to YouTube could bring in a number of skills.
cjg··on McMindfulness: How mindfulness became the new capitalist spirituality
One would hope that soldiers who had some experience in mindfulness would begin to notice their discomfort at killing other human beings.
cjg··on McMindfulness: How mindfulness became the new capitalist spirituality
No - Buddhism sees its central ideas to be radical and counter-cultural - particularly that one's actions should come from ethical principles rather than just conforming to a group.
cjg··on Why does the Librem 5 phone cost that much?
Most of the things that they say have caused the high cost are sunk costs in design.

Given that the design is open, it should be possible for another company, who doesn't have these sunk costs, to deliver the same phone for less.

Does this mean that they have the price wrong? Can selling open designs ever recoup such design costs?

cjg··on Worker-Owned Apps Are Trying to Fix the Gig Economy
Seize the means of production.
cjg··on Ask HN: Do you write tests before the implementation?
In my experience TDD is great when you know what you want a particular piece of code to do.

The other place it works well is code written as a pair - with one member writing tests and the other writing the implementation - the challenge is on to pass the buck back to the other pair member - i.e. find the obvious test that will cause the code to fail / find a simple implementation that will cause the tests to pass. This is great fun and leads to some high-quality code with lots of fast tests.

The benefit of TDD is that your coverage is pretty high - and you aren't writing anything unnecessary (YAGNI).

I don't think I have ever rewritten tests that I have written (TDD or otherwise). They might get refactored.

TDD doesn't work so well when you only vaguely understand what you are trying to do. This is not a coding / testing problem - get a better vision - prototype something perhaps - i.e. no tests and very deliberately throw it away.

cjg··on Labour pledges free broadband for all homes and firms in UK
This is not a good idea. We are very close to having a competitive market for broadband in the UK. Efficient markets are better than central government planning.

What's needed is some light regulation to push the market towards being fully competitive.

cjg··on Japanese KitKats Are Replacing Plastic Packaging with Origami Paper
KitKats always used to come with metal foil (not plasticised) and a paper covering. I remember making small squares out of that paper and making origami models.

http://www.heatspaceandlight.com/wp-content/uploads/2019/04/...

cjg··on Ask HN: What are your arguments in favor of end-to-end encryption?
They can't kick it down and push me out of the way if I have built an underground bunker.

And surely we all deserve an underground bunker.

cjg··on “The books will stop working.”
Giving refunds isn't sufficient.

The reason why trades happen is that both sides value what the other party has more. So I value a book more than I value the money the seller wants to charge for it, so I buy it.

So that means that I would lose out with a unilateral unwinding of the trade.

Imagine the outcry if this happened in the financial world: "Yeah, we sold you that stock, but we're taking it back now, you'll be OK because we're giving you the money back." Isn't going to fly.

cjg··on When Microsoft's eBook store closes, your books disappear too
Actually the price of a good is almost always the cost to manufacture and sell. If it were not, someone else would manufacture and sell it at cost. Bear in mind that the profit inherent in captialism corresponds to the cost of the capital required to run the manufacturing and sales process.

Of course, goods fall on a commodity range. Some things are entirely fungible, others less so. The less fungible a good is, the more the cost can move away from the cost to produce.

Books sound like they aren't fungible - after all one title isn't an exact replacement for another. But, they are quite fungible in the sense that one murder mystery can in some sense substitute for another.

Very few things are not fungible at all.

cjg··on Show HN: A Color Picker I Made
Fails when cookies are turned off.
cjg··on We Pay You to Learn to Code
I know another company that has been doing something similar in the UK for a few years. In their model they pay for you to train and guarantee you a job at the end of it. The catch is that you have to repay your tuition if you leave that job within 1 or 2 years. They send you on crappy consultancy projects and pay you a relatively low wage while they rake in high consultancy fees.

The people I know who had trained through that could not wait to leave and didn't feel that it had been overall positive.

On the upside you get some work experience too.

cjg··on New iPad Air and iPad Mini
The paragraph before the one you quote: "If the original title begins with a [...] gratuitous adjective, we'd appreciate it if you'd crop it"
cjg··on New iPad Air and iPad Mini
Please change the headline to something more objective such as: ""New iPad Air and iPad minis announced"
cjg··on Serverless collaborative editor using CRDT
If nothing else, you can "view source" on the page.
← PreviousPage 5 of 14Next →