« first day (2412 days earlier)      last day (2761 days later) » 

00:02
this... does not seem like a good thing independent.co.uk/news/uk/home-news/…
00:25
Escaping a digit on directory name – #74641
@DaveRandom I would be somewhat reassured, no?
my heart skips a beat every time I see the "Congratulations! You passed an audit" dialog. I never realize I am having an audit. It feels even better when the right decision is to leave open.
 
1 hour later…
02:15
someone online?
I am not able to ask more questions, what to do?
user924016
stop asking questions =p
should I delete my other questions?
user924016
dont think so
user924016
I am not really qualified to answer it, but if I remember right deleting does not help
user924016
maybe makes it worse
02:22
yeah I don't want to delete it because it may be usefull for other users
03:01
Mornings
03:22
@Danack at first I was "oh dem beards!" but then I was "o that escalated quickly.!"
@OtávioBarreto deleting your questions will not help about the ban. All you can do is improve your existing questions. But most importantly, read this meta post.
03:38
@OtávioBarreto This question ban is surprising, if I understand correctly. It would seem all your existing questions are ok (upvoted or neutral, accepted answer). Could you have deleted a lot of questions in the past? A 10k+ user could tell by looking at your profile, or @MadaraUchiha if something strange is going on.
 
2 hours later…
05:21
moin
@Danack Don't listen to @bwoebi, json_decode should throw, nobody wants to write github.com/DaveRandom/ExceptionalJSON/blob/… every time.
socket_client_connect should also throw, but others should not. fwrite will always be used with @, because most people will simply not check the return value, but "failure" happens in a completely normal program.
Mornings
@Trowski do you have access via tweet deck to announce it?
05:37
posted on May 24, 2017 by trowski

This is a release candidate for Amp v2.0.0. Please test it carefully and provide any feedback you have. - Added `isRequested()` and `throwIfRequested()` methods to `CancellationToken`. - Fixed issue in `UvDriver` where certain conditions could ca...

06:14
@kelunik I do, but I see you took care of it. :-D
06:42
posted on May 24, 2017

New Cyanide and Happiness Comic

06:59
posted on May 24, 2017 by CommitStrip

github.com/amphp/socket/pull/28 < That makes cancellation so much easier. @Trowski @bwoebi
(RC 3)
Wes
Wes
David Robinson on May 23, 2017

This morning, a popular Stack Overflow question hit a major milestone:

You’re not alone, jclancy. In the five years since this question was asked, there have been over a million other developers who got stuck in Vim and couldn’t escape without a bit of help. Indeed, the difficulty of quitting the Vim editor is a common joke among developers.

I’ve been told by experienced Vim users that this reputation is unfair, and I’m sure they’re right (even I’ve gotten the hang of it in the last few years). I think there are two reasons it’s easy to forget how to exi …

