Better HN
topnewbestaskshowjobs
Log inSign up

fiddlerwoaroof

6,540 karma · joined Jul 16, 2014 (12y ago) · 2,813 submissions

el-hn [at] elangley.org

fiddlerwoaroof.at.hn

Submissions

comment 1w ago · link · parent

If you have good taste in abstractions, fixing a bad abstraction is usually just copy/paste/rename/modify.

comment 1mo ago · link · parent

Yeah, a lot of websites these days seem to block or mess up autofill where I actually want it: I can’t say how many websites break credit card autocomplete, TOTP code autocomplete (e.g. via Apple’s native TOTP implementation), username/password autocomplete. I can never really tell if it’s incompetence or a misguided idea of security, but it’s extremely annoying.

comment 1mo ago · link · parent

I forgot about that, delta compression still can save quite a bit when you have nearly-identical files.

comment 1mo ago · link · parent

It can get even smaller when loose objects get packed into packfiles because of delta compression: a whole bunch of identical files can be stored in minimal overhead over storing one copy.

comment 3mo ago · link · parent

Google Buzz also seemed like a better path for Google to have a "social network" than what they tried to do with G+: Post short twitter-like things from various Google properties and have your friends posts show up in the same place. Between Buzz, Reader and gmail chat, Google had a fairly solid lineup of social products that they killed one way or another to boost G+.

comment 3mo ago · link · parent

Yeah, I’ve done that in a slightly hacky way (manually run the various stages of the sbcl build and statically link c libs before building the actual image).

comment 3mo ago · link · parent

sbcl can compile to a single executable (the image is embedded in the binary). From a deployment standpoint, the only real issue is if you depend on a dynamically linked C library like OpenSSL.

comment 4mo ago · link · parent

AI can generate a fairly satisfactory SVG for a favicon now (programmer art quality at least).

comment 4mo ago · link · parent

In a world with nix and where nearly every system has zsh, restricting yourself to the POSIX version of these tools is masochistic.

comment 4mo ago · link · parent

The two arg cd is pretty useful (and, zsh implements it too because cd is a shell feature): if you have parallel directory structure (e.g. the way rails does tests) you can switch from app/b/c/d to spec/b/c/f by doing `cd app spec`

comment 4mo ago · link · parent

I just use while’s default variable name, $REPLY most of the time. But `while` is my preferred tool for the xargs problem in most cases.

comment 6mo ago · link · parent

My experience mostly matches this: I think of a piece of development work having three phases:

1. Prototype 2. Initial production implementation 3. Hardening

My experience with LLMs is that they solve “writer’s block” problems in the prototyping phase at the expense of making phases 2+3 slower because the system is less in your head. They also have a mixed effect on ongoing maintenance: small tasks are easier but you lose some of the feel of the system.

comment 7mo ago · link · parent

You can hold command and drag the icons under the notch to make the invisible ones eventually show

comment 8mo ago · link · parent

This might be programmer-brain, but I find sqlite is pretty nice for things people would use a spreadsheet for. It’s a little bit higher friction, but when I started designing a Improv-like terminal spreadsheet a while ago, I eventually realized I was just reinventing databases.

comment 8mo ago · link · parent

“assuming a controlled access road without pedestrian traffic”

comment 8mo ago · link · parent

The Cayenne would not be safer going 35 instead of 40 "regardless of all other variables": it's statistically safer to go closer to the flow of traffic because you're then "at rest" with respect to other drivers (assuming a controlled access road without pedestrian traffic). If the speed limit is 55 and the flow of traffic is 70–80 (as is the case with the Beltway around DC, despite automated enforcement), then going 55 is more dangerous than "speeding". The issue with 100% enforcement is every law assumes certain circumstances or variables and the real world is infinitely more complex than any set of variables that can reasonably be foreseen by law (and laws that attempt to foresee as many variables as possible are more complicated and, consequently, harder for normal people to apply, which is another reason for latitude in enforcement).

comment 8mo ago · link · parent

Yeah, mine to which I find really annoying

comment 8mo ago · link · parent

I've done this sort of thing or worked with people doing it. The concept is simple, actually executing can take months.

comment 8mo ago · link · parent

I’m not justifying the design but splitting a table with several billion rows is not a trivial task, especially when ORMs and such are involved. Additionally, it’s easier to get work scheduled to ship a feature than it is to convince the relevant players to complete the swing.

comment 8mo ago · link · parent

Normalization is possible but not practical in a lot of cases: nearly every “legacy” database I’ve seen has at least one table that just accumulates columns because that was the quickest way to ship something.

Also, normalization solves a problem that’s present in OLTP applications: OLAP/Big Data applications generally have problems that are solved by denormalization.

comment 8mo ago · link · parent

> the effort and cost to download an ad-blocker that automatically removes the prompt to accept/deny entirely is practically zero

It's only zero if you don't need to interact with sites that break when you're running an adblocker. I run an ad-blocker nearly continuously, but there are all sorts of sites where I have to disable it in order to use the actual functionality of the site (and these are frequently sites I _have_ to interact with).

comment 9mo ago · link · parent

Yes

comment 9mo ago · link · parent

Coalton ( https://coalton-lang.github.io ) is the sort of thing I like: a Haskell-style language hosted inside a very dynamic one with good interop.

comment 9mo ago · link · parent

Yeah, there's something of a tension between the Perlis quote "It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures" and Parse, don't validate.

The way I've thought about it, though, is that it's possible to design a program well either by encoding your important invariants in your types or in your functions (especially simple functions). In dynamically typed languages like Clojure, my experience is that there's a set of design practices that have a lot of the same effects as "Parse, Don't Validate" without statically enforced types. And, ultimately, it's a question of mindset which style you prefer.

comment 9mo ago · link · parent

I'm not sure why "954 partners" is surprising: log10(954) is between 2 and 3 so, if you assume Soundcloud uses at least 10 SaaS products to manage data (AWS, Snowflake, Datadog, etc. this number is definitely a low estimate). And then you assume each of those entities process the data through 10 partners of various kinds, it only takes 3 steps out to get 1,000.

comment 9mo ago · link · parent

I've had a couple outages due to major version upgrades: the worst was the major version update that introduced systemd, but I don't think I've ever irreparably lost a box. The main reason I like nixos now is:

1) nix means I have to install a lot fewer packages globally, which prevents accidentally using the wrong version of a package in a project.

2) I like having a version controlled record of what my systems look like (and I actually like the nix language)

comment 9mo ago · link · parent

Over time I evolved to Debian testing for the base system and nix for getting precise versions of tools, which worked fairly well. But, I just converted my last Debian box to nixos

comment 9mo ago · link · parent

I think you could mitigate some of the problems by making the drug company pay for the treatment before approval.

comment 10mo ago · link · parent

Genius did something like this to prove that Google was stealing lyrics from them: https://www.pcmag.com/news/genius-we-caught-google-red-hande...?

comment 11mo ago · link · parent

Gemini (3.0 Thinking) solves it too.
12345
94