« first day (1363 days earlier)      last day (3603 days later) » 

3:00 PM
Urgh. This is the problem with being young and having to lie about my date of birth like 10 years ago just to get an account somewhere. Now when I have to type it in for password retrieval I can't remember what date I said when I lied!
 
DSM
Oh, what a tangled web we weave.
 
Well, now you know for the next time you're under 18. Always use Jan 01 1901.
 
It's all Apple's fault.
 
The biblical apple of the knowledge of good and evil? Broadly speaking, yes.
 
oh, it's always nice, to read the exact same posts on two different blogs -- and ofc both bloggers indicating themselves as authors of the post. I love you internet.
@Kevin LOL :)
 
DSM
3:04 PM
(stupid broken Makefile not picking up a dependency grumble grumble)
 
I have had similar grumbles today.
 
(@DSM are you using makedepend?)
 
random comment, just to bring my name to the first row.
 
My stupid broken C# project has a dependency on version 3.0 of a library, but no amount of deleting references and re-adding it will convince it that it can use interfaces that weren't present in 2.0.
 
anyway, we will be saved in a few months: SCONS will support Python3 -- death to make!
 
3:06 PM
You type your password in incorrectly ONCE to iTunes and they require you to do an email reset. IOPWETHBKOTHBDFNGVKDFBHBKDTHNJKRFGWNHKBJEFV!
 
@thefourtheye :D:D:D
 
DSM
@PeterVaro: no, -MM.
 
The stopgap solution being, delete all the code using interfaces only introduced in 3.0, since I'm only doing a validation scan on it, it doesn't actually have to be functional.
 
In case you didn't guess, that was me screaming at my keyboard so loudly that it typed nonsense.
 
I thought it was a Doom cheat code.
idspispopd kinda thing.
 
3:07 PM
@Ffisegydd it was loud and clear.
 
@PeterVaro NERIGNWDTJKBHJRBGJARBGJFBHBDFJBJO done.
 
LUINGDSBCKLFGCNMAHLCPFU,HXÉOUHAG okay, thanks.
 
I hate people who ask two questions in one post.
Especially when they're not really linked.
 
I hate people in general. I win.
 
I hate people explicitly.
 
3:12 PM
(except the folks in sopython, ofc)
 
even me, Peter? <3
 
@Crow nope, you are in sopython room -- you are protected.
 
@Ffisegydd You'll hate this then
5
Q: Defragging RAM / OOM failure

IntrepidBritThis question is fairly lengthy, so I'll ask the questions at the top and then go through my method of coming to the questions: Did (Busybox based) rm not execute because there wasn't enough contiguous RAM? If so, is there a lightweight method of defragging the DMA - without resorting to a syst...

 
Unfortunately you need 125 rep to downvote...
 
DSM
@Ffisegydd: in that particular case, the very first thing the OP should have tried should have worked for the groupby anyway..
 
3:14 PM
Defragging RAM failure, huh... Have you tried turning it off and on again?
5
 
DSM
@IntrepidBrit: you forgot "4: Why am I using "telnet"?"
 
@Kevin :P Literally the only fix ;)
 
"FIRE" exclamation mark. "FIRE" exclamation mark.
 
@DSM Say what you want about telnet, but it is lightweight
@DSM The embedded system just didn't have the resources to run SSH AND do the required work
 
@PeterVaro I just finished the IT crowd this week. I wish there was more.
 
3:16 PM
@Kevin same here.. have you watched the last one "the internet is coming" or something like that was the title?
 
No, the last one I saw was about Reynholm's divorce
 
btw: the first sitcom ever, I started to watch again..
@Kevin then you have one more extra long closing episode left
 
It wasn't on Netflix... To the Internet's seedy underbelly!
 
The IT Crowd ( or ) is a BAFTA and Emmy award-winning British sitcom by Channel 4 written and directed by Graham Linehan and starring Richard Ayoade, Chris O'Dowd, Katherine Parkinson and Matt Berry. Set in the London offices of the fictional corporation Reynholm Industries, the show revolves around the three staff members of its IT department – the two technicians named Moss (Ayoade) and Roy (O'Dowd), and their manager Jen (Parkinson). First broadcast on Channel 4 on 3 February 2006, a total of 24 episodes aired over the course of four series. Although a fifth series was commissioned, ...
^ that's the official very last episode
 
DSM
Richmond for the win.
 
3:20 PM
I hate working with non-technical people...
 
hire an assistant..
 
I work at my school and people come in like "I want website :0", and I would say "well... what do you want on it?" and they'll say "you know how facebook does this? I want facebook. Make me facebook."
 
