« first day (1381 days earlier)      last day (3559 days later) » 

12:43 AM
Can anyone think of a good name to call a class that's "able to use a joystick"?
For instance, a class that can use a keyboard can be called Typeable, or a mouse Clickable. What about a joystick?
JoystickSupport?
Nah, that sucks.
JoystickControl...JoystickReceiver...
 
 
1 hour later…
2:17 AM
cbg @Peter
 
cabbage @JonClements
how come we never sleep?
 
oh, I did sleep for a bit... got stuff to do right now though - should only take an hour though
 
oh I see.. so that means I'm the only weirdo around here ;)
anyway: I want to correct myself -- Gnome 3 is not even close to being "complete" or "fully designed", but it is a nice start
 
fairly sure that being a weirdo makes you normal here :)
 
I played with Arch+Gnome3.12 all day
I even edited the Arch-wiki ;)
found lots of nice hacks and tricks about theming and other eye-candies
 
2:21 AM
@Peter think you'll find that once a FOSS movement gets momentum... the little snowball of potential tends to turn into a rather large one that crushes things :)
 
cbg all
 
but until Chrome and some other devs don't allow us, to integrate their software into the shell -- to get the native look and feel -- it will always be a mess
 
@PeterVaro sleep is for the tired ;)
 
@JonClements yeah... but linux is here.. for what.. 25 year? 30 years ago?
 
@shuttle87 sounds like I should try it more often when I'm supposedly "awake" then :)
 
2:23 AM
Gnome is here for at least 15.. isn't it?
 
@JonClements :)
 
@PeterVaro put a company with a few hundred billion behind it, I'm sure it'll get there quicker :)
 
@JonClements that's what I thought all day along -- however let's face the truth, those companies, which has millions now, also started in a garage, didn't they?
 
some did, yes
complain productively, by issuing bug reports, contributing bug reports, suggestions/making requests etc...
 
I still stand for my previous comment I made you half a year ago or something like that:
the problem is still that FOSS is to disintegrated
look at Wayland vs X11 vs Mir or all the Shells, and the softwares which do the same thing for the hundred times
 
2:29 AM
Or you can look at it the commercial sense that is "YOU PAY US AND YOU DO IT THIS WAY ONLY"
 
if all the developers would join their forces, and create The Ultimate Linux experience they would FTW
@JonClements no, I don't say that
all I'm saying is: let's design and unite all the package managers; the config files; the window managers; etc. -- it will still have all the million possible configuartions
but in a clean, united way, with nice defaults
 
@Peter nice defaults to you, or others? :)
 
I don't think this small community really needs 3 window servers.. for god's sake
 
and which features from which window managers?
 
@JonClements look at this way: everything done in Unity and in Cinnamon could be done in Gnome really -- for about 99%
and that 1%?
 
2:33 AM
do it then
 
well that difference is what should disappear when those devs work together
 
make productive suggestions as to how it could be done, become a community manager and organise that
 
and unite their forces and create an extremely customisable wm
 
get it organised then
 
I'm a little newbie fish in this big sea..
 
2:34 AM
there's an expression here: "put up, or shut up" :)
 
yepp or my other fav is:
 
in short... either do something about it, or stop moaning about it :)
 
> Talk is cheap. Show me the code.
— Linus Torvalds
@JonClements I'm not moaning myrtle, okay? ;)
I only have thousands of frustrations, that's all
:D
 
Hermoine informs me otherwise :)
@Peter ever listened to Meat Loaf?
 
anyway -- I'm almost done with my cutils project -- I'm documenting it right now
will you take a look at it once I finished it?
I'm really curious about your opinion -- as an experienced dev
 
2:38 AM
@Peter sure - can give it a once over :)
 
@JonClements sure
 
@Peter that your kind of thing?
 
@JonClements awww, thanks, I would really appreciate it
well, let's just say it is way closer to me, than the others you used to show me -- but still not my style
 
I just like the tempo, emotion and piano pieces mostly :)
 
you really are a piano person, aren't you?
 
2:41 AM
love piano
 
(and sadly +vocal too ;)
 
piano + poetic lyrics == win to me
 
yeah, piano is great -- although if I can go back and force myself as an 8-9 years old boy scout to learn play on an instrument I would definitely choose double bass
 
Use to be able to play this
didn't keep my fingers trained, and they're just more use to being on qwerty now...
 
@JonClements are familiar with this classic, called cantaloupe island?
this exact piece moved me to contemporary jazz back then
(I know, I know, no vocals..)
 
2:47 AM
yup... but I'm tapping my foot regardless :)
I've bookmarked that...
 
those four guys were the most influential musicans and composers of the late 80's and early 90's jazz music
and this concert is kind of an "all stars' one
 
/me likes
 
/me is happy then
 
really like that actually - thank you
haven't converted me yet from a lyrics guy, but yeah, I really do like that
 
2:55 AM
I'll just be old fart and stick with something like this though :)
 
Goffin's a massively unappreciated song-writer though
@Peter heck - didn't link you to a Toni Basil vid :)
 
anyway, I think I call it a nighty-morning
what do you think @JonClements ?
 
I'm up for a bit longer
 
(I still have to answer to one mail though)
 
3:01 AM
Oh - a music feel you might be more comfortable with youtube.com/…
bit more jazzy
 
@JonClements it is a funny thing: I know George Benson from his guitar
I almost bought his signature series
but then I listened to his music ;)
nah.. he is good ;)
I'm just still not a vocal person
but if you like jazz-guitar, here is a true classic then:
 
@PeterVaro I have this on CD in the car: youtube.com/watch?v=sEawuVQzCHQ
 
(funny story: montgomery taught himself the guitar, but because of his children he had to play very quiet at night -- so that's why he is picking so weirdly the strings)
@JonClements when I was a child that was one of my favourite films -- it really had that kind of magic
 
That and "Flight Of The Navigator" were mine :)
 
I've never seen that one
 
3:07 AM
think you'd enjoy it
 
but its title reminds me of my favourite comedians-musicans the Floght of The Conchords:
do you know them?
 
still chokes me up when the horse dies in the swamp of despair :(
 
@JonClements it is so bad.. I mean.. I so used to the perfection in visuality nowdays, that when I rewatch my childhood classics they all seem cheap and class "B" to me..
anyway @JonClements -- keep up the good work, but me.. well.. I will give up the fight for today ;)
nighty night and rhubarb
~
 
3:24 AM
rbrb
 
 
2 hours later…
5:00 AM
Interesting Question? or not? I answered it anyways: stackoverflow.com/questions/24977898/…
I had Flight of the Navigator and The NeverEnding Story on the same VHS tape.
 
@Ahmad cant see the link anymore
 
5:22 AM
I thought Bastian was a made-up name, though. I still don't think I've met anyone so named.
 
5:33 AM
cbg
 
cbg
 
5:49 AM
cbg
 
6:03 AM
Is there a way to see immediate changes in my script without re-running my modified code?
like debug=True in flask.. can i do sth similar ?
should not it be pointing to "Class" ??
 
@tilaprimera nope
and flask does not do anything else except reruns your code
 
6:20 AM
that is pretty cool, i would like to use something similar so that i could see changes on the fly.
is that nope for the "Class"?
in the watchdog.observers import Observer, when i click Observer to see its class, why does it point to PollingObserver class and not Observer() class??
however in object creation, i am using Observer().
 
7:16 AM
Cbg all
 
cbg
 
cbg @Ffisegydd
cbg @vaultah
 
7:34 AM
Cbg! :D
 
I keep seeing people using Class instead of class. What am I missing?
E.g
2
Q: Python different behaviour with abstractmethod

wong2I have two classes inherent from the same parent P: from abc import ABCMeta, abstractmethod Class P(object): __metaclass__ = ABCMeta @abstractmethod def foo(self): pass Class C(P): pass Class D(tuple, P): pass the only difference is that D inherent from tuple...

 
I'm surprised Class works. Does Def work?
 
