« first day (1413 days earlier)      last day (3525 days later) » 

12:13 AM
I have... I quite enjoyed them...
Well done for waking me up again :-D must remember to put the phone on silent!
Catch up with ya later @Peter
 
 
2 hours later…
2:05 AM
can someone give me a tutorial where i can learn how to make a python 2 cgi script which stores user credentials in a mysql file
 
 
2 hours later…
4:04 AM
@xxmbabanexx sounds bad :d
 
 
2 hours later…
6:13 AM
Cbg()
 
6:26 AM
cbg
 
and flagged
 
7:05 AM
@Zero you hiding there :)
 
7:40 AM
@Jon BRIIIIIIIIIAN!
 
@Ffisegydd STEWIE!!!!!!!!!!!!!!!!!!
I shouldn't have eaten so much ice cream last night
 
You know you can turn your phone off so it doesn't bing you during certain hours?
(re. Peter waking you up)
 
Yeah... but I keep forgetting to enable it
 
In fact you were the person who originally told me this fact :P
 
The irony hadn't escaped me
 
7:55 AM
@Ffisegydd Not quite grillstock standard, but it was 3 half pounders with cheese and bacon
 
That from last night?
 
Yeah... think I'd have preferred grillstock though
 
I didn't take a photo of mine but my friend did, I'll see if I can get his photo.
 
cbg @Ian and @Daniel
 
cbg everyone
 
7:57 AM
Some bloke on the table next to us tried the £35 challenge.
cbg @Daniel
 
Is that one of those if you eat it within a certain timescale you don't pay for it things?
 
I think you get a tshirt, a bottle of the bbq sauce, and severe intestinal issues.
He got half way through then nearly broke down in tears, went to the loos to try and vomit but couldn't, then came back and took it away in a doggie bag.
 
Is that how they market it? :)
Wow... just looking at that £35 "dish" on the menu
I'm terrified by reading it - I'd think I'd feel ill just having that put in front of me... let alone be able to make a start on it
 
You know dinner trays you get at cantines?
It came on one of those, not on a plate.
 
Arghh... that'd completely put me off
 
8:03 AM
Well to be fair all the food comes on those (with some paper on)
It's just that it filled the tray for him
 
@Ffisegydd went to a restaurant a few weeks ago and they served stuff on marble tile things
Looked pretty, very inconveniently heavy to move about
That would put me off as well
Looks delicious... but... ah ma gawd!
 
I'm pretty sure that's the burger I had last night.
 
Umm... Freddie Flintoff got to keep his licence after racking up 12 points on it... that's some decent lawyering :)
heya @pokoli
 
drive.google.com/file/d/… @Jon see if you can access this
 
Had to click request access
 
8:11 AM
Done
That's what my friend had.
Beef, pulled pork, and ribs.
Managed to upload it to imgur
 
Ahhh cool...
Definitely not a place to take a vegetarian to
 
Heh. There's no veg menu at all.
 
All looks good quality and nicely cooked meat though
Umm... how can a deleted question have a close vote?
 
Pre-deletion?
So if it is undeleted it'll still have a close vote on it.
 
Oh... nope got it - it didn't get closed then deleted, it was starting to get closed and the OP self-deleted...
 
8:18 AM
Yeah that's what I meant
 
I'll wake up at some point this morning :)
What the heck... Where to even start with this one
 
Cbg @Jon :)
et al.
 
Oh... is Al here? :)
 
He is!
 
Is it the name of one of the voices in your head? Or, is he just a friend that no one else can see? :p
 
9:17 AM
Some weird answers on this one
 
@JonClements Shoulda mentioned that it's called CamelCasing (because the world seems to ignore the OED's Medial Casing phrase derisively sniffs)
 
Does lowerUpper count as camel casing? I'd call it java casing :)
 
I prefer "The Devil's casing" as a name personally.
 
Sounds suitably ominous
 
I'm making a conscientious effort to not be a dick lately.
 
9:33 AM
Or tell him to use snake_case ;)
I think it does count as CamelCasing, but I'm no expert.
Might be a DromediaryCamelCasing? ;)
 