"Ok, it will take ten years and one hundred million dollars. Payment up front, please"
 
^ I typed almost the exact same sentence in
 
the thing that's more annoying is that most of these people seem to think they're doing something novel and original...
 
3:23 PM
:D tell them go away!
 
cloned my"facebook_clone" repository so many times
 
I have this idea where people can write about things that happened to them, or things they find interesting, but online. I call it a "web log", or "blog"
Copyright 2014 Kevin, all rights reserved, patent pending
 
i have this idea where people write about stuff they think will be proven later by research......
 
the trademark "blog" and all associated trade dress are intellectual property of Kevin LLC and heretofore subject to all legal protections forthwith, quid pro quo, Quis custodiet ipsos custodes.
 
people are starred based on their hypotheses, and the very good idea will be funded for or something for research..: )
 
3:27 PM
Reminds me of Long Bets.
 
oooo thanks @Kevin
i didnt know such a thing exisited...
but it is not hypothesis, it is prediction on future happenings...
mine was like eating more lemons help fight cancer ---> later proven by research
 
grr.. if you switch back and forth git-branches, the file modified-dates will be updated.. is there a way to prevent that?
 
Well...the files have been modified...:P
 
yepp.. and nope..
 
@tilaprimera Reminds me of the "prediction market" described in this article
 
DSM
3:33 PM
So it's a kind of prediction market for scientific topics. Makes as much sense as many other books, although determining criteria will be tough. (I don't think mainstream oncologists really embrace the lemon diet.)
 
@Kevin thanks again...i am going to put my predictions there
@DSM lol, i would not risk posting :D my belief here...:D else i win!!:D
 
Well they have. They've been overwritten. There's no arguing about it, surely? (Unless my limited knowledge of git is a lot worse than I thought it was) If I write a file called text.txt and put in 'Peeeeeeeter' and then a day later I open it and write 'Peeeeeeeter' and save it, I've overwritten the files.
 
DSM
You can change modification times, though, so presumably if they were saved they could be reset.
 
14
Q: Restore file's modification time in git

rampionI understand the default git behaviour of updating the modification time every time it changes a file, but there are times when I want to restore a file's original modification time. Is there a way I can tell git to do this? (As an example, when working on a large project, I made some changes t...

(And linked from that Q/A git.wiki.kernel.org/index.php/…)
 
@Ffisegydd I absolutely understand this.. but why?????? grrr..
 
3:39 PM
Just to torment you.
 
I knew..
 
Linus was like "Someday this is gonna **** someone off royally...and I'll be there watching..."
What you didn't know is that Kevin is secretly Linus Torvalds.
 
:):)
 
And now his ultimate plan is come to fruition.
 
Yessss... All the pieces are falling into place.
 
3:40 PM
 
worst nightmare ever..
 
what's the most polite way to tell someone they're an idiot?
 
"@Crow you're an idiot"
 
"No offense, but you're an idiot."
See, since you say no offense, they're not allowed to get offended.
 
"I'm surprised you don't know that, @Crow"
 
3:42 PM
Just like when people put "no copyright infringement intended" when they upload music to Youtube, or "no murder intended" when they stab somebody.
 
DSM
@Kevin: I was only trying to scare him, really.
 
@Kevin how i wish you were linus torvalds!!!!!
 
"No inference of intention intended"
 
3:42 PM
I can neither confirm nor deny any allegations as to my identity in regards to Mr Torvalds.
 
^ you can then say, you were just quoting from a classic
 
please be linus!
 
I am a P-zombie, a meat machine that merely resembles a person with thoughts and an internal monologue. Therefore, nothing I do is ever intended, by necessity.
 
lol linus is more of a C guy than python guy...so :D lol there!
 
Everyone knows that Linus is the Finnish spelling of Kevin.
 
3:44 PM
@Ffisegydd except me ofcourse!
 
5 hours ago, by Peter Varo
btw, I admire the work of Linus, I really do, but tbh it makes me wondering how good are his works, if all of them confuses people?
 
See? Describes Kevin perfectly.
 
haha :-D
Linux is just a very elaborate piece of performance art.
3
 
are people confused by his work??
 
@tilaprimera are you reading the same internet as I do? ;)
 
3:47 PM
@pet i would want to learn from non-internet version (you)
 
@PeterVaro which Internet do you subscribe to? I like the Daily Internet, but some people like the Internet Times
 
:D:D
 
I use the AOL homepage to get all my Internets.
 
:D i use google+ to get all my internets!!
 
It's the only way I'll work off this backlog of free trial CDs.
 
3:49 PM
Good times they were...
Having to get off the internet because your parents needed to ring someone...
 
Yes, and there was always a Frisbee when you needed one.
 
how many years have you guys have been having this chat room ?? : ) seems like you guys have made a pretty good friendship here !! : ) hope the same for me.
 
A year at least. That's the farthest back I appear on the starred list.
 
We are bonded by ties stronger than blood. It's not until you've stood at the gauntlet with a man and vote closed the 17th input vs raw_input question of the day that you truly find comradeship.
 
We have all eaten from the cabbage of friendship.
4
 
3:53 PM
@Kevin it has to be at least 1.5
I think you were here the first time I entered this room
 
hehe : )
 
8 months or so for me
I lurked a lot at the beginning.
 
DSM
Some of us, like myself, only drop by for the salad. Looks like I've only been around since Dec '13 or so, although it's funny to see that I was mentioned before that:
"And being too FGITW to get a chance to read the comment by DSM (who is almost always right)
 
Yeah, I only started talking in the last month or two.
 
DSM
"almost always right". I like the sound of that. Now if someone would remind my code, I'd be much obliged.
 
3:56 PM
somewhere where i can check in my stats?
 
You can also search for what you've said
 
back
 
Rejoice!
 
wb @JonClements
 
Still at the library?
 
3:57 PM
Nope - back indoors
 
Good to hear :-)
 
:D i want to know the day i joined :D this chat room..
 
I've been watching Arrested Development lately, and I just got to the last season. It's jarring to see all the characters age six years.
 
@Kevin is it good? worth watching?
 
David Cross is exactly the same, though. I think he may be a wizard.
 
3:59 PM
Hmm, I forgot to watch the last season, I should get back to that :)
 
@PeterVaro Yeah, I've really enjoyed it.
 
my brother suggested it to me.. but I wasn't really interested after reading the plot
 
Don't watch it for the plot, it's all about the comedy
The plot happens to be funny too though
 
okay, I will give it a try then..
 
You do have to have a measure of tolerance for the characters, since they're all kind of despicable in one way or another.
 
4:00 PM
so note to self - don't forget to read post and update details :(
 
Even the everyman, Michael, has a smidgeon of narcissism.
 
@Ffisegydd updating the linode panel details before I forget
 
@Kevin I think I have patient for weird things.. yesterday I watched Eraserhead (1977, David Lynch) one of the "finest" surrealist films
 
I'm still working through Lynch's Twin Peaks. Odd man.
 
@PeterVaro did you make your avatar here yourself?? : )
 
4:02 PM
and although I hated it, because neither the director nor the film itself doesn't want me to understand what I just saw.. I still watched it til the end
 
brb, lunch time
 
@tilaprimera ofc ;)
@Kevin bon appetit!
 
@PeterVaro using? it is kinda cool!!
 
@tilaprimera thank you :)
 
DSM
@Kevin: don't forget to eat from the cabbage of friendship.
 
4:03 PM
@PeterVaro i like how the dots look like from some comic in newspapers......any tools??
 
I use pixen for drawing pixel-art
 
@PeterVaro : ) thank you
 
Just been into London for lunch with some Pythonistas. Feeling better now.
 
Why is it always for Mac, us linux guys never get a break
 
@davidism i am searching for linux:D
found some
 
4:06 PM
@holdenweb I'm about 40 mins from London these days... always happy for a meet up with other professionals :)
bit late know though now :)
 
@davidism you can always use GIMP for pixel-art
ofc it is not specialised for pixel-by-pixel drawing but still
GIMP is a superb tool, not the holly grail of FOSS, but pretty nice though
 
@PeterVaro Eraserhead made me feel almost suicidal
 
I think first I need to be able to do any sort of art. (Besides, of course, the art of programming.)
 
(way better than Inkscape)
 
: )
 
DSM
4:08 PM
On the bright side, my tests do what they're intended to. On the not-so-bright side: segfault.
 
i found mtpaint...
 
@JonClements Yeah, I'm back home again now. But maybe next Tuesday?
 
@holdenweb well, for me it wasn't that disturbing.. I mean, watch Enemy or Under The Skin of nowdays movies, they are doing a way better job on surreal/disturbing motion pictures
ofc, Eraser head was made in 1977 and I respect that.. but still.
 
Always "next tuesday"? :)
 
@PeterVaro that kind of thing I can probably do without.
@JonClements no, just this next Tuesday
 
4:10 PM
Just need to wait until Darling is working as well as Wine.
 
@JonClements After that I'll be heading back to good ol' Portland, OR
 
@davidism that looks interesting enough!!!!!!
DARwin LINux G -- I like the name too;)
 
i got a dead pixel
 
