« first day (319 days earlier)      last day (4689 days later) » 

12:00 AM
@StackExchange, New York, NY
Community powered questions and answers!
1.2k tweets, 3.1k followers, following 50 users
that guy is usually awesome
but really?
Javascript Shorthand for getElementById http://bit.ly/inzZ8J #stackoverflow
:\
 
2
A: Javascript Shorthand for getElementById

genesis<script> _ = function(eId) { return getElementById(eId); } </script> <script> var myDiv = _('id'); </script>

gettext your DOMElements!
 
Thanks, @balpha. It's been a little bit since I've felt compelled to down-vote six answers in one go. Not long enough though.
 
24 hours without internet: read 300 pages of a hardcover book about python, wrote 600+ LOC.
BRB
 
@balpha I'm pretty sure that was the whole point of P.SE. After it stopped being "The Cartoon Site", I mean.
 
 
2 hours later…
1:46 AM
Hola folks.
 
'Ello
 
2:44 AM
@TimStone hi
 
 
1 hour later…
4:04 AM
The Llama song is not conducive to productivity.
 
 
2 hours later…
6:26 AM
raises brow
I don't get why people get defensive about close votes, hmm..
 
7:08 AM
hi, is there any way I can read data dumps of closed sites?
any program, application?
gosh
 
7:24 AM
morning
 
7:41 AM
sighs I thought that we had reached an era where I didn't have to absolutely loathe the IE developers. Silly, silly me.
 
8:04 AM
what a dream :P
 
I can live with bugs, and I can live with limited CSS...
But I really, really was hoping that they could have taken care of pushState
I mean, history management is, you know, already a functionality of the browser...you just have to add some bells and whistles to it to make it work with the spec. But it's not even on the drawing board for IE10.
 
because for MS measures it would be innovative, innovation is bad
 
To me it feels like the kind of thing that they would normally have gone ahead and added non-standardly anyway, so I just don't get it. Argh. Now I have to completely rethink how I was going to write this code.
 
Well you are a logically thinking human being. I'm shocked you thought that MS would think like you do. :p
 
I figured it was the low-hanging fruit, honestly :P
 
 
2 hours later…
10:15 AM
@balpha just to make sure the devs know about this: meta.stackoverflow.com/questions/95675/…
Seems to be just Europeans getting it, I don't know.
 
hellbanz! :D
 
Euro Errorban, oh yeah!
 
 
1 hour later…
11:39 AM
ah, it's sorted.
 
12:27 PM
Pulling an all nighter is a waste when you fiddle with UI instead of adding core functionality.
App dev strategy

1. Have plan
2. Prioritize
3. Have sleep
3. Focus on core functionality first.
4. Prioritize
5. Polish later
6. Prioritize
7. Rinse n repeat
I tend I skip to step 5 too often...
And completely neglect 3 at times.
2,4 & 6 don't exist period.
That leaves 1 and 5.
Well I guess cutting out extraneous steps is key to a tighter and faster run loop, yes?
Monologue.end();
sleep(1000*60*60*3);
continue;
 
12:58 PM
@Moshe Which 3? :)
 
1:24 PM
I've concluded that most small children are also ninjas.
The door to my home office creaks loudly unless you open it in a certain manner, which takes a bit of strength. I've been refusing to fix it because it serves a nice purpose, I get alerted to 'visitors' when I'm engrossed in something.
My five year old daughter wd-40'ed the hinges sometime yesterday, and I did not notice. Hence, she just scared me so well that a whole cup of coffee went four feet into the air.
The scaring isn't the novelty. The plotting is the novelty. She saw me fix the front door hinges earlier this week.
 
2:03 PM
@TimPost hahaha, clever!
Did she do that with the purpose of scaring you? That is devious. :)
 
@Pekkasseriousaccount I think so. Usually when she does something 'helpful' she can't wait to tell us about it. E.g. there was no "Daddy, your door is fixed .. "
 
Haha, nice.
 
@badpssockpuppet - Actually, there's a bug in that code. It ended up being the last 1.5 hours, not 3.
 
I was obsessed with road signs at that age. We had a fairly complex house, so I started putting signs everywhere, showing the exact distance to each other room from that point, and the distance to Helsinki, which I regarded my home town (being some 2000 km away from southern Germany).
 
Hehe, @Pekkasseriousaccount, You know... there's an app for that. :P
 
2:06 PM
The main sign was Autobahn blue, and hung in the main staircase. I think I was allowed to keep it up there for quite a long time.
@Moshe not in 1985 there wasn't! :)
 
