-
6 votes
-
The movement to skip the electoral college is about to pass a major milestone
34 votes -
Heavily armed soldiers aborted a plan to enter Venezuela by force
5 votes -
Boutique and established cooperages around the country are trying to reinvent the whiskey barrel
1 vote -
Q&A with one of the people who negotiated Article 13 on r/Europe
6 votes -
Stop talking about testosterone – there’s no such thing as a ‘true sex’
6 votes -
The rise and rise of populist rhetoric. Major study analysing speeches of leaders from 40 countries over two decades shows surge in populism
7 votes -
Mountain of tongues: Can a nationalist movement from the internet save the world's most scattered people?
5 votes -
Why 'ji32k7au4a83' is a remarkably common password
57 votes -
Barenaked Ladies - Sell, Sell, Sell (2000)
7 votes -
Australian economic growth slows, enters per capita recession
3 votes -
Australian government bans Milo Yiannopoulos from entering Australia
8 votes -
Does anyone else feel the default theme is too bright?
I opened Tildes unlogged in an anonymous window and felt the amount of amount of white to be excessive, even for a bright theme. This feels a bit overwhelming. What do you guys think? EDIT: I...
I opened Tildes unlogged in an anonymous window and felt the amount of amount of white to be excessive, even for a bright theme. This feels a bit overwhelming. What do you guys think?
EDIT: I changed my theme to Solarized Dark a long time ago, I'm asking because now that an account is not required to view the content a lot of people will get to know Tildes, so maybe the default theme could be improved
22 votes -
Making a Nintendo Switch frame for a TV
7 votes -
Photographer Mikael Owunna's 'Infinite Essence' transforms people into cosmos
3 votes -
Looking for tips or best practices for stoking creativity
So, a little background, my profession is technical writing. I want to write a novel but I'm struggling a little with getting the creative side of my brain going. Technical writing seems to...
So, a little background, my profession is technical writing. I want to write a novel but I'm struggling a little with getting the creative side of my brain going. Technical writing seems to further inhibit my creativity with all its rules.
I'm looking into local writers' workshops but they're all full at the moment. In the meantime, I was wondering if anyone here has any advice for exercises or things I could do to stimulate my creativity and free my mind from all the rules of technical writing. Thoughts?
8 votes -
New Star Trek: Picard series adds two cast members
9 votes -
What have you been watching/reading this week? (Anime/Manga)
What have you been watching and reading this week? You don't need to give us a whole essay if you don't want to, but please write something! Feel free to talk about something you saw that was...
What have you been watching and reading this week? You don't need to give us a whole essay if you don't want to, but please write something! 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 pages on Anilist, MAL, or any other database you use!
12 votes -
What is Conan Unconquered? First look at Petroglyph's upcoming survival RTS.
4 votes -
What would you want in a Stack Overflow/Quora competitor?
My friend was rambling about making his own Stackoverflow/quora clone, but with some random specific features. Note that this project would probably compete directly with Quora, but have multiple...
My friend was rambling about making his own Stackoverflow/quora clone, but with some random specific features.
Note that this project would probably compete directly with Quora, but have multiple subcomminties like Stackoverflow/Reddit. We think taking programming FAQs from SO is too uphill of a battle to focus on.
What are some great ideas?
10 votes -
Kyoto temple enlists android Buddhist deity to help people
7 votes -
What happens now that China won't take US recycling: Many waste-management companies are simply burning recyclables or sending them to landfills
15 votes -
The Kimberley Queen who escaped persecution in Indonesia to find sanctuary in Broome
3 votes -
The Troika Laundromat - How international financial institutions helped Russian oligarchs launder billions
6 votes -
Apple’s Hollywood venture marred by ‘intrusive’ execs, including Tim Cook
10 votes -
All Intel chips open to new Spoiler non-Spectre attack: Don't expect a quick fix
23 votes -
Explosive packages found at Heathrow, Waterloo and London City Airport
7 votes -
US Environmental Protection Agency administrator Wheeler: "Is climate change the existential threat? I don’t see it as the existential threat, no"
7 votes -
Trine 4: The Nightmare Prince - Announcement trailer
7 votes -
Programming Challenge - Find path from city A to city B with least traffic controls inbetween.
Previous challenges Hi, it's been very long time from last Programming Challenge, and I'd like to revive the tradition. The point of programming challenge is to create your own solution, and if...
Hi, it's been very long time from last Programming Challenge, and I'd like to revive the tradition.
The point of programming challenge is to create your own solution, and if you're bored, even program it in your favourite programming language. Today's challenge isn't mine. It was created by ČVUT FIKS (year 5, season 2, challenge #4).
You need to transport plans for your quantum computer through Totalitatia. The problem is, that Totalitatia's government would love to have the plans. And they know you're going to transport the computer through the country. You'll receive number
N, which denotes number of cities on the map. Then, you'll getMpaths, each going from one city to another. Each path hasktraffic controls. They're not that much effective, but the less of them you have to pass, the better. Find path from cityAto cityB, so the maximum number of traffic controls between any two cities is minimal. CityAis always the first one (0) and cityBis always the last one (N-1).Input format:
N M A1 B1 K1 A2 B2 K2 ...On the first two lines, you'll get numbers N (number of cities) and M (number of paths). Than, on next
Mlines, you'll get definition of a path. The definition looks like1 2 6, where1is id of first city and2is id of second city (delimited by a space). You can go from city 1 to city 2, or from city 2 to city 1. The third number (6) is number of traffic controls.Output format:
Single number, which denotes maximum number of traffic controls encountered on one path.
Hint: This means, that path that goes via roads with numbers of traffic controls
4 4 4is better than path via roads with numbers of traffic controls1 5 1. First example would have output4, the second one would have output5.Example:
IN:
4 5 0 1 3 0 2 2 1 2 1 1 3 4 2 3 5OUT:
4Solution: The optimal path is either
0 2 1 3or0 1 3.Bonus
- Describe time complexity of your algorithm.
- If multiple optimal paths exist, find the shortest one.
- Does your algorithm work without changing the core logic, if the source city and the target city is not known beforehand (it changes on each input)?
- Do you use special collection to speed up minimum value search?
Hints
13 votes -
My So-Called (Millennial) Entitlement
9 votes -
Long-term measles vaccine study shows no link with autism — again
19 votes -
Tornadoes in the Southeast are getting worse -- and they're often the deadliest
4 votes -
The Oppression of the Supermajority
15 votes -
Mystery as Quadriga crypto-cash goes missing
5 votes -
Game of Thrones | Season 8 official trailer
20 votes -
Google pay study finds it underpaid men for some jobs
13 votes -
New window film reduces energy costs
4 votes -
Why you have that little, lying voice in your head
2 votes -
15 non-obvious HPC experts to follow on Twitter
2 votes -
Game of Thrones first look: Inside the brutal battle to make season 8
7 votes -
D.Tube as a viable YouTube Alternative?
18 votes -
Kipple field notes
3 votes -
test
test
3 votes -
Delete never: The digital hoarders who collect Tumblrs, medieval manuscripts, and terabytes of text files
35 votes -
I stood up to Apple and fixed my own Mac
7 votes -
The Green New Deal Needs WWII-Scale Ambition
13 votes -
Warrior | Official season 1 trailer
5 votes -
HIV is reported cured in a second patient, a milestone in the global AIDS epidemic
17 votes -
The fake sex doctor who conned the media into publicizing his bizarre research on suicide, butt-fisting, and bestiality
14 votes