|
Ncurses?
|
# ¿ Jul 6, 2010 08:38 |
|
|
# ¿ May 29, 2024 21:20 |
|
Suspicious Dish posted:I can't even begin to imagine how ROT13 would map to languages without twenty-six characters. And arithmetic wouldn't help you there, either. You'd need a table, although it'd be a large one. Just like you can rot13 both upper and lowercase of course! Actually that means you can make a ROT-n function generator. How useful. edit: The Gripper posted:doing a plain ROT-n on the unicode character set would give you strings of characters outside the source language unless you used a table They are valid, insomuch that the unicode/utf-8 standard defines that programs should print incorrect characters anyway. Like you said, you could remember the unused char positions in some kind of table. Which would be not in the spirit of rot13 but an unavoidable necessity if the aim is secure crypto. karms fucked around with this message at 09:00 on Apr 11, 2012 |
# ¿ Apr 11, 2012 08:51 |
|
Talk about premature optimization. Really, if your aim is to write fast code before readable why write it in a language that puts the emphasis on working the other way round? (Yes, the google university code is legible but it's not as simple as gmq's.)
|
# ¿ May 22, 2012 18:45 |
|
Look up where() in the numpy docs.
|
# ¿ Jul 1, 2012 01:11 |
|
ZombieIsland posted:Thanks for the recommendations guys, And thanks for telling me about the A/T Thread, Defiantly going to try it. It's minimal, but easier to read with spaces when you're looking at a screen filled with code. (Also PEP8) EgoEgress posted:Just started learning Python two days ago. I've been using the free book A Byte of Python, but I've been seeing a lot of recommendations for Learn Python the Hard Way and I'm wondering if it's worth switching. Does anyone have experience with both books and can give me a rec either way? It's a book. Assuming you have some critical thinking skills, you can read them both at the same time! I'm being a bit snarky here because, well, it's a book. You're not picking out an expensive house to live in. It has letters and words and you read it. Hell, both are 100% free! You can't go wrong here.
|
# ¿ Jul 23, 2012 10:20 |
|
Dren posted:I did not know that d[2, 1] would be treated as a dictionary lookup on a tuple. I assumed you'd have to do d[(2, 1)]. It's the same reason why a, b = b, a works.
|
# ¿ Sep 5, 2012 21:05 |
|
QuarkJets posted:It's pretty similar to the old atoi and atof functions that C has This is how php names its functions. Do you really want to draw that comparison?
|
# ¿ Apr 5, 2013 10:48 |
|
|
# ¿ May 29, 2024 21:20 |
|
Don't use git, use mercurial.
|
# ¿ Jul 10, 2015 20:39 |