« first day (1774 days earlier)      last day (3168 days later) » 

12:10 AM
pff, I always regret from trying to use Gratipay.
 
user895378
So ... @ircmaxell may have just seriously diminished my available time for open source considerations.
 
How so?
 
@NikiC @rdlowrey is now my bitch
 
user895378
It's true. That Tony Ferrari guy now controls whether or not I get paid.
 
I told you not to give him power of attorney.
 
12:21 AM
user image
12
 
user895378
^
 
12:36 AM
o.O
You guys met up?
Also, @rdlowrey, what's your secret for a full head of hair?
 
1:37 AM
korean bar?
 
2:33 AM
Morning..
 
2:50 AM
morning!
 
morning
 
user895378
3:26 AM
Hmm ... drinking and disappointed by the lack of room 11 commentary on that sweet open moithed pic
 
@rdlowrey does that mean you are a grovo employee or just @ircmaxell's bitch in general
 
4:11 AM
@rdlowrey :P
 
4:34 AM
moin
 
 
1 hour later…
user895378
5:37 AM
Also disappointed by my inablity to spell "open-mouthed" considering the number of times @PeeHaa's mother has demonstrated the technique.
 
user895378
BOOM.
 
Abe
youtu.be/q8iAUl2RvJI foo fighters rickroll anti-gay protest :D
 
5:56 AM
morning ...
I'm going to do writing a blog post today I think, explain changes in pthreads ...
 
good mornings
 
moin
@rdlowrey you're working with anthony now ?
 
mornings
 
6:11 AM
moin
 
anyone else got spammed from a company in spain on behalf of some social media network app because of having a github account lately?
just received such an email and was wondering how epidemic that is.
 
@hakre I got one from India
Ayushi Rastogi <ayushir@iiitd.ac.in>
13. aug. (for 12 dage siden)

til mig
Dear Ronnie,

Hello! My sincere apologies for the unsolicited direct email. My name is Ayushi Rastogi and I am a Ph.D. candidate at IIIT-Delhi
and bla bla
 
@RonniSkansing wtf he is from really really good college rather best college of India iiitd and that dumb
 
Seems he is researching if people having a tendency to not do pull request on people from India
 
6:16 AM
@RonniSkansing no that was looking like a more serious one.
 
l8ters
 
@RonniSkansing sorry I also misread the collage name .. never heard about iiit ( could be average college ) its IIT-Delhi (which ranked first in India ) :)
 
Thats what I am thinking abt nullpointer :P
 
@AnmolRaghuvanshi i don't get it, what ?
 
6:21 AM
Its iit delhi I have also never heard of iiit delhi and you are saying its good college
 
=]
well I filled out the questions, hope they can use it.
 
Morning
 
6:41 AM
Hello Guys
I am New to PHP
ANd I need Some Help Regarding Screen Sharing in Php
I Found a Github link for Browser Screen Sharing
But How can i add it into My php project??
 
6:58 AM
Doesn't it offer a guide to install / use ?
 
i didn't find it in that link
@Epodax
 
@yash "For some online demos and documentations, make sure you pay the project website a visit!" -> janus.conf.meetecho.com - One of the first few lines
 
posted on August 25, 2015 by kbironneau

/* by MrJ */

 
7:12 AM
moin
 
morning Frnds
 
Morning
@Patrick you are from germany right? "Moin"
 
no I am not
 
@Patrick because moin is good morning in North Germany
 
7:26 AM
@FlorianMargaine are you remember you told good luck to @tereško ?! he did it :-) I can use my VBox now :-)
 
instead of: if (isset($_POST['name']) && isset($_POST['password'])) is it possible to do a foreach loop?
 
@Demorus yes
 
morning
 
@Epodax so like foreach(array value)
@Epodax I thought of something like foreach ($_POST as key)
actually im not sure
I might as well post a question on stackoverflow now xD
 
@Demorus or isset($foo, $bar, $baz ..)
 
7:41 AM
@RonniSkansing cleaner makes it still static though. I think foreach would be more dynamic or not?
 
Am not sure I see the purpose of doing a foreach in the specific case
You want to check if specific keys are set, not just any key
 
hmm
 
mronin
 
I need little help in xml?
<?xml version="1.23.34.98" encoding="UTF-8"?>
error on line 1 at column 18: String not closed expecting " or '
 
@rdlowrey You look middle eastern!
 
7:51 AM
@MuhammadRaza that's not a valid version number w3.org/TR/xml/#NT-VersionNum
 
@Demorus phpfiddle.org/main/code/xv3t-2kyx one way to do it.
 