Isn't PascalCasing when you have all caps?
so camelCase / PascalCase
 
@JonClements just edit your answer :D
I always do it in my answers, instead of answering just the code, I explain what is wrong, and then how to write correctly everything :D
 
might well do that in a bit @Antti
 
They're asking for an opinion directly. I think it would be better if they brought this up as an issue on Github with the numpy devs.
 
Umm... it is a kind of github/whatever issue really isn't it
 
9:41 AM
@JonClements why?
 
I've commented as such and VtC
 
But at the same time, it might be useful for some others on SO
(if it happens to get an answer)... ummm....
 
haha :D
who downvoted me
hehe
shitstorm coming
 
I undownvoted and then upvoted you because you've actually explained that the datatypes overflow and wrap rather than just saying "You no like!? No use numpy!" :P
 
9:48 AM
If you had read my question carefully you would have notet that I did not mention any error message. What I was interested in is the reason for this design choice. Your answer is not helpful in any way... — user3794197 37 secs ago
VtC...
 
well I just read the post like "why why why, I get wrong input when I use x"
:d
as i said
whine wihne whine why this
bc it is fast, checking all inputs for overflows is not
hmmh
vtc
deleted my post :D
@Ffisegydd notice that the question title is "behaviour of the abs function"
 
@Antti it's not though...
 
I wish now I would have the punch user button
 
In [8]: np.array([100000], dtype=np.dtype('int16'))
Out[8]: array([-31072], dtype=int16)

In [9]: np.array([1000000], dtype=np.dtype('int16'))
Out[9]: array([16960], dtype=int16)

In [10]: np.array([10000000], dtype=np.dtype('int16'))
Out[10]: array([-27008], dtype=int16)
 
anw
close that
there is a simple reason, it can be stated as "bc of microprocessors, C, fortran, speed, period"
 
10:10 AM
@davidism @corvid @Jon I may have found a nice online IM service that we can use if we need to discuss things to do with sopython-site or nidaba (and not want to clutter up the proper Python chat)
I've registered us a "company" there under sopython.slack.com/activity
 
Umm.... okay... looks like invites are required or something
 
Yeah shall I send it to jon@sopython.com?
 
Umm...
 
hmm what's wrong with having a chatroom? :D
 
This allows you to integrate Trello and Github
 
10:12 AM
@Ffisegydd Can you use the joncle one?
 
Yeah ok
 
@Ffisegydd btw, been doing 20 hours of vowpal every day
*week
 
How's it going?
 
@Antti 20 hours a day sounded far more impressive :)
 
I've been reading up on the theory and such, not been writing much code myself.
 
10:13 AM
logistical regression, need to be careful not to overteach
when we used trigrams with twitter tweets, 200k tweets, then
 
We might find that this Slack thing is unnecessary in time but thought it'd be worth giving it a try as it's free and can integrate with Trello/Github so updates are pushed
 
could teach with 50 passes to make it recognize 99.7 % of the given samples, which means it just learnt unique trigrams for each tweet :P
 
@Ffisegydd worth a go - it looks quite slick...
 
vw is actually pretty sweet, you know, creating the learn data is like easily factor of ten or more slower than teaching
 
wow
 
10:16 AM
so often it does not even make sense to save the models over crashes, just dump all data in a file
 
Are you using the Python wrapper for it or something else?
 
and reteach it
yes, the wabbit_wappa
it sucks
 
That's a shame.
 
I think I need to fork it, put a pull request 2 weeks ago
it is very easy though
it is also possible to embed the .so
but I wouldnt :d
 
You could do something using subprocess I think? Just pipe in commands
 
10:17 AM
ww does use a subprocess
 
Not sure if that's what wabbit_wappa does
 
that is the problem
it does not allow to use anything else than a subprocess :P
if we want to have a standalone daemon in active learner mode -nocando.
 
Yeah :/
I think that'd be nice for Nidaba, whenever a new question comes in just send it to the daemon and have it return a classification.
 
If, after a certain amount of time, the question is closed/open you then send it again with the closed/open status so it can be added for learning purposes (I assume)
 
