« first day (1848 days earlier)      last day (3100 days later) » 
00:00 - 12:0012:00 - 23:00

12:02 AM
@rdlowrey hence I need to handle this case, just not sure how is best…?
 
12:16 AM
Im building an application that's going to need things to be stored on a server or elsewhere. It's eventually going to be a multiplayer gane. What's the cheapest way I can go about it? I'm set up for MySQL
Can I just use it with Linux on on a desktop, and I need to practice with it first. Can I just install it on my Mac? Everything would be local..
 
@rdlowrey I'd propose adding an optional third by-ref boolean parameter to cryptoEnable() to see when renegotiation is needed … I see no better way to do it API-wise. do you?
 
@GettingNifty: you can use AWS. but for now I would just set up lubuntu on an old pc
then on lubuntu you can install a LAMP package
So basically develop on your own hardware, then when you go into production use AWS so that you can easily scale up.
 
Any of you know phpMyAdmin quite well ? Curious to know regarding the relations viewer what the constraint name is for and what the options for on delete and on update do ? I'm not sure which option I should choose.
 
12:35 AM
i think that might be better asked in the sql room
 
it was empty :P
 
oh darn
mm, well a constraint is like a rule that you put on a column
for instance making a column a primary key column puts a "constraint" on that column.
those constraints have names, so that you can delete them and whatnot.
 
so with the on delete and on update. do i use restrict ?
i can't find a website which explains each option
 
mm, that I don't know. sorry.
 
is there a phpmyadmin manual online or one for innodb ?
 
12:38 AM
I have never used phpmyadmin, I just type my sql commands into the terminal
 
ah
hardcore:P
 
I just don't trust having an admin panel up
 
Anonymous
@Danack nah, I just wanted to backup important files for safety reasons.
 
Anonymous
Until I buy a laptop.
 
1:06 AM
Uhm… I'm seeing Grovo ads… Probably related to Anthony and Daniel :-D
 
1:23 AM
posted on November 07, 2015 by bwoebi

amphp/socket v0.9.3

 
1:33 AM
morning
 
1:52 AM
@ircmaxell correct
@Abe because a state change diff itself has no meaning: you assign a meaning to it while you do the operation. You want to go A -> B because "CrossedTheStreet"
 
2:29 AM
@Ocramius yes, I did :-)
 
@ircmaxell got it anywhere? I'm not sure if I'll factor it in any soon, but it's worth a shot
currently building an opinionated thing, but the SSA form would give me types (or possible types) to use
 
3:07 AM
Guys, I have this regex: (^([a-z][A-Z][0-9][._ ])*$)
I'm trying to create a display name validation regex
It should allow . _ white space 0-9 a-z A-Z and all can occur as many times as they want. What is wrong in my regex?
 
@HassanAlthaf too many brackets
 
@bwoebi () or []
 
][
 
Oh, what do I do for that?
 
[a-zA-Z0-9._ ] < as said ;-)
 
3:11 AM
Thanks a lot mate.
Works perfectly. :)
 
how do you select a unique line based upon an item_id in mysql?
 
SELECT * FROM table_name WHERE item_id = item id here;
 
for a unique line?
 
Yup.
If that line can be uniquely identified with the PRIMARY KEY assumed as item_id, that will fetch the unique row holding the item_id you supplied.
 
that's going to actually create the smilar entries many times
think with a join
 
3:16 AM
What do you mean?
You have table..
And each row has it's own item_id.
Yes?
Which is unique assigned?
If your item_id is not unique to every row, you're doing it wrong.
 
i'm trying to eleminate all duplicates
 
Just add, LIMIT 1 then
SELECT * FROM table_name WHERE item_id = item id LIMIT 1;
That will just fetch the first match
 
@HassanAlthaf i'm doing the join for data normalization
example: 30 spots=1 dump
but there could be others close, but not identical
 
Oh, you wanna join
In that case
You might wanna try GROUP BY instead
 
unique group by id?
 
