« first day (2155 days earlier)      last day (3018 days later) » 

06:01
Dear python / pandas / sklearn experts I face a couple of challenges writing my first own pipeline github.com/geoHeil/pythonQuestions/blob/master/pipeline01.ipynb Can you explain to me what is wrong here?
@geoHeil ahhh... you found the room then :)
I take it you sorted out all that stuff with holiday dates and moving on to some newer stuff...
@Jon Clements indeed that worked finally : ) thanks
06:34
["a",0,0,"b",None,"c","d",0,1,False,0,1,0,3,[],0,1,9,0,0,{},0,0,9] appears to be popular in questions in the last couple of hours...
cbg
Hai
I downloaded pycharm-professional-2016.2.2.tar.gz and extract it and run ./pycharm.sh
first time it opened the IDE and I test some codes on it
but when I click on the IDE icon it doesn't open
@AM.Firnas cbg :D
06:49
Why is that ?
@AM.Firnas you're clicking on the image?
which OS is this
It Ubuntu 16.04
I clicked on the Launcher icon
I am new to both Ubuntu and Pycharm
1604 here
Is that way we should install any program ?
I didn't even have launcher icon...
not for pycharm, that is how you install it.
where did you extract it?
06:51
To Documents directory
the directory where you extracted it is the installation directory.
I am not sure what creates the icon since I don't have an icon :/
I always launch pycharm from command line
like you did
~/Desktop/pycharm-professional-2016.2.2/bin/pycharm.sh in shell history
I have two files in Documents directory, one is tar.gz and another one is extracted one which I used to run ./pycharm.sh
Installation directory means ?
~/Desktop/pycharm-professional-2016.2.2/
06:54
Is that the extracted directory you means ?
37
Q: How can I set up PyCharm to launch from the Launcher?

Matt O'BrienI have installed PyCharm on my brand new Ubuntu 13.10 laptop. To launch PyCharm, I find I must navigate to the directory that pycharm lives in, and execute it from there as such: cd home/matt/software/pycharm/bin sh pycharm.sh I hope this isn't asking too much, but I would like to be able to ...

