« first day (1387 days earlier)      last day (3555 days later) » 

12:01 AM
usain bolt has done that for 9.58 seconds
 
user652649
evening
 
morning
 
user652649
@Ocramius ahahah
 
@zeeks Then do it in 20 or 30s :P
 
@Ocramius that's a good one.
@HamZa with that time, no university will ever accept me :p
 
12:06 AM
@zeeks do you want to become a developer or what?
 
hey guys, could this class be named better?
 
@Jack CliProcess ?
 
@HamZa yeah, but I want get accepted in a good university also.
 
hmm, maybe .. to separate it from an abstract process :)
 
@zeeks Since when does athletic condition matter in a technical/IT study?
 
12:09 AM
it does when you're talking about chicks that do the same study :D
 
@HamZa yeah, i think it is stupid but famous universities like harvard, etc. increase your chances of getting accepted if you have a good athletic condition, ex you play football, soccer, running, etc
 
just hack their internal network ...
 
@Jack In my classroom there is only one girl. In all first year students I could probably count them on my fingers.
@zeeks How many pullups can you do in one go?
 
@zeeks that only happens in murica afaik
 
@HamZa inorite ... our "luck" with girls in IT classes was always very poor =(
 
12:11 AM
@Jack hehehe, true. I've got no hope.
 
murica: where you can become a software engineer by playing hand-egg
2
 
@HamZa with a bottle of water, 30-50 but then i will be really tired
 
1st year: 2 girls, no pretty. 2nd year: 1 girl, no pretty. 3rd year: no girl. 4th-5th year: 1 girl, no pretty.
 
@Ocramius yeah i know. europe has no condition like this
 
yeah, not many girls in IT.
 
12:12 AM
interestingly for them, the girls would get plenty of attention without looking all that great :)
 
not in my classes
 
@zeeks 30 pullups in one go/set (without resting in between)?
 
@FlorianMargaine in the sense that nobody gets any attention? heh
 
@HamZa yep.
 
@HamZa I confused pullups with pushups for a second, and thought... "wait, 30 isn't many"
@Jack the girls didn't get a lot of attention
many guys were actually in couple in my classes
 
12:13 AM
30 pull-ups is quite substantial actually
 
@zeeks @FlorianMargaine 30 pullups is amazing
 
yes, 30 pullups is amazing. Not 30 pushups.
 
i am just 62kg and 1.8m metres long
of course i can do that much
 
well, currently 30 pushups would be hard actually heh
in one go
 
12:14 AM
I used to be 1.80 and 58kg
 
and 17 years old
 
now I'm 1.80 and 93kg :(
 
ahahah
 
lol
 
in 4 years
 
12:14 AM
i want to gain 5-7 kg
but it is impossible
 
yeah, I was young
 
take some of mine
 
how old are you ?
 
@zeeks After several months, I could do 10pullups. Maybe 12. I'm trying to perfect the muscle-up, I'm still not using pure power
 
12:15 AM
@Ocramius if it would be possible, why not
 
:P
 
that's rather scary @FlorianMargaine ... i've gained about 10kg in about 10 years, which i'm aiming to reclaim :)
 
@Jack yeah, I know. I was at 100kg at some point, started to lose some weight a few months ago.
 
@FlorianMargaine That means you need to shop less at carrefour :P (and move more)
 
wow, that's killer for your knees.
 
