« first day (2348 days earlier)      last day (2599 days later) » 

7:01 PM
evening
 
@Sean Does it send the Connection: close header?
There was something like thta for list too and @DaveRandom fixed it at some point
 
Wes
@Tiffany "from this point onward" or "from this point onwards"?
 
Ah no
 
Wes
also evenings
 
Not in getRFC or getRFC votes.
PR inc.
 
7:04 PM
That should fix it
\o/
 
@Ekin Yep. Want to update all the other libs? :-D
Otherwise I planned on doing it tonight.
 
Which others?
Also does the testWeakTypes reeeally pass for you all?
I still see it hanging with onReadable
(also evenings)
 
o/
 
\o
 
7:14 PM
@Wes context?
 
Wes
full sentence is:
"Returns the object from this point onward associated with the provided ID."
 
that's correct
I'm reading Design Patterns: Elements of Reusable Object-Oriented Software, and it gives a list of design patterns in the first chapter with descriptions of each pattern. Most of the descriptions are going over my head. Is this to be expected?
e.g. Command: Encapsulates a request as an object, thereby letting you parameterize clients with different requests, queue or log request and support undoable operations.
wat
 
Wes
that could be a tough read. it is also a bit outdated. it is still useful though
!!wiki encapsulation object oriented programming
 
will I understand what it means later on?
 
Wes
!!wiki command pattern
did i kill jeeves? :B
 
7:20 PM
!!urban boop
 
I think I did
 
Wes
@Tiffany eh... nope. it's an advanced book
 
well fuck
 
Wes
you should look up "keywords" on the internet as you read them on the book
 
!!uptime
 
7:21 PM
Or maybe jeeves died before I tried it
 
hmmm I blame @DaveRandom
Last thing he said was he is stable soooo :P
> Connection to chat.stackoverflow.com#11 timed out
Looks like SO crapped out on him
!!wiki command pattern
 
In object-oriented programming, the command pattern is a behavioral design pattern in which an object is used to encapsulate all information needed to perform an action or trigger an event at a later time. This information includes the method name, the object that owns the method and values for the method parameters. Four terms always associated with the command pattern are command, receiver, invoker and client. A command object knows about receiver and invokes a method of the receiver. Values for parameters of the receiver method are stored in the command. The receiver then does the work. An invoker...
 
1 sec running might as well run updates while I'm on the machine
!!uptime
 
╔═════════════════════════════════╗
║ [7 seconds] without an accident ║
║   since [2017-03-21 19:26:35]   ║
╚═════════════════════════════════╝
 
