Trettman
u/Trettman
I'm trying to convert my previous single agent application into a graph-based multi-agent solution, and I'm looking for some advice. I'll explain the agent, what I've tried, and my problems, but I'll try to keep it brief.
The Single Agent Solution
My original setup was a single agent accessed via chat that handles portfolio analysis, backtesting, simulations, reporting, and more. As the agent's responsibilities and context grew, it started degrading in quality, giving poor responses and making mistakes more frequently.
Since the agent is chat-based, I need responses and tool calls to be streamed to provide a good user experience.
What I've Tried
I implemented a supervisor approach
Hi!
I'm reading "Crafting Interpreters" (great book), and am currently implementing functions for the AST interpreter. In the book, the author uses exceptions as a mechanism for control flow to unwind the recursive interpretation of statements when returning a value from a function.
To me this does seem nifty, but also potentially a bit anti-pattern. Is there any more pythonic way to do this, or would this be considered justifiable in this specific scenario?
Not quite sure if this is the correct subreddit for questions like this, but here I go:
I'm currently building a website where I each day want yesterday's financial data cached in memory for the full day, to be quickly available to all users (note that this data is incommon for all users, and can be quite big at ~50 MB). I also want to cache older data on request, e.g. if a user looks at data for some date in 2023, I also want to cache that, although for a shorter time (say maybe 1 h).
Being new to Django, I've tried to read up on the different caching solutions that Django offers, but I'm a bit confused as to which would server me well.
- Does Django offer an existing solution fit for th
Hi,
My work has given me the opportunity to decide laptop myself.
I'm looking for something portable with decent battery life. The work involves quite a bit of coding work that would benefit from 32 GB RAM. I'm currently eyeing the new series of Dell XPS 13 (below), however the market is large and I'm feeling unsure.
Budget is flexible of around $2500 (excluding peripherals). Any recommendations that would fit my needs?
Thanks in advance!
Hi!
I'm looking for recommendations for a next coffee book. I've read The Curious Barista's Guide to Coffee, The World Atlas of Coffee, as well as The Physics of Filter Coffee, and I'm looking to further expand my knowledge on coffee farming and processing, with a special interest in modern processes (which aren't really covered at all in any of the above). Does anyone have any recommendations?
Thanks in advance for any tips!
Hey all,
I wanted to go hard this new year, so I thought that I might try out some molecular gastronomy for the appetizer. My idea was then to have a single seared scallop, presented on a bed of herby beurre blanc together with some fresh herbs and a thin slice of snack cucumber, topped with a somewhat acidic "caviar", also with a taste of cucumber. The problem then comes with the "acidic" part, since I know that regular spherification requires a somewhat high PH value. I have a very nice cucumber vinegar that I'd like to incorporate in it, and it would be ideal if the caviar is somehow able to "break through" the very buttery sauce. I've been digging an experimenting this past week, but
Hey all,
I wanted to go hard this new year, so I thought that I might try out some molecular gastronomy for the appetizer. My idea was then to have a single seared scallop, presented on a bed of herby beurre blanc together with some fresh herbs and a thin slice of snack cucumber, topped with a somewhat acidic "caviar", also with a taste of cucumber. The problem then comes with the "acidic" part, since I know that regular spherification requires a somewhat high PH value. I have a very nice cucumber vinegar that I'd like to incorporate in it, and it would be ideal if the caviar is somehow able to "break through" the very buttery sauce. I've been digging an experimenting this past week, but
So I need some help with this question, which is formulated:
"Calculated the total magnetic moment of a hydrogen atom in the ground state in a weak magnetic field which arises from hyper fine splitting of the ground state. How many beams does hydrogen produce from a Stern-Gerlach analyzer with a weak magnetic field?"
I've calculated the magnetic moments from the hyper fine structure splitting to be
[; \mu_{1} = \mu_{B}, \mu_{2} = -\mu_{B} ;]
but I don't really know how to get the total magnetic moment of hydrogen. My guess so far is to compute the vector sum of
- the electron's spin magnetic moment
- the electron's orbital magnetic moment
- the proton's spin magnetic moment
- the mag
Hi,
I'm looking for practical examples where the wave equation is used. I've been searching the internet like a madman, but the only thing I find is "the wave equation is used in insert field", and no real examples of practical problems. The only problems I find is different equations with different boundary values, but none of them have a connection to the real world. I know how to solve it in order to simulate something like a standing wave, but I don't really see how I'd be able to use that simulation practically, more than just something cool.
Thanks!
Hi,
I'm looking for practical examples where the wave equation is used. I've been searching the internet like a madman, but the only thing I find is "the wave equation is used in insert field", and no real examples of practical problems. The only problems I find is different equations with different boundary values, but none of them have a connection to the real world. I know how to solve it in order to simulate something like a standing wave, but I don't really see how I'd be able to use that simulation practically, more than just something cool.
Thanks!
So, I'm an average player with about 2k games and my stats constantly improving. I've been wanting to get the E100 for a while so I decided to start the grind and about one week ago I got the Tiger and I loved it. I got really good, and fun, games in it and a win rate of ~57 %, which is good for me. But today I got the Tiger 2 and it's been horrible to me. I've been trying to look up some guides on how to play it but it hasn't really helped, I guess that for some reason I'm still playing it like a Tiger I.
Does anyone have some tips on how to be succesful in it? I feel like it's a tank with potential.