« first day (233 days earlier)      last day (4787 days later) » 

2:00 PM
0
Q: Datetime conversion in JavaScript or jQuery

NathanHow to convert 10/jan/2010 to 10/01/2010 using JavaScript or jQuery Kindly help me

though, that one has no accepted answer
I flagged it as a dup, regardless
 
I'd like it merged somewhere
 
@gms8994 That's not an exact duplicate. Look more closely at the formats...
 
@Shog9 from the question title, it's a duplicate, but he asks for something different in the body
 
Yup. The titles could certainly be improved.
 
Mornin
\0/ got selected on that question which I only half knew about!
1
A: Animating 5 views coordinated together

MosheAccording to the NSTimer documentation, NSTimer objects are not guaranteed to be realtime accurate on iOS. A timer is not a real-time mechanism; it fires only when one of the run loop modes to which the timer has been added is running and able to check if the timer’s firing time has passed. B...

 
2:11 PM
congrats... Now you can figure out the other half!
 
Heh. I think I did. See the addendum and comments.
Seems like the what the guy is doing highlights the very essence of what's wrong with having everything so, ... animatey in an OS.
Your timers are not going to be millisecond accurate and that will cause bugs. Yes. Even if you are Apple.
 
2:30 PM
Every once in a while some idiot comes to my seat, yapping his ass off, over the phone. this is what I use.
I'm off now, have a naice weekend and stuff :)
 
yawns G'morning all.
 
Anyone know if userscripts can query the question database?
 
@Moshe Depends what you mean by that... They should be able to pull Atom feeds.
 
2:49 PM
2 days ago, by mootinator
I'm seeing a positive correlation between @drachenstern's presence and chat room activity lately.
@TimStone whaaa so early?
 
@shog9 I want to pull all questions of a certain tag
 
@drachenstern Yeah, yeah.
 
For example.
 
@Moshe it sounds like you want to visit stackapps
There's an API for that
I'm just gonna pretend like Jeff has never mentioned it in this room. Or rchern. Or @YiJiang. or .. or ... or ..
 
K.
Um, me too? :-D
 
 
1 hour later…
3:52 PM
Mmm. Pineapple. http://t.co/5NEqUcD
 
> The whimsical notion that Android is an open platform is a tattered fabrication that has been stretched beyond the average open source software enthusiast's capacity to suspend disbelief.
Ooof, strong words, coming from Ryan Paul no less
 
but but but but but but but
the definition of open: "mkdir android ; cd android ; repo init -u git://android.git.kernel.org/platform/manifest.git ; repo sync ; make"
 
Are they still quabbling over headers?
 
@YiJiang Hah, I was just reading that a moment ago. :D
 
3:55 PM
My cognition, it dissonates!
 
1
A: Is bounty rep-dump gaming? (subtitle: Pollyanna lottery!)

drachensternAfter reading Jeff's and Robert's weigh-in on the matter, my funny jokes seemed less funny. And so while I've got an acceptance speech all written and in my vest pocket, perhaps it's best if I just wing-it and thank The Academy Tavern, and my lovely dog Spot, and the FSM. Thank you for the 500 r...

woohoo 500 rep dump :P
 
He'll be sad when they add a 30k rep ability
 
Indeed
I thought this was fixed already, does anybody remember? //cc @TimStone @RebeccaChernoff
12
Q: Why do some numbers show up in my favorite tags section?

Jamie ForrestI've added a handful of favorite tags and some inexplicable integer tags show up alongside the tags I entered. Although the screenshot below doesn't show it, sometimes an integer plus the name of a tag I've entered shows up, like "457-ruby." I delete these tags and then they show up again. See th...

 
4:14 PM
Well, since it's mostly the extension's fault..
 
pollyanna was always my favorite person on all of SO :)
 
Hm? What extension?
One of ours?
 
@TimStone what extension was it? Somebody's seeing it in the SO Tav
 
@TimStone Which extension would do this?
 
@YiJiang A keyboard extension that adds hidden spans to the page with the index number of the link.
 
4:16 PM
There was a recent bug report due to a browser extension, but it wasn't this one I think
 
The way that the favourite tags are processed, just the .text() of that whole area is taken.
 
@TimStone Nope, never heard of it
 
I don't care if you haven't heard of it, that's the problem :P
 
don't you think it'd be useful to add an answer if you know what's causing it?
or am I missing something here?
 
