HNHacker News
TopNewBestAskShowJobs

anko

288 karma · joined December 20, 2010

submissionscomments
anko··on My first impressions on ROCm and Strix Halo
I would be interested to know what speeds you can get from gemma4 26b + 31b from this machine. also how rocm compares to triton.
anko··on Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM
100% this, i've been finding metal is getting very compelling against aws. For example latitude has 4 real cores and 32 GB of ram for $92/month.

https://www.latitude.sh/pricing/c2-small-x86?gen=gen-2

hetzner doesn't even have specs this low from what i can tell!

https://www.hetzner.com/dedicated-rootserver/#cores_threads_...

anko··on Infinite Tool Use
I have been thinking along these lines myself. Most of the time, if we need to calculate things, we'd use a calculator or some code. We wouldn't do it in our head, unless it's rough or small enough. But that's what we ask LLMs to do!

I believe we juggle 7 (plus or minus 2) things in our short term memory. Maybe short term memory could be a tool!

We also don't have the knowledge of the entire internet in our heads, but meanwhile we can still be more effective at strategy/reasoning/planning. Maybe a much smaller model could be used if the only thing it had to do is use tools and have a basic grasp on a language.

anko··on Tantivy – full-text search engine library inspired by Apache Lucene
I would love if tantivy had a single file format, eg. .tantivy extension so you could drag it into a notebook like you can with .sqllite files.
anko··on Show HN: LangCSS – An AI Assistant for Tailwind
my demo ran out of time before it did anything :(
anko··on Amazon Bets $150B on Data Centers Required for AI Boom
> The cost of computing decreases over time. No one will pay $100 Billion to train GPT-6. That is absurd. The current top supercomputer in the world (Frontier) cost $600M.

Just wanted to ask the question - do you think frontier has provided more or less value to the world than gpt-4?

anko··on Quiet-STaR: Language Models Can Teach Themselves to Think Before Speaking
> The real issue is running out of the input window.

isn't this what abstractions are for? you summarise the key concepts into a new input window?

anko··on Intel Continues Prepping the Linux Kernel for X86S
I wonder if AMD would adopt this too?
anko··on Unveiling the big leap in Ruby 3.3's IRB
> Gross. Python is a million times better than ruby to read and write

why do you think that?

anko··on Web Rendering Patterns
which one is elixir liveview?
anko··on Phoenix 1.7 is View-less
I agree 100% and I'd add, static typing helps when you inherit a poorly written codebase. This unfortunately is probably 99% of codebases in the wild. It has happened so many times when i've seen a lack of test coverage, a lack of understanding of the codebase but the business requirement to make changes.

Having a type system in place makes minor refactoring possible in this nightmare scenario.

I have been in the situation of poorly written ruby codebases and I can tell you 100% that I would prefer to have a poorly written java codebase with its static types. I prefer ruby as a language but man when it's bad, it's terrible. Just trying to work out the intent of a function when multiple types are passed in as the same argument over the codebase is pure hell.

anko··on A 100MW solar farm in Texas will mount panels directly on the ground
aussies are doing a similar thing although they install by pulling via tractor and the panels concertina out see https://suncable.energy/

they are doing an underwater cable to supply energy to singapore

anko··on Why I program in Erlang (2012)
server side computing is probably my take - it does handle more than that, eg. nerves but server side computing is the big win.
anko··on Why I program in Erlang (2012)
I'm not too sure - scala really has a crazy number of language features, which makes the scope of it way bigger. I'd say kotlin : Java is closer :)
anko··on The Reason Java Is Still Popular
Care to elaborate? I myself feel this way, but when i break it down I can't give good examples.
anko··on Framework is now available in Australia
2022 m1 macbook pro here - and i have one from work too. never had either crash, haven't plugged this one in for literally days, and right now i have an ide, vscode, ableton, slack, chrome with like 400 tabs in multiple windows and it's cool to the touch.

I think you'd like apple silicon macs.

anko··on Framework is now available in Australia
why do you say that? genuinely curious.
anko··on Using Rust to scale Elixir for 11M concurrent users (2019)
i'd love to know the operations they were doing and what they used the sorted sets for. I find for this type of thing, if the ids of the users are integers you can often use a bitset and optimise the crap out of it via SIMD. If memory is a huge concern, or if the data is super sparse you can use a roaring bitset.
anko··on Does my data fit in RAM?
I have solved a similar problem, in a similar way and i've found polars <https://www.pola.rs/> to solve this quite well without needing clickhouse. It has a python library but does most processing in rust, across multiple cores. I've used it for data sets up to about 20GB no worries, but my computer's ram became the issue, not polars itself.
anko··on About communication safety in Messages
it's compulsory to vote. If people start rocking up and it says they have already voted, it will be caught pretty quickly.

