HNHacker News
TopNewBestAskShowJobs

kornholi

168 karma · joined April 29, 2010

submissionscomments
kornholi··on ZFS on a single core RISC-V hardware with 512MB
The new RK3588 boards look promising. ITX3588J comes with 4 SATA ports and a PCIe 3 x4 slot that you could add more with, but it's not shipping yet.
kornholi··on China Bans Flightradar24
Don't need to be a superpower: https://spire.com/aviation/.
kornholi··on The future is in symmetrical, high-speed internet speeds
Although GPON is shared, it is not half duplex! I'm not exactly sure why the asymmetrical version won out, perhaps due to cheaper optics back in the day?

Latest iterations (NG-PON2 and XGS-PON) are 10G symmetrical, and XGS-PON is now cheap enough that GPON doesn't make much sense. AT&T Fiber in the US has been deploying it for the last few years.

kornholi··on Everything Easy is Hard Again (2018)
This was posted recently: https://tonsky.me/blog/font-size/
kornholi··on My Go executable files are still getting larger
Yeah, ML libraries are a huge offender. The Torch 1.8.1 manylinux wheel is 1.6G unpacked, with 1.1G going to CUDA support.
kornholi··on USGS Data on the Lebanon Blast
Yes, the different bands are not collected at the same time across the whole scene, so you get ghosting with moving objects. The SkySat sensor [1] is split in two halves: panchromatic and RGBN (where N is near-infrared). It takes lots of captures as the satellite travels that are later aligned and combined into one version.

[1] https://directory.eoportal.org/documents/163813/5615117/SkyS...

kornholi··on USGS Data on the Lebanon Blast
Higher res imagery from Planet: https://twitter.com/planetlabs/status/1291010972983992320
kornholi··on Building Uber’s Go Monorepo with Bazel
> Ok, but that decision would have to be made by the project maintainer, in this case Google, not the person using Bazel to compile protobuf.

No, that's up to the user. If you include protobuf in your Bazel workspace and have a toolchain configured, protobuf will be built with that toolchain (this is also how you would cross-compile). Bazel workspaces are still a little rough around the edges and interactions between them can be very confusing, as Google doesn't need them internally (everything is vendored as part of the same tree).

Under the hood there's a default auto-configured toolchain that finds whatever is installed locally in the system. Since it has no way of knowing what files an arbitrary "cc" might depend on, you lose hermeticity by using it.

Of course, the whole model falls apart if you want to depend on things outside of Bazel's control. However in practice I've found that writing Bazel build files for third-party dependencies isn't as hard as it seems, and provides tons of benefits as parent mentioned.

For example, last week I was tracking down memory corruption in an external dependency. With a simple `bazel run --config asan -c dbg //foo`, I had foo and all of its transitive dependencies re-compiled and running under AddressSanitizer within minutes. How long would that take with other build systems? Probably a solid week.

kornholi··on Building Uber’s Go Monorepo with Bazel
I wish Bazel was more explicit about things leaking in from outside the workspace, but you can always vendor the toolchain to be more hermetic. For example see https://github.com/grailbio/bazel-toolchain which sets up LLVM and Clang for you.

https://github.com/bazelbuild/bazel/issues/4558

kornholi··on Patch Critical Cryptographic Vulnerability in Microsoft Windows [pdf]
From Krebs tweets:

The NSA's Neuberger said this wasn't the first vulnerability the agency has reported to Microsoft, but it was the first one for which they accepted credit/attribution when MS asked.

Sources say this disclosure from NSA is planned to be the first of many as part of a new initiative at NSA dubbed "Turn a New Leaf," aimed at making more of the agency's vulnerability research available to major software vendors and ultimately to the public.

