« first day (1430 days earlier)      last day (3517 days later) » 

4:17 AM
@davidism @Ffisegydd just as a note - I've disabled root login on the server... was looking at the logs and it's filled with quite a lot of attempted logins :(
 
I'm surprised it's enabled by default. Good catch.
 
yeah... I was a bit surprised the sshd had it enabled by default
I also need to generate myself a ssh key
might be an idea to remove password based logins
classic song - seems quite apt for what's occurring in the world right now
@Fernando welcome
 
Hello
checking this chat for first time
 
Just so I can get the obviously bad joke out the way: "Can you hear the drums Fernando?" :p
 
Evenin' all ... this place has been unusually quiet for the last few hours.
@JonClements you should be ashamed ;-)
 
4:29 AM
/me bows head in shame
 
Mmmhh
explain the joke
 
@Fernando there's a track by ABBA called "Fernando" - that's its first line
 
ahh
ok that was bad
jajaja
 
I should probably take myself to the vet's this morning and have myself put down :(
 
4:31 AM
What's the name of the one Madonna sampled for Hung Up? I like that one.
 
um... just listening to that one now...
oh... that's... arhghghgh
 
Aha :-) Well, it's after midnight ;-)
 
gimme gimme gimme
 
use to be a TV series called that with Kathy Burke and errr...
oh... I can see his face... what's his name... he was also in The Thin Blue Line with Rowan Atkinson
James Dreyfus (born 9 October 1968) is an English actor. == Early life and career == He was born in France but moved to England at an early age and was educated at Harrow School and then trained at the Royal Academy of Dramatic Art. His parents divorced when he was very young. He is openly gay. In 1998, Dreyfus won the Best Supporting Performance in a Musical Olivier Award for his work in The Lady In The Dark at the National Theatre. In the same year he was nominated for the Ian Charleson Award for his performance as Cassius in Shakespeare's Julius Caesar at the Birmingham Rep. == Comed...
hi @Andrew - welcome to the room
@Zero I love the "dancing" in this abba track
 
4:49 AM
@JonClements Not exactly breaking a sweat, are they?
 
I love the song... but that video cracks me up each time I see it :)
2 mins in, they at least try something... but lmao
Anyway @Zero - it's nearly 6am here... what are you still doing up? :)
 
Actually, what I'm mainly doing is thinking "I should go to bed". So I think I will :-)
rbrb, and catch you in a few hours ...
 
@Zero sleep well
 
@JonClements Yo jon
 
5:13 AM
Any of you French(/speaking) by any long-shot chance?
 
@Haidro long time no see my pokemon friend... how ya been?
 
@JonClements Not bad,been abandoning python until now :3
 
that's a sin! :)
go away and say your Hail Cabbages for repentance :)
@Haidro what'd you think of the new sopython.com ?
 
The word of the day is asparagus! Isn't that a rude word :O?
Nice website
Oo, I like the common questions section. That seems very helpful. But how can we get newbies to look at this site
 
One step at a time... it's mostly for people that know about it to use as a reference at the moment
 
5:22 AM
Ah okay. ALso, I'm dissatisfied that there is no mention of Brassica Prime
 
The great cabbage needs no mention - he is in our hearts
 
6:21 AM
Cbg
 
What a beautiful, cabbage-filled day in south africa
 
if you say so... the sun's making an attempt to make an appearance in England :)
 
Yeah but it's what 7:30 your time?
 
6:30 AM
The real problem you have is you're already on chat instead of in bed still watching TV and feeling guilty about not being ready for work yet
 
Well, I was up at 3am - so already done 4 hours work
then while the servers grind away, I just do a couple of emails, some invoicing and payments, then have a small snooze
 
Argh this is so annoying
I need to get an access code, which requires me to do a bunch of stuff, and only lasts for like an hour
so confusing
 
@Haidro I have faith in you :)
 
I don't :(
 
@JonClements are you self employed?
 
6:39 AM
@RobertGrant yup - has its pros and cons
 
Do you also do this mentoring/elancey stuff as well?
 
Cbg all
 
6:54 AM
@Robert not really - don't have as much time as I'd like
@Ffisegydd STEWIE!!!!!!!!!!!!!!
 
@Jon Briiiiiiiiiiiiiiian!!
 
haha... wrong window... well done puppy, well done
 
Nice
 
you actually even get a result when typing it in the right window... amazing :)
 
It was a sarcastic "Nice.... dumbass" but yes I suppose it was a result
:)
 
7:06 AM
clock.co.uk look pretty cool, anyone heard of what it's like to work for them?
 
it's fine... I felt the sarcasm and completely warranted mocking :)
 
hello and good day to you!
 
heya @Raoul!
@Ffisegydd You can just buy your own food and drink at the sopycon convention :p
It's coming up an hour I've been writing this email now... nice little facts and figures and all sorts... and I just know my client isn't going to read it properly and phone me later asking stupid questions about the stuff I've already spent time writing in the email if you'd just bloody read it
 
7:21 AM
cbg
 
@JonClements I feel your pain
I'm pretty sure business people are just people who can't read
Oh flip this is a public forum
I love you, my employers and project stakeholders
 
@Bestasttung and cbg
 
@RobertGrant LOL
Is anyone else laughing at:
Or is that just my warped, lack of sleep mind playing tricks
 
@JonClements about the hat on Matt's head?
cabbage folks!
 
7:44 AM
cbg @Peter
Yes, yes... the hat on Matt's head - that's what it is :)
 
^ it sounded like it was something more.. juicy.. but I still can't see anything else than a hat
 
cbg all
 
cabbage @DanielRoseman
 
209...
cbg @Daniel
 
210..
211..
 
7:49 AM
well, I'd rather it go 209... 199... 189 :)
Wow... more than enough flags from the Java and Android room
 
8:14 AM
@JonClements What in the name of cabbage are you on about? O_o
 
@Kevin IIRC you were talking about LoC counting a few weeks earlier: look what I found, it's called CLOC, has a very nice CLI interface and tons of features to make the line counting more accurate
 
@Ffisegydd there were 25 flags chat room flags
 
@Ffisegydd mocking the puppy means you buy you own food and drink for sopycon - we'll still host it at that awesome grill place near yours, but puppy ain't buying your round no more :)
 
Ahhhh right ok. Yeah that's fine by me, in the choice of infinite mocking or a free meal I'll take the mocking.
 
8:25 AM
I shall graciously accept the infinite mocking then :)
 
I don't own a single apple product
The iPhone at first was just awesome - completely changed the mobile market
 
I have two, iPod Shuffle and MBA.
I wouldn't get an iPhone now though, Android FTW my lovelies.
 
HTC and Samsung just blow the iPhone out of the water now
I'm sticking with my S3 at the moment - had an S4, could get an S5
 
I've got an S3, contract runs out at Christmas so we'll see.
 
8:32 AM
reasonable camera, makes and receives calls, it's more clever than I'd like it to be
and works fine for me
@Ffisegydd oh... you're on contract?
 
Yar
 
I just tend to buy the handset then worry about network stuff later
I use to be on contract, then realised that I could have bought the same handset twice more on what I was paying
 
@JonClements btw, I have a confession to make to you
I finally understood RMS' words about free software, free not as gratis, but as freedom -- and that makes GNU/Linux so much different for me now
you mentioned some sort of "philosophy" when I started complaining about these systems
and I think now I got it -- although they are still ugly, harder to use and more unstable than the proprietary versions..
:D
but at least they are truly free, which is as you said "worth the sacrifice".. and I think you are right
(I hope you were talking about this, @JonClements)
 
Posted this before (I think) but let's share again because it's true
 
8:44 AM
@Peter now you get it :)
 
@Ffisegydd comment on the last line:
I've been using Vim for about 2 years now, mostly because I can't figure out how to exit it.
 
haha... have always loved that tweet :)
such a geek joke though - it's almost along the lines of "Why do programmers always confuse Halloween and Christmas"
 
uhh I knew that one.. but I guess I forgot.. why?
 
Something to do with hex/oct.
I can't remember. Because Oct 31 = Dec 25
 
Because dec(25) == oct(31)
 
8:51 AM
:( -- :D:D:D:D
 
I'm groaning at myself anyway for even bringing that one up :(
 
9:03 AM
on a side note - how much longer is my map-reduce query going to be... been waiting nearly 6 days now
I appreciate the servers are crunching close to 600,000 tb but still - 6 days?
 
Cbg :)
 
Probably realise I didn't put an index somewhere
cbg @Ian :)
 
9:33 AM
@Jon DW? I thought was much better
 
@Ian best one yet
just hope they're not going to waste Capaldi
I've said before it took me a while to get used to Smith as the Doctor, but I came around and he had his own style...
Capaldi - awesome... loved from the offset... it's just that the writing is somewhat dubious :(
 
10:17 AM
164 to go...
 
@JonClements are you talking about Listen?
 
that was the title of the last DW => 'Listen'
 
oh yeah... sorry - half asleep
 
up all night again?
 
10:31 AM
yep
 
poor you.. so you still can't get back into your normal routine..
or this is the 'new routine', the 'new you' ?
 
only for a few days more I think
"normal routine" - not sure I've had one of those in 7 years :)
anyway... couple hours kip before cracking on again
rbrb for now
 
10:52 AM
@DSM not sure if you've seen this before but you may like it: IJulia is a backend to get Julia working with IPython.
 
11:29 AM
0
Q: What are __signature__ and __text_signature__ used for in Python 3.4

Antti HaapalaIf one does dir() on some builtin callables (class constructors, methods, etc) on CPython 3.4, one finds out that many of them often have a special attribute called __text_signature__, for example: >>> print(object.__text_signature__) () >>> print(int.__text_signature__) None However the docum...

:P
promoting own questions is bad yes ;) but if someone knows then pls drop an answer :D
 
Antti asks, Martijn answers.
 
12:02 PM
I'm an hour late to the conversation, but I quite liked this week's Doctor Who episode. <rot13>V unys-rkcrpgrq gur "cresrpgyl uvqvat" fcrpvrf gb or Gur Fvyrapr, rfcrpvnyyl fvapr gur Qbpgbe pynvzf gb abg erzrzore jevgvat "Yvfgra" ba uvf punyxobneq. Ohg V guvax gurl gbbx vg va n zber vagrerfgvat qverpgvba. Erzvaqrq zr bs Wnjf; crbcyr fnl gur funex vf fpnel orpnhfr vg unf fb yvggyr fperra gvzr.</rot13>
 
hi everyone... Does anyone know how to enable index in (auth_user) first_name and last_name?
Django**
 
Not me
 
@nKandel I probably would, if I understood what you were asking, which I don't.
 
@Kevin we need a rot13 translator, possibly in a JS script
 
Ooh, you tempt me
 
12:04 PM
I'm tempted to write one in Python and stick it on sopython.
 
@DanielRoseman I need to create db index for first_name and last_name... How can I do that
 
I imagine a two-part application; a "rot13 selected" button next to send/upload, and a "rot13 post" button in the permalink/pin/flag menu next to each message
 
CREATE INDEX full_name ON auth_user (first_name, last_name);
 
Yeah. Have the "translate my speech" (henceforth referred to as post) enclose it in <rot13> tags like you have done. Then have the "translate someone elses speech" (henceforth referred to as get) search for tags?
 
The first is easier than the second; since the permalink menus are created on the fly by the obfuscated chat script, it would be tricky to add new things to it in an elegant way
 
12:07 PM
@DanielRoseman Is it possible to do at syncdb?
 
Or if you're running 1.7, just add ('first_name', 'last_name') to index_together and create a migration
 
import codecs

def rot13(s):
    return codecs.encode(s, 'rot_13')
