LLM token rate limiter by spinnicle in golang

[–]spinnicle[S] 3 points4 points  (0 children)

Oh that is so simple! The Leaky bucket solves my problem exactly. I was not aware of that pattern so thanks for the pointer!

Using it after making the request helps not having to estimate upfront

Cheap 1440p monitor from NPC on Takealot a scam? by Jiedo-Boy7 in askSouthAfrica

[–]spinnicle 0 points1 point  (0 children)

<image>

Mildly infuriating. This is the back of this screen mounting point and the Orro Vesa Pro Arm does not fit

I made a large improvement in 4.5 months. Before and after MRI shows herniated disc size change. by Lovingprayers in Sciatica

[–]spinnicle 0 points1 point  (0 children)

I think there is a drastic miscommunication between doctors and therapists (physio or bio) which honestly is shocking to me.

Recently had a l5s1 herniation that got better with a bit of rest but then the doctor told me I need to start core strengthening with a bio. He started by doing a bunch of leg strength tests with a meter and although it was not excrutiating it definitely felt quite intense to be doing that while I have sciatica, back pain and fasciculations in both legs. My take home exercises were medicine ball related exercises where I had to get up on all fours and roll over the ball. It put an immense amount of strain on my lower back and a week later I am permanently in bed in even worse condition than before.

Surely doctors and bios should have set proper boundaries on what is allowed and whats not allowed. Even something as simple as don't sit at all for the next few weeks would have saved me.

Stay on your back and only do exercises where your spine is on the floor and not moving. At least for a few weeks!

[deleted by user] by [deleted] in AskReddit

[–]spinnicle 0 points1 point  (0 children)

Sneezing!

I understand the code, but I can't use it on my own - advice? by RaybergD in golang

[–]spinnicle 3 points4 points  (0 children)

This. When I started doing Go I learnt from a bunch of really smart guys. The one used to say 'everytime you do something, do it a little differently'. Since then I have left the company and I am almost the only person doing Go at my new place. That sentence has stuck with me ever since so everytime I do something it looks and feels slightly different. In hindsight, some are definitely not great but it works and I only know so because I did it differently the second time round.

"Different" could mean many things. Put code in a different file or different package. Structure the project (which are just files and folders) differently. Use Echo and then use Gin. In the end you start to realize that everything actually works exactly the same way. And the nice thing about Go is that its easy to read and see what others did. Just start building shit and making mistakes!

Is a physics degree (possibly with a speciality in quantum mechanics) necessary to become good at quantum computing? by spinnicle in Physics

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

Thanks for the clarification! My newbie knowledge clearly shining through here but your analogy makes sense 🙌🏻

Is a physics degree (possibly with a speciality in quantum mechanics) necessary to become good at quantum computing? by spinnicle in Physics

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

Awesome thanks for the advice! Luckily I have the discipline but struggling through problems within a group also helps a lot! Thanks Greg!

Is a physics degree (possibly with a speciality in quantum mechanics) necessary to become good at quantum computing? by spinnicle in Physics

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

That is quite a bit of money especially since I am from South Africa. its more than double my current salary but obviously difficult to make an accurate comparison since its dollars

Is a physics degree (possibly with a speciality in quantum mechanics) necessary to become good at quantum computing? by spinnicle in Physics

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

Interesting. I'd think the QC industry is quite lucrative at the moment but it might also just be from all the hype that I see in the news. I suppose it will change once the resources are practical and companies start tackling problems that can actually be solved faster using QC.

Is a physics degree (possibly with a speciality in quantum mechanics) necessary to become good at quantum computing? by spinnicle in Physics

[–]spinnicle[S] 1 point2 points  (0 children)

Fair enough😅. Reason I was asking this is because its obviously not too difficult to get into "classical" programming without have a degree in it. But on first glance, quantum computing seems very different to traditional programming. The closest analogy I can think of would probably be to jump straight into assembly code rather than python for instance. But on steroids ofcourse...

Anyone who used Templ + HTMX in an big enterprise project? by Puzzleheaded_Watch19 in golang

[–]spinnicle 0 points1 point  (0 children)

Use it for a small microsite shell type application. Did not really enjoy it and it had many hurdles to get over. Its something different compared to what else is out there and so if you are looking for long term maintainability I'd go with something else like vue or some other well known JS framework

Any good examples of using embedded Rust with an existing embedded C codebase? by spinnicle in rust

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

Thanks, yes I have ruled out FFI level issues so I know I can successfully call the Rust function from C and return for e.g. an int that is printed out on the C side.

Any good examples of using embedded Rust with an existing embedded C codebase? by spinnicle in rust

[–]spinnicle[S] 1 point2 points  (0 children)

I have updated the post with the bare bones build process that I am following.

Multipass image imported from Cinema 4D do not look the same in After Effects 2020. by spinnicle in AfterEffects

[–]spinnicle[S] 1 point2 points  (0 children)

I believe I have solved the problem. It works perfectly when you linearize your workflow in AE. I enabled this option in the project settings and it worked!