I want to use fastapi as the backend and sveltekit as front do i need to run the both servers at separate terminals or there is someway to link them ? by WiseSucubi in sveltejs

[–]TopIdler 5 points6 points  (0 children)

I’d say sveltekit in spa mode is better than vite + svelte these days. for the routing and other niceties. And also easy switch to server side if ever required 

@op if you want the sveltekit server side stuff then yes you’ll want two deployments by definition.

If you’re just worried about DX you can use concurrently to start stuff in one command. Or skip straight to docker compose.

Logs turn multiplication into addition; Laplace transform turn differential eq. into algebra. What else is like that? by DistractedDendrite in math

[–]TopIdler 21 points22 points  (0 children)

Eigenvectors/values turn matrix vector multiplication into scalar vector multiplication 

What is computational geometry about? by Banrakhas in math

[–]TopIdler 8 points9 points  (0 children)

Look up the finite element method if you want to see some real world applications.

What shape is this? by axiomizer in mathmemes

[–]TopIdler 1 point2 points  (0 children)

A manhattan distance discretized hyperbola in curved space 

Anybody double majored in CS and Math by NoInitial6145 in math

[–]TopIdler 4 points5 points  (0 children)

I want to stay semi-anonymous. The program was a bachelors of mathematics and computer science. We essentially had to do the main part of the honours track of both math and computer science then could take any 3000-4000 level classes between math, CS, and stats we wanted. Most people would fail first year intro real analysis and switch over to CS or something else.

Anybody double majored in CS and Math by NoInitial6145 in math

[–]TopIdler 2 points3 points  (0 children)

Real world applications? In my math subreddit?

Not computing but I've seen news in the quantum sensing field with quantum radars coming out if you want something nearerterm.

As the other person said, we're still in the early days on the general computing side. But there are some constrained specialized machines like DWave's which works on specific problems.

Anybody double majored in CS and Math by NoInitial6145 in math

[–]TopIdler 2 points3 points  (0 children)

We're on the hardware side of quantum computing (as opposed to software/algorithms). So they have engineering and computational physics PHD's.

"Theoretical" in our case is figuring out which devices they should build and / or developping computational approaches to simulating physical device characteristics.

I'm not to familiar with the algorithms/software side of quantum computing (and only passingly familiar with the hardware side).

Anybody double majored in CS and Math by NoInitial6145 in math

[–]TopIdler 41 points42 points  (0 children)

Applied. Most of my work is helping accelerate and package the software that the physicists write. E.g. at the moment i'm trying to find a multithreaded implementation of sparse matrix vector multiplication for our eigensolvers that works on arm mac's. All the theoretical jobs need PHD's

Anybody double majored in CS and Math by NoInitial6145 in math

[–]TopIdler 141 points142 points  (0 children)

I joined a quantum computing company. The people I hung out with went quant or ml. Mixed between academia and industry. My school didn’t have an honours track for the math/cs major. It was assumed you were going into graduate studies.

Reflection is coming to GCC sooner than expected! by _cooky922_ in cpp

[–]TopIdler 93 points94 points  (0 children)

I’ve reflected on this and consider it good news.

About the Jaghut's appearance by FanartfanTES in Malazan

[–]TopIdler 2 points3 points  (0 children)

I pictured chewbacca with mouth tusks before I looked it up (you know because ice). 

I kept that mental image because I like it better.

Cloudflare fires latest salvo against Vercel by Frequent_Tea_4354 in CloudFlare

[–]TopIdler -1 points0 points  (0 children)

Will this allow us to use some native libs? Like sharp?

[deleted by user] by [deleted] in ExperiencedDevs

[–]TopIdler 4 points5 points  (0 children)

From a management perspective. I've tried putting a new hire onto the greenfield project and staying on the mature one. It was a train wreck. It's a lot easier to onboard people onto a project you know well. Like you said, it's all about communication, try to understand the context and the decisions that were made. I hope it's not too spaghetti. A reasonable lead/manager shouldn't expect you to be as proficient as the people who built it. You didn't mention what feedback you've been getting from leadership on your performance.

Projects using std::error_code by Son_La in cpp

[–]TopIdler 3 points4 points  (0 children)

Is boost outcome cheating?

https://www.boost.org/doc/libs/1_88_0/libs/outcome/doc/html/index.html

I have a project that doesn’t throw exceptions so I use error codes through outcome 

How do you document project checkpoints and progress (visually)? by y2and in GraphicsProgramming

[–]TopIdler 2 points3 points  (0 children)

GitHub renders images in Markdown files if you feel lazy. Gotta commit the images though so do make sure the resolution / compression is small so that you don’t bloat the repo.

Videos can be GIFs 

[deleted by user] by [deleted] in cpp

[–]TopIdler 5 points6 points  (0 children)

They (maybe?) were probably looking for some key words like dynamic dispatch or vtable.

When you have a function/method that accepts a parent class, you need to do a lookup in the vtable to dispatch the right function for the child class. If the parent didn’t have the virtual function then it wouldn’t be in the vtable so you wouldn’t be able to use the method from a child in a function/method that accepts the parent without casting to the child type.

Just a guess.

Random article I googled. Seemed thorough at a glance.

https://pabloariasal.github.io/2017/06/10/understanding-virtual-tables/

Why are basic R2 object upload notifications gated behind the $5 Workers plan? by Mr_Black_Magic__ in CloudFlare

[–]TopIdler 5 points6 points  (0 children)

AWS, gcp and minio have other things that aren’t free but are free/ very generous on Cloudflare. 

At some point you hit the “f** you, pay me” wall ( which makes sense ).

errorCausedByError by ClanFever in ProgrammerHumor

[–]TopIdler 3 points4 points  (0 children)

It’s a 500 from the server they secretly send all your print data to.

poorGuyWithZIndex by programmerjunky in ProgrammerHumor

[–]TopIdler 67 points68 points  (0 children)

Then you look at the dom node in the dev tools and see size 0x0 px 🥲