« first day (2477 days earlier)      last day (2471 days later) » 

10:00 AM
Yet I still need to hear about these other "heroes" on the news, or of any post-volunteering-facilitiation-programs
 
Anonymous
I agree not all soldiers are heroes, and just being enlisted doesn't make you anything special. But there are veterans who are admirable and there are veterans who are heroes.
 
Someone invent the asynchronous phone calling app so you can dial a customer support number n times and then close the ones that are from off shore when they finally answer -_-
 
@JayIsTooCommon Yes, but you can replace veterans with any other job in that sentence, or just use the word "human".
 
Dude, they are paid to do their job. Some do a good job, some do a bad job: it's still part of the job they signed up for. When I save a company project from doom it's because they hired me to do it: whether I succeed or fail doesn't make me a hero, it just makes me a business success or failure case to add to the portfolio.
and yes, it's just brutal utter shit, but I didn't get there and work for free: I'm doing what I'm asked (in legal form) to do
 
Anonymous
This is hilarious. Your comparing your programming job to a soldiers job.
 
10:04 AM
@JayIsTooCommon I think the point is that humans can be admirable, job titles aren't.
 
you want some heroes? get those that were given a gun with no choice, and had to fight their way out of it
 
Anonymous
I can't have this conversation anymore, again, I'll leave it there.
 
@JayIsTooCommon it is a job - want some heroes? Get the partisans, the resistance, rebels.
 
@Fabor buy a W7 license and upgrade it
I've tested that procedure and it works fine
once you've done the upgrade and activated W10 you can reformat and do a fresh install
 
10:06 AM
Where should I pick up a W7 license?
 
I just googled and that was the top result
 
Oh, I thought you'd have some source you prefer. OEM warehouse last time was a good buy. Kiitos
 
Anonymous
@Fabor yeah like I said, not all soldiers are heroes. But referring to all vets as deprecated paid legalised killers who we should "fucking stop treating as 'admirable'" is ignorant and disrespectful.
 
@Fabor Do you normally use Windows? I thought you were normal...
 
@Danack Gamer :). I use VM for dev stuff though.
 
10:08 AM
I am most likely both, do counter it with reason though.
 
@Ocramius you are assuming that everyone that is in the military wants to kill people
some of them just need a job and happen to be strong physically
 
@WesStark no, most actually just want to warm up a chair, like most of the Italian military ;-)
 
@Fabor I've been pretty unsuccessfuly getting stuff that works on Macs to work on Windows - e.g. I have a webpack docker container for building a React app.....it doesn't work on Windows due to the underlying filesystem not being mappable into the docker container.
Or just trying to find hypervisor based vagrant images for vagrant is a shitshow.
 
still if shit happens they'll go on war, not you. that deserves some respect
 
Anonymous
^
 
10:10 AM
@WesStark no, it doesn't - it deserves my payment and respect for the job, not glorification
 
> I create a PHP function to test if $var exist and is not empty. what the shit
 
do you usually walk over landmines while doing programming apps? i don't think there's enough payment for losing a leg, or worse
 
You know that you can simply NOT sign up for the job, right?
 
and be unemployed?
for many that's the only option
 
@Ocramius being able to choose a job over taking what's there is a privilege.
 
10:13 AM
@Danack Yeah, agree. As an env windows is painful. I just take the slight convenience hit and Virtualbox/Vagrant it. usually puphpet for config.
 
but let's talk about kittens now
 
@Fabor not needed to buy a license on it's own for quite a while, probably since the last time we had this conversation
 
@DaveRandom heh. Well bought the W7 one. So £50 saved thanks :)
 
What I am confident in, though, it that you can buy a 7/8.1 license and upgrade to 10 for free
 
@MrDanack
Maintainer of the PHP Imagick extension. Has a beard.
1.7k tweets, 383 followers, following 224 users
 
10:14 AM
@WesStark @Gordon full ack on not being able to pick a job. That still doesn't make you a hero if you got where you got through approval of the consequences UPFRONT.
 
the lxr box is running on a W10 free upgrade that I did a week ago
 
i agree however that the shit they saw during WW2 or vietnam is nothing compared to the shit they see these days, with all the drones and stuff
 
@DaveRandom It's running Windows?
 
