HNHacker News
TopNewBestAskShowJobs

hannibalhorn

1,029 karma · joined January 3, 2010

submissionscomments
hannibalhorn··on NestedText, a nice alternative to JSON, YAML, TOML
That seems like a pretty sensible approach - eliminates the "Norway problem" altogether. I'd guess you have to use the "%YAML 1.2" directive in all documents in order to get it though...
hannibalhorn··on Beef Fat Prevents Alcoholic Liver Disease in the Rat
That explains Argentina.

Seriously though, this study was published in 1989, so doesn't seem to be all that newsworthy?

hannibalhorn··on Apple just kicked Fortnite off the App Store
If I were Epic, I wouldn't even pick up the phone tonight. Let Apple sweat, and soon enough it'll be before a Congressional panel.

The app store certainly adds value by screening out abusive behaviors that can't be simply sandboxed; but 30% of revenue? That's just too much. At a minimum, we need to allow for competing app stores that can also earn the right to be trusted by consumers.

hannibalhorn··on Statement by Jeff Bezos to the U.S. House Committee on the Judiciary
I really enjoyed the first bit about his background. I don't see it as "victimhood" as much as showing where he came from - inspirational, even.
hannibalhorn··on Your DS18B20 temperature sensor is likely a fake, counterfeit, clone
I have several for homebrewing - monitoring mash, sparge, and fermentation temps.
hannibalhorn··on 'We've bought the wrong satellites': UK tech gamble baffles experts
I'm ignorant on the topic, but I'm really surprised the US wouldn't share that "equivalent access" to GPS with the UK?

Certainly seems like we'd be happy to sell such access to a close ally for less than the $600+ million investment referenced here...

hannibalhorn··on International Standard Paper Sizes
> Based on the experience from the introduction of ISO paper formats in other industrialized countries at various points during the 20th century, it becomes clear that this process needs to be initiated by a political decision to move all government operation to the new paper format system. History shows that the commercial world then gradually and smoothly adopts the new government standard for office paper within about 10–15 years.

The article is obviously dated, but at this point that'd be such a waste of time and resources. Government has to be focused on digitization and paperless/electronic processes, ideally getting rid of photocopiers instead of upgrading them.

Had never heard the logic behind the ISO paper sizes before though, very cool!

hannibalhorn··on Why Apple ditched PowerPC, and what it says about Apple ditching Intel
The article posted the other day had benchmarks for the Apple chips vs some Intel chips, they seem to be much more competitive than I'd have ever guessed: https://stratechery.com/2020/apple-arm-and-intel/?href=
hannibalhorn··on Dexplot: Python library for data visualization
And for those who missed the announcement, plotly is now an open source library (it used to be a web service where you needed an API key and had to upload data to their servers, etc.) You still get all the "polish" (nice docs, consistent API, examples, etc.) that went into it when it was a commercial product.
hannibalhorn··on Justice Department, states likely to bring antitrust lawsuits against Google
In Amazon's case, there's actually a lot of shareholders that would like to see AWS spun off into a separate business.
hannibalhorn··on GitHub Codespaces
Sure - I'm just venting. I found something trivial that makes a small difference, but the contribution process was overly cumbersome.

To the parent poster's point, I feel if I could easily submit even a small subset of the trivial changes I have sitting around in local forks, it'd greatly improve several projects.

