-
7 votes
-
Readers rejoice as shop finally sells book that sat on shelf for twenty-seven years
9 votes -
Tiny books fit in one hand. Will they change the way we read?
8 votes -
Jamaica seeks world heritage status for reggae
12 votes -
Programming Challenge - It's raining!
Hi everyone, it's been 12 days since last programming challenge. So here's another one. The task is to make an algorithm that'll count how long would it take to fill system of lakes with water....
Hi everyone, it's been 12 days since last programming challenge. So here's another one. The task is to make an algorithm that'll count how long would it take to fill system of lakes with water.
It's raining in the forest. The forest is full of lakes, which are close to each other. Every lake is below the previous one (so 1st lake is higher than 2nd lake, which is higher than 3rd lake). Lakes are empty at the beginning, and they're filling at rate of 1l/h. Once a lake is full, all water that'd normally fall into the lake will flow to the next lake.
For example, you have lakes A, B, and C. Lake A can hold 1 l of water, lake B can hold 3 l of water and lake C can hold 5 l of water. How long would it take to fill all the lakes?
After one hour, the lakes would be:A (1/1), B (1/3), C(1/5). After two hours, the lakes would be:A(1/1), B(3/3), C(2/5)(because this hour, B received 2l/h - 1l/h from the rain and 1l/h from lake A). After three hours, the lakes would be:A(1/1), B(3/3), C(5/5). So the answer is3. Please note, that the answer can be any rational number. For example if lake C could hold only 4l instead of 5, the answer would be2.66666....Hour 0:
\ / ----(A)---- \ / \ / \ / ----(B)---- \ / \ / \ / | | | | --(C)--Hour 1:
\============/ ----(A)---- \ / \ / \============/ ----(B)---- \ / \ / \ / | | |=======| --(C)--Hour 2:
============== \============/ | ----(A)---- | \================/ \==============/ \============/ ----(B)---- \ / \ / \ / |=======| |=======| --(C)--Hour 3:
============== \============/ | ----(A)---- | ======== \================/ | \==============/ | \============/ | ----(B)---- | \===========/ \=========/ \=======/ |=======| |=======| --(C)--Good luck everyone! Tell me if you need clarification or a hint. I already have a solution, but it sometimes doesn't work, so I'm really interested in seeing yours :-)
21 votes -
A 4,000-year old tale of trade and contraband
3 votes -
Amazon admits it exposed customer email addresses, but refuses to give details
14 votes -
US Centers for Disease Control and Prevention food safety alert: Outbreak of E. coli infections linked to romaine lettuce in US and Canada
7 votes -
Steam Autumn Sale 2018
16 votes -
Rayaz Fasixov - Şomırtlar (Bird Cherries)
3 votes -
How to handle difficult conversations at Thanksgiving
8 votes -
Welcome to the ‘New Turkey': Five years after Gezi park, protesters face new threats of arrest
7 votes -
Violence-ridden Central African Republic on road to famine: UN
6 votes -
Gunmen kidnap Italian volunteer and shoot children near Kenya's coast
5 votes -
Turkey sentences seventy-four to life in prison in post-coup case: Anadolu
7 votes -
US and Canada reach new trade deal to replace NAFTA
6 votes -
US adviser hints at evicting China from WTO
8 votes -
Smearing Soros to stoke hate: You too, Facebook?
7 votes -
The spread of low-credibility content by social bots
8 votes -
Shareblue astroturf analysis
8 votes -
Shouting 'Mexico First,' hundreds in Tijuana march against migrant caravan
8 votes -
Allow anonymous posting in some groups?
Crazy Idea™: You know what might be neato, but I have no idea how it could be implemented... if Tildes could have groups where truly anonymous posting was allowed, though it would require...
Crazy Idea™: You know what might be neato, but I have no idea how it could be implemented... if Tildes could have groups where truly anonymous posting was allowed, though it would require authentication. Use cases: ~talk about something embarrassing, or ask questions for which on Reddit you would make a throwaway. Maybe this user permission was only allowed after some threshold was met? If it was truly anonymous in the database, then notifications on replies probably could not work, right?
Would that be useful at all? If so, probably low priority I know, but just a thought.
10 votes -
The State of Javascript 2018
16 votes -
Cypress Hill - Insane in the Brain (Benitoloco video remix ft. The Muppets) (2015)
5 votes -
The best way to save people from suicide
6 votes -
Incubus - Azwethinkweiz (1997)
3 votes -
Muslim leaders say they will boycott a proposed meeting with PM Scott Morrison after he said they should do more to combat extremism
5 votes -
Arda Uyar & Miray Gedikli - "Into You" (Ariana Grande Drum & Bass Guitar cover)
4 votes -
“He Doesn’t Believe in It”: Mark Zuckerberg Has Never Cared About Your Privacy, and He’s Not Going to Change
23 votes -
What have you been watching/reading this week? (Anime/Manga)
Feel free to talk about something you saw that was cool, something that was bad, ask for recommendations, or anything else you can think of. If you want to, feel free to find the thing you're...
Feel free to talk about something you saw that was cool, something that was bad, ask for recommendations, or anything else you can think of.
If you want to, feel free to find the thing you're talking about and link to its Anilist, MAL, or any other anime/manga database you use!
7 votes -
Predatory lending practices: Business borrowers hurt by "confession of judgment" filings
9 votes -
Roaches taste like blue cheese, and other bugsgiving revelations [Warning: graphic bug images]
9 votes -
Astronomers have found a star that may produce the next gamma-ray burst in the Milky Way
10 votes -
21 Chump Street, the Musical - from This American Life
8 votes -
Danish ex-gangster shot dead on day his memoir on leaving criminal past was launched
7 votes -
Errant Signal - "Keep Your Politics Out of my Video Games"
7 votes -
Two scenarios of Chinese hacking of Australian companies
China uses the cloud to step up spying on Australian business How China diverts, then spies on Australia's internet traffic
5 votes -
[Short Film] The Real Thing - a soldier returns home to meet his daughter, who transitioned while he was on tour - (fair warning: you're gonna cry)
8 votes -
§peculum§: Mixtape #17 - سبعة عشر ميكس (2018)
4 votes -
Bag’o’grooves #2
4 votes -
Any literary translators here? What programs do you use?
I've started doing this amateurishly a few months ago, translating a novel slowly, and nowadays I'm thinking of going to a few publishers and asking for actual contracts. Currently, I'm using an...
I've started doing this amateurishly a few months ago, translating a novel slowly, and nowadays I'm thinking of going to a few publishers and asking for actual contracts. Currently, I'm using an Org mode file in Emacs to do the translation, but I'm not sure that this is the most optimal way to do it. I was doing it using paper for a while, but editing and commenting is more flexible in Org mode. Yet it is also rather cumbersome the way I do it:
<<pageNo.paragraphNo.sentenceNo>> Text, text text # some text with a comment # comment about the part between this comment and the above empty one more text, more text. <<...>> Another sentenceI'm thinking of adding some code to make this a bit prettier, though.
But are there anything that's better out there already. My preference hierarchy: Emacs mode, yayyy! > Open source app, that's fine > Proprietary app, shit! but better than nothing.
I'm not sure if this should go under ~comp, ~tech or here (~books).
8 votes -
In Praise of Tom Waits, Character Actor
9 votes -
Barbara Hannigan, Soprano and Conductor with GSO: Ligeti - Mysteries of the Macabre
4 votes -
Bobby "Boris" Pickett - Climate Mash
3 votes -
Review of controls for certain emerging technologies
4 votes -
Healing the body electric: In the next five to ten years, a new generation of small networked sensors will provide doctors with up-to-the-moment insight into patients’ health
5 votes -
“Devil Girl from Mars”: Why I Write Science Fiction (1998)
6 votes -
The new populism • An investigation into the rise of a global phenomenon
5 votes -
Why standing desks are overrated
18 votes -
Ghost Data - Magical Metamorphosis (2017)
3 votes