« first day (1071 days earlier)      last day (3893 days later) » 

12:05 AM
I'm not sure what's cooler though, this 35 line ASCII script or his brostache favicon :-\
 
1:06 AM
@jphase $chars = array_reverse($chars); why does he do that? Can't he just declare the var in reverse to begin with? Can save two more lines.
also no need to even declare an array, just replace:
$chars = array(
	' ', '\'', '.', ':',
	'|', 'T',  'X', '0',
	'#',
);

$chars = array_reverse($chars);
with: $chars = "#0XT|:.' ";
because $chars[INDEX] will grab the correct char, as strings are indexed.
 
1:28 AM
given a lot of +1's to old questions (and answers)
gotta love SO
 
1:48 AM
ahhhhw
I think I'm starting to accept js as an usable language again
angular makes it actually usable as it seems :O
 
posted on September 20, 2013 by Joshua Eichorn

Over the last couple weeks I’ve been learning Chef to automate setting up all these Amazon EC2 server’s i’ve been using. In the past I’ve had a large ops team supporting me or only a handful of servers so I haven’t got my hands dirty with DevOps before. So far its been fun, I’ve been using enterprise Chef for my testing so the getting started was a 10 minute process. I’m not sure if opsco

 
@Feeds shutup
6
 
2:04 AM
0
A: Maximum сontinuous achievable number

JackThe recursion steps I've made are: If the digit string is available in your alphabet, mark it used and return immediately If the digit string is of length 1, return failure Split the string in two and try each part This is my code: $u = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11]; echo ncan($u), "\n...

Morning problem ... solved, I think :)
Time for the weekly groceries, how domestic ...
 
user652649
3:03 AM
morning
 
4:23 AM
anyone here can help a php newbie with a quick question?
 
?
 
@Madd0g read the room description and try again by just asking your question.
 
4:44 AM
Sheikh Muhammed Ansar Uddin Heera <- Pretty big name
btw mornin
 
5:15 AM
I am back.
 
@DaveRandom Nice work on the matching code; I've added one more test case and it handles it correctly :)
 
5:32 AM
@YogeshSuthar chal ghar pe jaa vapis
 
@Mr.Alien jata hu 1:30 to hone de. Sleeping dogs b to khelna he. Kal tak shyad end ho jayega.
 
haha aur ma ghar jaake kaam karunga
 
English pls!
 
@Jack I said go home, as he said am back, so he replied, wil go at 1.30, and wil play games, and I said I will wrk :p
 
I'm enjoying a free day ... and so, I'm writing C lol
5
 
5:52 AM
@Mr.Alien I want to complete it and then want to work.
 
6:22 AM
what?
 
@Jack u home?
@YogeshSuthar so last game for you?
cuz am starting assassins today
 
@Mr.Alien Yup.
@DaveRandom Couldn't really figure out all those conditions, btw, so I've reworked it to this :)
 
6:51 AM
moin
 
7:09 AM
yellow
 
@Mr.Alien No, after that assasins before it my work.
 
@DaveRandom virginmedia are doing gigabit business broadband lines !!!!!! virginmediabusiness.co.uk/Business-types/Small-Business
can everyone see ushow.us ?
 
PHP Version 5.6.0-dev
 
thnx
 
7:23 AM
Can anyone please help me to solve this stackoverflow.com/questions/18917594/…
 
@Jack well… this is normal ;-)
 
It has to be.
 
@Jack I'm enjoying a free day ... and so, I'm writing JAVA today -.-
 
@Jimbo Then you must do someting wrong ;-P
 
You're writing Java for fun? :)
 
7:38 AM
You're writing C for fun??
 
@Jimbo well, at least I do…
 
@Jimbo Oh, definitely!
 
I woke up from a dream where GTA V meets zombies, and instantly thought, shit I'm doing JAVA today.
 
@Jimbo doing anything interesting ?
 
@JoeWatkins No. Selenium / Webdriver and some JUnit stuff
Oh, also... all
 
8:39 AM
Ok, so I went on the php.net site and mysql_query is deprecated?!?! I can barely do that as it is right now, much less PDO. Why is it deprecated?
I know this probably is sounding stupid, but I just don't get it.
 
@BrandonGelfand When you don't like PDO, just use mysqli
 
Is it any different really? Again still a newbie here, but what is the difference between li and not?
Do I have to change my MySQL database?
@bwoebi
 
You don't have to change the database. The only thing what changed is the API in PHP.
 
@bwoebi Ok, so in your opinion, where is a good place to learn PHP?
I know there is code academy, and youtube, but what is the best way
At the moment I am just working on a project and when I think of something I want to do, I research it, get ideas, and try to do it
 
Well, I begun with a simple online tutorial (in text form) and then learning-by-doing (and reading the php.net docs)…
 
8:52 AM
ok, cool
 
@rdlowrey @DaveRandom github.com/php/php-src/pull/465 :)
 
but you always have to make attention that they're good tutorials and not too old (for example the one which don't recommend mysql_* functions and use instead mysqli or PDO)
 
@bwoebi Have you ever worked with wordpress?
@bwoebi I was reading an old tutorial, thats how I found out it was deprecated
I just wrote like a mini document app, and now I get to redo it all to use PDO
 
@BrandonGelfand I tried once, but I did absolutely not like to work with it
 
morning ....
 
8:56 AM
@NullPoiиteя is that squiggly thing next to the fat mans face what I think its?....
 
@BrandonGelfand :P
 
Dude, children like me use this site ok! lol
@NullPoiиteя I can just see some 10 year old saying, daddy what that?
 
@BrandonGelfand that is the Blue tail snake ... it will bite if anyone ask programming related question to wife or on meta :D
*grr soryy for multiple pin g
 
Lmao, MAKE UP YOUR MIND! :P
 
btw how you doing guys ?
and morning
 
9:02 AM
@NullPoiиteя That isn't, the male, um, "excitement juice", is it>
 
@Jack I'm also enjoying a free day ... at work
 
You mean you're at work doing nothing? :) that's nice
 
Yesterday i learnt a lesson dont take bug/insect in light ... they can bite/sting you and it hurts :(
 
@Jack No, I just enjoy working in silence. I'm the only person in the whole office
 
Time to read PoEAA :)
 
9:11 AM
@Jack cool though ..:)
 
Yeah I'm done with my good deed pr :)
 
 
1 hour later…
10:25 AM
http://stackoverflow.com/q/14009665/1723893
 
morning
 
@NikiC morning
 
morning @NikiC
 
@NikiC thanks for the comments :)
 
niki how did I get build going after applying your variadics patch the othr day, touched zend_language_scanner.l no dice ?
 
10:30 AM
@JoeWatkins hm?
 
I got loads of yy* errors
nvm I think I got it ...
I dunno how ...
 
y-oh-y
Managed to fix that hairy bison last night; turns out you can just rewind the brew configuration script and then run brew install bison again ... figures; now mi has 2.7
 
anyone can help me about server dns?
 
@JoeWatkins yy sounds like the parser
though that is not subject to merge conflicts of course ^^
 
10:40 AM
are you getting same in chrome
 
@NullPoiиteя select an area by dragging across the lower chart
 
yey it means its bug :)
 
no, the top only shows that area on the right.
 
it should looks like (in firefox)
 
checking with safari
yeah, you're right :)
 
10:47 AM
now its time for meta rep-whoring :D Doorknoob already asked meta.stackoverflow.com/questions/194556/… :(
 
Since Aug 24 .. shows how often you look at it lol
 
Hmm, would rebasing my topic branch affect an existing PR on the same branch? It would, wouldn't it?
 
Why does this site suck so bad?
 
Yeah, it sucks SO bad :)
 
10:55 AM
But... why? :(
 
The only thing that wouldn't suck is an SO vacuum cleaner ...
 
Y'all suck, I'm sorry about that.
 
Don't make me try to smoke you :)
 
Go ahead, try to smoke me.
 
 
11:08 AM
Hahahahahahahahahaha! Nice one!
 
Morning
 
11:34 AM
.io domains are expensive :-/
 
How much?
 
@Fabien They are. And all the ones worth having are in use or squatted.
 
Like £60
PA
 
Fuck domains.
Fuck the Worldwide Web.
Fuck websites.
Fuck everything.
 
Your dick is really gonna hurt.
 
11:36 AM
lol
 
Hahahahahahaha.
 
Like rad.io. Shittiest web-radio ever.
That should have been the definitive web radio.
 
lol. Remember Apple didn't own Apple.co.uk till last year.
 
Oh, I know. Someone could scoop it up and make it worthwhile, but still. It's garbage now.
 
tbh having the name Fabien I would want fab.io but that model Fabio ruined that.
 
11:40 AM
Looks like that's being squatted too.
The second .io became available, I'm sure enough people with "lists of words that end in io" flooded the registration that they're all gone several times over.
 
Try portfol.io :)
 
Don't even! :-P
fol.io has been that way since as long as .io has been around.
 
cornhol.io <-- wtf!
 
bumhol.io is available
 
T.P. FOR MY BUNGHOLE! PICATA T.P. CATA!
 
11:45 AM
 
too late
 
Fuck!
 
carrotupmybutt.io ... well, that's not taken yet.
 
bumslingersoftheoldwest.io neither is that one.
Fuck parked domains... Fucking dick weasels sitting on them thinking "hurr durr i can haz monies because i troll nameservers hurr"
 
11:50 AM
it's ridiculous ... random.io ... whoops, not there.
And you would think that pat.io and patio.io are owned by the same person; guess again!
It's the wild west all over again, IO style!
 
Ugh @DanLugg that crashed my Chrome but wouldn't stop playing the song.
 
@Fabien It did to mine too!
 
Bad day for Chrome.
 
I've got too many personal projects on the go.
 
11:56 AM
That's it, @DanLugg is on my list of "do not click his links"
 
:-P
 
It couldn't even recover my tabs =(
 
"Kaspersky denied access to ..." :)
 
lol
 
Wut?
Perhaps a room owner should trash that link then. It's way past edit time.
 
12:00 PM
@NikiC goto switch_OS;
 
@bwoebi lolwut
 
@DanLugg löööl ^^
 
You're so naive
Don't tell me you actually believe in the OSX security propaganda?
 
Nah I think I will star that link so everyone can enjoy it.
 
@NikiC well… on OS X I don't see this problems; I don't say that security is better here. There's just less malware here. (never encountered any at least…)
 
12:03 PM
Yes, of course there is little malware for OSX because it's a niche operating system. But that's something I personally would not rely on
 
@NikiC but actually I meant you should switch to any *nix system
@NikiC I don't. But at least I see less such warnings…
 
@bwoebi Be more specific. You mean to say "I never see such warnings", correct?
 
@NikiC no. My firefox shows me sometimes warnings.
 
mogoring
 
@bwoebi In that case: "less" than what?
 
12:07 PM
@NikiC less than on Windows?
 
@PeeHaa moringo
 
Hello
 
@bwoebi less on windows, browsing the same sites, using the same antivirus software?
 
@PeeHaa mronrininger
 
I'm trying to learn PDO. How does one get an id from MySQL and use that result for another query? What I'm trying to do is load a bunch of elements in a table that needs to only be visible by people who have proper authority. I need to get the user ID for that when the user logs in.

I am unsure how to capture. Any help would be nice.
 
12:12 PM
I love capture the flag.
 
@deathtap There queries will still be the same regardless of whether you use mysql_*, mysqli_* or pdo
 
My mind is drawing blanks. I have said query:

$query = "SELECT id FROM members WHERE id=:id";

Then said statement:

$stmt = $dbc->prepare($query);

Then I have said params:

$stmt->bindValue(":id"); //this looks wrong.

Then execution:

$result = $stmt->execute(); //run query

My brain isn't working. But after login, the page redirects (which works).
But I cannot get the query to get the right values...
Maybe I'm going about it wrong
Maybe I should reference the session instead of trying to get the id...
>.<!
 
Hi all :)
really not getting..what silly thing I m skipping :(
Things look ok to me but sure it is not
 
y u no use xslt? :)
 
@Jack wut
@Jack The only thing worse than using xslt is using xslt on a soap document ^^
 
12:23 PM
@Jack any reason for the preference?
 
@NikiC oh c'mon, xslt is just a little misunderstood =D
 
You guys ever sent an apple product back for repair?
 
@swapnesh Because XSLT sets the true geeks apart from the boys :)
 
@Jack It is for PHP4 ?? php.net/manual/en/book.xslt.php
or it is from PHP4 and afterwards?
 
No, it's this one. @swapnesh
 
12:29 PM
@jack I came here for the solution to my problem, ironically I always carry a new thing to learn :)
 
No, you post a question on the site for a solution, you come to the php room for exultation :)
Anyway, you're doing the wrong getElementsByTagName().
 
@Jack which one?
 
I've added an answer.
 
:-)* :-)* :-)* :-)* :-)* :-)* :-)* :-)* :P
 
See, exultation!
^^ a bit racy, no?
Who wouldn't want to help a total slut?
 
12:40 PM
lol. I just managed to make gdb segfault while debugging PHP … :o
 
yay, today is flying day
 
@ircmaxell are you the pilot?
 
Anonymous
All Hail, the king is here....
 
noipe
in 12 short hours, I will be somewhere over the North Atlantic
 
When are you coming to Singapore? :)
 
12:41 PM
Over the pond aye.
 
@Jack Agreed; XSLT is pretty sweet actually.
 
Anonymous
@DanLugg Nope. its a nightmare.
 
I've used it in a few places where the transformation could be nicely formalized.
 
Anonymous
I tried it like 3 weeks ago
 
Anonymous
It was pretty hard
 
12:46 PM
I never said it was easy, I said it was sweet.
 
@Simon_eQ That's what she said!
 
Anonymous
xslt sucks!!
 
I vaguely recall @ircmaxell telling me of a content rendering/management framework with a bit of PHP glue, but mostly XSLT. I don't know if I found the one specifically he was referring to, but in the process, I found several other very powerful, seemingly similar, implementations.
 
Anonymous
@DanLugg checkout OKAPI framework
 
@Simon_eQ It's delcarative/functional, so if by "sucks" you mean "a departure from PHP", then yes, it sucks.
 
12:49 PM
@Jack when I am invited to a conference which will pay for the trip ;-)
 
@NikiC well, on windows and mac you don't really have the same anti-virus software… (browsing same sites… did never really test; is just a general feeling that I get less warnings)
 
@Simon_eQ You could argue that the syntax is a bit obtuse and harder to understand than your regular stuff, but "xslt sucks" is just a noob expression.
@ircmaxell Let me see if I can warm up the local community lol
 
Anonymous
@Jack OK. I will just say "the syntax is a bit obtuse and harder to understand than your regular stuff"
 
'Ata boy
 
Anonymous
It was my first assignment when I started my intern about a month ago, and it was a disaster. Because, from the start when I was asked if I knew what xslt was, my first response was "X-What???"
 
12:53 PM
@Simon_eQ I'm not quite sure why you recommended I check this out.
 
My initial reaction was to throw it in the trash as well, but there came a point in my project where I really wanted to not write the conversion code myself.
Especially when you have to deal with namespaces.
 
Anonymous
@DanLugg because, its damn good.
 
?
 
Anonymous
!
 
I... I just don't see how this relates.
 
Anonymous
12:59 PM
 
@Jack That's what got me into it. I basically reimplementing (without being aware) XSLT in PHP. I thought to myself "someone probably already did this".
 
...
Seriously?
 
Yes, we take ellipses quite seriously here.
 
@Jack as per the suggestion I changed the name but still no luck, edited names for the convention and readability stackoverflow.com/questions/18932232/…
 
Anonymous
I am dying to make a mini-php framework, do you have any suggestions as to how I should start? @DanLugg @Jack
 
1:08 PM
@Simon_eQ Really, start by evaluating what problem your code is going to solve.
 
Good morning everyone
Isn't a beautyful day?
 
Morning @MarcosEusebi
 
I think you should start any project with good coffee!
 
Night here :)
 
1:08 PM
@Jack Or Redbull. I go with Redbull.
 
Here's my micro-framework

<?php
 
Yikes, punkster.
 
Well <?php is a good macro >.<
 
I only drink red bull after a twelve hour flight when I need to drive.
 
Anonymous
@DanLugg Its just very small framework to create dynamic pages easly, with a simple crud application abilities
 
Anonymous
1:09 PM
@Jack I have a coffee right now, if you need a proof, I can send you a pic :)
 
It needs to be good coffee.
 
Anonymous
I think this is also a good way to start a project
 
Anonymous
@Jack I can't tell whether or not a coffee is good.
 
@Simon_eQ Ok, now apply the same process to each module or set of components of the framework is comprised of: "These components solve the problem of routing efficiently and modularly", "These components separate the data persistence from the data validation".
 
1:10 PM
I need someone here stackoverflow.com/questions/18932232/… :P :P :P
 
That shall be your number one priority, knowing what good coffee is.
 
^^ That, is what I'm doing right now; cept' not with a server name.
 
Ugh, is that Redhat install?
 
I name my servers after planets in other systems
Does that make me weird?
 
PHP can enablish a keep-alive socket?
 
1:12 PM
I think that's normal.
@MarcosEusebi Yes.
 
I had a friend who used to name them after penis slang names
 
Only as weird as M83 (kinda)
 
Jack, It can response at any moment?
 
Eh sure.
 
for example, on begin data recive or another event?
 
1:14 PM
@deathtap inter server communication must have been a gay experience.
 
lol
 
Holy lord e.e
 
@Jack lol I PEE C
 
@MarcosEusebi It's sockets, what else do you want?
 
I was looking into a project without cron wich emulates a gameserver
So, is possible to use an external webosting as gameserver?
Respoonvise socket i mind. >.<
 
1:18 PM
Hmm I haven't seen anyone create a Droste face palm before ...
 
Is the client side applcation is based in HTML5
using Socket class
But I think a another programing language should work better aabout the threads.
 
Hey, trollio.io is still available, how about that.
@MarcosEusebi Oh, you want web sockets or what?
 
I'm just looking a new side of games in web brownser
 
Anonymous
Whats with the .io tld, I see many programmers are buying those, just don't understand the idea behind it
 
Apparently they all like the Indian Ocean.
 
Anonymous
1:26 PM
Oh., that makes sense
 
Anonymous
WAIT!.. why??
 
Anonymous
damn.. simon.io is taken
 
duh
 
Anonymous
I wouldn't buy one anyway, cause I think its like $30+ a year.
 
They're about £72 PA
 
Anonymous
1:29 PM
That is just ridiculous. even with free VPS for a year included.
 
Lol, 1 year = 60 ... 2 years = ...... 2 x 60 .. what a couple of a-holes
Outside EU you pay less.
 
simonisstylinon.me
 
You guys seen dochub.io ?
 
Anonymous
since-its-expensieve-dont-buy.io
 
io.io - not available =( same for oio.io
 
Anonymous
1:31 PM
@Fabien really awesome :)
 
However, ioio.io is :)
 
It's a bit slow but it is a nice reference place.
 
Anonymous
mea.io
 
@Fabien not up-to-date for php.
 
@Jack Which is amazing considering it's slow :P
 
1:36 PM
It's amazing though, you set up a bit of infrastructure and sell each name for 60 a pop per year ... instant richness =D
And most names will just gather dust.
 
I subscribed to PHP Developers on Google+ and this has just appeared on my feed. I am removing them from my circles.
 
I mean, who would do anything with neo.io; look at it!
 
Anonymous
I am trying to teach the backward-living Gov of Eritrea to acquire its rights to sell the tld .er which would become a boom, considering how many words in just English end up with er but, they are a pain in the ass.
 
Anonymous
Just think about twitt.er
 
Anonymous
damn, stone-age government.
 
1:39 PM
"What did you today, Steve?" ... "Oh nothing, I bought neo.io and put a 'hello world' page message there." ....
Worse, it seems to run on Sun.
 
More money than sense.
 
Anonymous
wat.er kill.er programm.er dang.er bank.er
 
Anonymous
Get those names and you are filthy rich :)
 
Let me know when that happens ... I want fuck.er
 
Anonymous
ahh dream.er @Jack
 
Anonymous
1:42 PM
keep dreaming
 
YEAH! I figured it out!
Woo
Took me a while.
 
The earth is round?
 
Anonymous
business.com
 
1:49 PM
Unfortunately this leads to mass buying of domains by people thinking they will become rich. An acquaintance of mine owns "shittypedia.com". He's an idiot.
 
@Fabien ohh sex.com for $13,000,000 O_o
 
If he ever makes it rich it will be through dumb luck
 
Anonymous
@Fabien I hope he writes an article about himself first :)
 
He should have gotten poopedia.com :)
 
This guy is the simplest of the simple.
 
1:52 PM
Hmm, I wonder what vulnerabilities Apache 2.2.22 has ...
 
Anonymous
memory exhaustion ?
 
Anonymous
Acunetix will tell you all about it.
 
Hmm, not enough interesting ones.
 
if one is using if like this stackoverflow.com/q/18933152/1723893 it mean he is OMG expert :D
 
I've seen worse.
 

« first day (1071 days earlier)      last day (3893 days later) »