tracyspcy

joined 3 years ago
MODERATOR OF
[–] tracyspcy@lemmy.ml 1 points 1 month ago* (last edited 1 month ago)

yeah, I agree that there are definitely valid uses for clone(). I included it at the top of my table with a bit of humor, hence the smile. Thanks for pointing it out! ^_^

 

Rust ownership is a fundamental part of the language.

I’ve summarized the basic concepts here as a learning exercise for myself.

I’m sharing this to gather feedback, corrections, and suggestions.

Feel free to offer improvements wherever needed!

[–] tracyspcy@lemmy.ml 3 points 7 months ago

Looks great!

[–] tracyspcy@lemmy.ml 4 points 7 months ago (1 children)

I took some cpp examples as guidance. As for geek for geeks agree, one shouldn't blindly trust it and better use several sources. Adding more reliable sources is definitely point of improvement. I also used introduction to algorithms paperback book, but was lazy to add it as a source ^_^

 

Rust is beautiful and at the same time pretty hard language to learn. While mastering it and digging deeper, I decided to play around basic data structures and algorithms. I put a repo with some theory, implementations and examples on github mainly for myself, but maybe someone will find it helpful, or share more effective solutions. For now, just a few topics are covered, and I'm going to update it from time to time.

repo: https://github.com/tracyspacy/algos_data_structures_rust

 

I made it for myself as the simplest way to keep track of positive routines. The concept is simple: Track the activities that make up your perfect day and monitor your daily progress effortlessly. Here is also a github link for those who interested : https://github.com/tracyspacy/yacht

 
 

A remarkable quote from the book:
"Darwin wrote that it was arrogant for humans to think they were so special they could only have been created by a god. He said it was more humble and more accurate to believe humans were created from animals."

 

Video and more photos in mastodon https://mastodon.social/@tracyspcy/111645435292782855

[–] tracyspcy@lemmy.ml 8 points 10 months ago (1 children)

They didn't interact with people at all. They are wild species and just did their migration through the city to another place, as far as I understood :)

[–] tracyspcy@lemmy.ml 33 points 1 year ago* (last edited 1 year ago)

one thing amazes me for sure: there is still bunch of people loudly protecting their masters' right to exploit and rob them.

And they are doing this while are already living in the world destroyed and robbed by capital, where COVID showed how vulnerable and under-financed our healthcare system is, where due to the global competition and sinking profits of corporations countries are building alliances, and preparing a new big imperialistic war for us, where crisis goes after crisis together with high inflation globally, and where quality of life is sinking monthly.

[–] tracyspcy@lemmy.ml 2 points 1 year ago (1 children)

You’d just swap profit for influence instead. Look at the USSR, they had issues feeding their population, yet the people in power largely got whatever they wanted. See the famous trip Boris Yeltsin took to a Texas grocery store. At least in those days, capitalism handily beat communism in providing a variety of foods to the average person.

I cannot accept your argument since variety of brands for similar product in the store doesn't mean society can feed itself. It is wrong angle to see on the object. Since there is various of factors which could easily destroy such logic from quality of food to affordability (simple a lot of product in store, but people cannot buy it). Much better metric is satisfying the need, in our case in food. So in our case we should look at calories consumption and nutritional value. Look at cia document where conclusion is "American and Soviet citizens eat about the same amount of food each day but the Soviet diet may be more nutritious".

[–] tracyspcy@lemmy.ml 2 points 1 year ago

Countries which prevent markets from operating efficiently tend to do really poorly over time. The more authoritarian, the worse they perform.

In general it means less government control over the markets. And less means libertarian concept (see article again). If you mean something in between , there is need in very detailed scale to find difference between current regulated markets, non regulated markets (libertarian nonsense) and balance that you want.

[–] tracyspcy@lemmy.ml 2 points 1 year ago (4 children)

hehe considering market propaganda in education, on every media it is hard for me to not challenge my "belief" on a daily basis.

unfortunately in your comment you repeating neoliberal propaganda, please check guardian article on "free market zone libertarian experiment" tldr it led to low wage sweatshops and workers repression (and spoiler even this libertarian experiment relied on governmental support)

[–] tracyspcy@lemmy.ml -1 points 1 year ago (7 children)

for sure, there are many essential needs beyond housing and food. I cannot agree that it works well with food either, starving still exist even in "developed" countries. It looks you are trying to a patch something that really flawed. Unfortunately it is not a way. We should move away from profit oriented society and away from human exploitation.

[–] tracyspcy@lemmy.ml 27 points 1 year ago* (last edited 1 year ago) (6 children)

depends on problem you are going to solve, if you want to provide people with affordable housing, then challenge your beliefs in almighty market.

[–] tracyspcy@lemmy.ml 2 points 1 year ago

if this topic is among your interests, this book allows you to dive deep with relative ease

view more: next ›