« first day (1038 days earlier)      last day (3910 days later) » 

10:00 AM
@salathe I guess so yeh (although I will have to check that I actually have €500 to my name first :-P but if not I can sort it out in a couple of days)
 
Oh I actually want one of those elephants
 
@DaveRandom Coolio, put my name down for a herd of 20
 
@salathe winner, I'll check the financials and ping the guy a mail now
 
I want one too! WAIT FOR MEEEEE :p
 
@dragon112 He's ordering 50 (the minimum order)
 
10:03 AM
Ah right
 
MT8
hello all
 
WIFI ALL OF THE THINGS
 
MT8
i am sending json object from android as:
httppost.setHeader("Content-type", "application/json");

StringEntity se = new StringEntity(obj.toString());
se.setContentEncoding(new BasicHeader(HTTP.CONTENT_TYPE, "application/json"));
 
@DaveRandom bitch, could you spare some for me?
 
MT8
10:04 AM
how do i retirev in php and echo it?
 
It's cheap delivery from UK to me.
 
@DaveRandom email sent!
 
@webarto Yeh no worries, I want a couple so I guess there are 48 available, of which only 35 have been adopted so far. Can you ping me an email to this --->
 
MT8
@All can anyone plz help me
 
10:07 AM
@DaveRandom Where is the email? :D
 
lol @ that anchor ID ^^
@webarto Look at pinned messages
 
You guys ever selected ids from a mysql db and instead it's returning numbers like "4293556.7241686685"?
 
Aug 15 at 12:39, by DaveRandom
If anyone wants a small blue Elephpant for €9 each + shipping ping an email to elephpant@daverandom.com
 
elephpant@daverandom.com
 
F* blind.
 
10:08 AM
lol
 
TOO LATE!
 
IN B4 404
 
/shakes fist
 
^_^
Well to be fair you had to type, I just copied a link:p
 
> refsect2-wrappers.php-unknown-unknown-unknown-unknown-unknown-unknown-descriptiot
lolwut
broken doc sources are broken
 
10:09 AM
That's really really really unknown:p
 
@DaveRandom heh, d'oh
 
Luckily you'll have @php.net in no time to fix it.
 
@Fabien what is the data type of MySQL ID column ?
 
@webarto OH SNAP Dave got bitch'd
 
@salathe can I fix that or would it be frowned upon? It would break permalinks but they are permalinks that aren't currently accessible without viewing the page source so...
 
10:12 AM
@DaveRandom You can fix that if you want, it'll be in the phd repo
(which is Git, yay!)
 
@salathe did you send me your address yet? I don't see any mail from you in my inbox?
 
@dragon112 It's a custom that we call each other bitch. @PeeHaa is the establisher.
 
@ShivanRaptor int(11)
 
@webarto I know, Have just been watching too much Breaking Bad lately
 
@Gordon No, I haven't sent an email yet. In truth, I completely forgot about elephpants until the elephpant discussion here this morning :)
 
10:14 AM
Added to list of things to do
But now I may have to do some actual work :-(
 
gasp
 
@dragon112 Yeah, I was trying to refer to this: youtube.com/watch?v=RFRs2U2pnH4
 
Hahaha :)
 
@Fabien strange . Probably u can ask in SO with codes. so strange to return a decimal.
p.s. getting chat badges are so difficult -_-
 
heh. Cheers anyway @ShivanRaptor
Ah ok nm, I think it's because I am using a randomiser in the select to grab random rows and it's gimping my track_id which is primary
 
10:19 AM
@rdlowrey AsyncClient.php:192 - Is the omission of break; deliberate?
 
Question: Does CSV have to have identical number of columns in each row?
 
@Fabien um... special programming logic
@webarto Does not necessarily true
may have jagged CSV .
 
It works OK in things like Excel, etc. So, I won't bother with it any further. Thanks.
 
Fixed. I went from

