« first day (984 days earlier)      last day (3968 days later) » 

6:00 PM
@reikyoushin Yes, I followed the tutorial. I don't remember, which one though, it was in 2009
 
@rdlowrey I see you have been distracted by room 11 instead of doing useful work... again.
 
@user4035 hmm.. is that via cgi or shell?
 
@rdlowrey yeah. where you need to make really attention when designing a threaded application, is separating the thread managing logic and the real application logic as much as possible.
 
user895378
@LeviMorrison busted. Yeah, I'm going to go work on this now
 
@reikyoushin shell, though ssh
 
6:01 PM
@rdlowrey Read this first: productiveblog.tumblr.com
3
 
If you don't, this will result in a large unmaintainable mess.
 
user895378
@LeviMorrison lol, nice.
 
@reikyoushin If you are able to connect to the host via ssh, something is wrong with git settings there
 
@LeviMorrison +1
 
I can use self as a TypeHint? Oo
 
6:03 PM
git.gerrickvillarama.com/~repos/demo.git here is my git repo.. if you wanna see it. its just a demo, ill delete it when i figure out what's wrong..
 
The only disadvantage is that your database copy (in form of objects surely) are loads of god objects.
 
@Gordon Interesting.
 
@user4035 i removed the auth until i could sort things out.. so you will see them even on http
(just for now)
 
@Gordon yes… it's resolved at runtime in the class context, so there's no problem
 
@reikyoushin looking
 
6:05 PM
@Gordon parent should work too.
 
@bwoebi it doesn't (although that could be because the class doesnt have a parent). neither does static.
 
@reikyoushin "fatal: http://git.gerrickvillarama.com/~repos/demo.git/info/refs not found: did you run git update-server-info on the server?
"
do you get the same error?
 
@Gordon only in this specific context it doesn't work, but I wonder why static doesn't work…?! It's a normal T_STRING according to the grammar?
 
@bwoebi yup. parent works: eval.in/35126
@bwoebi static gives: Parse error: syntax error, unexpected 'static' (T_STATIC), expecting '&' or variable (T_VARIABLE) eval.in/35127
 
@Gordon I saw too, but why?
 
6:09 PM
yeah same @user4035 ill try that
 
@bwoebi I guess because everyone forgot or doesnt know that you can self and parent as typehints :D
 
@Gordon nope. It's because self and parent are no keywords for the parser while static is one.
 
@user4035 you can check my setup here pastebin.com/B9K5u8Hv
 
@Gordon lxr.php.net/xref/PHP_TRUNK/Zend/zend_language_parser.y#871 look at class_name: vs fully_qualified_class_name:.
 
6:14 PM
@bwoebi as if I could read that gibberish :)
 
haha
 
runned $git-update-server-info already, nothing changed
 
@reikyoushin It says sudo -u apache git update-server-info
But i am not sure, you'll be able to run it as apache
 
oh, but im in lightspeed server and my apache is run by my user..
and not by apache
@user4035 if i try $git clone git.gerrickvillarama.com/~repos/demo.git it says it does not exist, is it the same as yours?
 
@Gordon but, changing just one line in the lang parser enables static
 
6:19 PM
@reikyoushin you need to specify the protocol of interaction
@reikyoushin ssh:// or http:// or git://
@reikyoushin Try this: login to your server through ssh, create a dir test.git
 
@bwoebi I am not sure we actually want to allow static as typehints. It would violate LSP, wouldn't it?
 
run: git --bare init
touch git-daemon-export-ok
then git clone from this empty repo through ssh
 
@user4035 its done..
 
works?
 
could not read from remote directory..
 
6:23 PM
@Gordon is this important?
 
it says stdin is not a tty, then '~repos/test.git' does not appear to be a git repository
should i have used $git-update-server-info?
 
@reikyoushin Please, provide the whole command, you are using
 
eval.in/35136 … static triggers parse error, self triggers fatal error… not very consistent^^
(but what do I expect from PHP?!)
 
@reikyoushin No, it works for me without it through ssh
 