8:11 AM
How did you save this?
I got a version too I got to show you
@Epodax anyways, check out my version http://jsfiddle.net/bfsns1zm/ what do you say?
 
I have a user there?
@Demorus You are missing some closing brackets?
 
@Demorus Still missing a closing bracket...
 
Code makes sense, doesnt it?
 
somewhat, but try your code, if it works for you, then use it.
 
8:15 AM
:D crazy brackets
@Epodax is it good practice to break out of for loops and foreach? Similar to how exit is used on header redirects etc
 
@Demorus Define good practice? It's useful but I think it depends on the situation it's used in... Either ways, I don't think I'm the best person to ask about "good" practice, I have plenty of bad ones and I don't wanna pass those on.
 
moin
 
Abe
morning o/
 
morning \o
 
good mornings
@Demorus it's normal to break out of loops... why are you using $_POST that way?
 
8:30 AM
@iroegbu it is dynamic, automatic, it is cooler.
@iroegbu I can change the values to whatever I want later without looking back at my isset code
 
I want to say "are you mentally in charge?", but I'll be quiet.
 
@Demorus Convenient isn't always the smartest way to code...
 
Heh, my convenient way of programming resulted in a 10 minute long script due to database queries inside loops.
 
8:48 AM
moin
 
posted on August 25, 2015 by Joe Watkins