hannibalhorn··on GitHub Codespaces
That'd be awesome!

    diff --git a/src/strconv/atof.go b/src/strconv/atof.go
    index 28ad094..49cec69 100644
    --- a/src/strconv/atof.go
    +++ b/src/strconv/atof.go
    @@ -410,12 +410,12 @@ out:
     }
     
     // Exact powers of 10.
    -var float64pow10 = []float64{
    +var float64pow10 = [...]float64{
      1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9,
      1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19,
      1e20, 1e21, 1e22,
     }
    -var float32pow10 = []float32{1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10}
    +var float32pow10 = [...]float32{1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10}
     
     // If possible to convert decimal representation to 64-bit float f exactly,
     // entirely in floating-point math, do so, avoiding the expense of decimalToFloatBits.

math.Pow10() already uses arrays this way, and I found a ~10% performance while optimizing an alternative float parsing implementation by making the same change.
hannibalhorn··on GitHub Codespaces
Hopefully the licensing requirements can be made simple as well!

I recently wanted to submit a 3 character change to golang that significantly speeds up strconv.ParseFloat(), but lost interest about 2-3 minutes into reading this: https://golang.org/doc/contribute.html

hannibalhorn··on Backblaze B2 Cloud Storage Now Has S3 Compatible APIs
Ah, the copy next to "Turn on Two Factor" sure sounded like SMS only, but sure enough, it gives you the option to use TOTP later on. Thanks!
hannibalhorn··on Backblaze B2 Cloud Storage Now Has S3 Compatible APIs
Just signed up to try it out - would really like to see some form of two factor auth that isn't SMS based. TOTP and/or FIDO U2F.
hannibalhorn··on Fat pointers in C using libcello
Start and end pointers is the approach used by the C++ STL, too.
hannibalhorn··on A Side Effect of the Covid-19 Pandemic? Reading Got a Lot Harder
It's not just reading/studying - even for those of who normally work from home, having the rest of the household around all the time is quite a distraction. I'm definitely not getting those large chunks of uninterrupted time where I'm at my most productive.
hannibalhorn··on Don’t Like What the Virus Models Say? Try Building Your Own
I find the modelling discussion really interesting.

The Imperial College report that kinda kicked off mitigation efforts in the west was pretty bleak. I didn't question it myself, but just a few days later I saw a Bill Gates AMA where he said the model in that report used some parameters that were a bit too negative. [1]

Not long after, the lead author of the report announced he was getting help from Microsoft (and apparently even John Carmack?) to clean up the code involved. It's apparently several thousand lines of undocumented C written 13+ years ago. [2] The software engineer in me can't help but be skeptical as to how accurate it is in the current situation. Data science has changed quite a bit in the last decade.

1. https://www.reddit.com/r/Coronavirus/comments/fksnbf/im_bill... 2. https://twitter.com/neil_ferguson/status/1241835454707699713

hannibalhorn··on IDA Home is coming
I find Hopper Disassembler just as good and the price is certainly much more reasonable, especially when it's for occasional use - I get out a disassembler to figure out undocumented/weird behavior maybe 4-5 times a year. IDA just isn't the only game in town anymore..
hannibalhorn··on The Docker Compose Specification
"Compose on Kubernetes"[1] seems to be what they're advocating at the moment, and it's included in Docker Desktop. It's probably an OK first step for simpler deployments, though I suspect in order to do any troubleshooting, one would have to learn k8s anyway.

1. https://github.com/docker/compose-on-kubernetes

hannibalhorn··on Google confirms microformats are still a supported metadata format for content
I hadn't heard of JSON-LD, but seems sensible, would sure be easier to work with than the traditional microformats.

The name seems unfortunate, though, as I thought that was "line delimited JSON"[1]!

[1] https://en.wikipedia.org/wiki/JSON_streaming#Line-delimited_...

hannibalhorn··on Half of Americans Don’t Vote. What Are They Thinking?
You're getting downvoted, but I think it'd be quite interesting to know how many people don't bother just because they are registered where (in a federal election) it's basically a foregone conclusion.

I live abroad but as my last residence was Texas, that's where my vote winds up counting (federal elections only) and it's a serious pain:

- my ballot has to mailed back

- I'm actually given multiple mailing addresses (it's unclear which I should actually use)

- I live in a country without a traditional postal service and thus have to hand deliver my ballot to the the embassy or use an expensive private courier service (UPS, FedEx, etc.)

- I have no way to know if my ballot was actually counted (did I fill some field out wrong, not print the "security envelope" right, use the wrong number of envelopes, etc. - the instructions are very unclear)

And in the end ... well, Texas is pretty much a foregone conclusion anyway. It's discouraging, to say the least.

hannibalhorn··on France fines Apple €25M for iOS software that slowed down older iPhones
They implemented a software feature to make an older, degraded battery last longer - while it should be optional and obvious, a government fine seems a bit over the top.

We've all now got houses full of IoT devices (Smart TVs, Webcams, etc.) that have serious security problems and don't get proper updates because the vendors lack incentive. This is a disincentive, and totally the wrong way to go.

hannibalhorn··on macOS Kernel Extensions are officially deprecated
LuLu uses the now deprecated NKE API, and definitely does some things that aren't supported by the replacement NetworkExtension framework. [1]

I've looked at doing some similar stuff, and I think they'll have to reimplement it as a "VPN", where the VPN is really just a user space process that performs the desired filtering. It'll be interesting to see how the Little Snitch guys approach it.

1. https://developer.apple.com/documentation/networkextension

hannibalhorn··on Apple dropped plan for encrypting backups after FBI complained
The iCloud security overview [1] says iCloud backups are encrypted "in transit" and "on server", but indeed doesn't say much about the encryption keys. There is "end-to-end encryption" on just a few items (iCloud keychain, WiFi passwords, etc.)

1. https://support.apple.com/en-us/HT202303

hannibalhorn··on Uber to quit Colombia after judge says it doesn’t compete fairly
I think eventually they'll legalize the apps, just a year or so ago I saw they were looking at it. The uproar over Uber leaving might be just what's needed to make some progress on that front.

Perhaps what is most frustrating is that the legal situation makes it impossible to do something like what Grab does in Asia, where a user just asks for a ride and both taxis and private cars participate as suppliers.

hannibalhorn··on Uber to quit Colombia after judge says it doesn’t compete fairly
Rappi does have a competing app called Beat, but Didi is definitely where's it at here. Significantly cheaper than Uber (assume they're subsidizing it quite a bit.)

My wife uses Didi to go to uni on days she has pico y placa and pays barely more than a bus would cost, which is kinda crazy.

hannibalhorn··on Security vulnerabilities fixed in Firefox 72.0.1 and ESR 68.4.1
Given it affects the ESR release, I suspect it's been around a while. More details would be indeed be nice!
hannibalhorn··on KeePassXC 2.5.2
For anyone that's used both, any impressions on how XC compares to BitWarden?

I've been looking to switch from my older copy of 1Password - I don't care about cloud support, beyond letting me keep the encrypted data in Dropbox or similar, but I really appreciate a good browser extension and mobile app.

hannibalhorn··on SamyGO: Open-Source Firmware for Samsung TVs (2011)
I have an older (2015?) model I’ve rooted via SamyGO - your assessment is pretty spot on. Still, it does have it’s uses - by rooting I’ve been able to start diagnosing compatibility issues with DLNA servers, for example.
← PreviousPage 2 of 8Next →