« first day (2556 days earlier)      last day (2406 days later) » 

Wes
12:49 AM
 
:D
 
Another night without sleep :(
 
1:10 AM
@Fabor too much sex or your back still hurting?
 
lol latter
Hip pointer injury I think
Swelling and damage and probably pressing on a nerve
The nerve pain puts me in fear of movement and the general dull ache keeps me awake
 
 
3 hours later…
4:44 AM
Picture of my crotch for you guys.
 
 
1 hour later…
5:59 AM
mornin
 
o/
 
\o
 
o/
 
 
1 hour later…
7:22 AM
morning
 
Anonymous
8:09 AM
mornings
 
@samayo what's that "s" in the end of "morning" ?
 
Anonymous
many
 
Warning: finfo_file(): Null byte in regex in /root/php-src/bug/1.php on line 4 – #75379
 
Mornings
 
8:20 AM
@ToukaXKaneki do you know what's that "s" in the end of 'morning" ? (if you don't, take a look at comments above ;-) )
 
Wes
@Shafizadeh we add the s as a joke, but it's incorrect
 
@Wes ow!
@samayo seems all people in here like joke
 
Anonymous
Yeah
 
Anonymous
Sadly none of them are as funny as me. I am the jokest
 
8:24 AM
:)
@samayo good for your co-workers
 
Anonymous
Nah, they are French
 
can't they get you?
 
Anonymous
they have no sense of humour
 
@Wes I was thinking about that quote plugin, and would it be too bad if we initially just support i.imgur.com/0CXl0N0.png ?
 
@samayo as far as I know Frenchs are God of emotions. There is a kiss named French-kiss which is full of sense
 
Anonymous
8:33 AM
s/Frenchs/the French
 
Anonymous
... and maybe. I haven't kissed any of them yet
 
Wes
@ToukaXKaneki yes, using a different picture shouldn't be too hard. the hard part was fitting the text inside the picture
 
Anonymous
I probably won't ... since they eat frogs
 
@samayo :)
@samayo ugh
 
Obviously if you get drunk you'll kiss the frog... so...
 
8:35 AM
I was thinking about a manual switch case. Shouldn't be totally foolproof but will do...
Something like,
 
Wes
the solution is in the issue, it's kind of brute force but i doubt there are other solutions github.com/Room-11/Jeeves/issues/223
 
@DejanMarjanovic :)
 
Wes
3 days without proper internet. i am so fucking annoyed
support closed the call 3 times yesterday -__-
 
you mean the jsfiddle one right? I was pretty confused on how to implement that in PHP
@Wes :P
 
@Wes It's been always the same for me :(
 
8:39 AM
watch some animes meanwhile
 
Wes
1: no
2: i'd need internet anyway
 
@Shafizadeh Move to Germany, experience Iran internets away from home.
Actually just mobile internet...
 
@DejanMarjanovic I hardly think Germany will accept me even as a passenger for 1 week
 
Anonymous
Can someone recommend a good anime? I saw samurai champloo, one punch man last month and I liked them both
 
meh, its fore these dire situations I always have some series downloaded offline
@samayo Steins;Gate
 
8:42 AM
@samayo Overlord is nice, and seems up your alley
Also that ^^
 
Anonymous
thanks.
 
@Shafizadeh Not true, they accepted a fair amount of shady people amongst those 1M refugees, and they wouldn't accept you if you had a job offer from Germany (which is kind of not that hard)? :-)
 
Anonymous
I'm saving fullmetal alchemist for a special occasion @MadaraUchiha I think you recommended that before.
 
By shady I mean me also.
@PeeHaa agrees.
 
You haven't watch FMA yet?!
 
8:44 AM
@samayo s/fullmetal alchemist/Fullmetal Alchemist: Brotherhood
 
Yes ^
 
@DejanMarjanovic :)
 
imo FMA:B was far better than the original one
 