SELECT * FROM `track_inventory` AS r1 JOIN (SELECT (RAND() * (SELECT MAX(track_id) FROM `track_inventory`)) AS track_id) AS r2 WHERE r1.track_id >= r2.track_id ORDER BY r1.track_id ASC LIMIT 20

to

SELECT *, r1.track_id AS track_id FROM `track_inventory` AS r1 JOIN (SELECT (RAND() * (SELECT MAX(track_id) FROM `track_inventory`)) AS track_id) AS r2 WHERE r1.track_id >= r2.track_id ORDER BY r1.track_id ASC LIMIT 20
 
SELECT
  *,
  r1.track_id AS track_id
FROM `track_inventory` AS r1
  JOIN (SELECT
          (RAND() * (SELECT MAX(track_id) FROM `track_inventory`)) AS track_id) AS r2
WHERE r1.track_id >= r2.track_id
ORDER BY r1.track_id ASC
LIMIT 20
FIFY
 
10:23 AM
E_TOO_MUCH_SQL
 
@webarto heh cheers
 
Don't star those queries -.-
 
Oh?
 
@dragon112 Not too much if it's in stored procedure.
 
Too much in this chat xD
 
10:25 AM
lol
 
As in a Wall of SQL
 
Noningirn bitches
 
I ran a query on Friday that hit server like this:
 
DAFUQ happened there? xD
 
10:26 AM
@PeeHaa Yes, bitches is the correct term.
 
@PeeHaa Of course you change yall and not noningirn xD
 
@webarto The closest thing there is to a formal specification is tools.ietf.org/html/rfc4180#section-2, which says that Each line should contain the same number of fields throughout the file. - but 4180 doesn't follow 2119 so the definition of that "should" is open to interpretation. Long story short: if the two endpoints can make sense of variable row length, don't worry about it.
 
@DaveRandom Wow, you so smart. Thank you.
 
s/smart/dull/
 
@DaveRandom ooooooh damn. Sorry again :P After having the excuse of being piss drunk I now totally forgot about you
:(
 
10:30 AM
lol np :-P
It's a problem I sympathise with
 
:-)
 
Just typing a bit
So that the horse hitting woman image
Disappears
Off My screen
There we go
 
hey @webarto you ever tried to make VB speak UTF8? ANSI is screwing my network bandwidth over with UDP packet size
1 message moved to bin
Had to do it, not working for me at work
 
@DaveRandom Not that I recall of, but probably have, because ANSI.
function generateInt($min = 0, $max = PHP_INT_MAX)
{
  $tmp = (int)max($max, $min);
  $min = (int)min($max, $min);
  $max = $tmp;
  $range = $max - $min;
  if ($range == 0)
  {
    return $max;
  } elseif ($range > PHP_INT_MAX || is_float($range))
  {

    throw new \RangeException('The supplied range is too great to generate');
  }

  $bits = $this->countBits($range) + 1;
  $bytes = (int)max(ceil($bits / 8), 1);
  $mask = (int)(pow(2, $bits) - 1);

  do
  {
    $test = $this->generate($bytes);
The trap has been planted.
... that is offering £55k at the moment:
1. PHP/Wordpress Developer
WHY!?
I was born on the wrong side of the planet.
 
@webarto I've just been rolling my own routine (at least it has ChrW()) but seriously screwed over by VB's lack of bitwise shift operators, wondered if you knew of some native that I can't find
 
10:35 AM
morning-ish
 
StrConv() seems to only know about UTF-16, which is another stupid encoding format when the majority of the data you have is in the lower 127
(and in general)
 
Sorry, Sir, I can't recall anything, could you ask Sir @hakre perhaps?
I think he loves VB.
@tereško Morning, sunshine.
 
Is he a VB sufferer as well?
 
@tereško Well not really morning but still good
 
@webarto Don't care if it was £55k - I wouldn't touch wordpress
 
10:36 AM
@DaveRandom Yes, Order of Jesus sufferer.
@Jimbo I would touch shit.
 
lol
 
Disregard code, acquire currency.
It's just a job.
 
Yeh but it's no good if said job drives you ever closer to suicide. Trust me, I know.
 
I agree, you need to have some fun at work. Or at least not be driven to insanity.
 
WP is like walk in the park. You can do all sorts of shit you'd naturally get shot for, and get away with it.
 
10:40 AM
@webarto No, but it's awful. You can feel yourself sinking into shit, because wordpress tries to make you write shit code - plus lead dev is an asshole
Happiness > Paycheck
 
Hey, I was planning to post it here when it get's crowded :P
BTW nice solution +1
I had to scratch my head and test the script out to see what's happening. Very creative :)
 
@Jimbo Well not entirely: (($Paycheck >= $WhatYouNeed) ? Happiness > Paycheck : Shitty times)
 
Yellow all
I mean
 
@HamZa :)
 
@dragon112 $Paycheck >= $WhatYouNeed evaluates to false always.
 
10:47 AM
@Leri Not really. I should say $Paycheck >= $WhatYou-->NEED!!!!!!!<--
You don't need a 100k car. You might want one, but it's not needed
 
So today was my last day of internship, yaaay !
 
Cool are you done with your studies now?
 
Sirs, it's time for lunch!
 
if you earn less then you need to survive, then you should find a different way of income
 
@dragon112 With that logic all you need is food and water.
 
10:48 AM
I'll call school if they are open so that I can take my diploma
And then it's time for HBO :)
 
@Leri No with that logic you need a car that drives, not a pimp-mobile.
Same for a house, you need to have a house that's big enough for you and your family, not a house that's big enough for 3 families
@HamZa YAY \o/
 
Last day of slave labour :)
 
