HNHacker News
TopNewBestAskShowJobs

madjam002

1,132 karma · joined July 22, 2016

submissionscomments
madjam002··on Redesigned 11-inch and new 13-inch iPad Air
I agree, although having bought a Samsung Tab S9 for this reason, it too seems to be very limiting. Samsung Dex is cool and all, but the app selection on Android is worse than iOS and I couldn’t find a way to run Linux since Linux on Dex was killed off.
madjam002··on Ask HN: What does stripe use for their unique IDs?
There’s a project called typeid which implements an ID scheme similar to Stripe.

https://github.com/jetify-com/typeid

madjam002··on AltStore PAL, the first alternative app marketplace on iPhone, is available now
Yeah they really should be using Stripe to authorise the card payment and then capture it when the app is successfully installed
madjam002··on Canva has acquired Affinity in an effort to compete with Adobe
I feel sorry for your students. PS Canva can export PDFs with vector graphics
madjam002··on Nix is a better Docker image builder than Docker's image builder
Does anyone here have any experience using https://github.com/pdtpartners/nix-snapshotter ?

I build a lot of Docker images using Nix, and while yes it’s generally more pleasant than using Dockerfiles, the 128 layer limit is really annoying and easy to hit when you start building images with Nix. The workaround of grouping store paths makes poor use of storage and bandwidth.

madjam002··on Walmart begins selling the Mac for the first time: M1 MacBook Air for $699
I got the M1 MacBook Air with 16GB RAM for £730 second hand off eBay as a backup laptop shortly after buying an M1 Pro 14”.

Then when I travelled for a few months I only took the Air with me, and it’s incredible how I could pretty much do all of my day to day development on it. The single core performance being pretty much the same is such a huge win.

After having a £3000 Surface Book 2 for a few years which is truly one of the worst devices I’ve ever owned, the M1 Air is by far the laptop I’ve got the most value out of.

madjam002··on Show HN: FlakeHub Cache: Fast, secure, configurable. A new take on Nix caching
To clarify I meant having /nix/store on some kind of persistent volume rather than copying it at the start and end of every job, that indeed would be painfully slow and extremely inefficient. I don't know if this is possible with CircleCI.
madjam002··on Show HN: FlakeHub Cache: Fast, secure, configurable. A new take on Nix caching
I don’t know about CircleCI but if you can persist the /nix/store then that will give you the performance improvements you’re looking for.

I use Gitlab CI and with self hosted runners I can make sure the /nix/store is persistent across CI jobs and then my builds take ~5 seconds if no code has changed, 5 seconds of which is just nix build evaluating all my nix files and realising no work needs to be done.

madjam002··on Show HN: React Geiger – performance profiling using sound
There's also https://github.com/tomhicks/react-audible-debug which has been around for some time, I think it has a clearer sound for identifying excessive re-renders, but it's definitely a little more annoying :)

https://stackblitz.com/edit/react-9vb6xn?file=src%2FApp.js

madjam002··on Ask HN: Why does it seem hard to buy an ONT for fiber?
True I guess, although one would perhaps expect a fibre network to be more reliable and stable than a cellular network.

Why would a large ISP allow customers to bring their own ONT if it means higher chance of problems on the PON? It doesn't seem worth the reputational risk. Allowing customers to bring their own router doesn't affect other customers.

madjam002··on Ask HN: Why does it seem hard to buy an ONT for fiber?
Ah ok, in the UK our only widespread DOCSIS network strictly forbids 3rd party modems for the same reasons I mentioned.
madjam002··on Ask HN: Why does it seem hard to buy an ONT for fiber?
A good fibre ISP will have a separate ONT and router, so you can still pick your own router.

The ONT should be considered part of the ISPs network and not tampered with or replaced. Fibre with an ONT (PON) is a shared medium with other customers, and trying to use your own equipment has the possibility of degrading service for other customers.

