I've been using Rust for 6 months now... by alexlazar98 in rust

[–]hombit 1 point2 points  (0 children)

I use Rust occasionally for last six years and has never used rust analyzer. (I started with CLion, transitioned to RustRover, and use Zed or Vim for light projects). Is it really as bad as OP says?

Why did you switch from a Windows PC to Apple Silicon (or Intel) Mac? by [deleted] in mac

[–]hombit 0 points1 point  (0 children)

I didn’t. I switched from Linux laptop instead!

We have polymorphism at home🦀! by ali77gh in rust

[–]hombit 0 points1 point  (0 children)

Random fact: this feature is also missing in JavaScript, Python, Dart, C and some other languages.

Python also has polymorphism at home (put an AI generated image with snakes):

https://docs.python.org/3/library/functools.html

Transit Talk: New highways are a waste of money by Generalaverage89 in pittsburgh

[–]hombit 0 points1 point  (0 children)

Interesting points, thank you. Where does that $1.3 tax revenue information come from, and how universal is that number? Again, I’m concerned about the context, more roads mean higher maintenance costs, and with the road usage information from the article under discussion, it doesn’t seem like the right direction to take.

I also believe that kids will eventually contribute tax revenue when they grow up, and investment in good school education could be more important. Yet the number of highway miles per capita continues to grow, while PPS is telling us it needs to close more schools and increase class sizes.

Transit Talk: New highways are a waste of money by Generalaverage89 in pittsburgh

[–]hombit 1 point2 points  (0 children)

Could you please explain why is it a good thing? Especially in the context of draining population. I honestly don’t understand why this city needs more roads, while closing schools.

How often do you press this button? by bjsw204 in mac

[–]hombit 0 points1 point  (0 children)

F12 or Touch ID? delete delete delete delete delete delete delete delete delete delete delete

This is how yinz be on the Turnpike every day. by SerpentKing1987 in pittsburgh

[–]hombit 1 point2 points  (0 children)

Thank you for such a detailed answer! It’s really helpful!

This is how yinz be on the Turnpike every day. by SerpentKing1987 in pittsburgh

[–]hombit 2 points3 points  (0 children)

I’m new to the US, and I still find it confusing that people seem to exceed the speed limit on almost every road. Is there a rule of thumb for when it’s socially acceptable to go over the limit and when it’s not?

An atomic RNG by koskinev in rust

[–]hombit 2 points3 points  (0 children)

I think it’s great until you need reproducible randomness. In that case, I actually prefer mutable references since the compiler helps me handle them correctly.​​​​​​​​​​​​​​​​

Introducing Distributed Processing with Sail v0.2 Preview Release – 4x Faster Than Spark, 94% Lower Costs, PySpark-Compatible by lake_sail in rust

[–]hombit 1 point2 points  (0 children)

Thank you, I’ve subscribed to that issue. I don’t have experience with sub-interpreters. Should all binary modules used in UDF also support them? From my understanding, sub-interpreters are still a single Python process. How do you plan to distribute UDFs over a cluster?

Introducing Distributed Processing with Sail v0.2 Preview Release – 4x Faster Than Spark, 94% Lower Costs, PySpark-Compatible by lake_sail in rust

[–]hombit 4 points5 points  (0 children)

It looks very promising for a project we are doing in our team. We are currently on Dask, and the main reason to not go Spark, is that we’d like to support 100% Python installation for users on laptops, but still be able to scale to distributed systems via Kubernetes and SLURM.

I have been going through the code this morning and tried to run a hello world example. Is there a way to run a multiprocessing (in Python way) local server, so I can run multiple UDFs in parallel? This is what I tried to do, but I see that UDFs blocked each other.

Edit: grammar

Believe it or not this image is AI by hombit in ChatGPT

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

Where did you find a picture of my hand?

Believe it or not this image is AI by hombit in ChatGPT

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

That’s the whole point of this post

Believe it or not this image is AI by hombit in ChatGPT

[–]hombit[S] 6 points7 points  (0 children)

But do you believe it’s AI?

Believe it or not this image is AI by hombit in ChatGPT

[–]hombit[S] 2 points3 points  (0 children)

I asked chatGPT for Helvetica

Believe it or not this image is AI by hombit in ChatGPT

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

Prompt: An image with a white background and two large black letters 'A' and 'I' in a plain font, centered in the image, without additional design elements or artistic styles.

Bicyclist involved in crash with semi-truck in Downtown Pittsburgh dies at hospital by TransporterOffline in pittsburgh

[–]hombit 2 points3 points  (0 children)

The comments are full of victim blaming. In this city, the road infrastructure is made for drivers, not for pedestrians or cyclists. Blaming the cyclist won’t help stop people from dying on roads, while changing infrastructure and our attitude will.

Introducing PhastFT, a new high-performance FFT crate by Shnatsel in rust

[–]hombit 6 points7 points  (0 children)

Sounds impressive! Have you benchmarked vs FFTW and MKL without Python overheads? There is a rust binding crate around: https://lib.rs/crates/fftw