@user4035 ssh://gerrickv@git.gerrickvillarama.com/~repos/test.git
i have my keys setup too..
 
6:26 PM
@reikyoushin We somehow need to get the debug information to track, on which stage it fails
 
it is to me.
 
ill get it, just a sec
 
@Gordon I even don't exactly know what this principle means…
 
@user4035 ssh -vvv gerrickv@git.gerrickvillarama.com is it?
 
@reikyoushin ja, it's the most verbose
 
6:28 PM
it returned a shell..
does that mean ssh works?
 
@Gordon I really don't look at which principles exist, what's important is that coding with certain features is a) maintainable and b) readable.
 
@reikyoushin What if we try to copy the file: scp gerrickv@git.gerrickvillarama.com:/~repos/test.git/git-daemon-export-ok
 
Hellow
 
Can a objects __construct() method not return data to another object?
 
@user4035 copy where?
 
6:30 PM
@reikyoushin To your machine
scp gerrickv@git.gerrickvillarama.com:/~repos/test.git/git-daemon-export-ok .
or cd to test.git directory and do pwd
first do pwd
 
/home/gerrickv/www/git/~repos/test.git
 
Principles are for people who don't know to use them implicitly if necessary.
 
@Pheagey sure it can, but you have to do $ret = $instance->__construct() for that :P
 
