Hacker Newsnew | past | comments | ask | show | jobs | submit | Maledictus's commentslogin

If you switch the Firefox Snap to the latest/candidate/core24 channel, hardware acceleration should work.

Guess who supplies all the nuclear fuel? Russia, and we don't want to buy from them anymore. The same is true for pretty much all nuclear power plants.


We did buy Uranium from Russia because it was cheap, but they are far from the only suppliers. Half the world can mine uranium: https://en.wikipedia.org/wiki/List_of_countries_by_uranium_r...

Even Germany had Uranium mines in the Erzgebirge. They just were closed due to environmental concerns and the iron curtain falling, which is also why there are no more "official" reserves. There was no exploration done after 1990, so known exploitable reserves in Germany are low. But that's just because nobody went looking.

Uranium isn't rare and it isn't really expensive. We just need so little of it that there are not a lot of running mines.


That is such a bad explanation. One, Russia is not the only supplier, two, Germany still buys fossil fuels from Russia.


No, this is a lie. It is also funny because Germany was so depended on Russian Gas that nuclear fuel even if fully depend on would be laughable.

Germany has its own fuel enrichment and production, and it is still running https://de.wikipedia.org/wiki/Urananreicherungsanlage_Gronau

And no Uranium ore does not stem from Russia, they might still produce some of the UF6, but this can be much more easily shifted because unclear fuel cost are only a small fraction of the total cost!


This problem could have been solved by breeder reactors. Now China is doing it instead of us.


Well that thing was never turned on in Germany.


They not only developed it, but actually built it to completion, with the liquid Natrium circulating. It was ultimately stopped for political reasons by the SPD state government, and the usual cowardice of CDU/FDP.


I love Ruby's .freeze




It is written in a memory safe and date race safe language.


you are not, I consider both self hosting. I used hetzner for a long time and they were doing a great job. These days I run a server in my basement, because I had the hardware around. Most months of the year it also contributes to heating the house :D


In nominal terms, yes, not inflation adjusted.


When I moved from PHP to Ruby (and Rails), I discovered how much fun programming can be. Ruby just optimizes for the right thing, Developer happiness.


I have heard that for years and I just don't get it. Magic abounds. The test assertions and testing libraries are whole DSLs that require a separate/additional learning process with inconsistent chaining with inconsistent return types. Being able to overwrite anything in the language gives rise to things like unicode whitespace being misinterpreted as an undefined function. You can define methods by combining method names leading to wholly undiscoverable methods because "my_func_that_is_cool" is actually defined over multiple files, combining my_func and that_is_cool; saw this a lot in our chef cookbooks. Ruby requires mountains of tests (thus the DSLs). Knowing ruby and knowing rails and knowing how to test are different things.

I find ruby (and rails) to bring the opposite of joy. I find myself frustrated. On the opposite end of magic is Go. I love Go. Tests are just code; no magic needed, not even mocks. Methods behave and usage is consistent. Code is navigable. Types make everything more explicit and easy to follow and more maintainable.

I assert Go leads to org happiness, letting teams work together productively.


I am not trying to convince you as you are already decided and your experience and feelings are valid. I think different programming languages can fit to different people and there is no bad choice here.

For anyone else reading this and considering Ruby I have to say the followings:

1. No, there is no magic in Ruby but there is flexibility and metaprogramming. Everything that appears magic is allowed by Ruby syntax and can be traced down to a few meta programmimg features. It might be hard to get it when you see it first, but please do make sure you understand Ruby and then you will also get the magic.

2. You can choose to use Minitest (which is Rails default testing framework) instead of RSpec and Minitest is Ruby code with few methods for assertion.

3. Mocking is an important part of testing

4. In any programming language and even agnostic of any programming language knowing how to code is different than knowing how to test. The testing framework is just an abstraction that should translate your test cases into executable tests.


I always thought it was funny that people criticize the "magic" of certain frameworks, when at its core, almost all programming is magic (since it is almost always an abstraction). And there is probably no clear distinction on where non-magic ends and magic starts.

But somehow, no one complains about having a GC instead of needing to use `malloc`/`free` or `fetch` doing the DNS query automatically.

And that's exactly _why_ I use frameworks and libraries. So I don't have to write low level code, or as one could call it, to use some magic.


Magic isn't just abstractions. Ruby magic tends towards meta-programming and making as much behavior implicit as possible (a lot of this is cultural). Things that tend to make it fun to write but hell to debug


As much as I really hate the Ruby magic, I have to say, it's always about doing the right thing, at the right time, for the right purpose. Even more on the kind of magic Rails use.

I personally can't handle it. It's completely frustrating. Nothings documents what your system is doing, and nobody on the community seems to have an inch of clue about what exactly is happening on their computers. But you can't deny that it works, and works well... unless you need to override something due to a niche use-case.


Maybe that was true for PHP before 7. For me php make sense. Ruby on the other hand feels like it was made by an alien who learned human language by reading books that were shredded to pieces and glued together randomly


Could you create a type around Mutex that enforces the locking order?



You could - and this is what we do - push all of your state into one large struct. Note that this has drawbacks as well and if you have a lot of reads and some very important writes, you will still get deadlocks.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: