« first day (1356 days earlier)      last day (3606 days later) » 
00:00 - 16:0016:00 - 00:00

4:00 PM
i love this chat group:D
6
 
@Ffisegydd err meh gerd
 
what is a .po extension?
 
@DSM Thanks. I took a similar approach from yours. Because of you [unichr(x) for x in range(0xE000, 0xF8FF+1)] Is that good?
 
DSM
4:09 PM
Sure. I thought you wanted to loop over them, not make a list, but that should work just fine.
 
I think i nailed it! @DSM check out a bug from the bowels of hell! It had try/except with pass. I removed them to see errors. So if i copy the function def cont(feed).... to the shell i can use it. But if i import it i get global name 'df' is not definedwhere the download line should be so it must have something to do with that modules scope. Now the error is more conventional for me to handle.
 
Why would anyone write

if (len(enclosures) > 0):
 
as for the command: print("enclosures:", enclosures, "enlcosures:", enlcosures) it outputs the link the size etc : print("enclosures:", enclosures, "enlcosures:", enlcosures)
k\
 
DSM
Always keep the code inside try/except as small as possible, and you should almost always avoid an except: pass-- you swallow exceptions (including NameErrors).
 
When

if len(enclosures):

is perfectly adequate, and rather more colloquial?
 
4:18 PM
ohhhhhhh]
 
Hmm, this formatting is going to take some getting used to
 
DSM
@ExoticBirdsMerchant: if that code actually worked, then you have two separate variables called enclosures and the typo enlcosures. That's insane.
@holdenweb: why not simply if enclosures: if it's a list?
 
10-Q KRAFT FOODS INC (0001103982) (Filer) Fri, 05 Nov 2010 11:53:12 EDT
enclosures: [{'href': 'http://www.sec.gov/Archives/edgar/data/1103982/000119312510249526/0001193125-10-249526-xbrl.zip', 'rel': 'enclosure', 'type': 'application/zip', 'length': '182472'}] enclosures: [{'href': 'http://www.sec.gov/Archives/edgar/data/1103982/000119312510249526/0001193125-10-249526-xbrl.zip', 'rel': 'enclosure', 'type': 'application/zip', 'length': '182472'}]
Downloading: sec.gov/Archives/edgar/data/1103982/000119312510249526/…
 
Or indeed anything else with a length, I guess. My bad :-)
 
remember the command you told me to put
quote: Right before the if (len(enlcosures)>0): line, add print("enclosures:", enclosures, "enlcosures:", enlcosures).
 
user559633
4:20 PM
hello my pretties
 
cbg
@DSM i believe there is no typo. It\s a variable called enclosure and a variable called enclosures that is being done on purpose slideshare.net/afalk42/xbrl-us-altova-webinar (you can see it in slide 8)
 
DSM
Respectfully, I'm not sure you're seeing the typo. I asked you to print out print("enclosures:", enclosures, "enlcosures:", enlcosures)-- do you see the difference between the first and second pairs?
Your output instead shows you typed enclosures twice.
The code you posted in your question used the typo enlcosures.
 
ohhhhhhhh
 
DSM
A very good friend of mine -- university prof in physiology, actually -- suffers from severe dyslexia, and managed to do very well for himself regardless (even if someone always has to spell-check his papers.) Is it possible that you have similar challenges?
 
enlcosures I am shocked!!!!! @DSM you have are a hawkeye!
 
4:26 PM
@ExoticBirdsMerchant (Here's a "pro" IntrepidBrit tip - if you're ever suspicious of that error occurring in the future, re-factor the first occurrence of the variable to be "CABBAGE". If somehow you've made a typo, it becomes blindingly apparent)
 
hahahah OMG i have corrected the OS post the module is OK
HAHHAHAHAHAHAHAHAHAHHAHAHAAHAHAHAHAHAHAHHAHA
SWEEET!
 
@IntrepidBrit cabage
 
CABAAAAAGE
wink typo
 
I can see the future
 
DSM
@ExoticBirdsMerchant: then you posted code that you weren't actually running, but told people that it was. That's a capital crime around here.
 
4:27 PM
i guess i'm a troublemaker :P
 
@DSM Round up the posse. Ah smell a lynchin'
 
well the module was OK
 
Whoop de do, I get to see someone strung up on my first visit!
 
and i run that code. Just a sec That code had no typo so it run @DSM
 
DSM
@holdenweb: oh, it's your first visit? Then cabbage to you, sir!
 
4:29 PM
***the code from the module
@holdenweb iwanna liiiiiveee
 
He's surprisingly resilient unfortunately.
 
@DSM I knew I could smell something funny as I came in
 
cabaaaa AH dead
 
Bye all, have a nice evening :)
 
@IanClark Ciao. I mean Rhubarb
 
4:29 PM
byeeee
 
@holdenweb we generally hold the executions at midnight - today must be special.
 
DSM
@holdenweb: don't forget to read sopython.com/chatroom for coverage of some of the inside jokes.
 
guys do you have these peanuts in the northern countries ? fytokomia.gr/…
 
Pistachios?
 
thats how you name them?
yes
 
4:31 PM
@DSM only read the first frame. Sprouts for my ignorance
 
@ExoticBirdsMerchant Yes, assuming my nutology (?) is correct...
@ExoticBirdsMerchant Also, what's a Northern country? ;)
 
@IntrepidBrit it is correct you are naming them that way :P
anything northern than Austria to me
different climate
 
DSM
Greenland? Canada? Russia? Norway?
 
absolutely
Usa, Germany, GB
colder weather
more rain
 
Also - what's wrong with asking Southern folk anyhow?!
 
4:33 PM
hahahahahhaha
dunno in my area you can't find a person coding in a 15 mile radius
i am the witch doctor hahah
 
Couldn't the salad language help be alphabetically sorted, or is their some mysterious reason for the present order?
 
It has been tossed
 
user559633
oh god
 
DSM
@davidism, okay, you win.
 
Maybe we could make it sortable?
 
4:35 PM
[facepalm]
 
user559633
official stackoverflow overengineering group
 
DSM
I think it's vaguely sorted in order of decreasing expected frequency.
Although I think "melon" and "watermelon" should be promoted, if so.
 
Carrot
 
user559633
yam that, it's fine
 
user559633
tomato lettuce?
 
4:38 PM
Jerry came up with a new one the other day. Pineapple translating to Congratulations
I might add it
 
I think we need a translation for this:
4428
A: RegEx match open tags except XHTML self-contained tags

bobinceYou can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...

I propose celery :P
 
user559633
we should split sprout into sprout / sprouts
 
user559633
just for reasons of consistency in our semi structured language
 
user559633
also, can we get a diminutive suffix?
 
2 days ago, by Daи
@davidism potato = how are you, so I figured I'd use tater as 'sup?' - just messing around
 
user559633
4:43 PM
sure, but that only works for some multisyllabic words
 
DSM
Hmm. Don't see 409s very often.
 
@DSM A strange and elusive beast. Where did spot it with your hawkeyes?
 
DSM
SO returned it when I was trying to script something to search the logs for the frequency of salad word usage.
 
Isn't 409 application specific?
 
i have a question that has been viewed a thousand times wow!
 
DSM
4:54 PM
Everything I know about 409s I've learned in the last few minutes. AFAIK it was some internal error I'd never need to worry about.
 
I had a question that was viewed 10k times
on my other account
 
later that account was banned for being a sockpuppet :D
(my current account is clean though)
Ah, it has 14k views now
 
what is a sockpuppet @frostnational
 
A sockpuppet is an account that you use to vote up your other accounts
 
5:01 PM
^ this
 
Or with the puppet you ask a question and then answer it with your main account to get rep
 
I was angry coz the mods blocked my other account and I couldn't ask questions anymore
 
Oh that i never do!!!
 
Just absolutely make sure that you never associate your account with Codo-or-whatever-it's-called.
 
A sockpupet is your second account that you use to circumvent the rules, does this ring a bell @ExoticBirdsMerchant: stackoverflow.com/users/3288326/codo
 
5:03 PM
ohhhhh ding dong that may be but i am not upvoting one another or putting answers from one to the other
Poor Codo he's on death row
 
Oh btw you do realise if Codo gets banned and you continue to use ExoticBirdsMerchant then you'll be liable to be banned with EBM. Even though they don't associate.
Because you'll be circumventing a ban.
 
@Ffisegydd so what do i do? I delete him?
 
Do whatever you want.
 
I'll "decommission" him...
Never done anything wrong in the point system. That's a big plus
 
My history on SO (about 4 years) is full of superiorly low-quality PHP questions, help vampirism and rude behavior
(don't blame me for that - I changed)
 
5:09 PM
well.... i have low-quality questions too
BUT some are very helpful for more beginners than me i am certain of that
 
do you have very low-quality questions? ;)
 
yes 2 or 3 i guess
not more and not done out of lazyness
 
uhh, and do you have very low-quality PHP questions? :D
 