(= people who don't know to design something a bit maintainable and readable)
 
@reikyoushin git clone ssh://gerrickv@git.gerrickvillarama.com/home/gerrickv/www/git/~repos/test.git
 
6:33 PM
@Gordon "$data = new cleaner($parameter);" ?
 
@bwoebi well, LSP is part of SOLID so chances are the code will be less maintainable and less readable when you dont obey LSP
@Pheagey that will only ever assign an instance of that class
 
Im retarded...
 
@Gordon I said [people don't need them if they're able] to use them implicitly if necessary.
 
@user4035 i got in.. was able to clone. will try to push now
 
@reikyoushin Great
 
6:36 PM
i can push now, cool!
but what if i want it over http?
 
SOLID is important, but you don't have to obey it everywhere. Sometimes it's easier to read if you don't follow them very strictly.
 
@bwoebi Well, LSP is necessary … always.
 
@salathe: PHP website looks better each day. I like the new listings, it's all a bit improved. Feels very well.
 
@reikyoushin I didn't set it up on my server, maybe this helps: jedi.be/blog/2009/05/06/8-ways-to-share-your-git-repository/…
 
6:38 PM
@bwoebi I mean, I'm all for bending the rules when you know what you're doing. But that doesn't mean that any of the priniciples isn't necessary. Usually when you bend the rules, you do so knowing that it's dirty and incurring Technical Debt.
 
@user4035 i tried it already but it doesnt work. :(
 
@bwoebi Not obeying LSP will mess up your inheritance hierarchy. That is a fact. The question is whether you can get away with it.
and btw … free hugs to @crypticツ
 
@CarrieKendall I plan on having it check the link when that post is posted and when accessed by others. I would have a timestamp of last check and it will only run the check if the last check time was say 6hrs so I would not bog down the system for running checks all the time. Don't know if you read this but it's what I would be doing essentially.
 
@reikyoushin Can you open test repo for http access, so I could see the error?
 
@Gordon damn right!
 
6:42 PM
@user4035 can you take a look at my code here? pastebin.com/B9K5u8Hv
 
@Gordon Most structural subtyping I see does not abide to the LSP
 
@Gordon not 100% sure about this. Don't know enough to still discuss about this.
 
@user4035 $git clone http://git.gerrickvillarama.com/~repos/test.git
fatal: repository not found
 
is someone familiar with adaptive images+? cferdinandi.github.io/adaptive-images/index.html Want to use it in my WordPress theme, but it doens't work. Have followed the tutorial and have debug it. It should works, but not for me..
 
Evenings
 
6:44 PM
@reikyoushin same for me
 
here is my htaccess (and cgi)
 
@Gordon The Node Set is live. You can manipulate the nodes in the tree, and they change in the list.
 
@BenjaminGruenbaum well, a lot of people don't know what LSP is
 
I don't know if it could be said that DOMNodeList is a wrong return type for the query result.
 
@hakre they obviously don't.
 
6:46 PM
are parse error questions marked as OT?
 
@user4035 here is the link on what i'm following too en.bainternet.info/2012/how-to-git-over-http
 
@Gordon Sure, you query all nodes in the tree and you get them back. Even if they are moved around, they are still kept in the list and the relationship of each node to the document is kept.
 
@hakre it is certainly not what is given in the DOMXPath spec. it would be a XPathResult object then
@crypticツ yes. the reason referring to SCCR in it
 
Using NodeLists always seemed really stupid to me.
 
6:48 PM
@BenjaminGruenbaum in JS and PHP the result isnt live when it's returned by an query whereas it is when its returned by getElementsByTagName. I find that confusing.
 
@Gordon Of I completely agree, I think it's a poor design choice. Moreover, when doing a querySelectorAll it still returns a NodeList but it's not live. That's just inconsistency, especially when returning an array would have been a lot more sensible anyway.
 
@BenjaminGruenbaum exactly what I am talking about. @hakre is trying to explain to me why that is correct behavior. I just don't understand anything he's trying to explain so far.
 
@Gordon The first example's DOMNodeList is bound to the documents nodes that are in the tree.
The second example queries the document and then returns the nodes. The relationship is to the document, but not the tree.
 
6:52 PM
The difference is, that if a node is renamed or detached from a parent, it is still in the document but not in the tree any longer.
Hence in the xpath query example, it needs to stay in the result, it's still there.
Where as for example when you query the tags by name and you rename a tag, the list needs to be updated.
 
I hope this explanation is more clear.
 
@BenjaminGruenbaum see what I mean :D
 
@crypticツ Why is this flagged -_-?
 
@BenjaminGruenbaum it's not valid PHP code
 
6:55 PM
@crypticツ Oh, I CV'd it, your message was flagged - that's what I was asking about.
 
@BenjaminGruenbaum I didn't flag it, just cv'ed it
 
@crypticツ your chat message got flagged
 
@crypticツ What I meant is someone flagged your in the chat
 
@Gordon oh
 
@BenjaminGruenbaum PHP DOMDocument has no querySelectorAll. But it also makes sense, queries relate to a specific state of the DOM. Imagine the document gets changed (which happens very often) and then the result would be completely gone.
 
6:56 PM
@user4035 if i try git clone http://git.gerrickvillarama.com/~repos/test.git its not found,
but if i try git clone http://git.gerrickvillarama.com/cgi-bin/git.cgi/test.git its error 500
 
@Gordon Yeah. I see what you mean. I think @hakre 's opinion is valid I just disagree with it. Usually when I select the elements I want to know what happens to those elements. I think of a live collection like an iterable changing during iteration.
 
@BenjaminGruenbaum whyyyyyyy!
 
@crypticツ That's what I asked :P
 
@BenjaminGruenbaum This is pretty hard if you can select wildely from a large tree structure.
 
@hakre A live NodeList is exactly like an iterator changing during iteration. I expect the object to have a certain state and it stops having that state.
 
6:59 PM
@BenjaminGruenbaum Hmm, well, for the examples we're discussing so far, the nodes in the list reflect the document changes.
 
For example with //* the first node is the root-element. Detaching it from the document is reflected in the list. The first entry of that list does have the parentNode NULL from then on.
 
@hakre Right, so you think iterators changing during iteration makes sense?
I think it's confusing and inconsistent with how queries work, imagine an SQL query result changing as the DB changes, not only is it expensive, it's also confusing and not what one would expect.
 
preparing dinner now. laters
 
7:01 PM
@ircmaxell this would be
 
@BenjaminGruenbaum The iterator does not change here. Not even the list. What's in the list can change (because those are node objects). So with your database analogy, the result does not change (it still has the same nodes in it's iteration), it's just that nodes can change.
I'd say for an in-memory structure, this is expected.
 
@hakre Can size of the list can change, and which items it contains? (At least that's how it is in JS NodeLists)
 
OMG besides all the JS questions now also PHP question get infested with the jquery virus
It has begun. Thee end is near
 
@ircmaxell … no, but I'd like to use a JS equivalent of querySelectorAll in PHP (as a method of the DOMDocument or such)
 
7:04 PM
@bwoebi Isn't there a jQuery (well Sizzle) port to PHP?
In C# there is a really good one
 
@BenjaminGruenbaum I have not fully tested it in PHP DOM, still researching and writing test-code. AFAIK this normally does not happen. I try to provoke that but I still have to find a way to remove a node from the DOMDocument (not only from the tree).
 
@Benjamin FYI There is phpQuery, not sure if that user knew about it ... — HamZa 12 secs ago
 
@HamZa obviously not enough :)
 
@hakre lolz
 
@BenjaminGruenbaum I found code.google.com/p/phpquery but it's unmaintained
 
7:05 PM
Aren't you doing shit on phpquery @hakre?
 
@bwoebi forks on github: github.com/TobiaszCudnik/phpquery
@PeeHaa I want to have a wrapper for selecting nodes. Now taking care of food, too cu l8ters.
 
@BenjaminGruenbaum but it should be somewhere in core I think…
 
@hakre later
 
(xml extension)
 
@hakre Then it's not a live NodeList. The whole point of a live node list is that the selected elements change.
 
7:09 PM
It would be nice to post what you have tried so far and where you got stuck. That way we could improve your current solution and you may learn (more) from it — HamZa 24 mins ago
^ @MadaraUchiha take a look at the question and the Answer, damn high rep ...
 
@HamZa I don't see what you're angry about, if he wants to answer that's his right
 
@BenjaminGruenbaum It's kinda expected that if you're a high rep, you'll know when to answer and when to close.
 
If you don't think his answer is useful you can downvote it to show that you think it's not useful.
 
But I disagree with @HamZa on this one, I don't see a reason why he shouldn't have answered that.
If you manage to find a dupe, then dupe it. If not, an answer is the correct course of action.
 
He left OP with a voodoo regex
I find that amusing
@recursive Would you mind explaining how that regular expression works? — Benjamin Gruenbaum 4 secs ago
 
7:14 PM
@BenjaminGruenbaum @MadaraUchiha I'm concerned because the OP didn't put any efforts in writing a regex. I could have answered way before, but I didn't
 
@HamZa The best way to tackle those is to answer with how to solve it rather than a regular solution
 
hi guys, anyone who have a shared hosting private git repository here? i just have a question on pushing..
 
Like I did here today for example (normally, I even do that as CW, but I was capped anyway)
 
wtf, 0 new answer(s)?! (without s)
 
@bwoebi lol
 
7:15 PM
@bwoebi That happens when you get the update after the answer is deleted.
 
@reikyoushin Read the description to the top right.
 
@BenjaminGruenbaum @MadaraUchiha sigh maybe I'm overreacting a bit ...
 
@BenjaminGruenbaum don't think so. I just clicked on the button half a second before.
 
@HamZa A bit. Remember that all regex questions are kinda similar to one another.
 
@HamZa If you want to upset the author of a poor regex answer - ask them to explain it :P
5
 
7:18 PM
@BenjaminGruenbaum And then this handy tool appears: rick.measham.id.au/paste/explain.pl
 
@MadaraUchiha but there is no chat room for git.. and most of the time people here are the ones that can help me
 
@reikyoushin I was referring to the part where it says "Don't ask whether someone is here to help you"
 
@HamZa That'd still require him to clarify
 
@HamZa I'm unsure if I should report a bug on meta because it's 0 new answer instead of 0 new answers
 
@bwoebi lol
 
7:21 PM
should I?
 
@bwoebi Not sure
 
@bwoebi You could
 
maybe some of you might find this interesting: youtube.com/course?list=EC3EED4C1D684D3ADF (biology lectures)
 
@MadaraUchiha ah ok, well im using git-http-backend, git clone succeeds but i can't git push back.. it throws a 403 error... what could be the problem?
 
7:23 PM
@MadaraUchiha I was expecting a Y/N answer
 
@bwoebi Maybe.
 
@bwoebi Search for it first.
 
@reikyoushin Your credentials probably failed (403 means unauthorized).
How are you trying to push? SSH? HTTPS?
 
@MadaraUchiha
@BenjaminGruenbaum meta.stackoverflow.com/questions/171926/… … but there's no question complaining about the singular
 
Anyone familiar with doctrine2? I'm looking to do something like export an entity and it's related objects (associated in ORM files) to an XML dump or some other representation.
 
7:27 PM
Atlast edited this, pheeeeeeew, let me know if am missing something :p
 
Pluralization bug! — Dennis Mar 14 at 19:30
 
@MadaraUchiha http, im using git-http-backend
 
@HamZa no question
 
@MadaraUchiha i can clone using $git clone git.gerrickvillarama.com/~repos/test.git but not push back..
 
@tereško carbon !
 
7:34 PM
@HamZa LOL he actually did it (added and explanation) stackoverflow.com/a/17328350/1348195
 
off to sleep, gn peeps.
 
@Mr.Alien gn
@BenjaminGruenbaum I shall upvote :p
 
0
Q: Is id="nodeName" reserved in html5?

YukiI'm using: <span id="nodeName"></span> in my html, then let jquery do: $("#nodeName").html("someString"); Then, the console says that: Uncaught TypeError: Object #<HTMLSpanElement> has no method 'toLowerCase' After I change the id, it works all right. So, is there any reserved id?

??
 
3
A: Are official browser add-ons really safe?

Rob WYou cannot assume that an add-on is safe "because it's hosted in one of the official extension galleries". In this answer, I start with the explanation of how extensions end up in the extension galleries for the popular browsers. Then, I dedicate an extra section to Chrome, and finalize with a c...

^ Canonical answer about browser extensions
@bwoebi lol
 
7:45 PM
@HamZa Nice!
 
@BenjaminGruenbaum based on what? The selector was queried and has generated a result.
Now I have not yet tested what happens when I kill a node that is in that list (trying harder here ;)), however, everything else I wonder what would change?
You would need to requery on change wich would result in a new result.
The current iteration/list would be invalidated/replaced
 
@hakre The DOM api specification.
The elements can change, they're just references not values. The problem is that the collection changes not the elements within
 
@BenjaminGruenbaum so you want to invalidate the result and requery I guess. To make it live.
But then what does happen to the iteration? It must be invalidated as well hence is over.
 
@hakre No, the result is fine, it's valid for the time it was queried.
 
@BenjaminGruenbaum This is what we have so far in PHP DOMXPath::query() result.
 
7:54 PM
@hakre Which is the logical thing. A NodeList result is valid for the time it was queried. Like a DB query, or any other query for that matter
 
@BenjaminGruenbaum Yes, but gordon doesn't have this kind of mental model with it.
I thought you were agreeing with him.
 
Well, that's my opinion. Queries are valid for the time they were queried and that's it.
The problem isn't with how it works, it's with the inconsistency of the API in JS. It should just return an array of results.
 
foo
 
jQuery solves this cleverly (sorry jQuery haters :( ) by saying it's a set, which is probably the more correct term.
 
@NikiC bar? or baz?
 
8:00 PM
@BenjaminGruenbaum Selectors API Level 1 has a NodeList as return type for querySelectAll() - w3.org/TR/selectors-api/#interface-definitions
 
@bwoebi "baz" in algerian street language means "child"
 
> For example, if a DOM user gets a NodeList object containing the children of an Element, then subsequently adds more children to that element (or removes children, or modifies them), those changes are automatically reflected in the NodeList, without further action on the user's part. Likewise, changes to a Node in the tree are reflected in all references to that Node in NodeList and NamedNodeMap objects.
The result of QSA isn't live, it's still a NodeList for inconsistency.
 
@HamZa
 
@BenjaminGruenbaum That children example is a good one. Here the underlying document structure of that NodeList is, that each element in that list has a parent.
So, as the query result has no parent, the underlying document structure does not change, the list reflects these changes all the time (easy as there are none, but the list can be called live with no problem).
 
8:05 PM
@hakre Right, but that doesn't happen in query selector all.
 
user652649
@BenjaminGruenbaum browser?
 
@BenjaminGruenbaum Please be more precise, what does not happen? As the query has no parent, there is nothing to happen. (ebd).
 
@hakre Moreover, I think it's a bad design choice since the query should reflect the selected elements at the time of their selection. If I queried the DOM and got the element, then removed it from the DOM I might still want that element, to reappend it.
@Wesツ Any browser that abides to the DOM API specification.
 
@BenjaminGruenbaum If you queried it an it is part of the list, it's still part of the document even if removed from the tree. Again there yet is no decision point a design could be based on.
 
user652649
@BenjaminGruenbaum i totally agree, how nodelist works is just stupid...
 
8:07 PM
@hakre If I query for all a elements using getElementsByClassName and then appendChild an a element to the DOM, the result of the query will update after the insert automagically because every access is another query to the DOM. If I do so with querySelectorAll you'll get a consistent result - the 'a's in the time of the query.
@hakre I didn't get the last part. If I queried it and it is part of the list, it should keep being a part of that list until the query result variable is GC'd
 
@BenjaminGruenbaum I guess the getElementsByClassName() example is similar to what we have in PHP with getElementsByTagName(). In this case - like with the children - the DOMNodeList knows about the underlying document structure, here the index of the tagnames.
 
This is broken behavior IMO
It's like an SQL query updating between the query and when you output the result if you have another query performing an 'insert' in the middle.
 
user652649
@BenjaminGruenbaum both are NodeList instances? lol
 
user652649
very consistent xD
 
@Wesツ Yes, it's a mistake in the design. The DOM API has a consistency of suckiness. QSA is almost never used (except for by jQuery 'programmers') outside the context of scraping anyway.
Of course, that's a simple reduced case that shouldn't happen, but it's the sort of stuff to avoid.
 
user652649
8:14 PM
lol... anyway i prefer the qsa way, i just want a simple array and i don't want it live... makes me laugh thinking that nobody will try to fix the spec about this annoying behavior of nodelist... because of backwards compatibility
 
Generally, a system should have as little state as possible, especially mutating global state like DOM queries in this case.
@Wesツ DOM API was written by Java people. JS was written by Scheme and Lisp people that tried to make it look like Java :P
That's why the DOM API has stupid stuff like setAttribute and silly things like nodelists. Just return an array ffs
 
user652649
plus live nodelists must be very heavy to compute every single time the dom changes
 
Extremely
You have to do (in supporting browsers!) Array.toArray(query) to get the result of a getElementsByTag name and such.
Otherwise use .slice(0) to convert it to an array.
 
user652649
yes and that's very annoying... i know that well -__-
 
user652649
8:17 PM
in general anyway
 
user652649
it's a good design leave the user updating things
 
user652649
i mean like document.normalize()
 
user652649
doing it automatically it's just stupid, there aren't better words for that
 
I'm fine with the document updating on its own, it's code variables changing on their own that frightens me
 
user652649
@BenjaminGruenbaum did you submit that issue to the dom wg?
 
8:21 PM
They can't change it now, there are possibly millions of websites that the rely on the current behavior. You can't just break code everyone uses.
I rarely have to select elements anyway
They're my elements, I own them, why would I need to query the presentation in order to select them in the first place?
 
user652649
i mean the qsa inconsistency
 
Yeah, it's stupid :)
13
Q: Why does document.querySelectorAll return a StaticNodeList rather than a real Array?

KevIt bugs me that I can't just do document.querySelectorAll(...).map(...) even in Firefox 3.6, and I still can't find an answer, so I thought I'd cross-post on SO the question from this blog: http://blowery.org/2008/08/29/yay-for-queryselectorall-boo-for-staticnodelist/ Does anyone know of a tech...

 
Hello chat, I have a short question -- What is the functionality difference between the statements -- $x = $y ?: $z; ..and.. $x = $y || $z; ?
 
2 more upvotes
@tomaroo one works the way you expect it, and the other doesn't?
 
how so?
 
8:25 PM
$x = $y || $z; is equivlent to: $x = $y ?: (bool) $z;
 
@tomaroo the one is a boolean expression, the other an ternary if?
 
user652649
@BenjaminGruenbaum StaticNodeList extends NodeList ?
 
@ircmaxell you mean $x = (bool)($y ?: $z); ?
 
@Wesツ I guess, I haven't heard the term, but yeah I think that's what he means
(Just like Point extends ImmutablePoint ;))
 
user652649
8:29 PM
yes but it should be NodeList extends StaticNodeList... anyway ok we understood each others :P
 
@bwoebi in what circumstance will the two statements yield different results?
 
@Wesツ The Point extends ImmutablePoint bit was a reference to how badly this violates LSP and what a poor design choice it was. Point extending MutablePoint is a common example of something violating the history constraint in the LSP
NodeList extends StaticNodeList would also fail since you're violating the constraint that the length doesn't change.
 
I searching for some help to get this plugin/script work on my site? I have followed the tutorial and debug it with the right feedback, so the scripts will do there work.. But on retina device I don't see the retina version. > cferdinandi.github.io/adaptive-images/index.html
 
user652649
@BenjaminGruenbaum yes indeed, they should be two different classes
 
Types, but yeah :)
(Types don't necessitate classes in JS)
 
user652649
8:33 PM
Interfaces, since we're talking about dom O_O
 
@PeeHaa I'll add that, not sure what you're talking about though — Stephan 51 secs ago
I have no idea what the hell you are talking about but I will implement it either way :P
 
user652649
evening @PeeHaa :P
 
evening :)
 
@bwoebi no
 
@ircmaxell Your RFC turned out quite controversial :)
 
8:35 PM
No, only one person actually is against it
 
@ircmaxell really?
php > var_dump(1 || 2);
bool(true)
php > var_dump(1?:(bool)2);
int(1)
 