10:21 AM
@Ffisegydd i mean it is easy, but the wabbit_wappa is ... subpar
yes
 
Yeah.
 
it is easy
so what one can also do, is to make a text log of all this data,
so in case vw crashes, or server crashes, and no regressor was saved
one can just retrain the model in minutes
as I said, the only problem is the wabbit_wappa author does not seem to be there
 
Yeah :/
 
so yet another unnecessary fork :P
I need to do it anw
 
Not quite sure why I bothered editing that
 
10:26 AM
hahaha @Swordy I thought you were being sarcastic there saying "Jeeza just pick up a dictionary, it's easy to translate Spanish to English!" but then I realised you meant a Python dict :P
 
;)
 
@Ffisegydd oh... I assumed a dict.. but actually - that's quite a good pun :)
 
Both the meanings are applicable in this case :D
 
0
A: Python - 2 lists

Antti Haapalaenglish_list = ["fire","apple","morning","river","wind"] spanish_list = ["fuego","manzana","mañana","río","viento"] english_to_spanish = dict(zip(english_list, spanish_list)) def translate(english_word): try: print("{} in Spanish is {}".format(english_word, english_to_spanish[englis...

 
@AnttiHaapala : Your method might look complicated to a newbie
 
10:29 AM
If you don't even know what language you are using it is hopeless — PeeHaa 1 min ago
 
@Swordy not my fault.
 
The OP tagged it PHP to start with :)
 
When dealing with beginners , try giving them a small code ,it is more likely to be accepted then .. Yeah , of course no fault.. ;)
 
and back
That was nice
Had a mate come to visit the office
 
sentiment analysis using Stanford Nlp package--
_"I studied at Stanford" yields a positive result, while "I studied at Harvard" it's neutral_
 
10:34 AM
@IntrepidBrit was it a surprise visit?
 
@JonClements Kinda, he mentioned he might do it at some point during the week
But doesn;t mean he'll actually do it
 
Well... Friday's a fairly good day for it I guess
 
Yeah, he tried to drag me out for a pint (we're both self employed)
 
at 11? :)
Spose you gotta have something to wash down the breakfast scotch
 
I remember during the 6 Nations in my first year at uni we'd start at around 9am on a Saturday.
Guinness and breakfast in this great pub called Academy. It was a converted church so it still had all the old woodwork and where the altar used to be there was a huge projector screen for the matches.
 
10:41 AM
Oh the irony
 
worship the other god
 
@Ffisegydd my local use to do something similar for the GP... open at 4am, use to offer a free fried breakfast to the regulars (or the people the landlord liked anyway)
 
Noice
 
10:47 AM
@Ffisegydd Looks nice
My old student haunt - Teviot:
 
That's nice.
 
You can just see the travesty of my Informatics building on the far left
 
Why do so many people refer to web scrapping
 
It's a listed building as an example of 60s architecture
...
They're still clearing it of asbestos haha
@JonClements No idea. I had noticed as well
 
We're currently clearing our department of asbestos.
There is asbestos in the ceiling above me right now
They haven't gotten round to our floor yet
 
10:55 AM
Do try not to lick it
 
BUT IT'S SO TASTY.
 
@IntrepidBrit is that bad? I quite like a bit on my cheese on toast occasionally.
 
This is why we need the NHS
 
Umm... good point... I reckon a few of their hospitals will have asbestos... I'll bear that in mind when I run out...
 
11:11 AM
All happening in Clacton
Umm... not far off reaching 666 consecutive days on SO :)
 
174
 
cbg
@JonClements I am way beyond hope on that number.
 
cbg @Martijn
Don't you just plug your brain directly in to the SO network?
 
11:27 AM
@JonClements I still maintain a pretence that I am a human being.
 
We all know better
heya @tristan
 
user559633
hey!
 
user559633
back in a couple of hours, going to go for a long bike ride to clear my head
 
Enjoy :)
 
this test is making me feel both old and horrified at my score.
5
 