that is the most frustrating thing that could ever happen on a screen
 
@holdenweb ahhh... shame... I won't have time to do London.... I'll be in Kent
 
4:15 PM
forgery_py is actually really awesome
 
some times starting gnome does the trick.
 
Never mind. Nowhere near Chislehurst, I suppose?
 
apparently it was not a dead pixel
 
I'll be in Maidstone for the morning, then Canterbury for the afternoon...
wb @Zero
 
gtbb :-)
 
4:24 PM
Now... before my connection went askew, I was in the middle of some meta.so posts
 
@Crow I think faker is better because you can use locales
 
4:43 PM
i have a client thread and i cant seem to be able to close the server once the client thread closes.
i am trying to close the server thread once all the client threads are closed..
 
DSM
[test_interpolation :128] [0.00231105, 1.90537, 4.92022, 3.52834, ] : unforced 32.6871 forced 32.6871 manual 32.6871
Finally.
 
5:01 PM
coords
whoups
 
every time I look over at my tabs, the javascript room has exactly 3x more messages than the python room
 
Post a cool library that is not in the top 30
 
I'll just try to shoot for an extremely short question, perhaps someone here can relate to it
 
My turn:XLSXwriter
 
I'm trying to interpolate using scipy.ndimage...
coords = array([[a1 - Grid.aGrid[0], m1 - Grid.mGrid[0], e - Grid.eGrid[0], p - Grid.pGrid[0]]])
# gives policy as a grid index
choice = ndimage.map_coordinates(Arg2M, coords.T, order=2, mode='nearest')
 
5:03 PM
pypi.python.org/pypi/XlsxWriter It allows you to write to EXCEL spreadsheets in a very easy manner
 
Hi all
 
cabbage
 
oh wow, posting that snippet here already revealed the mistake
thanks guys!
 
watermelon, I do what I can
 
Then Pyttsx is a good library for crossplatform TTS
Faker is good for fake data generation
Requsets is in top 30 but I had to mention it
 
5:06 PM
this is weird :| Forgery_py generated my name and birthday by random
 
You're lying @Crow
 
well, it is a month/day birthday so it's not INCREDIBLY unlikely
 
DSM
It's your own fault for being called John Smith and being born on September 16th.
 
dinner
rbrb!
 
5:23 PM
@MartijnPieters bon appetit! and rhubarb ofc
 
anyone wanna give me one of those links to webfaction?
 
YES.
I CALL SHOTGUN!
 
here you go: www.webfaction.com
 
Hello!
 
DSM
5:25 PM
You seem awfully enthusiastic. Is this one of those multi-level marketing schemes?
 
Finally my first member joining the cult service...
 
@Ffisegydd I just hate these kind of photos:
I really want to hit this guy in the face
:)
 
So you're saying you prefer to see super attractive models used on all sites?
 
@jawrainey hell yeah!
 
Ideally with beards
 
5:31 PM
@Peter one of my favourites:
Note that the xbox isn't plugged in...
stackoverflow.com/a/24681070/3005188 <- idiot. "I can't show you my code! It'll give away my secrets!" Then maybe don't ask for help on a public website...
And if he changes the names of variables you won't even know what he's doing.
I think I'm gonna delete my answer.
 
DSM
I pity the fool who doesn't understand the difference between code and data. But at least no one can steal his proprietary plotting code!
 
hah... I finally found a NORMAL one:
 
That's just wrong. I mean, come on, floppies?
 
yeah, okay, I get back to dig deeper..
 
We found a 5in floppy disk drive in our office the other day
 
5:37 PM
Hardcore!
 
I have some at home :)
we used them as ninja throwing stars (is that the name of those) back in highschool when we found them in a storage room
(it can be pretty painful if one hit you)
 
Needs an ing: ninja throwing stars
 
DSM
We usually say "throwing stars" (shuriken).
 
@Kevin thanks
 
Do you have some agreement on fixing mistakes? Why doesn't anyone fix mine? :(
 
5:42 PM
@vaultah that should be "mine" ;-)
 
@ZeroPiraeus NSFW there are no floppies here..
 
@Zero thanks :D
 
I found the proper one, way better than cheap marketing with sexy women:
 
How much mistakes do I typically have per message?
 
@vaultah it's obvious you're a non-native English speaker, but I don't think I've ever failed to understand you.
s/much/many by the way :-)
 
5:51 PM
Ah thanks again :)
 
@vaultah for a while I just though you were a native, but occasionally lazy, English speaker.
 
... and Muphry's Law strikes again :-)
 
omg.. google invented time travel..
amazing..
okay.. I think I'm getting dangerously tired for today..
 