hehe
 
Trust me he will have more slave labour ahead of him
 
Unpaid I presume?
 
10:50 AM
hehe
@dragon112 yeah lol
 
I always thought and still think, more you have, more you need. Otherwise, there won't be room for improvement.
 
@Fabien yup
 
You didn't get ANYTHING?
 
Dang. How long was it?
 
wow that's lame.. I got some cash at least
 
10:51 AM
@dragon112 nope, the eat and drink was free :p
 
Some places are nice and give you something on your last day, but best not to be hopeful.
 
I got 300 euro/month at my first internship and 450 euro/month for my second one
I guess it's different in MBO
 
@Fabien about 4 months
 
Pffrt, bet they were happy.
 
hi
help me :D
 
10:52 AM
@user2610360 No thank you.
 
@dragon112 It all depends on the company. Some even give more than 400 on MBO while the student know crap. The only thing they do is making HTML templates
 
@HamZa yea as motivation not to fall asleep you mean:p
 
@Fabien Yeah, he was very happy about the system I made. Of course there are room of improvements, but he said that would be in V2
 
@dragon112 why :(
 
Wanna come work for free for us next? :)
 
10:53 AM
> Don't ask whether someone is here to help you. If someone is around and wants to help they will.
 
@Fabien Haha if it's regex, my pleasure MWAHAHAHAHA
 
OOkay :D
 
@HamZa lol, now that you mention it, there is a lot of regex.
 
@HamZa I have some work you can do for free if you want, it's making HTML templates :p
Nah I don't have that... I have an Android app that has to be created :p
 
@HamZa You can use regex everywhere and anytime, can't you? :p
 
10:58 AM
@Fabien @dragon112 Actually this one was super cool. The eat & drink were free, it was close to home (~25mn with bicycle), and the working times were extremely flexible, we don't begin a 9am. If I come at 9:30 and go home at 17pm it was all fine.
Last year I had an internship like crap: Working with Joomla, I had to travel for 1h, If I came 5mn too late the boss gives me comments. Eat: I had to bring my own
When the guy told me you're getting paid 1,67 euro, I asked him "per hour" ? "Euh yes, oh no It's PER DAY". I though "dude don't say that, if I work for free it's much more honorable tha
@Leri heh sure. Take a look lol
 
@HamZa Obviously the times are going to be flexible if they don't pay you xD
 
