Uttara Kannada
Other destinations
Understand
Get in
Get around
See
- Gokarna Beach
- Murudeshwara Beach
- Attiveri bird sanctuary
- Dandeli Wildlife Sanctuary
- Anshi National Park
- Kavala caves
- Synthery rocks
- Sykes point
- Yana
- Banavasi
- Burude Falls,
- Unchalli Falls,
- Benne Hole falls,
- Magod Falls,
- Sathodi Falls
- Supa Dam
- Kodasalli Dam
- Kadra Dam
Do
Eat
Drink
Stay safe
Go next
gollark: Here is a similar thing for JSON. Note that it delegates out to an external JSON library for string escaping.```luafunction safe_json_serialize(x, prev) local t = type(x) if t == "number" then if x ~= x or x <= -math.huge or x >= math.huge then return tostring(x) end return string.format("%.14g", x) elseif t == "string" then return json.encode(x) elseif t == "table" then prev = prev or {} local as_array = true local max = 0 for k in pairs(x) do if type(k) ~= "number" then as_array = false break end if k > max then max = k end end if as_array then for i = 1, max do if x[i] == nil then as_array = false break end end end if as_array then local res = {} for i, v in ipairs(x) do table.insert(res, safe_json_serialize(v)) end return "["..table.concat(res, ",").."]" else local res = {} for k, v in pairs(x) do table.insert(res, json.encode(tostring(k)) .. ":" .. safe_json_serialize(v)) end return "{"..table.concat(res, ",").."}" end elseif t == "boolean" then return tostring(x) elseif x == nil then return "null" else return json.encode(tostring(x)) endend```
gollark: My tape shuffler thing from a while ago got changed round a bit. Apparently there's some demand for it, so I've improved the metadata format and written some documentation for it, and made the encoder work better by using file metadata instead of filenames and running tasks in parallel so it's much faster. The slightly updated code and docs are here: https://pastebin.com/SPyr8jrh. There are also people working on alternative playback/encoding software for the format for some reason.
gollark: Are you less utilitarian with your names than <@125217743170568192> but don't really want to name your cool shiny robot with the sort of names used by *foolish organic lifeforms*? Care somewhat about storage space and have HTTP enabled to download name lists? Try OC Robot Name Thing! It uses the OpenComputers robot name list for your... CC computer? https://pastebin.com/PgqwZkn5
gollark: I wanted something to play varying music in my base, so I made this.https://pastebin.com/SPyr8jrh is the CC bit, which automatically loads random tapes from a connected chest into the connected tape drive and plays a random track. The "random track" bit works by using an 8KiB block of metadata at the start of the tape.Because I did not want to muck around with handling files bigger than CC could handle within CC, "tape images" are generated with this: https://pastebin.com/kX8k7xYZ. It requires `ffmpeg` to be available and `LionRay.jar` in the working directory, and takes one command line argument, the directory to load to tape. It expects a directory of tracks in any ffmpeg-compatible audio format with the filename `[artist] - [track].[filetype extension]` (this is editable if you particularly care), and outputs one file in the working directory, `tape.bin`. Please make sure this actually fits on your tape.I also wrote this really simple program to write a file from the internetβ’οΈ to tape: https://pastebin.com/LW9RFpmY. You can use this to write a tape image to tape.EDIT with today's updates: the internetβtape writer now actually checks if the tape is big enough, and the shuffling algorithm now actually takes into account tapes with different numbers of tracks properly, as well as reducing the frequency of a track after it's already been played recently.
gollark: https://pastebin.com/pDNfjk30Tired of communicating fast? Want to talk over a pair of redstone lines at 10 baud? Then this is definitely not perfect, but does work for that!Use `set rx_side [whatever]` and `set tx_side [whatever]` on each computer to set which side of the computer they should receive/transmit on.
This article is issued from Wikivoyage. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.