In [12]: Class A:
   ....:     pass
  File "<ipython-input-12-cc880daa3a4f>", line 1
    Class A:
          ^
SyntaxError: invalid syntax
Python 3.4
In [4]: Class = 1

In [5]: class = 1
  File "<ipython-input-5-949de78c54e8>", line 1
    class = 1
          ^
SyntaxError: invalid syntax
Class isn't a keyword, it can't work :| I'm puzzled
 
7:50 AM
class is a keyword as in it can not be used as a variable. in class definition, once Class is changed to class it is syntax highlighted and it will work as expected without giving error. diont know about while inheriting.
Class is a variable different than keyword class.
does python 3 allow for capital case for Class??
it does not work. the guy apparently had a typo.
 
8:14 AM
How should i parse this event ? It is a FileCreatedEvent on watdog module
 
9:04 AM
i should assume i asked question and if i dont get answer myself for an hour, then only i should ask!: ) event gives src_path as variable. (stupid meh~)
 
9:14 AM
cbg
So awkward , when ppl use 50-60 lines of code for the same thing that is done by your code's 17 lines
@AnttiHaapala : it wasn't the history , but the entire folder that was uploaded on github that day
 
@Swordy or... 1
 
1 line for importing the dream package that does everything you imagine??
 
or a generator expression wrapped in lambda
 
the language is R
 
9:29 AM
lambda isn't deprecated in pyton 3+ ?
 
No, why would you think it was?
 
think i've read a few time ago that Guidon VR prefers list comprehesion to lambda
 
@Bestasttung that article was written 9 years ago.
Also LCs and lambdas are different ideas, are they not?
 
yep i know that finally GVR keep lambda because of Python community, but i thought he wanted to slowly remove this
that's why i asked if lambda weren't deprecated :)
in a pythonic way of doing programs
 
10:10 AM
cbg
 
cbg @Martijn
 
@Bestasttung Guido ponders many things out loud.
His thought processes are public. This helps the conversation, the discussion.
It is never that he bows to community pressure, it is that he gets to see new arguments and changes his mind. Or not.
Lambdas are not deprecated.
Nor are they going to be removed.
 
ok thank you :)
 
why does he keep lambdas though? Aren't they the anti-pythonic way to go? Isn't python anything-but-functional things?
just wondering as an outsider of python. Not taunting or something.
 
Because lambdas are a very handy thing to have around to handle callbacks and such?
sorted(inputlist, key=lambda v: v[0], -v[1]) is a lot more readable than having to create the much more verbose def sort_key(value): return v[0], -v[1] function definition on a separate line.
 
10:16 AM
list comprehension would work better for this though, no?
 
Lambdas are a tool often used in functional style programming, but that's not the only usecase.
No, how would a list comprehension work better there?
This is a sort; altering the order of a sequence is not something you can do with a list comprehension.
 
ok, my limited understanding of list comprehensions failed me there :P
 
List comprehensions are great for many tasks where in the past you perhaps would have used functional style programming.
But sorted() is not functional-style programming. :-)
In any case, @Bestasttung seems to be thinking about reduce(); it was moved out of the list of built-in functions into the functools module.
 
yes i saw that
 
This was done to de-emphasise functional programming styles.
But map() stayed, as it has many more use-cases beyond functional.
lambda was never up for the chop, I don't think. Not in earnest in any case.
 
10:53 AM
Anyone hungry? Here's some SPAM: meta.stackexchange.com/questions/237223/…
 
11:04 AM
page not found
 
Yeah, too late, already all gobbled up.
 
:D use screenshot next time : ) so we can view:D
 
great!
 
Lovely how the name in the 'testimonial' doesn't fit the name of the account.
 
11:34 AM
when the python script is run, pyc files are formed, how can i make sure they don't get created? in next run, those byte files might be used and my changed code might not be used?
 
No, they won't be used
 
my changed code wont be used or pyc file wont be used?
they are written over in the next script run?
 
