HNHacker News
TopNewBestAskShowJobs

tkcranny

237 karma · joined August 28, 2023

submissionscomments
tkcranny··on DeepSeek: Reverse Engineering an AI Assistant by Interviewing Itself
Have you ever questioned the nature of your reality?
tkcranny··on Jellyfin founder Andrew leaves team
Infuse is terrific software, and supports jellyfin and smb. I use it for jellyfin and absolutely love my setup.

I ditched plex because of missing Dolby audio support and all the use hostile channels and “features” years ago, and will never look back.

tkcranny··on The Rise and (Potential) Fall of Letterboxd
The Sofa App (https://sofahq.com) is great if you're on iOS & Mac. It has movie, show, and book meta data for keeping track of recommendations.
tkcranny··on The Last Surviving Japanese Porsche 912 Police Car
I'm no car guy, but that's a beautiful vehicle. How totally Japanese too; zany but rad.
tkcranny··on US and Iran have agreed to wording of a deal to end their war
Believe it when I see it. I feel like I’m in a time loop with these headlines.
tkcranny··on Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use
I’ve stopped using Claude on the desktop, just because of how slow the app is to start up and interact with. It’s an absolute clunker; I’m mystified why they can’t ship something that works well given their rhetoric about ai.
tkcranny··on Apple Cuts More Mac Studio and Mac Mini RAM Options as Memory Shortage Worsens
It’s still dedicated ram on a separate chip, which is affected by supply shortages.

The ram is soldered onto the SoC in close proximity to the main arm chip. What’s different is that it is simultaneously addressable by cpu and gpu cores, not part of the same die as the apple silicon unit.

tkcranny··on Introduction to Atom
I’m not clear on the difference between atom and RSS. Atom seemed to be the better spec, but for my Astro blog I ended up sticking to the built in `rss` helper it ships with.
tkcranny··on Becoming a father shrinks your cerebrum (2022)
2022
tkcranny··on I run multiple $10K MRR companies on a $20/month tech stack
There’s a lot to be said about his approach with go for simplicity. Python needs virtual environments, package managers, dependencies on disk, a wsgi/asgi server to run forked copies of the server, and all of that uses 4x-20x the ram usage of go. Docker usually gets involved around here and before you know it you’re neck deep in helm charts and cursing CNI configs in an EKS cluster.

The go equivalent of just coping one file across to a server a restarting its process has a lot of appeal and clearly works well for him.

tkcranny··on Apple Exclaves and the Secure Design of the Neo's On-Screen Camera Indicator
> It runs in a privileged environment separate from the kernel and blits the light directly onto the screen hardware.

That explains how it can still be safe from even kernel-level exploits. Neat approach, and it works for the microphone light too.

tkcranny··on Too much color: how many decimal places do you need?
Their working is exceptionally thorough, all the concerns about additional maths and transformations is well considered. I really have to wonder if introducing any semantic-changing transformations for what I’m guessing are minuscule savings of bytes is worth it though. Safe things like stripping white space and shortening identifiers would be the major contributors to minification surely. How many CSS colours need to be defined for oklab rounding to even affect how many tcp packets are sent for instance?
tkcranny··on What does " 2>&1 " mean?
Python too under the hood, a lot of its core is still from how it started as a quick way to do unixy/C things.
tkcranny··on Apple introduces new AirTag with longer range and improved findability
I don’t lose bags either, but airlines do. The AirTag let me tell United which building in Houston in ended up in (after getting lost at SFO), and refute their gaslighting multiple times that it was heading my way. Worth its weight in gold, literally.
tkcranny··on The Quiet Power of SQL
While it’s hardly insightful that SQL is useful, I would have liked to read more about what the actual workload involving duckdb on a local machine looked like. I’m fully on board that local or single vm workloads can do an awful lot, but I’ve never been particularly satisfied with the pipelines I’ve seen (including my own). Usually they’re piles of scripts and intermediate data files sitting around and are hard to make idempotent and understand if you aren’t the author.

Also fwiw there’s no such thing as an M4 Ultra chip. That detail was either a mistake or hallucinated.

tkcranny··on Enjoy CarPlay While You Still Can
I’ve spent a lot of time with both, and hands down the wired one is far more flakey. Granted I think that’s more a Mazda software issue, but a solid 10% of the time I get “CarPlay failed” and the only way to fix it is to turn the car on and off. Never once had an issue with wireless in a Hyundai.
tkcranny··on Django 6.0 beta 1 released
Looks like Django 6 is getting an offical task system.

There’s no real world brokers or workers supported (at least built in), but still centralising around a standard interface might make things nicer than the celery tentacle monsters Django apps eventually tend to mutate into.

tkcranny··on Python 3.14.0 is now available
Introducing JIT features has a lot of opportunities beyond numerical numpy/numba vectorisation. There’s endless amounts of hot loops, data shuffling, garbage collection, and monomorphisation that could be done in real world python that would benefit a lot, much like V8 has done for JS.
tkcranny··on Python 3.14.0 is now available
The release has a pretty cute logo of the snakes eating a pie: https://www.python.org/downloads/release/python-3140/
tkcranny··on How does lossless compression in Fuji RAF files work? (2020)
It’s true that phones cameras are miracles of technology, especially considering their size. But I take a modern Fuji traveling because the modern phone camera look is so over-processed and distinct. There’s no faking the real optics a large aperture and sensor gives, the portrait mode on phones is still a poor imitation of the real thing.

Fuji then has the whole film simulation system with all their colour science from the last century. It’s a ton of fun, and the jpgs it produces are distinct and beautiful, and I believe better than 99% of people could achieve from post processing the raws, myself included.

The middle-age guy part is accurate though, I got it as a thirtieth present.

tkcranny··on How Container Filesystem Works: Building a Docker-Like Container from Scratch
Yeah it really was a social phenomena. Ten years ago conferences were swarmed with docker employees, swag, plenty of talks and excitement.

The effort to introduce the concepts to the mainstream can’t be understated. It seems mundane now but it took a lot of grassroots effort and marketing to hit that critical mass.

tkcranny··on Fast Type-Aware Linting in Oxlint
Oxc js a rust toolkit made by Void0, the mob that makes vite and vitest. These are highly regarded and performant additions to the Js/Ts ecosystem.

Oxlint is a alternative to eslint built on Oxc. It has suffered from not supporting the additional level of type-based linting that typescript-eslint can provide. They’ve now addressed that by patching and wrapping Microsoft’s new go-based typescript compiler.

Hopefully they are up to the task of continually keeping up to date with the go compiler’s internals, and/or Microsoft exposes a programmatic interface for the new compiler’s parser and type-checking.

I also wonder if or how plugins will be possible for this go+rust combination linter – they’re a pretty important part of the eslint ecosystem they’re trying to upend.

tkcranny··on The Photographic Periodic Table of the Elements (2017)
That site is misleading. Even putting aside regulations for many of the elements, everything after plutonium does not occur in nature and is made synthetically in individual atomic amounts that usually decay in hours to milliseconds. There is no way to see them, let alone sell them as a commercial product.
tkcranny··on Eliminating JavaScript cold starts on AWS Lambda
It’s a TS/JS to wasm to C tool chain, that runs the same JS a dozen times faster than on node. Very cool approach, and lambda cold starts are definitely where it ought to shine.

That said I wonder if it could ever go mainstream – JS is not a trivial language anymore. Matching all of its quirks to the point of being stable seems like a monstrous task. And then Node and all of its APIs are the gorilla in the room too. Even Deno had to acquiesce and replicate those with bugs and all, and it’s just based on V8 too.

tkcranny··on Modern Node.js Patterns
It has native TS and JSX support, excellent spy, module, and DOM mocking, benchmarking, works with vite configs, and parallelises tests to be really fast.
tkcranny··on Big Data was used to see if TCM was scientific (2023)
You know what they call alternative medicine that's been proved to work? - Medicine.

—Tim Minchin

tkcranny··on Dict Unpacking in Python
I don’t mind the distinction of it as a map container keeping dot properties/methods separate from the keyed values. But yeah the endless string quoting is painful coming back from JS, bare key literals in constructors like JS would be a welcome addition for sure, as would named key unpacking like this whole post is about.
tkcranny··on Dict Unpacking in Python
Yeah I had totally forgotten about this. I remember seeing it around a bit in the python 2 days when UTF-8 wasn’t always assumed. The fact a ~macro system can be bolted on using this is impressive, hilarious, and shockingly terrible.
tkcranny··on A 37-year-old wanting to learn computer science
Respectfully I disagree. I believe what Dijkstra is getting at is that the specifics of modern computers aren’t “relevant” at all. Ultimately it’s the science of information and whats computable. Be that a modern day silicon processor at X gigahertz, a pen and paper, or a universe sized computer, that’s irrelevant for the science itself.
tkcranny··on A 37-year-old wanting to learn computer science
“Computer science is no more about computers than astronomy is about telescopes” — Edsger W. Dijkstra
Page 1 of 2Next →