Anonymous
@Ocramius Hero and being called a deprecated paid legalised killer who we should "fucking stop treating as 'admirable'" are two different things
 
but not all armies have that
 
10:15 AM
@Danack lol
 
@JayIsTooCommon I still believe that a soldier (one who is paid) is that
 
@Danack that's a really terrible idea for a developer
 
So opening a HSBC (UK) account from VN is a pain. After much wanking around the problem became I need to give ID to a branch. Bit difficult with 5,000 miles between us. Emailing a copy isn't an option, but after much customer support I have been told i can... FAX them my ID.
 
Anonymous
@Ocramius Then your ignorance astounds me. I hope one day you'll need to rely on a solider, maybe then you'll realise.
 
@Fabor was the customer support via telegraph?
 
10:18 AM
@kelunik it's running VirtualBox on Windows, because I wanted to virtualise it and again, that's the way I know how to do it fastest
 
@PaulCrovella lol.
 
The actual VM is CentOS 7
 
@JayIsTooCommon I am fairly sure that every day you rely on a lot of other people that do jobs that are much more humble despite being as dangerous, and still contemporary
 
> The product key you've entered appears to be for software which was pre-installed by the device manufacturer. Please contact the device manufacturer for software recovery options.
 
Anonymous
10:21 AM
@Ocramius Ok - Care to name who it is that I rely on who does a job with the same danger level as an on-tour solider?
 
Very normal factory workers, wood workers, repair folks that work on electric lines, engineers in large chemical plants, miners
Fire chiefs, police officers, ER doctors
blah blah blah - get an insurance company risk rating ranking and read through it
 
Anonymous
Nah, I'll use my common sense.
 
Anonymous
Not one of them is on par with an on-tour soldier.
 
Enjoy your common sense until you bring something to the table that is logical and not emotional
 
@DaveRandom I'll try when I actually install windows 7 the key, maybe it won't error like that. That was from the MS site on the iso download for W7. Asks for key beforehand.
Paypal purchase which doesn't go through till August 11th anyway
 
Anonymous
10:25 AM
@Ocramius You're yet to bring up something logical. Bring something to the table that isn't fuelled by your outstanding ignorance. Off topic for R11, want to continue somewhere else I will. Unfair to others to have this discussion here.
 
@Fabor I have an ISO somewhere
 
@JayIsTooCommon don't bring it in here next time then
 
Anonymous
@PaulCrovella Nope, initial discussions weren't an issue.
 
@DaveRandom It's okay, one came with the DL instructions. Will verify it after
 
@JayIsTooCommon you knew exactly what you were starting here, don't play naive
 
Anonymous
10:31 AM
@PaulCrovella I did know yes, I wanted to understand the context of the tweet. It's a conversation, get over it
 
Just found the old hangout convo from way back when Room 11 had a G+ video hangout :P
Mid 2014
It was all just an elaborate ruse to try and see a live feed of Daniel.
 
@JayIsTooCommon you're the one throwing a fit here jay. not liking the response then complaining about it being off topic for the room is petty and hypocritical. If you don't want conversations like this in here, don't start them here.
 
@PeeHaa WTH was this?
@tereško Consider it around a 15% budget leeway. I was expecting it to go over budget anyway.
 
@Fabor pepper with cheese
 
That ^
Mornings
 
10:37 AM
o/
 
Anonymous
@PaulCrovella What fit? And where have I been petty? Off-topic conversations happen all the time - heated prolonged off-topic conversations should happen somewhere else. It was prolonging and was getting heated. Stop acting like something big has happened, it's a conversation.
 
/me makes coffee
 
Access violation error – #75003
 
Anonymous
@PeeHaa i would like two please.
 
Anonymous
and a beer
 
10:38 AM
@PeeHaa Also, cigarettes and alcohol in the background. shame finger :P
@tereško well deduced.
 
add me to that list for coffee
 
@Fabor :)
 
@JayIsTooCommon you said yourself you knew where it would lead. so next time don't.
 
Anonymous
@PaulCrovella Where? Where did I say that?
 
Should come to Vietnam if you like strong coffee.
 
@JayIsTooCommon On a lighter note, remember when @Ekin got more stars than you? :) hug
 
