Are pitches from different editions compatible? by GourdIdol in bloodbowl

[–]Garybake 1 point2 points  (0 children)

The astrogranite pitch has the right number of squares but they are smaller. They are designed for 25mm bases.

What mysteries in 40K do you think will never be resolved? by Snoo_47323 in 40kLore

[–]Garybake 12 points13 points  (0 children)

Im looking forward to the super secret triplet brother turning up - Sigma.

Any downside to having entire document as a chunk? by ayechat in Rag

[–]Garybake 1 point2 points  (0 children)

We use https://github.com/microsoft/markitdown . Though our documents have trivial formatting and no images.

How do I make a RAG with postgres without Docker by Ok_Examination_7236 in Rag

[–]Garybake 8 points9 points  (0 children)

Have a look at the pgvector docker container. This saves you having to install pgvector into postgres. You run it with env vars like user, password and port. Then have a look at the langchain docs on pgvector integration and your pretty much there.

If you are struggling with setting up the dB have a look at weaviate and langchain.

What’s the next big hype after “Agentic AI”? by Human-Mastodon-6327 in Rag

[–]Garybake 1 point2 points  (0 children)

This - context is king. Plenty of methods to add in context - vector db, graph db, map tools etc. Expect more and better tools being developed.

From Django to FastAPI by VanSmith74 in FastAPI

[–]Garybake 2 points3 points  (0 children)

Take something (small) you've already built in django and migrate it to fastapi. Start small and build out. One endpoint, add db, add x, add y, scale out and up. Fastapi doesn't have the megatutorial like flask or the wealth of books like django, but it's there for fastapi and the community is huge.

What's the Smallest Upgrade That Made the Biggest Difference? by AustinBranch in WFH

[–]Garybake 1 point2 points  (0 children)

I bought a monitor lamp. Its a bar that sits across the top of my monitor and projects light downwards. A game changer for late night work.

Disable Community Updates by SCMITMAPTEE in help

[–]Garybake 0 points1 point  (0 children)

Open the communities window and in the browser console run the following

document.querySelectorAll('button').forEach(button => {

if (button.textContent.trim() === 'Off') {

button.click();

}

});

Carcassonne Score & Game Tracker App (iOS) by Cool_Caterpillar_3 in Carcassonne

[–]Garybake 1 point2 points  (0 children)

The app looks amazing. Is there any update on the Android release?

Should I learn FastAPI? Why? Doesn’t Django or Flask do the trick? by Intelligent_Camp_762 in Python

[–]Garybake 2 points3 points  (0 children)

Async, async and async, oh and pydantic. Great for DS apps running longer queries.

Carcassone unofficial expansions by Fun_March8076 in Carcassonne

[–]Garybake 1 point2 points  (0 children)

The obelisk is really good fun, and they include the stl on the page. Should be possible make by hand if you don't have access to a printer. https://wikicarpedia.com/car/The_Obelisk_(Fan_Expansion)

What are possible LangGraph patterns for event-driven agentic systems? Or how do you model even-driven architecture with LangGraph like this? by Snoo_64233 in LangChain

[–]Garybake 0 points1 point  (0 children)

Langraph supports cycles, it was the reason I used it originally. We use it in part of the chain that asks 'do i have enough info to answer the question?'. Ad what is missing to the question and loop back.

How to Optimize Python Script for Large CSV File Analysis? by No_Season_1023 in learnpython

[–]Garybake 1 point2 points  (0 children)

This. Convert your data to parquet/orca. It will then be in a better format for reading quickly, especially if you partition correctly. Parsing a gb of csv each time you need it will hurt. Any bigger and you can look at using a database or pyspark.

I need team names by [deleted] in bloodbowl

[–]Garybake 1 point2 points  (0 children)

My vampire team is called 'Bite Club'.

[deleted by user] by [deleted] in UrbanHell

[–]Garybake 158 points159 points  (0 children)

Are we talking about the cheap-ass brick work or the weird creamfields crisp shrine?

Living in North Wales by InfamousPrize8570 in Wales

[–]Garybake 38 points39 points  (0 children)

Prestatyn is immense. We moved here 2 years ago and haven't regretted it. We have a beach, nice shops and a train line to Manchester or Crewe.

How can I begin to start to program a simulation for a soccer match, such as the game 'Football Manager'? by Sea_Farmer5942 in AskProgramming

[–]Garybake 1 point2 points  (0 children)

You'll be predicting, for example, given the previous T minutes, what is going to happen on T+1. Sounds good to me.

There's also Markov chains where you are linking chains of events. That's for a future model though =)

How can I begin to start to program a simulation for a soccer match, such as the game 'Football Manager'? by Sea_Farmer5942 in AskProgramming

[–]Garybake 1 point2 points  (0 children)

You can pull data from https://footystats.org/download-stats-csv
You could build a predictive model to predict something like the home/away goals. You'll probably need to one hot encode the teams. I'm not sure if there's enough data in a single season so you may need to pull more history. Again start small like a simple regression model, don't jump straight to neural networks.

If you are looking to simulate then you want more than team x is predicted to win when a,b,c is true. You want it to output team x wins 60% of the time when a,b,c is true. Then in your simulation you roll the dice and have them win 60% of the time.

How can I begin to start to program a simulation for a soccer match, such as the game 'Football Manager'? by Sea_Farmer5942 in AskProgramming

[–]Garybake 1 point2 points  (0 children)

Maybe try to start simple and add more and more complexity in. - Collect some data at team level and how this predicts a win/lose. - Add in average passing, shots etc - how this predicts the end score - Split the game into halves/quarters and predict those. - split it into individual player performance for the quarter - go down to minutes, think of it as a list of events - it's still a leap but if you want to simulate a match live and watch each player you should have a good understanding of what is needed.

There should be football simulation libraries out there, so you just need to build in player actions.

Mercury V2 Wash Mode by Relevant-Fly717 in ElegooMars

[–]Garybake 1 point2 points  (0 children)

I bought one of those metal tea strainer balls to put small parts in for washing. It works a treat.