« first day (933 days earlier)      last day (4241 days later) » 

16:01
@NikiC I prefer using staticClass::$property over using staticClass::$object->property ...
@bwoebi I prefer not to use static at all. I prefer doing OOP.
7
@bwoebi I prefer using $object->property
user895378
Down with static. Where's my pitchfork? And my torches?
@NikiC Right. If there wouldn't be any ugly ptreads extensions which thinks to not copy resources of thread starting only in static properties ...
Hi all
16:03
@bwoebi I did not understand that sentence
@Gordon have you seen this: hackingdistributed.com/2013/01/29/mongo-ft ?
@NikiC The pthreads extension copies when starting a new thread every non-static property of objects.
So I need a static property holding a mysqli object...
@Ihsan I dont follow MongoDB development
user895378
Or you could ... you know ... use multiprocessing instead of multithreading ;)
@bwoebi In which case you use statics to transport the object and then work in a normal object oriented fashion, thus having no need for __getStatic etc. Right?
16:05
@Gordon sorry.
@rdlowrey bääh. pcntl_fork sucks...
Or whatever. I never user pthreads
user895378
@bwoebi And it's posix only. That's not what I'm talking about.
And what's so bad with static when you are absolutely sure that you will only need one single instance of something?
@rdlowrey Did you talk about starting manually loads of processes?
user895378
I start a pool of worker processes (cross-OS compatible) and do this using named pipes to do things asynchronously like this:
user895378
16:08
$dispatcher = new Dispatcher;
$dispatcher->start($workers = 4, $asyncFunctionIncludeFile);
$dispatcher->call($onResultCallback, 'my_async_function', 'arg1', 'arg2', 'argN');
I like to use slow unix domain sockets to exchange data between processes...
PHP isn't really fast. Why use even slower methods?
And this is not only microoptimizing I think...
user895378
I can return a result asynchronously 15k-20k times per second on crap hardware. It's more than fast enough to do IO-bound operations asynchronously.
user895378
So, fight with buggy threads all you want.
16:10
@rdlowrey Only. On my crap hardware I have with pthreads 5 to 10 times more
@Baba lol
user895378
@bwoebi Let me rephrase: 15k-20k times per second per CPU core.
@rdlowrey That's what I meant...
user895378
I just don't think threads are a good option in PHP until the whole language is rewritten to accommodate them.
@rdlowrey how would you accomodate them?
16:13
@rdlowrey Do you really think you could accommodate this share-nothing architecture of PHP...
user895378
I don't know ... but they don't play well with resources ... and anything you need threads for in PHP uses resources.
@rdlowrey yeah, threadheads are definitely no hot … but I might be confusing concepts here
user895378
IMHO if it's IO bound, multiprocessing is fast enough for whatever you're doing. And if it's CPU bound and you can't do it fast enough in PHP you had better use another language or buy better hardware.
@rdlowrey You're right. I use for example pthreads to have a websocket listener in one thread and the worker in another. And there is much traffic between the two threads...
(Sure, we now could start a discussion if nodejs wouldn't be better... Yes, but I should have thought of it a long time ago)
Feels like Don Quixote's windmills.
16:17
uhm... why is @Gordon's name written in blue ink?
user895378
@bwoebi That's actually more or less what I'm doing -- single process event loop server in which the websocket application executes (alongside the full-blown http server) and any time something async needs to happen it's called from a worker process.
user895378
Basically node.js in php.
user895378
name-based virtual hosting, full TLS support, etc.
@rdlowrey Me too, but only with pthreads.
From the facts of life collection: There is no difference between arg and aarghh!!!
16:19
Don't take yourself too seriously. After all, you're an idiot.
I'm just noticing that threads are a bit faster, that's all. But do how you think it's best :-)
@iroegbu you got three guesses. If you cannot guess it in three guesses, I'm gonna use my mod powers to kick you from chat ;)
'cos you are Mod?
@iroegbu wrong
user895378
Threads will always be faster, of course. But if you can't use them safely with resources in PHP it doesn't much matter :/
16:20
he just hardcoded it in the chat extension
@Ocramius you evil person :D
@Gordon PERSON?!
@Ocramius no, you evil devil
He owns the room
@iroegbu correct
user895378
16:21
@bwoebi Of course, it may also be worthwhile to consider looking at how we could work together instead of acting like smart monkeys throwing our own feces at one another :)
@bwoebi I don't think threads will be faster
@rdlowrey Together ... work on what?
@HamZaDzCyberDeV thanks a bunch HamZa! I'm able to chat now
I was just reading the magic methods page, and saw __done() and thought "OH MY GOD SOMETHING TOTALLY AWE-oh wait, my poor vision deceived me, its __clone()"
16:24
@Bracketworks You have __destruct already :P
user895378
@bwoebi I just mean constructively discussing the merits of how to move PHP forward in the area of parallel processing.
user895378
@Bracketworks Ah you got me excited for half a second.
@webarto Yea I know; in that joyously panicked instance I thought something do do with deferrals/promises.
Alas, neither.
Read alas somewhere else 2 sec ago.
@rdlowrey I don't think that PHP will ever do something in this direction, the functions are all in modules...
user895378
16:26
@bwoebi Probably not ... which is why my pessimism in regard to pthreads :(
@rdlowrey We can discuss about this later, now I'm going afk.
@rdlowrey I think developers interested in multithreading already have applications big enough where certain tasks are handled by Java and such
user895378
@Robbert True ... that was kind of the point I was making here:
user895378
14 mins ago, by rdlowrey
IMHO if it's IO bound, multiprocessing is fast enough for whatever you're doing. And if it's CPU bound and you can't do it fast enough in PHP you had better use another language or buy better hardware.
wouldn't having one programming language for every single task and platform be boring?
user895378
16:30
Not to mention it'd be a disaster trying to find a job if programming were simplified to that point. It'd be too easy :)
exactly, it'd be suicidal
I'm new here - well actually, have been using Stack Overflow ever since it started but have always been too lazy to sign up
are there certain chat rules? like the reply thing
@Robbert if you post code, make sure it's in a separate message and click the fixed font button
user895378
ctrl+K will also format your code ... I learned that because it took me an impossibly long time to figure out where the fixed font button was.
@Gordon I can only see a send button
also, using ... over … is discouraged
user895378
The only real chat rule of any consequence is this: don't be an ass.
@Gordon I've actually spent quite some time already converting … back to ... on client websites. I hate …
@Robbert Rule number 1 hail @Gordon
@Robbert you might also be interested in the first pinned message
New avatar :D
16:36
Rule number two is read number 1
user895378
Addendum: the third rule of SO chat is ... @PeeHaa埽 is the single greatest jQuery programmer of all time.
@rdlowrey False! @webarto
@rdlowrey ssssssshhhhh he's new here. I was trying to look cool
user895378
lol I forgot! So many legendary jQuery-ers here :)
No way, I even forgot HTML.
16:37
@rdlowrey is that hard to master? learning jQuery is like learning the alphabet
All hail @PeeHaa埽 !
@webarto Silly @webarto! You don't need silly "HTML" to program in jQuery!
It's cool and does all sort of stuff!
user895378
@Robbert And now you've been officially indoctrinated into the time-honored chat tradition of making fun of jQuery :)
Anybody can make sense of this:
0
Q: php_network_getaddresses on WLAN and not on WIRED

JeanI have the php_network_getaddresses error on WLAN and not on WIRED net connection. Any idea to why this is so, is there a WLAN setting? The router is D-Link

Only HTML I know is <script> <jquery>
user895378
16:38
@webarto You don't use the jQuery "Write my HTML" extension?
I like the activity statistics on the chat room overview page. for PHP there's a constant line of activity. iOS developers seem to only care between 9am and 5pm, while C# coders start to code around 6pm until deep into the night
@PeeHaa埽 Interesting
I don't think there should be an error (but there obviously is)
@rdlowrey lol'd
@MadaraUchiha I have no clue what OP wants / is talking about. Only sane thing would be that his WLAN doesn't have intarnet connection
user895378
@PeeHaa埽 That's the only thing I can think of ... E_PEBKAC
16:40
Anyone with the power to close/delete.. stackoverflow.com/questions/16403019/…
Hey that's me
> as cool as MYSQL
@PeeHaa埽 sounds like he wants to get the ip address of a different network adapter to me
He should be flagged for saying that
Anonymous
What the hell does the status of this domain mean
Anonymous
it used to be active website name some time ago
16:45
@Gordon BTW did you notice okok's a.k.a. "that idiot previous known as that turd" behavior this afternoon?
@rdlowrey What's the E between P and B?
user895378
@MadaraUchiha Problem Exists Between Keyboard and Chair?
It means it's in quarantaine I think. Extending the domain in these 30 days by the owener is possible but is a higher cost. After 30 days the domain is free for registration for everyone I think...
@rdlowrey Oh, Exists
user895378
I guess all errors are E_PEBKAC in one form or another :)
16:47
And @PHPfan new providers are not allowed to buy that domain then.
@rdlowrey I know all mine are :)
user895378
Mine definitely are.
@rdlowrey Only non-pebkac error is cosmic ray event etc :)
user895378
lol
@PeeHaa埽 no. where? js room again? or here?
16:48
@Gordon He was spamming both in here as in JS
user895378
E_ANDROMEDA_GALAXY_COLLIDING_WITH_MILKY_WAY; system going down for reboot ... permanently.
Anonymous
@Duikboot so is it expiring, or pending deletion ?
4 hours ago, by PeeHaa 埽
9 messages moved to bin
@PeeHaa埽 there is only 4 messages of him there and they are not offensive
16:52
@Gordon I didn't offensive :) spamwhore
Also see the flagged messages
@PeeHaa埽 that's the problem. once the flagged messages are handled I can no longer see them
@Gordon :( That sucks
It is expiring, only the owner of domain has the possibility to buy it again.
When the 30 days are over you can buy it yourself.
^ offtopic
Guys its not the error from the code. Like I said it is with the issue of the network connection. It works fine with mobile data, wired except for WLAN. — Jean 2 mins ago
@PeeHaa埽 heh, turns out I just didnt know where the link for it was
16:57
@Gordon :-D
Anonymous
the domain expired about 2 months, it should be available by now, considering deletion is and pending, is added === 40 days
@Gordon Please tell me it was behind the konami code
in bin, 3 hours ago, by ereOn
I WANT A PROGRAM THAT GIVEN A NUMBER OF STRINGS GIVES THE LARGEST OR THE ONE THAT CONTAINS THE WORD "BANANA". PLEASE SEND THE CODE TO [email protected]
looooooool
just.... wat.
16:58
> . . . PLEASE SEND THE CODE TO [email protected]
@PeeHaa埽 nah, it was hidden in the mod menu for the user
exactly
> . . . ELITE_CODERZ . . .
16:59
LOL
@LeviMorrison hahaha, not so elite if you dont know how to spell l337, dork
user895378
@Lusitanian Oh noes! You find mah other SO chat alias!
Keynote starts #adobemax. CEO enters the stage and takes a look back on history of Adobe.
figures when you are the CEO of a company with no future
Wise.
wait, that's today?
17:07
Adobe's been dying a slow, painful death for six years
their stock is doing pretty well
Really? I don't understand that at all.
Granted financial types like @rdlowrey are clearly smarter than me ;)
/me just purchased some stockl
user895378
@Lusitanian Nah, the only thing "financial types" really know that the average person doesn't is that outcomes are impossible to predict without inside information (which is illegal). Beyond that all you can really do is get quality data so that your statistical models help you choose correctly 55% of the time. At that point it's just a numbers game.
@ircmaxell yes. at least it's in my twitter, so I guess it is
17:11
:-D
user895378
You use math to eliminate as much uncertainty as possible and then just do as much as you can with those models until the market corrects ... at which point you go looking for newer/better/more descriptive data.
@rdlowrey lol yeah...and since its illegal, insider trading definitely doesn't happen.
@ircmaxell multiple tweets reporting about the keynote that is. not just that one tweet
but i really don't follow. what exactly does Adobe plan to do over the next ten to twenty years to...survive?
user895378
@Lusitanian Don't say @Lusitanian's mom. Don't say @Lusitanian's mom. Don't say @Lusitanian's mom.
17:13
@Lusitanian well, I guess their Creative Suite and Acrobat are doing pretty well
user895378
People buy the crap out of the AdobeCS ... and it's expensive.
@rdlowrey I own it
@rdlowrey I'm up over $2k over the past week. $1k alone on Friday...
@rdlowrey hmm. true.
user895378
I've purchased a CS suite as well. Also, it's one of those things that businesses will blindly buy because employees say they "need." That's a really awesome place to be if you're selling things.
posted on May 06, 2013 by Soenke Ruempler

<?xml version="1.0"??> It’s warm, the sun is shining, the sky is blue, you have php nerds ranting around - sounds familiar? Yes, it’s PHP Unconference time! It was the 2nd PHP Unconference in Europe, which took place last weekend at the Free University of Berlin. Thus, we Jimdos didn’t want to miss the opportunity to attend this awesome (un)conference. There were loads of coo

17:17
@rdlowrey A Creative Suite Suite?
user895378
Yes yes. Redundancy FTW.
user895378
I also go to the grocery store.
user1577303
hi guys
How much money did you need to get out of the ATM Machine to purchase it?
user895378
@Lusitanian I think I spent in the neighborhood of $900 at the time. I kind of felt obligated after using cracked versions of every adobe product for my entire life :)
17:19
@iroegbu the correct way to overhear someone on Twitter is OH @username "What he said" ;)
@rdlowrey That's insanely expensive o_O
in jsp one can use java bean,servlets to separate business logic ... how can it be done in php .. (Is it only possible in php by putting business login in separate php file)
user895378
Yeah adobe rakes it in, man.
user895378
@ircmaxell Nice :)
yeah but you're the only paying customer. everyone else just uses your license key, obviously.
17:20
To be fair, the Adobe CS Suite is not that expensive compared to other industry standard software. And it's not like it's overpriced for what it does.
user895378
I actually have a pet theory that Adobe purposefully makes its stuff easy to crack so that every script kiddie and college student learns how to use it to do everything. Then when they grow up they or their company become guaranteed business.
user895378
(or maybe that's just me)
@rdlowrey save this for
@rdlowrey back at University someone from MS admitted at a MS road show that they dont care when you pirate Office for exactly that reason
user895378
@Lusitanian Also known as: the (removal) window or 9PM-12PM GMT-500
17:22
@rdlowrey Microsoft did something like that.. When I was in school all the students were given copies of MS OFFICE as part of the orientation... it was almost like Microsoft was a sponsor handing out goodie bags.. "Here kid the first hit's free"
user895378
Gotta admit, it's not a bad strategy.
@rdlowrey precisely
in jsp one can use java bean,servlets to separate business logic ... how can it be done in php ..
Anyone use Vagrant?
@Pheagey me
17:23
Production or Deve enviroments?
*dev
@Pheagey dev
How do you like it?
@Pheagey well, it's fine. it's not like it's doing so much though. the main benefit is distributing the VM in teams IMO and being able to version the Vagrant file and the provisioners you use.
So your not using it to deploy standardized development environments to your developers?
@Pheagey I am a freelancer, so no. But that's what I would do if I had developers.
17:26
Im think about trying it out for myself. Between work/home/notebook to standardize my dev environment.
Anyone here good with Plesk? I'm having an odd error
@TheSnooker shoot
Trying to create a new Subscription for a Domain.. but it keeps erroring out with "Error: No secure shell available". When I check the file system it seems to create the directory but nothing is inside it. I googled a bit but i'm not really finding much about it.. other then this. http://kb.parallels.com/en/113364... which when I checked was already correct.

I don't want to run the bootstrap.sh because it's a production server.. and I don't know what bootstrap.sh will do..
helpless people in javascript chat room dont go there lol :D
well guys i need some help you can say some suggestion
I have question can we autoplay video which is on 3rd party website other then youtube
@MalikUsman I hate autoplay! Let me control when to start your video
@ircmaxell Smart move
Recurring payments FTW
massive fail
> The company has no plans to release any new versions of Creative Suite going forward, but Adobe will ensure that every CS6 application will run on the next version of OS X and Windows. It will also provide the usual bug fixes and security patches, but it won’t add any new features to the tools.
you use Creative Cloud to install CS6 apps.
so they aren't adding new features to Premiere?
Adobe is tanking since that announcement was made
why did I long them
17:56
@ircmaxell lulz
Now, to dump and recover, or to hold out for a while and see if it bounces back
keep them
I purchased at $0.26 per contract, current bid/ask is $0.22/0.24
I wish options had a trailing-stop-loss feature
user895378
They could ... if the people writing the trading dashboard had a bit of imagination :)
It'll recover...
user895378
18:04
My experience is that the financial world is rife with garbage software. If you just throw out the word "algorithm" you can find dumb business majors who will throw $$$ at you.
@rdlowrey I'm working on an algorithm :-P
user895378
On second thought, though, most fields are probably riddled with garbage software.
user895378
@ircmaxell /me throws wallet at monitor
reddit.com/r/PHP/comments/1dsucb/our_failure_as_an_industry Only +1/-0??? WTF? Was it that bad of an article?
user895378
Haven't read it yet. On my way ...
18:13
> Vision without execution is hallucination
user895378
@ircmaxell Maybe you did this on purpose, but I think you got bitten by the "Markdown should work everywhere" bug:
user895378
*"Act like owners, not renters."*
user895378
(asterisks present in the article)
whoops, forgot to fix that (drafted it in markdown initially)
/r/PHP makes me sad
Anonymous
18:15
what's new
@rdlowrey fixed
@Robbert You're welcome !
user895378
@ircmaxell I do that all the time anymore. My emails are littered with unparsed markdown :)
@rdlowrey i do this all the time. it's bad.
18:18
Best spent $25 ever.
@rdlowrey Just realized my signature/email is HTML :harakiri:
ADBE is creaping back up
Hi everyone i have some queries regarding database please help me
You are trying to create a User Defined function as follows:
Create Function UpdateUserTbl As
Begin
If(select count(*) from UserTable)>0
Begin
Update UserTable set LastUpdateDate=getdate()
End
End