balpha asked the OP if they had any extensions, and the OP hadn't answered.
Apparently they have now (in the comments), but I didn't realize.
They have a "keyboard navigation extension" installed, which is consistent with my explanation:
Mar 9 at 21:33, by Tim Stone
@balpha Since they're sequential, my best guess is that for some reason they're the number of the link element on the page (my favourite tags are around $('a').eq(570), so different tags -> question set with more tags / question -> .eq(6xx-ish)) and they have some bizarre extension, like vimperator
Given:
Mar 9 at 21:20, by balpha
@TimStone they somehow endet up in the database like that -- it's probably still a client side issue. the code that saves your favorite tags to the server just takes $("#interestingTags").text() and sends that; so some weird extension for example adding content all over the DOM, that's one reason I can imagine
(vimperator isn't to blame by the way, I just used it as an example of numbering links :p)
Anywho, I'll post an answer on the question.
 
4:23 PM
there's an idea q:
 
I just seriously screwed up a branch merge. Why does this kind of stuff happen on a Friday? Isn't it illegal for things to break on Fridays? Shouldn't merges be illegal from Thursday to Tuesday?
 
@TimPost it is in some states and countries, but not in yours.
Sorry
 
Again, @TimStone, you do realize that you should charge SE Inc. consultation fees for this sort of work, right?
 
Hahah :p
 
Aww MAN .. it was a bunch of additional m4 crap too
 
4:33 PM
@RebeccaChernoff Yeah yeah, done :P
 
72
Q: How do you know you're writing good code?

JimSerious question here. I love programming. I've been messing around with code since I was a kid. I never went the professional route, but I have coded several in-house apps for various employers, including a project I got roped into where I built an internal transaction management/reporting syste...

Let's push this past the top of the hotness graph :p
 
@TimStone: and @drachenstern: i had flagged for duplicate room, before 4 hours ago, can i know what is the status for that flag
 
@SankarGanesh I wish I understood the context of the question
 
@YiJiang Hmm, this reminds me that I still need to fix that minor flag dialog quirk...I think I'll do that today.
 
3 hours ago, by Yi Jiang
4 mins ago, by balpha
I see your point, but I'd give that room the benefit of the doubt...
 
4:40 PM
@YiJiang cannot this message, :)
 
a) I can't respond to flags on this chat.
b) I don't know what "duplicate room" is.
c) can you post the actual referenced quote from 4 hours ago? (presuming I understand what you mean)
 
@SankarGanesh Neither can I
 
@drachenstern I demand list syntax in chat! (but not really)
 
@TimStone but it's there!
 
@drachenstern Sure, Today a room created for Mobile Application development for Android and Iphone, but i saw Allready Iphone and Android rooms , that's why i flaged it as duplicate room
 
4:41 PM
You did a very nice job, yes.
 
@SankarGanesh can you please paste me the link in this room to that room?
 
3 hours ago, by Yi Jiang
Meaning, he'll leave it alone for now
Meaning, he won't do anything immediately
 
@drachenstern: why i cannot see a upload button near to send button in this room
 
what are you going to upload?
Just paste the link
you don't need to upload anything
 
@drachenstern:This is the room i saying
 
4:45 PM
thank you
Ok, someone will take care of it eventually. Just let it go.
 
@drachenstern:Welcome, It's my duty, :)
 
/afk
 
0
Q: Don't linewrap "remove this tag" symbol in favourites sidebar

CanSpiceThe x in a circle that allows you to remove a tag from your favourite tag list, it shouldn't linewrap: This is on Chrome 10.0.648.127 on Ubuntu 10.10. (Oh, and the Add buttons are actually legitimately missing their right borders, that's not an artifact of the screenshot.)

Anyone know the duplicate without me having to go search? :P
 
