Better HN
topnewbestaskshowjobs
Log inSign up

hanwenn

227 karma · joined Mar 24, 2015 (11y ago) · 65 submissions

Submissions

comment 1mo ago · link · parent

that doesn't negate my point: with the attacks in the middle east, Saudi Arabia can't export its oil, and therefore, they are not going to make any money. Norway, the US and others, may get a windfall because they can charge more, but does that compensate for the loss of profit in SA ?

comment 1mo ago · link · parent

"Where does all that additional money go, and who benefits from it?"

Doesn't reduced overall supply usually mean that the total amount of money (price * supply) also reduces? ie. in total, there is no additional money.

comment 2mo ago · link · parent

"Finally delta objects should be stored as their own object in the packfile instead of slapped onto the end of the object it’s a delta of so that you don’t have to read the object and its deltas to read the object in the first place."

Author thinks that delta encoding is there for no reason. Good luck, kid.

comment 3mo ago · link · parent

I wrote my own (or rather, had Claude write it), https://github.com/hanwen/runclaude.

Mine uses containers, and makes only the git/jj workspace read/write, hiding all credentials that are in my home dir.

comment 5mo ago · link · parent

Yes. The links are to isolated threads on a rail (model) forums (apparently, this publisher markets books/magazines related to railway models).

It's hard to see if the individual complaints really support a general problem, or if this simply the only result that talks about "scam + business-name". Probably, the latter.

The same problem happens on google search, if you look "<obscure false fact>", you'll get pages mentioning that false fact. If you fall into the trap of confirmation bias, it leads you to think the false fact is in true.

comment 5mo ago · link · parent

Curiously, if you look for "geramond verlag betrugsmasche", or "verlagshaus24 betrugsmasche", it will now tell you that

     there are no indications it is a scam, but "significant organizational problems and extremely bad customer support lead to (list of bad experiences)". 
Also, each purported fact now has a direct link to the source of the fact, that is more clearly visible than the previous chain icon.

comment 5mo ago · link · parent

I got tired of the permission prompts and wrote a filesystem/network sandbox so I could skip all permission checks. It works on the same principle as bubblewrap, but has some niceties to separate Claude from its credentials. See https://github.com/hanwen/runclaude

comment 6mo ago · link · parent

AWS graviton, Google Axion? ARM has better performance per watt, which translates to better performance per $.

comment 6mo ago · link · parent

interesting article, but now I'm left wondering how the glucose gets to the retina. Why is this easier than supplying oxygen?

comment 6mo ago · link · parent

That is not quite the right word. For Python, the headcount was moved from the Bay Area (the most expensive place in the world to hire software engineers) to Munich (the most expensive place in Germany to hire SWEs.), for cost saving reasons.

comment 7mo ago · link · parent

Is anyone from GitButler reading this?

As others alluded, JJ already exists and is a credible successor to Git for the client side.

Technical desides aside though: how is this supposed to make money for the investors?

comment 8mo ago · link · parent

blaze/bazel was a big improvement over its predecessor (a set of python scripts that generated huge makefiles), but that did not make it free of accidental engineering. The google infrastructure teams were very tightly staffed, so for a long time, it was held together with proverbial duct tape and heroism.

Source: I was on part of the team that did the open sourcing, and had to clean lots of cruft in the code base that had accreted over 8 years.

comment 11mo ago · link · parent

Rob left Google a couple of years ago.

comment 11mo ago · link · parent

"WarpBuild are still the better option."

what makes you think they won't hike the control plane price again? They can turn this knob arbitrarily to put you out of business.

comment 11mo ago · link · parent

more background: https://sourcegraph.com/blog/zoekt-creating-internal-tools-a...

comment 1y ago · link · parent

IIUC, on EC2, the disk (EBS)is one service, and snapshots are in another service (S3). Taking a snapshot involves copying the entire disk to S3, while restoring a snapshot pages blocks in from S3 as the VM accesses the disk.

comment 1y ago · link · parent

Also: did you consider using LVM snapshots?