11:33 AM
Hahahaha: Note: If you don't understand the scoring, stop here.
Have you named a computer? - oh god... I've named every single computer I've had... and calculators.... I even named the oven, dishwasher, washing machine and tumble dryer :(
I'm going to stop reading through that... I'm going to end up convinced I need therapy of some sort
 
@JonClements I decided on that when question 0005 was answered with 'yes'. I failed to stop.
 
That test was written before I was born
 
Can you whistle 300 baud?
I managed to get a modem connection established by screeching down the phone line once...
...I think there are lots of chinese guys living in China... - made me laugh from this meta post
 
11:48 AM
"Have you celebrated the end of an epoch?"
Self-esteem plummetting
 
Right - gotta focus on some stuff... rbrb later
 
> 0051 Have you ever played a videotape on your CRT?
Was this, like, the cutting edge of tech at one point?
Oh, do they mean, "did you take a cathode ray tube and alter it so it could play video?", not "did you buy a CRT television from the store with a built-in VHS"
 
That would make so much more sense
 
I love CRTs
 
Some of these are way harder to do these days ("Ever drop a card deck?"), and some are things a toddler could do ("Ever digitize a picture?" (assuming taking a picture with a digital camera counts))
Actually I think I'll give myself a point for "dropping a card deck". That's an occupational hazard for Magic: The Gathering players.
 
12:03 PM
@Kevin CRTs had different specs than TVs. Hooking up a CRT to a video player meant you didn't use the RF cable but, say, a dedicated RGB cable instead.
I don't think I could put together a card deck. I may have dropped one; my father was a computer technician.
We had loads of equipment around the house because of that.
I had drives that were way bigger than 8-inch under my bed..
That size.
 
My dad told me the trick where you draw a diagonal stripe across the edge of all your punch cards. Then putting your deck back together is just a matter of restoring the stripe.
 
They went into similar machines like these:
Woot, found em!
 
"Do you use more than 16 megabytes of disk space?" I am just destroying this section! ;-)
 
Those blue plastic platter holders bring back memories.
@Kevin Yeah, I am trying to not cheat and answer everything as 1989 me, but a lot of the answers are more truthfully answered with post-1989 experiences.
 
12:26 PM
what are those blue plastic holders?
 
@davidism is 4 short of 5k...let's find a question...
 
Davidism is really good at Flask
Or was it SQLAlchemy
 
Why not both?
 
He is indeed good at both.
And congratulations on 5k @davidism :D
 
yaaaay
 
12:35 PM
both
 
12:47 PM
This weekend I shall put it upon myself to reach 4 :D
 
angular.js actually really isn't that bad... hmm...
 
I've been playing around with google closure library. It's better then it get's credit for
 
@Johnston if you are someone who really wishes they were writing Java instead of Javascript, then yes
 
Why do you say that?
 
I used Closure fairly intensively for three years, what it basically is is an attempt to add a static type system and class-based structure into JS
 
1:02 PM
Hmmmm... Ok. Well what would you suggest? I never use any libraries at all. I write plain old javascript
I'm porting a big ol' actionscript app over to Javascript and I trying to see what would make it easier.
 
I wasn't un-recommending it necessarily, just describing it
anyway, jQuery has more or less won the JS framework war, you probably can't go wrong using that
 
But that's not really a framework...
 
sure, it depends what you want from a library I guess
if you want a full MTV thing then Angular might be your best bet. (Closure doesn't provide any of that either.)
 
yah. I liked that it had the require/provide built in
 
I have the power!... to edit tag wikis.
 
1:09 PM
Don't go overboard.
I almost went insane with my new found powers when it happened to me.
 
I still have nothing to contribute to any tag wikis. 5000 rep didn't give me any more knowledge to use with my power.
 
And bragging rights
 
I need to branch out, and have been pretty slow lately.
True. Still 360 behind @Ffisegydd, then on to 10k mod powers, so not done yet!
 
@Johnston imo, most things google makes are pretty good
I think the most common question in the flask area is "how do I make the front end communicate with flask app", I've seen that one so many times
 
I keep on meaning to learn more JS, though I have no illusions that I'd be able to answer anything (people who know way more than me will be much quicker)
@davidism / @corvid did you see my ping earlier about Slack chat? Do you think it would be something useful? As Jon put it, it looks pretty slick.
 
1:18 PM
I saw it, waiting for the invite. :)
 