That's one easy function in Python...
 
@DanielRoseman I can change max_length as follow
from django.contrib.auth.models import User
User._meta.get_field("username").max_length = 75

Is there any method to set db_index=True
 
You can do that, but there's absolutely no reason you would ever want to. If you want to change the db structure for the User model, create your own model that inherits from AbstractUser, set AUTH_USER_MODEL to point to that model, and overwrite your fields accordingly.
 
I just remembered that you can set alt text for links. Maybe that could be used as a spoiler transmission mechanism. Ex hover over for spoilers
 
12:13 PM
Oooh that would be an easy one to add a button for, have it fill in www.example.com and something like SPOILERS and then place the marker where the alt-text begins.
 
pros: requires no effort for recipient to decode, and no external tools for sender to encode. cons: spoilers can't contain quote marks. mis-typing the formatting may cause spoilers to appear in plain text. You can't easily copy-paste alt text.
 
ok. Thanks for your time @DanielRoseman ...
 
Do any modern browsers cut off long alt text? I know Firefox used to, like ten versions ago.
 
How do you do it?
 
[text](http://example.com "spoilers go here")
 
12:18 PM
That is as long as I can make it within the limit, and on Chrome it doesn't cut out
Should end on "felis eu"
 
Good, same for FF
 
No one cares about IE so I think we're good.
 
Haha :-)
 
Yeah, I suspect IE marketshare is lower in this room compared to on the web at large
(I have no data to support this, other than "only dummies use IE, and this room contains no dummies")
 
12:22 PM
*contains only a few dummies
 
12:32 PM
class.coursera.org/bigdataschool-001 an advanced MOOC on big data, looks pretty interesting. One of the lectures is on software architecture which I'm hoping will be useful for nidaba.
 
@Ffisegydd Is our repo developer ready?
 
What does developer ready mean? Do you mean that someone could jump in and work?
 
lol no. There's pretty much no code for nidaba.
There's a few scripts that can be used to create a mongo db.
 
12:41 PM
It's still at the planning stage right now I think
Need to speak to Jon about database choices.
 
Spoiler script is shaping up... Almost certainly won't work in IE, though. Good thing that's outside the scope of the project :-D
 
Oh okay... Just curious...
 
Oh the joys of only developing for one browser
 
user559633
there's more than webkit and its forks?
 
Ok, here is my spoiler button script. It is "works on my machine" certified.
testing... hover for spoilers. Test complete.
 
What a twist!
 
It doesn't work as well for Chrome but I forgive you. It doesn't put the cursor back in the box at the right place, doesn't put it back at all. But if you use highlighting it works.
 
Oops, I didn't think of that. Doesn't preserve cursor position in FF either.
I wonder if that's a js-accessible attribute.
 
Pass. I know you can with Ace Editor (so we could have it on sopython) but dunno about for "raw" js.
 
Looks like setSelectionRange will do it. Version 1.1 coming up
ver 1.1. changelog: added cursor positioning
incidentally, greasemonkey scripts are a huge pain to debug. Their errors don't show up on the console.
If you've got a syntax error, you can't even do try{code goes here}catch(err){alert(err);}. It just doesn't run at all.
Now that I've written a nice button creation module, I want to make a whole bunch of new features requiring buttons.
With this mighty hammer, I will nail the world.
3
 
1:24 PM
Sigh, I found a neat library but it only works for 32 bit Python :-(
Or, at least, the friendly installer GUI only lets me pick my 32 bit install as a destination. Maybe there's a manual override, but it's going to be a hundred times more difficult to get working.
Man... Detecting mouse and keyboard input at a global level is at the top of my library wishlist. So close, yet so far. Darn you, PyUserInput, for requiring non-64-bit-compatible library PyHook!
Ooh, here is a third party 64 bit installer. God bless the open source community :-)
 
Must be big news, because the page is loading real slow
Reading it now... Makes perfect sense to me. I always viewed Notch as a normal guy that stumbled into the role of an icon.
"It was just a typo", says OP
 