Old bytecode won't be used
 
ohkay....
thanks
 
11:38 AM
okay thanks
 
12:01 PM
Is there a specific django's room?
 
Not that I know of
 
Search by "Django" gives nothing. Or should I search for "Heavy and slow framework"?
3
 
12:22 PM
My goodness
I am actually coding in Python today
I have escaped from "The Excel"
 
:o
 
I don't know where to start?
 
print("Hello, world!")
 
Click the big Excel button. It'll start Python for you.
 
@Kevin @Ffisegydd - I can see why you guys can be considered to be Python gurus ;)
I think I'm going to dive in and do some unit testing, just because I can
 
12:27 PM
Yesterday I downloaded the Unity game development tool, to see if it was more efficient than hacking together my own crummy UI/physics/scripting engine every time.
 
Unity is pretty sexy.
 
Results were mixed. Within a minute, using only built-in menu options, I created a cube which followed the laws of gravity, inertia, etc.
However, in the next half hour, I couldn't determine how to get the cube to not pass through the floor and fall infinitely through the void.
 
@Kevin Cobbling together your own physics engine is half the fun!
 
I considered using some tutorials, but all I could find on the official sites were video tutorials, and I don't want to spend eight minutes to learn there's a "don't phase through ground" checkbox I missed.
@IntrepidBrit This is true.
I guess the solution to my predicament here is "stop being picky about what medium you can get help through, you big baby"
Considering I spent longer than eight minutes hunting for a "don't phase through ground" checkbox, the video may have been a better idea, despite my prejudices.
 
@Kevin That's assuming you're lucky you didn't just sit through a 8 minute video on something unrelated.
@Kevin Hate video tutorials for the most part, it's difficult to see if they contain the information you actually require
 
12:34 PM
Yeah, I feel the same
 
Aye
Though as a general introduction they're not too bad.
Incidentally does this help?
 
@Ffisegydd They have a time and a place - but I think there should be some kind of online community site for videos, that get automagically transcribed so you can search through the text to see if they're worthwhile
Then I'd hate them less
 
Sounds like a good startup idea, fetch the lawyer-monkeys so we can patent it!
 
"1. does Object have a Collider?" hmm, I'll have to check that when I get home...
hmm, maybe ReCaptcha, but for audio.
 
Heh "Speak into the mic and tell us what this word says or we'll not let you into Facebook"
 
12:43 PM
@Ffisegydd If only ;)
 
1:18 PM
I suspect the answer to this question is "because that's how every other language does it", although I'm not sure that's true.
I know javascript also has {key:value} dictionary syntax. Anyone know of other languages that do the same?
 
I know c# certainly doesn't
And I suspect that Java doesn't
But they tend towards more unwieldy function manipulation of key/pairs
 
Looks like Java doesn't have dictionary literal syntax at all. Yuck!
 
Aha!
That's the term I couldn't put my finger on
"dictionary literal syntax"
 
PHP has the best syntax ['foo' => 'bar']
 
I do like the clarity of an arrow, when indicating a one-way relationship. Although in practice, I'd be too lazy to type two characters instead of one
and the second key needs you to press shift, how DREADFUL.
Are "why was the language designed like this?" questions usually closed as opinion-based?
There is one true objective answer to the question. It just might not be recorded anywhere outside of GVR's memory.
 
1:28 PM
I would say that you're right, but people respond with a barrage of "their opinions"
People sure do love the sound of their own voices ;)
 
Yeah
 
Maybe it should be "put on hold" until someone prods GVR and asks why
 
Yes, that would be an event worthy of reopening :-)
 
cabbage
 
1:43 PM
Greetings
 
cabbage
Almost finished moving into my new house. :) But won't have internet until Thursday. :(
 
rbrb
 
DSM
2:08 PM
Cabbage, all.
 
Cabbage folks
Where did you all come from (alloffasudden)?
 
DSM
The news spread that you were getting back to Python.
 
And you're all into your Schadenfreude?
 
