« first day (986 days earlier)      last day (3969 days later) » 

11:00 PM
122
A: Unsure if I understand TransactionAwarePersistenceManagerFactoryProxy

Dude Bro I am trying to use the [org.spri...] in my Spring project, but I am not sure how to use it or whether it's exactly what I am looking for. Yes.

 
...what?
 
wat
 
fucking java
I just bought: 'HTML5 Unleashed' by Simon Sarris via @amazon - woot!
 
@Esailija a === null?
@SomeKittens lmfao
nvm he left a comment
 
11:16 PM
when I opened the page there was 128 upvotes, now there is 146
what is taking so long with my flag
 
@Esailija On what?
 
146
A: Unsure if I understand TransactionAwarePersistenceManagerFactoryProxy

Dude Bro I am trying to use the [org.spri...] in my Spring project, but I am not sure how to use it or whether it's exactly what I am looking for. Yes.

 
Why did you flag it?
For mod attention?
 
not-an-answer flag
 
That won't work. I handle ~10 not-an-answer flags a day and this won't pass
 
11:18 PM
an answer saying yes while quoting something that is not even a question
 
I know, and I just validated the flag, still I don't think it'll pass
 
when I was farming my marshal badge lot of people indeed use not an answer flag incorrectly
 
A lot of people do
Most of the justified not an answer are either:
 
the post has 4 characters of original content and the only reason it passed the char limit filter is because of quoting the question for "context"
I guess you could flag it for anything and it will get deleted
 
I just forgot to post the rest:
:P
Most of not an answer are: "Asking a new question", "me too", "link to manual" , "ask for clarification" or "thank you"
 
11:24 PM
yes this is the first time I see a new kind.. and I have 1300 helpful flags :d
 
Asked the C++ room to flag, said they would
Still not gonna help
 
why are you in C++ room?
 
@Esailija I'm amused by how I can say something stupid and get stars or say something smart and get ambushed
 
well it doesn't make much sense to have a unique method just so you can save "#" character
 
11:30 PM
Unique method? It's completely different!
It's an existing function!
It's a different API!
I don't want to run a query selector, I want to navigate the tree, I want to GET an ELEMENT BY an ID
 
what is the difference
 
The two have different meaning, they're two different expressions, they just happen to result in the same way
 
"If you don't know anything about CSS, I suggest learning at least the
basics. Attempting to do JS work without knowledge of CSS's abilities
will lead you to duplicate, badly, functionality already built into
CSS."
@Zirak you should listen to that guy, he's trying to educate you son
 
And I hoped it wouldn't be an argument about why I think the selectors API is stupid
 
( Also he used 'literally' wrong)
@Esailija "deleted by Michael Myers♦ 1 min ago"
 
11:34 PM
there goes all his rep D
 
How do I even argue with him without spiraling into that?
Say "let's ignore the selectors API for a moment"? He wouldn't have that.
I'll try...
 
is this about the fact that you want live node lists and not snapshots?
 
No
This is about having a consistent API across documents and document fragments I think
 
No. This is about the fact that I want to GET an ELEMENT BY an ID on something that should support it.
Document-fragments should have those methods, regardless of anything else they have.
My intention wasn't for this to be an argument whether the selectors API make
anything before them obsolete. The intention was to make the API more
consistent - if documents have a getElementById method, so should document
fragments.
Calm enough?
 
I'd add an opinion though, something like
"While a lot of developers prefer selectors, a lot of other developers prefer methods like getElementById over selectors. Having an inconsistent API seems peculiar to me since we already support getElementById on documents"
 
11:41 PM
Good idea.
I acknowledge that selectors let you write more complex queries, and that some
developers prefer them. However, others (like me) prefer using the "older"
methods like getElementById. As said, this is an attempt to make the API more
consistent, given that we already have methods like getElementById.
(added that to the above)
 
TJ sounds like a dick
 
I'm doing mailing lists wrong. I have no idea how. I can't make my replies be proper replies...
But, well, like, whatever man.
...
 
lol I sniped an answer 30 seconds after the question was created
meh, seems more like 50 seconds
 
!!/get answer 995876
 
3
A: Prototypal Inheritance Why Does Child Object Not Inherit Method From Parent Object?

EsailijaIt should be Cat.prototype = Object.create(Mammal.prototype), that's where the methods are, not on Mammal directly. http://jsfiddle.net/GPNdM/1/

 
11:48 PM
how do you know the id
 
That's your user id
 
o, nice. so it retrieves my last answer like that?
 
Did `/get` map names?
!!/get answer Zirak
 
@Zirak Invalid range specifier Zirak
 
!!/get question Esailija
 
11:49 PM
@Esailija Invalid range specifier Esailija
 
Apparently not. You can omit the user-id and it'll auto-map to yours.
!!/get answer
 
10
A: Why does nesting a bunch of blocks causes a stack overflow in JavaScript

ZirakFirst of all, ghord is completely correct. It is caused by the parser's recursive nature, so give him upvote love. But proof needs to be had, and OP wanted me to post this as a separate answer. Firefox So, where to find out about how it was done? Ask some guys who're in the engine making. So I ...

 
!!/get question
 
10
Q: Why aren't some technically serializable input properties serializable?

EsailijaSerializable property is defined as: When you set a property of the element, it will be reflected in serialization queries such as getAttribute and you can see the changes in DOM Inspector When you get the .innerHTML of the element's parentnode, the returned html string will contain all the ser...

 
!!/get answer
 
11:50 PM
1
A: Counting occurrences of a string in an array (javascript)

Benjamin GruenbaumYou need to build a parser There is no simple way around that. You need nesting and memory, a regular expression can't handle that very well (well, a real CS regulular expression can't handle that at all). First, you get the result regexp you have. This is called Tokenization. Now, you have ...

 
!!/get answer
 
5
A: "Unexpected response code: 503" in Chrome. Perhaps having to do with socket.io on heroku?

SomeKittensHeroku "doesn't support" websockets on the Cedar stack yet (no word on when they will). They recommend adding the following code to your Socket.io implementation: // assuming io is the Socket.IO server object io.configure(function () { io.set("transports", ["xhr-polling"]); io.set("pollin...

 
that's retarded
"non-zero cost", maybe, but so close to zero that it's not worth considering...
 
11:56 PM
!!/get answer
 
2
A: Javascript: Divs not recognized?

rlemonat the moment this isn't working because of the <font> tag. The divs style is being affected, however the font tag within is not allowing you to see the changes. Remove the font tag and you should see something. With that said, you shouldn't be using the <font> tag at all. W3 tells us HTML5 cla...

 
0
Q: Nested Javascript "Classes"

Lorenzo PolidoriAre there any potential issues with the following Javascript code: var BobsGarage = BobsGarage || {}; // namespace /** * BobsGarage.Car * @constructor * @returns {BobsGarage.Car} */ BobsGarage.Car = function() { /** * Engine * @constructor * @returns {Engine} */ ...

 
I get what he says, but I'm coming from a "it's a document...so why doesn't it have document methods?" perspective
 
(be back again in ~4, Zirak wants to switch partitions and cuddle with documentation)
 

« first day (986 days earlier)      last day (3969 days later) »