HNHacker News
TopNewBestAskShowJobs

drodgers

774 karma · joined March 10, 2014

CTO of Stile Education https://stileeducation.com/
submissionscomments
drodgers··on Ask HN: Share your AI prompt that stumps every model
o3 handles this perfectly by writing a solver using numpy: https://chatgpt.com/share/680aab8e-cf9c-8012-9f48-301ef62948...

    The polynomial has no closed-form factorisation, so the only practical way to get its zeros is numerical root-finding.
    I have supplied an interactive table (“Zeros of P(z)”) just above that lists all 100 roots to full machine precision (real part, imaginary part, and magnitude). You can sort or filter it as needed.
    
     Reliability notes
     • Computed with numpy.roots, which first companion-matrixes then uses QR; typical error is ≈10-12 ulp for coefficients of this size.
     • Condition number is modest (coefficients range from O(1) down to 1/97!), so the results should be accurate to at least 10 significant figures.
     • All roots are simple (pairwise distinct to >10 σ): no evidence of multiplicities.
    
    If you need higher precision (e.g. 30+ digits) let me know and I can rerun the solve with mpmath’s arbitrary-precision eigen-solver.
drodgers··on Claude Code: Best practices for agentic coding
Don’t be a dismissive dick; that’s not appropriate for this forum. The above post is clearly trying to engage thoughtfully and offers genuinely good advice.
drodgers··on HDR‑Infused Emoji
> There's no system that does that.

You mean the darkening of everything else to highlight bright HDR areas? All recent Macs do, including the one I'm typing on right now. It's a little disconcerting the first time it happens, but the effect is actually great!

drodgers··on LLMs understand nullability
Who cares about consciousness? This is just a mis-direction of the discussion. Ditto for 'intelligence' and 'understanding'.

Let's talk about what they can do and where that's trending.

drodgers··on Improving recommendation systems and search in the age of LLMs
> a sign of things to come

Isn't this, like, a sign of what's been happening for the last 20+ years (arxiv, blogs etc.)?

drodgers··on How much are LLMs boosting real-world programmer productivity?
I've found claude-code good in a multi-million line project because it can navigate the filesystem like a human would.

You have to give it the right context and direction — like you would to a new junior dev — but then it can be very good. Eg.

> Implement a new API in `example/apis/new_api.rs` to do XYZ which interfaces with the system at `foo/bar/baz.proto` and use the similar APIs in `example/apis/*` as reference. Once you're done, build it by running `build new_api` and fix any type errors.

Without that context (eg. the example APIs) it would flail, but so would most human engineers.

drodgers··on Show HN: Can I run this LLM? (locally)
This doesn't mention quantisations. Also, it says I can run R1 with 128GB of ram, but even the 1.58 bit quantisation takes 160GB.
drodgers··on MacBook Air M4
Yes. You need to go to server class chips (eg. threadripper) before beating the raw multi-core performance of a top-spec M4 Max in a Macbook pro, and the battery life is still crazy good!
drodgers··on TSMC expected to announce $100B investment in U.S.
China is still modernising. They're outproducing the US in terms of new equipment, but flows aren't stocks, and the US also has decades of refinement and experience to draw on in comparison to China's zilch.

Don't get me wrong: the trend is towards Chinese dominance, but I don't think we're close yet. China would have to throw everything at Taiwan, and it would turn into a shooting gallery.

drodgers··on TSMC expected to announce $100B investment in U.S.
The fab capacity would be gone, even if the defence succeeded. The process knowledge embedded in TSMC might survive though to rebuild it quickly.
drodgers··on TSMC expected to announce $100B investment in U.S.
The US would respond to with a freedom-of-navigation exercise backed up by the full might of US-PACOM. China would lose that standoff.
drodgers··on TSMC expected to announce $100B investment in U.S.
I don't see how the commenter is 'brainwashed'.

The One China Policy was and remains a convenient status quo for all parties. The risk is that China decides that it's newfound economic and military might have changed that calculus.

drodgers··on TSMC expected to announce $100B investment in U.S.
> even blockade Taiwan.

An act of war, which the US would respond to with a freedom-of-navigation exercise backed up by the full might of US-PACOM. China would lose that standoff, which is why they're unlikely to do it unless they were confident of US non-involvement.

drodgers··on TSMC expected to announce $100B investment in U.S.
Invading Taiwan will never be an economically rational action. If it happens, it will be because of internal politics, personal/national myth-making etc.