Fig 1. A sign post to the future (unverified).The last few months have been a hectic time in the life of a PHP extension developer.: PHP7 approaches fast, with the first Release Candidate already out in the wild. PHP7 probably feels like the future to you, but it's my here and now ... I wonder if that makes me a time traveller ... I digress ... When it became apparent that the changes to PH

 
Abe
@JoeWatkins .ninja is such a bad ass tld :D
by using the php C extension api, can i define constant objects? like, define("FOO", new Baz()); (note: i'm not planning programming nasty stuff, just out of curiosity :P)
 
Abe
interesting. how about class constants instead?
 
you can't have a constant object
 
8:58 AM
Apart from the other obvious logical problems (non constant state, for one), the parser would choke when you tried to use them unless you assigned them to a variable first
 
serialize?
 
gross
 
The more important question is what you would hope to achieve by having a constant object
 
Abe
because Levi implemented enums by using objects stored into constants @JoeWatkins, was that an engine change?
 
Actually, that said, I can think of one legit use case that we don't currently have but might make sense if we binned resources
(that being the stdio constants)
 
8:59 AM
not sure, it was a horrible hack that cannot possibly work everywhere ...
 
Abe
@DaveRandom well, constants are "immutable variables" in some languages. means that once you set them, you can't re-set that variable anymore. so the definition is subjective
 
@Abe I personally think that constant means constant. It doesn't make sense to have a mutable value in a constant. By definition of what the English words mean.
 
Abe
in other languages it's simply up to you to assign to them immutable objects
 
actually you probably could make it work everywhere with regard to user code ...
 
I don't like languages that nanny you, but I also think it makes sense to restrict things that don't make sense (as it were)
 
9:03 AM
it's still horrible ...
 
Abe
sure it is horrible :P but if one has great power, should also have great responsibility :D
 
Good morning
 
Abe
@DaveRandom having objects, even mutable, stored in constants can work. the fact that it's not possible in php, it's because php has two equality comparison operators (== and ===) which would make comparison confusing. in other languages you just have one and would work unequivocally
 
mornin
 
mornin
 
9:17 AM
@Sajad the important part is what you did you learn
 
Does anyone got an idea how to make this script faster? gist.github.com/chozilla/40e254617e1a51f3adc3
 
For example, can you install yourself the pdo_mysql extension on your own?
 
Abe
@chozilla tried profiling it? array_unshift could be slow on big arrays, you could try using doublylinkedlist
 
@Abe it looks to me really strange since you have to reset() the double lists and things like that doesnt that take a long time?
ok arrays maybe do that too >_<
 
Abe
reset() ?
 
9:24 AM
rewind()
 
hello I am trying to transfer information to php file and letter load in iframe that same php file using javascript now I want to know how to keep that information to .php file
 
Abe
you usually don't need that
as php rewind()s automatically when entering a foreach()
 
oh. all the things you usually not find out easy. have you done much with this sort of lists?
 
i know i can do it with get method but is if good way to do it ?
 
Abe
not much. linked lists are only good for frequent modifications. they don't have random access for instance @chozilla
i would profile the code first and identify which is the method that is slow. check xdebug and cachegrind
 
9:29 AM
it is so hard for me to set up xdebug :/
 
Abe
because maybe you just need to refactor the method to use append rather than prepend. appending to an array is fast, unshift is slow as hell
@chozilla how many elements will contain $this->_mapPrevious?
 
by the way
 
its the same number as vertices in the graph so not that many @Abe
 
Abe
50? 100? 1000? 10000? :P
 
the other thing is that the graph gets rebuild for every time you set a start location.
 
9:35 AM
@tereško we installed all extentions last night ...
 
@tereško Is my prepared statement ok as it is or am I missing something`? jsfiddle.net/6swd8qo1/1
 
that was one file
 
@Demorus the query is wrong
 
max 1000 currently @Abe there is demo data down there in the second file
 
oh ya
 
9:36 AM
@Feeds nice!
 
? ? marks
 
@Sajad no, we installed only php and some of the mopst commonly used extensions
 
@JoeWatkins Does this mean that pthreads on PHP 7 will be more stable (as in likely to crash)?
 
@tereško like this? jsfiddle.net/6swd8qo1/2
 
@tereško PDO is not one of most commonly extentions ?
 
9:37 AM
the second parameter of mysqli_result is $stmt right? and the first my connection
 
@Sajad you can list all the installed extension with: pkg info
 
Abe
@chozilla code that is causing the slowdown?
 
usually I put in $query directly
 
@tereško ok w8
 
you will see that you have pdo and pdo_sqlite, but no driver for mysql
 
9:38 AM
Will we get a SplFibonacciHeap in php7 ? ;)
 
@tereško ah
 
@Abe changing the start location of cause is a big issue.
 
so, now you should yourself install pdo_mysql extension .. you should understand enough to do that unassisted
 
@tereško ok I will
@tereško one question, when should I connect to server with SSH ? and when I should use VM ?
there is any difference ?
 
@Abe i am not sure if i should even keep the function to do that, because you can simply create a new object with a new start.
 
Abe
9:39 AM
@chozilla i mean, provide me the demo code so i can run it :P i have no idea what that class does
 
oh right
 
@Sajad you shouldn't use VM directly. Mostly because you won't be able to copy-paste content.
 
ok, but I should run it, right ?
 
yes
 
ok
 
9:40 AM
but I will look up how you could run it headless (without that VM window)
 
@tereško how ?
'look up' means 'search' ?
 
@Sajad yes. I know the google keywords: "virtualbox headless command" .. but I have to figure out details
last time I used it, it was a bit tricky
 
@tereško should I close my statement before the header or if? jsfiddle.net/2kbpr8dj
 
@Demorus the mysqli connection gets automatically closed then php script ends. You shouldn't be closing it manually ... usually, at least
 
@Danack for my friend ...i tried some but couldnt find some answers...
 
9:45 AM
@tereško i shouldnt close my prepared statement after execution? or you mean the mysqli connection
 
@Demorus there is no need to close a prepared statement
I didnt even know, that you could close it
 
@tereško whats up with the stmt->close() then?
 
I have no idea
 
It should prevent memory leaks or not?
 
it's your code
 
9:46 AM
lol
 
@tereško I want to connect to server via SHH, when I write the password, It says 'access denied`
I remember I had that problem last night
what should I do ?
 
@Sajad did you use the saved session in putty?
 
no
 
well .. that's probably the reason
 
Abe
9:48 AM
@chozilla that doesn't look heavy at all :P
u sure that's the problem?
 
@Abe well i do this calculation like 10 times in a loop but well maybe it is creating the graph that is slower.
... php7 why you slower?
 
@tereško putty has not any 'save session'
your mean is: when I close VM window, It ask me do you want to save ?
 
what are you talking about?
I explicitly told you to save the putty sesssion yesterday
 
I did what you said
maybe I saved !
 
in Root Access on The Stack Exchange Network Chat, 11 hours ago, by tereško
and then you go back to "session", write in "sajad@localhost" and press "save" .. and then "open"
if you saved the session in putty, there would an item there
 
9:53 AM
what Item ?
 
Abe
@chozilla if you can't properly profile, just use a random:
function benchmark(){
	if(isset($GLOBALS['mt']))
		echo "\n" . number_format(microtime(true) - $GLOBALS['mt'], 20) . "s\n";
	$GLOBALS['mt'] = microtime(true);
}
 
wtf, I think I did not save it ... :(
 
then you need to navigate to SSH > Auth section, add the PPK key again, go back to session, write in sajad@localhost and save it
 
done :)
and worked !
 
9:59 AM
now there should be a new item in that lest, below "Default Settings"
 
yes !
 
you should be able to connect just by doubleclicking
 

« first day (1774 days earlier)      last day (3168 days later) »