« first day (1581 days earlier)      last day (3381 days later) » 

9:27 PM
Drinking pyder. The python cider!
 
@Ffisegydd import hangover
 
I found a new analogy for using sys.setdefaultencoding().
You should never use sys.setdefaultencoding(). Using that method is like taking pain killers to cope with blows to the face. Avoid getting hit in the face instead and handle Unicode correctly. — Martijn Pieters 1 min ago
 
@Peter you are so totally wrong about theory of everything. It was amazing.
 
DSM
@Martijn: I still think the balloon namebinding analogy is my favourite.
 
@Ffisegydd it was a wonderful story about some guy who had a disease, and a girl who loved him and wanted to help him. about their extraordinary fights in their marriage. and we can watch how that worked out.. but it wasn't about a great physicist, who happened to have a disease, and who met a girl who loved him and wanted to help him to become one of the greatest minds.
it was an amazing performance from the guy who played stephen nonetheless, but it wasn't enough for me.
other important characters were 2 dimensional, they were introduced too late -- for no good reason at all
it wasn't "the theory about everything" it was a story about "the love and its limitations"
(or something like that.. anyway => back to the film I'm watching right now)
 
9:42 PM
Wow, capped on Programmers.
That's only the 3rd time ever for me.
Previous two times: 2012-11-19 and 2013-01-06..
 
hah!
And then it was gone again because the post was migrated to Stack Overflow :-P
 
I am at 200 now at SO
and I want to get upv to be safe, and ofc now the newbies do not want to even try my answers
 
user2555451
@MartijnPieters - So you just lost all that rep since you are already capped over here? That doesn't seem fair...
 
9:50 PM
I get double badges for the Programmers post though.
@iCodez Yup, lost most of the rep gained on Programmers today.
 
@MartijnPieters that question was about converting the literals...
 
It's par for the course.
 
Blender is annoying when you press a button by accident and suddenly everything changes
 
Martijn always thinks something more ingenious than the truth :D
 
@AnttiHaapala We don't know. It is not clear what they have.
 
9:52 PM
clearly the case was that the user thinks that raw strings are different from ordinary strings... and that you could convert a list of ordinary strings to raw strings something like repring them and stripping '' or ""
 
@AnttiHaapala Yes, but explaining that is not going to fix their problems. It also smacks of a X-Y problem where they are doing something with paths and that's the real problem to solve.
 
ofc not, but I mean you now made them think that os.path will solve their "not using raw strings in the first place" :D
 
@AnttiHaapala I see no evidence of them trying to turn strings into raw strings yet. Answered anyway.
 
but I'm not understanding if it's possible to convert the entire list to raw string.
anw rhubarb wanna go to sleep :D
stackoverflow.com/questions/18408493/… javascript question of greatest kind, maybe delv to let the OP be relieved of shame
 
10:09 PM
wait... can you manipulate vertices with python in blender? That would make this task much easier.
 
stackoverflow.com/questions/18408493/… 19.3k and primarily opinion based though
hmmhm wrong link in the second
0
A: Write a function named shortest() that finds the length of the shortest string in a list of strings

Antti HaapalaThis is the most pythonic version: def shortest_length(textlist): return min(len(i) for i in textlist) though here a map is also beautiful: def shortest_length(textList): return min(map(len, textlist))

that vs the accepted solution, brrr
 
user2555451
10:26 PM
It's either a) he took pity on the guy's low rep or b) the OP has another lousy teacher who thinks generator expressions/built-in functions/proper Python idioms are evil. Personally, I'm inclined to believe the latter.
 
user559633
haha, jeez, that accepted answer. i bet the asker picked it because it looks like more code/work (oh, just saw time differences)
 
I mean mine is submitted now, the one accepted was there already
bc I always think if a person comes and just sees that question and answer and "ok so this is how I do it"
 
DSM
Another possibility (not saying I believe it, but it exists)-- the OP read more into the assignment and realized he wasn't allowed to use min.
 
the "homework" is not really valid on stackoverflow
because stackoverflow is about professionalism and enthusiasism and not about doing homework with arbitrary restrictions, imo.
 
DSM
10:45 PM
Okay, time to start shutting 'er down. Weekend rhubarb for all!
 
user2555451
Interesting. I refreshed a page that said a question was posted 34 minutes ago and now it says it was posted 33 minutes ago. It's like I unfreshed it. :/
 
user559633
anyone have recommendations on form filling plugins for chrome? (never mind, found an open source one! github.com/husainshabbir/form-filler)
 
11:06 PM
Well that was exciting. Giving SublimeText a go and looked up how to do column selections on Windows. "Ctrl+Alt+Down" to move your selection a column down, it says. ¡sıɥʇ ǝʞıן sʞooן buıɥʇʎɹǝʌǝ ʍou ¡ǝsıɹdɹns
 
user559633
11:34 PM
stackoverflow.com/questions/28509481/… not sure if cv-pls, but answered
 
11:55 PM
Hi guys, do you know why fig, ax = plt.subplots(nrows=1)

ax.axis['xzero'].set_axisline_style('->')
gives an error?
The difference seems to be that their ax come from Subplot
 
user559633
what's the error
 
TypeError: 'instancemethod' object has no attribute 'getitem'
 

« first day (1581 days earlier)      last day (3381 days later) »