« first day (2047 days earlier)      last day (2895 days later) » 

7:00 PM
@WayneWerner Yes, the names can be misleading. The nvidia card is an older generation than your AMD card.
 
ZWiki somehow knew about input source, even though it isn't mentioned anywhere
 
"You are using a string that only looks like an integer" is quite a common gotcha for programmers of OP's skill level, so it's not a huge leap of psychic debugging to suggest that it might be the issue
 
Martijn just posted a photo from the 46th floor in Seattle. I don't even want to think about 46 floors.
We were on the 10th floor at Facebook and he was leaning on the glass and I had to ask him to stop cos it was making me feel queasy.
I was playing DOOM yesterday climbing a tower while sat on the ground floor of my flat and I felt a bit nervous.
 
I have a moderate fear of heights, although not of the fairly typical "what if I get an uncontrollable urge to run at the edge" variety.
 
As a tall person, I fear heights because I feel like all the railings are too low.
 
7:14 PM
I guess it's already too noisy in my head for intrusive thoughts to take serious root :-P
 
Reminds me of my visit to Chicago and Willis (I believe?) tower with the glass floor
EeEeEeE
 
I like taking the Tacony-Palmyra bridge to work instead of the Betsy Ross, because the former has enormous fifteen foot tall criss-crossing diagonal girders that serve as a pretty effective barrier.
Realistically I doubt that one bridge is safer than the other, but the animal hindbrain cares little for rational arguments.
 
@idjaw I wouldn't even go near it, never mind on it.
 
I could go within three feet of it, I reckon. Two if I'm clutching a handrail.
 
I'm concerned about the glass ceiling floor
cabbage and soon recbg
 
7:22 PM
So you should be! There's all those people down there who think it's a glass ceiling and keep on trying to smash it!
 
user559633
I like jumping on those floors when people feel brave for standing on one
 
and then there is this article from a little while ago
 
I was aware of that story but didn't want to bring it up.
 
user559633
 
7:24 PM
I know this place :D
 
user559633
:) I like how if you go to the second floor of the observation deck, there's an outside area
 
From the shadow, I'm guessing the Space Needle.
 
I'm just going to watch the kittens instead.
I'm guessing Russia.
 
user559633
@Kevin Ostankino Tower (tv tower) in Moscow
 
From Vault knowing it and the text at the bottom right.
 
user559633
7:25 PM
@Ffisegydd winner winner chicken dinner
 
I know it from a series of books by Sergei Lukyanenko
 
Speaking of glass floors: Grand Canyon Skywalk
 
There is no way I'm getting anywhere near either of those.
 
There was a glass-floored bridge in China or someplace, got cracked after a week
 
7:45 PM
@MorganThrapp Sensible man.
 
The space needle is surrounded by art exhibits and a children's playground.
 
@Ffisegydd I have issues with second floor balconies and stair cases that are too long.
 
@AndrasDeak Did anyone fall down?
 
You're not getting me on anything glass.
 
33 mins ago, by Ffisegydd
I was playing DOOM yesterday climbing a tower while sat on the ground floor of my flat and I felt a bit nervous.
 
7:46 PM
@Ffisegydd Sounds about right.
 
user559633
i have no problems with heights because if i fall, that means i never have to do database admin work again
 
@BhargavRao no, only cracks, no casualties
 
I'd imagine the biggest danger on the skywalk is the cantilever, rather than the glass.
 
@AndrasDeak Ah, That's good news.
 
user559633
more like the cantevenlever
 
7:48 PM
boom!
 
He's here all night (unfortunately)!
 
user559633
i enjoy cantilevers on office buildings because that means you're letting some bored architect put others at risk because he/she can't just do his/her job without letting ego get in the way
 
The egos of architects know no bounds.
 
@JRichardSnape I saw a doco on it a few years ago. They did have a a little bit of trouble building it, but it should be ok... However, there have been some political difficulties:
 
Rhubarb all.
 
7:52 PM
cya @bhargav
 