3:24 AM
SELECT * FROM table_name GROUP BY id;
That will fetch all the stuff you have, and group the results by the id
I don't have a db to test it tho
so try it and let me kno
 
k
    ugh:
    SELECT *
FROM calander

INNER JOIN cal_spots ON 'calander'.'item_id' = 'cal_spots''.'class'


WHERE 'calander'.'d'='$d' AND 'calander'.'m'='$m'  AND 'calander'.'y'='$y'
AND ('calander'.'inst_id'='$inst' OR 'calander'.'stu_id'='$stu')
LIMIT 10
my error
 
3:50 AM
hmm:
DISTINCT (calander.hrs, calander.mins)
how do i do the above?
 
 
1 hour later…
4:57 AM
i.stack.imgur.com/e6P6s.jpg :) android cares too much
 
5:20 AM
moin
 
@Danack one for you ...
0
Q: How do I install PHP extension from Github

Brian GHow do I install a PHP extension from Github onto my server. I'm testing out PHP7 and wanted to install https://github.com/mkoppanen/imagick/tree/phpseven but there is no documentation on how to install it on linux. Probably a newbie question but would really appreciate the help. Thank you!

 
Abe
5:38 AM
@Ocramius yeah yeah! getting into it. this is actually interesting :D
mornings all o/
 
Abe
know them?
6 times wrc winner
 
oh wow
they are like rocking horse shit in this country
£20k for a good one ...
(the integrale, obviously)
 
morniing
http://stackoverflow.com/questions/33579573/how-to-fetch-data-from-d‌​atabase-store-it-in-a-variable-and-perform-arithmetic-op
 
Abe
they are pretty expensive here as well @JoeWatkins, but used to be cheaper. i paid mine something like €10k. now it would be worth 25k or something
 
5:51 AM
shit one is still 13k right now, today ... and the prices go up to 40k ... this is just crazy ... I've never even been in one :(
 
@Abe does it able to make long distance like 10km :P
 
if you bought one here, you would be batshit crazy to use it, other than the one or two days in summer where conditions are perfect ... you never ever see them ...
 
Abe
i ever been in several lancia's. my dad was a lancia dealer :) do you know the Delta S4? c2.staticflickr.com/6/5029/5684101701_5a8395d101_b.jpg
it's the same here @JoeWatkins, in fact i didn't drive it much. especially because i needed a dedicated petrol pump
 
that's about the only place you can see an integrale, at a lancia dealer ...
and I don't think they are really for sale ...
 
Abe
yeah they are extremely rare now, but in the 90 they were kinda popular. people wrecked them all :D
 
5:56 AM
not that many made it here, because left hand drive only
 
Abe
yeah
 
stratos
 
@Abe still looks awesome, those fucking big rear tiers
 
Abe
also drove this. worth €200k or more
 
perfection
 
Abe
5:57 AM
i know a guy that owns one, lives near me :D
 
again, there are none of those here, like literally a handful .... but there is a company that will sell you a kit car ...
 
Abe
yeah, also appeared in top gear
 
yeah that one, can't remember any details about it now ... not the same obviously ...
but there's just no realistic chance of buying one ...
I remember it was cheap enough to consider ... and I've always liked the idea of building a kit car ...
 
Abe
hawk hf 3000
 
that was it ...
 
Abe
6:00 AM
yes it costs about the same of a caterham
 
but not chop your own head off embarrassing ...
the only time you don't look stupid in a caterham is on a track ... all the way there, all the way back, and all of the rest of the time, you look really stupid ...
and in this country, you are soaking wet ...
 
Abe
ahahha
yeah
in italy though, on the riviera, would kida fit :D
 
I dunno, just the people laughing at you would be wealthier, with better tans ...
they would still be laughing ...
it's not just that it has no roof, it's that it looks like a toy ...
 
Abe
but you used to drive a white and orange impreza :D
 
and people laughed at me ...
 
Abe
6:03 AM
hahaha
 
the only people it really impressed was me, and 10 year old boys, ever single one of which pointed at it as I went past ... little girls covered their ears or were uninterested ...
 
Abe
ahahah
i agree though, i wouldn't ever drive a caterham
 