@HamZa In this industry you can find a job with the same perks as your current internship place.
paid that is
Just don't apply anywhere with the word "startup".
 
Getting paid 1.67 a DAY is just stupid. You might as well not get paid anything
that's like 50 euros a month
Not even that
 
There's a point where it's so cheap it's offensive.
 
Yea I agree
its 200 euro/month or more. Else F* off
 
11:02 AM
@dragon112 @Fabien A bit sad, I saved their a** many times, lost about 1000euro's for transport and the boss even whining when I get 5mn too late. I told him to not be late I've to get up 30mn earlier, he said "yeah, so what's the problem?"
I wanted to punch him really
 
@HamZa Whenever I'll need to obfuscate code, I'll call you and ask to rewrite logic in regex. :D
 
@Leri hahaha
@Fabien indeed, that's why I won't EVER return there
 
@HamZa Yea if that were my job (not internship, you need that shit) I'd quit without thinking twice. Even if the pay was good
 
Yup. We work in a fortunate industry where we have a lot of choice. We don't have to put up with a lot of crap employers can pull.
Assuming you have experience ;)
 
@Fabien Look at my rep lol
@dragon112 well maybe on HBO there will be some good internships. At least I hope so ...
 
11:07 AM
foreach($foreach as $key) {
echo strtok($key," ");
}

How would I count $key values as int
 
@Tredged hmmm ? E_UNCLEAR
 
@HamZa It's kinda pity but reps here does not necessarily equals skills. I've seen lots of users with high-rep and bad content.
 
@Leri I know, it was a joke. I mean I don't even code in OOP :(
 
@HamZa for example if it displays 2x a number I want it to count how many results are shown
 
@HamZa Do you use PDO?
 
11:09 AM
@Tredged Can you give an input with expected output
@MadaraUchiha yeah
 
@HamZa If you don't mind traveling I think I can get you hooked here.
 
Then you're ahead of the curve already, don't underestimate yourself.
 
@MadaraUchiha Well, I know what's public, private, protected etc... But I mean more in patterns and best practice ...
 
@HamZa If I'd get output: 1 2 TOTAL: 2 so if I have 500 numbers I want total to be 500 ..
 
I guess I should start that kernel compiling thing
 
11:10 AM
@HamZa You'll get there
 
@Tredged Why don't you use count() ?
@tereško lol I stayed yesterday until 3am and didn't get nginx fixed ^#&%!&$^!$^
 
@HamZa , what exactly are you struggling with?
oh ..
 
Alright guys, I need a software recommendation.
 
naah .. i have all set up , but trying to compile Ruby2.0 causes DTrace to crash
 
I have a shitton (around 2k) pictures of mostly people.
 
11:12 AM
@tereško heh, my life, carrier etc... Scroll above and see how crap was my last internship
 
since I'm using a RC1 version of freebsd, i decided to recompile the kernel & world , which should fix my problem
 
@MadaraUchiha thanks for the encouragement :)
 
I want to start tagging people by name, and the program should gradually learn who the people are and tag the rest of them for me.
I remember such a program exists, because I used to have it and don't remember the name.
 
@MadaraUchiha face.com ?
 
@HamZa Try the link you gave me :)
 
11:14 AM
@Tredged count() or just use a temp $variable and increment at each loop/if
 
Guh, I hate this stigma:

Him: predictions between Microsoft, Sony and Nintendo?
Me: Dunno, I am not big on consoles tbh.
Him: true, but your good with tech, so i reckon you have an instinct
 
@MadaraUchiha lol sorry, it was a while since I checked it ...
 
@HamZa You are better then 90-98% of students in the first year of HBO (at least at the time)
 
Especially when people ask me about mobiles.
 
11:15 AM
lol
 
Heh, transparent too, nice
 
@dragon112 yeah, I think it's still valid now that statement
 
