HNHacker News
TopNewBestAskShowJobs

bbojan

671 karma · joined August 8, 2017

submissionscomments
bbojan··on Predictive policing software is pretty terrible at predicting crimes
Somewhat related, a couple years ago Swiss police wanted to use AI software to predict burglaries. However, there were not enough burglaries in the country to get enough training data, so the project was shelved.
bbojan··on How to Do a Full Rewrite
I don't know. I always thought of software as a living thing. As such, it is never complete.

For example, 98% of the atoms in your body are replaced every year. Doesn't it make more sense to think of software in this way, as opposed to e.g. a car or a building? I guess even a building needs maintenance (roof is replaced, windows are replaced, ...), but it's on such long timescales that we think of it as "finished".

If you think of software as a living thing where X% of it needs to be replaced every year just to keep it where it is, then there is no need for a "big rewrite".

bbojan··on Turning an old car into a powerful generator
I believe that the Japanese version of Prius (not sure if the regular one or PHEV) comes from the factory with this option - it can work as a full house generator as long as there is gas in the tank.
bbojan··on ‘Less than half’ fresh produce sold globally makes any profit
> In the not distant past most Americans spent 30+% of their income on food

And now they spend 30% of their income on medical costs.

bbojan··on ‘Less than half’ fresh produce sold globally makes any profit
What quality are you talking about? In my 8 years in Canada I wasn't able to by decent blackberries or tomatoes. At any price.
bbojan··on Any sufficiently advanced uninstaller is indistinguishable from malware
Because the tools we currently use (mostly programming languages) are too insecure to allow you to run any random code from the internet (that has full access to all your computer resources). And most users would be incapable of keeping proper security practices needed in this case.

Installed software is considered to have a distributor, ie. a legally responsible entity that can be punished for any shenanigans.

I believe this is an outdated model and that with better tooling we could do what you envision.

bbojan··on 25 Gbit/s at home, part 1
In my case it was the city. I'm not sure if the providers pay for access or is it free (paid for by taxes).
bbojan··on That Old NetBSD Server, Running Since 2010
Wasn't that a Novell NetWare server?
bbojan··on FreeBSD replaces bubblesort with mergesort on SYSINTs
You don't see small kids right behind your car this way. I believe this was the main reason why rear-view cameras were made mandatory on new cars.
bbojan··on Heat your house with a mechanical windmill (2019)
Or generate electricity to run a heat pump for 2 to 3 times more heat generated than what you get from frictional heating form a windmill.
bbojan··on Python: Just Write SQL
The article is missing the code for creating the "users" database table. What about indexes? Migrations? Relations to other tables?

I mean you can just write SQL instead of using the ORM if your project consists of a single table with no indexes that will never change, sure.

bbojan··on Squeeze the hell out of the system you have
> - Design your application's hot path to never use joins. Storage is cheap, denormalize everything and update it all in a transaction.

Hard disagree. You just re-implemented a database engine in your application code. Poorly.

bbojan··on The first room-temperature ambient-pressure superconductor?
We had a working reactor in the 1960s, but we chose not to develop it commercially due to our inability to choose rationally. That's why we are where we are now.
bbojan··on The first room-temperature ambient-pressure superconductor?
> There's a reason none of _those_ have been built either.

Let me introduce you to the Molten-Salt Reactor Experiment[1].

What you probably meant is that none have been built commercially. That is true, but again as I mentioned, not because of their technical drawbacks but because of politics. In fact, the inventor of the light water reactor, Alvin Weinberg[2], was a strong proponent of the molten salt reactor over his own invention. So strong that he fired was from ORNL because he was claiming that light water reactors are inherently unsafe and that MSR is a better design.

Nixon ultimately sacked him because he (Nixon) chose to support LMFBR (Liquid Metal Fast Breeder Reactor) because it was being built in California, and in return he got political support that he needed. MSR ultimately lost due to pork-barrelling.

> This is easy to bypass, put something over the plug that won't melt.

I mean you're shifting goalposts here. The "operator" has a specific meaning - someone controlling the reactor from the control room. They don't have access to the freeze plug during normal reactor operation.