However it throws an error.What could be the issue?

(a)Only system tables can be updated from functions.
(b)UPDATE statements are allowed in the body of user_defined functions if the table modified is a table variable.
(c)the option update_function has to be set to true before the function is created.
user895378
@webarto hehe
hello
-1
Q: mysql stored procedure syntax error :

asifaI have a mysql stored procedure which is giving me the following error:- #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set intoffer = 'select max(offerid) from home' if(intoffer IS NULL) then set int...

-1
Q: syntax error in mysql during tringger definition

InfridI'm trying to use a trigger defined as follows -- the table CREATE TABLE codici_ddt( id_ordine VARCHAR(15) NOT NULL, id_invoice VARCHAR(15) NOT NULL, ddt_numero INT(8) NOT NULL, fatturazione DATE NOT NULL, ddt VARCHAR(20) NOT NULL, FOREIGN KEY(id_ordine) REFERENCES ordini_dal_web(id_ordine), PRI...

@tereško Are you there? :)
18:31
0
Q: Mysql syntax error 1064 using if statements

JimI am attempting to run the following query: (IF(book.book_type_id = "1", IF(inventory.cost < (follette_title.usedbuyingprice *1.37), follette_title.usedbuyingprice*1.37)), inventory.cost) AS Cost, which is trying to see if the book type is 1 then check to see if the cost is less than the foll...