@HamZa Then what are you whining about. If you are the top 5% of what comes out of the HBO schools you should have it easy.
@Fabien My grandparents insist on asking me about anything that uses electricity because "YOU DO TECHNICAL STUFF RIGHT?"
My VCR is broken, can you fix it for me?
 
heh, I want to learn moar :-)
I see some awesome people here and there and then think about what i've done
 
@HamZa It takes time, a lot of it
 
11:18 AM
@dragon112 My floppy is broken, can you fix it for me?
 
@dragon112 heh.
 
lol
 
@HamZa A person smarter than me always told me, if you're the smartest guy in the room, you're in the wrong room.
8
 
@MadaraUchiha I remembered something "opencv" : http://docs.opencv.org/trunk/modules/contrib/doc/facerec/
It may be interesting, not that I worked with it though ...
@MadaraUchiha heh, I see
 
@MadaraUchiha My weirdest one: "My fishing pond filter is broken, can you fix it for me?"
I was like DAFUQ?!
 
11:21 AM
@dragon112 hahahhaa
 
Well it has a wire right? So it must be technical
That was the moment I realized there is no hope for the older generations :p
 
@LeviMorrison yes, it is valid
 
I wish it was just 'older'.
 
We recently had 3 people electrocuted in Israel after they stepped in electrified water due to a fish-pond's oxygen filter or something.
One went in, got electrified. The second saw him, rushed to the rescue, and got electrified. Wanna guess what happened to the third?
 
lol
 
11:22 AM
@MadaraUchiha He was like IMMA SAVE DAT GUY
 
@LeviMorrison you can infer most of what is valid from getcomposer.org/doc/02-libraries.md#tags
 
derp
 
Umm... what about the fish in the pond?
 
@Fabien Probably all died too. A current strong enough to kill a human?
 
Surely they would all be floating on the surface.
 
11:23 AM
It was a big pond though (a professional thing), but I dunno.
 
And that would be a good indication to not go in
 
@Fabien Who told you that?
Dead fish don't always float.
 
Oh?
 
Depends, fish control their floatation usually using the same mechanism as subs do
using air to surface, releasing it to go down
When the air runs out after they die, they will sink :P
Ever lost a goldfish? They don't float to the top, they sink to the bottom.
 
Monday Fun Fact: you know you are german when a chat named NSChat evokes images of chatting Nazis in your head.
 
11:27 AM
Fair enough. I'm not a big fish man. I'm primarily relying on my movie watching for factual evidence. :p
 
@Gordon I don't get it, how do you get from NSChat to chatting nazis?
 
@Gordon I'd understand if it were SSChat
 
SS just reminds me of pokemon.
 
@dragon112 National Socialism, I guess.
 
11:33 AM
Ah right..
 
@Fabien lol
Gonna play X or Y?
 
@MadaraUchiha My pokemon playing days are over. Long over :p
 
@Fabien A couple years ago, I could still name all 151 original ones, along with evolution chains, levels, and on most cases, all the moves.
 
@MadaraUchiha You must have been popular with the girls :D
 
11:38 AM
Yeah. 151 was a fine number. I know the game had to expand but 151 is the only one that counts.
 
@MadaraUchiha NERD, who watches anime these days smug
 
@PeeHaa You've managed to find a question with title containing 2 keywords blocked by firewall. :D
 
@PeeHaa Are you kidding me? Gamer/Anime girls are the best.
What do you even know?
 
@MadaraUchiha hmmm hard to imagine :P
 
Your girlfriend is golden and fizzy and cause you to vomit if you get too much?
 
11:39 AM
s/fizzy/jizzy
 
@PeeHaa I know what I said.
 
Yeah I read it, but I'm having a hard time translating it
:0
 
Hello, anyone familiar with couchbase on ubuntu 12.04 & php 5.3.10 ?
 
@PanagiotisGeorgeRaditsas Please read the description to the top right of this page.
 
@Leri +1 to me :D
 
11:41 AM
@PeeHaa I'm usually against very quick deletions, but this question is absolutely annoying.
 
@MadaraUchiha I thought the FB partnership was over?
 