It makes it into my fantasy garage ...
but if I ever get that, I can get it to a track without it being seen ...
 
Abe
ever been to goodwood festival? next year i swear i'll be there :D
 
no, but I would go ...
I've been invited before, my cars did tend to cycle between pretty cool, and terrible, and I was always on terrible ...
but now I can just go on bike ... that's not embarrassing ...
 
Abe
6:07 AM
lol :P
 
I'm buying a cheap diesel thing and selling scooby, it's too painful to run it now ... I'll miss them, but it's been a good ~10 years ...
 
Abe
scooby lol :D 2000 turbo 4wd?
 
that's what we call imprezas ...
 
Abe
iirc there's also the 2500
 
2000 turbo was the name for classic WRX in the UK market, all of the newage ones are just WRX, or something special ...
that was USDM
because 87 fuel there ... so they needed it ...
you don't really get them here, other than project cars ...
 
Abe
6:11 AM
i know nothing about imprezas :P
 
but yeah, that's what it is ... I guess you didn't know but 2000 turbo 4wd or awd is what it actually used to say on the boot of classic uk wrx's ...
 
Abe
is the engine boxer or straght 4?
 
boxer
 
Abe
oh, cool. didn't know that
 
that's subaru's thing, or used to be ... they only recently starting using normal engines ...
 
Abe
6:13 AM
boxer engines break easily afaik
 
no they don't, they are abused because they are easily tuned, and tuned by idiots ...
there are versions of it that are almost indestructible ...
 
Abe
yes i meant that probably they are harder to make, and therefore more expensive
 
it's not a rally car, the one you buy for the road, it's a road car, and it's already pushing a fair amount of horse power, people stick 10 dollar ebay gadgets on to increase pressure, put a crappy exhaust on and another 10 buck chip to bypass part of the ecu and then are surprised when it lasts for 10 minutes ...
 
Abe
my dad owned this which had a 2500 na boxer engine
 
I've only seen pictures of those ...
 
Abe
6:15 AM
not the most successful lancia :P
but they used to sell them in the uk afaik
 
none of them really were, here, the rust killed literally killed it for lancia in the uk market ...
 
Abe
yes, lancia started its decline when they wanted to sell cars in the uk
they didn't realize in uk always rains :D
 
Abe
in italy the same cars used to get rust in uk were considered high end :D
 
a million pounds is like ten gagillion pounds in today's money, roughly ...
 
Abe
6:19 AM
yeah i know the story sadly
now lancia is pretty much dead
 
a few years ago there were a coupled of rebadged something's cutting about, but now I think no new cars even bare the badge ...
 
Abe
100 years ago it used to be the greatest european car brand, they were considered better than british and german cars, the most innovative and with the best quality
 
there might be that, a shiny piece of fashion nonsense ...
 
Abe
now they are just rebranded fiat or chrysler
my hope is that ferrari will do with lancia what they did with maserati
maserati was pretty much dead too, but with ferrari's direction now they are making great cars
hopefully will happen the same with lancia
making this for instance
 
the whole industry has collapsed here
yeah, I see a fair number of quattroporte's ...
 
Abe
6:24 AM
yeah i know, lots of great brands were lost
 
no idea what that is ...
 
Abe
and the ones that survive are owned by other part of the world magnates
@JoeWatkins the picture above? it's a one off lancia stratos made by pininfarina, using a ferrari 360 modena as base
 
the ones that were good before were bought, still making good cars mostly, the ones that were shit were lost, or bought by the Chinese, no great shame really ...
I hate one offs ...
it's awesome looking thing ... but I still hate one offs ...
isn't it really expensive to do that, by the time you have done it, is it really much more expensive to sell even just a few ?
 
Abe
not great shame but the essence of the british soul is kind of disappeared
 
if you just sold like 1000 it wouldn't be totally stupid ...
 
Abe
6:27 AM
like bentleys are clearly german
 
this is true yeah
 
Abe
basically the same that happened with lamborghini
really don't want explain why that is the worst looking car in the world... and definitely not a lamborghini
 
