Show newer

@hans_w how so, I provided two seperate sources for the same data about germany, both agree

Just a reminder that the european and canadian healthcare systems have abysmal wait times, to the point that people can often expiernce permanent life injuries or even death due to the extreme wait times to be treated. While emergencies are usually treated quickly most things that cause long term injury aren't emergencies.

and the worst wait times, often resulting in harm

% of people waiting more than 2 months for a specialist.

Germany 2x vs USA, new zealand 4x, sweden 3x, australia, 3x, France 3x, canada 5x.. all % of people waiting more than 2 months for a specialist

worldpopulationreview.com/coun

Looks like a fucking safety hazard if thats what it is for..

Based on the fact that it has a cross bar on the top my guess would be that it ensures oversized vehicles do not drive on the road. By the looks of it the slow cars just barely make the limit which is why they go so slow, the fast ones are much smaller.

@icedquinn That would be against the law in the USA, our constitution protects against cruel and unusual punishment.

@hans_w Good question, havent decided. I wish i had a smoker, mackerel is amazing smoked. I'm thinking I might do the mackerel in a fesh stew or soup.. also going to get some sardines, i think ill do sesame crusted and baked on those. The squid im thinking just grilled with some lemon, nothing fancy.

I think im going to order some squid and mackerel for my next round of cooking.

@stux Good, I really didnt want to integrate the knowledge that you could be this stupid... so im glad to hear that :)

For any ruby :ruby: devs out there, wanted to share a neat little open-source :opensource: module I wrote to solve a common problem. Keep in mind ruby is not my main language so if there is a batter approach here I'm all ears.

Basically right now I have a game (text based mud) and in normal and expected fashion objects in the game are created when their objects get initialized, such as a new player being created. The system then periodically saves the universe by marshalling all the object into some serialized format and saves it to a file from time to time. As tends to be the case with serialization, however, when an object is restored, such as a previous player logging out and back in, then the class is created directly without the initialize method getting called , its class and instance variables are simply populated directly.

This is where problems can arise if you change the system and add new features (such as a new variable to an object). New objects that are created will populate the new variable correctly through the initialize method however already existing players will not have that variable set at all (it won't be nil, it simply wont be set, which is a distinctly different state). This is the problem I solved.

What I did was created a mix-in module that lets you set default values for variables, once a class is reinstated from storage it checked if any variables that have defaults are unset (nil variables are considered set) and then applies the default value to them. In this way legacy objects will be able to update to new code changes automatically when it loads. To prevent duplicating code you can even intentionally leave it out of the initialize method and rely on the defaults when it is appropriate to do so.

Moreover the defaults do not have to be static values but can be determined based on the existing state of the object, which makes them dynamic and flexible... a class that uses the mixin could look like this:

require 'defaults'

class Foo
include Defaults

# @bar defaults to @baz*2
default(:bar) { |this| this.baz * 2 }
# @faaboo defaults to 178
default(:faaboo) { 178 }

def initialize
@baz = 13

line can be ommited
@bar = 26
# if you add this line instead
load_defaults
work fine
end
end

Here is a link to the module:

git.qoto.org/aethyr/Aethyr/-/b

You can see a class that utilizes this new feature here:

git.qoto.org/aethyr/Aethyr/-/b

@Science

@Science

Hey everyone, a supernova just went off in Cassiopeia!!!! Right now it is in the early stage so only visible by telescope but after a few days it is likely to be visible to the naked eye. Supernovas are fairly rare so might want to make some time to see this one!

@Science

Hey everyone, a supernova just went off in Cassiopeia!!!! Right now it is in the early stage so only visible by telescope but after a few days it is likely to be visible to the naked eye. Supernovas are fairly rare so might want to make some time to see this one!

Threw together a second meal today, bitter-ginger farro and shrimp... Basically has farro and barly as the carb, shrimp , rainbow trout, Eel, and a little anchovy as the fish, has fresh lime, lemon rind, finely diced brussel sprouts, snow peas, ground sesame, soy, ginger, sesame oil, and sone almond oil. On top of that i threw in some jalapenos and long hots

@abhimanyuaryan This is the first time im hearing anyone have that problem from QOTO itself... are you using a client maybe, there is a bug in tusky and husky that sometimes cause that, but its unrelated to qoto.

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.