madjam002··on Panda CSS: build time and type-safe CSS-in-JS
This looks very similar to Vanilla Extract, the API of Panda is exactly the same DX I had using it with React, but I still ended up jumping on the Tailwind bandwagon because I find it just gives me a slight extra boost in productivity and speed, especially when prototyping.
madjam002··on We built our customer data warehouse all on Postgres
This looks pretty cool, thanks for the pointer! It would be nice if there was a way to create a stream using this where the materialized data doesn't actually get stored on disk in a materialized table, instead it just streams changes to e.g kafka.
madjam002··on We built our customer data warehouse all on Postgres
One thing that I think would be awesome is if there was a Postgres extension for streaming queries, where you could join tables with millions of rows and when any of the upstream data is changed you’ll be notified of the delta changes.

I tried Materialize but it seemed incredibly wasteful to duplicate terabytes of data and was also extremely slow compared to the same query running in Postgres.

For now I’ve rolled my own using Debezium CDC and simply reevaluating entire queries with joins when any data changes, but having something more smart would be ideal.

madjam002··on Why are we templating YAML? (2019)
Yeah similarly I'm using Nix to template K8s templates and I've never looked back. Helm is great for deploying 3rd party applications easily but I've never seen the appeal for using it for in house services, templating YAML is gross indeed.
madjam002··on Going declarative on macOS with Nix and Nix-Darwin
Moving /nix to another location would require a lot of package authors that make the assumption of /nix/store being a constant to rewrite their packages, an effort that doesn’t really seem worth it.
madjam002··on Exploring Podman: A More Secure Docker Alternative
Maybe you’re thinking of something else, because Podman is mostly a replacement for Docker and shares most of the same command line, not k8s
madjam002··on Duolingo Cuts 10% of Contractors as It Uses More AI to Create App Content
Are there any better apps for learning a foreign language?
madjam002··on GameMaker to be free for non-commercial purposes and have one-time fee license
Last time I used Game Maker was just before they got acquired by YoYoGames, it actually inspired me to learn programming along with Roblox (early 2007).

It’s cool to see how it’s still going!

madjam002··on 8GB RAM on M3 MacBook Pro 'Analogous to 16GB' on PCs, Claims Apple
Hah, reminds me of when they tried to justify having a max of 16GB of memory
madjam002··on Ask HN: Cloudflare Workers are down?
Yep our current marketing site is NextJS hosted on Hetzner fronted by Cloudflare, fortunately that's still up and never has any problems.

We've moved to next-on-pages for our new marketing site and I've spent the whole day on finishing touches ready for switch over at 20:00 UTC, and now this :((

madjam002··on Ask HN: Cloudflare Workers are down?
And just 30 minutes ago we were about to flip the switch on a months long migration to Cloudflare Pages for our new website, I guess some things weren't meant to be :')
madjam002··on Yarn 4.0
Wow so much negativity here, I just can’t imagine not having Yarn PnP for my project with 15+ packages all in a monorepo. It’s super easy to patch 3rd party packages, fast at installing and adding new dependencies, and it plays so nicely with Nix which is great for CI/CD, as with a bit of tooling all of your packages will be cached between builds.

Even some “heavyweight” frameworks which I didn’t expect to work, work fine, such as NextJS.

I’m a very happy Yarn Berry user.

madjam002··on Zen 5's Leaked Slides
If I wanted to build a home server with very good single core performance but very low power consumption (storage and upgradability aside), what are the best options right now? Probably a Mac Mini M2 haha
madjam002··on React Server Components made our site a lot faster
But RSC is how you do server based apps with React, and they’re clearly sticking with React.

Sure you can render to static markup without RSC but then you have to do a lot of work to mix server/interactive client components, RSC makes it a lot easier to achieve “server based apps”.

It’s not a deceptive headline at all.

madjam002··on Lodash just declared issue bankruptcy and closed every issue and open PR
I was using Yarn 1 before, and it was a nightmare. Slow and painful to package applications with lots of dependencies and to deploy.

So yes I did migrate to Yarn 2+, and it made CI/CD much easier and faster.

madjam002··on Problems with homemade billing systems
I’ve found Temporal and Xstate are helpful at building a reliable billing system
madjam002··on Lodash just declared issue bankruptcy and closed every issue and open PR
For me I can’t imagine using anything other than Yarn 3 for Javascript dependency management
madjam002··on Ask HN: Is GNU pass and Yubikey (via NFC) supported on iPhone?
Well it works pretty well for me via NFC using a YK 5 and 5C.
← PreviousPage 3 of 11Next →