But even if they did do what you're suggesting, the pressures inside the MSR are so low (on the order of couple of bars) that the damage would be quite limited.

[1] https://en.wikipedia.org/wiki/Molten-Salt_Reactor_Experiment [2] https://en.wikipedia.org/wiki/Alvin_M._Weinberg

bbojan··on The first room-temperature ambient-pressure superconductor?
> The problem is that nobody has yet designed a reactor that a sufficiently amoral operator could not make unsafe.

That's not true. There are many designs (e.g. molten salt reactors) where the operator cannot do anything to cause the reactor to fail.

The reason we're stuck with water reactors is mainly politics, and somewhat laziness.

bbojan··on Zenbleed
The fine article states that simply turning off SMT doesn't help with this particular exploit.
bbojan··on Dropped iPad implicated in fatal Rotak Chinook helicopter crash
There was a helicopter crash in Canada due to an unrestrained tool bag: https://www.google.com/amp/s/beta.ctvnews.ca/local/ottawa/20...

And this one in Ireland due to a rag: https://www.irishtimes.com/news/helicopter-crash-caused-by-c...

bbojan··on Learning to Touch Type Again
I've tried many (too many) layouts and my recommendation would be Colemak-DH.

If you have a programmable keyboard, feel free to experiment with symbols, letters, etc. Home-row mods are also something that I warmly recommend.

bbojan··on Shopify elevated the non-manager career path and ditched meetings
"We don’t over-index on OKRs. Many important things can’t be measured and not everything that can be measured is important."

Can't agree enough.

bbojan··on Inflation is as corrosive to investing as it is to the real economy
I have a fixed-rate mortgage from a Canadian bank.
bbojan··on Flying taxi at the Paris air show is quiet – too quiet
Yes, the technical term for that is "lift induced drag".
bbojan··on Iron fuel shows its mettle
The elephant in the room are, as always, nitrous oxides (NOx).

Whenever you burn something in a nitrogen atmosphere, NOx are created. They contribute to acid rain and the formation of smog, and are a trigger for asthma.

bbojan··on Switching from QWERTY to Colemak and Back
Always found Colemak to be much more programmer-friendly than Dvorak.

E.g. try typing ls -la on Dvorak.

bbojan··on I Still Use Windows 95 (2008)
> Is there a WM out there that can do the basic quality-of-life functions of today's DEs? I'd love a simple, opinionated WM that takes the features we know are useful today (workspaces, expo mode, sensible file manager layouts, system trays) and gives them a color-adjustable window theme inspired by 90's aesthetics, with minimal compositing that can run fast on hardware as minimal as a prototype RISC-V board. Or really, what we need is a truly minimal DE. Something that doesn't care about GTK or Qt or Kvantum, and stays lean.

Mate desktop environment in my opinion comes closest to the simplicity of the Windows 95/GNOME 2 environments of the old: https://mate-desktop.org/.

Not sure how hardware-frugal it is since maintaining it under GTK 2 was not feasible and it's now developed against GTK 3 (with still maintaining the look and feel of GNOME 2).

bbojan··on James Webb Space Telescope reveals Fomalhaut's disk in detail
Maybe because it's still gas and dust, whereas if the same mass coalesces into large objects it's much less reflective?
bbojan··on Westinghouse AP300 Small Module Reactor
ThorCon (https://thorconpower.com/) is currently working on this approach.
bbojan··on A bacterial culprit for rheumatoid arthritis?
I had psoriatic arthritis and it just went away after several years. The only thing that could keep it in check was comfrey ointment (I tried everything conventional medicine had to offer except biologics). But since about two years ago I am symptom free.
bbojan··on Ways to shoot yourself in the foot with Postgres
Start with EXPLAIN ANALYZE then work from there. You can use tools where you paste the output of it and it shows you the data in a more easy to understand format.
bbojan··on The Best Pens for 2023: Gel, Ballpoint, Rollerball, and Fountain Pens
The "left handed pens" have a nib that's different so it doesn't scratch when you use it.

Think of a mirror-image of a regular nib.

bbojan··on China plans to ban exports of rare earth magnet tech
Think of "rare" as "diluted" or "rarified", as opposed to "scarce".
← PreviousPage 2 of 8Next →