12:16 AM
at least I don't look fat anymore
the problem is, my wife is a very good cook :(
 
Also, I'm ~80kg / ~178cm
 
your age?
 
@zeeks 21
 
you need to loose like 5kg
 
something weird: the stereotype of the single fat developer... I haven't really found it in real life.
 
12:18 AM
then all chicks will love you :p
 
in the 15 people at my agency, only one is single
 
and he is 150kg ? :p
 
and I'm the fattest one
@zeeks nope, he must be 1.80m for 75kg I think
so... "normal"
 
@FlorianMargaine There should be some diet-like receipts. With a workout scheme, you should lose some weight. Again, it's all about dedication.
 
how come he is single
 
12:20 AM
@FlorianMargaine of the ones in a relationship, are they all dating nurses? that's the other stereotype i hear :)
 
social stuff I guess, haven't asked him
@Jack none of them afaik
 
heh
 
@zeeks I've got a beard :p
 
sorry :(
@HamZa I had a beard this morning. :(
 
chicks love beard :3
i wish i had a beard
but i do not :'(
 
12:21 AM
yeah... no. Depends on girls.
 
oh yeah, especially when you get bits of soup in your beard ... yummy
 
hahahaha
 
@zeeks only in your age :P
 
@Jack They appreciate having a snack for later
 
anyway, it's 2am here, gotta go.
 
12:21 AM
definitely
 
good night
 
nite
 
or in your moustach :p
moustache*
good night
 
Fortunately my wife loves my beard
 
@zeeks TLDR: I do not party. So still single
 
12:21 AM
Or at least she pretends really well that she does
 
@cspray mine has mixed feelings about it
 
@Ocramius yeah, 17 years old girls love beard
 
on the one hand it makes me looks more masculine, but on the other hand it tickles heh
 
@Jack Well, it is going to start getting cold in a few months so like it or not she'll just have to deal with it ;)
 
hah
 
12:23 AM
we are internet guys. we do not party
we love coding :p
 
the climate here isn't very conducive for long beards anyway
 
@Jack when are you going to return to your motherland. Or not planning to?
 
I've found that I don't really like long, long beards
Once you have to start worrying if it gets caught in the zipper of your jacket... too long
When the wind is blowing your beard back into your face... too long
 
omg haha
@HamZa no plans yet :)
 
only muslims have that long beard -_-
 
12:25 AM
@zeeks Not true
 
nuh uh, what about Gandalf and Saruman?
 
well it is true for my country
in albania 50% of people are muslims
who the heck is gandalf?
 
are you telling me that you haven't watched or read about Lord of the Rings?
 
@cspray You reminded me of this guy youtube.com/…
 
i have downloaded the game via torrent and then deleted it
why
 
12:27 AM
@zeeks Muslims don't have that long beards. Probably about 10-15cm long
 
@HamZa That's actually about how long my beard was actually
 
I see
Mine is about 3-4cm approximately. Still growing!
 
@zeeks game?!
 
15 cm is a lot. @HamZa
what do you call a long beard?
@Jack do not tell me you have never playing lord of the rings?
 
omg
Lord of the Rings is a story, first and foremost.
 
12:29 AM
hey guys, how do i accept a get request?
Everytime someone sends a message to your API username, we are going to trigger a GET request to this URL with the query parameter 'username', which is the user who sent the message.
 
@zeeks 30? 40cm? But I guess it depends on the muslim himself. The rule is that if you grab your beard, and it fits in your fist, the rest you can cut it
 
The Lord of the Rings is an epic high fantasy novel written by English author J. R. R. Tolkien. The story began as a sequel to Tolkien's 1937 fantasy novel The Hobbit, but eventually developed into a much larger work. It was written in stages between 1937 and 1949, much of it during World War II. It is one of the best-selling novels ever written, with over 150 million copies sold. The title of the novel refers to the story's main antagonist, the Dark Lord Sauron, who had in an earlier age created the One Ring to rule the other Rings of Power as the ultimate weapon in his campaign to conquer and...
@HamZa i can currently grab it with only my fingers lol
 
@tejas-manohar GET requests are automatic in php/apache/nginx environment?
@Jack such a troller hahaha
 
@HamZa sorry new to PHP and all, so how do i get the 'username' from the get request sent to my URL
and would that URL be something like get-page.php or /get-page?
 
@tejas-manohar See super global $_GET. Also read the manual please. Pretty basic ...
 
12:32 AM
@HamZa did not know that rule
 
@tejas-manohar get-page.php is the filename of your script. /get-page might be a directory or a rewritten url. You might use .htaccess to rewrite /get-page to get-page.php
 
@Jack yeah but the game is pretty good also
 
yeah, so if i have it rewritten, then can i just put /get-page and the callback url
 
try download it
 
@zeeks are you a muslim?
 
12:33 AM
also, out of curiosity can this be done in front-end code, ex: jquery
 
@tejas-manohar I guess you need to first check how you retrieve a get variable in get-page.php?username=tejas
Also I hate hyphens in filenames. I don't know what others think. But I tend to not use them
 
@HamZa alright
@HamZa so is it possible to accept and handle get requests in static pages with jquery
or do i need a server side language like php
 
@tejas-manohar that doesn't make sense IMO
 
@HamZa hell no!
i do not believe in god
or anything else
i believe only in me
 
I see, when you get desperate, look into the sky :)
 
12:37 AM
ahahahahahahaha
you are muslim?
 
I am
 
i never get desperate. i am very positive :)
oh
how come
do you live in the usa?
 
I do not, check my profile :)
 
@zeeks you had a 50% chance to find one. There are more than you'd think in this world ;-)
 
@HamZa ok
Unknown
is that like narnia?
?
 
12:40 AM
@zeeks Meh, I'm living in amsterdam currently
 
cool
is it true that you can smoke weed there?
like legally
?
 
@zeeks You can, but it's not legal.
 
do you do that ?
wat
what do you mena by it is not legal ?
 
This thread is pretty handy to understand the matter:
40
Q: Is weed still legal for tourists in Amsterdam?

MeNoTalkI have heard it's not legal starting from 2013. I also heard they postponed applying this? So what's the deal? Allowed or not?

The TLDR of it is this comment:
BTW. it never was legal. It's illegal, but not prosecuted. — vartec Jan 24 '13 at 10:35
@zeeks no, no weed, no cigarettes, no alcohol
 
aha i thought you had netherland citizenship
 
12:45 AM
I'm a half-breed :)
 
nice
what is the other half?
 
algeria, also some indonesian blood flowing through my veins.
 
it sucks when you are 100% from one country :'(
 
why?
 
user895378
Hey @Danack are you around by any chance?
 
12:55 AM
setinterval like function with a while loop and sleeping for x seconds, or cron?
i need to web scrape every x minutes and compare to a db to look for changes
 
especially it sucks being albanian
 
@tejas-manohar comparing to a db is not done with a client side tech
 
we act like huge patriots
or nacionalists
 
im in the php room
 
whatever it is written
 
12:56 AM
@HamZa
 
but we do not
i want to experience new cultures
:p
 
use oracle :p
 
@zeeks then act accordingly to your believes. I never felt that I should follow my culture. Well that's also because I'm a half-breed. I follow what I deem and think is correct even if it's against my roots
@Jocelyn where have you been :o?
Jan 1 at 21:29, by HamZa
I'm wondering how @jocelyn is doing ...
 
12:58 AM
@HamZa I had lost interest in StackOverflow, but recently decided to come back
 
@Jocelyn I see, welcome back. Although I also lost interest in cleaning this mess :)
@tejas-manohar yes you are
 
I'm referring to server side code
I need to web scrape a page every 30 minutes extract info and compare it to the records in the db for that page
and tell tghe user if something changed
 
@HamZa Yes, it's disappointing to see there still are 10,000 questions in the close-vote queue
 
im wondering if a cron task vs. a setinterval like function with sleep function and while loop would be better
 
1:01 AM
@tejas-manohar Do you need to show some output to a user?
 
@HamZa you live like bikers, feel free and wild :p
 
@HamZa I'm going to Bali next week :)
 
show some output as in make a post request to a certain url which notifies them through anotehr service, yes :P
 
@Jocelyn Work or holidays?
 
@HamZa a 2-week holiday
 
1:03 AM
@Jocelyn Nice. Have fun and take care
 
I'm sure it will seem too short...
 
@tejas-manohar it seems to me this is a bit above your level but I guess you have to start somewhere.
 
@HamZa yep found a webscraper for what im using though - github.com/jeffzimmerlin/Craigslist-Notifier
i have a good understanding of programming, just new to web server side
and server side in general
been doing a lot of low level stuff
 
@tejas-manohar crappy code but I guess it's usable. Do you have a deadline? Is this for a job or just for a side project?
@tejas-manohar I want to move to low level stuff, I've been checking C++. Still a bit difficult and weird to do that step from the php world
 
yeah, difficult for me to step into the php world :P
potentially freelance, examining it for
*before
 
1:08 AM
@tejas-manohar I would not try to force PHP to be a long running process in that fashion. Unless you really know what you're doing PHP is not meant to be long running
 
@cspray alright, so cron?
 