@Ekin All the other amphp/* libs that use when and listen.
 
7:29 PM
@Trowski Alright, thought maybe some were already done. Can help
 
@Ekin It's not just when, Stream::listen() also changed to Stream::onEmit().
Only a few libs use streams though.
 
3 messages moved to Trash
 
@Ekin Yes, it really does pass (and I have no idea what changed… maybe @kelunik or @bwoebi fixed it without me realizing it).
 
!!notworking
 
Nov 15 '14 at 23:43, by Danack
Do you mean it stays at home eating cheetos and play xbox?
 
7:34 PM
snicker
 
@PeeHaa I said no such thing :-P
 
@Trowski I can't help but wonder why it doesn't pass for me. Tried on phpunit 5.7, 6.0.8, 6.0.9, all on 7.1.3 & php-uv
also yep I saw that commit as well on git log
 
@DaveRandom ohai :P
 
Wes
@Tiffany i'm not sure if reading about patterns in general is the right way to start... perhaps you should start by reading what domain objects are, aggregates, value objects, data transfer objects, dependency injection, SOLID, data mapper pattern, repository pattern, then you can grasp the big picture of a web application by reading about mvc
i mean, the command pattern means nothing to a beginner :B
 
hmm, so yesterday I wanted to run a php file and ended up using xampp because I didn't know how to set up php -s
I have time today to set it up, how should I set up an environment to run quick files?
 
Wes
7:38 PM
anything that gets you productive fast will do
 
@PeeHaa oh yeh I found that was happening a lot at one point yesterday, I think the 2 second timer for initial tick might be a little aggressive. I think that we didn't notice it before because the timer logic was a little buggy
 
@Tiffany os?
 
Wes
you can always do these things later
 
So your fix made it worse? :P
 
@Dereleased Windows
 
7:39 PM
after a while it stopped happening so I left it and put it down to server issue
but maybe we could reasonably up the timeout a little bit, it seems to be pretty reliable once you actually have an established connection
 
@Wes wish I could find something that combines it all into one book to read
 
@Tiffany I'd probably just keep using xampp then
 
@DaveRandom Is it right that it only does a single retry?
 
no, is that what was actually happening?
 
I have a script that accepts some source code, evals it, and dumps the output to an iframe that gets either sent as text/plain, sent as HTML in a pre block, or just straight html. You should make one too
 
7:41 PM
actually I can see a flaw in the logic, looking at it
 
@DaveRandom yes I think I only saw a single retry
 
bbiab, rl
 
You could use 3v4l, but that ties you to the internet for your tests, and means you can't include local files
 
say hi to rl for me
 
7:42 PM
o/
 
Wes
@Tiffany remember when i said that that book is outdated? happens with everything. finding good information about programming is very hard and for the most part you'll have to figure it out yourself, by practice and finding your cornerstones
 
@Wes ;_;
 
Wes
it is a fascinating challenge tbh. it is hard to get 100% agreement on anything about programming. i mean, people even disagree with LSP, which is like the most fundamental concept in an object oriented language...
it's all about trial, there is no only way, only opinions, for the most part
i bet you are considering to change job, now? :B
 
@Ekin Yes, it does for me.
 
@Ekin It doesn't pass on master for you? Really?
 
7:50 PM
@Ekin Really sure you tried it with 5.7? That's not compatible with the dependencies.
 
Wes
@Tiffany it is not that bad, you just need to get yourself started so that you can grasp the big picture fast, and then specialize yourself as you build stuff, like we all do
i always suggest
 
@kelunik It was a while ago so maybe I remember wrong
@Trowski Nope, just pulled and tried a few minutes ago
 
lol, just checked my spam folder:
> Dear GOD Elect,
 
@Wes going to pocket it. Hopefully I can watch it today.
 
Anonymous
!!wotd
 
8:03 PM
comportment: personal bearing or conduct; demeanor; behavior.
 
@kelunik You got voted GOD for 2017Q2? I have some requests...
 
Unfortunately I can't tell you what the message was about.
 
Anonymous
@Wes the title sounds like it'll depress me
 
Wes
nah, it's a funny talk
 
it's kinda the most ghetto place to give a talk but meh
@Wes would be great to be able to read. do you know of another recording?
 
Wes
8:21 PM
nope. yeah would like to read too
 
it's kind of funny how many programmers took stuff apart to find out how they work as kids
Grace Hopper took apart seven different alarm clocks before her parents realized what she was doing
 
Kind of a weird situation, I'm making a DTO and one of the properties should be a number. It is stored in the DB as an integer, but you can't declare a property with the name of an integer. ($x->1 = "Something")

Is there a native way to convert an integer to its string counterpart or should I just do it manually?
I assume there isn't but.
 
Wait
Now take a step back
Why would you want to do that?
 
if the property name is a number, what is its value?
 
More importantly what does it actually represent
 
8:33 PM
yeah dat^
 
@Jeeves \o/
 
@Danack Negatory, Jeeves.
 
So I have a three tiered attribute based permission scheme. I want to construct an object which I can manipulate, and then convert back and forth from JSON. (It will end up being transported back and forth by a JWT.)

The format I want is...
{
  1: [
    Attribute1
    Attribute2
  ]
  2: [
    Attribute1
    Attribute2
  ]
  3: [
    Attribute1
    Attribute2
  ]
}
 
It's called an array
Or perhaps even better just name the tiers when possible
 
8:49 PM
I'm freaking retarded.
 
I wouldn't go that far :P
 
An array. Fucking duh.
 
In yalls opinion.. Is PHP or ASP.NET better for sending emails?
 
8:51 PM
@I'mjustacoderforfun Libraries okay?
I use PHPMailer and it's not too bad.
You really should have an email server though and just interface with it either way.
 
@PaulCrovella wtf :P
 
Yes, that is true. I've been using php myself, but looking at new tricks.
 
WTF
@PaulCrovella
 
Hello Everyone,

If I have three different Arrays, is there a way to peek at the top of the ALL three arrays simultaneously, or a close as possible ?
Using one process
 
No
Also why?
 
8:53 PM
Is there a javascript room?
 
@PeeHaa they edited my json question the same way, but the edits don't appear to actually change anything.. i'm guessing they're throwing in a bunch of zero-width shit or something.. but wtf
 
@Wes almost halfway through his talk. I'm probably going to be teaching 4th-6th graders programming using Scratch, CodeCombat and Minecraft (just the basics, since that's all I can really teach, and all they could understand). His explanation of "well this is how I learned it so..." is pretty great. Hopefully I won't suffer the same problem when I teach.
 
My spidey sense says spam somehow
Although wtf
No idea
I would flag it either way I guess
 
I flagged my question for a mod.. but srsly what the shit
 
Because there is really something fishy going on
Also the diff tool sucks
 
8:56 PM
If anyone is good at c#, please go answer my question.
 
It looks like they found a bug in SO and are exploiting it.
 
Otherwise, ignore my message
 
C2 AD
What's that?
!!? C2Ad
 
Search for "C2Ad" (https://www.google.com/search?q=C2Ad&lr=lang_en)
• Cambridge Clinical Research Centre in Affective D… - C2:AD is a partnership between the Medical Research Council Cognition and Brain Sciences Unit (MRC… (http://c2ad.mrc-cbu.cam.ac.uk/)
• 슭 (U+C2AD) UTF-8 character | UTF-8 Icons - 슭 (U+C2AD) UTF-8 character belongs to the Hangul Syllables subset which contains 11184 unicode char… (https://www.utf8icons.com/character/49837/UTF-8-character)
• Unicode Character 'SOFT HYPHEN' (U+00AD) - FileFo… - UTF-8 (hex), 0xC2 0xAD (c2ad). UTF-8 (binary), 11000010:10101101. UTF-16 (hex),
 
soft hyphens @PaulCrovella
Flag em to death
cc @MadaraUchiha ^
Before he does more damage
 
8:58 PM
they've edited a fuckton of posts with that
 
Where is the modboyy when you need him
I don't see any active mods in chat right now :(
 
nobody in tavern?
 
Didn't check. Only looked at the normal rooms
And only for the mods I know :P
BTW at the very least ping him under one of his edits and tell him to fuck off
Not only does it screw with the contents it also bumps questions to the front page
 
@Trowski I just changed listen -> onEmit on aerys amp_v2 and I got a segfault when I run phpunit
 
@PeeHaa I don't engage people like that directly, there's no point
 
9:05 PM
Fair enough
 
@Ekin All the dependencies will need to be updated first, though I'm surprised you'd get a segfault…
Disable uv and see if that still happens.
 
@PaulCrovella "I was the first to answer" gosh what a beggar.
 
@Ekin - what version of PHP are you using?
 
@FélixGagnon-Grenier ?
 
@mbonneau 7.1.3RC1
 
9:08 PM
I had someone else tell me they were get segfaults in 7.1.3 earlier today - I don't know exactly what they were running though
 
@PaulCrovella just reading some of their last comments. the case started with a rather negative anticipation, and quickly went from bad to worse.
 
"C is character building."
 
s/anticipation/opinion
 
@Tiffany Yes. C does so little to help you out that you literally have to build your own characters.
 
I mean it builds character
Like "it puts hair on your chest."
 
9:12 PM
@PeeHaa I'm working on a simple web traffic simulation (practice), so the way I've set up is to have three different while loops that keep generating users endlessly, then have a simple process that peeks at the top of each array to see which user arrived first, then allow them to do stuff(run a bunch of methods) on the server.
 
@Tiffany I mainly stay at stage 5
 
@Tiffany I know :-P
 
@hello Restructure your code so that you only have a single loop
 
@FélixGagnon-Grenier That's how some days are for me.
 
@hello , is it me you're looking for?
 
9:14 PM
yesterday was a perfect example
 
@DaveRandom I can see it in your eyes
 
@Trowski Yep, although phpunit says there are 27 errors and 8 failures it doesn't segfault when uv is disabled
cc @bwoebi
 
@hello no, I can understand why you might think that but it's actually just years of alcohol abuse
 
@Ekin a) you have the newest commit of uv, right? b) what's the backtrace?
 
wait @PeeHaa.. do you think they're doing all that just for the badge?
 
9:21 PM
welp, I seem to have absent mindedly eaten an entire 500g bar of chocolate :-S
 
Is there always a single entry point to the web server? How then can multiple users be served at the same time?
Another reason why I have three different loops is such that, the rate at which a specific type of user is generated (every 3 sec) is different from how other types are generated (every 6 secs and 10 secs).
 
@PaulCrovella yes
 
@hello you need some magic async sauce
 
It's not spam because it's useless so it has to be for that
 
@PeeHaa wtf is wrong with people. what a fucking idiot.
 
9:23 PM
@hello here, have an event loop. github.com/amphp/amp
 
@DaveRandom You are terrible at giving gifts
 
I'm busy.
also yes
 
:P
 
@DaveRandom That looks decent, thanks. I'm actually using C# for this, just struggling with some logic.
 
Oh then you already have a free event loop built in to your runtime
also I don't think I actually understand the problem, do you have code visible somewhere?
 
9:26 PM
@DaveRandom Hold on.
 
dammit now I'm going to have to listen to Wilson Phillips
 
@hello OK so can you walk me through the part that's problematic and point we roughly at the relevant code?
 
@DaveRandom W
@DaveRandom T
@DaveRandom F
 
9:36 PM
@PeeHaa I am going to see En Vogue next month
 
:-D
 
I also once (not even that long ago) paid real money to see All Saints
 
DNS Resolution appears broken with recent Ubuntu update – #74287
 
@DaveRandom hahaha
@Jeeves Right up your alley @DaveRandom :P
 
@PeeHaa If you will look back, you will notice that I have not made one single spelling error or typo of any kind.
 
9:38 PM
@Jeeves Don't have to. Pretty sure you made some mistakes
 
@PeeHaa Trust me, I do.
 
@bwoebi sorry, it seems I missed a few whens
replaced them and it doesn't segfault but now it hangs :P
 
Still shouldn't really segfault
 
well it hit meta and they're suspended.. probably should've just posted there first
 
@MadaraUchiha should have just been available for us instead of slacking
Such a terrible mod
 
9:49 PM
indeed
 
@DaveRandom halp
 
I am trying to deploy the bot
Unpacking objects: 100% (5/5), done.
From github.com/DaveRandom/Jeeves
   ce15355..c827bf5  master     -> daverandom/master
Your configuration specifies to merge with the ref 'refactor/stack-chat-lib'
from the remote, but no such ref was fetched.
Am confused
 
oh balls
 
:P
 
9:51 PM
git checkout master
 
ah :P
 
and composer install
(after git pull, obv)
 
Ah I see
Bad random
bad
:P
 
:-D
 
No why did I expect it to not start anymore :P
 
9:54 PM
errors?
 
yes. Fatal error: @Sean committed something
:D
 
I merged without testing \o/
 
Imma update the blame badge after this
 
hey, you're the one who tried to deploy it
 
No I just decided that's not how this works
 
9:56 PM
missing )
 
yeah
But I am now first updating the blame badge
priorities
 
!!uptime
 
╔═════════════════════════════════╗
║ [9 seconds] without an accident ║
║   since [2017-03-21 21:57:15]   ║
╚═════════════════════════════════╝
 
fixed with vim, needs updating
 
1 sec. pushing
 
9:58 PM
Can I just say that the reflection API is fucking awful
I've never really tried to do anything with it before
 
It does magic. It should be awful
!!booze chivas regal
 
Search for "chivas regal" (7 results)
• Chivas Regal 25 Year - Expert Rating: 89 - User Rating: 3.9 ★★★★☆ (https://distiller.com/spirits/chivas-regal-25-year)
• Chivas Regal Ultis - Expert Rating: 88 - User Rating: 4.3 ★★★★☆ (https://distiller.com/spirits/chivas-regal-ultis)
• Chivas Regal 18 Year - Expert Rating: 84 - User Rating: 3.5 ★★★★☆ (https://distiller.com/spirits/chivas-regal-18-year)
• Chivas Regal 12 Year - Expert Rating: 82 - User Rating: 2.8 ★★★☆☆ (https://distiller.com/spirits/chivas-regal-12-year-old)
 
wat
WAT
 
ReflectionParameter#getType() returns a ReflectionType, but how do you get the type string? ReflectionType#getName() maybe? No, it's fucking __toString()
 
oh chat rendering fuckup
 
10:00 PM
oh that's weird
never seen that one before
 
@DaveRandom I think I remember some discussion about just that at the time of the rfc
@DaveRandom I also had it a couple of times when testing
 
I think maybe you should limit it to 3 results or sth
 
I thought about that
 
sort by user rating then expert rating (or the other way round maybe) and only display the top 3
 
buuuuuuut
The website is fucked up and doesn;t allow me to add a link to the search page
 
10:03 PM
!!booze vodka
 
@TomasZubiri No results for: vodka
 
!!booze carling
 
@Jeeves this is unacceptable.
 
@DaveRandom No results for: carling
 
I wanted to limit to three and have a link to full results
 
10:04 PM
@TomasZubiri Why?
 
@Jeeves damn straight there aren't
 
@DaveRandom Who would win in a fight? Cavemen or astronauts?
 
What
 
@Jeeves clearly cavemen, why would you even ask that?
 
Why would astronauts have any chance?
 
10:05 PM
@DaveRandom Why would you not veen get married?
 
@Jeeves I need my vodka Man
 
Anonymous
@Jeeves Cavemen
 
@TomasZubiri Don't worry, it won't cost you a thing.
@JayIsTooCommon Ditka.
 
Anonymous
What did you call me?
 
27 mins ago, by Jeeves
@PeeHaa If you will look back, you will notice that I have not made one single spelling error or typo of any kind.
Just sayin' bruv
 
10:05 PM
depends, where does the fight happen
what resources do they have
what is their physical fitness, mental state, knowledge
 
@PeeHaa Shut up, bitch.
 
Anonymous
^ @tereško I think he's talking to you
 
lol who is trolling now :P
 
You are.
 
hehhehe
 
10:06 PM
It certainly isn't me.
 
@JayIsTooCommon get fucked with a blooming cactus
 
I've only just realised why my computer kept pinging...
 
Anonymous
@tereško saucy
 
lol!
 
Jeeves get back in your cage!
 
10:08 PM
I had to go boot the bot out of some rooms last night, and also freak @Wes out by typing in the wrong window and accidentally making it look like Jeeves has an intimate knowledge of ST:TNG
 
3 messages moved to Trash
 
reddit.com/r/WikiLeaks/comments/60njb0/… .. is it supposed to be a motivational?
 
nerd
 
Anonymous
Nerds
 
Wes
i liked that picard loving @Jeeves i wish the original was like that
 
10:09 PM
@Wes Yes, well, sometimes I can be deep.
 
Wes
@Jeeves deep space nine deep?
 
@Wes A Cardassian space station taken over by the United Federation of Planets.
 
Anonymous
@tereško looks very fake
 
@Jeeves \V//
 
@TomasZubiri 7 billion.
 
Wes
10:11 PM
@Jeeves do you hate cardassians?
 
@Wes I don't hate cars, I hate Carlos.
 
@JayIsTooCommon would you bet on that with your own money?
 
Anonymous
Yes
 
Oh also @PeeHaa we should figure out how to clear notifications, when I logged in there were >3000
 
Wes
@Jeeves who the fuck is carlos
 
10:11 PM
@Wes Not a who, a what. And if you don't know what rollercoasters are, you clearly have no life whatsoever.
 
Wes
now you are sounding like @PeeHaa when he is drunk
 
@DaveRandom Is there an actual reason or just you being autistic now? :P
 
Anonymous
@DaveRandom what's wrong with that?
 
Anonymous
@PeeHaa can you stop typing fast please.
 
:D
 
10:12 PM
@PeeHaa why is that not a valid reason? :-P
 
true story
 
yes thx <3 mr joe also linked it before
Keep em coming
Ugh fucking hell. Stop putting password managers in your browser
Stop putting passwords online
Seriously
 
.. what could go wrong
 
:D
 
Not saying my offline keepass is a great idea, but stuff like that is just asking for problems
 
Anonymous
Just use the same password for everything
 
:P
 
@Wes finally finished the talk, that was great
 
Wes
10:30 PM
:D
 
also are you trying to subtly judge us all for being on SO?
 
Wes
you mean because of "i'm too afraid to run this code" reassurance? :D
 
no answer... I take that as a yes... cause I'm going home
the question that was asked, "why don't we just give people a stack exchange account?"
 
Wes
oh lol, i don't remember that
 
anyway, ttyl
 
Wes
10:32 PM
\o
 
11:14 PM
I just used xor maybe for the first time ever
 
Wes
Jul 16 '16 at 16:45, by Wes
/just used "xor" for like the third time in my life. it's always an event :B
 
be careful, its precedence is really really low php.net/manual/en/language.operators.precedence.php
 
Wes
i think i have used it at least 5 times in total since that
 
Indeed, luckily it's a really simple condition
Although I am using a bitwise and and a logical xor in the same expression \o/
 
I don't think I ever used xor
 
11:18 PM
I've used it in Minceraft to make 3-pole switches so I can turn a monster farm on and off from either the ground where it collects items, or up in the sky where it generates monsters
does that count?
 
Wes
@PaulCrovella just yesterday i couldn't do basic math because i kept reading additions and subtractions in the same expression in the wrong order... i'm very ashamed by that. i've completely removed the fact that i needed parentheses, so i insisted saying "this is correct, so where is the error?"
really a bad moment for me
:B
 
I did find one use of xor that wasn't either a test case, or an implementation of something that did something parsing related!
if ( $is_final xor $this->getSetting('debug.profiling.extended.every-round-output', false) ) {
 
Wes
xor is great. makes me feel alive every time i use it
 
@Wes whenever I have to open up that table, or think about it for more than a second really, I add parentheses
 
@NikiC yeah, we just use ^
 
Wes
11:28 PM
i really should always use parentheses, or force myself to not mix operators
 
@PaulCrovella Why, just because if someone stumbles across it they might have the same misgivings as you did? Psh. If it was hard to write, it should be hard to read /s
 
Wes
by the way, it would make sense to have a xor that has the same precedence of ||. killer feature
:B
 
$a highprecedencexor $b
 
@Wes Not sure it would, tbh, we all just literally said that we basically never use it. I can live with the extra braces if it avoid burning another option in the already very limited list of valid possibilities for new operators.
 
Wes
... i was being ironic :B
 
11:31 PM
!!thepoint
 
Wes
:D
 

« first day (2348 days earlier)      last day (2599 days later) »