« first day (1272 days earlier)      last day (3679 days later) » 

7:02 PM
@JonathanLafleur Quick question, would I apply the CSS to my background element or my entire class?
 
@PeeHaa it's not working... it's a really nice function, but it's not that i'm looking for,

take for example

date=>20130430 heure=>20 minute=>30
date=>20130429 heure=>20 minute=>30
date=>20130429 heure=>20 minute=>00

have to be sorted by date and on same date by time

date=>20130429 heure=>20 minute=>00
date=>20130429 heure=>20 minute=>30
date=>20130430 heure=>20 minute=>30

Pretty sure we are really close to the solution with your last implementation !
 
@TyreeBrown depend on the way you try to achieve it, is it with the jsfiddle version i gave you or the codepen version ?
 
@JonathanLafleur jsfiddle
 
7:04 PM
okay, in this case you don't have to add css to your version, only js
in the jsfiddle version the blur have a little opacity effect only for non-js user
 
$derArray = [];
foreach ($leArray as $key => $array)
{
  $time = vsprintf('%s %s:%s', $array);
  $time = strtotime($time);
  $derArray[$time] = $array;
}
ksort($derArray);
@PeeHaa @JonathanLafleur noobs
 
@webarto it's easy to call people noobs, when I first ask to sort, not to rewrite the array.
;-)
 
@JonathanLafleur Hmm... Im a bit confused on how to do that? I just want achieve this effect. As you can see here I have it somewhat setup, but I am missing that blur overlay.
 
You can then just get rid of the keys like $leArray = array_values($derArray); @JonathanLafleur
And I just love to call @PeeHaa noob.
We're all noobs, meh.
 
@webarto +2
 
7:10 PM
Dec 25 '13 at 15:47, by webarto
Accepting that you suck is the only way you suck less :P
 
@webarto Lol!
@TyreeBrown it's not that easy, you have ton include a little bit of JS to achieve that, only the css blur effect will not do what you want
 
evenin'
 
you need canvas and canvas manipulation
 
@JonathanLafleur Alright, I just wanted to make sure I wasn't confusing you with my question/problem.
 
@TyreeBrown no don't worry ;)
@webarto finaly you where not rewriting the array -.- sorry about that, I just tried your solution, but not working much ( eval.in/135091 ) as you can see here, it's only sorting on time and not on date :P
 
7:18 PM
Protip: You can do $leArray = $leArray2 = [...]
Yeah, I haven't read what actually needs to be done.
array (size=3)
  1367258400 =>
    array (size=3)
      'date' => int 20130429
      'heure' => int 20
      'minute' => int 0
  1367260200 =>
    array (size=3)
      'date' => int 20130429
      'heure' => int 20
      'minute' => int 30
  1367346600 =>
    array (size=3)
      'date' => int 20130430
      'heure' => int 20
      'minute' => int 30
@JonathanLafleur This is what you've posted as expected, dunno.
 
8 mins ago, by webarto
Dec 25 '13 at 15:47, by webarto
Accepting that you suck is the only way you suck less :P
Unless you're a hooker
 
What a peasant.
 
lol.
 
;D
 
@JonathanLafleur 'heure' => 30, whaaa?
 
7:21 PM
@JonathanLafleur Ok, I hate that i'm keep bothering you. But I am not to familiar too much with JS, so what how would I go about achieving this through JS?
 
@webarto Um, thank you?
 
@salathe No, just giving you the "correct" array.
To do your magic.
To be honest, I saw vsprintf from you the other day.
 
@TyreeBrown let me a minute I'll look at something
 
Quality of my life improved drastically.
 
7:24 PM
@webarto That must have been some pretty crappy quality of life beforehand. :P
 
Still is.
OK, I'm going to shoot some tootski.
 
$time = vsprintf('%08d%02d%02d', $array);
$derArray[$time] = $array;
You're welcome. :)
 
Witchcraft. But that's going to fail :P
 
How?
 
Yeah, not really.
 
7:28 PM
@salathe what you just posted ?
$time = vsprintf('%08d%02d%02d', $array);
$derArray[$time] = $array;
@TyreeBrown okay, I was looking at your stuff, is it possible for you to build a jsfiddle ? i'll fix it for you
 
@JonathanLafleur Just a small amendment to @webarto's code, there was no need to use strtotime()
 
@salathe What is the sort algorithm? AFAIK some will fail, natsort? I haven't tested, it should work.
 
bbl in a few minute
 
@webarto it'll be fine in this case
 
lovely pings :)
 
7:30 PM
HELO
 
@PeeHaa E_NEED_MOAR_PINGS
 
EHLO
 
@JonathanLafleur I have no experience in doing so, but I'll give it a shot.
 
:)
 
7:31 PM
lol
 
MAIL FROM:<webmaster @PeeHaa . org>
 