FX
5:02 PM
hi all
quick question: if I reach daily cap (+200), then start a bounty (let's say -50), can I then regain the lost rep during the day (and finish at +200) or am I now capped at a total of +150?
 
@FX I believe that you get a maximum of 200 reputation per day from up votes, period.
So if you then assigned a 50 point bounty, you wouldn't get back to 200 from up votes.
 
@TimStone Should be correct, so any other sort of rep changes are not related to that at all
 
Yeah, that's a good point.
@RebeccaChernoff The favorites page does not do highlighting, by the way.
 
5:27 PM
Huh. I thought I recalled seeing a post or comment by Nick saying it'd be added next build or next day or something.
 
@RebeccaChernoff Points at sharp sticks Hint hint :P
 
Did I say I was skeptical?
(:
 
Unfair accusation eliminated. :P
I wouldn't be surprised if it's in the works at least, though.
 
By the way, for almost half an hour now I've been trying to load the comments for the Ars Android article I mentioned above, and it just won't load
 
5:30 PM
Hmm, my carpet seems to be bunching up underneath my chair far more than it should..
@YiJiang That's OK, the first second comment is was (it's now been edited) already pretty incomprehensible
 
Hmm, this is what I was thinking of.
 
@RebeccaChernoff Ah yeah, the responses tab does that nicely. It'd be cool if the favorites tab worked the same way, but I'm still having a hard time picturing how it'd work without requiring two separate views.
 
2 views?
 
Like, when I go to the tab when there are no changes, I just want the list of questions.
But when there are changes it's nice to see the details.
But those are really two separate presentations.
 
Why not just one list with unseen changes highlighted with the yellow?
 
5:36 PM
You could just highlight the question, yeah...it doesn't really give you a good sense of what changed though.
 
Go to the question? (:
 
I'm talking from the "I can't remember what I viewed last" camp ;)
I typically remember what I have and haven't seen, but for most people I think if there are multiple changes it's hard to digest what's new and what isn't.
 
@TimStone but doesn't the yellow highlighting take care of that?
 
If there are four new answers and three new comments, I'd get a yellow highlighting of the question, with a ?lastactivity link that only showed me the most recent change.
So you miss out on some of those new answers and new comments unless you realize that that's what changed, and there's nothing to highlight on that page as far as those parts go.
Now, if the favorites tab was like the responses tab, that'd work with the highlighting. However, if there weren't any changes, I wouldn't want to see that kind of play by play list, since in those cases I'm usually going to the tab just for the link to the question (which is where my "two separate presentations" comment came into play earlier)
 
5:49 PM
My explanation skills today might be a little lacking, but hopefully you get where I was going with that. :P
 
6:00 PM
yup, I did.
 
6:55 PM
heh After staring at the Minefield logo on my taskbar for so long, the Firefox logo seems a touch odd.
 
Oh noes! The twitter is down?
 
 
Like that's never happened before... ;)
 
shrugs
huh?
 
7:13 PM
Hi folks, I'm actually not on a Mac now.
 
Woah!
 
Where should I get started with a C# client for a web app?
VS2010, My Windows 7 laptop
 
By coming over to the dark side, and learning a real web-dev language :-P
 
whats the question, if you have vs2010 ?
 
@ircmaxell - I'm using VS2010
Where do I get started writing an application that uses a web service for data?
 
7:16 PM
File -> New Project ;)
 
It's a simple concept, I just don't know how it works in C#
 
just messing
 
@Fosco ROFL
dang it
 
On iOS, I'd use an HTTPRequest object and parse the returned data
What are equivalent objects in C#?
 
7:17 PM
Ok, that's odd. The message I originally replied to is now highlighted constantly for me.
 
Ok, I'm helping prepare for shabbat here, so I'll be in and out. Just assume I'm here.
I'm not used to having end and home keys.
Thank Gd for tab on Windows!
If I make an app in VS2010, how do I package it and distribute it? On iOS, we have an App Store...
 
@Moshe Ideally, you'd package it as an installer and then host it someplace. I'm not sure, but VS2010 may come with something to create an installer.
@badpssockpuppet lol
 
@GeorgeMarian Ok, Thanks. I gotta wrap my head around the syntax et al first.
 
@Moshe hehe You have a long, strange trip ahead of you. :)
 
7:26 PM
Schweet, just discovered a CD I bought and misplaced months ago in my brothers' room.
 
heh, go figure.
I lost a large chunk of my CD collection to my younger brother.
 
@GeorgeMarian I don't think they took it, but whatever, no worries. I have all the audio I need on my MacBook and iPhone.
 
Now if they took that, I'd be a little less forgiving.
 
Steps to build a better Stackoverflow rep:

1. Clone Jon Skeet

Steps to build better software:

1. Use FinalBuilder.

sponsor
2
 
7:27 PM
@Moshe Heh. The only thing my brothers and I haven't swapped are girlfriends.
 
@GeorgeMarian Good, that makes sense.
Oh, Command key, where hath thy gone?
 
hrm, so deleted:1 is a mods only search option.
 
@Moshe That should be the CTRL key.
Ah, ha! I may have finally figured out why I would sometimes end up on Amazon instead of Delicious: I usually open a new browser window, hit CTRL+D to select the address bar and then, try to, type 'del'.
Apparently, I was typing 'el,' probably since I had pressed CTRL+D. That was matching 'Electronics' and "Apparel' in the title on Amazon's homepage.
 
@GeorgeMarian Oh, I know, but it's not next to the space bar.
 
Ah yes, that can be quite annoying.
 
7:41 PM
Okay, I wanna write code, not use a UI builder.
How do I "make some classes"?
 
I use a narrow, left-handed keyboard which is a little creative w/ the placement of some of the keys. It took quite a bit to get used to it.
 
should be asking on SO but doesn't want a million new questions under his account
 
@GeorgeMarian Welcome to the lefty club. extends left hand for a shake
 
i'd say should be googling first
 
7:42 PM
Ok, fair enough. Google it is.
 
file -> new -> file -> Class
 
Ok.
 
@Moshe Hehe. I'm not actually left-handed, though my father is. I use this keyboard to have the mouse closer to it.
 
or right click project folder, new file, class
 
Is it good practice to add new classes for everything?
 
7:43 PM
If it belongs in a class, sure. :)
 
I don't like UI builders, either... wrote an entire web portal using C# but not asp.net, created an IHTTPHandler and generated all html procedurally.
 
I like UI builders for desktop apps. Well, sorta. I definitely don't like having to go back and rename everything to more sane names and all that.
But, only for actually creating the GUI.
 
I miss tables :( :(
 
Anyone here for a sec?
Here's what I'm trying to build:
I've got a web service. The web service acts a go-between between my app and my database. I've defined three endpoints.
The data is a bunch of books, broken into chapters for daily study.
Each chapter has a number
Each book is "studied" daily.
So the app is responsible for requesting and displaying the data to the user.
@Fosco, @GeorgeMarian - How would you do that? A seperate class for the interaction with the server, or can I dump it in a single class?
to continue w the description:
There is a daily chapter for each book.
The daily chapter is defined by the number of days since the start of the first cycle.
 
@Moshe You can do either, but a separate class would be more flexible (and correct).
 
7:54 PM
it could all be in one, thats up to you
it could just be written in the event handlers of the gui
it's your sandbox
 
@Fosco Don't suggest that, at least not w/o a disclaimer.
 
@Fosco As I did in my VB utilities several years ago, but that was, well, a hack.
I learned a lot from iOS development and I feel that it made me a better programmer.
 
It's a recipe for pain, too.
 
Then you know what to do.
 
@Fosco Just wrapping my head around not having all of the mobile constraints and rules from the App Review board.
Can I just freely write data to my app's program directory, like preferences and progress tracking?
 
8:00 PM
@Moshe Decide on an interface for getting the data. Then design a class to provide that interface for actually getting the data. You may want to create a class to handle the interaction between the GUI and the data retrieval class. (Basically an MVC approach) That way, the event handlers are dead simple, w/ very little logic in them.
 
@GeorgeMarian What do you mean by "interface" in this context?
 
@Moshe Yes, I'm pretty sure you can. However, the more correct way would be to use an application data directory under the user's profile directory.
 
@GeorgeMarian Are there methods for that?
 
a function method to call, a definition of what parameters it takes, and what it returns
 
@Moshe Ah yes, I forgot about that distinction. It could certainly be an actual Interface, but that would probably be much more work than is worth for a small application. I was referring to the the methods in the class.
Yes, and their signatures, return types, all that.
 
8:04 PM
In ObjC we have header files which define interfaces. Where does that fit in C#?
Is there a way in VS2010 to define that I want curly braces not on their own line?
 
Tools -> Options -> Show all settings, then Text Editor -> C# -> Formatting -> New lines -> New line options for braces
I wish that was a joke, but it's not
3
 
heh
@Moshe They're defined in a way that is similar to defining classes. IIRC, there's an Interface keyword in C#.
 
@GeorgeMarian Well, there's no need for C-like header function declarations in C# though
@balpha I think there's even more steps in Eclipse. But it's not very adamant about enforcing formatting anyway, by default.
 
@TimStone Yeah, good point. It's a "simplified" form of the same thing. (i.e. combine the headers with the code, basically)
 
@balpha Thanks, fixed that monstrosity.
Now, I need a class that can make web requests and parse the data.
Then I need UI to get to the data
To all who just popped in - I'm trying my hand at C#.
@GeorgeMarian - btw, HTTPWebRequest is marked obsolete. What replaces it?
 
8:16 PM
@Moshe what? Where?
 
@Moshe I have not idea. I haven't used the .NET library in years. I suggest google. :)
 
The constructor is marked obsolete. Not the whole class...
 
@Moshe Some would say that having the opening brace on its own line is the right way to do it. :)
 
> Do not use the HttpWebRequest constructor. Use the WebRequest.Create method to initialize new HttpWebRequest objects.
 
8:21 PM
@TimStone How so?
@GeorgeMarian Indeed, but, oh, not me.
 
@Moshe I used to prefer that style, but now I prefer having them on their own line. Makes reading the code much easier for me.
 
Erm...How so what? :P
 
@Fosco Danke.
 
8:33 PM
Er, what's this stream thingadongdong?
I need to use it to send a request?
Why can't I just set a URL and go?
 
if you don't need the customization, just use WebClient.
 
Why not? Because what if you wanted to do something streamy with it?
 
heh It's just a different abstraction then you're used to, that's all. :)
 
I want to make an HTTP request and then parse the returned XML.
I have three endpoints.
One endoint returns an XML encoded list of books.
One returns an XML encoded list of articles in a book. given an ID for a book.
And the last one returns an article given a book ID and article ID
What does it sound like I need?
Send me teh codez!!! BAHHAHAHA!
:-)
 
