#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-08-07

Timestamps are in GMT/BST.

01:09:20Watusimoto has joined
02:51:24Watusimoto Quit (Ping timeout: 245 seconds)
03:10:27Darrel Quit (Ping timeout: 260 seconds)
03:11:06Darrel has joined
03:23:05Darrel Quit (Read error: Connection reset by peer)
05:51:03watusimoto has joined
05:51:16ChanServ sets mode +o
05:51:44watusimoto Quit (Client Quit)
05:51:57watusimoto has joined
05:51:57ChanServ sets mode +o
05:53:07watusimoto Quit (Client Quit)
05:53:20watusimoto has joined
05:53:20ChanServ sets mode +o
06:02:13watusimoto Quit (Read error: Connection reset by peer)
06:02:29watusimoto has joined
06:02:29ChanServ sets mode +o
11:55:34sam686 has joined
11:55:34ChanServ sets mode +v
13:22:23watusimoto Quit (Ping timeout: 250 seconds)
15:12:00Watusimoto has joined
15:31:59Akien has joined
15:32:27raptor has joined
15:32:27ChanServ sets mode +o
15:32:35raptorgood day!
15:33:39Nothing_MuchGood afternoon
15:34:56raptorWatusimoto: that wiki style looked good to me
15:35:08raptorI'm not exactly sure how you integrated it
15:35:49raptorbut what i did for the forums: use some black-ish style (which happened to be an updated version of the old one) and just edit the global header/footer of that style to include our sitewide includes
15:35:56raptorso changes were very minimal
15:57:46Darrel has joined
16:17:18Watusimotohi
16:17:36Watusimotoglad you like the wiki
16:17:54Watusimotosam686's files were a good starting point, but some of it didn't work
16:18:23Watusimotothere are some stylesheets in common with phpwebhosting, but some are independent
16:57:46WatusimotoI need to figure a way to have a static header that can have different items highlighted, depending on page
16:58:26WatusimotoI'm thinking about assigining each header item to a different class, then embedding a style in the calling page that highlihgts that particular class
16:58:32WatusimotoI can't think of another way
17:00:05raptorlet me think
17:00:44raptorwhat would be highlighted?
17:05:31Watusimotothe red box that specifies what page you are on
17:05:51Watusimotoright now, go to wiki, home is highlighted (incorrectly)
17:06:28raptoroh! haha, i never noticed that
17:06:30raptorawesome
17:06:56raptorok yeah... well, what you do is put a little bit of javascript that detects the current page and modifies the CSS on the fly
17:07:17raptoreven just a jQuery makes it very simple
17:07:43raptormaybe even have a little table that has location -> css id
17:08:00Watusimotothat's what the 2-vote answer here suggests: http://stackoverflow.com/questions/4626431/highlight-the-navigation-menu-for-the-current-page
17:08:04raptoror that reads from each title
17:08:43raptoroh duh - the accepted answer also makes perfect sense
17:08:49raptorand is simpler
17:09:41raptorbut grows geometrically...
17:10:01Watusimotoand I'm not sure we have access to the body tag in phpbb
17:10:09Watusimotowe can do it in wiki, and probably all the other tags
17:10:22raptorsure we do, there is a global header/footer file
17:10:28raptoroh
17:10:32raptoruhh
17:11:07raptorhmmm
17:11:13raptorther eis a wrapping div around each page
17:13:23Watusimotolooks like the body tags all have an id already assigned that will work for us
17:13:30Watusimotoid="phpbb"
17:13:48Watusimotoso maybe that will work fine
17:41:55Watusimotoyeah, it works
17:42:14Watusimotoeverything but the forums looks to be in good shape now
18:21:49-wilhelm.freenode.net- *** Looking up your hostname...
18:21:49-wilhelm.freenode.net- *** Checking Ident
18:21:49-wilhelm.freenode.net- *** No Ident response
18:21:49-wilhelm.freenode.net- *** Couldn't look up your hostname
18:21:55BFLogBot has joined
18:21:55-ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response.
18:22:22raptorbf.org restarted
18:28:51Watusimotowhat?
18:29:32raptoroh nope, uptime says 35 days
18:29:42raptorso it just went network-dead for 10 min.
18:29:48Watusimotonone of my connections got broke
18:30:03WatusimotoI'm sshed in in two sessions
18:30:05raptorthat's because SSH has a default timeout of like 30 min.
18:30:37Watusimotomaybe we can use our backup server to establish evidence of downness that I can send to the vps provider
18:30:50Watusimotolike a pingbot or whatever...
18:32:18WatusimotoI have a job interview tomorrow
18:32:41Watusimotovia phone... 15-30 mins, including programming test
18:32:47Watusimotonot sure how that's going to work out
18:33:17Watusimotohi - write me a quicksort - bye
18:33:47raptorCollections.sort(myMap);
18:33:49raptordone!
18:34:04raptortechnically, that's a modified mergesort I think
18:35:23Watusimotoyeah, in my last job we gave a test like that
18:35:37Watusimotowe asked the guy to write soem code to shuffle a deck of cards
18:35:41Watusimotoin java
18:35:51Watusimotohe just did cards.shuffle()
18:35:59raptorhaha, excellent!
18:36:03Watusimotoneither me or the other interviewer knew about that
18:36:26Watusimotowe were like... uh.... ok.... any other ways, maybe?
18:36:46Watusimotothen the other interviewer and I got into an argument about the best way to do it
18:37:08Watusimotoit was kind of a fiasco all around
18:37:16Watusimotobut we hired the guy, and he was great
18:37:18raptorhahaha
18:37:33raptorso the question is... did you hire him?
18:37:37Watusimotoyes
18:37:41Watusimotovery good decision
18:37:59raptorand the real question is... was algorithm memorization a requirement for the job?
18:38:20Watusimotowell, I didn't want a memorized answer
18:38:38WatusimotoI wanted the guy to come up with my answer, to prove my co-interviewer wrong
18:38:51Watusimoto:-)
18:39:31WatusimotoI tried a glib answer to a programming test once; one of the few interviews that didn't lead to an offer
18:40:41raptorhaha
18:41:24WatusimotoI also ripped my suit somehow during the interview
18:43:46raptorthis was my response to a sort in one interview I had: http://pastie.org/pastes/9454206/text
18:44:47raptorcan you see my cheating? :)
18:46:32Watusimotohard to spot
18:46:50raptorso it's 3 sneaky things
18:46:55raptor1. TreeSet auto sorts
18:47:26raptor2. TreeSet.toString() outputs like this: ['A', 'B', 'C', 'D']
18:47:36raptor3. regex replace the unwanted chars
18:47:40raptorand so it spits out: ABCD
18:47:54Watusimotoah... didn't see that you werw asked to do a sort :-)
18:48:10Watusimotonice
18:48:20raptoroh sorry, yeah...
18:48:26Watusimotoyou wrote it pretty clearly
18:48:52WatusimotoI misread it as "a sort of xxx in one interview" as in a kind
18:49:07Watusimotomy briain filled in something for xxx, but I'm not sure what
18:49:31Watusimotoit's a funny solution
18:50:26raptorit was fast, efficient, and totally not what they were looking for
18:50:59Watusimotobest kind of answer!
18:51:03Watusimotolook at this flowchart
18:51:04Watusimotohttp://stackoverflow.com/questions/6498098/are-there-any-sorted-collections-in-c
18:51:10Watusimotocould be useful someday
18:51:22WatusimotoI was looking for a c++ solution to your problem
18:55:27raptori like that chart!
19:15:39raptorheading home. later!
19:17:22raptor Quit ()
20:08:26Watusimoto Quit (Ping timeout: 250 seconds)
23:14:26Flynnn has joined

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.