Anonymous
@PaulCrovella Yes, I knew exactly what I was starting? A conversation about the context of the tweet. Like I said.
 
Anonymous
@Fabor it was probably @PaulCrovella's fault.
 
Anonymous
:B
 
it was actually
 
Anonymous
10:41 AM
shock, horror.
 
@Fabor photo?
 
@WesStark Photo of?
 
coffee
 
Oh, not got one ATM. Vietnam is basically coffee shop after coffee shop. There's no milky coffees too. You get a double espresso shot, some condensed milk and a bowl of ice.
Of course the milk and ice is not required.
In Hanoi you can get this amazing egg-coffee. It's basically meringue on top of espresso.
 
Stop screwing around with perfectly good coffee
 
10:45 AM
^
can you compare it to italian espresso? :B paroledicaffe.altervista.org/wp-content/uploads/2012/11/… it's so dense it's basically a solid
 
Probably not as good tbh. Not bad but I don't like black coffee so I am not the guy to ask.
I like a little coffee with my milk.
Cambodian coffee has an almost mocha-esque taste to it, which I like.
Thai coffee resembles western coffee a lot more. More milk that is. Sweeter though
 
looks like beer
 
yeah it's irish coffee coffee+whiskey and other things
 
@DaveRandom Maybe I should get that iso off you, the verifying tools aren't maintained anymore.
How can I grab it?
 
Anonymous
10:56 AM
@PeeHaa any job offers yet?
 
Yeah I got a couple dms which I need to check out after my coffee
 
Tinder DMs?
@tereško case & PSU is out of stock anyway. -_-
They do have a seasonic M12II 750
 
@Fabor I will throw it up on a public webserver, what version do you need (pro I assume)?
 
Yeah please. Though I don't know what the real benefits are
 
...of what?
 
11:04 AM
pro vs home
 
oic
well the principle difference is that pro can be joined to an AD domain
 
@DaveRandom which software are we talking about?
I'd like the Home version if possible
 
What is up people.
have a quick question.
 
@FlorianMargaine windows
 
$fields = 'K' . $slot . ', D' . $slot . ', R' . $slot . ', S' . $slot . ', T' . $slot . ', U' . $slot . ', IBState' . $slot . ', ECount' . $slot . ', UpgradeDurability' . $slot . ', CValue' . $slot;
How can I simplify that line?
 
11:05 AM
@DaveRandom I haven't touched windows in years. My step mother needs to install Office on her new desktop she's getting soon. Do you have any email to discuss this privately?
 
@Fabor tl;dr pro can be joined to an AD domain, home comes with a bunch of crapware that you don't need (mediacentre etc)
you probably don't need to join to a domain but you might as well not have the crapware
ultimate can be domain-joined and has the crapware
 
like, I don't even know where I can get this these days.
 
isn't home missing stuff like gpedit too?
 
@FlorianMargaine you got DM
 
@FlorianMargaine amazon.
 
11:09 AM
Second is more readable IMO, first is less repetitive

$fields = implode($slot, ['K', ', D', ', R', ', S', ', T', ', U', ', IBState', ', ECount', ', UpgradeDurability', ', CValue', '']);
$fields = "K{$slot}, D{$slot}, R{$slot}, S{$slot}, T{$slot}, U{$slot}, IBState{$slot}, ECount{$slot}, UpgradeDurability{$slot}, CValue{$slot}";
 
some phpunit haxxor around? how should i create a Constraint that compares more than one value?
 
Mind blown my frined.
 
@Danack wow.
I didn't expect this price
 
@SeinopSys Thanks br
 
11:11 AM
@Fabor nope
jeez
so basically I have to go back to hunting down a case and a psu
 
@SeinopSys One question,
In the first option, why is the last array element empty?
 
@HassanAlthaf Because you had a $slot at the end, and implode glues the strings together which means it wouldn't add one at the end otherwise
 
Ohh!
Thanks a lot!!
That line of code was annoying me a lot
 
@FlorianMargaine higher? Lower?
 
prime? irrational?
 
11:17 AM
Another option which is both less repetitive and more readable

$fields = str_replace('#',$slot,"K#, D#, R#, S#, T#, U#, IBState#, ECount#, UpgradeDurability#, CValue#");
 
OHHH
Str replace didn't hit my mind! :(
 