en.wikipedia.org/wiki/Grand_Canyon_Skywalk#Controversy Effective February 7, 2012 certain members of the Hualapai Tribal Council, without prior notice, seized control of the Skywalk which was built and previously run by Grand Canyon Skywalk Development (GCSD), a Las Vegas, Nevada corporation.
Currently Grand Canyon Skywalk Development is not in charge of daily operations at the Skywalk.[8] GCSD was awarded 28 million dollars in damages by an arbitration board, which was upheld in U.S. District Court in February 2013.
 
user559633
i've never understood the appeasement of tribes in america
 
I remembered hearing something about dispute with native american locals. Didn't realise there had been a forceable takeover
 
user559633
sorry dudes, dudettes, your culture didn't win/keep a nation. you're americans now.
 
7:55 PM
I have the same doubt as this comment stackoverflow.com/questions/8689964/…
 
uh oh
 
@davidism That's one of the only bad things about being tall. "Safety" is for the average individual
 
cbg folks!
 
user559633
cbg games
 
cbg games
 
7:57 PM
apparently at 6+' tall, it's highly likely that your legs will be torn off when ejecting from an airplane
cabbage games! That sounds like some sort of weird fetish
 
user559633
._o wat
 
like "pony play" or something (that search is not safe for work)
 
user559633
please no
 