nop
before SO i was reading for Dummies books round the clock and i didn't even came close to coding something i like. SO accelerated my learning 100fold
thank god i am done with the show
 
5:43 PM
My other 2 accounts:
Finally cleaned them all up
How to initiate merging procedure?
 
thanks, @davidism :)
My favorite low-quality question (feel free to downvote :P)
-2
Q: PHP & MySQL password reset via link in email

trengWhat's the logic of password reset link like http://domain.com/reset.php?token=7d12262dd2418c1 I want to allow user to enter his new password, after he have followed this link. How to make this? I mean what steps I need to follow to make this?

 
Damn @frost that's awful :P
 
I was young and stupid :|
 
power crushed
 
5:52 PM
0
Q: PHP best way to salt a password in our time

trengHow to make absolutely original salt for every user? Is it better to use time() function in PHP?

 
i'll merge em too
 
100% opinion-based
Oh wait.. I don't want to have these posts on my ok account
I was such a genius:
-3
Q: PHP + Python on large websites

TheJSBWe all know that PHP fails at performance when it comes to large arrays or other large amounts of data. Python doesn't. I want to use both of them on the high loaded website. Here is the solution I came with: I don't deny the advantages of the PHP, so I prefer usage of it when performance isn...

utter yam
Dammit
-1
Q: nginx + uwsgi Standalone scripts

TheJSBI decided to use uWSGI to run Python on my website. I want to allow execution of standalone Python scripts like http://domain.com/signup.py or so. Is there a possible way to do this? I searched for the solution carefully, but still didn't find anything.

 
So, just used chrome web inspector to change the contents of a page to show someone a better layout. When I was done they said "now change it back, when other people go on the site they want to see the original page"...
 
6:33 PM
if someone dies
 
Hmm. Two more episodes to go in season one of BSG, and Gaius Baltar just got parachuted in as VP in the stupidest episode yet. Why do people rate this show? The really annoying thing is that I've now spent enough time watching and waiting for it to improve that the Soap Opera effect has kicked in, so I'm invested in the characters (paper-thin though they are) and will probably have to keep watching. Grr. At least the original version of this show knew it was trash.
 
the persons' online profile everywhere should be deleted or not?
 
how much does it take for the picture to be updated in the chat?
 
~6-12 hours
 
You also need to refresh it
 
6:41 PM
thanks. itll make my person more recognizable
@Ffisegydd already did
 
Well everyone will need to refresh
 
so if I understand correctly, everyone else need to refresh too for me to see the changes?
 
No everyone else will need to refresh for everyone else to see the changes.
 
ah ok
thanks brah
 
cbg
 
DSM
6:59 PM
cabbage!
 
@ZeroPiraeus caprica six would say it's all part of the plan
He was voted in because he was popular, not because he was fit to be vp.
I enjoyed the story, which probably picks up next season, but I also liked it for the set design, the music (so great), and the fact that even if it's soap opera-y, it's way better acted and directed than most
 
7:15 PM
Honestly I'm finding it quite hard to judge whether any of the actors are any good, since the script they're working with is so bad it'd be difficult for any actor to produce convincing performances.
Set design: pretty bog-standard SF grime really, except for the vipers (which are cool, but then they're copied from the original series).
Direction: I see nothing remotely special. The CGI dogfight sequences are well done.
 
you see my new picture?
 
Hm. My audio is juttery in Pygame. I want to play music whilst the mouse is pressed, but it just stammers. Any ideas?
 
Re: Baltar - I don't object to someone unfit being elected as VP (happens a lot in RL after all) so much as the clumsiness of the plotting. I get that Roslyn is supposed to be a piss-poor president, but after X years in politics she didn't plan for needing a VP after getting an explicit heads-up from Photogenic Terrorist Guy a few episodes back?
And then she picks Obvious Dud We've Never Seen Before, and then, apparently the next day, she flips to Obviously Mental Scientist after one TV appearance? It's absurd.
All of that could be forgiven if the politics were just a bit of backdrop for the lasers & robots, but politics and religion are the main themes of the show, and the handling of both is infantile.
 
user559633
7:32 PM
@ZeroPiraeus talking about battlestar?
 
Just like Baltar's not fit to be vp, Roslin might not be the best choice for pres. They will grow into the positions somewhat by the end though.
 
Yeah.
 
user559633
I watched the miniseries and tried to get into it, but the show is just so bad.
 
user559633
Just ham-fisted metaphors, plot holes, and just general crap acting, plot. I really feel like nerds that like it just want others to suffer through it as well.
 
Gonna watch to the end of S1 and see whether there's an awesome cliffhanger of some sort. I'm kinda hoping there isn't, to be honest, because at this point it's like poking my tongue at a bad tooth.
 
7:37 PM
@Tristan @ZeroPiraeus what scifi shows have you enjoyed? I'm looking for something new to watch.
Re: metaphors, I don't think they're trying to be subtle
 
user559633
Save for the first episode, Black Mirror is good
 
Nothing recent ... I can't think of an SF show that takes itself as seriously as BSG; the stuff I like is silly and knows it.
Yeah, Black Mirror was excellent - a while back now though.
 
I think of the recent shows that have tried to take themselves seriously, bsg does it the best, it's just a low bar
 
user559633
Is Futurama sci-fi? That's an alright show..
 
I might have a crack at Fringe ... it's another of those that didn't appeal when it was on, but people seem to think highly of.
 
7:44 PM
Fringe is amazing.
Better than BSG.
Easily.
 
Good :-)
 
