HNHacker News
TopNewBestAskShowJobs

thefilmore

1,544 karma · joined April 17, 2018

https://akr.am
submissionscomments
thefilmore··on Coding is not solved
From the authors of "coding is solved": Today, a colleague trying to run Claude Code ran into an issue where it shows the Bun help menu instead [1]. Previously, Claude Code uninstalled itself several times when I used it. [2]

[1] https://github.com/anthropics/claude-code/issues/88715

[2] https://github.com/anthropics/claude-code/issues/7547

thefilmore··on Tells of a Slop UI
Cloudflare has definitely gone all-in on slop.
thefilmore··on 10 Tells of a Slop UI
I would think it's a phishing site with that word mark.
thefilmore··on Programming is Art
Someone needs to innovate to feed the training set :)
thefilmore··on Openrsync: An implementation of rsync, by the OpenBSD team
This is the version used in macOS since 15.0.
thefilmore··on Claude Code's source code has been leaked via a map file in their NPM registry
400k lines of code per scc
thefilmore··on Our commitment to Windows quality
https://x.com/tim_cook/status/2034979891926769864
thefilmore··on How we rebuilt Next.js with AI in one week
Yup. This was so jarring to read. Shame.
thefilmore··on Wikipedia deprecates Archive.today, starts removing archive links
It's true.

https://archive-is.tumblr.com/post/808911640210866176/people...

thefilmore··on I guess I kinda get why people hate AI
> There's a mass psychosis happening

Any guesses on how long this lasts?

thefilmore··on Oh My Zsh adds bloat
My zsh config has three things:

    setopt PROMPT_SUBST ; PS1='[%n@%m %c$(__git_ps1 " (%s)")]\$ '
    bindkey "^R" history-incremental-search-backward
    autoload -Uz compinit && compinit
The first one is mentioned in `git-prompt.sh` that comes with git, which needs to be sourced as well.
thefilmore··on Why is the Gmail app 700 MB?
Author here. Thanks for sharing this. It seems they released an updated version of this analysis last year [1]. It matches what I saw when analyzing the IPA. I tried to do a deeper analysis on the code itself using several tools, including Google's own bloaty [2] which was not very useful without symbols, classdumpios [3] which revealed something like 50k interfaces starting with "ComGoogle", and Ghidra [4], which I left running for a day to analyze the binary, but kept hanging and freezing so I gave up on it. Perhaps comparing the Android and iOS code could lead to something more fruitful.

[1] https://x.com/emergetools/status/1943060976464728250

[2] https://github.com/google/bloaty

[3] https://github.com/lechium/classdumpios

[4] https://github.com/NationalSecurityAgency/ghidra

thefilmore··on I built a native Windows Todo app in pure C (278 KB, no frameworks)
I wrote a guide [1] that collects this information in one place.

[1] https://akr.am/blog/posts/a-guide-to-compiling-programs-on-w...

thefilmore··on Hiding elements that require JavaScript without JavaScript
You can use the hidden attribute.

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...

thefilmore··on Show HN: Protect your links with a password
End-to-end encrypted, open-source, ~250 lines of code, password optional, and not just for links - https://plic.cc
thefilmore··on What autoconf got right
Bell Labs had a simpler alternative in IFFE [0], that consisted of a single shell script [1]. You would specify any required headers, libraries and tests in a simple text file [2].

[0] https://www.cs.tufts.edu/~nr/cs257/archive/glenn-fowler/iffe...

[1] https://github.com/att/ast/blob/master/src/cmd/INIT/iffe.sh

[2] https://github.com/att/ast/blob/master/src/cmd/3d/features/s...

thefilmore··on XZ backdoor: "It's RCE, not auth bypass, and gated/unreplayable."
xzploit
thefilmore··on Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016)
It's also a drop-in replacement for grep as it supports the same flags and regular expression syntax.
thefilmore··on We migrated to SQL. Our biggest learning? Don't use Prisma
I tend to reach for TypeORM. It supports every database under the sun.
thefilmore··on Web server 'hello world' benchmark: Go vs. Node.js vs. Nim vs. Bun
In my testing I found no difference in response time for a web app running in Node.js vs Bun.
thefilmore··on MP3 vs. AAC vs. FLAC vs. CD (2008)
Your guess would be correct [1]. Some samples [2].

[1] https://www.mdpi.com/2624-599X/4/3/42

[2] http://www.harmjschoonhoven.com/mp3-quality.html

thefilmore··on MP3 vs. AAC vs. FLAC vs. CD (2008)
MP3 smearing can be noticed even at 256kbps [1].

[1] https://www.soundonsound.com/techniques/what-data-compressio...

thefilmore··on MP3 vs. AAC vs. FLAC vs. CD (2008)
I came across this after listening to several 320kbps MP3 files and found that they sounded noticeably worse than 256kbps AAC versions. Support for AAC is widespread now and it should be preferred over MP3 [1].

[1] https://www.iis.fraunhofer.de/en/ff/amm/consumer-electronics...

thefilmore··on Node.js – v20.8.0
That's fantastic!
thefilmore··on Node.js – v20.8.0
This is very timely. I was profiling some code a few days ago and noticed streams were much slower than expected.
thefilmore··on Show HN: Backname.io – every IP address gets its own domain
If you're using this for testing, it's likely that you haven't fully locked down your server yet. It's not an exploit in itself but it potentially makes the server a target. No reason to do that until and unless it's required.
thefilmore··on Show HN: Backname.io – every IP address gets its own domain
I can think of at least four reasons and security concerns not to use a service like this:

- Exposing a potentially private IP to an external service

- If testing local IPs, adds a requirement for an internet connection

- Must trust that it will always resolve to the actual IP not another one

- Requires your service to accept a hostname that it likely shouldn't

thefilmore··on OpenTF is now OpenTofu
Why not OpenTransform?
thefilmore··on My Node.js is a bit Rusty
Before going to Rust, run `node --cpu-prof main.js`, and open the profile in chrome://inspect -> DevTools for Node -> Performance tab. It will tell you what's taking time and it may not be what you expect.
thefilmore··on macOS command-line tools you might not know about
I maintain updated lists here:

https://manp.gs/mac/1/

https://manp.gs/mac/8/

Page 1 of 2Next →