HNHacker News
TopNewBestAskShowJobs

khc

2,623 karma · joined September 1, 2013

Author of catfs: https://github.com/kahing/catfs and goofys: https://github.com/kahing/goofys

looking for the next challenge: http://hxbc.us/resume.ml

submissionscomments
khc··on Package managers keep using Git as a database, it never works out
seems like the issue isn't with using git as a database, but using github as a distribution mechanism?
khc··on Firefox 143 for Android to introduce DoH
the browser, being the originator of these DNS queries, already knows what website you are visiting.
khc··on DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware
not being a native English speaker, I actually do this all the time
khc··on TIL: timeout in Bash scripts
I've written something 13 years ago using `read -t` https://github.com/kahing/bin/blob/master/timeout.sh
khc··on GNU Screen 5.0 Released
I map mine to C^] which I find to be a good balance between easy to type and not conflicting with other tools
khc··on Texas sues GM for unlaw­ful­ly collecting and selling dri­vers' pri­vate data [pdf]
> Jail for executives who approve or have knowledge of illegal activities sounds good to me.

I suspect one possible outcome is many people wouldn't want to take the risk to become an executive, and the percentage of executives who wouldn't mind taking risks of going to jail will increase, which is not a desirable outcome.

khc··on The File Filesystem (2021)
does it have to be fuse? cant you mount a disk image with loopback
khc··on Rural Americans are importing tiny Japanese pickup trucks
Reference?
khc··on Amazon will require employees return to the office 3 days a week
Where do you get $100/flight deals? Also you need to account for lodging during the week
khc··on Pidgin: The Universal Chat Client
Hi chipx86! I remember "Gaim's An Instant Messenger" used to be on the old website but either google or my memory is failing me.
khc··on Google lowered its salaries in North Carolina. Now workers are protesting
from the article, google isn't lowering anyone's existing pay, but is lowering future new stock grants
khc··on Upgrading Executable on the Fly
poked around a bit of that from a previous job, here's what I remember:

1. there's a control process and worker processes

2. on upgrade, control process launches new worker processes from the new binary

3. requests are drained from old worker processes

4. most of the time nginx request handlers allocate from a per-request allocation pool, so requests mostly don't share memory

5. for the cases where there are global states, there's a separate shared memory pool that you need to allocate from (which is kind of hard to work if you are not using built-in nginx primitives)

khc··on Databricks response to Snowflake's accusation of lacking integrity
with most people working from home, not sure if this heuristic works.

disclaimer: works for databricks, but not on spark, and first time posting in this thread

khc··on Twitter Blue is now available in the US and NZ
This came from an acquisition of scroll, which used to allow browsing partner websites without ads. Twitter Blue seems to require that we visit those sites from a tweet, which is a degraded functionality
khc··on Ask HN: Who's not sucky to work for?
> At a big company, everyone is spending someone else's money and the people at the top realize they can't (and shouldn't!) change course every 3 mo.

tell that to the google messaging teams :-D

khc··on Facebook under fire over secret teen research
I think the alternative would not be that teenagers would not have social media accounts, but that they would all be on Tiktok (which probably is already the case)
khc··on Hong Kong: Police Raid Tiananmen Square Museum
and 5000 years of dictator rule, not sure what you are trying to say
khc··on Welcoming our first riders in San Francisco
you automatically charge $500 to the passanger's credit card, and self-drive back to the depot to be cleaned
khc··on What Does My Site Cost?
google fi busted through GFW when I last went there in 2017
khc··on FUSE-based file system to inject faults
note that LD_PRELOAD doesn't work for things written in Go because they have their make their own syscalls instead of going through glibc
khc··on Improving Firefox stability on Linux
does it work on ubuntu?
khc··on Google Docs will now use canvas based rendering
All I want to know is: is this going to make google docs on firefox faster or slower?
khc··on Beyond Meat’s Beyond Burger life cycle assessment (2018)
According to https://waterfootprint.org/en/water-footprint/product-water-... , beef has a ~50x water footprint compared to vegetable.

It's hard to understand what "99% less impact on water scarcity" means but surely beyond meat can't use less water than vegetables? (since beyond meat is plant based)

khc··on Why A.I. Moonshots Miss
> Sort of like we already have flying cars. They're called "helicopters".

you cannot drive helicopters on the road, they are flying but not cars

khc··on Roku says it may lose YouTube TV app after Google made anti-competitive demands
This is how Google Assistant works on Android TV
khc··on UK court clears post office staff convicted due to ‘corrupt data’
Is there something equivalent for the US that people recommend?
khc··on France cuts two nuclear-powered submarines in half to make one new one
if you have more passengers, you will also have more cost to service these passengers per trip.
khc··on Amazon workers vote against unionizing in Alabama
is it different from manufacturing work or work in service industry?
khc··on Netflix lost 9% of the market share as competition increases
people's time is not unlimited. If a customer uses multiple services, it increases the chance that they may drop netflix. I know people who have kids and signed up for disney+, and then a few months later dropped netflix because they don't have time for both.
khc··on Clubhouse Payments
I think the usual abbreviation is GFW not TGF
Page 1 of 13Next →