Since you're just starting out you should stick to the way you're using PHP is meant to work... a short-living request/response cycles
So I would setup a cron task to get the data
Store it in your database somehow
 
yeah ok
 
Then have a JS event run every 30 minutes that shoots off the AJAX and gets the fresh data
 
oh do the web scraping in JS you think?
 
1:10 AM
Or, ya know, however long your interval needs to be
 
i found it already done in php
so i was like yeaaaa
 
I don't know JS well enough to say whether you should do that
 
@cspray alright, ik like pjscrape and all are options
 
My first instinct would be to do it on the server because I know PHP's DOMDocument API fairly well
 
but ill go for php
honestly my first instinct is if im getting paid make this pretty easy
and do the job
this looked like that
and its in php
 
1:12 AM
Well, scraping Craigslist is against the terms of service I'm pretty sure
 
really?
 
So really what you're asking to do is against the law and I won't actively help you with anything involved with the app beyond the help I have already provided
I'm pretty damned sure
This has come up before if I recall correctly
 
ok then i might stray away
 
You should definitely check out their ToS
 
let me look it up first
 
1:13 AM
Is this a freelancer.com job lol?
 
From craigslist.org/about/terms.of.use "Robots, spiders, scripts, scrapers, crawlers, etc. are prohibited..."
 
good idea
oh snap
ill drop it
but out of curiosity
since php only runs when a request is received
isnt cron actually necessary
 
@tejas-manohar Well, you need something to kick it off... but that could in theory just be the user going to the page for the first time
But if you expect anybody more than yourself to look at some hypothetical app that has similar requirements you really don't wanna go down that route
 
user895378
@Danack / @DaveRandom Please do me a favor and update the composer.json in addr to alert v0.10.0 whenever you get a chance... I'm having a real fuck of a time doing anything without it because composer hates me :/
 
Ah, that love/hate relationship with Composer
 
user895378
1:21 AM
Well it's great until you use libs that people who aren't you control. So when you change something in one library but can't install the other one because they have to update something before composer will let you have it then the process becomes a real cluster fuck.
 
Those pesky other people always getting in the way
 
user895378
I've spent the last hour just trying to pull in dependencies.
 
Ouch that sucks
 
user895378
It sucks. Does composer have some sort of override switch that I can just say, "I DON'T CARE WHAT THAT LIB SAYS, GIVE ME THIS VERSION" ???
 
"dev-master"?
 
user895378
1:23 AM
I've reached CAPSLOCK levels of annoyance
 
Oh, nevermind that's not what you want
You can't just go "0.1.whatever"?
I mean, I haven't used Composer to the extent that you have clearly
 
@rdlowrey yes: "require": {"somelib/thing": "1.1.0 as 1.0.0"}
 
user895378
@Ocramius oh please dear god let that work.
 
@rdlowrey Oooh, I get what you're saying now. Yea, that would be a bitch and a half
 
user895378
!!!!!!!!!!! @Ocramius you're a hero
 
user895378
1:26 AM
@Danack and @DaveRandom you can cancel the hot rush on updating the addr composer file because @Ocramius is a golden god.
 
Is this by any chance related to upcoming Artax changes?
 
user895378
yes, all the artax changes have necessitated major refactoring of lots of support libs
 
Ahh
 
@rdlowrey I just know the tool (a bit) :|
 
Are there going to be a lot of BC breaks or API changes?
 
user895378
1:29 AM
The new API is vastly simpler, but yes.
 
I'm starting on this idea that I have and Artax basically powers all the functionality
 
user895378
There's no longer a blocking client class at all. There is only an async Artax\Client class. But all you have to do to make a regular blocking request is this:
 
user895378
$promise = $client->request($uri);

// block until the response completes. If an error occurs this will throw an exception
$response = $promise->wait();
 
You're gonna force me to understand non-blocking stuff
 
user895378
Nope.
 
1:31 AM
No, I mean this in a good way
Your code has kinda made me re-evaluate what's possible with PHP
And non-blocking is important shit to know imo
 
user895378
Well it's nice because it lets you do lots of things in parallel like such as ...
 
