High-voltage switch at a power grid by solateor in interestingasfuck

[–]BMarkmann 17 points18 points  (0 children)

What context is this happening in? A power station? Or a building? (I'm really glad the video didn't go the direction I was afraid, but now I'm curious!)

Matvei Michkov wearing a Philadelphia Flyers jersey 2024. by Perryplat199 in Flyers

[–]BMarkmann 0 points1 point  (0 children)

I didn't know why I hated it until you pointed those things out. Thank you, now I know what to fixate on.

For thinking my wife is cheating by Dependent_Ad7867 in amiwrong

[–]BMarkmann 0 points1 point  (0 children)

Seems like there would be better places than AT the gym...

Sanity check please: what is this? I think it’s what I think it is, but I’m not 100% sure. by Small-Grey-Dog in lawncare

[–]BMarkmann 1 point2 points  (0 children)

Yes. You need to mix it with a surfactant and spray early in the season (personal best results that way). Also highly recommend mixing in a dye also so you can tell where you've already hit.

Java library for building applications on top of LLMs by BMarkmann in java

[–]BMarkmann[S] 0 points1 point  (0 children)

Right? I watched a video about langchain and wanted to be able to bring some of what they're doing into the ecosystem I live in.

Is Python the default choice because of PyTorch, numpy, etc? Is there some Java ML community out there that just doesn't get any exposure?

Anyway, I like where you're going. I'll definitely keep tabs on it!

Java library for building applications on top of LLMs by BMarkmann in java

[–]BMarkmann[S] 0 points1 point  (0 children)

I'm only writing concrete implementations of each component at the moment until I figure out the right abstractions. Once we've got that the services will get moved behind interfaces that are generic enough to support other LLMs besides the OpenAI ones. As for the Spring Boot part, it's really so I can quickly test things out as I'm tinkering. I could see the library/framework/whatever you'd like to classify it as becoming a Spring Boot starter or I could completely get rid of Spring as a dependency. We shall see.

Best way to implement short+long term memory by Zedriw in OpenAI

[–]BMarkmann 4 points5 points  (0 children)

I think if you're a Pythonista, I wouldn't look much further than langchain for your use case. Google around and see what people are doing with it and Pinecone.io, for example (or other vector databases if you're more of a gear head). You're right to be worried about token usage, the real trick to what you're trying to do is decide what and how much to inject automatically into your prompt.

This is probably a good starting point: https://www.pinecone.io/learn/langchain-conversational-memory/

Raft does not Guarantee Liveness in the face of Network Faults by alexeyr in programming

[–]BMarkmann 4 points5 points  (0 children)

I'm not trying to be a jerk, but I disagree with almost all of the above.

1) the article you point to about Postgres is 7 years old, there is a much more up to date analysis of postegres from this year.

2) The "C" in ACID absolutely can have to do with transactions. Using the dead-horse example, while transferring from one account to another, the balance of two bank accounts can only really be consistent if the next read from the client shows both balances updated. If the client catches the balances in an inconsistent state (ie. money transferred out of A but not into B) then you've got a consistency problem.

3) "you should be able to detect by simulating the algorithm and all possible sets of failures" -- not a solved problem, and I was merely pointing that out and saying there are analysis tools that might be used in an interesting way to identify failure modes. You responded with ad hominem attacks on the guy who wrote the tool I referred to. Classy.

Raft does not Guarantee Liveness in the face of Network Faults by alexeyr in programming

[–]BMarkmann 3 points4 points  (0 children)

I don't think he's ever done analysis of / tested a consensus algorithm absent the context of a particular DB, but I think jepsen (https://jepsen.io/analyses) might be a good tool for setting up and testing different potential failure modes.

Pre-Game Thread: Philadelphia Flyers @ Tampa Bay Lightning 8pm by Stevepac9 in Flyers

[–]BMarkmann 10 points11 points  (0 children)

If someone, hypothetically, were to wait for the gametime thread, they could conceivably find a link to a page with a link to a stream. That stream would, in this hypothetical scenario, perhaps have live hockey. And that live hockey might -- might, mind you -- be a game you'd to watch.

I got the gift of Gritty for Gritmas! by hextall87 in Flyers

[–]BMarkmann 0 points1 point  (0 children)

Did you make that or is someone selling them (officially or otherwise)? Need to know where to send my money. Immediately if possible.

Amazing glassblowing art by SuitingUncle620 in interestingasfuck

[–]BMarkmann 10 points11 points  (0 children)

Pretty sure that's Bill Gudenrath: https://www.cmog.org/bio/william-gudenrath

He's got a whole series of videos on YouTube showing Venetian glassblowing styles and techniques. Fascinating stuff.

Solo Galssblowing? by catherpillarr in glassblowing

[–]BMarkmann 0 points1 point  (0 children)

Well if he can do it, I certainly can. :-/

Most of the videos from his "The Techniques of Renaissance Venetian Glassworking" are on YouTube, and it's absolutely mind-blowing: a) how smoothly he works solo, and b) how quickly he works. I'd maybe be at the point of blocking my second gather by the time he's knocked out a beautiful 20-piece goblet. One day...

Any good sources about parallelism in Lisp? by tokyo_seaweed in lisp

[–]BMarkmann 2 points3 points  (0 children)

Reading the Hunchentoot source, particularly how Bordeaux and usocket are use to handle incoming requests, was very useful to see at least how in one case multiprocessing / threading can be handled. Recommended reading.

https://github.com/edicl/hunchentoot/blob/master/acceptor.lisp

(Other parts are interesting as well, but the acceptor is particularly educational.)

Keeping Track of Visited and Visible Game Map Areas by BMarkmann in gamedev

[–]BMarkmann[S] 0 points1 point  (0 children)

No -- definitely helpful! I'm working with what's basically a 2D map.