@SeinopSys you might like php.net/sprintf
 
@PaulCrovella Sprintf is nice if you need to format the input before replace, but in this case it's a simple string substitution
 
@Fabor which twitter account can I DM?
oh wait I will just gtalk
E_TOO_MANY_MESSAGING_CHANNELS
 
11:21 AM
!!xkcd 1810
 
took me way too long to find IRC in there
 
there are dozens of us
 
user5876173
how to do that moodle has to automatically logged in..if user logged in from another site..
 
@PaulCrovella I mean it's good for formatting numbers into the string with padding chars or inserting different strings into another, but for just placing a single string inside another string multiple times I always stick to str_replace
 
11:25 AM
"apache request log"
 
user5876173
i have another php site(i stored these values in mdl_user table)..so what i am trying to do is if the user logged from my portal..they can also see moodle website without loggedin
 
3 messages moved to Trash
 
-crai-
y me can't see
 
@FlorianMargaine check DMs
don't want to leave it there for any longer than necessary
 
Ah good old ICQ
100% of which for me comprised of only people I'd chatted to online previously, and 99% of which I never messaged again
 
11:44 AM
happy friday all
 
!!friday
 
@DaveRandom We can send the child's exit code via the stdin socket for amphp/process to differentiate between wrapper and child failures, no?
 
11:58 AM
ewwww... "New at Code School: Laravel"
 
These are made by people of all levels
 
Jimbo do you use some orm to make queries to database or make them through raw sql queries? /me is trying to build api's
 
@kelunik already does do that
 
@DaveRandom What's the problem then you mentioned?
 
I can't remember tbh, I might have just been saying that I wasn't actually retrieving the string error messages from the wrappers stderr because I couldn't work out how to sanely throw them
 
12:04 PM
@Linus We use Doctrine here in Symfony, it depends what you want to do. Sometimes we use raw sql queries for performance reasons and use Doctrine's DBAL to execute them
 
it's a minor thing though tbh
 
@DaveRandom We can't read the wrappers stderr without blocking anyway.
 
@Jimbo well i am having some codebase of api about which i am confused whether rewrite it or leave it,there were only raw queries in controller folder returning json data.
 
@Linus Does the codebase need to be changed or adapted in the future, or does it just sit there and work and you could leave it for a few years?
 
@Jimbo changing is not requirement but requirement is to add several features.
i am just thinking for learning i just refactor/rewrite them.
 
