HN user

fovc

1,165 karma
Posts49
Comments358
View on HN
artificialinvestment.substack.com 8mo ago

Why Building Agents Is Hard

fovc
3pts1
arxiv.org 1y ago

NoLiMa: Long-Context Evaluation Beyond Literal Matching

fovc
2pts0
sustcsonglin.github.io 1y ago

DeltaNet Explained

fovc
2pts1
arxiv.org 1y ago

Mamba-Shedder: Post-Transformer Compression for Efficient SSMs

fovc
1pts0
cognitivemedium.com 1y ago

Reflections on 'The Bitter Lesson' (2021)

fovc
1pts0
arxiv.org 1y ago

Theoretical limitations of multi-layer Transformer

fovc
107pts22
linux.die.net 2y ago

Sponge(1) – soak up standard input and write to a file

fovc
3pts0
hbr.org 3y ago

How Frank Gehry Delivers on Time and on Budget

fovc
4pts0
johnhcochrane.blogspot.com 5y ago

Nuclear Power and Growth

fovc
2pts0
en.wikipedia.org 5y ago

Sweden Solar System

fovc
3pts0
www.sqlite.org 5y ago

The Next-Generation Query Planner (2013)

fovc
3pts0
vaclavsmil.com 5y ago

Buliding the Great Pyramid [pdf]

fovc
1pts0
www.aeaweb.org 6y ago

Are Ideas Getting Harder to Find?

fovc
199pts201
www.nature.com 6y ago

Mochizuki's proof of the ABC conjecture accepted for publication

fovc
116pts86
www.theatlantic.com 6y ago

How Will the Coronavirus End?

fovc
2pts0
hcoop.net 6y ago

The Internet Hosting Cooperative

fovc
2pts0
www.slate.com 7y ago

The Citicorp tower design flaw that could have wiped out the skyscraper (2014)

fovc
1pts0
m.nautil.us 7y ago

The Case for Leaving City Rats Alone

fovc
4pts0
vorpus.org 7y ago

Some thoughts on asynchronous API design in a post-async/await world (2016)

fovc
12pts1
www.theatlantic.com 7y ago

The Post-Advertising Future of the Media

fovc
1pts0
en.wikipedia.org 7y ago

Sütterlin

fovc
3pts0
www.confluent.io 7y ago

Toward a Functional Programming Analogy for Microservices (2017)

fovc
3pts0
www.haskellforall.com 7y ago

Scrap your type classes (2012)

fovc
4pts0
www.prnewswire.com 8y ago

Announcing the Launch of OceanX, a New Mission to Explore the Ocean

fovc
1pts0
www.theatlantic.com 8y ago

The Birth of the New American Aristocracy

fovc
3pts0
www.technologyreview.com 8y ago

Goodbye Alexa and hello gadgets listening to the voice inside your head

fovc
2pts0
nullprogram.com 8y ago

WebGL Double Pendulum

fovc
2pts0
www.theverge.com 8y ago

KFC in China tests letting people pay by smiling

fovc
2pts0
worrydream.com 8y ago

What can a technologist do about climate change? A personal view

fovc
1pts0
www.bloomberg.com 9y ago

Innovation Won't Overcome Stagnation

fovc
1pts0

I also think it’s important to notice that a lot of these challenges they happen with humans too. The concept of prompt injection isn’t that different from social engineering, right? When somebody calls in and says, “Oh, I forgot my password, can you just help me this one time?”

I wonder if the error propagation problem could be solved with a “branching” generator? Basically at every token you fork off N new streams, with some tree pruning policy to avoid exponential blowup. With a bit of bookkeeping you could make an attention mask to support the parallel streams in the same context sharing prefixes. Perhaps that would allow more of an e2e error minimization than the greedy generation algorithm in use today?

Having the data structures is nice and all, but using them is kind of painful. They are certainly second class.

Having to use accessor functions or destructuring macros instead of just a period or -> is often annoying too. The lack of syntax has cons as well as pros.

Sparse attention essentially combines 3 types of attention optimizations:

1. Compression of the query input vectors to reduce the size of the KV cache

2. Selectively computing uncompressed attention on a subset of tokens based on the compressed blocks with the highest attention scores

3. Using sliding window for local attention at full resolution

Both Full Attention and sparse attention models are pretrained on 270⁢B tokens of 8⁢k-length texts, followed by continued training and supervised fine-tuning on 32⁢k-length texts with YaRN to achieve long-context adaptation. Both models are trained to full convergence to ensure fair comparison.

our experiments adopt a backbone combining Grouped-Query Attention (GQA) and Mixture-of-Experts (MoE), featuring 27⁢B total parameters with 3⁢B active parameters

