7,020 karma · joined May 31, 2008 (18y ago) · 3,135 submissions
https://www.github.com/fiveNinePlusR/tabist
comment 3y ago · link · parent
my dream is to have the main reactors give a lot of the power and then have smaller reactors that use those waste products to turn them into shorter half-lived materials. if i recall correctly liquid salt thorium was something that was trying to do that and it also had the feature that it failed safe instead of a meltdown.
comment 3y ago · link · parent
reminds me of universal paperclip in a weird way. https://www.decisionproblem.com/paperclips/index2.html
comment 3y ago · link · parent
yeah I wouldn't say i love it and i'm not sure why they did that but i imagine they had a reason for it originally. i would say it should have crashed instead of return nil as a default. they did tend to try to make the programmer happier and maybe they did it to that end but i don't see a large upside to it... not too much we can do about not using instance variables though... at the end of the day you just have to be a little more careful.
tests are a pretty good thing to have though and can catch this kind of error.
comment 3y ago · link · parent
instance_variable_defined?
defined?
are two common onesbut if you are using something before defining it you are going to crash so that's definitely one way of distinguishing it.
using fetch is another way to provide a default value to something that may have a nil value as a meaningful value.
comment 3y ago · link · parent
comment 3y ago · link · parent
those are all there because the people that created the system did not think paying for it was good enough. it doesn't have to be that way. and even with wait times being long you still eventually get it. in the privatized system if you are poor and have bad health care you don't get it at all.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Personally I have found no joy in duolingo now that they forced a completely linear path in the tracks. I abhor it so much that I am against using it. i had like a 1000 day streak and they took that away from me through a technical issue but that's not even something i really care about... the lack of options in what i choose to and want to learn next is 1000% a worse product ux choice.
comment 3y ago · link · parent
that's not quite true. they didn't change anything fundamental in the test protocols they just compressed them a bit and cut out some red tape by submitting some things early instead of at the end of the trials like it would normally be done. it also reached the endpoints faster because they could get significant data because the virus was so contagious; it's not like some other virus that spreads much slower like say aids.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent