« first day (1125 days earlier)      last day (3817 days later) » 

Indeed
echo "<script language=english> test(); </script>";
Ow it's in English. Let me interpret that script for you sire
 
9:16 PM
WTF
 
wowwwww.. these two answers (stackoverflow.com/a/9383960/998328, stackoverflow.com/a/3570033/998328) copy the documentation word for word.. combined they get 15 upvotes
 
It's asp....
:P
 
your point?
if they reference that tag, all people associated don't know how to RTFM?
 
@CarrieKendall According to you they know how to RTFM. At least two of them do :P
 
eh, rep whores.. off with their heads
 
@PeeHaa Yeah, I thought the answers were a polite way of saying RTFM.
 
Anybody seen the @daverandom this week btw? I think he actually has to do work now and is too tired to come in here
 
@CollinJames they don't even link to the manual...?
 
v0.0.1 tomorrow :)
 
@JoeWatkins <3
 
9:25 PM
Awesome.
 
@CarrieKendall Ah I see that now. Plagiarism! Rand Paul disease?
 
After Kolink changed his name the rep whoring also decreased
 
what'd he change to
 
user895378
@cspray @webarto Hey dudes
 
@rdlowrey How's it going man? Last time I saw ya in here you were all crisis mode and stuff :)
 
user895378
@cspray Ah I'm fine. I think I just needed a break from coding. I've been doing other things lately but I've spent all day getting both windows and linux dev environments setup so I can resume coding in the next few days
 
@rdlowrey Awesome. And I hear ya on the break thing. I've had to take a break from some of my personal projects
 
@rdlowrey Sooooo what did you do?
 
user895378
I'm going to try not to limit myself to only a few hours a day so I don't get burnt out on it.
 
9:30 PM
Was feeling burnt out
 
@rdlowrey I just came on to ask for your help on seedstream, now I hear you want a break... never mind :P
 
user895378
@PeeHaa Besides controlled substances?
 
@rdlowrey lol
 
user895378
@Jimbo ah nah, I've been on a break for like a month. I've gotta resume coding.
 
user895378
But I'm going to try and dial it back a little and only program for like 5-6 hours a day instead of ~12-16
 
9:33 PM
Surely they're 12 - 16 interspersed with cat videos, though
 
user895378
@JoeWatkins this looks awesome
 
@rdlowrey yeah baby :)
definitely on my top 10 ...
 
@PeeHaa Haha, funny.
 
@PeeHaa Haha, that's awesome
 
9:36 PM
@webarto I liek the homeless co driver part the most
 
I like the bit where, instead of reading pace notes, he's actually shouting "oh shit" and "you mad bastard" xD
 
> I am trying to make a single query with many conditions like the above: lets say first that we have the php variable $reco that will let us update the data when we want so we have the above query:
 
Rally is the only real car sport.
 
Rally and tractor pulling :P
 
That sounds american :D
 
9:40 PM
Nooooooooooooooooooooooooooooooooooooooooooo
:(
 
I kid, I kid.
 
A @rdlowrey :-) Evening :-)
 
user895378
@bwoebi hola.
 
@webarto lol
 
hi please help
0
Q: Does jquery AJAX "cache" parameter respond to my needs?

thenewseattleCurrently I'm using this function, but it can only refresh the whole #comments div. $.ajax({ url: 'WebForm1.aspx', success: function (data) { $("WebForm1.aspx #comments").html(data); } }); I'm trying to figure out if jQuery AJAX can detect any difference between what the user is ac...

 
9:50 PM
Damn cold weather :(
 
@PeeHaa Your English is bad. It's "Who did you do?"
 
user895378
I've decided to make vim my primary editor. I know it passably well from all the time I've spent working over SSH, but does anyone know of a good power-user tutorial to kickstart things?
 
@ocramius I saw you forked YAC as in yet another container, that's a bad name considering github.com/laruence/yac :)
 
@rdlowrey Good Choice! I've been using for close several years now and feel like I know about 1/10 of what vim has to offer.
 
is there a competition between this channel and ASP.NET channel?
:) just curious
 
9:58 PM
I don't have any advice on a guide though. Check out Vundle for plugin management.
 
Another php room would be competition, but we don't compete, so...
 
not completely unrelated .... yac is extremely clever caching software, extremely clever ... everybody look at it ... now !!!
the numbers it can achieve are staggering ... but it remains a theory, it needs real world testing ...
 
That's why I remember it, you mentioned it the other day.
 
@webarto you're a Serbian living in Austria?
 
10:02 PM
@Danack typo :P
 
Living off and on, can't be more than few months.
 
he wrote that in about a night ... he's very gifted indeed, I spent a few nights playing around with a lockless apc (on it's original locking allocator), there's was no noticable difference under extreme load so I dropped hit ... but yac is something else, the is no locking at all ... extremely clever ...
 
Xinchen Hui is a machine too.
 
there may be a big gaping hole in the theory ....
 
@thenewseattle I'm currently finishing last year in college in Serbia, so no, not living at the moment.
 
10:04 PM
ok
 
@JoeWatkins I don't understand much, but what would that be?
I'm from Bosnia.
Same shit.
 
one of the reasons a cache works well under extreme load is that when you request a read from the cache it is either exclusively locked, or locked for reading (if anyone is writing it will block) ... this means that if a process has done the heavy lifting to get some data you wish to cache, no other process will do the same work while the cache is being written ...
with no lock, everyone does everything all the time, until a write is complete it does not exist ...
 
That's not from here. Nobody is telling him kohana sucks
 
He wants to compile Kohana, that sucks.
 
10:07 PM
it's true
 
@JoeWatkins But, can it work reliable without lock (just asking as a layman)?
 
yeah if you have the hardware to service it, it can perform at amazing speed ...
 
there are tradeoffs
 
10:10 PM
Consultant & Senior Software Engineer
Zend Technologies
April 2013 – Present (8 months)
Part-time.
Didn't know laruence works in Zend now :)
 
yeah, you have to put a bit more thought into what you cache ... it's definitely an interesting idea ... I'm surprised it doesn't get more attention ...
 
FB tried to buy Snapchat for $3 Billion.
Creator of Snapchat is 23 :-/
 
my conspiracy theorist mind read FBI there ...
/me wonders if he'll ever actually program again ... ^^ that 23 yr old I mean ...
 
I read about that on YCombinator etc, and I say, crap...
Kudos, but f* that...
 
MySpace Tom didn't.
I asked him myself.
 
10:14 PM
Yes, there is a life to live.
 
And he is definitely living it. He is harcore in to Photography now and just flys around the world taking photos on his own schedule. Spends a lot of time in Hawaii and China
 
It takes years to be successful over night.
 
I'm always a little more jealous of Tom than anyone because he's doing what I would be doing. Minus the photography seriousness.
 
luckily for me the only thing I'm really into is programming ... find it hard to imagine myself happy in a world where I had millions in the bank, but never got to actually program again ... I wish I could retain a bit more control, I'd like a bit more sleep ... but I will never stop while my fingers move ...
 
10:18 PM
I'd buy the company I currently work for. Work when I feel like it.
 
@JoeWatkins a true programmer...
I like what I'm doing, but existential issues are always in front...
I'm not butthurt, but I just feel bad seeing people taking lots of money for some mediocre apps. The difference is they've built it, and I haven't.
Lots == hundreds of thousands
 
Yeah. Somethign you're completely capabale of
 
@webarto I am fucking butthurt about that tbh :)
 
Like that kid that built that news app Yahoo bought. He's 17 and it sold for like 30 million Source
 
I wish there was no money involved ... worse than seeing others get rich because of the things they wrote, is seeing others get rich because of the things you wrote ...
 
10:21 PM
@PeeHaa Needs one more
@webarto assistance please
 
> which uses an algorithm to automatically produce easily digestible summaries of news stories.
"Algorithm" AKA pagination and excerpts
 
Meta top toolbar is new!
 
new and broken for me :P
 
@MadaraUchiha looks like facebook now....
Ewww...
 
My last book arrived. Javascript - The Good Parts
 
10:26 PM
@PeeHaa
How is it broken by the way?
 
If you want to spend about half-an-hour confused, check this out:
 
@MadaraUchiha
 
@PeeHaa Try disabling your adblocker
 
Hey, I need some quick help with some boring regex. Its a uri that needs to be replaced, expected behaiver:
/foo => /sv/foo
/foo/bar => /sv/foo/bar
/foo/bar/baz => /sv/foo/bar/baz
/sv/foo/bar => /sv/foo/bar
/no/foo/bar => /no/foo/bar

Any sugestions?
 
10:30 PM
And file a bug
 
I think my adblock is stuck by now :P
@ErikLandvall Why do you need a regex?
 
Anyone here ever tried to create an automatic dependency injection container or factory?
 
@ErikLandvall preg_replace('#^/foo#', '/sv/foo', $uri)
 
@ErikLandvall Not enough cases.
When do you add /sv?
@David I think @rdlowrey has
 
user895378
 
10:34 PM
the foo/bar/baz parts could be any value..
 
user895378
Though I hate DICs anymore. They make it too easy to do naughty things.
 
1 min ago, by Madara Uchiha
When do you add /sv?
 
so anything except /sv, /no ?
 
@David why was there an "or" in that question
there are no "automated factories" in programming
 
You add sv if there is no sv prefix .. but if there is no prefix then you dont need to prefix that ..
its the exception
@MadaraUchiha
 
10:36 PM
@tereško I just created an entity factory that uses reflection and recursion so I never have to do any injecting into constructors on instantiation
 
With out the "" the above is hard to see maybe ..
You add "sv" if there is no "sv" prefix .. but if there is "no" prefix then you dont need to prefix that ..
@MadaraUchiha
 
@ErikLandvall preg_replace('#^(/sv|/no)#', '/sv$1', $uri);
 
@ErikLandvall why exactly does it scream to you "this needs regexp" ?
 
@ErikLandvall if (!in_array(substr($url, 0, 3), ["/sv", "/no"])) { $result = "/sv" . $url; }
 
um.. wait
 
10:37 PM
Very quick, very dirty.
 
@tereško What would you call what I just created if it is not an automated factory?
 
@David does it make coffee ?
 
Yeah
 
.. I suspected so
 
@tereško It makes domain objects
What would you call it?
 
10:39 PM
if (!preg_match('#^(/sv|/no)#', $uri)) $uri = '/sv'.$uri;
 
i would go with MagicDoEverythingClassThatStartedOutAsFactory
3
 
HammerOfThor
 
@tereško How does it do everything if it makes domain objects only?
 
4 mins ago, by David
@tereško I just created an entity factory that uses reflection and recursion so I never have to do any injecting into constructors on instantiation
 
@tereško Or the slightly more ambiguous, but more descriptive ReasonIWillHaveToRefactorThisWholeThingLater
 
10:41 PM
@MadaraUchiha What kind of assistance, Sir?
 
@tereško " I just created an entity factory " I still do not see your point. Did I say I made an entity, mapper, repository and service factory all in one?
 
function doEverything() // @throws DoesTooMuchException
 
DI Containers are something that factories can use, not a different type of factory
 
@DanLugg The API is the exact same as my only entity factory, a simple build($type)
 
10:44 PM
D'Aloisio was born in Australia in 1995 to Lou Montilla, a commercial specialist at Glencore Xstrata,[11] and previously a vice president of Morgan Stanley[12] and Diana D'Aloisio, a lawyer.[13]
@Fabien ^ you've missed this fact
 
@David I'd take issue with glorious amounts of magic, as your approach suggests.
 
So if things went completely wrong I can just change back to the old one with no problems
 
Constructor injection is predictable, and leveraging it will pay off in the long run.
 
@DanLugg My domain objects only depend on other domain objects
 
And?
 
10:45 PM
@webarto riiiight , 18 year old commercial specialist, vice president and a lawyer
unless he also has 200+ IQ, I call BS
 
I am not constructing big complex objects which go levels and levels deep of dependencies
 
@tereško I think that's referring to his parents.
Which, despite his obvious skill, explains why he was able to source the necessary funding to launch his app.
I recall him having been quoted for something like "I don't understand why everybody doesn't do this".
"Oh, I'm sorry, please forward this request to your daddy, I need 300K USD. Large bills, please"
</sour-grapes>
Ooh, UI change on meta.
 
@David so... many... buzzwords... must... resist
 
@BenjaminGruenbaum What do you mean?
 
@tereško Yeah, parents, but it's not coincidence why his app doesn't work and is popular.
 
10:59 PM
entity/factory/reflection/recursion/injection/constructors/instantiation
@David did you really need to use all those words one after the other in one sentence in order to describe what you're doing :P?
@tereško <- what he said, totally describes it better.
 
I didn't even realise. I just wanted to be clear.
 
@rdlowrey o/ we missed you and stuff
 
@rdlowrey still tanned bro?
 
user895378
I'm so pale.
 
@BenjaminGruenbaum no matter how clear I am @tereško still only reads what he wants to read. I could say I am going to build a house tomorrow and he would choose to see "i use the singleton in all my domain objects"
and go off on a reply that has nothing got to do with what I initially said
 
11:05 PM
@David That's the first time I've ever heard anyone call @tereško not nice. Maybe we've not met the same @tereško? I met a nice cheerful guy who just wants to help people and make new friends.
4
 
@BenjaminGruenbaum I hope you are being sarcastic?
 
Seriously though :P That sentence just sounded funny. Maybe you have great architecture I don't know and that's not what I was discussing.
 
You are crazy
@BenjaminGruenbaum It wouldn't surprise me if he was a serial killer.
 
I'd believe it
Very cold
Angry
 
11:10 PM
@rdlowrey I pale in comparison
@rdlowrey I wrote a cron style whatsit for for my stream select loop. It seemed like a good idea at the time, but it's completely terrible. I based it on the actual structures used by vixie cron, which is great for saying "yes I need to run at a specific time", but really shitty when you want to say "how long until I next need to run"
 
user895378
@Leigh hmmm. Could you not determine/store the next timestamp for the cron string any time something is scheduled and then recalculate each time the event occurs?
 
user895378
(It's probably more complicated than that -- you're a lot closer to the problem than I am).
 
The problem is probably the choice of structure used.
Cron itself uses bitstrings and turns on a bit for every minute, hour, month (whatever) that it is supposed to execute on
and then when you call $entry->due(), it literally dissects the current timestamp and says if (minA == minB && hourA == hourB ....)
 
Goodnight, fellow room elevenonians.
 
So, calculating the next due timestamp for something that must only execute at 13:27 on the 29th of feb, but only when it is a Tuesday... you get the idea.
 
11:22 PM
@DanLugg latort
 
SLEEP
 
... is for the weak!
 
@MadaraUchiha, I made a mistake. Yose means end game moves. Moyo is potential territory.
 

« first day (1125 days earlier)      last day (3817 days later) »