2:08 PM
How to downgrade my django?
currently i have django 1.6
BUt i need 1.5 for testing purpose. What i have to do?
 
pip uninstall django
pip install django==1.5
(Someone please verify)
 
Because i'm going to learn Django . I have django(two scoops) book which recommends 1.5 version.
 
user559633
version pinning in requirements via the ==version approach sounds correct
 
Well bear in mind that you may break stuff if you have a 1.6 project and you downgrade to 1.5
 
user559633
you're just querying pypi with that string
 
2:14 PM
But if you're starting a new project it's fine
 
Make sure you're using virtualenvs.
 
virtualenvs??
How?
may i install an olderversion through virtualenv without removing the later version?
 
That's the intent of virtualenvs in the first place, right? To have different versions of things that don't interfere with one another?
(speaking as someone who has never used it personally)
 
Yeah so if you work within a virtualenv you can install whatever versions you want without conflicting with the "global" versions.
You have your own python executable, your own pip, your own installed packages all kept to themselves.
 
How i install django 1.5 within a virtualenv?
 
2:23 PM
First create a virtualenv then install Django once it's been activated.
 
Cabbage!
 
DSM
Monday morning cabbage, all.
 
cbg @Fenikso and @DSM
 
Have shelve module always created two files for the persistent dictionary?
 
DSM
@Ffisegydd: yeah, I like IJulia. Once you've gotten used to a real console it's hard to go back. :-)
 
2:27 PM
Yeah I wasn't sure if it was something new or not.
 
A burning rubber smell is coming from the ventilation system. Must be maintenance day.
 
DSM
On the weekend I had one of those "time to write my own programming language" moods. I know KevinScript already has most of the mindshare but there's always hope.
@Kevin: it might be a tumour. #kindergartencop
 
Only if all my coworkers have a tumor with the same symptoms. It's quite possible. Maybe we're all exposed to carcinogenic fumes during previous maintenance days.
This building is a refurbished warehouse. They claim that they took all the asbestos out, but you know what's easier than removing asbestos? Not removing asbestos and then lying about it.
 
DSM
Exactly. The sorts of things which can emit burning rubber scents can cause tumours which cause symptoms of smelling burning rubber. All you need is to erase something really hard to kickstart the cycle.
 
@DSM At the pace I'm going, it should be simple to surpass me.
 
2:34 PM
Hmmmm.... Isn't this an off-topic question?
 
"write a KevinScript-to-asm compiler" is on my ever-expanding todo list, right under "learn asm"
@thefourtheye, yeah, looks like it
 
DSM
I'd use LLVM instead. You'll get lots of goodies for free.
 
@AvinashRaj Man, your RegEx answers are really good...
Finally, a worthy mate for Jerry...
 
LALR is a bit janky. When language generation fails, the error message is quite cryptic..
You don't get "The rule binExpr := Expr op Expr has ambiguous precedence", you get "shift-reduce error on symbol table column 7"
 
DSM
That merely increases the sense of accomplishment when you figure out what's going on. Part of the reason C++ is so popular.
 
2:39 PM
And I haven't tried implementing it yet, but I have a feeling it will be hard to locate the character and line number of KevinScript programs containing a syntax error.
 
@Ffisegydd Thanks. If that was directed to me :-).
 
@thefourtheye Thanks.. Nandri...
 
@AvinashRaj lol, How do you know that I speak Tamil?
 
Your profile..
 
Hmmm, I think I myself told you now that I speak Tamil, didn't I?
 
2:42 PM
You're so good in your tag rather than me..
 
@Ffisegydd I've read so many similar stories from others
 
This is the first time we enter into a conversation.
 
@AvinashRaj Thanks, if you really feel that way, all the credit goes to the people in this room... I learnt from them :-)
 
Haha, oops, I thought LLVM was a class of parsing algorithm, rather than "Low Level Virtual Machine". I guess I just categorize all acronyms starting with L as parser related.
 