Must be data from their historical document scanning project.
 
@davidism lazy because of my grammar or lexicon?
 
5:55 PM
bbl && rhubarb;
 
or both :D
 
@vaultah every now and then the grammar is off
 
why does my heroku log say it's trying to use 2.7 even though I put 3.4.1 in the runtime.txt?
 
6:22 PM
Yeah, gotta work on my grammar. Thanks!
 
cbg
 
We can point things out to you if you want @vaultah (if you're looking to learn/improve)
I've spent the past year correcting our Italian PhD's grammar/spelling to the point that she now speaks using Yorkshire slang :D
 
@Ffisegydd help me improve my grammar as well..: ) point it out flat!
 
@Ffisegydd that would be nice :)
 
6:26 PM
Anyone with experience in regex could probably get a few easy points with this question, by answering "just use a regex"
I'd do it myself, but I use re once in a blue moon and I don't feel like rewriting his homemade pattern matching syntax into a proper regular expression
(If you don't get the BIO stuff, it's just "all characters not matching the pattern are marked as O. All characters that match the start of a pattern are marked with B. All characters matching the middle/end of a pattern are marked with I")
 
Aren't ISO dates directly comparable?
0
Q: why will this date compare not work in javascript?

user3054077So i have a small prob.. if i put in js like below : var date1 = '05/05/2012' var date2 = 06/06/2014' if (date2 > date1){ alert('it works'); } But this does not seem to work? i mean it does not alert ..why? But the date2 i am actually using like below : date2 = document.getElementById...

 
It's YYYY/MM/DD that's comparable, isn't it?
>>> "07/10/2014" > "12/25/1999"
False
>>> "2014/10/07" > "1999/25/12"
True
 
Uh, you're right
 
I retract my statement in this post that the linked question would be easy.
It essentially would require you to write your own regex engine.
 
DSM
acceghiiloprx deorr eeghinrtvy eerw fI in lnoy..
 
6:39 PM
I ahtw ddi eehrt ees ouy.
 
Hello everyone.
I have a small doubt I hope you can clear up. In C++, whenever I needed to declare a variable local to the class instance, I would just type the variable's name inside the class definition. However, when I do the same in Python, the variable acquires static behavior. I know (now) that I can do the same thing I did by simply referencing self.name_of_variable in the __init__() function, but I was wondering if there was another way to do the same thing I did on C++ (in other words, by not using the __init__() function).
 
global?
 
If you want the variable to be local to the instance, and not a shared class variable, assign something to it in __init__ or elsewhere outside of class definition.
 
DSM
Not that you have to, of course; you can call self.something_never_before_seen = 'new' even not in __init__. But there's no clean way around self. before instance variables.
 
Why don't you want to use __init__?
 
6:53 PM
In addition to what's been said, since Python doesn't make a distinction between "declaration" and "assignment", it's not strictly necessary to put every local variable in your __init__. You can create variables whenever it becomes necessary to do so. For example,
 
class Fred:
    def __init__(self):
        self.x = 23
    def frob(self):
        self.y = 42

f = Fred()
f.frob()
print f.y
 
DSM
@Kevin: typo..
 
In the above code, f.y initially doesn't exist when you create f. Only when you call frob later, does it get instantiated.
@DSM, oops.
 
DSM
One more. :)
 
6:54 PM
@Ffisegydd It was mostly a knack I got from when I programmed C++, where I had to statically declare the used variables. I did thought of a situation where I wouldn't want to use __init__, which would be whenever I had more than one constructor with shared parts, but then again, this is C++ though.
 
Psst...@Kevin...Fred(object)...
 
DSM
@Ffisegydd: no, we're a Python 3 room now.
 
meh.
 
Psst... @DSM print statement
 
I would love it to be a Python 3 room but alas this is not true...
 
6:55 PM
But print is a statement there :P
 
@vaultah @davidism good catch old bean(s).
 
DSM
Erm.. umm.. no one ever said the two parts were running in the same interpreter?..
 
how does this site work? us.battle.net/heroes/en/heroes/muradin
 
Who you calling a bean? We are all pears here.
 
I am seriously psyched for HotS
@Crow I'd imagine it makes use of HTML and javascript...*strokes beard*
 
6:58 PM
Unless you are a peach, in which case, I didn't mean to generalize.
 
DSM
@DoktoroReichard: I find that I tend to make little miniconstructor functions and/or use staticmethods when I want C++-like multiple constructors and it's too much of a nuisance to cram everything into one.
 
HTML and javascript? What's that? :o
 

« first day (1363 days earlier)      last day (3603 days later) »