Taiwan is ridiculously favourable terrain for the defenders; if they fight back, there can't be quick victory, and the US will be able to play merry hell with China's naval logistics from day 1 (obviously with escalating levels of firepower available over time as more resources move in-theatre).

China could secure a more reliable victory by expending most of it's ballistic missile inventory to incapacitate the US bases in Guam and Okinawa, but that would inexorably trigger WWIII.

drodgers··on Apple says it will add 20k jobs, spend $500B, produce AI servers in US
What are you talking about? We've invented the Universal Translator already.
drodgers··on Half-Life
BG3 was great.

I don't think it counts as big budget, but I've recently gotten into Last Train Home and it's a fantastic and unique premise (with gameplay that's a mix of Company of Heros + XCOM + This War Of Mine).

drodgers··on Theoretical limitations of multi-layer Transformer
It looks like o3-mini doesn't yet support PDF input, but here's what Claude opus had to say:

    This paper proves the first unconditional limitations of multi-layer decoder-only transformers, which are the dominant architecture used in large language models (LLMs) today. The key takeaways are:
    
    1. Any constant-depth L-layer decoder-only transformer requires a polynomial model dimension of at least n^(2^(-4L)) to perform sequential composition of L functions over an input of n tokens. This is an exponentially larger model size than what an (L+1)-layer transformer needs.
    
    2. There are certain tasks, like L-step sequential function composition, that are exponentially harder for L-layer transformers compared to (L+1)-layer transformers. This proves a depth-width tradeoff.
    
    3. The same sequential composition tasks used above can be solved by an exponentially shallower and smaller encoder-only transformer compared to decoder-only transformers. This unconditionally separates the computational power of encoders vs decoders.
    
    4. Sequential composition tasks that are hard for L-layer transformers become exponentially easier when allowing L steps of "chain of thought" reasoning. This provides the first provable benefit of chain of thought prompting.
    
    The results rely on a new theoretical model called the "autoregressive communication model" that abstracts the key aspects of decoder-only attention. The lower bounds are proved by analyzing the ability of this model to perform multi-step function composition.
    
    The proofs appear technically sound, relying on information-theoretic arguments without unproven assumptions. The separation between encoders and decoders was previously only known assuming unproven complexity conjectures.
    
    The key limitation is that the theoretical model makes some simplifications compared to practical transformers. But overall, this looks like an important foundational result that rigorously demonstrates limitations of the currently dominant LLM architecture and provides theoretical motivation for alternative approaches like encoder-decoder models, chain of thought, and deep but narrow models. The unconditional nature of the results makes them more definitive than prior work relying on complexity assumptions.
        The sequential function composition problem that the paper shows to be hard for constant-depth decoder-only transformers essentially requires iteratively applying a sequence of functions, where each function takes as input the output of the previous function application. 
    
    In terms of practical everyday reasoning tasks, this could potentially capture things like:
    
    1. Multi-step arithmetic: A task like "What is 5 plus 3, minus 2, times 4, divided by 8" requires sequentially applying the arithmetic operations. Each operation takes as input the result of the previous one.
    
    2. Chained logical inference: Deriving a conclusion from a sequence of logical premises, where each inference step builds on the previous conclusions. For example: "If A then B. If B then C. If C then D. A is true. Therefore D is true."  Reaching the final conclusion requires iteratively applying the logical rules.
    
    3. Complex query decomposition: Answering a complex query that requires multiple steps of information retrieval and computation. Like "How many countries have a population larger than Russia's GDP per capita?" This might involve retrieving Russia's GDP, dividing by population to get per capita, then comparing each country's population to this value and counting matches.
    
    4. Multi-hop reasoning over knowledge: Drawing inferences that require combining multiple facts from a knowledge base. E.g. "The tallest building in the city with the largest population in John's home state" would require finding John's state, its largest city, and the tallest building there, using separate knowledge lookups.
    
    5. Sequential decision making: Planning tasks that require a sequence of decisions, where each decision depends on the state resulting from previous decisions.
    
    The paper suggests that constant-depth transformers, the current architecture of choice for LLMs, may struggle with tasks like these that require longer chains of computation, despite their strong performance on many benchmarks. Exploring alternative architectures like deeper models or encoder-decoder structures may help address these limitations.
    
    Of course, the actual difficulty of any given task for an LLM depends on many factors beyond just the abstract computational structure. But this result provides a valuable lens for understanding the types of everyday reasoning that may be challenging for the current paradigm and motivates further research into more compositional and reasoning-oriented architectures.
drodgers··on Were RNNs all we needed?
> The critical factor is the dataset, not the specific hard-coded bells and whistles that constrain the curve's shape

