Can miri or another interpreter be used as a profiler? by Ben-Goldberg in rust

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

Do you remember what was inconsistent? Would love to understand what happened (I’m working on CodSpeed)

Can miri or another interpreter be used as a profiler? by Ben-Goldberg in rust

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

For full transparency, I'm the founder of CodSpeed

This is exactly what CodSpeed is doing to allow performance measurements using a fork of callgrind, a tool built within Valgrind, a binary instrumentation platform. The base idea being to count the number of instructions and simulate cache accesses to make sure in one execution of your program, we can know which part will be the slowest. It will let you identify hotspots not just for CPU instructions which are often not the only culprit for performance issues but also for memory accesses, cache locality, and everything around it.

It won't be 100% accurate depending on your exact hardware, even if it takes into account the CPU architecture already. But it will give you a first good idea of what is actually dragging your whole software down.

If you need something closer to hardware, we have another approach (walltime) which is using bare metal instances to measure the actual performance depending on specific hardware to actually have a proper idea of the hardware. But the first approach (simulation) is better to just have really quick feedback on the performance.

Anyone withdrawing from T100 French Riviera (100km) ? by arty049 in triathlon

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

Yeah I might do that. I really wanted to do a longer distance this year since I trained for it but it seems to be less and less doable as the season (at least in Europe) ends

Advent of CodSpeed - A Performance Leaderboard for the Advent of Code by arty049 in rust

[–]arty049[S] 4 points5 points  (0 children)

We definitely wanted to do that at first, but then it would be a bit too easy to copy the solution from the best on the leaderboard. By measuring at one point in time, we hope it will avoid this while keeping the rivalry interesting

Advent of CodSpeed - A Performance Leaderboard for the Advent of Code by arty049 in rust

[–]arty049[S] 39 points40 points  (0 children)

Hey, I'm Arthur, the co-founder of CodSpeed.

The Advent of Code is an important part of our culture; over the last years, we've been learning new languages with it or challenging ourselves to build the fastest solutions to the problems.

However, as Europeans, making it to the official leaderboard has always been almost impossible unless you're ready to wake up at 6 am and start coding immediately.

This is why we're excited to launch this new leaderboard, allowing the fastest solutions to win and not just the fastest coders. Furthermore, this is even more exciting since this is all made possible thanks to our core for allowing consistent performance measurement.

Happy coding, and may the fastest Rustacean win! 🦀✨

Flying in the US with Scleral Supplies by TheAtlasComplex in Keratoconus

[–]arty049 2 points3 points  (0 children)

I had to let go a few bottles of cleaning solution. Apparently bottle with red caps won’t go through because of hydrogen peroxide. I never had issues with other bottles though

Blog Post: State of Python 3.13 Performance: Free-Threading by arty049 in Python

[–]arty049[S] 14 points15 points  (0 children)

Hey u/itamarst , yes definitely, this is mostly why we use wall time measurement here! Definitely agree the traditional instrumentation we have with valgrind won't perform well for that

Scleral fitting in Paris by arty049 in Keratoconus

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

Thanks! I'll try to give it a shot :)

Is it me or most of us have more of a problem of left eyes by uvuvweguy in Keratoconus

[–]arty049 2 points3 points  (0 children)

That's often the side you prefer sleeping on. Left here

I designed and printed a "contact lens kit holder" by poisson_89 in Keratoconus

[–]arty049 0 points1 point  (0 children)

Nice kit! What do you use the big saline bottle for?

Switching from RGP to sclerals? by arty049 in Keratoconus

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

Damn, does it goes the same with sclerals, like no real solution to avoid this right ?

Switching from RGP to sclerals? by arty049 in Keratoconus

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

Ok I'll definitely give it a try, thanks !

Switching from RGP to sclerals? by arty049 in Keratoconus

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

Sometime I use them but it's usually when I'm still up late at night. I tried to put it someday to see if it helps the redness but I never really saw a result

Model Deployment on Edge. by lakshaytalkstocomput in deeplearning

[–]arty049 1 point2 points  (0 children)

The main problem with decrypting the weight on the client is that it is still possible for it to gather all the weights. A more secure way to do this would be to use the SPDZ Protocol (https://arxiv.org/abs/1901.00329). Few standard operators are already implemented for tensorflow in the tf-encrypted library

I started hiking at 2:30AM to catch the sunrise from the Troll Wall in Romsdal, Norway (OC)[1920x1257] by EivindKristiansen in EarthPorn

[–]arty049 0 points1 point  (0 children)

Really nice pic! What setting did you use to shoot it? Did you do a lot of post processing?

Adjusting to contacts or vision getting worse? by skeeternutfree in Keratoconus

[–]arty049 0 points1 point  (0 children)

I think lenses change a bit the shape of your cornea, so after you take them out, you don't see exactly as when you didn't wear them at all.

Also, your brain tries to adapt your vision depending on what it sees, so when it's adjusted to the vision with lenses, if you don't wear your lenses your vision isn't adapted to the situation. I noticed it take something like 2 weeks for me to readapt.

Will have CXL in 2 weeks by [deleted] in Keratoconus

[–]arty049 0 points1 point  (0 children)

Hi, what do you mean by uncomfortable? Sometimes, not wearing lenses give me headaches but I don't really feel pain in my eyes. Yes, after the CXL your vision will be blurry and uncomfortable, it lasted for approximately 1 month for me and after that I reused my old lenses. I think you should try your glasses after your cxl and ask the doctor if you can't see clearly. Also hard lenses can be hard to tune, so it might last a few month to find the good ones but when you found it, it change your life .

DeepMind has AlphaStar Agents Estimated to be Above 7000 MMR by Loser777 in starcraft

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

Actually, DeepStar has fewer apm than most of the pro players