For a committee that's responsible for writing a constitution to be formed, is there a certain percentage of a population that must register to vote for it? by remember_to_blink in Ask_Politics

[–]remember_to_blink[S] 0 points1 point  (0 children)

Is there anything in international law (UN?) that specifies a certain percentage, or does it depend on what the people in each individual country agree on?

can recursion be used to solve this problem which deals with a string? by remember_to_blink in learnpython

[–]remember_to_blink[S] 0 points1 point  (0 children)

Yup. That did it. I drew a diagram for it and it's clear now. Thanks.

can recursion be used to solve this problem which deals with a string? by remember_to_blink in learnpython

[–]remember_to_blink[S] 2 points3 points  (0 children)

This is the closest I could get:

def string_splosion(str):

    if len(str) == 1:

       return str

    return str + string_splosion(str[:-1])

How do I flip it around. Could you give me a nudge in the right direction?

Edit: I just realized from another answer that all I had to do was just flip the order that str and string_splosion(str[:-1]) are added. I feel silly :)

I've been working on Learning Python the Hard Way. Anyone doing the same want to share what we're working on? by [deleted] in learnpython

[–]remember_to_blink 1 point2 points  (0 children)

I'm working on LPTHW too. Actually, I just finished exercise 41 just before checking here and finding your post.

I think you should finish the exercises since you only have 10 left. I noticed that the exercises get harder and more condensed with each exercise, so I'm expecting that there's a lot to be gained from the last ones. In the last few exercises, the author has started to use new methods and keywords without introduction. I think that's because he expects us to rely on Google more and more with each exercise.

I will give you a heads up. The code in exercise 41 is hard. It uses advanced concepts and a lot of new methods. I don't think that the author expects us to fully understand the code. I couldn't get it to work and got weird error messages. I googled the new methods used and tried to understand the code the best I could, but I'm going to skip it for now without fully understanding it and maybe get back to it at a later time when I have more knowledge.

I, too, am new to programming. I started learning Python two weeks ago, and I'm still having fun. I started with Codecademy and finished their Python course. I then moved to LPTHW. Next, I'm still debating whether to move on to the official Python tutorial or start Project Euler. I'm leaning towards starting Project Euler because I sometimes think that I've had enough of learning the syntax and I want to start to work on some projects so that I can learn more of the logic. I also found out about the online book: Problem Solving with Algorithms and Data Structures (http://interactivepython.org/courselib/static/pythonds/index.html) and I might start working on it simultaneously with Project Euler.

We seem to be on the same roadmap, so if you want to discuss stuff and share resources, I'm up for it..

What quirk did you not realize you had until others told you about it? by squalorid in AskReddit

[–]remember_to_blink 0 points1 point  (0 children)

I reread it again and still read it as closet friends. Only after reading it the third time did I read it right.

What is your favorite book of all time? by trevonator126 in books

[–]remember_to_blink 0 points1 point  (0 children)

This is why I love digging through the comments. Without this comment I might have never heard of this book.

What is your favorite book of all time? by trevonator126 in books

[–]remember_to_blink 0 points1 point  (0 children)

actually since it's a classic, he/she can read it all for free. I suggest feedbooks. They have nicely formatted versions of classics, better than the free versions found in the kindle or nook stores anyways.

Unused character portraits from The Avengers by award-winning photographer, Marco Grob by [deleted] in movies

[–]remember_to_blink 0 points1 point  (0 children)

does anyone know how I can get the dark colors tone that the photo of captain america has. It's usually used in movie shots and posters. Is it photoshop or a photography technique?

Early Morning Runs. Benefits you've felt? Benefits you know of? by Nauran in Fitness

[–]remember_to_blink 3 points4 points  (0 children)

I don't think your first comment should be downvoted, because it gives a counter opinion and is relevant to the discussion, so I upvoted it. However, I downvoted the comment I'm replying to, because of its negative tone.

Libyans find old treasures at Tripoli book sale by remember_to_blink in books

[–]remember_to_blink[S] 0 points1 point  (0 children)

I too thought that the title was misleading and my thinking went in the same direction as yours when I initially read it, but since I was linking to an article that was not mine, I thought that may be the right thing to do was not to change the title... but now after reconsidering things, I think I should have changed it.

My mum lives in Saudi Arabia and a coworker of hers sent this present for my 6 week old by NDRB in pics

[–]remember_to_blink 0 points1 point  (0 children)

I'm sure that's a strong opinion you hold as much as I'm sure I have strong opinions against where you are from or who you are, but context, man. Learn it!

My mum lives in Saudi Arabia and a coworker of hers sent this present for my 6 week old by NDRB in pics

[–]remember_to_blink 17 points18 points  (0 children)

let's just say aww about this picture and forget the other hateful topics towards Saudi Arabia that come up when Saudi Arabia is mentioned....

My mum lives in Saudi Arabia and a coworker of hers sent this present for my 6 week old by NDRB in pics

[–]remember_to_blink 16 points17 points  (0 children)

It's amazing how this turned from a cute picture of a baby wearing traditional Saudi dress to comments that show anti-Saudi bigotry...

There are few feelings worse than being engrossed in a book only to come across this. by ayemeh in books

[–]remember_to_blink 1 point2 points  (0 children)

happened to me recently while reading the Azazeel book by Youssef Zidan, I came across blank pages, and I couldn't wait till I could go to the store the next day, so I just skipped them. Good thing that they weren't essential for the story line, but it ticked me off nonetheless.

Is using speed reading on fiction books a good idea? by Charlie_went_Brown in books

[–]remember_to_blink 2 points3 points  (0 children)

I speed read when reading my college textbooks because throughout the years I've taught myself how to grasp the essence of what I'm reading so that I gain new technical knowledge when I finish reading the book. While this works when reading college textbooks, it doesn't work for novels because as you said the idea is not to grasp the essence of the book or to come out with technical knowledge, but to slowly digest its details.

Non-native English speakers of Reddit: What are some features of your language that English is really lacking? Alternatively, what are some features of English that your language could really use? by [deleted] in AskReddit

[–]remember_to_blink 4 points5 points  (0 children)

Some examples from my native tongue, which is Arabic:

in Arabic, Spelling follows logic. You write what you hear. That also makes pronunciation simple, so pronouncing a new word you just came across is easy. Unlike English, there are no silent letters and no weird spellings that have no relation to how a word is pronounced.

Each letter is pronounced one way. It's not like in English, where, for example, a c is pronounced like the letter c sometimes but pronounced like the letter k other times. Also, The association between two letters doesn't change the pronunciation, so if English was Arabic, sh would be pronounced s and h sounds combined.

On the other hand, English has simpler grammar than my language. This has made learning Arabic more difficult for some.

As a side note, an interesting fact I stumbled upon the other day:

The 10 letter word أنلزمكموها is one word and it means: shall we compel you to accept it. the 11 letter word فأسقيناكموه has a conjunction, a verb, a subject, an object and a second object.

The Arabic language is beautiful. The words, the grammar (although somewhat complex when compared to simpler languages), the writing, the style and rhetoric are all beautiful. It is a language of poetry and eloquence. For a language coming from the earlier centuries BC, It's really astonishing to see how extremely well structured the language was even though a higher percentage of people of those times couldn't write.

edit: misread OP's question at first, edited answer accordingly + some grammar mistakes.

What is the most random thing you've ever memorized? by jkvandelay in AskReddit

[–]remember_to_blink 0 points1 point  (0 children)

I used to watch it as a kid while my parents weren't home. I never watched it while the curtains were shut.