8:43 PM
@GeorgeMarian Yea, but in all seriousness, what class does it look like I need?
 
@Moshe points to Google I would do it for you, but right now I feel like a big giant head.
 
@GeorgeMarian A big giant?
 
@Moshe Yes, not just a big head or a giant head, but a big giant one. :)
 
is confused
 
Allergies/sinuses are having their way with me. My head feels like it's this |<------------------------------>| big.
 
8:48 PM
Three inches isn't just awfully big.
 
That's what sh...never mind
 
Goodness, everyone's a critic. ;)
 
Everyone capable of actually being useful members of society are too busy doing that to bother hanging out in here
3
 
Okay, I have no clue how to import classes in C#. I'm assuming that it's that strange keyword: using.
Er, wait, that's namespaces, no?
 
@MichaelMrozek No, we're... um, I guess that applies to me too. sulks
 
8:52 PM
@Moshe No, namespaces are, well, namespaces.
Yes, it should be the using keyword.
 
@GeorgeMarian \o/ I've imported a class.
Intellisense seems different from when I played with VB.NET in VS2008
 
heh Hurray for small miracles. ;)
 
Shouldn't Esc trigger it?
@GeorgeMarian indeed.
 
@Moshe That's called "progress." :)
@Moshe No, I don't think so. I seem to recall CTRL+Space.
 
@GeorgeMarian That's called "confusing", "backwards compatibility", or a "feature".
 
8:54 PM
lol
 
@Moshe Are those three really equivalent?
 
Alright, it seems that food has arrived. bbiab
 
@mmyers No
@GeorgeMarian 'njoy
@mmyers No, but they all stem from a lack of direction on Microsoft's part.
What's a keyboard shortcut or quick way to look a class up in the docs?
And are there offline docs in VS2010?
reading a tutorial. C# arrays are bogus! What is a "Jagged" array?
puleez.
:-)
 
A jagged array is an array of arrays, not all of which are the same length.
 
@mmyers I know what they are, just thinking aloud about how they're named.
 
9:10 PM
This room is not good for ascii art, so you'll just have to read my brainwaves from there.
 
@mmyers How do I use a class which is defined in one .cs file inside of my main program file?
 
Remind me what a class define is? I've been in Access Purgatory for two months.
 
@mmyers Sorry, not used to this HP keyboard, some typos there.
I made a new class and I want to use it in my main program.
 
Oh. That explains it. Thought my mind was going (more than usual).
I don't think you have to do anything unless it's in a different namespace.
Or a different folder. I forget. Java's really more my thing.
 
@mmyers Ok, going to try again. I think I know what the problemis.
Ugh, lost my file, closed it by mistake and can't find it.
Ok, fixed. I'm learning on the fly here.
SO is sooo annoying to use in chrome for Windows.
How do I popup a message box in C#?
 
9:29 PM
MessageBox.Show?
 
@mmyers That works in VB, let me see here...
Looks like it. Still haven't tested anything though...
@mmyers Works
\O/
It fetches the data!
\O/
Baruch Hashem!
Nippon Xtreme is in review!
Just fired up my Windows box. This is exciting!
 
10:06 PM
I am wearing headphones and not hearing music. This is clearly a problem. [Play]
@Moshe I want to introduce you to my favoritest website. Http://msdn.microsoft.com
Probably you want to start either here: msdn.microsoft.com/en-us/library/gg145045.aspx or possibly here
I'm actually quite surprised google thinks I want to do anything besides Stack, msdn or jQuery
^^^^^^^^^^ courtesy of ThinkGeek
 
Lol. That's sooo wrong.
 
Well if you have thinkgeek on your fb then it should be on your wall
Also: sentences that seemed to make sense in your head but really didn't come out as having context :\
 
I haven't checked FB in a couple weeks.
 
@drachenstern - Thank you.
Have a good weekend folks.
 
You too @Moshe
 
10:22 PM
@Moshe see yah later
 
10:50 PM
@drachenstern uhhhhhh, that's just wrong
 

« first day (233 days earlier)      last day (4787 days later) »