user559633
Sure, but that doesn't say a lot :)
 
Well I liked BSG too so think what you will.
Fringe is good though
 
Fringe season 1 was great, but I think you will complain about the same things after that.
 
user559633
terrible acting, expectation that viewers will care about characters for no reason?
 
7:45 PM
You will care about the Fringe characters, especially Walter
(who played Denethor in LotR
 
user559633
In BSG, the writers just front load all this drama about characters you've never been introduced to, then the writers make dramatic things happen, but it's crap writing because the audience has been given no reason to care.
 
what exactly is the purpose of __exit__'s exception arguments? I mean if a particular exception raised you can't do anything about it, can you?
 
user559633
So if the annoying madame president dies, who cares? It would actually be better for the show than sticking her plastic face in every shot.
 
I mean you can do things, but you cannot handle the exception
 
user559633
What about catching it from a superclass or caller?
 
7:48 PM
@tristan example?
 
user559633
Oh, i was thinking about this wrong. I guess the __exit__ handler is still useful for exceptions because it's a default return
 
oh my god..
how could I be so stupid..
 
user559633
what do you mean @PeterVaro?
 
RTFM @PeterVaro
You can actually handle the exceptions..
 
user559633
it's not being stupid, don't be mean to yourself
 
7:52 PM
you just have to return True if a particular exception was called
@tristan nope, this one definitely stupidity, I read this 3x times
but you know, I did like: okay, okay, I know, okay, okay, yeah..
 
user559633
yeah, same when reading that. return True on an exception to cancel it?
 
user559633
cbg
 
'ullo :-)
 
user559633
7:55 PM
oh, it's returning True on the exit. I usually compose my code differently. I should use more context manager behavior I suppose
 
do you see my picture changed now?
 
@abdellahmansur menacing!
 
@ZeroPiraeus I see it more as "put yourself in me and we will have no problems being friends" :-D
 
cough ... I feel it's only fair to point out (assuming English isn't your first language) that "put yourself in me" is open to a number of interpretations, not all of which you may intend.
 
@abdellahmansur would you please word that differntly, lol
 
8:02 PM
@ZeroPiraeus :D
 
put yourself in me -> put your soul into my empty soul as you see if you look in my face
:-)
 
maybe "it's a blank canvas", or "put youself in my shoes (or robe in this case)"
 
DSM
I think that's more a hooded jacket than a robe.
 
Yeah, I got what you meant ... just a friendly tip to avoid awkward misunderstandings in future ;-)
 
it looks very grim reaper-ish
 
8:05 PM
something like that.. but I was meaning my soul which is empty would be host to your soul for friendship
;-)
 
I think you may have mistaken a scary faceless guy in a dark hoodie for the Care Bears
 
don't change it though, the alternative is even more distubing
 
I have a un-comprehensible way to express
:-)
 
user559633
@abdellahmansur why do you have a my little pony avatar?
 
8:17 PM
@tristan sorry I just found it in your twitter :-(
 
 
2 hours later…
10:19 PM
It's quiet tonight :p
 
DSM
10:43 PM
Busy day, I guess. Plus it's a Thursday, which is often people's favourite day of the week..
 
Probably :)
 
11:11 PM
cbg
 
DSM
11:30 PM
Okay, time to escape the office. Downside of coming in late is leaving late too.. anyway, rhubarb, all!
 
@DSM rbrb!
 
00:00 - 16:0016:00 - 00:00

« first day (1356 days earlier)      last day (3606 days later) »