Are you sure they didn't have something for the Apple Newton?
 
@Moshe I think the device closest to the Newton weighed some 40 pounds back then.
 
@Pekkasseriousaccount I was more into tripwires and stuff. Tom and Jerry was my inspiration
 
@TimPost nice! ... and probably pretty prone to get you into trouble, I presume
 
Then I started taking all of the screws out of something and leaving it sitting there seemingly in one piece
 
2:10 PM
@TimPost hahahahaha!
 
@Pekkasseriousaccount They didn't ground me, like most kids got grounded. I had my tools taken away as a punishment
 
@TimPost yeah, my parents had that strategy too.
 
I didn't get into much trouble otherwise, well, not until later in life
I was bored, my parents were too busy to challenge me, so of course I took advantage of their guilt at every opportunity.
And now I'm a parent. Uh oh.
2
 
I don't remember much atm. I'm exhausted, so that could be it.
Anyone care to share pointers in UI design?
I'm working on this iPad app.
 
@Moshe Make one button that says "I'm Rich" and charge $400 for it
 
2:17 PM
@TimPost - Close enough, this is a POS app for sleepaway camps.
 
@Moshe is that like a summer camp? Sorry, not familiar with the term
 
I have accounts working, but I need to write an importer for CSVs from excel.
@TimPost - Yes, a summer camp. I call it "sleepaway" as opposed to day camp, where one would sleep at home.
sleepaway = sleep away from home
So, I have a splitviewcontroller.
And some buttons.
And some modal views.
 
@Moshe is the csv being imported supposed to be in an expected format?
 
@TimPost Well, yes. I was told that the list of campers is sent as an Excel spreadsheet.
Excel is best taken as a CSV with a cup of water and some food to alleviate stomach discomfort.
Aside from the importer, my vanilla UI is bugging me.
How do I present a single textbox in a 768px x 748px view and make it look nice?
 
@Moshe if things not in the scope of what you need to get done right now are bugging you, it's time to rest before you really break something.
Thankfully, there isn't a 'not an answer' flag in chat :)
 
2:24 PM
@TimPost True, thanks. I should focus on adding other functionality then. I kinda need this done ASAP. Camp starts in 1 week. It's an emergency job for a relative.
 
@Moshe I think I can safely assume that parsing a CSV file isn't a problem for you.
 
@TimPost I haven't tried, but I have a decent ideas which APIs I'm looking for.
@TimPost - Do you have an iPad, or experience with iPad UI?
 
@Moshe friends don't let friends self impose scope creep
@Moshe I can get a 'floater' sometime next week, but no .. I don't own one
 
@TimPost Thanks. My requirements are well mapped out.
@TimPost Ok, well, if you do, feel free to ping me. I'm going to add the other major missing functions for now, then polish it after a nap.
looks at a best selling app for reference
 
2:50 PM
evening folks
 
@Sathya evening
 
hey @Moshe. how's things
 
3:40 PM
@Sathya - Hey
@TimPost - I worked out my UI issues. Word for the wise: Follow the Apple HIG.
 
 
5 hours later…
8:48 PM
@TimPost Well, now I dunnit!
I broke things.
 
 
2 hours later…
10:56 PM
I would like you opinions on something
-1
Q: Get a list from a set in python

DutrowLLCHo do I get the contents of a set() in list[] form in Python? I need to do this because I need to save the collection in Google App Engine and Entity property types can be lists, but not sets. I know I can just iterate over the whole thing, but it seems like there should be a short-cut, or "bes...

Would that be a close for general refernce
 
Hmm..
Do you have a general reference source for it? :P
 
@TimStone well sort of
you just have to google it
 
I Googled a few things and the first result I got that actually answered the question was an IRC log, which is pretty poor.
 
@TimStone ok fair enough
but in python
 
I assume it's in the Python documentation pretty clearly, but not in the results that came up for some reason. :/
 
11:01 PM
when ever you want to convert somehting into somethin
you just do it
int(3.4)
float(2)
tuple([2,3,4])
list((1,2,3))
and so on
but I agree you don't have to know that
 
Well, especially if you have a limited knowledge of Python. But at the same time, if it's something that you should pick up from basic learning of the language...it's a bit of an edge case, I guess. :)
I don't really remember what the comments were around the general reference close reason either, so I'd have to go back and look before I could say more definitively which side of the fence it falls on.
 
@TimStone thank for the feedback
I'll let it fly
beacuse it it not in the first google result
 
Sure thing. :)
 

« first day (319 days earlier)      last day (4689 days later) »