News for hackers. Stuff that matters.

mcsalgado

Re:Ask HN: How can I learn macroeconomics properly? on Tuesday May 03, 2022 @08:54AM (#31247675)
Economics Explained got some of the worst analyses I've seen on youtube, like that one video he asserts that the Netherlands is the most unequal country in the world. https://www.youtube.com/watch?v=tW_kw6OPXc0
Re:A half-hour to learn Rust on Saturday January 02, 2021 @03:52AM (#25611357)
Oh interesting, I see now! Thanks for clearing this up.
Re:A half-hour to learn Rust on Saturday January 02, 2021 @02:32AM (#25611091)
In the 9th code snippet that's not an example of variable shadowing, it's just variable reassignment. Shadowing involves variable assignments in different scopes.

https://en.wikipedia.org/wiki/Variable_shadowing

edit: I should've called it "variable redefinition" or something like that I guess, my mistake. Reassignment is definitely not the correct terminology for this.

Still, it's not shadowing because the new binding of 'x' is not effectively shadowing some other 'x' name, it's just taking its place in the same scope. And this is orthogonal to the memory allocation of the assigned objects.

Re:Amazon fires: Brazil threatened over EU trade deal on Friday August 23, 2019 @03:23PM (#20781555)
I see a lot of bullshit being posted here. Bolsonaro himself actively encouraged the deforestation, during his campaign and during all of his current administration until now.

"The fires are fueled not only by a rise in global temperatures but also by Brazil’s President Jair Bolsonaro. The fiery, anti-environment populist has encouraged settlements in the Amazon region, sacked the head of the government agency that monitors deforestation from space, and just this week blamed NGOs for setting the fires to make him look bad."

https://www.wired.com/story/humans-more-than-drought-are-fue...

Re:Python: Faster Way on Tuesday December 30, 2014 @07:24AM (#8814280)
You mean test 6?