12:15 PM
rm: remove regular empty file `\n            INSERT INTO Customers(ClientID, AquariumID, TitleID, Forename, Surname, Email)\n            VALUES (1, :AquariumID, :TitleID, :Forename, :Surname, :Email) \n        '?
@kelunik yes but that shouldn't matter, since the signal to fetch them is that the wrapper process ended without sending the exit code back through the stdin socket. We can watch for the process ending without blocking by watching for the stdin socket closing... it should be possible without blocking, but I couldn't quite wrap my head around it the other day. I had been staring at it for too long at that point...
 
@PeeHaa why everything in PeeHaa\AsyncTwitter\Api\Client\ClientTest failing after composer update?
ERRORS!
Tests: 389, Assertions: 683, Errors: 6, Failures: 14.
 
@DaveRandom What if the STDIN is closed before? Does it shutdown the socket and the other side knows that?
 
Let me just double-check that I did a sane thing there
It should be that amp does a SHUT_WR but it leaves the socket half-open
I'm pretty sure it does that and I tested that it works but I will just check
oh right yes it does do that @kelunik, because that's what ResourceOutputStream does with sockets
And I did test it and it does work
if you do $process->getStdIn()->close() then the passthru-thread in the wrapper terminates, but it doesn't destroy the socket until after the child process has ended
 
@Jimbo what are you using for queues , background jobs .
 
https://github.com/amphp/windows-process-wrapper/blob/master/src/ProcessWrapper.c#L723
https://github.com/amphp/windows-process-wrapper/blob/master/src/ProcessWrapper.c#L530
 
12:23 PM
@Vamsi RabbitMQ
And \AMQP
(extension, not php lib)
 
I am using github.com/michelsalib/BCCResqueBundle, it's abandoned. looked at RabbitMQ + RabbitMQBundle, but it's an overkill ( max 10-15 k jobs / day )
 
@Fabor he doesn't need long to read them. They are all saying No anyway
 
@Vamsi Why's it overkill? It's super simple to install, simple lib to put stuff into the queue, one line to put it in and another to acknowledge...
Add to that good support, performant...
I can't comment on the "Bundle" though
 
my biggest problem with rabbit is it's never failed on me, so i have no idea what it looks like when things goes wrong
 
I'm leading a microservice architecture implementation - already planned to turn things off randomly and see how others perform
Can't you do the same with rabbit? Drop a few queues, see what happens
 
12:33 PM
@Jimbo do you need APM with that?
*hint* yes, you do :P
 
@Jimbo drop queues, messages poof, queues remade.. that's not all that interesting
 
@Gordon APM?
 
because, we don't have dedicated ops guys , and devs don't really want to worry about one more service + all the workers run locally and we won't be using the messaging features ( Gearman would make more sense tbh ) , so the distributed system features are not applicable . that's why I am sticking with redis . Looking at this github.com/bernardphp/bernard ( this provides abstractions )
 
Nothing wrong with redis.. we use that too, but just to store stuff not pass it between services
 
@DaveRandom Sorry, was out getting dinner. You DMd me anyway
@Gordon Que? :P
 
12:38 PM
@Jimbo *sigh*
@Fabor it was referenced, so click the reference link to understand it :P
 
New Relic APM?
 
@Jimbo DUDE!!
 
YOUR APM?
I'M NOT OPS :D
 
Jeez, you are so slow.
 
@Gordon TIL :-O
 
12:39 PM
@Gordon Still waiting for an explanation. I haven't had my tea today ;)
 
shit like this is why people resort to intrusive banner ads - nobody gets it otherwise
 
@Jimbo yes, ofc I am talking about our product. we are specifically built to monitor the performance of microservice architectures
 
@Gordon Boom, when we get closer to this, maybe you can walk me through some stuff ;)
 
it will probaby bumfuzzle you, but can do
 
@Gordon how come you aren't on stackshare.io
 
12:48 PM
@IROEGBU would have to ask marketing about that
 
1:00 PM
@tereško Don't worry about the case so much. I am not that invested in it.
 
well, I can't do anything about it till I get home
 
Anonymous
!!wotd
 
ballon: the lightness and grace of movement that make a dancer appear buoyant.
 
@tereško Much appreciated :)
 
```
  [Composer\DependencyResolver\SolverProblemsException]
    Problem 1
      - Installation request for doctrine/orm ^2.6 -> satisfiable by doctrine/orm[2.6.x-dev].
      - doctrine/orm 2.6.x-dev requires doctrine/dbal >=2.5-dev,<2.7-dev -> no matching package found.
    Problem 2
      - doctrine/orm 2.6.x-dev requires doctrine/dbal >=2.5-dev,<2.7-dev -> no matching package found.
      - javiereguiluz/easyadmin-bundle 1.16.x-dev requires doctrine/orm ~2.3 -> satisfiable by doctrine/orm[2.6.x-dev].
Crying
 
1:04 PM
The balloon's ballon
 
Love that song
 
@VeeeneX " - doctrine/orm 2.6.x-dev requires doctrine/dbal >=2.5-dev,<2.7-dev -> no matching package found" - are you using some mirror of packagist?
 
1:42 PM
@JoeWatkins gee tnx :D
 
evenin
 
@Trowski Thank you good sir <3
@Kaori o/
 
1:55 PM
@tereško found a potential decent case NZXT S340. 2 million. Review
 
sure, if you like it ... not sure why it is so expensive though
 
checking stock
@tereško I've spent nearly 3 times that on a case before :P
 
yes, but based on features, it should be priced around .. maybe 1.5mil max
 
Is that converted? Because that'd be right if I was buying it in the US.
 
@Fabor 2 mil usd?
 
2:04 PM
hmm ..
 
@Kaori no :P VND
 
oh.. okay...
 
Morning.
 
@PeeHaa you are very welcome, good luck with your research ...
 
2:29 PM
Hi! :P
@Fabor Check out NZXT S340 Elite. Has a tempered glass window.
Or NZXT H440
 
I hate "stakeholders". Every time the come with that cool idea of theirs, I just want to answer
 