comment 1y ago · link · parent

Thanks for writing the blog post; it was a fascinating read!

I was curious about a couple of things:

* Have you considered future extensions where you can start the VM before you completed the FS copy?

* You picked XFS over ZFS and BTRFS. Any reason why XFS in particular?

* You casually mention that you wrote 'otterlink', your own hypervisor. Isn't that by itself a complicated effort worthy of a blog post? Or is it just mixing and matching existing libraries from the Rust ecosystem?

comment 1y ago · link · parent

IIRC it already uses content defined chunking for finding object deltas.

20.

Birth of the Bazel; An inside perspective of open sourcing Google's build tool(blog.engflow.com ↗)

2 points · by hanwenn · 2y ago · discuss

comment 2y ago · link · parent

Hi!

sorry for not responding to your email, I was swamped.

I looked through the sourcecode, but I can only find UI (ie. browser) code. Does this do anything beyond delivering a more functional and prettier UI on top of an existing zoekt deployment? If no, everybody would be better served if you tried to improve the UI inside Zoekt, which currently is a live demonstration of (my lack of) web app programming skills.

Have you thought of how you will achieve your further goals (eg. semantic search)? That will require server-side changes, but you currently have no Go code at all.

comment 2y ago · link · parent

don't forget Android.

comment 2y ago · link · parent

Both David Chang and his staff are ridiculous.

Different parts of the bird take different times to cook, so for food quality, cooking a bird as a whole makes no sense: either the breasts are overcooked, or the thighs are undercooked. There is just one reason, which is that cooking the animal whole makes for an arresting presentation. Then, you'd carve the animal tableside (like is done for Peking duck, see one of the other comments).

This requires having waitstaff that can carve a bird or having cooks that are presentable to the guests, and extra space in the dining room.

Clearly, David Chang is taking a shortcut already by carving the chicken in the kitchen.

comment 2y ago · link · parent

Developer infrastructure at google reported into cloud from 2013 to 2019, and we (i was there) tried to do exactly that: building products for gcp customers based on our experience with building interval developer tools. It was largely a disaster. The one product I was involved with (git hosting and code review) had to build an MVP product to attract entry level GCP customers, but also keep our service running for large existing internal customers, who were servicing billion+ users and continuously growing their load. When Thomas Kurian took over GCP, he put all the dev products on ice and moved the internal tooling group out of cloud.

comment 2y ago · link · parent

Haskell is another oddball. It was for a hardware project that used the to-be-auctioned analog TV RF spectrum for a new WAN standard.

It was canceled when it became clear the spectrum wasn´t going to be available. The Haskell rules then stuck around for another ~7 years before I deleted them as part of the cleanup for the Bazel release. They then promptly reemerged as one of the first language rules to be expressed in Bazel's newfangled Starlark language (then still called Skylark).

comment 2y ago · link · parent

Hi,

I wrote zoekt. From what I understand valtown does, I would try to use brute force first (ie. something equivalent to ripgrep). Once that starts breaking down, you could use last-updated-timestamps to reduce the brute force:

* make a trigram index using Zoekt or Hound for JS snippets older than X * do brute force on snippets newer than X * advance X as you're indexing newer data.

If the snippets are small, you can probably use a (trigram => snippets) index for space savings relative to a (trigram => offset) index.

comment 2y ago · link · parent

github uses something called babeld (just telnet to github.com port 22; the version string is printed immediately.)

comment 2y ago · link · parent

In the Bazel build system, you would mark the test data blob as testonly=1. Then the build system guarantees that the blob can only be used in tests.

This incident shows that killing the autoconf goop is long overdue.

comment 2y ago · link · parent

intra EU bank transfers cost much less than 1-3%.

comment 2y ago · link · parent

This story appears quite similar to the scandal at the Texas fruitcake bakery https://collinstreet.com/blog/the-sandy-jenkins-embezzlement...

In both cases there was a single person that both managed the books and executed transactions. They gained enough trust of their peers so nobody second guessed their lavish lifestyle.

123