2:46 PM
@Ffisegydd Thanks for your precious time.
 
Let's see, which of these 13 sub-projects could be useful to me...
 
DSM
There are some examples of how to implement a small language to give you a sense of what's possible.
 
@thefourtheye finally i ended up with this askubuntu.com/a/280205/202806
 
lol, that is when I started learning Ubuntu and Python
 
which one i prefer. Above or
 
2:54 PM
Prefer Chris's answer..
 
arcpy.ListFiles. Return type: string. Explanation: A list of files.
Wonderful documentation there, arcGIS. Is it a string or a list?!?!?!
 
DSM
You know it's quality because of the CasingStyle.
 
And from this question, I assume there's a totally undocumented failure case where it returns None instead of an empty list when there are no files
 
3:16 PM
This weekend I reverse engineered the GET request that the TV Guide website uses to populate its table of television listings. I can now use Python to find out what's on TV in the next 24 hours.
Ultimately, I'd like to have a script that periodically checks HBO for a predefined list of movies that I have been meaning to see. This solves the problem where I have to put deliberate effort into manually reading the TV listings every day to see if anything good is coming up.
There's nothing quite so aggravating as channel surfing and discovering that there's a good movie on, but you've already missed the first forty minutes.
So now I need to work on running the script automatically and unobtrusively; I don't want to have to manually start it, I don't want it gobbling up system resources while it waits, and I don't want it visible at all as long as it has no findings or errors to report.
 
cbg all
 
I think I'd like it to present its messages via balloon tip from the taskbar, but I'm not sure there's any easy way to do that from Python.
 
user559633
in osx @Kevin?
 
Windows.
 
user559633
Oh, nevermind then.
 
3:26 PM
I've got a simple question about multiprocessing architecture: Can I use a queue for interprocess communication between 2 children processes, or are queues and pipes only used between the main process and its children?
 
@Kevin run it as a cronjob (or the Windows version thereof) and have it email you
 
@Raoul I haven't tried it myself, but I strongly suspect that queues can be used to communicate between two child processes.
 
Then you can check your email every morning and see "Oh look. The Matrix 3 is on tonight, my favourite of the trilogy".
 
A good idea, but I'm a chronic email ignorer.
 
Then have it send you an SMS.
Or a carrier pigeon.
There's probably a Python library for it.
 
3:29 PM
SMS might work... I recall someone recommending a module to me that could do that.
 
Hard to ignore a pigeon, especially when it's clawing at your face.
 
Then I said, "haha, my master plan unfolds. I contributed to the community for years merely to get access to the secret SMS module. Now I am become spammer, destroyer of worlds"
Although in the end I didn't actually download the module, due to my short attention span.
 
@Kevin I think wxPython has a module for 'toaster' notification
@Kevin Thank you :-)
 
@Raoul Looks promising, thanks
 
Aaaannnnddd I suggested sending an email back then too.
It's like we're hamsters in a wheel.
 
DSM
3:35 PM
I'm kind of proud of myself: I just did something brute-force 26 times because it only needed to be done once (the whole task, I mean) and it was faster than automating it. The temptation to script everything is a hard one to resist.
 
I wish the pyMessaging homepage would stop 404ing :-(
 
After a looooooooooooong time, wrote something in my blog.. With that sense of accomplishment, this is thefourtheye rbrbing...
 
CBG
 
3:52 PM
Found a functional balloon tip recipe. I think I'll go with that
 
Eddie Izzard's on the no campaign now
not sure if that's good or bad
 
SMS integration would be a killer feature, but it's a nightmare to develop on this machine and its arcane firewall
 
@Jon, where do you stand?
 
@Ian were I to have a vote - it would be "stay"
 
I vote "stay", because the alternative requires updating a lot of geography textbooks and maps
I think my middle school's atlas still had East and West Germanys.
 
3:59 PM
@Kevin, seems like a good reason :D
 

« first day (1430 days earlier)      last day (3517 days later) »