I want to watch a movie. Anything newish and good?
 
Dallas Buyers Club, The Secret Life of Walter Mitty... make sure it's this one: Dallas.Buyers.Club.2013.BRRIP.x264.AC3-RARBG
 
jumper
21 jump street
wolf on wall street
 
@webarto I think I already downloaded dallas buyers club
 
7:34 PM
back
 
22 jump street trailer released
What kind of movie @PeeHaa?
 
@Fabien Dunno :P But I think I will check out wolf on wallstreet. I'm in the mood for dope and money
 
what did I miss ?
 
Gravity, American Hustle, The World's End, Rush
 
It's looooong
 
7:36 PM
It's not long, that's the standard size.
 
gravity? The looked horrible
 
@JoeWatkins PHP 5.6 beta 1 finally released? :P
Watch the Wolf, you'll see my username there @PeeHaa.
 
perhaps ... so I missed out on some merges ... perhaps ... no big deal, I can catch up ... probably ...
 
@PeeHaa maybe you can find the extended director's cut ~4hrs :))
 
not but in all seriousness, I have a lot on my plate ... anyone got clone to work on peepz yet ?
 
7:38 PM
I need you to make my site go fast @JoeWatkins :D
 
@webarto good!
 
I'm fucking barely keeping fucking eyes open, thanks ComputerScienceᵠ
I'm doing this first thingy good.
Really, what can one do to make fast site go faster?
 
what is it?
 
I imagine "writing it in C" is useless there?
 
WP/drupal/joomla?
 
7:41 PM
Nah, it's "hand written" nexcess.net
 
for those, and the like, you need to get superuser access and do this command: rm -rf /var
 
Not the case ^^
 
Start by limiting all those requests @webarto
 
@webarto kill GA (use your own), replace jQ with needed JS only, kill bootstrap
then... what's slow besides those?
 
@webarto why is it slow ?
 
7:45 PM
optimize images
 
@TyreeBrown how things going ?
@webarto could you explain me how your solution work ? :\ it's magic :)

https://eval.in/135123
 
You guys around? @bwoebi @JoeWatkins
 
wow half a meg of website on first load...
 
totally, why's that ?
 
Maybe to a group audio chat to talk about return type RFC.
 
7:49 PM
ah now audio ...
I will need some kind of mic ...
audio chat with what ?
 
Something available on Linux ^^
I often do gchat
 
*feels left out*
 
@JonathanLafleur I'm trying different things out with JS. When I create the JS file, do I have to call that JS file to that page/template?
 
@LeviMorrison few minutes, approx. 15 mins then I'm available
 
7:51 PM
@salathe If you want to talk Return Type RFC then great ^^
@bwoebi Does Google hangout work for you?
 
@LeviMorrison what's that?
 
@LeviMorrison Can I say, "Nooooooo. pause Noooooo. Nope. Nah. Nope." ?
 
What audio program do you want to use?
Skype?
 
@LeviMorrison audio? uhm, none… I have someone in the same room than me now… I'm not home now.
 
@LeviMorrison Teamspeak works on linux
 
7:53 PM
I got skype on my phone not sure ow well it works ... I reckon it's skype or google plus/hangouts ... but I only used that once and it took all night ...
 
@bwoebi Is there another time where you could be alone? Or should we just do text chat (I like voice/video a lot better but eh)
 
Skype on phone is.. uh.. very slow.
 
@LeviMorrison I like text chat much more, listening to English is hard for me… even more in a conference where multiple people speak… I'm having hearing aids…
I mean that there is a computer in between doesn't really help too… If we'd be face to face it would work, but, no…
 
But it's good practice.
 
sounds like it's text chat ... or reads like it is ...
 
8:01 PM
@webarto okay... it's not magic -.- dammit, I havn't see the new key ! everything's simple finaly -.-
 
@SecondRikudo Thank you, I'm fine ending the conversation at that point.
 
Alright :)
 
BTW as of today downloading is not legal anymore over here
Fucktards EU
 
Wait what?
 
@PeeHaa Where? What?
 
8:09 PM
Who? Why?!
 
user895378
> to compensate musicians and film makers for private home copying
 
Anyone having some seriously awesome bounty-worthy answers? :D
 
user895378
Because film makers deserve to get paid if I backup a DVD I already purchased onto my hard drive ...
 
user895378
7 mins ago, by PeeHaa
Fucktards EU
 
8:15 PM
How do you quote a quote? o.O
 
31 secs ago, by 3ventic
Just link to the message
 
user895378
Just paste the permalink to the message you want to quote.
 
Oh, right. That's it. I've done this before, bt I thought yours was one level deeper :P
 
user895378
\o/
 
@AmalMurali maybe you'd liek this: stackoverflow.com/a/16175931/731947
 