Anonymous
@MadaraUchiha Yeah. I watched avatar 1,2 a while ago. If FMA is as good or even better, it needs to be watched on a special occasion
 
Yes
@samayo Honestly, I don't know of any cartoon ever that's better than Avatar.
But I think FMA:B is a close second.
@ToukaXKaneki It's worth noting that in FMA:B that scene was quite a bit toned down when compared to FMA
Which could be seen as either an advantage or a disadvantage, depends on your view :D
 
Anonymous
8:46 AM
Probably. But I was blown away by death note and spirited away, I don't consider avatar better than those ... but I really enjoyed watching it
 
Anonymous
i don't wanna see the movie though, i heard it sucked
 
Avatar is <3, Avatar is life
I mean I still get the chill when I watch it
Oh! I got a plugin idea! A manga search thingy...
 
So I need to learn Java... I hear @DaveRandom can help me :-)
 
finfo_file treats XML file as text/xml – #75380
 
@DejanMarjanovic I can help you too. I can also find you a good therapist.
(Seriously though, I've dealt with Java's shenanigans for the better part of two years)
 
9:03 AM
> IT Problems
 
Wes
9:22 AM
italian proverb: the mother of imbeciles is always pregnant
 
@Wes XD
 
Wes
it's one of my fav proverbs :B
 
@MadaraUchiha I don't want to, but... better jobs/positions, better money... and also in current job 30% of codebase is Java (because reasons)... just want to learn it enough so it isn't a problem in the future :-) So what's your experience? :-)
 
@DejanMarjanovic Spring, MVC, general server-side
Very little desktop/gui experience.
But I know the general gists, build, Maven, classpath, the works.
 
9:29 AM
Yeah, just web-y thingies, no desktop.
Basically I was reading the code and it looked like PHP :)
 
You'll find that the biggest leap from PHP is the fact that you have persistent memory between requests
 
Yes, that's something I would need to wrap my tiny brain around.
 
So you can do some really efficient in-memory caching and idle database persistence
 
As far as I see, lots of companies are avoiding php like a plague... and they think Laravel is the best example of php...
Not saying companies matter, but... it's some sort of a sign...
I still manage to do everything better in php than java people can... (in my case)
(not everything of course, but most of web stuff)
 
Wes
@ToukaXKaneki are you using gd or imagick?
i have only 6 files to modify today. but they are a mess. i don't know what i'm doing already
 
9:43 AM
@DejanMarjanovic I can totally see why they'd avoid PHP like a plague
PHP is an uncut gem, surrounded in 100kg of feces.
There are some good parts sure, and if you have a lot of discipline you can make it work well. But that's a huge if. And PHP allows you to do abominations in your code far too easily.
 
Wes
people think that wordpress === php
 
@Wes Not people that matter.
 
@Wes gd
 
Anonymous
I think if php is to rejuvenate it must change it's name or something
 
Wes
only counts what's popular @MadaraUchiha
not "people that matter"
 
9:46 AM
@Wes You work for people that matter, not for what's popular.
 
Anonymous
it has a lot of bad rep even where I work, no one wants to touch it
 
PHP's problems, in my eyes, is that is has more quirks than JavaScript, and less power.
 
Wes
i work for myself. i don't follow trends. i know that languages are all of the same shit
 
@MadaraUchiha Exactly :( Also people who do php are sometimes difficult to deal with, lots of Dunning–Kruger there.
 
@Wes What languages do you know?
 
Wes
9:48 AM
deeply, i'd say php and "classic" javascript. basically just javascript without the sugar
but i understand java, c#, python
 
Without being async :-)
 
@Wes So I'm sorry, but you don't have enough of a wide perspective to make that claim.
All of your languages (save for python, perhaps), are C-style languages
Same basic concepts, some more OO than others
Take a dive into a Lispy language, Clojure or Common Lisp are pretty good
Take a look into Haskell
 