@ircmaxell yeah? well, I didn't read the discussion, but I saw that there are a lot of mails ^^
 
guys .. what do you think
should namespace be singular or plural ?
 
@NikiC It's Stas
 
8:37 PM
@tereško singular
 
@ircmaxell (and ?: and || have both higher precedence than =)
 
that's how i have been writing it, but i cannot remember why i decided on that
 
@tereško Often you will find names in namespaces that not even have a plural form
 
hmm .. that might have been it
 
Trying 1:1 ->
int(1)
bool(true)
int(1)

Trying 0:1 ->
int(1)
bool(true)
int(0)

Trying 0:2 ->
int(2)
bool(true)
int(0)
 
8:42 PM
this shows that `$x = $y || $z;` is equivlent to: $x = $y ?: (bool) $z; is not true
 
fair enough
 
@PeeHaa throw new TooExoticLanguageException;
 
With a matching driving style
 
8:46 PM
posted on June 26, 2013 by John Mertic

I have two conferences coming up shortly that I’ll be speaking at, both which are conferences in their first year First, is Distill, happening August 8th and 9th in San Francisco. I’m excited to be showing a new talk, “Four Web Technologies you should be looking at now!”, where I talk about the emerging patterns in web application development and where the story is going. It’s a great lineup o

posted on June 26, 2013 by Anna Filina

When developers are not motivated, progress is slow and quality is low. This ultimately affects company revenues and can lead to reduced opportunities for all employees. Motivation leads in the opposite direction: wealth and happiness. The first thing to understand about motivation is that it’s internal. We can’t force someone to become motivated, but we can still have a strong influence. Here

 
@Feeds nobody has allowed you to spam.
One spam at a time is enough.
 

« first day (984 days earlier)      last day (3968 days later) »