kornholi··on Evaluating Bazel for building Firefox
That's not exactly true, for example see https://github.com/grailbio/bazel-toolchain
kornholi··on Dramatically reduced power usage in Firefox 70 on macOS with Core Animation
BGRA is a "weird" convention in the graphics world that goes back to at least OS/2 bitmaps, when there was no wrong answer, and has stuck since then. Since early GPUs targeted Windows (where BGRA is the native format for GDI/D2D), it makes sense that it made it this far :)
kornholi··on Trigger a Kernel Panic to Diagnose Unresponsive EC2 Instances
Yeah, I've used GCE's console many times with SysRq to debug frozen instances. Surprised that AWS doesn't have one.
kornholi··on Letter from Tim Cook to Apple Investors
Yeah, not sure why this is such a hard concept for some people. I just replaced my two year old Pixel's battery as it started crashing at around 35% (as high as 50% with the camera on) and I'm not a heavy user at all.
kornholi··on Watching Hurricanes Irma, Jose and Katia From Above Earth
Depends the way you look at it. The final data is generally available within a couple minutes, but the data itself is not collected instantaneously. At least for the full-disk scenes, the collection takes 11 minutes so the top of the image is captured 11 minutes before the bottom.
kornholi··on Ask HN: What was your best passive income in 2016?
In the commercial world, NNN (triple net) leases are popular. The tenants take care of property taxes, insurance, and maintenance, so it is a good passive investment since you don't have to worry about operating expenses.
kornholi··on How to visit 30 cities for less than $450USD – Europe on the cheap
Ever heard of Schengen?
kornholi··on Open Letter to Tim Cook
Why not LPDDR4 against LPDDR3? LPDDR4 is also more efficient and has better density.
kornholi··on Ask HN: What is the state of C++ vs. Rust?
Surprisingly, it's already not that painful. I recently wrote a tiny JSON service with Iron and Diesel and it wasn't that much longer or complex compared to Go. The biggest headache was figuring out how Diesel works, and it would have been a lot easier using raw queries with something like rust-postgres (which would be the way to go in Go or Node). Once the ecosystem matures a little bit more I don't see why Rust would be a bad choice.
kornholi··on CHIP Pro
I think that's just the chip price, while $16 is for the whole board.
kornholi··on The bandwidth bottleneck that is throttling the Internet
Repeaters and equalizers. They go up to 8 fiber pairs, and are probably the most expensive single component for long cables. You need separate amplifiers/equalizers for each single fiber, so the cost strongly depends on the number of strands.

Since these repeaters are typically placed every 50-80km, there's a significant number of them in long systems and powering them becomes a challenge. These cables usually operate around 10kV DC at 1-2 amps, and I'm not sure how realistic it would be to go higher. The wire resistance losses are probably already more than 70% of the voltage budget, so you can't really use more current (voltage drop = I^2 R). Higher voltages cause other issues such as dielectric breakdown. Deep ocean cables are actually pretty thin, about as thick as a garden hose, and I doubt you could easily pass more than 15kV. You also have to account for ground voltage shift between the continents which may be as high as 1kV and depends on the weather.

kornholi··on $1B for Dollar Shave Club: Why Every Company Should Worry
https://www.google.com/patents/US6212777

Expires somewhere around 2018 (17 years after issuance)

kornholi··on Ōryōki Web Browser
Unfortunately, Intel giveth no more :(

I've been hearing discouraging things from both architecture and silicon people at Intel. It seems like they lost direction, probably because of the recent explosion of mobile/ARM.

kornholi··on Ōryōki Web Browser
Seriously. I remember having 10s of tabs open in Firefox on an XP machine with 256MB RAM total, and it performed relatively well.

At first I was going to blame all of the garbage from rockstar brogrammers, but even the simple HN comment page tab is using 264MB of RAM on macOS. The browser itself uses an additional 208MB according to Chrome's task manager, not counting all of the extensions. Where is it all going? There's 10 lines of JS on this page and a tiny amount of CSS. Has Chrome become that bloated?

This is especially annoying when many modern "desktops" apps are just Chromium wrappers that bleed memory.

kornholi··on Google Fiber agrees to acquire Webpass
why not just use IPv6?
kornholi··on Walmart Canada stops accepting Visa cards
A good amount of places also ask this in the US.
kornholi··on Intel Lines Up ThunderX ARM Against Xeons
AFAIK, all modern AMD CPUs support ECC. You just need motherboard support.
kornholi··on Ask HN: Is Python dying?
https://docs.python.org/2/library/2to3.html
kornholi··on Chattanooga to offer 10 gigabit internet service starting today
Alternative link: http://www.chattanoogan.com/2015/10/15/310477/Chattanooga-Im...
kornholi··on Amazon Flex
FedEx marked one of my packages as delivered but it didn't show up until 6 days later (the replacement arrived on the same day...). I assume someone just forgot about it on the truck, since the other one was actually delivered on time.
Page 1 of 2Next →