Bulk of the series
en.wikipedia.org 1y ago
EN
HN user
hnchat:FSkXfgfLeKzOIRtPs2qE
Bulk of the series
And a good day to you, sir!
yes, exactly!
After using NixOS for a bit and eventually learning to rely on it, life without it seems inconceivably complex
When I was in college in 2001, I went to the library and checked out Kaare Christian's book called "The UNIX Operating System". One of the early chapters covered vi - I'd telnet into the school's Sun server with a pretty early version of vi (one-level undo) and follow the examples. Never looked back!
This should go into dictionary as definition for "fuck around and find out"
Oban is great!
A true derailer
One way is to become an apprentice with an experienced plumber - ideally skilled in hydronic heating.
I've been using daisyUI for a couple of years and really love it - it's a quick, reliable way to rig up a nice looking/functioning UI with minimal work, while making things appear reasonably uniform across pages/workflows.
The combination of Tailwind and daisyUI made it possible for me - a backend developer - to pretentd to be somewhat competent in frontendland, which has been incredibly handy, work-wise.
I've been using Azure's "Document Intelligence" thingy (prebuilt "read" model) to extract text from PDFs with pretty good results [1]. Their terminology is so bad, it's easy to dismiss the whole thing for another Microsoft pile, but it actually, like, for real, works.
[1] https://learn.microsoft.com/en-us/azure/ai-services/document...
You're dealing with much larger datasets than I have, so far - mine is only a few million vectors. I have a hard constraint on resources, so had to get things working quickly in a relatively gutless environment.
pgvector - I wasn't able to get HNSW to build/rebuild quickly [enough] with a few million vectors. Very possibly I was doing something wrong, but fun research time ran out and I needed to get back to building features.
I ended up breaking up/sharding HNSW across multiple tables, but I'm dealing with many distinct datasets, each one just small enough to make HNSW effective in terms of index build/rebuild performance.
The article suggests IVF for larger datasets - this is the direction I'd certainly explore, but I've not personally had to deal with it. HNSW sharding/partitioning might actually work even for a very large - sharded/partitioned - dataset, where each query is a parallelized map/reduce operation.
Yep, I believe it
HNSW has been great for relatively small datasets (a website with 30K pages), but it’s a dangerous stretch for anything bigger
I've had browser and Linux VM logging to HyperDX with great success, but have been struggling to get OTel logging working with Azure Functions. Turns out, new (currently in Preview) "Flex Consumption" functions [0] natively support OTel and work with HyperDX.
[0] https://azure.microsoft.com/en-us/updates/public-preview-azu...
This may be the one area where some form of autocracy has merit :-)
We've been using Nix flakes and direnv (https://direnv.net/) for developer environments and NixOS with https://github.com/serokell/deploy-rs for prod/deploys - takes serious digging and time to set up, but excellent experience with it so far.
Great work and writing - thank you!
I’ve been working on (with a couple of friends) a one-click observability solution for Supabase: https://supafana.com
This our first experience in infrastructure SaaS (we opted for Azure) - way harder than we planned for, but seems to work!
I don’t fully understand the words you’ve used, but it feels that RU market is too small to justify building plants?
If you’re looking for an open source feature flag option, also check out https://www.growthbook.io/
Talking to my 24 y-o daughter:
- Have you ever heard of ICQ? - No
I don’t know, but I doubt that they’re so smart that they’re the only ones who “deserve”, somehow, to be blessed with functional CS101.
I heard that it’s a special form of torture, since those CS programs must be hard, but I don’t really buy it.
I think it’s great that functional programming is making its way into traditional imperative languages - even JavaScript (I recently came across https://gcanti.github.io/fp-ts/ as a pretty extreme example)
Elixir/Erlang has function-level pattern matching, which I really like. I’ve yet to see it anywhere else, though my understanding is it came from Prolog.
Elixir wouldn't exist without Ruby, so I have nothing but gratitude.
My question angles more toward learning functional programming first, and I doubt it'll ever happen at bootcamps (though - my understanding is that's exactly what happens at Berkeley/MIT with Lisp/Scheme in CS101 (I'd argue with decent results)) - so it's very much a hypothetical.
Oh, I don't think there's a universal "better" when it comes to such things, and I'm not implying that one is universally better than the other.
I discovered the Elixir runtime (BEAM) a few years before Elixir was created (we were using the Erlang language then), and for my specific use cases, when I understood the principles of concurrency, error handling, and introspection in BEAM, it caused quite an epiphany. It was also scary, because I had to unlearn pretty much everything I knew :)
From a purely esthetic perspective, I find that pattern matching and tail recursion-enabled programming patterns are more concise, easier to comprehend, and are less error-prone than those offered by the more mainstream languages that don't have those features.
In my experience - and I'm not a particularly great programmer, so it was welcome - I found that I produced code with signifcantly fewer dumb errors when I no longer had access to imperative programming paradigms and was forced to come up with more "functional" solutions.
I don't believe that functional programming is inherently more complex than what we learn in school/college/work with conventional languages. My question really stems from the idea of learning functional first - and I do wonder what that would look like.
Sometimes I wonder what kind of a world we'd be living in if places like Flatiron School and the various bootcamps taught Elixir instead of Ruby.
Also, "lorry" is such a great word, too bad there's no use for it in the US.
This is so weird - I just finished watching "Sky Captain and the World of Tomorrow" on Max, then opened HN, and flying aircraft carriers is #1. How does HN know what I'm watching on Max??
That works!