This is way better than S340 IMHO
@AlmaDo hehehehe their cool ideas are always like competing a multi billion dollar facebook with a $500 app
 
user8017372
Hi guys would like to ask is there a way to form that can have multiple data entry. Example like in form, which I can only enter one value. Is there a possible to make the form enter 2 value. I used it because example like receipt item, I wont need to submit everytime for each item. So that I can have multiple items in one button?
 
@HassanAlthaf I am limited by the site. Vietnam doesn't have a lot of choice
 
@Fabor Local distributors?
I'm from Sri Lanka, and I kinda have the same problem. Corsair is easily accessible, NZXT needs to be imported.
 
2:40 PM
TIL isset accepts unlimited arguments. I feel like I should have known that a long time ago
 
!!docs isset
 
[ isset() ] Determine if a variable is set and is not NULL
 
@Sean and then never use it...
 
@lightsonfire you have no beard; your opinion is invalid.
 
2:51 PM
I wish there was something sane we could do around chat-reply/tweet behaviour
 
echo "Hello fellow geeks and geekessess";
 
die ();
2
 
posted on July 28, 2017 by nikic

This version adds support for PHP 7.2. ### Added * [PHP 7.2] Added support for trailing comma in group use statements. * [PHP 7.2] Added support for `object` type. This means `object` types will now be represented as a builtin type (a simple `...

 
@Linus lol......Whats up coder
 
<?php
 
3:15 PM
 
const YEAR = date("Y");
Where is the problem with this line ?
 
weird
echo date("Y"); works
 
@Vamsi Are their benchmark with or without opcache?
 
3:31 PM
@MohamedAbbas 3v4l.org/dZh0P
 
Also what php version?
 
@MohamedAbbas it looks like const is only used in the context of a class
 
the thing is that, constants cannot be set to the return of functions... iirc constants are defined in compile time where as function returns are defined in runtime..
 
@Tiffany am already use it in the class and i get no error only white page in the browser.
 
are you trying to echo the constant?
 
3:38 PM
@MohamedAbbas look above ^
 
just defining a constant won't result in any output
 
@Kaori Can you explain more, please ?
 
here's my code I've written it to work within the context of my website's codebase. My problem is that when it reaches the process case to display the URL, it redirects to a new page with the content. How can I output it to the index.php page?
 
@Tiffany when i replace date("Y") with 2017 or any value it's works good.
 
@MohamedAbbas need more code then
just that one line is not enough to know what you're trying to do
 
3:42 PM
umm... as you might know, there are two phases while running a php script... compile time and run time. during compile time all the constants are defined within their respective scopes, and the return values of functions are defined in runtime.
the problem arises when you define a constant's value to be of a functions return
the compiler cannot know the return value of that function during compile time
 
@Tiffany the problem is very clear, when i set the const to be equal to a fixed value it works good, But when i change it to a function it's not work. the rest of the code is not important.
 
that's why the compiler throws off an error if it encounters such a circumstance
 
@MohamedAbbas read what @Kaori said
 
Also why are you setting that as constant? O.o
 
^ that also
 
3:47 PM
@PeeHaa Working well for you?
 
@Trowski I haven't been touching it yet. Been busy with work stuff. Will let you know tonight by cursing at you if it doesn't work
 
@Kaori Thanks a lot. i got it (Y).
@PeeHaa because i use it to generate years in a range. like from 1990 to 2015
 
Ah I see now
It makes even less sense now :P
 
@MohamedAbbas 3v4l.org/XpOm3
why even bother with a constant if you're just returning the year
shrug I'm still learning stuff, so debugging challenges are fun
 
its high noon, o/
 
3:54 PM
oh Matt Mercer
 
@Tiffany i solved it by a function the same as you. but i just want to understand what happening
 
I see
 
@Tiffany you play overwatch? :D
 
@Kaori once in a blue moon, yes
 
:) so... whom do you main?
 
3:56 PM
I haven't played enough to know who to main
I've only tried out heroes like once or twice, but not sure if they suit my playstyle.
 
oh.. that's alright :) its a great game
 
I think my anxiety of playing with people in a competitive game has gotten worse, main reason why I haven't played it a lot.
 

« first day (2477 days earlier)      last day (2471 days later) »