@Wes You are late :)
Mornighi all
yes, morning
@Wes you are late and you don't read my twitter. I don't know what I find more appaling
Wes
Wes
07:26
/me cries
add "being a crybaby" to that list
Wes
Wes
:B
@Jimboob
07:53
@kelunik uhh, won't that give a null deref?
@bwoebi Indeed.
Maybe we should add a NullCancellationToken :D
@salathe anybody working on fixing the online editor?
@kelunik I was wondering the exact same thing … though it would mean an object construction at many, many places … the impact wouldn't be insignificant I guess.
@SalOrozco about 20k words with another 10k random articles that I haven't fit in yet
Anonymous
08:00
mornin
Guys, does anybody know what "cozy" means in this photo? the translator of google translates it a bad thing, but I guess it should be a good thing ...
@JayIsTooCommon YO!
Anonymous
giving a feeling of comfort, warmth, and relaxation.
oh .. I see, thx
@kelunik I wished we could add such an object to a constant and just use that instead...
Wes
Wes
@Shafizadeh comfortable?
Anonymous
08:06
45 mins ago, by PeeHaa
@Wes You are late :)
Wes
Wes
fu guys
Anonymous
:D
@bwoebi We can do that, just not with a constant.
@kelunik in that case we could just as well construct a new object ^^
@bwoebi Isn't a function call cheaper than new objects?
08:14
@kelunik not really
(given the object has not ctor or dtors)
Anonymous
@Danack why O.o
@Wes yup :-)
@Wes my my… late, appaling and offensive
@Gordon :D ..! dont be mean ..!
08:28
@bwoebi Then let's add it?
@Wes can I go home 2?
@Shafizadeh hey, don't blame me. the truth hurts sometimes :D
@Naruto ain't you at home already?
Wes
Wes
what person do you use in comments. is it ok to use "we"? or would that sound strange? impersonal = we in italian (ish). so i'm probably biased. e.g.
// We don't want to do that so do this instead.
// We are looking for $whatever, so traverse the results
nope, I'm at work
Anonymous
@Wes I use we
08:30
@JayIsTooCommon I tought you said qw for a second, that would have been strange ^^
Anonymous
you must be seeing things
Wes
Wes
i tried to go actually impersonal but sounds even weirder
@Gordon :-)
(removed)
(poop)
08:34
(from)
Anonymous
we're so cool.
Anonymous
!!wotd
cantankerous: disagreeable to deal with; contentious; peevish.
Anonymous
@PeeHaa you smell of peevish
Anonymous
I think I used that right.
Wes
Wes
08:35
lol
!!? peevish meaning
Search for "peevish meaning" (https://www.google.com/search?q=peevish+meaning&lr=lang_en)
• Peevish | Define Peevish at Dictionary.com - Peevish definition, cross, querulous, or fretful, as from vexation or discontent: a peevish youngst… (http://www.dictionary.com/browse/peevish)
• Peevish | Definition of Peevish by Merriam-Webste… - Define peevish: feeling or showing irritation — peevish in a sentence. (https://www.merriam-webster.com/dictionary/peevish)
• peevish Meaning in the Cambridge English Dictiona… - peevish meaning, definition, what is peevish: easily annoyed: . Learn more. (http:
(see full text)
fine
Implementing $token-?>throwIfRequested() or $token?->throwIfRequested() in php-src would solve that, too. :D
Wes
Wes
are stuff like empty else{}'s removed automatically when optimizing? i was wondering if i should do else{ /* comment */ } and nothing else in it, just for cleanness sake
Anonymous
08:38
@Wes ew what
Anonymous
why would an empty else be clean?
Wes
Wes
if(){ /* comment code */ code }
else{ /* otherwise we'll proceed with bla bla bla */ }
@Wes Anyone can see that you proceed with that. ^^
Anonymous
surely a developer would know that it proceeds ?
Wes
Wes
christ
08:40
!!? urban peevish
Search for "urban peevish" (https://www.google.com/search?q=urban+peevish&lr=lang_en)
• Urban Dictionary: peevish - "So, i had to put Ol' Yeller down today" "Why?" "Damn thing was peevish as hell and he was pissing… (http://www.urbandictionary.com/define.php?term=peevish)
• Urban Dictionary: #peevish - disagreeable to deal with; contentious; peevish. tempered and quarrelsome; disagreeable. Someone th… (http://www.urbandictionary.com/tags.php?tag=peevish)
• Dictionary of English slang and colloquialisms ..… - A monster-sized dictionary of English slang and British colloquialisms (informal sp
(see full text)
Wes
Wes
12 mins ago, by Wes
user image
If you explain something there, then why, not what.
Anonymous
Apr 26 at 8:22, by JayIsTooCommon
yesterday, by JayIsTooCommon
Apr 13 at 14:51, by JayIsTooCommon
@Wes god, you're gross.
Wes
Wes
i want to explain what happens in the case if is not hit
and the best place to put that comment would be an empty else
Anonymous
08:40
but your code should explain that in itself?
Wes
Wes
why is that so wrong
@PeeHaa kinda describes you perfectly I guess? ^^
Wes
Wes
Comment your code. Code alone smts is not clear enough even for you, please admit it. And it won't make you look dumb #programming
if you don't write comments i hate you
because i'm dumb and i need comments
I didn't say you shouldn't write comments, you should.
Anonymous
So you mean like this 3v4l.org/Z2vmt ?
08:42
But explain why, not what you do.
Wes
Wes
that was an example. jesus. can we stop this trolling wes session
i'm out
36 mins ago, by Wes
fu guys
Anonymous
I genuinely wasn't trolling, I was asking if that's what you're getting at
ooooh wait we are trolling @Wes?
I want in
Can I join please?
Wes
Wes
too late
Wes
Wes
08:46
it is not obvious what happens if the if() is not hit @JayIsTooCommon so i thought to add an empty else to explain what happens if if() is not hit
but of course i wouldn't do that if causes overhead
@Wes Show us the real code.
Anonymous
Yeah, so like this? 3v4l.org/lWXjG (as an example)
Wes
Wes
3 mins ago, by Wes
36 mins ago, by Wes
fu guys
Anonymous
Wes
Wes
if(){ /* comment code */ code }
else{ /* explain what happens if if() is not hit */ }
Anonymous
08:51
I don't understand the use case, any developer should be able to understand what happens if the condition isn't met.
7 mins ago, by kelunik
@Wes Show us the real code.
09:19
Comments often are used as a deodorant [on code smells]. — Refactoring [page 87], Martin Fowler and Kent Beck
4
Moin 11
Anonymous
yo of the dead
Doing well JB?
Anonymous
All swell, yourself?
Feel the byrne
Anonymous
09:25
saucy
I've bought a VPS and I'm starting to config it. Do you know should I install which one first?
- Apache
- MySQL
- PHP
- PHPmyadmin
I would start with nginx :D
I did it :-)
then?
And after that postgres
@PeeHaa I don't use it
09:30
then you dont need apache
@Shafizadeh in that case: mariadb
@tereško what's wrong with "mysql" ?
!!poop
💩
:-))))))))))))
And oracle
So !!doublepoop
09:31
@Shafizadeh mariadb is a "more opensource version of mysql"
@Jeeves very funny!
@Shafizadeh Can you tell me a joke?
@tereško then everything which is working of mysql will be working on the mariadb too?
good, thx
09:32
Who has access to the online editor box @DaveRandom?
@kelunik did you meant just socket_connect() ?
@tereško also I need both of them. because there will be multiple websites on this server and some of them use apache and others use nginx
@PeeHaa Peter probably does, yannick, hannes I would guess
@Shafizadeh websites usually dont depend on the exact webserver
!!annoy Salathe
09:34
@salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe @salathe hi
@Wes use either we or 'one' if you are a monarch.
In this function, one calculates the order total and applies any relevant discounts.
Does this step important? I guess I don't need it
step8: add sudo apache2ctl configtest to the /etc/apache2/apache2.conf file to suppress a warning message
@Danack No, stream_socket_client
@bwoebi @Trowski Why do we have github.com/amphp/pgsql and github.com/amphp/postgres now?
the one thing is native ext/postgres, the other ext/pg I think
09:53
@PeeHaa I don't know any more than what is in the emails.
I've installed PHP on the server, but CURL doesn't work on the server (while the same code works on the local). Does anybody what's wrong?
@salathe :(
@Shafizadeh if you have nginx , you dont need to install apache
@tereško ok, is there any command to remove everything? I want to start over
I don't like how Symfony will enable auto-di and registration of stuff by default in Symfony 4
But you get assholes like this being a dick about it: twitter.com/titouangalopin/status/867316914879594496
09:58
@Shafizadeh shouldnt you be working :P
yes, there are commands to "remove everything", but your VPS provide also should have "remake whole machine" options somewhere
@Jimbo nobody should be using the entire framework :D
snmprealwalk resets oid output format – #74642
mornin2 room
@tereško all I need was this command: sudo apt-get install curl
I wasn't aware CURL won't be installed by default
10:13
@bwoebi @Trowski I added a basic package overview, some packages need better descriptions there. amphp.kelunik.com/packages.html
I'm using the PHPStorm extended inspections - anyone know what it's trying to say there?
It's saying you aren't passing any params or reusing the prepare handle so there's no point in preparing it
@Danack You can directly ->query there, you don't need a prepared statement.
Basically it's trying to save you a redundant round-trip to the database
10:23
wth uuid in core. Is that really needed?
@PeeHaa I hope it passes. Means I can finally do the uniqid deprecation RFC. :D
How are those things related??
@kelunik I just can't take that font seriously…
There were quite a few people saying they'd vote against it with no replacement like uuid merged into core.
wat
That makes no sense at all
Those two things have nothing to do with eachother
Like nothing at all
10:26
how is uniquid related to uuid?!
No sense
levenshtein distance is small, they are clearly related
like terrorism and tourism
Ah, that explains it ......
@PeeHaa Well, both create a unique ID.
No they don't
10:28
seriously though, UUID in core is a useful thing
@kelunik well, random_bytes(16) does too
uniqid doesn't do that at all
@DaveRandom Could you explain to me why?
@PeeHaa It does, with only one system. And that's why I want to deprecate it.
@kelunik oh?
@kelunik Not even on one system depending on the setup
Either way. Those things are not related
10:29
@PeeHaa Yes, except for some Windoof configs.
@bwoebi It sleeps a very short time to ensure that. ^^
@tereško one question, why already did you say: to config a VPS takes half day? I did it in less than 1 hour
@kelunik no
nix is also fucked...
@kelunik uhm… that is no guarantee...
@PeeHaa mostly because people are forever writing and using incorrect userland implementations. I have used UUID generators in PHP loads of times, Windows is full of UUIDs, LDAP is full of UUIDs, quite a lot of systems use them for a lot of stuff. It just happens that the majority of the tools in the PHP eco-system don't.
that just makes it unique on a same server @kelunik
10:32
@PeeHaa Well, in one process. ^^
They are really useful in data warehousing applications because you can construct data dimensions ahead of insertion, instead of needing to create a reference record to get a database generated ID for relating them
@bwoebi that's what I said.
that's not unique...
@Shafizadeh so the PHP works on your webserve? Have you set up vhosts? Have you set up login with private key? Have you set up accounts for DB?
that's bullshit.
10:33
if I am not mistaken, you have just installed the software
@bwoebi That's why I want to deprecate it.
hi. I have array in my file ['test'=>$test], how can I get name $test not value?
@tereško then which part should take lots of time? Installing linux for example?
@DaveRandom I never understand what's the relation between that animal kind of cat and the programming one.
@Shafizadeh you mean the linux command cat?
It's an abbreviation of "concatenate"
10:45
@DaveRandom oh I see
Is there any other "cat" in the programming?
@kusanagi use PhpParser to parse file and traverse through Nodes
@kusanagi why do you want to do that?
@Danack I have very big array and want to collect names of variables
@kusanagi that sounds .....like a bad problem to have. If your code is too big to just see all the variables at a glance, something has gone horribly wrong. However secure.php.net/manual/en/function.get-defined-vars.php might help.
@Shafizadeh configuration
10:52
@tereško well when you buy a vps, it is configured I guess.
no, I mean the configuration of the various software, that you install
11:11
@kelunik The thing is. If anybody is even implying that uniqid is in any way related to uuid's they are doing it wrong and whatever they say should 1) be ignored and 2) is reason to punch them in the face for being bad developers
someone should invent a programming language called bad
it'd have so many developers
"hey, what are you doing?" "I'm a Bad developer" "Oh I am sure, you are good" "No, really, I am a Bad developer"
@PeeHaa There are use cases where it's fine, e.g. @Ocramius mentioned he uses it in tests for test IDs. But those could be replaced with either random_bytes or UUIDs.
@kelunik There is imo not a single valid use case
Actually the only valid use case I have is showing how bad php is
Anonymous
11:14
@Gordon pfft as if someone would say you're good
@PeeHaa Even if there is, there's something better to do instead.
Yeap. Just sneak the PR in :P
no PR, just push to master
@PeeHaa Unfortunately requires a RFC. :P
@kelunik You are sneaking wrong :P
11:15
or replace uniqid() implementation with return random_bytes()
Even that would be better
zend_read_static_property returns &NULL for extending classes – #74643
@Jeeves do you think I am a good developer?
@FlorianMargaine That's a BC break, better just deprecate + make people use the right thing.
Wes
Wes
Thank you, @HipHopVM, for the kick in the butt that kickstarted the development of #PHP7. Besides that, I no longer… https://twitter.com/i/web/status/867338003567521792
11:15
@Gordon I haven't heard your voice yet.
Wes
Wes
#thug
@Jeeves am I a good developer or not?
@Gordon Yes you are a very good girl.
8
@Wes Aaaaand another one down
@Jeeves I am not a girl
11:16
@Gordon You just said you were.
@Jeeves no, you did!
@Gordon You're either lying or very confused.
Anonymous
I like Jeeves.
@Jeeves You are either lying or very confused!
@Gordon I would never lie to you.
Wes
Wes
11:16
@PeeHaa i'm not happy. competition is always good
@Jeeves you just did!
@Gordon You're mistaken.
@Jeeves You are broken!
@Gordon No I am not!!!
Wes
Wes
hhvm still has a bunch of things php sucks at
11:17
@Wes Yes agreed, but from a library / project maintenance POV it doesn't make much sense
@Jeeves yes, you are!!!1
@Gordon No, I am a girl.
@Jeeves Right. Good, we sorted that out.
@Gordon Ok.
so let me ask you again
Anonymous
11:18
ah god
@Jeeves am I a good developer or not?
@Gordon I have no idea. I'm guessing not.
hehehe
pfffffff
@Jeeves who is a good developer?
@Gordon I am a good boy!
Wes
Wes
11:18
@PeeHaa if projects don't support it hhvm can only die
@Jeeves you just said you are a girl
@Gordon @‌jeeves you just said No you are a girl
@Wes Yes
But my remark still stands
Open source takes time to maintain
So unless somebody steps in because they want/need to support hhvm it makes no sense
Wes
Wes
i don't think it takes much effort to support hhvm that's what i think
not supporting it on purpose is stupid
@Wes How many oss projects do you support? :P
Wes
Wes
11:20
perhaps you need a fix every 1000 lines
i hate you
but i am right
hehehehe lol
@Wes have you read Fabien's post?
Dat conclusion ;D
Wes
Wes
nope @FlorianMargaine
Please do before commenting.
Wes
Wes
11:21
link?
It takes 2 minutes and the justification is sound.
@Wes you provided it...
Wes
Wes
oh that. i didn't even see it. stopped reading after sebastian
ok but it's sad
not because i care about hhvm, but because php will go back being lazy
if ($http_status == 404) {
      // Skip error handling
     // Apparently their api returns 404 for valid empty result sets
}
............................asdapsd[asdk[aspdk[aspdk[aspkd[asjaifhohs[f
Wes
Wes
lol
@Wes I feel like the role of HHVM within the PHP 7 development is greatly overestimated…
user924016
11:47
mornings
and adding only insufficient random
Sounds a bit broken
random what? dave?
:)
But other than that. Yes please
"...and not making sufficient use of randomness sources"
I am acceptable for use with uniqid(), but I am not cryptographically secure.
:P
You are a fucking great source for random stuff
:D
Wes
Wes
11:59
@bwoebi maybe you are :D

« first day (2412 days earlier)      last day (2761 days later) »