sure, sounds good
 
@Ffisegydd not that I'm contributing to the sopython stuff, but we use Slack at work (migrated from Campfire) and it is indeed very slick, it's particularly good how it integrates with everything else you can think of
 
@Daniel yeah that's one of the reasons I thought we could try it, we use Trello for task management and it's all integrated nicely.
@corvid email address? (I've got davidism's)
 
alexadfrazer@gmail.com
 
Sent. I've added you to the sopython-site and nidaba channels already. You should see an example of the Trello integration.
 
1:28 PM
nifty
 
1:39 PM
cbg
antti@haapala.name if needed
 
Cool @Antti I added you to the Trello too in case you have any ideas
 
okie
today I need to do some more vw stuff for paid work
how big is the 300k questions btw?
I do not have much diskspace :P
 
The data dump is 25GB, a good portion of which is just the questions.
 
yah, I need to free up hefty amount of diskspace then
or maybe I will use aws :P
aws that is :d
 
2:21 PM
oabgoqergbroknrgoqwern[qeirgi @Kevin even beats us to comments.
Once you get just Python stuff I think it's only ~10GB
Let me check
Heh...yeeeeah...I can't remember my password to the server.
Oh no yes I do
 
@Ffisegydd Yeah, but your reply was more informative.
 
I took the time to edit his question, slowly working myself to the gold badge :P
Hmmm with the restarts I don't think the mongodb database is running anymore
 
I wanted to say "this is pretty much inevitable on any OS that runs more than one process at a time" but I couldn't get the wording right
 
In fact I can't find mongodb at all O_o
 
argh
now downloading comments, takes forever
why is so server so slow
 
2:35 PM
@Ffisegydd uhh, I may have uninstalled that a long time ago, when I was installing the new site thinking only the site was running on that server.
 
Once you've trimmed everything down it uses 8GB of space (the mongodb does anyway)
@davidism no worries I've reinstalled it now :P
Not sure we'll actually use mongodb in the end, will see what Jon says once he's thought about it
And that 8GB is everything btw (answers, comments, post_history, post_links, questions, tags, users, and votes)
 
I would like to write -- Hey, Kevin is here, even if it is saturday morning -- but then I realised, it's only friday afternoon.. jeez.. I totally messed up my biological clock.. I have no idea when it is day or night or what is the date anymore.. Congratulations Peter, you finally managed to be a full-fledged outsider of the human-society
 
So tempted to say "Dude it's Thursday..."
 
:D:D
 
I wish the hex function had more options. Like "left-pad with zeroes up to length N" and "don't include the 0x at the start"
 
2:50 PM
@Kevin same goes to bin and oct
 
I expect str.format can do both of those, but I can never remember how, and the documentation always confuses me
I need to keep a "format recipes" file around or something.
 
Yeah str.format isn't the best documentation.
 
Cabbage!
 
In [35]: '{:0>5x}'.format(10)
Out[35]: '0000a'
 
Thanks @PeterVaro for helping me with the thread-ache. I made it work just a few minutes after our conversation.
 
2:53 PM
@Fenikso oh I'm glad you managed it;)
 
Now I just want to cry. So I have ported all my PySide code to PyQt5. It finally fixed some of the glitches and bugs in Qt4.8 when going to Qt5.3. Now I found that even my simple program requires ~50MB of DLLs when deployed.
 
I've got 5 more, but I won't dump them all at once.
@Fenikso that's called progress
 
@Fenikso that is one of the things I hate Qt for
 
Like it was insane even before with ~35MB.
 
2:57 PM
@PeterVaro my problem is with a regex, work fine with strings in code but fail with a string from file
 
1 message moved to recycle bin
@JuanPablo we all see the question on the main site
and I'm sure we will all take a look at it sooner or later ;)
 

« first day (1413 days earlier)      last day (3525 days later) »