shit ... you can go too far ...
 
Abe
audi are great and i'm even a fan of some of their cars, but they spoiled lamborghini :(
 
you can also be so far away from the line that marks "too far", that you don't even see the line, you forgot the line even exists ...
 
Abe
6:31 AM
lol yeah
british cars should be like this :D
 
that's cool
 
Abe
it's a ginetta
 
yeah just looking it up ...
 
Abe
perhaps in green, not orange :D
 
I think if you have something to shout about, it's okay to shout ...
does that really have a 1.8l engine ?
that doesn't seem worth shouting about ...
 
Abe
6:34 AM
yes, but sobriety is a quality better appreciated on a british car
it's a mazda mx5 like car, ~900kg
 
165hp is still not very much ...
that's without people
 
Abe
i don't care it's beautiful :D
 
and petrol, and anything else ...
it's pretty, sure ...
but a turbo would be nice ...
just a ~~tiny~~ huge one ... it would only weigh a few kgs ... then it would be really exciting ...
stupid markdown, ...
 
he's a cool guy ...
 
Abe
6:40 AM
i'm not really a fan of turbo engines but depends
 
I love a good turbo ...
> we've had customers come in and help build the cars, because they wanted too
super cool ...
 
Abe
the engine i prefer more it's also the most rare one, the renesis i have on my rx8. the sound it makes at 10000 rpm is just priceless
it fucking spits fire youtube.com/watch?v=HwoiFYtxilA :D
 
I can't do loud/bass, it's <7am
 
Abe
ahahah get headphones!
 