Wes
you think that. java has some serious problems and they are the reason jvm based languages proliferate these days
 
Not saying that those languages are intrinsically better
 
Take a look into Prolog. @Wes :P
 
9:50 AM
Lately I've been doing some home automation stuff, and php libs/sdk are depressing, with few exceptions... mostly those are java/nodejs/etc.
 
But they do give you a wider perspective about things you'd never imagined possible with a C-like language.
 
@Wes Try bi-directional programming languages.
 
Wes
my point was, all programming languages have problems, even new ones if they inherit stuff from other languages
but php's bad reputation is well undeserved. it's like saying that css sucks because bootstrap sucks
in php's case bootstrap is wordpress
 
In php's case bootstrap is php
Also, bootstrap doesn't suck
 
Wes
it does
 
9:54 AM
css sucks
 
Wes
but anyway... wordpress is terrible
 
Anonymous
php's problem is simple. It's very easy to learn and hence very easy to create lot's of bad code
 
The nozzle points at your foot by default
 
@samayo True, but code can be rewritten, but people's minds are not that easy to change... talking about your team. So you have to invest a lot of time energy to persuade someone in why it should be done like that e.g. SOLID.
I guess it's also a part of a process, but it's tiresome... somehow I feel like Java has less of those problems.
 
ffmpeg is so damn weird
 
10:11 AM
by just saving the video the size doubles
 
Wes
10:57 AM
what kind of tea goes with milk? @brits
 
Indian :P
 
Wes
tried english breakfast with milk but doesn't taste right
 
11:24 AM
!!horoscope scorpio
 
> ♏ Scorpio | Oct. 23 to Nov. 21
While there’s no shame in admitting you don’t know everything, there’s actually quite a lot of shame in admitting you can’t figure out how to eat chips and salsa.
http://www.theonion.com/features/horoscope
 
11:48 AM
3 messages moved to Trash
 
Wes
. !!google is much better than the !! other one i never remember
i am watching rick and morty, casually. i should probably pay more attention
i heard all the crazy things that happen in the episodes are somehow interconnected. is that true?
 
Anonymous
!!wotd
 
pestiferous bringing or bearing disease.
 
Anonymous
!!remove
 
@samayo Sorry, you're not cool enough to do that :(
2
 
Anonymous
11:52 AM
thanks @PeeHaa
 
Wes
@MadaraUchiha is there a verb for "creating a partial function"?
 
@Wes yep some of them are
 
@Wes currying?
!!dad
 
Is this pool safe for diving? It deep ends
 
@Jeeves Boo, you're starting to repeat :(
 
11:53 AM
@MadaraUchiha Lucid dreaming.
 
Indeed.
 
Wes
as a verb? curry-ize? :B
 
@Wes to curry
Although currying is a bit of a special case for partial application
Partial application is JavaScript's .bind()
 
Currying is making a function with a signature like a => b => c => d (instead of (a, b, c) => d)
 
11:55 AM
o/
 
Wes
actually i might be incorrect. i'm not creating a partial function, i am binding a outer scope variable into a function:

function($a, $b){
    return function($b) use($a){ /* uses a and b */ };
}
doesn't seem currying/partial :B although it is similar
how would you call this practice?
if it has a name
specifically i want to know how the inner function is called in that context
 
Wes
*binding = inheriting
 
23 hours ago, by ToukaXKaneki
would love some constructive criticism on the plugin :B
Here, the plugin in question is the Manga one
 
Wes
12:10 PM
omg he's adding animes to jeeves
can someone stop him :B
 
