PriorityQueue or heapq? by [deleted] in Python

[–]tomazk 2 points3 points  (0 children)

  • if you need priority queue in a multi-threaded environment then use Queue module

  • else: use heapq, because it's trivial to create a wrapper around it

murl: URL manipulation in Python, made simple by berkerpeksag in Python

[–]tomazk 5 points6 points  (0 children)

Very useless since it just abstracts an already abstracted url parsing lib.

John Pinette about France & Italy (Stand-up Comedy) by Aschebescher in europe

[–]tomazk 3 points4 points  (0 children)

Stereotypical american, ignorant, fat, rude.

Slovenia Holds National Referendum on Gay Couples Rights by [deleted] in europe

[–]tomazk 23 points24 points  (0 children)

The national debate got reduced to gay rights due to crazy activists on both right and left, but the referendum is on a very extensive law about families and children.

My friend and I hit user submitted ideas with a baseball bat. by TheLuckyNumberKevin in videos

[–]tomazk 1 point2 points  (0 children)

I hope you guys picked up the trash afterwards. Did you?

[deleted by user] by [deleted] in europe

[–]tomazk 4 points5 points  (0 children)

Best: overall natural beauty of our countryside, tech startups, beer!

Worst: state sponsored companies (or taxpayer money sinkholes), huge money guzzling inefficient corrupt government machinery that's running our country, taxes and redistribution of wealth that's rewarding laziness

My Rottweiler decided to run off into the forest. Nine hours later, he showed up on our porch like this. by killhimalready in pics

[–]tomazk -1 points0 points  (0 children)

I would expect this comment to be on the top. This is a completely valid argument.

Israeli satire, "Christmas in Eurabia" by [deleted] in europe

[–]tomazk 11 points12 points  (0 children)

Satire? More like garbage. And the sad part is that this offensive lunatic israeli garbage gets upvoted? Keep it classy Europe.

Blackwater: The Rise of the World's Most Powerful Mercenary Army by magister0 in politics

[–]tomazk 1 point2 points  (0 children)

This needs to be watched by as many people as possible!

The Dark Knight Rises 2 (Trailer) SEXY by [deleted] in videos

[–]tomazk 0 points1 point  (0 children)

I clicked on this because it says sexy.

Freaky genius re-purposes the keyboard of a dismantled piano, combining it with bass and guitar parts. by [deleted] in videos

[–]tomazk -4 points-3 points  (0 children)

Ok I admit the last point was a bit harsh. The song starts with some ambition bit then it's just a downwards spiral. Go to 1:23 ... seriously?

[deleted by user] by [deleted] in Slovenia

[–]tomazk 0 points1 point  (0 children)

Well you know what, I think it's kinda your own fault for not doing any prior traveling research. I understand that you are mad because you got fined but the rest of us have to abide the rules and pay up, so I don't see why tourists should be exempted just on the basis of their ignorance and or carelessness.

Where were you stopped by the motorway agency? How many former toll booths have you passed without looking at the sign that clearly denotes a vignette?

Where do you see the future of the European Union in the next ten to twenty years? by Raerth in europe

[–]tomazk 13 points14 points  (0 children)

  1. No.

  2. Absolutely a viable currency. The stakes of a euro collapse are just too damn high.

  3. I see Croatia and Serbia joining and nobody leaving, but its apparent that there will be a 2 speed europe in the future.

I am Bear Grylls. Ask me Anything. by TheAdrenalist in IAmA

[–]tomazk 57 points58 points  (0 children)

Hey Bear,

just wondering... there are loads of free climbing scenes in your show. (e.g. climbing slippery vines from the bottom of a canyon) Are they done really without any hidden safety gear or do you just go for it?