Readit News logoReadit News
neoncontrails commented on Brokk: AI for Large Codebases   brokk.ai... · Posted by u/handfuloflight
jbellis · 10 months ago
Hi all, Brokk creator here, happy to answer any questions!

I made an intro video with a live demo here: https://www.youtube.com/watch?v=Pw92v-uN5xI

neoncontrails · 10 months ago
I'd be interested to try this out. I'm especially keen on AI tools that implement a native RAG workflow. I've given Cursor documentation links, populated my codebase with relevant READMEs and diagram files that I'm hoping might provide useful context, and yet when I ask it to assist on some refactoring task it often spends 10-20 minutes simply grepping for various symbol names and reading through file matches before attempting to generate a response. This doesn't seem like an efficient way for an LLM to navigate a medium-sized codebase. And for an IDE with first-class LLM tooling, it is a bit surprising that it doesn't seem to provide powerful vector-based querying capabilities out of the box — if implemented well, a Google-like search interface to one's codebase could be useful to humans as well as to LLMs.

What does this flow look like in Brokk? Do models still need to resort to using obsolete terminal-based CLI tools in order to find stuff?

neoncontrails commented on Every Dunder Method in Python   pythonmorsels.com/every-d... · Posted by u/8organicbits
neoncontrails · 2 years ago
I have such a love/hate relationship with dunders. On the one hand, I get warm fuzzies from simplifying a module's interface with `__call__`. More than once I've seized an opportunity to rewrite some ugly conditional logic with a partial ordering by leveraging `__gt__`, `__lte__` and friends. `__setattr__` remains an interesting alternative to using decorators to execute some pre- or post-call behavior to a class method. (IIRC it can also be more efficient than wrapping a method with a decorator, since the `__setattr__` override gets precompiled into Python bytecode along with the rest of the class def.) Probably some other sleights of hand along these lines that I'm forgetting. I'm sure they were fun to write and I probably felt clever doing it.

Unfortunately in almost every case, dunder methods made it harder for me to collaborate with other people on the same codebase. And I get it. Tinkering with `__setattr__` leads to recursion errors if you're not careful, `__call__` introduces state in an unexpected place (wait, foo is a class instance? But but it behaves just like a function...). It's one of the only "stupid Python tricks" I can think of that lacks a clear analog in other programming languages, so polyglots without a strong Python background tend to hate them. I've tried to make the case on two separate occasions that dunder methods represent a more object-oriented approach to dealing with systemic complexity than type dispatch, and I stand by this. But I concede that the benefits of making the codebase nicer and more ergonomic in some places invariably requires writing class definitions that look horrendous in other places. So it's not so much that dunder methods reduce that complexity, so much as try to contain it and hopefully prevent it from spilling out into the main execution logic.

P.S. - Trey, if you're reading this, hello from a former TA!

neoncontrails commented on Is Cosine-Similarity of Embeddings Really About Similarity?   arxiv.org/abs/2403.05440... · Posted by u/Jimmc414
neoncontrails · 2 years ago
> In the following, we show that [taking cosine similarity between two features in a learned embedding] can lead to arbitrary results, and they may not even be unique.

Was uniqueness ever a guarantee? It's a distance metric. It's reasonable to assume that two features can be equidistant to the ideal solution to a linear system of equations. Maybe I'm missing something.

Loading parent story...

Loading comment...

Loading parent story...

Loading comment...

Loading parent story...

Loading comment...

Loading parent story...

Loading comment...

neoncontrails commented on Satoshi – Sirius emails 2009-2011   mmalmi.github.io/satoshi/... · Posted by u/lawrenceyan
voidfunc · 2 years ago
This. I assume Satoshi is nation state actor. Most likely the US.
neoncontrails · 2 years ago
What makes you think the US would be motivated to hamstring its own Federal Reserve, or threaten the dollar's status as the world's reserve currency?
neoncontrails commented on Volkswagen says its core VW brand is 'no longer competitive' financially   cnn.com/2023/11/27/busine... · Posted by u/iancmceachern
IronWolve · 2 years ago
Been looking at under 30k entry level crossovers/suvs and the reliability reviews I see are pretty bad. Volkswagen Taos was given a 37 by consumer reports, their entry level crossover/suv seems to be ranked pretty low.

But they have great reviews for 2024 Taos and its under 30k, buts its new, so who really knows. So much new tech in 2024-2026 coming out, models are changing pretty heavily during refresh.

I think word of mouth is to avoid them.

neoncontrails · 2 years ago
I was in the market a couple months ago (US). If you haven't given the 2023 Id.4 a look, you might consider it. They're practically giving them away right now due to surplus inventory. The lease deals are especially attractive. My monthly is about what I was quoted for a Honda Accord or a Prius.

Software is atrocious. Everything else, extremely happy. While everyone else queues up in an endless Costco line to save $10 off their $100 gas bill, I just relax and order sushi while my car chugs free Level 1 electricity outside.

neoncontrails commented on Someone is trying to rebuild Friendster   friendster.com... · Posted by u/navneetsingh
koonsolo · 2 years ago
LinkedIn had this feature, not sure if they still do.
neoncontrails · 2 years ago
They do. If there are stories of recruiters getting married to engineers who viewed their profile, I would love to hear them.

u/neoncontrails

KarmaCake day217August 11, 2015View Original