« first day (2140 days earlier)      last day (2802 days later) » 

9:00 PM
> Madara Uchiha, i repost because i people didn't comment with the answer to my question. Please help. – S. T. Abdulrasaq 44 mins ago
 
hahaha
Considering he's not going to improve it...
 
what's sad is that tactic works - repost at various times and it's not unlikely to catch someone to fix everything for you (usually answering with a block of code and no explanation)
 
o/
 
O/
 
9:13 PM
Damnit
 
Mine is the biggest.
 
(O)/
I win
 
●/ we need to diversify.
 
             /\
  ____      / /
 /  _ \    / /
(  <_> )  / /
 \____/  / /
         \/
 
Ekn
■/
 
9:20 PM
 
∖o∕
 
o/ \o \o \o \o
(Godwin's law achieved)
 
👋🌝
 
So... I take it you guys are bored?
 
8 minutes until I go home, so yeah
 
9:22 PM
@Trowski actually @Danack was the only one who got it. What is important is the diversity of thought and no the diversity of form for the same thought.
 
Anonymous
G'night all <o/ - sassy hand on the hip. Yes, my neck is my hip.
 
if I start into something new outside of reading a few articles on SP here or there, I will be in the middle of it when it's time to go
 
hold up... there's a unicode character 💆 'FACE MASSAGE' (U+1F486) ..wth
 
@tereško Very much agree... unfortunately that's not what people focus on.
 
9:24 PM
Jun 16 '13 at 15:20, by Danack
Go home Unicode, you're drunk:
http://www.fileformat.info/info/unicode/block/domino_tiles/images.htm
 
🁡
sweet
DOMINO MOFO!
 
@MadaraUchiha Tomorrow is my last day, pretty sure I am going to be less use than a trap door on a lifeboat.
 
@Fabor how did your boss take news of you guys leaving?
 
😄
 
@Trowski you see someone claiming "we have diversity" and all you see are 5 chicks with different combinations of hair and (rarely) skin color ... I am always waiting them to break out and make a Megazord
@rabbitguy (regarding your deleted comments) because it has become a corporate checkbox
 
9:32 PM
@bwoebi I've done some analysis on some snippets of code:
This is 63 non-whitespace characters:
$types = [];
foreach ($events as $event) {
    $types[] = $event->getType();
}
This is 69 and less readable:
$types = array_map(function($event) {
    return $event->getType();
}, $events);
If you extract the function to a variable then readability is gained but it's even more characters. This is 87 characters:
$getType = function($event) {
    return $event->getType();
};
$types = array_map($getType, $events);
This is 53 characters:
$types = array_map(^$event => $event->getType(), $events);
Finally something that is short and readable (once you have learned what array_map and arrow functions are).
But this illustrates the basic problem with functional programming in PHP: it just takes too many characters right now.
Keep in mind these didn't even capture any variables.
 
@LeviMorrison that is less readable
I have no idea what ^ would even do
 
Just for my information, @tereško what language are you talking at work?
 
@tereško At first, yes.
 
@Shafizadeh latvian, english ... some russian
 
@tereško oh ..
 
9:37 PM
(not a common setup)
 
@Danack Fairly well. Disappointed I was going but understanding.
Didn't try to convince me to stay :P
 
One English question: Does "his" need to be written by a capital H in this sentence?
> No leaf falls without his knowing it.
 
FYI, "his" refers to the God.
@PaulCrovella ah ok
 
@Shafizadeh ah, in that case yes
 
9:41 PM
Also, if we had something like this that would be lovely:
$types = array_map(Event::getType, $events);
 
@PaulCrovella Are you sure? As you see "his" is in the middle of sentence, So still are you believing it should be written by capital H ?
 
@Shafizadeh It's a convention to capitlize His, Him, etc when referring to Diety in many religions.
It doesn't really need to be done.
 
@LeviMorrison even when it is in the middle of sentence? (not in the first of it)
 
@Shafizadeh Yes
 
@Shafizadeh Yes.
 
9:43 PM
@LeviMorrison ah I see
 
And especially if you're referring to Me.
 
thx guys
 
even in the middle
 
@MadaraUchiha :D
@PaulCrovella ok. got it
 
I've been looking up how to get "symbols" in other languages. All of the common symbols they use are already taken in PHP.
hash (#), colon (:) and ampersand (&) are common.
$types = array_map(#Event::getType, $events);
$types = array_map(:Event::getType, $events);
$types = array_map(&Event::getType, $events);
None would work for PHP.
 
9:46 PM
@MadaraUchiha you entertained us… and that's nothing productive????
@LeviMorrison I TBH find the foreach example still most readable though … standalone. In a bigger context the short closure might be most readable, yes.
 
@LeviMorrison What about the backtick?
`?
 
Backtick is also taken.
 
@LeviMorrison ampersand wouldn't?
 
@bwoebi reference
@LeviMorrison For what?
 
@MadaraUchiha that's on variables/function calls/props/array dims
 
9:48 PM
@bwoebi Yes but consider &$event->getType.
@MadaraUchiha Executing shell commands.
 
@LeviMorrison oh, you want that to work too
 
@LeviMorrison Right.
Also @LeviMorrison did you catch my ping about the closure thing?
 
@MadaraUchiha the complement example?
 
@LeviMorrison Yeah
 
@MadaraUchiha Yeah - I added it to examples.
 
9:49 PM
\o/
 
Some languages mix symbols to get it like:
#{Event::getType}
 
so, &{$event->getType} in PHP?
 
I wish · was easier to type
 
@PaulCrovella alt+shift+h for me … how hard is it for you?
 
Here's another: function foundIn(array $coll) { return ^($item) => in_array($coll, $item); }
array_filter($someCollection, foundIn($anotherCollection));
 
9:52 PM
Yeah, I already have an in_array example. It's a very common one.
 
Looks like it, yeah.
 
@bwoebi alt+250
 
oh, a Windows user
 
Time to watch Mr. Robot \o/
 
@PaulCrovella yeh, these are unmemorable
 
9:54 PM
@bwoebi You watch this series?
 
@bwoebi Is &{} not allowed already?
 
@LeviMorrison in what context?
&${...} is, but not &{$…}
 
&$event is valid; would &{$event} be?
 
no
 
That's probably be too confusing.
 
9:56 PM
@LeviMorrison well, ::$event->type would work… but uh… that looks weird.
 
looks a bit like a rocket
 
|$event->type| ducks
 
We should design all our new language structures around shapes.
 
like the zoidberg-with-toupee operator ?:=
 
Boom, exactly
Let's make a mouse operator too ~(_8>
 
10:02 PM
@LeviMorrison That's not terrible...
 
$types = array_map(#Event::getType->bind($event), $events);
@bwoebi Basically I want to avoid this ^
 
@LeviMorrison … because it's a comment, you mean?
 
Pick whatever symbol.
 
or what do you mean?
 
I kind of like # and : but of course neither work anyway.
 
10:05 PM
@LeviMorrison TBH : would look awkward to me
 
Probably.
Languages that use : usually use . for member access.
 
@LeviMorrison why are you ducking? doesn't actually look bad?
 
So :Event.getType is what it would be.
 
*event->getType
 
25 mins ago, by Levi Morrison
@Shafizadeh It's a convention to capitlize His, Him, etc when referring to Diety in many religions.
unless you want to express your opinion that "god" is not a divine being but a figment of imaginations
... which might be a bad idea in your country
 
10:13 PM
Unary * seems appropriate.
*$this->getType
@tereško Or worse... Her.
 
@Trowski that applies only to pagan religions ... and Hinduism
 
I would think implying that God is female in many countries would be a poor idea.
I know little about such things, so perhaps I'm wrong.
 
@Trowski well .. it depends. In all abrahamic religions (judaism, christianity and islam) have actually this character named Asherah
 
is God not androgynous in some religions?
 
anyway, I need to sleep
@Fabor no. But there are hermaphroditic deities
maybe Unitarianism has an androgynous deity .. but it might have changed since they were taken over by SJW bullshit (at least in some chapters)
 
10:24 PM
Ah well. It's all somebodies Chinese whispers anyway.
 
nn
 
Nightsko
 
@Fabor Hermaphroditus was, which is where the word "androgynous" comes from
but maybe that's cheating
 
I think Nike is the best God.
What's the jeeves command to list commands?
!!help
!!commands
 
!!list
 
Ekn
10:29 PM
!!plugin list
 
Currently registered plugins:
[X] Canonicals - Posts links to canonical resources on various subjects
[X] ChuckSkeet - Posts a random Chuck Norris/Jon Skeet joke on request
[X] CodeFormat - Asks users to format their code when unformatted multi-line code blocks are posted
[X] PHPDocs - Searches the PHP manual and displays links with a summary of the result
[X] 3v4l - Executes code snippets on 3v4l.org and displays the output
[X] Google - Retrieves and displays search results from Google
[X] Github - Displays Github status, profile, or repo information
 
!!swordfight
Dankns
 
> [X] Translate - Translates text another language
I wonder if it's to or from
 
!!translate Sup fam! You got dat bread?
 
@Fabor Sorry, I don't speak Sup
 
10:33 PM
!!translate jive turkey
 
@PaulCrovella Sorry, I don't speak jive
3
 
lol
 
yesss
 
@PeeHaa Can we add some key value storage to Jeeves? Redis or something.
 
Ekn
!!translate olvidalo
 
10:35 PM
olvidalo (translated from English)
 
Ekn
-_-' duh
 
@Ekn Sorry, I don't speak olvidalo
 
You guys speak anything other than English? I mean I presume you do Ekn
 
did anyone tried this ?leanpub.com/typedphp
 
10:36 PM
Ah, old-school... questionable jokes :P
 
!!translate namaskar
 
@Linus Sorry, I don't speak namaskar
 
-_-
 
Ekn
!!es olvidalo
 
!!translate wolof Na nga def
 
10:38 PM
@Fabor Sorry, I don't speak wolof
 
Meh, crap episode of Mr. Robot. No Elliot = no fun :(
 
@Jeeves you suck.
 
Ekn
so I heard, still haven't seen it
 
@Fabor I barely even manage English.
 
Ever aspire to?
 
10:41 PM
nah
I know enough to pick a fight in a handful of languages. It seems to get me by.
 
heh
I'd love to learn a second language, but it's just not practical. I'm secretly hoping to one day have a GF who speaks another language and I can just learn what she knows -_-
 
that's how I learned a lot of the bad words :/
when you find her, piss her off - you'll pick up plenty
 
lol
 
Ekn
:D
 
user895378
@Trowski @bwoebi based on your conversation I fleshed out another even simpler API and posted it to the thread at github.com/amphp/websocket/issues/5#issuecomment-242567931
 
user895378
10:45 PM
There's a lot of explanation in the code comments. Please be sure to read them.
 
I'll do… give me a few
 
Hopefully Japanese.
Daniel, keeping up with Mr. Robot?
 
@rdlowrey Did you really read the whole conversation?
@rdlowrey Especially the part that there shall be a simple (aka "dumb" way) to just get high-level messages (via a simple observable) and a low-level one for streaming messages, which also throws
 
@rdlowrey recv() doesn't really follow from the conversation. Your description lends itself more to an Observable than an iterator of awaitables.
 
^ and that
Also @rdlowrey … most people don't want to care about the damn type and underlying semantics of the protocol. Abstract things like type, framing etc. away for them and replace them by simple strings. — Other people may - due to the nature of their application or debugging - need to know about them, be able to stream frames etc., aka full control.
We need to fulfil two different needs which we cannot map into a single API. Thus, simple as this, provide two APIs.
 
Wes
11:04 PM
Happy 25th birthday, #Linux! Here's your f-ing #cake, go ahead and compile it yourself. https://t.co/OCQUDPhlXY
wait is linux only 25 years old?
 
@Wes That's older than me… so, well… like everything more than 20 years old, it's antic.
 
RIP triple monitor setup. Now I have to deal with two monitors like a peasant :(
 
Wes
get a 21:9
 
@Fabor For me a laptop+desktop were always enough monitors…
 
@bwoebi Until you have 3.
 
11:14 PM
@Fabor Tried that for a week (2 desktops + 1 laptop) two years ago… the second desktop turned to be unused all the time
 
You need to have that as your no-productivity monitor. For music, chat and kitten videos on youtube.
 
@Fabor That's already what the one half of my desktop is…
 
Halves are for peasants. Full screen all the things!
2 is fine tbf. 3 is luxurious and 4 is too many.
 
@Fabor you meant… 1 is fine, 2 luxurious and 3 too many?
 
heh. Never!
Though I will soon only have the laptop, so I will have to become familiar with switching fast and screen real-estate
 
11:17 PM
cmd+tab all the things
or having spaces and navigating with alt+right/left arrow
 
You watch Mr. Robot @bwoebi?
 
@Fabor nah
 
one day I'll get me a couple of these and be set
 
Tried?
It's hideous Paul
 
you shut your whore mouth
 
11:21 PM
My dream is to one day have 3 24" monitors side by side and a ~72" TV mounted on the wall above them. The TV connected to my console(s) and a sofa behind my PC chair.
 
@PaulCrovella hrmm.... that looks like it would be useful
 
@PaulCrovella there … is a reason why monitors are wider than high… your eyes are on a horizontal plane, not stacked…
but 1980x1080 is an abomination … 1980x1200 ftw.
Anyway, 2880x1800 ftw.
 
both my current monitors are 16:10, and it pains me that 16:9 seems to be taking over everything new
 
I wonder what people will be using 100 years from now
 
@PaulCrovella Does it? Monitors from apple at least have been 8:5 since ages...
 
11:28 PM
I'm 4 episodes behind on Suits. \o/ Another night without much sleep for me.
 
@bwoebi it's what I've noticed, but then again I haven't looked very hard. hopefully I'm wrong.
 
@PaulCrovella you aren't q.q
at least the equilibrium has always been towards 16:9
class User {
...
    // typically model will have singleton
    public static function getSingleton() {
...
    }
...
}
 
So, 5 points to the person who can guess what food I am suddenly craving? -_-
 
so the new doc feature is a shitshow in both concept and content. good to know.
 
@Fabor chicken?
 
Ekn
11:37 PM
I saw a user that had 2k+ rep with only (iirc) 3 questions and no answers
 
No, but I would still eat chicken if it was put in front of me.
 
@Fabor So, the food is not chicken.
 
that comes across different if you misread it as "eat a chicken" as I did at first
 
No, but it's related to about 24 hours ago.
FTR it's pancakes.
5 points to me.
 
Ekn
pancakes.
 
11:39 PM
3 points to Ekn
 
Ekn
too slow
 
cake
 
I could totally go for chicken and waffles now.
 
Never actually had that
Sigh, I think I have more alcohol than food in my kitchen.
 
happy Rebecca day all and good nite all
 
Ekn
11:41 PM
nite
 
Nightus
mmmm bacon
I like to punish myself with pictures of tasty food when I am hungry.
 
@Fabor is that some sort of BDSM? :-P
 
@bwoebi lol maybe.
 
I was able to resist clicking the link until @bwoebi's comment. sigh.
 
@PaulCrovella Shall I now be happy achieving to coerce you into that or sad?
 
11:53 PM
Happy about his sadness.
 
depends what you're into, I guess
 
"It's not enough I should succeed, others should fail!"
 
Good, let me be neutral instead.
 

« first day (2140 days earlier)      last day (2802 days later) »