Do you attach PGP public key in your emails?
@tereško I've came here to apologize (yes), some time ago, I was asking for javascript IDE and you've mentioned sublime. I've said something about not being an IDE, or something like that, not sure, whatever. I was stupid. Sublime is the new vi & emacs at the same time. It's totally awesome.
@tereško hope you'll enjoy this moment :)
18:36
@KamilTomšík he will be able to read your message when he connects or comes back
btw: what do you guys think about meteor?
Nothing...I don't know what it is!
:tumbleweed:
user895378
@webarto I really don't know anything about PGP ...
18:38
@KamilTomšík
@ircmaxell meteor fail?
@KamilTomšík i will bookmark it
yup
fails at Security-Driven-Development. Therefore, is a total fail
@rdlowrey that came across my mind when Kamil mentioned meteor :P I send it i.e. in signature, and you want to send me attachment, and you encrypt with my public key (which you have from my signature) and I decrypt it with my private key :P
@tereško sooner or later, you had to be right :-)
@ircmaxell because of why? what exactly is the problem? I am considering learning it.
user895378
18:41
@webarto nifty ... but how do I know you are who you say you are?
@KamilTomšík full database access to the client. No access controls or server-side validation.
@rdlowrey email sucks
@ircmaxell what I saw at nettuts, there is some restriction layer
hi people
@KamilTomšík they may have hacked something in recently, but I steer clear of the entire project based on the lack of design with security in mind. Therefore anything extra baked in is going to be incomplete by definitioin
18:46
@ircmaxell what would you recommend?
um, something sane? Like angular in the browser
so you dont like the idea of sharing some codebase between server and client?
not at all
Parts can be the same, but you shouldn't be interacting with a database in the client
you should be interacting with an abstraction of an API...
Kamil
@Kamil
hi
I need help please
@ircmaxell , did you do some touch-up on your blog's design ?
18:53
the comments are now Google Plus instead of the old ass comment system
well , that part i recognized , but seems that some cleaning has been done in sidebar too
Oh? nice
.. or maybe i just haven't been there in ages
Also, you need to do something with your "labels" widget. It's getting out of control.
Yeah, I know
part of me likes that htough

« first day (933 days earlier)      last day (4241 days later) »