paw

joined 4 months ago
[–] paw@feddit.org 1 points 2 days ago

Out of interest, do you have any sources that what he does is not reliable? This is not some kind of I'm pissed off about your comnent, I'm actually not. Having said that, I see tgis as an opportunity to learn about Harris' shortcomings. Thanks in advance.

[–] paw@feddit.org 31 points 3 weeks ago (1 children)

As far as I understood, the robot taxis may start production by 2026 or 2027. Shouldn't we live all on Mars by then, according to Musk?

/s

[–] paw@feddit.org 4 points 3 weeks ago

Additionally, if AI actually gives us this answer, tge answer we have already now, will we as a global society actualky implement it, because it sounds inconvenient (at least for some) or will we say, hey the AI seems to have made a mistake.

[–] paw@feddit.org 2 points 1 month ago (1 children)

What are your goals?

If you want to learn another language just for the fun of it (the best reason) than learn both.

Of you want to improve your tool set to be able to land a job, then there is no good answer. Probably some other high level language like Python, Java, JavaScript, C#. Etc.

Also: Zig bay be easier to get started when coming from C, because it is mostly imperative.

Rust introduces concepts from functional programming. This could be interesting for you, of you don't have any experience in functional programming to get in touch with other programming styles. Or not, of you explicitly don't want to learn such things.

I use both languages, and I enjoy both. Shameless plug: I've written a blog post ~ 2 years ago what I like about each language: https://zigurust.gitlab.io/blog/posts/three-things/

[–] paw@feddit.org 11 points 1 month ago (1 children)

Besides streaming, i.e. the capability to watch the movies and series when you want and how much you want, and lowering the entry to produce videos for more people, they pretty much reinvented cable. Or did I miss something substantial?

[–] paw@feddit.org 1 points 1 month ago* (last edited 1 month ago)

Another tidbit: Operating systems (like Linux) usually provide a possibility to get entropy (ideally used as seed). Linux for example has /dev/urandom beyond others. Afaik, it uses the time between subsequent accesses to the hdd as one of the sources used to create the entropy.

[–] paw@feddit.org 2 points 1 month ago* (last edited 1 month ago)

A software solution usually can create "random" faster, with the drawback that its not actual random

The Mersenne Twister was a famous pseudo random number generator when I wrote my diploma thesis in 2009. Today, afaik, PCG (Permuted Congrentual Generator) are better.

[–] paw@feddit.org 10 points 1 month ago* (last edited 1 month ago) (5 children)

From my opinion it is more computer science sorcery than math sorcery.

For true random generation you usually need some specialized hardware for it, that uses sone natural source of random. One could use the decay of a radioactive material as such a source or the noise one can get from audio input. Unfortunately, I don't know what actual hardware uses.

For pseudo random generation, you usually use a seed (ideally a true random value or something with a high entropy) which you feed into an algorithm like Linear Congruental Generator (LCG) or Mersenne Twister (there are lots of algorithms).

One further important note: Tge use case forvwhich you need random numbers is important. A video game could accept a random number generator with "lower" quality while a cryptographic algorithm always needs a cryptographic secure random number generator (don't forget: "don't roll your own crypto").

Finally there are quasi randim number generators, however this name is very misleading. The mathematical correct term is low discrepancy sequence. There are not random at all but can be used and have useful properties in some settungs where pseudo random number generators can be used. Never in a cryptographic algorithm, though.

[–] paw@feddit.org 4 points 1 month ago

That's the reason I'm deeply offended. I'm german too. 😉

[–] paw@feddit.org 6 points 1 month ago

Funny video (at least for me) that explains why it is not so simply to react to bear attacks: https://m.youtube.com/watch?v=Se44YdrjZzU

view more: next ›