(thank you, Bones [the TV show. Geeze, this just isn't getting any better])
 
bones is really slow
 
7:59 PM
I haven't seen a single episode of bones
I don't want to
 
I've seen the first few from season 1
got bored really fast
 
kinda like my experience with House
I tried to see what the fuss was about
I didn't last long
 
I love House.
Never seen Bones, though.
 
I enjoyed Bones, but probably mostly because of the banter. And the sometimes science. Though there were tons of ugh, what did you writers even.
Especially with the "algorithms"
Actually most of the computer parts required full on suspension of disbelief.
 
In TV show, an algorithm is the equivalent of a magic spell, that can be only made by hoodie wearing master geeks.
face it folks, we are the new magi
 
8:02 PM
The worst was when it managed to break my suspension
I actually own programmingismagic.com :)
 
haha
nice
 
I've wanted to write an intro to programming, as a graphic novel, for uh... 5 years now?
Apparently I'm good at getting other stuff done
 
i remember a tv show, where on the screen, there was a lot of text outputting, and basically it was a log stream of all the requests a server was getting (mostly GET requests), and the "tech guy" was like, OMG, they've cracked our cyber defences!
 
user559633
i'm convinced the best way to get things done is pretend you're supposed to be doing something else.
 
That's my one complaint with Orphan Black. The show is great, until they touch a computer.
And then everything gets stupid.
 
user559633
8:03 PM
@GamesBrainiac who are they, apple?
 
"I'll just feed this DNA into my decryption program" 20 seconds later "It cracked the code!".
 
user559633
ha ha it's funny because someone went to jail over GET requests because it was considered 'hacking'
 
<INSERT RELEVANT XKCD TO MAKE JOKE AND ANNOY TRISTAN>
4
 
da fuq???
@Ffisegydd you're forgetting to evaluate your macros.
 
user559633
8:05 PM
gonna need to star that
 
#include <xkcd.io>
 
That's a comment mate.
 
@GamesBrainiac Definitely relevant youtube.com/watch?v=rUGQHdYUIEo
 
user559633
@GamesBrainiac oh, i meant AT&T. the whole weev thing. the guy sounds pretty terrible, but he got in trouble for finding some unprotected API path
 
@Ffisegydd yea, forgot, its cpp :P
 
user559633
8:06 PM
I guess you could say puts on sunglasses he's compiling some xkcd jokes. takes off sunglasses because it's cloudy
 
@tristan oh, that weev guy.
 
user559633
3 down, left, looks like a really exciting way to put ketchup on a french fry
 
moar overwatch
 
That's mostly how my kids do it. It's you that needs the goggles though
Kung Fury has the best hacking scene, though: youtube.com/watch?v=pgl37R7hILE
 
8:10 PM
What's the chaining comparison dupe?
 
> Error - Hacking too much time!
 
Oh man - youtube.com/watch?v=KEkrWRHCDQU Hackerman tutorials
 
Infinite Solutions
 
8:31 PM
@GamesBrainiac's on here?! Holy el crapamahol! long time, dude!
 
8:42 PM
Wait so there's a @Snape and a @Granger in here?
this room is getting more magical all the time
 
I only realized recently that Potter Puppet Pals is made by LemonDemon / Neil Cicierega
 
I'm not sure who that is...
snape, snape, severus snape (dumbledore!)
 
The same person who the The Ultimate Showdown (of ultimate destiny), Brodyquest, etc. Very well known in the flash animation haydays
 
@KevinMGranger Well, The Ultimate Showdown is going to be stuck in my head for the rest of the day.
 
8:52 PM
My apologies. Or not, it depends on how you feel about that.
 
@KevinMGranger I'm sure there are potters here too
 
@KevinMGranger oooooooooh! I remember this song :D
 
@Ffisegydd I sent you a friend request on Steam, so I can eventually add you on bnet.
 
went to see the Angry Birds movie, expected it to suck. Well, it was better than Hateful Eight, and exceeded my expectations much more than Star Wars :D
wasn't waste of money at all
 
9:06 PM
Further proof that you're a terrible human being.
 
That you didn't like Hateful Eight.
 
anyone who hates hateful eight is a terrible human being? :D
must be new level of sarcasm
 
Fizzy, that's quite hateful of you... there's got to be seven more of you
 
Is one not bad enough?
 
user559633
9:21 PM
how angry were said birds?
 
I want to see Hateful Eight... I'm only slightly put off by angry birds, mainly because I used to play Crush the Castle
 
user559633
hateful eight: another whatever from quentin tarantino
 
Splashy movie? That's pretty much what I expect it to be, heh
 
wim
anyone know what the heck is going on with pycharm version numbering ?
what's newest , 5.0.5 ? 2016.1 ?
 
user559633
9:24 PM
whatever's listed there unless you're in a beta?
 
@wim it is now rolling, 2016.x something
 
user559633
are you trolling?
 
wim
mine is trying to patch itself to 5.0.5, and fails
 
user559633
it says in fuckhuge letters "Previous PyCharm Releases"
 
wim
9:25 PM
yes but the 5.0.5 release on that page is newer than the 2016.1 release
 
user559633
sorry, that came off as harsh -- wasn't meant that way. inappropriate, my bad.
 
wim
no problem tristan
so, ignore the auto-patch dialog and download 2016.1.3 ?
 
user559633
I'd just go with what's on the /download url. I've yet to meet a tech person that likes updating Wikis, so I'd go with what's stated on the commercial page
 
PyCharm 5 is older than 2016, but had a recent security release, which is why the date seems weird.
 
wim
k
still slightly confused why it failed to update itself, it always went smoothly for me in the past
 
user559633
9:28 PM
I've had that happen and spent longer trying to troubleshoot than just reinstalling
 
user559633
Your settings should be separate in dotfiles or directories, so, AFAIK, it's low-risk
 
wim
ok good
time to setup a symbolic link I guess
 
user559633
Or, just mv the folder
 
Just let your package manager handle it: aur.archlinux.org/packages/pycharm-professional
 
wim
so the .desktop file doesn't get broken
 
user559633
9:30 PM
Weird, I've never used arch's package manager on my OS
 
wim
@davidism i'll ask BigCorp about that and they'll have it sorted out in about 7 years time
 
user559633
haha
 
Wow, what happened to 6-8 weeks?!
 
user559633
reminds me of my last job where i didn't have permissions to chsh because of AD
 
user559633
things i have permissions to do: wipe company's tech from the internet, login as root on any production machine
things i don't have permissions to do: decide if i want to use bash or zsh on my local machine
 
wim
9:32 PM
ok looks like the manual install worked and it found my config from .PyCharm
I had to dig up the licence and enter it again manually though
oooh new fonts
looks better!
 
user559633
some day i'll upgrade from version 2.7.4 :P
 
wim
horrible keymap bugs for dvorak remain unfixed .. sadface.jpg
 
@tristan Policies like that make me ekladata.com/I-mrdvkopRdfr5BZsIslBvjBMQk.png
 
user559633
9:51 PM
@WayneWerner yeah, totally. to be fair, it wasn't "by official policy" that i wasn't allowed, it was just because AD/OS X/Linux don't play well together -- i think those things typically fall out of helpdesk/IT "needing" to enact policies, someone either not configuring it correctly (or overzealously -- e.g. my background would switch to the corporate logo on reboot), and having that not work with sys/dev people's needs/wants
 
Yeah - there usually isn't :P
Not sure if that makes things worse or better though -_-
 
user559633
Yes.
 
Also? Home appliance ownership (┛ಠДಠ)┛彡┻━┻
having a home is great, owning it...
stupid appliances
 
user559633
I think "misguided" is the word. You end up with "these policies meet x,y requirements of our 'security' team. also, don't upgrade your java or OS otherwise our tools won't work"
 
heheh... that reminds me of our application at my last job that didn't work in Java 7
(I only quit about a year ago)
 
user559633
10:03 PM
i need to play FTL. that game frustrates me so much that it makes me want to focus on work
 
10:18 PM
hahaha
Me too, I think
Roguelikes kill me
...
 
user559633
my DB migrations are failing. seriously just installed FTL so i can grind for 40 minutes, then lose the game after one of my ship staff get disappeared by a random event, then get so annoyed that i feel relief from busy work
 
user559633
FTL.mp4
 
trolololol
 
For The Lose?
 
user559633
10:25 PM
@AndrasDeak yeah, basically
 
rbrb all
 
bye @Wayne
@tristan App store? App store??
 
user559633
take care wayne
 
user559633
i bought it on steam -- the app store just links there.
 
I'll have you know that I've just become an android app developer ':' + 'P'*100
 
user559633
10:27 PM
i'm sorry?
 
I wanted to write an android app, started with python, failed, wrote it in java, and now it's working
and I'm a happy man (except java)
oh, humblebundle
Also, my android endeavour made me use Android Studio, which is intellij which is jetbrains, so if I ever want to try an ide for python, it will be pycharm
 
user559633
yeah, android studio is decent and jetbrains makes good things
 
10:45 PM
that IDE easily filled in the gaps between my cargo cult sessions:)
 