user895378
$arrayOfPromises = (new Artax\Client)->request([
    'google'    => 'http://www.google.com',
    'news'      => 'http://news.google.com',
    'bing'      => 'http://www.bing.com',
    'yahoo'     => 'https://www.yahoo.com',
    'failure'   => 'http://this-address-totally-doesnt-exist-and-should-fail',
]);

list($errors, $responses) = After\some($arrayOfPromises)->wait();
 
It has been on the list of things I want to learn and I've had business use cases where I needed to do things in parallel, non-blocking and I had to come up with a sub-par solution because I couldn't do that.
 
user895378
So it's extremely useful even in the traditional web SAPI because you can say, "I have all these things to do. Do them all in parallel and let me know when they're all finished."
 
user895378
So it starts with the http client but soon I'll have non-blocking redis and postgres and ssh tools as well.
 
1:34 AM
Like what kind of SSH tools?
I've actually only just recently been in a situation where I even had a need to use SSH so I'm not entirely familiar with it
 
user895378
Well the main use case (for me) is to connect to github and retrieve things.
 
user895378
But anything you can connect to in a terminal and do you could do with an ssh client.
 
Ah, I see
 
user895378
Blocking ones exist now. I'm just on a mission to make non-blocking versions of anything useful so that I can do everything in parallel and go super fast.
 
Hrmm... that would be interesting as well
 
user895378
1:37 AM
This is why I say that all IO should be non-blocking -- because if that's the case then you can do everything you need to do in parallel.
 
user895378
Which, for obvious reasons, is way better than doing one database call after another in order.
 
Yea, but based on the PHP code I've seen in my short professional career there is no way in hell I would let the developer's that made those systems anywhere near non-blocking stuff
 
user895378
But you don't have to know anything about non-blocking to do it.
 
Really? I mean, it seems like that's a pretty big paradigm shift? Have you just figured out how to abstract it that well?
 
user895378
$promise1 = $httpClient->doSomethingAsynchronous();
$promise2 = $dbClient->doSomethingElseAsync();

// Let those two things work in parallel
$combinedPromise = After\all([$promise1, $promise2]);
list($httpResult, $dbResult) = $combinedPromise->wait();
 
user895378
1:41 AM
Because the http client and the db client in the above example are non-blocking they return immediately. The results aren't ready yet. They return a "promise to resolve the results" at some point in the future.
 
user895378
And the all() function just does the heavy lifting of combining those two promises into one promise that you can call wait() on.
 
@rdlowrey Yea, I guess it is the implementations of those doSomethingAsynchronous() that I'm worried about
Can you just write that kind of thing like you normally would?
 
user895378
Oh, well those are things that I basically have to provide for you.
 
user895378
Which is why I'm about to go off and write async libs for everything.
 
Ah, I see
Well, I'm definitely interested in the changes you have coming
 
user895378
1:45 AM
It sounds complicated but once you see it in action it's really not, I promise :)
 
1:59 AM
i have not seen dave around here today
where is he
 
 
1 hour later…
3:01 AM
@joeWatkins just cracked 50% test coverage :-). Still broken, but I fixed a TON that was fundamentally broken, so :-)
 
 
1 hour later…
4:03 AM
@zeeks dave who?
 
4:38 AM
Fellas, MediaWiki alternatives for managing information and knowledge inside of an organization?
 
 
4 hours later…
8:17 AM
probably something like Jira
 
Isn't JIRA mainly for ticket managing?
 
well , they seem to be building a complete suite
but, yes, the core of it is (probably 'was') ticket management
 
Hmmm
I'm looking for something more wiki-like
 
8:41 AM
@SecondRikudo Confluence is a Wiki - that integrates with Jira
It also integrates a Q&A module: atlassian.com/software/confluence/questions
 
@SecondRikudo I like redmine's wikis
 
8:59 AM
mor
 
Morning
 
9:17 AM
morning
 
morning
 
9:33 AM
59
Q: Junior colleague is questioning my methodology in front of client

ShruMy junior colleague and I attend a meeting every week. Last week I was giving a presentation about the proposed work to be done and my colleague questioned my methodologies in front of the client. At the time I was clueless what to do. I am still not sure how to handle this kind of situation. W...

 
Morning
 
9:50 AM
@Ocramius Thx!
 
hi
 

« first day (1387 days earlier)      last day (3555 days later) »