@MadaraUchiha no Mangekyou on me pls I'm just having a weird issue and it's driving me nuts
 
@PeeHaa That's why I ignored all facebook-* tags
 
@PanagiotisGeorgeRaditsas What @MadaraUchiha was trying to tell you is: don't ask to ask. Just ask
 
> Don't ask whether someone is here to help you. If someone is around and wants to help they will.
 
11:43 AM
weill?
:P
 
@PeeHaa I know what I said!
 
@PeeHaa the effect of anime ...
 
:)
 
okies, well here isthe question I posted stackoverflow.com/questions/18312803/… if any of you guys wanna have a look
 
Is PHP 5.5 stable? Should it be used on production servers?
 
11:44 AM
@Ivan0x32 Depends on what you call stable
 
Or at least dev servers. My question is more about your expiriences with it.
 
I always wait a few minors
 
@HamZa Anime \o/
 
@Ivan0x32 It has been defined stable for some time now
 
@dragon112 what @Leri said
 
11:45 AM
Fair enough :p
NS is "Nederlands Spoorwegen" for me, so NSChat sounds like a bunch of idiots that don't know jack that are chatting with each other.
 
Guys from bitnami updated their devserver pack to 5.5 first, then downgraded to 5.4.xx, they didn't mention why in changelog, maybe theres is some reason for that?
 
@PanagiotisGeorgeRaditsas are you sure the credentials are correct?
 
@PeeHaa yeap nothing changed
 
11:48 AM
this was quite awesome talk ... a lot of tongue-in-cheek bullshit with some genuinely good points
 
@tereško TL;DW?
 
i did watch it all =P
 
@PanagiotisGeorgeRaditsas did you take a look into the error log file ?
 
@tereško that's why I am asking you for the TL;DW because I didn't have the time to do watch it now.
 
MT8
@DaveRandom yup solved
 
11:50 AM
@Gordon emm .. it's basically about the stuff that we obsess with as developers, which has nothing to do with coding. But you have to pay attention to know when the speaker is just messing with you and when he's serious.
 
MT8
how do i decode this in php {"Items1":["A","B","C"],"Items":["nil","nil","nil"]} ?
@all
 
@HamZa which error log do you mean ?
 
Yay all aboard the nginx train. Seeing as it's the hot-topic recently I through I'd give an install a go.
 
@PanagiotisGeorgeRaditsas the php one ?
@Fabien I'm still struggling lol
 
@HamZa Mines only a simple Nginx, php and mysql install.
 
11:53 AM
while you all fiddle with nginx , i will calmly keep using lighttpd
 
@MT8 json_decode ?
 
@tereško hahaha
 
MT8
@Ocramius yes but will it return me both array items1 and items?
 
@Fabien well that's the problem, I want a basic setup nginx, php5.5, postgresql
 
MT8
@Ocramius do i need to define array for that?
 
11:55 AM
@MT8 you need to consult the fine manual for that
 
@MT8 Why won't you simply try?
 
@HamZa yep the error is the same as the the one the browser returns
 
MT8
@Leri yup try but what? i m android developer .. trying to undertsand this json_decode in php
 
@Sem Are you really floating ?
 
11:57 AM
@PanagiotisGeorgeRaditsas ok, well good luck
 
MT8
@Leri Alright thanks
 
Sem
@HamZa ..What?
 
@MT8 Do android developers not read/check the manual ?
@Sem In your profile image, are you floating lol ?
 
user895378
@Leigh no it's not intentional. Thanks for catching. Will fix.
 
MT8
@HamZa i didnt mean that..i tried to serach didnt didnt undertssod ...sorry and thanks a lot for help
 
11:59 AM
@tereško he's talking for 11 minutes now and all he says is what I believe, too
 
Sem
@HamZa It's a picture where I jumped :)
 
@Sem heh nicely done
@dragon112 another dutch ...
 
Sem
@HamZa Thanks!
 

« first day (1038 days earlier)      last day (3910 days later) »