![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/d3d059e3-fa3d-45af-ac93-ac894beba378.png)
Aluminum is the fifth most common element on Earth, and is naturally present in pretty large quantities in soil.
Are you sure you aren’t confusing it with lead?
Aluminum is the fifth most common element on Earth, and is naturally present in pretty large quantities in soil.
Are you sure you aren’t confusing it with lead?
Then, you could take those comments, and have the compiler use them to ensure you’re using the right variable in the right place. Oh wait, we just invented a type system.
One of my favorite lines in the game is (paraphrasing):
The problem with the bugs is that they’re relentless expansionists. We’ve found them on almost every planet in their territory that we’ve colonized.
It’s also pretty clear that we’ve been farming the bugs for space oil.
Works even better in Ruby, as the code as given is valid, you just need to monkey patch length
:
#!/usr/bin/env ruby
module DayLength
def length
if ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"].include? self
"24 hours"
else
super
end
end
end
class String
prepend DayLength
end
day = "Monday"
x = day.length
print(x)
It could be Ruby; puts
is more common, but there is a print
. With some silly context, the answer could even be correct:
#!/usr/bin/env ruby
module DayLength
def length
if ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"].include? self
"24 hours"
else
super
end
end
end
class String
prepend DayLength
end
day = "Monday"
x = day.length
print(x)
Ah yes, I’ll just replace all my power sockets, get rid of all my electronics, and only buy imported European electronics from now on.
It’s so obvious, why didn’t I think of it before.
Oh yeah, and rewire my whole house to 240 V. Easy peasy.
I’m sorry to hear that. I think at one point in my past, about half my job was tracking down nil dereference errors in Ruby. And probably a quarter was writing tests for things a good type system would catch at compile time.
Huh, my roommate makes chainmail and I’ve never had this issue. Maybe it’s a crafting quality issue, and he’s just really good at keeping the ends together?
deleted by creator
By vertical tabs do you mean tabs on the side instead of the top? If so, check out the tree-style tabs extension, it’s great.
You missed the best parts of his line. The full quote is:
I used to be with ‘it’, but then they changed what ‘it’ was. Now what I’m with isn’t ‘it’ and what’s ‘it’ seems weird and scary to me. It’ll happen to you!"
That makes sense. Mine are just shows that I’ve already watched a million times.
How does the chess board not vanish as it’s completed?
That’s not even minimum wage in Seattle.
Have you tried introducing them to your cat?
Because you’re on Mars? Exciting! How is it?
Why isn’t there a way for Linux users to automatically install every missing dependency for a program?
There is; actually there are several. Every^* distribution has a package manager, that’s what it does. But you have to make a package for the program, similar to what the tegaki folks have done for Mac and Windows.
Another option is to statically link everything.
One issue is the fragmentation; because there are so many Linux distributions, it’s hard to support packages for all of them. This is one thing that flatpack aims to solve.
I would expect this to be an issue for old closed-source software, but not for old free software. Usually there’s someone to maintain packages for it.
Some cursory searching shows no tegaki package on flathub or in nix (either of these can be used on any distro; the nix one is surprising to me; it hosts soooo many packages).
But I do see it in Debian: https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=tegaki
You can offer the game elsewhere for less / free, you just can’t sell steam keys for less than you sell them on steam.