(amp isn't on yet)
 
Abe
6:44 AM
anyway it sounds like a '90 touring car :D
 
my face already has furniture on it, when I have to wear more furniture, it's awkward ... I think the human face has a maximum capacity of one piece of furniture, as a rule ...
 
Abe
ahahah
you mean eyeglasses is it :D
 
thinking about getting my eyes fixed with lasers ... because we're in the future now, and you can do that ...
yeah
 
Abe
i did at 20
but now my eyes are getting bad again
 
it's getting pretty reasonably priced ...
omg, can that happen ?
for what reason are they bad ?
 
Abe
6:46 AM
yeah, myopia
 
so it can come back ?
you were short sighted before treatment ?
 
Abe
when it's genetic, the eyes think to "repair themselves" while they are just making them worse again
 
that sucks ...
 
Abe
not much, about 3° each eye. but i used to have massive headaches with eyeglasses, so i had to try something different
 
how do you find out if is it genetic ?
 
Abe
6:50 AM
myopia is genetic, i don't really know. but a doctor can surely tell you
but you probably know it already
 
Abe
anyway, i still don't need glasses, but compared to how it was 10 years ago, i certainly lost some sight
could be 8/10 now
 
this says "can be hereditary" ...
that's not so bad, in ten years I still spend more on glasses than I will on treatment ...
 
Abe
and i'm pretty sure the operation is way more tested now
 
it's a huge pain in the ass is my main objection to wearing things on my face
unless conditions are perfect, if you are outside, glasses are a huge pain ...
or outside in a car, or outside on a motorbike ...
 
Abe
6:54 AM
yep
 
they never really perfected this
 
Abe
hahaha
 
so lasers it is ...
 
Abe
when they get clouded it's even worse
 
yeah, scary as fuck on a bike too ...
 
Abe
6:55 AM
lol
anyway, it's a simple operation. you just need like two weeks off to completely recover after the operation
but you will be able to see again after 1 week
 
power of my lenses are very high left one 7.2 and right one 8
i am almost blind without lenses
 
Abe
that sucks :(
 
mine aren't that bad ...
I don't think it matters though, right ? you can get them fixed whatever can't you ?
 
Abe
yep, afaik
after the operation i was 11/10
 
7:04 AM
so just for a guess at numbers, how often before you had the operation did you need new glasses ?
and roughly when do you think you will need to repeat the treatment ?
like when did your prescription actually change ?
mine gets worse every three years roughly, but glasses don't last that long, so tend to get new ones every year ...
 
Abe
i don't think i will ever repeat the treatment
probably if you make it after the maturity, it will last forever
 
based on getting them every year, it just about balances over ten years ..
 
Abe
but nobody really knows yet, it's still a new thing
 
my eye sight still worsens though ...
yeah that's true ...
 
Abe
well, it could be normal @JoeWatkins you can't think to have a perfect sight at 90. maybe it's just the normal worsening rate
 
7:09 AM
it's not all about economics though ... it's mostly just that I've had enough of face furniture ...
 
Abe
really
only that is enough for having the operation
 
the only thing I worry about ...
is what I will say to my kids when they inevitably need glasses ...
now it's normal, their mother and I both wear them, but if we get fixed, it'll be hard for them to understand that they can't when the time comes, pretty soon, for them to wear glasses ...
the elder started showing signs last year, she'll not go another without needing them, she's only 11 (this year) ...
explaining anything to a teenager is impossible ...
 
Abe
i never had the need for glasses till i realized i couldn't read signs while driving
i wouldn't get them glasses if below 3°
 
I needed them from about 7 years old, couldn't read boards in classrooms, even from front ...
 
Abe
just have a sit closer to the blackboard :D
 
7:15 AM
:D same with me
 
couldn't see, even from front row
my misses needed them about the age my daughter is now apparently ...
 
Abe
some kind of sight problems gets worse when corrected with eyeglasses
 
wearing glasses at 7 was shit ... I broke them every other day ...
I was always in trouble for that, they were super expensive ...
 
Abe
means that if you don't get eyeglasses, it probably would get worser at slower rate
 
Abe
7:17 AM
perhaps it's your case, and your children's
 
we get her tested every year at the opticians, going on their advice she doesn't need them now, but the chances of her getting through the next eye test are slim, we're told ...
my misses problems are different to mine, they seem to have a kind of mix of them, it's not clear ...
 
Abe
yeah, sometimes several factors contribute to sight problems
 
the younger boy has only had one test, so we don't know about him yet ...
he's okay now ...
I'll be gutted if he needs them as young as I did ...
you do a huge amount of running and jumping about, climbing on things and pretending to be a helicopter and whatever at that age ... it totally ruins it when you get shit for breaking glasses every few weeks ...
they are tougher now I guess ... but unavoidable that they will break or get lost ...
he looses bits of school uniform, the stuff he is wearing about his person when he leaves for school in the morning, quite regularly ...
bits of school uniform are nailed on compared to balancing things on your nose ...
he's even lost shoes, they are literally tied onto him with knots ...
 
Abe
my opinion is that sport helps keeping eyes sane. for instance it is rare that footballers have sight problems, because they use eyes at full spec :D
 
I'd love them to do after school clubs like that ... they're not really interested though ...
their friends don't do them ...
 
Abe
7:26 AM
it's the new kids. natives of technology age
 
far too much time in front of screens ... but if you don't let them, it feels like a punishment to them, and they didn't do anything wrong ... all the gadgets are normal kit now, everyone has it, they know that ...
 
Abe
yep...
 
plus, I spend 90% of the time I am awake right here, infront of two big screens ... I can't really do anything about them using theirs ...
the elder has actually got bored of looking at youtube and whatever all day, she's got into music videos and asked me for a hifi the other week for the first time ... which is better I think, she's into reading (utter tripe, girly nonsense, but whatever) ... you can only stomach so much, and she's had many years of it already ...
 
Abe
it's not really a good thing even for you. i mean, i do the same but i kind of hate it
i'm subliminally dreaming of a simpler life in a farm with fields and animals (especially goats)
 
I don't think you can outright say subliminal things ...
 
Abe
7:33 AM
yeah, it's not really subliminal :D
 
I don't know that I'd enjoy life another way to be honest ...
/me goes to walk dogs
 
Abe
enjoy! me shower + grocery. later
 
So, DOMDocument() is pretty cool...
0
A: how to add data attribute to a <li> element in wordpress nav menu

PlummerI'm not sure WP has a specific filter/method for this. You're gonna have to do some manual DOM manipulation along with wp_nav_menu_items. https://developer.wordpress.org/reference/hooks/wp_nav_menu_items/ function addDataAttr( $items, $args ) { $dom = new DOMDocument(); $dom->loadHTML(...

 
0
Q: Getting 500 Internal Server Error on SOAP WSDL call PHP

Ram SinghI am very newbie in PHP, i have some API to which i need to send data. I have used the below code to do this. <?php // define variables and set to empty values $name = $email = $city = $State_Province = $lastname = $ci_Address ="" ; $zipcode = $country = $phNumber = $ReasonforInquiry = $Sched...

please help me
 
8:35 AM
@bwoebi You should let dmitry review that one, I'm really not familiar enough with shadowing
 
8:56 AM
morning?
I sometimes feel I'm on the wrong side of the globe/timezone
 
Same here.
 
9:17 AM
:)
o/
some other times, I wonder what could be the remotest[sic] place from which I could live. Which resolves to where is the farthest[sic] place from cities internet goes to.
 
Abe
i am in the right time zone i guess, but i'm a vampire, so...
 
Abe
no garlic pls kkk thanku
 
just now, I was about to tell how much @Abe is present, always. do you even sleep?
(oh don't tell me you speak japanese also :P)
 
Abe
abe is short for abraham :D
 
9:31 AM
lolshto
 
Abe
i'm not sleeping much lately yeah
 
shit happens
and alcohol is drank[sic]
why are you into cars, in any event? Becoz fast?
we afk sleep
 
Abe
"in any event" ?
you haven't seen nothing, if i start talking about cars not even a hurricane could stop me :D
 
1
Q: Getting 500 Internal Server Error on SOAP WSDL call PHP

Ram SinghI am very newbie in PHP, i have some API to which i need to send data. I have used the below code to do this. <?php // define variables and set to empty values $name = $email = $city = $State_Province = $lastname = $ci_Address ="" ; $zipcode = $country = $phNumber = $ReasonforInquiry = $Sched...

please help me
 
Abe
10:09 AM
my latest app design made me puke. but luckily i finished it
 
10:21 AM
@Andrea ?
Mornings room
 
Abe
@Ocramius the thing i like most about event sourcing is that everything is recorded by default and natively. i always try to keep in mind that if i discard some data, i will end up regretting it. i often wished i had kept history for stuff that is now lost forever :( but ain't nobody got time for that... unless you always do it by design and for everything
@PeeHaa yo o/
 
Anonymous
Mornings
 
Anonymous
o/
 
Anonymous
10:36 AM
Countdown to a new laptop 6 weeks, 4 days, 8 hours, 23 minutes, 09 seconds
 
10:54 AM
Mogguh @Jimbo
 
11:13 AM
Assuming @krakjoe isn't online this morning, is anybody else familiar with pthreads?
(and on Windows)?
 
11:36 AM
error_reporting(E_ALL);
$host = "255.255.255.255";
$port = 56721;
// don't timeout!
set_time_limit(0);
// create socket
$socket = socket_create(AF_INET, SOCK_STREAM, 0) or die("Could not create socket\n");
// bind socket to port
$result = socket_bind($socket, $host, $port) or die("Could not bind to socket\n");
// start listening for connections
$result = socket_listen($socket, 3) or die("Could not set up socket listener\n");

// accept incoming connections
// spawn another socket to handle communication
 
11:54 AM
$dateOfBirth = [
    'day' => ($this->request->getParameter('birthDay') !== null) ? $this->request->getParameter('birthDay') : 0,
    'month' => ($this->request->getParameter('birthMonth') !== null) ? $this->request->getParameter('birthMonth') : 0,
    'year' => ($this->request->getParameter('birthYear') !== null) ? $this->request->getParameter('birthYear') : 0
];
Guys, do you see anything wrong in that?
Nvm, fixed.
 
00:00 - 12:0012:00 - 23:00

« first day (1848 days earlier)      last day (3100 days later) »