Anyways when I run the ./pycharm.sh The IDE launched and I could able to run the program
But when I clicked on Launcher icon IDE not get started.
That is the problem
:(
It was only worked for first time
But when I run the same way as I did before it saying " the program is already running "
....
then it is already running!
06:58
I tried with killing the processes by using kill -9 <pid>
But same error
then google for pycharm + the exact error message
I've not seen that ever
Wow Now It's working
:)
The problem was I was not killed the running processes correctly
One instance was remaining
:)
07:17
cbg @Sevanteri
cbg @IljaEverilä @Sevanteri
07:40
what does // do
integer division...
@user5797668 time to start reading the documentation. There's a whole section on operators.
thanks
i apprecite it
actually "what does // do in python" doesn't turn up anything obvious on the first page
@user5797668 yes it does, it returns SO, Quora, and docs links about the operator
07:54
one thing yeah
but nothing i can read in the excerpt
Stop being lazy and click through then? Are you really saying you want to outsource your research to us? That's not going to end well.
Google strips away "punctuation", aka //, me thinks
..... :D
Compare against searching just "what does do in python" ...
@IljaEverilä it does, but it matches exact phrases first...
07:56
Aye
and "what does do in python" isn't very syntactic, so it matches "some symbol in here"
i honestly don't know why it could make you so angry
@IntrepidBrit they've sent out further emails to ticket holders for pycon. If you're going I'd suggest getting your ticket sooner rather than later
i know i'm stupid and lazy and taking advantage of your superior intellects
@user5797668 s/it/you/
07:56
@user5797668 because the same questions get asked over and over again by people who do 0 research
use your cyber high ground to beat me into eternal documentation repentance and never ask such an awful question again!
@user5797668 what does the word "ground" mean?
and how about "question?"
please explain to me.
How bout dropping the drama and start reading the python tutorial.
Do it Antti. Pop your cherry
because i don't want to read a "tutorial"
07:58
Aka you don't want to learn
i just want to know what it is because i'm reading a bunch of stuff and "integer division" tells me it isn't something semantically critical to groking the 1 in 10 things i'm trying to figure out at the moment
@user5797668 I'd suggest you take a time out and stop being so argumentative
@Ffisegydd :P
not answering, would also be an option if such questions effect your well being so greatly
@AnttiHaapala peer pressure
user6568562
07:59
Cbg
@Ffisegydd I went to brew coffee, was thinking perhaps this is the time
o/ @randomhopeful
one more :D
@randomhopeful cbg
user6568562
Yo ! @AnttiHaapala @AndyK [ :
Same question, asked by two people and neither of them are good.
08:01
That's a good Yo
@thefourtheye close them as duplicates of each other :D:D:D
@AnttiHaapala I think I'll close them saying, asking for recommendation...
Time for coffee. Morning all
On documentation and such, just read this yesterday and learned about WHYT.
I get that the pydocs are a bit verbose at times, and a lot of stuff organized to a single page, but never really felt most of the pains described.
08:09
Here is my semi regular but infrequent statement that I also think the python docs, while comprehensive, are really badly formatted making them hard to use and follow.
I guess it's selection bias since we were beginners and we didn't end up quitting. But yeah, I had programmed before but Python was completely foreign to me, and I never had an issue figuring these things out. I guess GML was kinda Python-like, but compared to that and Java, Python's docs are great.
Cabbage!
user6568562
@IljaEverilä I think the same, yet again I'm still a dictionary-defined beginner. Any learning curve experience should feel better once you convince yourself that no one owe you sh!t
I think the asyncio docs are the only ones that have outright stumped me, and that's probably because the asyncio system is just pretty complicated in general.
08:11
@davidism another reason: I learned to program when there was no internet
user6568562
+ When there's a community, learn to know the community don't just consider them a benevolent Python help desk
or there was, but not in 1992 for a 10-year-old.
I still have my copy of the C=64 Basic book :)
I also have most of your C=64 gear...
08:13
... you do!
you do?
@AnttiHaapala Same (here we reveal age - more like 1987 for an 8 year old).
user6568562
Also, I'd take scarce documentation over an opinion and personal tricks fest anytime
@AnttiHaapala I'm waiting for the 10 year mark, as loans become property after ;)
...!!!
never heard about such a rule :P
08:15
Nice. I almost bought a copy of the BBC BASIC book a while back for nostalgia. Then wondered what the hell I was doing.
@randomhopeful might you be referring to PHP docs?
@JRichardSnape yeah, buy the computer instead
@AnttiHaapala It's based on the old proverb "Possession is nine tenths of the law". Obvs ;)
@AnttiHaapala Still have the Electron somewhere, I think ;)
Yes, yes, my name is Richard and I am a tech hoarder.
user6568562
@IljaEverilä Sir, you're so spot on
PHP docs <3
08:17
Cbg
I am pretty sure half the examples in PHP docs is written by various national intelligence bureaus.
I gave away a C64, including a bunch of 5¼" floppies, with most of my Amiga gear, about 6 years ago. The guy is a very keen collector, and has heaps of Commodore / Amiga stuff. But I still have one A2000 (with OpalVision card) and I think I kept a set of ROM kernel manuals, including the hardware manual.
I'd like to have the "toaster" for my C64 :(
Sorta started "collecting" also, as a friend of mine found an Atari ST, VIC-20 and gear abandoned in a dumpster and brought them over
Still haven't found the time to buy/solder a working video cable for the Atari :(
Would love to get it up and running with Cubase
I really ought to get a PCI SCSI card so I can rescue files off all my old Amiga hard drives. There's a fair bit of portable C source, as well as POV-Ray scene files and lots of images.
user6568562
08:25
@PM2Ring I didn't know Australia was using the PAL system, I don't wanna imagine the price of those equipment
The thing I missed the most migrating from Amiga to Linux was ARexx. It was great that many Amiga programs had an ARexx interface, so you could easily control them via an ARexx script.
@randomhopeful Well, all computer stuff back then was pretty expensive compared to today. It's hard to imagine using a 320x256 display (or 320x200 on NTSC), but it seemed OK at the time. Of course, in high res it was 640x512, but you had a limited number of colours unless you had a fancy video board (like the OpalVision).
I suppose I should join retrocomputing.stackexchange.com one of these days...
user6568562
@PM2Ring I see very well. Although I can't imagine the limitation of hardware of that time, I still believe it was one golden era that we can only emulate from now on
user6568562
I mean, the absence of bling layers, the headaches (being not) due to so many tools and the fragmentation of the computer field
08:41
@PM2Ring compare with C64 160x200 :P
... at 16 colors... max...
@randomhopeful The transition from the 8 bit era to 16/32 bit machines was a bit scary. The 8 bit machines were so small that it was quite feasible to totally master them if you were keen. The next generation, like Amiga & Atari, were so much bigger, and had an actual OS, rather than just booting up into a BASIC interpreter, so it was a much bigger learning curve, and although it was still possible to learn almost everything about the OS it took much longer to do so.
When the Amiga appeared with a 4096 colour palette it was astounding, coming from 16-colour machines. Of course, in most display modes you still had a fairly small palette selected from those 4096, but there were various tricks you could do to display high-colour images.
36-bit colour?!
user6568562
@PM2Ring Man, that makes me dream
user6568562
@PM2Ring How were you using the BASIC interpreter (creating custom scripts that would automate tasks for you ?)
@randomhopeful wat :D
there wasn't any multitasking in 8-bit machines
you'd program your program in basic
you had 2 choices: you write a program that has full control of the machine in Basic
user6568562
08:47
I know, lol, I meant, you program a program once then fire it up when needed (one at a time )
or you'd write a program that has full control of the machine in assembler
user6568562
@AnttiHaapala Oh I see, that's really impressive
user6568562
Even more impressive
think about it... you had a floppy drive with 160k floppy
or even worse, a tape drive, where you could store files sequentially.
with floppy drive you could actually work with random access files...
user6568562
That's scary : D
08:50
@randomhopeful see this for loading a game from tape: youtube.com/watch?v=pQzSIBnNWIY
user6568562
> REL relative files (unlike the other file types, allows a form of random access, i.e. > > you can't just read it from beginning to end but you can directly access stuff in the > middle of the file; only usable with computer applications; max. filesize 167.132 > > Bytes with max. 65.535 data sets)
@AnttiHaapala how about some foodz? Indian/nepalese?
@IljaEverilä just ate
user6568562
@AnttiHaapala I can't believe accessing any part of your file was a feature !
@randomhopeful it was impossibru with tape drive :P
user6568562
08:55
@AnttiHaapala Yeah (now I see)* ! Like the audiotapes, you had to ffwd or rwnd. Amazing times
@randomhopeful youtube.com/watch?v=pQzSIBnNWIY&feature=youtu.be&t=90 loading music starts from here, the tape driver reads 300 bits per second...
at that point it starts loading an image to the graphics memory...
I suppose @IljaEverilä has my arkanoid II too :P
or perhaps I've got it stashed somewhere here
user6568562
@AnttiHaapala This is insane. Nothing like I used to imagine Thank you : D
@randomhopeful the first 5 minutes of that video is basically: the computer is loading a 64kbytes game from tape :D
how long does it take to load 64kbytes from disk nowadays...
like rounding error in milliseconds...
user6568562
09:00
@AnttiHaapala Amazing, lawl. Now I feel bad for getting upset that YT took 5 secs to load
it is amazing what people achieved with that computer
wow this is cool :D
woow speech synth
user6568562
Very impressive. How were they able to get so much detail in so little space, let alone animate it in that manner
they've probably practised for 24 years :D
@AnttiHaapala That is amazing
user6568562
@AnttiHaapala Hahaha, that makes sense : D
09:07
Just look what we could have been doing by now if only we'd have practiced :P
almost everything in that demo is practically impossible...
it can only work by matching the clock freq to TV scanline rate...
I started thinking about how you'd even start to do that on that hardware and realised I couldn't even get close.
user6568562
An overclocked Commodore 64, I like the sound of that : D
I don't believe you can overclock it
You have to buy a pre overclocked Commodore 65
it is 1MHz processor and it means it can run maximum of ~500k assembler instructions per second
it is, among others, impossible to scroll a bitmap at that rate...
That's what I was thinking. And the speed and smoothness of some of the fades.
Must be some dark magic.
As you say, taking advantage of the scan rate and pattern, I guess.
That synth speech is very cool, too.
it is possible to change the starting row of the bitmap
works for 8 pixels, after which you must have had copied it to other offset...
lol someone downvoted that video :d
cabbage
any news about comparing ordered-by-default-since-3.6 dicts?:P
09:28
naturally there's no change
No change in what? Information?:D
no backwards-incompatible changes
Ah, OK. So will OrderedDicts will still be available for that behaviour to be still available?:D
I guess so
ok, thanks:)
09:32
damn this works
>>> rr = list(range(10))
>>> random.shuffle(rr)
>>> rr
[9, 3, 8, 5, 6, 0, 1, 7, 4, 2]
>>> list({i: 1 for i in rr}.keys()) == rr
True
Why wouldn't that work?
Oh I see what you mean
Just pick keys whose hashes don't happen to be ordered...
@AndrasDeak yes
09:36
In [62]: list({i: 1 for i in rr}.keys()) == rr
Out[62]: False
version?:D
I read that somewhere
3.6.0prebeta1
@RobertGrant thank you
@AnttiHaapala ooh, yeah, that makes sense
Python 3.6.0a4+ (default, Sep 8 2016, 23:06:01)
(oh, it's been forever since I've listened to Nightwish)
it bugs me that my chat gravatar is yammed up from the work network
09:41
@AndrasDeak I hadn't heard about that, but I just found this: Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
@PM2Ring yeah we discussed the thing briefly after this
I was wondering how equality comparison will work
Morning cbg
cabbage
Yeah it's sparse int array, rather than sparse everything
@AndrasDeak Ah, ok. I'm still catching up with the recent transcript.
09:45
it's OK;)
@AndrasDeak what's your fav song :D
Hmm @KevinMGranger that also suggests what you asked: that kwargs will be ordered
Yes I read about that as well
kwargs will be ordered... and so would class members...
which means one doesn't need any meta hacks for getting members in order
But won't that extra level of indirection add a speed penalty? Sure, it's happening at C speed, but still...
09:50
It's quicker to compact or something. runs
@AnttiHaapala ooooh very tough one:) I guess I have a few favourites from every album. One of my all time favourites has to be Beauty of the Beast, although the better half of Century Child will always be special for me. Moondance, half of Wishmaster... man, there's too many:D Also quite a few from the newer ones; Ghost Love Score, Amaranth, really too many to name......
but right now I'm listening to Endless Forms Most Beautiful for the first time:)
@AndrasDeak not bad at all :P
I've listened the shit out of Nightwish, Sonata Arctica and Within Temptation (in this order of preference) since ~13 years of age:)
I love most of the oceanp0rn
09:54
and yeah of the newer ones, those at least
once is the only one I've actually bought lol,
heh:D
I don't think I've bought any Nightwish. I did get a Sonata Arctica tour dvd as a present...
I guess I looped ghost love score for like 20 times in one go
I can relate;)
I am actually pretty bad at listening music, I do not have any favourite bands per se, only favourite songs or pieces or so...
it so happens that Nightwish is the only band ever for which half the songs happen to be among my fav songs
I don't think you can be bad at listening to music:D
@AnttiHaapala that probably qualifies them to be your favourite band, if somebody holds you at gunpoint and asks your favourite band
10:01
yeah it probably does
I heard an instrumental part of some song from oceanborn and was like "damn that sounds good, what's this"
and was like "wat, this is Finnish"
:)
I like that the newer albums come with an instrumental version
Also, Erämaan Viimeinen kicks ass
user6568562
@AnttiHaapala I watched a Finnish documentary, once. The Punk Syndrome. So very touching and impressive. You've got your social services and integration so damn right
@randomhopeful :D
we voted them to represent us in the Eurovision, too bad the rest of Europe didn't quite appreciate :D
@AnttiHaapala you did send Lordi once, too bad they came up with some poppy crap (Hard Rock Hallelujah, my ass)
hehe :D
but it won :D
10:06
Oh, did it? I forgot:D
it was still better than everything else that year
heh
Eurovision is so not about music
user6568562
@AnttiHaapala Bunch of dicks is what those audiences were. Punk ain't got no need for poop recognition anyway : P
lordi songs are awful :D but the stage shows and such :D
some of them are great:D
and I like his klingonesque charm
10:07
Lordi's up there with Gwar for stage shows, if I recall...
like, I love the music video to would you love a monster man
Hmm... I think I only remember the video for Blood Red Sandman
what crappy quality is that
@AnttiHaapala Oh, no, right, I remember that one too:D
the ending of that is so spooky
user6568562
10:09
I totally forgot Children of Bodom are Finnish. I should give a listen to their new stuff
"There is a correlation actually between social prosperity and number of heavy metal bands. The more prosperity the more time you have to study arts, given that Metal is typically a more technical style of music, you need more time to learn how to play your instruments to such a capacity, therefore the correlation."
Then why metal and not e.g. progressive rock?
whatever, it's what's worth listening to:P
I think, for a certain type of metal that's probably true. Widdlywiddlywiddly metal, certainly. ;)
@bereal because Finns are depressed :D
user6568562
10:14
@bereal There are both. Metal bands start in prosper country but then gather huge recognition in poor countries
user6568562
And Rock and Progressive Rock became so lame and focused on wearing spandex
Windows, Linux and Mac OSX
progrock? spandex?
10:17
I associate Prog Rock with odd hats and Mumus more than Spandex
user6568562
@bereal Not talking about the golden era of Prog Rock (King Crimson, Rush, Genesis) but so-called prog rock during the rise of heavy metal
yle.fi/aihe/artikkeli/2016/08/24/… interviews of Iranian nightwish fans (in Farsi, with Finnish subtitles ;)
> Mokes uses port 80 to connect to a command and control centre, and we assume that it would require a blow torch to remove unless you have Kaspersky's software at hand.
good thing the article has a built-in advert
Haha, indeed. what a helpful coincidence :D
Here's a track from the 70s I listened to yesterday that I guess would be classed as prog rock, but it's pretty hard, so I guess in a way it could be classed as proto-metal. East of Asteroid by 801.
10:19
not available, that was a live feed?
Kaspersky's engineers wrote found a cross-platform backdoor that [...]
2
@AnttiHaapala Was that in reply to me? If so, how about this one: youtube.com/watch?v=_GA89EfQ0Pg
@PM2Ring reminds me of the joke: "why is this tax return form so long and complicated?" "this is called progressive taxation" :D
:) I love prog rock, but some of the tracks do go on. And on. And on...
user6568562
10:22
@AndrasDeak : D
@AnttiHaapala :)
user6568562
@PM2Ring Yeah, but perfect on long drives : P I find Starless perfect for heavy traffic
@randomhopeful Ah. That'd be regressive progressive rock. :)
user6568562
@PM2Ring Haha, that term is accurate : D Yeah, I over-generalized and didn't detail my remark enough. But you're right, I was only speaking about Reg Prog Rock
Whatever people listen to while coding is prog rock.
11
10:27
@randomhopeful True. It's nice to see we have several King Crimson fans here.
user6568562
[ :
Have you seen this clip of the song Starless? It's not quite upto the standard of the studio version, but it's pretty amazing for a live performance. King Crimson. Starless live on French TV 1974
one of my favourite coding music is listening to all Bach's Brandenburg concertos in numerical order. Though most of the time I don't listen to anything at all.
dunno if that qualifies as prog rock...
Here's a short Aussie prog rock track. Mackenzie Theory Extra Terrestrial Boogie, featuring Cleis Pearce on electric viola.
@AnttiHaapala addendum: whatever rock people listen to:D
10:33
@AnttiHaapala I can dig that. I used to enjoy coding to the complete Well-tempered clavier. Followed up by Hendrix's Electric Ladyland.
The Greatest Show on Earth, 24 minutes long track? Tuomas is losing it more and more each year:D
@AndrasDeak :D
he's just your standard manic-depressed Finn :D
although the last long one, The Poet and the Pendulum, is very good despite ~12 minutes runtime or something
oh, there's talk in it
Russian Circles is good proggypostrock
/genres
@AndrasDeak lyrics & reading by The Richard Dawkins
10:37
No fucking way:D
yes fucking way
guess I'll have to pay a bit more attention to this song...
@AnttiHaapala No need to use a tautology. Just "standard Finn" should do! :-D
@AndrasDeak ah not the song lyrics... but the reading parts are from his book
@AnttiHaapala yeah, I suspected:)
user6568562
10:41
@PM2Ring This is gold ! I didn't see it before [ : Definitely amazing performance. I love their "genuine stoicism". They're here to make music
> Enter Ratkind
@AnttiHaapala I thought it was a creepy James Bond baddie
user6568562
Tons of insanely good Australian artists that I like, also. Nick Cave, obviously, John Butler, same, and a ton of electronic musicians (Presets, Flume, Cut Copy, Midnight Juggernauts)
@AndrasDeak ^:P
@RobertGrant same thing :D Hugo Draxins - "we need to speed up the evolution" :D
10:45
BTW, Nick Cave will release a new album today. Should be good
@AnttiHaapala :D
user6568562
@vaultah Nice : P I still didn't get enough of Push the sky away
@randomhopeful For sure. I just love Fripp's extreme minimalist guitar solo. He can do an awful lot with one note. :) OTOH, that seriousness eventually back-fired. Generally, fans go to gigs to have fun, not just to stand around and be cool & sophisticated. To a large extent, punk was a reaction to the seriousness of the prog bands.
> We privileged few who won the lottery of birth against all odds, how dare we whine at our inevitable return to that prior state, from which the vast majority have never stirred?
is Dawkins Finnish too by any chance?
user6568562
10:51
@PM2Ring I believe you are right. I wouldn't say it backfired but it was surely abandoned by kids just to not do like the preceding generation : D And now the cycle has gone back to stand around and look cool (And I actually like that)
@AndrasDeak naah, he's just the exception that marks the rule.
@randomhopeful Fair point. OTOH, in popular music there are little cycles within bigger cycles. Sometimes you get long periods where the next generation are fans of the music of the previous generation, and at other times you get radical style changes where kids couldn't conceive of enjoying their parents' music.
@randomhopeful I guess I should watch the whole doc too, seen a trailer only, though there's been pretty many in-depth features on the band in Finnish print media...
user6568562
@PM2Ring That's very true. You get little cycles of 5 - 10 years where nothing much new worthy happens and that pushes people to dig further behind. It sure helped me, I grew up on 90s pop and soul and other shallow music and that pushed me to see elsewhere.
I assume the KC fans here are familiar with the works of the King Crimson Jazz Trio, eg 21st Century Schizoid Man
10:58
@AndrasDeak confirmed:
>>> dict(['ab', 'ba']) == dict(['ba', 'ab'])
True
>>> OrderedDict(['ab', 'ba']) == OrderedDict(['ba', 'ab'])
False
awesome, thanks:)
@AnttiHaapala that's great!:D
I wonder whose idea it was

« first day (2155 days earlier)      last day (3018 days later) »