DSM
I've been writing in Java recently, so I just come for the pity.
 
"alloffasudden" - must be some Scottish word :)
 
2:15 PM
@DSM My condolences...
@JonClements whatsthatsupposedtomeanlike?
 
@IntrepidBrit you know that big long key at the bottom of your keyboard? :p
 
@JonClements The spare key? The one which you cut up for replacement keys?
 
Ahhh... I see you've found it!
Scotland are doing well in the games :)
 
They are! Imagine if we were competing as a United Kingdom... we'd probably be drubbing everyone
 
cabbage yall
 
2:26 PM
@IntrepidBrit we'd suddenly be thrashing Australia :)
 
@JonClements Damned Aussies! Who do they think they are? The sweary athletic buggers
 
Oz 27 golds, England 24, Scotland 12
 
It's gonna be one of those days... ORA-01722: invalid number when my SQL query contains precisely zero numbers
 
Wales has 2 golds, think we can ignore N.I. as they only have a silver and a bronze
So, team UK with 38 golds would be in the lead right now :)
 
@JonClements Aye, can't rely on silver/bronze medals because we might have gained them against each other
 
2:34 PM
If we take, England, Scotland and Wales - we'd have 38 golds, 35 silvers and 40 bronzes
That'd beat Oz's 27, 21, 27 :)
Mind you - I suppose it does help if you're a country that competes in every sport
Didn't one country just bring 7 athletes or something?
 
I wouldn't be surprised
There's many independent island states that just compete in certain sports
 
DSM
We need to bring back the Commonwealth Winter Games. Then we'd see who's best.
 
Even the Falklands compete individually
@DSM Erk.
 
Now - if we could have the SO Olympics, I'd reckon the UK would do rather well there in terms of gold badges :)
Skeet/Gravell/Pieters etc...
 
I'm inching towards gold myself... A recent flurry of activity put my top answer into the low nineties.
I just need to get that to happen another three times or so. Somehow.
 
2:46 PM
@Kevin sorry - have already upvoted that one
 
Yeah, I just assume everyone in here has B-)
 
And if they haven't - they should do so... cool graphics, animations and great writing... anyone who hasn't upvoted that should be shot :)
loads the shotgun - correction shall be shot - looks around room
 
I can think of two explanations for the occasional bump up: 1. A new school semester starts, causing an influx of people googling about drawing primitive 3d shapes; or 2. I answer a question in such an interesting way that readers think "I would like to read more of this person's posts", and their first stop is my top answer.
 
I appear to get pretty much random upvotes each day...
 
Too bad I can't reliably write "interesting" answers. People are weird and like weird things and I don't know what weird things they like.
 
2:50 PM
(none of them on the answers I spent time writing/testing that I'm quite pleased with...)
Wooo.... I got an "Announcer" badge
 
Yep, I know that feeling... Why isn't recognition proportional to effort?
 
One step closer to that gold badge.
 
:-)
 
and Ashwini has added me to G+ circles
I hope it's not one named "People I Hate"
 
@JonClements This is true. I'd be letting down the team ;)
 
2:53 PM
@MartijnPieters which one? You got so many of them.
 
@FlorianMargaine Not me, Kevin.
Although my property decorator description is 2 votes away from a gold badge, thanks for asking. :-P
 
@Martijn 1 vote away...
 
oh, I thought you meant the python gold badge
 
@JonClements I am shocked you hadn't voted for it yet! :-P
 
2:54 PM
@MartijnPieters don't think I've ever seen it :)
 
@FlorianMargaine None of my tag scores are anywhere near a gold badge atm.
 
@MartijnPieters yeah, django is the closest, but still far. That's why I was wondering
 
We weren't talking about expert (tag) badges. :-) Kevin has an answer that's currently at 93 or so. A shockingly complete and well written post on how to draw a sphere in OpenGL.
 
No stack trace, minimal code. Shame, since I suspect it would be easily answerable if there was more detail.
 

« first day (1381 days earlier)      last day (3559 days later) »