8:17 PM
You guys seriously pay the 5 pounds?
 
Not like any of us will actually change our on line behaviour based on what they say.
 
@JoeWatkins fyi RMs have allowed us to push changes to phpdbg during whole beta … as long as there's enough time to get these features tested first.
They wish we'd hurry up.
 
@CSᵠ: Ah, cool.
 
@AmalMurali any of mine ;-)?
 
8:18 PM
lol
 
@AmalMurali hehe, thanx :)
 
@CSᵠ: Initially, I was looking at a different answer. This one :P
 
@AmalMurali diferent page maybe
 
@ircmaxell: Okay, as you say!
34
Q: What is the difference between while(true) and for(;;) in PHP?

AlastairIs there any difference in PHP between while(true) and for(;;) besides syntax and readability? Edit: I would not consider this a duplicate - I want to know the answer specific to PHP. Is there any real difference as far as the engine is concerned? Do they compile to the same thing? Do they have ...

 
tnx @Fabien
 
8:20 PM
lol ;-)
@AmalMurali just leave it open until the end (don't just award it right away)
 
Yeah, I'll only award it the last day ;P
 
:-D
if only all rep was that easy ;-)
 
@CSᵠ: YAY. Here you go:
14
Q: What USEFUL bitwise operator code tricks should a developer know about?

non sequitorI must say I have never had cause to use bitwise operators, but I am sure there are some operations that I have performed that would have been more efficiently done with them. How have "shifting" and "OR-ing" helped you solve a problem more efficiently?

 
@AmalMurali wow, thank you
 
What are the chances of two sql queries being inserted at the same time with users having two different connections? Assuming they clicked at the same time but have different internet connections.
Pretty much non existent right?
Oh, the fields are unique.
 
8:25 PM
Depends, how many concurrent users do you have ;)
 
and what RDBMS, and architecture choices, and other details
 
Wow. This is an awesome answer by HamZa. Wonder why it doesn't have many upvotes...
11
A: Regular Expression to extract php code partially (( array definition ))

HamZaRegex So here's the MEGA regex I came up with: \s* # white spaces ########################## KEYS START ########################## (?: # We\'ll use this to make keys optional (?P<keys> # named ...

 
If your questions is "is it ok to not handle that error condition" than I'd go with yes, provided you're fine with providing simply an error page on the inevitable exception
 
@AmalMurali Because it's not jQuery/node/WP and he's not repwhore :P
 
kbd shouldn't be used as a button....
 
8:29 PM
@3ventic: I agree.
 
@Axel I'm curious though, what would be the user action that could cause an issue with the unique column?
You mention INSERT queries, so are you thinking "2 articles created at the same time" or "2 articles created at the same time with the same title"?
 
@webarto: Yeah :D It needs MOAR attention. Started another bounty, lol :D
Bounties for EVERYONE!
 
while you're just passing out bounties
 
Hmm?
 
You can contribute to the Jimbo 10k User Fund
 
8:32 PM
@RouvenWeßling Say you're on the same computer, right down to every single detail of the build, with the same internet speed/lag, and the submit button is perfectly synced with the other submit button, which one would be taken into consideration first? The first query, or the second query?
Both fighting for a unique field, I guess. @RouvenWeßling
 
@CarrieKendall I'm willing if he has a bounty worthy question.
 
@CarrieKendall: I've already awarded a small bounty on this answer by Jimbo.. It has another 200 reputation bounty waiting.
 
:P Like a sperm swimming to the egg, but in this case, only one query would win I'm guessing, can't have twins. @RouvenWeßling
 
I'm not asking what did you give, I'm asking what can you give.. do it for the children, man
 
sad face
 
8:35 PM
@Axel That depends on the DB, but usually one will always be first simply because some operations are not running concurrently.
 
@CarrieKendall But... but... I can only start maximum 3 bounties per day :( Please understand my situation.
 
@RouvenWeßling So it's just a theoretical thing then?
 
@CarrieKendall Music you don't hear outside of US and A.
 
everyday, @Jimbo is reminded he might never have access to mod tools.. But you can give back (its required to be playing the above youtube song to read this message)
 
user895378
8:37 PM
@CarrieKendall I'm contributing a +100 bounty to the @Jimbo 10k User Fund here because he plugs one of my libs ;)
 
\o/
 
user895378
I'll happily whore out my rep as a promotional consideration :)
 
Ha. rep whore -> award bounties to awesome answers -> repeat. Nice idea. I might as well start a new account ;P
 
I'll just go earn 100 so I can give them to Jimbo for Ayrununun
jQuery, old love, here I come.
 
@webarto: Typo, mahn!. "Ayrunununununun"
 
user895378
8:40 PM
I just go with A* anymore.
 
@TOOTSKI i expect to see your answer to all of your requests then
 
Annnnnnnnnd I'm demotivated.
 
Let me guess. Your Common Sense failed you? lol
 
I will not crawl out of the chatroom unless it's for purpose of .
:D
> How can I fluidly resize my header?
O_o
 
8:44 PM
@Axel Yes. One will always be the first to acquire the lock on the index (or table depending on the DB). That query than wins, even if it might be slower to process than the other query.
 
this just in, @rdlowrey has just offered to update his gravatar to show his true pastiness if the Jimbo 10k User Fund is met before the end of the month
 
That's easy, he can get it in 10 days.
 
@AmalMurali and my answer wasn't upvoted :-(
 
user895378
@CarrieKendall happily.
 
Have an upvote @bwoebi. Actually I "like" your solution better.
 
8:49 PM
Me too. I actually didn't see it before I got to the question from HamZa's profile.
 
@TOOTSKI hehe, I was not repwhoring, just complaining :-D
 
@bwoebi How 'bout now? Fixed that for you!
 
**Smiling**
 
@bwoebi Joe once made me something like this, it was a blast :D It's deserved, that's different :)
 
who's TOOTSKI? Awful name :o I see the pings going to him, but I don't see any TOOTSKI here?
 
8:52 PM
SIGH. I say we remove mail() function entirely. It makes up for about 20% of the questions in . :/
"please, help me. my mail not come. i check spam, still not come" lol
@HamZa: Yo! How did the exam go?
 
user895378
mail() should be removed IMO.
 
user895378
It's not useful at all without a wrapper.
 
Right. It doesn't provide any useful error / debugging information either. Only a useless boolean return.
 
Hey!
Great, guess what? I succeeded in both :D
 
world will end if you retire mail
 
8:55 PM
I AM :D
Username change was on my bucket list.
 
@HamZa What subject, btw?
(Are these highlights annoying you? :P)
 
@AmalMurali System Engineering and Wireless networking
 
@TOOTSKI okay, your name just didn't update on my browser...
 
@TOOTSKI yup, that sums up the movie quite right
 
Neither for me, in chat.
 
8:56 PM
Pronounced Tote-ski
 
@HamZa: Nice. Basic Electrical Engineering for me, tomorrow. lol
 
It's updated for me when I just re-logged in
 
good luck :P
Well there is no luck mwahahaha
 
@AmalMurali Don't say wire, say conductor. That's the EE 101.
 
lol
 
8:59 PM
My professor shot down everyone who wrote wire, regardless of result.
 
lol
 
Anyway, it's 2:28. I should sleep at least 4 hours. Byebye everyone!
 
@AmalMurali cyaa, success
 
same here, ttyl
 
Hi all
 
Yello
 
9:18 PM
is it possible to execute preg-match on a key stored in apc
?
 
@IdrissNeumann heya !
 
in my registration page, i to check whether the given title exist or not
i can set "title" as a key
but i want to store the ID and title both as a key of my apc value
 
@meWantToLearn Do you want to unstore some keys with a regular expression ?
 
no I want to check for a key with regular expression
 
You have APCIterator to do it
 
9:21 PM
i dont want to use iterator
-.-
that would be inefficient in my case
website receives heavy traffic
 
Bullshit.
 
@TOOTSKI so it wont cause any performance issue?
 
@meWantToLearn You want to check what ? If a key that match your pattern exist in your cache ?
 
@meWantToLearn Only way to know that is to benchmark.
 
9:24 PM
+1 @TOOTSKI
 
Moriingnini
 
I think your best bet for "performance" is to wrap the apc_* but that is also error prone. I would use apc_cache_info and loop.
@DaveRandom mornigninfh
 
i shall never use codeigniter
 
@TOOTSKI fyi I shall be @tagging you as @webarto and it's your fault you won't get the pings
 
Is OK, I'll just write extension for that :D
 
9:29 PM
:-P
I'm not a huge fan of people shouting their names at me, I have to say
Rather old chap, jolly bad show old bean
stupid fingers
 
@DaveRandom LOL ... I wish I knew that.
 
you're not helpful at all — user3521255 23 mins ago
 
@DaveRandom FYI ^^
Check this video (note Samir and Lejla) ... there was a online voting to pick names of couple that will be shown in video of famous local singer. My friend had a girl and this was hers favorite singer ...
... so I found CSRF vulnerability in poll; I had a website that had about 1000 people online at the moment, and I planted the script to automatically vote. Needless to say "we" won (as shown in video). His girl was enchanted so much that she cheated on him shortly after. Point is, you can fix code but b* remain b*.
 
9:48 PM
/out of votes
 
:'(
You need to get to 10k.
 
I'm restraining myself from giving bounties :P
> 17 Offered bounties for 1,450 reputation
 
:O
 

« first day (1272 days earlier)      last day (3679 days later) »