Evaluated on MMLU, MMLU-PRO, CMMLU, BBH, GSM8K, MATH, DROP, MBPP, and HumanEval. NSA outperforms full attention on 7/9.

Beats out H2O, InfLLM, Quest, Exact-Top, and full attention on LongBench

Perfect retrieval on 64k needle-in-a-haystack

The CoT eval is less convincing, but outperforms the FA on AIME24.

Training speed of 2-9x vs. FlashAttention

Decoding speedup of 4-12x vs. full attention ["expected"? Didn't see comparison to other attention mechanisms]

I feel like I'm taking crazy pills when I read about others' experiences. Surely I am not alone?

You're not alone :-) I asked a very similar question about a month ago: https://news.ycombinator.com/item?id=42552653 and have continued researching since.

My takeaway was that autocomplete, boiler plate, and one-off scripts are the main use cases. To use an analogy, I think the code assistants are more like an upgrade from handsaw to power tools and less like hiring a carpenter. (Which is not what the hype engine will claim).

For me, only the one-off script (write-only code) use-case is useful. I've had the best results on this with Claude.

Emacs abbrevs/snippets (+ choice of language) virtually eliminate the boiler plate problem, so I don't have a use for assistants there.

For autocomplete, I find that LSP completion engines provide 95% of the value for 1% of the latency. Physically typing the code is a small % of my time/energy, so the value is more about getting the right names, argument order, and other fiddly details I may not remember exactly. But I find, that LSP-powered autocomplete and tooltips largely solve those challenges.

The “pair programming” approach with good models is just slow enough that I lose focus on each step. The faster models I’ve tried are not good enough except for straightforward things where it’s faster to just use emacs/LSP refactoring and editing tools. Maybe supermaven manages to beat the “good enough, fast enough” bar; I’ll have to try it!

I still don’t understand how people are getting value out of AI coders. I’ve tried really hard and the commits produced are just a step up from garbage. Writing code from scratch is generally decent. But after a few rounds of edits the assistant just starts piling in conditionals into existing functions until it’s a rats nest 4 layers deep and 100+ lines long. The other day it got into a loop trying to resolve a type error, where it would make a change, then revert it, then make it again

ETA: Sorry forgot about the relevancy in my rant! The one area where I’ve found the AIs helpful is enumerating and then creating test cases

The requirement for having two copies of the table simultaneously on systems that make it easy to add but not subtract storage. Otherwise pg_repack has worked really well.

We solved the 2x storage with partitions, but it feels like the tail wagging the dog

Yes I know the slotted attribute is not in a __dict__, which definitely helps memory usage. But my point is that if the parent structure is itself in a dict, that access will swamp the L1 cache miss in terms of latency. Even the interpretation overhead (and likely cache thrashing) will eliminate L1 cache speedups.

And yes __slots__ improve perf, but it’s about avoiding the __dict__ access, which hits really generic hashing code and then memory probing more than it is about L1 cache

Where __slots__ are most useful (and IIRC what they were designed for) is when you have a lot of tiny objects and memory usage can shrink significantly as a result. That could be the difference between having to spill to disk or keeping the workload in memory. E.g., Openpyxl does with a spreadsheet model, where there could be tons of cell references floating around

It’s Python. Does L1 matter at all? I assume anything you’re accessing is behind a few pointers and __dict__ accesses anyway.

For me it’s mostly about .attribute being more in line with the rest of the language. Kwargs aside, I find overuse of dicts to clunky in Python

Never found so many choice quotes in one article...

Susie Thomas, a clerk for Lee County’s superior court, estimates it now takes her 10 times as many clicks to complete her case indexing. She was buried in scanning paper dockets for Odyssey’s online database until May 2024 and sorely misses the old DOS program. “It was a lot simpler and easier,” she says.

A Tyler spokesperson says that ... its definition of “defect” is “not a ‘bug’ in the software, but something that didn’t work as anticipated.”

Errors in the company’s apps have allegedly contributed to people getting stuck in prison for weeks longer than was ordered, or having incorrect verdicts entered on their records. Yet its products remain ubiquitous, in part because it has few serious competitors in the judicial space.

No experience with Jason, but I have to say I’ve spent waaay too much time reading the Quill code trying to figure out how to patch around weird behavior. Which is frustrating because that’s what a RTE library (vs roll your own) is supposed to be. Not sure about v2, but the v1 code is just not very well architected.

There are basic features we’ve held off on implementing for fear that it will lead to a million little bugs.

The Delta format is the best thing about Quill by far. But I’d advise anyone looking for more than bold/underline/italics to use prose mirror.