11:41 PM
hey its my first time here ! just thought I'd ask a question regarding binary trees. I'm Trying to create a function convert_tree_to_list(t): function which converts a binary tree to a list in level order. I have written some code but I keep getting an error. Is there a way I can post the code on here ?
 
@M.Jones welcome!:)
Please read the room rules if you haven't done so far. If you haven't asked your question on SO in the last few days, it should be OK for you to ask. Unless the code is very short, consider using something like a github gist or pastebin
I almost certainly won't be able to help you and most of the others are asleep, but you might get some response when others come back
when you do ask, make sure you specify the full error message too
 
def tree_to_list(tree):
    # Base Case
    if tree is None:
        return

    # Create an empty queue for level order traversal
    queue = []

    # Enqueue Root and initialize height
    queue.append(tree)

    while(len(queue) > 0):
        # Print front of queue and remove it from queue
        print (queue[0].key)
        node = queue.pop(0)

        #Enqueue left child
        if node.left is not None:
            queue.append(node.left)

        # Enqueue right child
        if node.right is not None:
This is my code - I am trying to create an output as so [2, 31, 5, 27, None, None, 1, None, None, None, None, None, None, 7, None]. So its creating a list from a binary tree.
def print_tree():
    tree = RefBinaryTree(2)
    tree.insert_left(31)
    tree.insert_right(5)
    right = tree.get_right_subtree()
    left = tree.get_left_subtree()
    left.insert_left(27)
    right.insert_right(1)
    right2 = right.get_right_subtree()
    right2.insert_left(7)
    print(tree)    # This code prints the tree
when I try to call it tree_to_list(print_tree) I get this error >>> print (queue[0].key)
AttributeError: 'function' object has no attribute 'key'
 

« first day (2047 days earlier)      last day (2895 days later) »