local function to_json(obj)
local result = {}
for key, value in pairs(obj) do
if type(value) == "string" then
value = string.format("\"%s\"", value)
elseif type(value) == "table" then
value = to_json(value)
end
table.insert(result, string.format("\"%s\":%s", key, value))
end
return "{" .. table.concat(result, ",") .. "}"
end
function item(obj)
print(to_json(obj))
end
dofile(arg[1])
It just defines the item function to print json, and executes the data file.
arg[1], the first command line argument, is the path to the data file:
bash
$ lua to_json.lua path/to/datafile.list
and pipe the output to something.json or whatever else you want to do.
This doesn't make sense. The earth moves at very different speeds depending on what you compare it to. The only thing that makes sense is for the teleportation to be relative to the teleporter. Maybe it would still require taking into account rotation, instead of linear momentum. idk, still seems complicated.
Nextcloud/Owncloud has federation support, though I've never tried it. You can also join existing servers, like you can with other fediverse things (though most of them aren't free): https://nextcloud.com/providers/
I think the second part of the comment is what's important:
If you are in a more comfortable environment you will be better at working
Maybe that is windows for you. I have barely ever used windows, so the concept of searching for installers online and running them just seems clunky and time consuming to me. It's just not what I'm used to.
However if you are willing to learn multiple systems, you might find that one is better than the others.
I usually get 5-10 Mbps download during peak times, which is enough for 720p YT and decent video calls. I really don't understand why people always need faster and faster internet. Although I just checked, and I'm getting 60 down just now, which is way more than I have ever seen.
Not at all, but I was told by someone that it was the case in certain rural parts of the country. I'm not saying I know what I'm talking about, it's just my personal experience when I was there.
I visited Germany recently, and I did notice more racism than I've seen at home. There were some distant relatives of mine, who I've never met before, casually making racist jokes to each other, without attempting to hide it.
I learned programming at about 12, by following tutorials for the Pygame python library. It doesn't do anything especially fancy, but it taught me many concepts, while I had a lot of fun. My first project was making the traditional snake game, which I think is a good level of complexity.
I think healthcare can be more of a "do as I say, not as I do" situation. They can be perfectly knowledgable, even if they don't follow their own advice. Life isn't as easy as "just do it", and it's likely helpful for many people to work with someone who understands that.
[...] drones will carry items to Graemsay and Hoy where postal staff will complete their delivery routes.
Graemsay gets 2-5 ferries a day (assuming the passenger ferry can take mail), Hoy gets the same ferry, plus 3-6 a day at the other end of the island.
This feels similar to this experiment on North Ronaldsay, which already has 3 flights a day, which can deliver the mail. I think Carla (in the video) puts it well - there is the odd occasion where the mail has to be left till the next flight, due to the plane being overweight.
(Also, I don't see how this new trial is more of a "service" than the North Ronaldsay one, so the headline is kind of incorrect. Also, "Orkney has become the first location in the UK to have mail delivered by drone." is a complete lie, even thought they link the other article right below it.)
I'd be more interested seeing the delivery vans replaced with smaller electric vehicles. Usually when I get my mail delivered, it seems that the passenger seat is large enough to store most people's deliveries.
I just chop the cheese into small bits. One less thing to wash, and pretty much just as fast.