:(
I'm doing this for the t-shirt
 
@Wes Your $b variable is shadowed by the inner function
function($a) {
  return function($b) use ($a) {
    // magic happens
  }
}
is equivalent
 
hey @MadaraUchiha check it out :B
 
Wes
@MadaraUchiha yes that's obviously what i wanted to write :B
 
That's creating a higher order function
It's not currying or partially applying
@ToukaXKaneki Check what out?
 
Wes
yes. does a "high order" function means that it has some hardcoded/shadowed variables
i thought it meant "returning a function"
i am unable to name these things despite i do them all the time
 
@Wes That's exactly what it means
A higher order function just means a function that either returns or accepts another function (or both)
 
Wes
ok, i knew that :P
 
Partial application means taking a function and locking some of its parameters, so that you get back a new function that does the same, but accepts fewer parameters.
Currying is a special case of partial application, where the function is explicitly written so that it can accept parameters "in stages", returning partially applied functions until the last parameters are provided.
 
Wes
if it's done with inherited scopes instead it's called "shadowing" ?
 
12:18 PM
@Wes "shadowing" is when you have two variables of the same name in nested scopes, and the inner one wins
The following is also shadowing:
function something($e) {
  try {
    foo();
  } catch ($e) {
    // Can't use the function's $e here because $e is shadowed by catch
  }
}
 
oh no.
I seem to have fucked up
 
Wes
that's so wrong tho :D
double declaration, ish
 
git halp
I created a pull request github.com/Room-11/Jeeves/pull/238
but it includes other commits as well which belongs to another pull request
 
Wes
are you trying to hide the manga plugin in some more useful plugin
:B
 
no... the situation is I'm not very good at git, and I'm panic-ing :P
 
Wes
12:23 PM
i think you made a mess. i would start by retracting the PR
 
okay..
I closed it...
 
Wes
then you need to check out the weather plugin and merge it in a new branch based on master
then check out the manga plugin, remove the weather stuff and commit it into another branch also based on master
but ask madara i am clumsy with git too
 
umm... wait... lets go a lil' bit slow :P
I created a branch WeatherPlugin and checkout'd into it
and remote push'd it into a different branch
 
Wes
ok, create a branch based on master
 
how do I do that?
 
Wes
12:27 PM
then merge MangaSearch in that new branch
so you have two equal branches
 
Wes
then remove the wrong files in each of these branches
and commit the changes
@ToukaXKaneki i don't know with git i would do it with sourcetree, you just checkout master and click "branch" :B
 
umm... k. lemme try what you just said
 
Wes
but the wrong commits will still appear in history
in case you don't want to do that, save the files in another non-git folder, branch again from master and commit only the files belonging to the correct branch
 
alrighty!
 
12:46 PM
Hey guys. Is this a good place to ask about Laravel? I can't find any active chat room of Laravel
 
Wes
noice
if you don't understand git like me, use sourcetree :B
 
alright :P
 
If you don't understand git like me, learn it
 
@littlepootis no body ain't got no time
 
Wes
12:50 PM
you can learn it using sourcetree, visually
 
@Wes WDYM don't understand git? :|
 
Wes
@DejanMarjanovic i only understand the basic stuff and i never try new things. also if i mess up something i don't know how to solve it
my git patterns are limited to branch commit merge and that's it
 
And basically that's it, if it's more complicated then you have other issues...
It's hard to keep clean commit history :(
 
Wes
it's probably sufficient but i would like to know more
 
1:01 PM
\o
 
Wes
also i basically have no idea about the command line. anything i do is through sourcetree, which luckily is very clear. program is shit but at least i can understand what i am doing :B
@MadaraUchiha functor ~ high order? or functors produce high order functions?
 
@Wes well I use the git for mac (gui), which is nice because I have shitload of repos, and the commands are stupid, and it's easier because I can click on files rather that adding them one by one using cmd, etc. +1 for gui anyways...
 
@Wes functor = "something that can be mapped over"
 
Wes
i mean, i am a bit unfair. the program works, except it's heavy, it hangs... also they like to move stuff where i can't find them
when sourcetree crashes i sometimes have to reboot... it crashes hard, like a lamborghini at full speed into a titanium wall
@MadaraUchiha code example?
 
@Wes A PHP array is a functor
It can be mapped over with array_map
 
1:05 PM
@Wes sounds about right comparison coming from Italian... Windows?
 
Wes
i thought you would like the metaphor, that's why i did it :P and yes, windows
thanks @MadaraUchiha that's not what i thought functors were
 
Honestly, that has to do with the more mathematical side of functional programming, which I'm not very fluent at
So it could be that I'm wrong
 
Mornigns
 
Wes
\o
names of patterns are completely useless unless you need to communicate about them to other people
 
@PeeHaa Morning, guy with twisted Bayern flag which got transparent Franconian flag over it, and random James Bond.
 
1:09 PM
:P
 
github.com/Guzzle3/plugin-async/blob/master/… how does this make it async? Certainly it doesn't work as expected, as in it waits until the request completes, but returns no body.
 
Wes
@NikiC what do i risk if from a visitor i change the tree but not through the visitor's functionality? for example i add a import-use statement on page X while i'm visiting a function's statements in page X?
maybe i'm going to fuck up some array offset
Ever needed to visualize a PHP object graph? Here's how: https://github.com/sebastianbergmann/object-graph#usage
3
 
Crazy guy... looking forward to overpaid International PHP conference in Munich.
 
1:25 PM
PeeHaa do you happen to be free atm? :B
 
yeah I do have some time right now
Shoot
 
Some hangover recovery time, right
 
Have been mostly sober last night :-)
 
Checking
 
1:29 PM
imagerotate() doubles the memory usage – #75382
 
What's going on with the sample config in the weather plugin?
 
github.com/sebastianbergmann/object-graph/tree/master/src why are the dirs lowercase, is that some new popular thing to do?
 
Or am I looking at it wrong?
 
if you mean the first two commits I forgot to rename the config.yml to config,sample.yml
so had to create another commit to reflect the rename
 
1:34 PM
k I hate github reviews
So confusing
:P
Do I see it right that there is a room added to the sample config now?
 
Yes... should I remove that
 
Yeah
Unless you have a good reason to add it
 
alright
 
Besides my nitpick newline comment it looks good to me
Two questions
1) do you need PRs for a hacktoberfest shirt?
2) Can you add some tests for the plugins? <3
 
@PeeHaa yeah.
 
1:36 PM
kk
 
and secondly, I shall try... you should know I've never really written a test
 
It's a good moment to start :)
Look at some other tests. Also I can point you to what to do if you are stuck
 
@Wes you might break something if you change something in the same array both manually and through the visitor
 
alright! :)
 
As you said, offsets are going to shift
 
Wes
1:39 PM
@DejanMarjanovic why the namespace structure doesn't match the filesystem is the question
 
1:49 PM
@Wes you probably didn't brew it strong enough, or add enough sugar. Try 2 teabags brewed until the tea starts to cool down a bit.
 
Wes
@NikiC how about visitors used inside visitors? where the inner visitor would traverse only the node currently being visited by the outer visitor? that should be ok i think (i know i could do it with one visitor only, but trying to separate a bunch of spaghetti procedural in smaller pieces)
@Danack milk tea ratio?
 
@Wes Also that, I mean, PSR-4 or whatever.
 
@Wes it's not rocket science ...
 
1:6? at a guess......and real milk, not skimmed.
 
Wes
oh, i've probably used too much milk then :B
i did like 1:1
 
1:53 PM
.....
 
That's white coffee :D
 
Wes
people in the movies always add a fuckton of milk in the tea. seemed right
 
@Wes Well I don't blame, I cannot make bonbon coffee, even tho it's 2 ingredients and 1:1...
 
@Wes apart from the choice of milk, seems about right youtube.com/watch?v=oiI35vUB6Dg
 
Wes
i don't have actual milk though, only skimmed. that must be part of the problem too
 
1:59 PM
try the condensed milk, maybe better effect
 

« first day (2556 days earlier)      last day (2406 days later) »