Australians are also fairly trustworthy

anko··on Ask HN: Should I learn Rust or Go?
> Go's M:N scheduler is an incredible piece of technology that is (IMO) unmatched by any other mainstream language.

I guess it depends how you define mainstream, but in Rust, Rayon has a work stealing scheduler too.

On the other hand, it has existed in Erlang for decades, and Elixir takes full advantage of it.

As for my 2c, I would say Rust is a better choice than Go in terms of the first language to learn. The main reason for this, is it is easy to embed in other languages. When I get to a problem that is too slow in a higher level language, eg. Python or Elixir, Rust is a great way to solve this problem. Just have a look at polars (https://www.pola.rs/).

anko··on Who is going to replace Google for us?
yep.. i even just miss the google reader days. why don't sites use rss/atom anymore? it drives me nuts
anko··on What does code readability mean? (2018)
This is a really good comment, and I hadn't really thought of it in those terms. So it's insightful to me. It encapsulates a lot of things I hadn't really directly tried to answer before.

My previous answer is that good code makes it easy to discover intent.

But I think the semantics are important too - for example in scala we use monad transformers to treat futures (async code) much like lists. But the problem with this approach is it's not clear without inspecting the type signature if you're doing something that has a high algorithmic complexity eg. spawning threads or not.

I think the best language i've ever read for semantics is elixir.

But i think the lack of static typing makes it harder to code review, especially on github. Maybe Gleam is the answer?

What language do you like?

anko··on Fast bitset decoding using Intel AVX-512
cool stuff! I was trying to do something similar on Arm Neon (m1 pro) with the CNT instruction https://developer.arm.com/documentation/ddi0596/2020-12/SIMD...

I believe it does 128 bits per instruction, but I'm still struggling with rust w/ asm.

Along my journeys, however, I found this repo https://github.com/WojciechMula/sse-popcount/ which has tons of competing simd implementations for both intel and arm.

anko··on 5-min breathing workout lowers blood pressure as much as exercise, drugs (2021)
life eg. cellular growth
anko··on How EEx Turns Your Template into HTML
Really interesting article! so does this mean you could use an eex Engine to render liquid? (https://shopify.github.io/liquid/)
anko··on Please put units in names
I think the problem is a bit more nuanced, but i don't have a perfect answer.

This is fine but relying on an IDE for code reviews really sucks. I'd much prefer to be able to do it on github. And it sucks for any language which infers types :( Scala is in particular awful for reviewing on github

anko··on Server Side Rendering at scale
appreciate the tip on Zod :) It looks like what i've been looking for!
anko··on Server Side Rendering at scale
> Node.js is 13 years old now.

> But at this point it's established, mature technology

I have to disagree. Day to day I maintain a variety of node.js, scala and kotlin services. By far, the most gotchas have been from the node.js services.

Simple things like validating incoming payloads are made ridiculously complex. You can get a library to do that, but which do you use? And then most of them don't export the typescript type signature so you don't get any type safety unless you re-define the type in typescript.

Let's say you want a tiered caching library? I've spent weeks of my life debugging concurrency issues because the memory store shared objects whereas the redis store didn't (because they were serialised and sent to redis). That's on the most voted caching library for node.

The quality of node.js libraries in general is far below that of scala/kotlin, and the maintenance cost is way higher. You can't easily tell if signatures for the apis of the libraries you import have changed as well. The ecosystem is still moving very fast, and while I agree that es6+ makes it a much better language, it causes its own issues when interacting with older code/libraries.

Expressive as the language may be, in production systems it leads to poorly understood code because of all the ways to do simple things, and the gotchas associated (something i believe it shares with scala).

> The multi process concurrency model is sometimes a pain in the ass and sometimes just want you want.

Give elixir a serious go and see if you ever say this again. Concurrency should be managed, much like garbage collection has been for 30 years.

anko··on The Elements of Cache Programming Style (2000)
does anyone have any similar articles targeting arm64 (m1)?
Page 1 of 9Next →