I have almost the opposite take. We've had a lot of datasets for ages, but all the progress in the last decade has come from advances how curves are architected and fit to the dataset (including applying more computing power).

Maybe there's some theoretical sense in which older models could have solved newer problems just as well if only we applied 1000000x the computing power, so the new models are 'just' an optimisation, but that's like dismissing the importance of complexity analysis in algorithm design, and thus insisting that bogosort and quicksort are equivalent.

When you start layering in normalisation techniques to minimise overfitting, and especially once you start thinking about more agentic architectures (eg. Deep Q Learning, some of the search space design going into OpenAI's o1), then I don't think the just-an-optimisation perspective can hold much water at all - more computing power simply couldn't solve those problems with older architectures.

drodgers··on SlateDB – An embedded database built on object storage
It looks like writes are buffered in an in-memory write ahead log before being written to object storage, which means that if the writer box dies, then you lose acknowledged writes.

I've built something similar for low-cost storage of infrequently accessed data, but it uses our DBMS (MySQL) for the WAL (+ cache of hot reads), so you get proper durability guarantees.

The other cool trick to use is to use Bε-trees (a relatively recent innovation from Microsoft Research) for the object storage compaction to minimise the number of write operations needed when flushing the WAL.

drodgers··on Vampires and Arithmomania
> [Taiwan] A singular place on earth where silicon wafers are endlessly etched with arcane symbols 4 nanometers in size, engraved by the light of heaven; life breathed into sand to help shoulder the burden of the world.

-Roon

drodgers··on A hard look at AWS GuardDuty shortcomings
I couldn't have said it better myself.

The actual product could be much better, but I actually think AWS is perfectly placed to run network and host intrusion detection; they can hook into the hardware when needed, they can instrument all the routers and switches, they can correlate patterns across many clients, all while not opening up the monitored systems to a third party over the internet.

> they introduce their own attack surface on hosts

I think this is a hugely underrated problem. Installing a kernel module with an internet-connected control plane is not a great way to improve security (especially when that control plane is run by a third party who might — hypothetically — push code updates through a server which accepts the password "solarwinds123").

drodgers··on AWS Secrets Manager Agent
Chamber can also use S3 + KMS as a backend, which reduces the API costs to ~0 and massively improves the scalability (since SSM has annoyingly low rate limits, or at least it did a few years ago when we last tried it).
drodgers··on Vision language models are blind
I can't help but read comments like this as:

"My talking dog always makes mistakes on calculus problems: how embarrassingly bad!"

Has the expectation treadmill really advanced so quickly that sub-human performance on any category of problems is now an embarrassment?

drodgers··on Turbopuffer: Fast search on object storage
I love the object-storage-first approach; it seems like such a natural fit for the could.
drodgers··on Rabbit data breach: all r1 responses ever given can be downloaded
For a company who's product requires trusting them with login tokens for all your favourite online services, this is ludicrously short-sighted.
drodgers··on iOS 18 cracks down on apps asking for full address book access
I reckon Apple Intelligence will end up solving this problem - have it classify notifications and then give you control. That way, you're not reliant on ongoing good behaviour from developers.
drodgers··on Ask HN: Who is hiring? (May 2024)
We're looking for people based in Melbourne, but we can sponsor visas.
drodgers··on Ask HN: Who is hiring? (May 2024)
Stile Education | Melbourne, Australia | Hybrid/Onsite | Full-Time https://stileeducation.com/au/who-we-are/engineering-at-stil...

We're a small, high-performing, diverse, tight-knit team with a mission to radically improve mainstream science education at schools. By creating the best science lessons in the world, coupled with intuitive tools that allow teachers to take advantage of the latest pedagogies, we’ve already helped millions of students in Australia get excited about science.

45% of Australian science students in years 7-10 (and an increasing number of US students) use Stile; come and help us grow our impact even further!

We're looking for a bunch of new roles right now:

  - Head of Product Engineering
  - Product Engineering Team Lead
  - Head of IT
  - Full Stack Senior/Staff Engineer
drodgers··on Ask HN: Anyone Tried Apple Vision Pro?
Yes, but VR headsets tend to focus everything at infinity, which is the most relaxed position for your eyes (and the opposite of starting at a nearby screen all day).
drodgers··on "A Young Lady's Illustrated Primer" Simulated by GPT-4
Definitely Stephenson. He has a tendency to write one-and-a-half books where the main drama resolves, then a lot of new context appears full of fresh challenges for our protagonists, and then the book ends.
← PreviousPage 2 of 6Next →