« first day (2607 days earlier)      last day (2346 days later) » 

12:00 AM
@tadman Since it is sponsored by JetBrains I bet the response bias skews that one quite a bit.
A lot of responses probably came from PhpStorm users.
 
Probably. JetBrains does have a vested interest in debuggers.
 
 
1 hour later…
1:21 AM
posted on December 04, 2017

New Cyanide and Happiness Comic

 
mornings o/
 
1:51 AM
ello
 
2:34 AM
Warning: Narrowing occurred during type inference with reproduction code – #75627
 
 
2 hours later…
4:31 AM
morning
 
4:56 AM
@Wes did you started watching ozzy man reviews? :P
 
5:43 AM
hellow
 
6:01 AM
moin o/
 
\o
 
void();
linus torvald sir?
 
yes my child?
 
whats up nigga?
 
6:31 AM
Just got the book, about to read it.
 
@SalOrozco automatic launch worked then? Phew ^^
 
@Patrick I been excited about this for a while.
 
R11 I need your help: Reddit (new), Reddit (direct) and Twitter
9
 
Why is modal not appearing guys. Please help!!!
I only copied what is inside bootstrap v4 site
 
@Patrick gratz \o/
 
6:43 AM
the btn only appeard but when you tried clicking it, no content is appearing
 
You should make a book on creating an API
 
@nice I been looking around for a long time.
 
I might do one in the future, we are building a non-rest API at work that works really well. Basically mapping the API calls directly to commands and queries (RPC-ish but not really).
 
6:46 AM
@Patrick yeah you should.
@Patrick why you abandon your social network project.
 
Morrrning!
o/
 
morning
 
Maybe a Symphony book. There is none of those around.
 
@SalOrozco social network project?
ah you mean from the intro? it sucked and it was a long time ago :D
 
lol
That was my first project.
 
6:50 AM
its afternoon here
 
@ujwaldhakal ugt
 
mornings
 
why disappoint @Patrick
 
congrats on the book release @Patrick
 
7:01 AM
thanks :)
 
@Patrick release a book in collabration with r11 members :)
 
I will buy a copy when I get home
 
book release? :o can i read them?
 
and give it out to someone
 
i will buy book next week
 
7:03 AM
hello sir @Patrick Harrison
 
@Linus hows the new job?
 
thank you i will buy one
 
@RonniSkansing preety good till now 3 day still have no work to do.
 
congrats @Linus for new job
 
7:07 AM
thanks
 
Morning All...
 
@Linus how come there is no work to do?
 
if($someone->says() == 'morning') { echo 'Morning' ;}
 
mornin
 
Hello EkinOne
 
7:11 AM
Hey Ronni :)
 
@RonniSkansing it's because they haven't assigned work to me till now,may i will get work from tommrow.
mornin Ekin
 
'nin, congratz for the job Linus
 
thanks
 
@Linus Congratz
 
thanks :)
 
7:16 AM
@Patrick Congratz on completing the book.
 
if any r11's are too poor to get Patricks book, let me know, I can sponsor a book or two
 
I think, I'll buy it, but I am gonna need to see some reviews first.
 
@Fabor @Sean @Wes ^ :)
 
7:38 AM
I think I should write a book about "how to avoid bad practices in PHP", but I am not good at writing fiction.
 
8:04 AM
posted on December 05, 2017 by kelunik

- Allow `AMP_DEBUG` to be defined via the environment. - Fix formatting of stack traces used for double resolution debugging.

 
8:18 AM
morning, bitches
 
moin
 
\o
 
mornin
 
monin
 
o/
mornin tereško JoeWatkins Naruto
 
8:33 AM
Morin, how can you minus two numbers and allow the result to go into negatives in PHP?
 
!!> var_dump(1 - 3);
 
session_set_save_handler() prints warnings in a unit test – #75628
 
@KerrialBeckettNewham you do it in PHP, the same way you do it in maths.
 
@mega6382 Thanks
 
8:47 AM
in JavaScript: Happy NaNth Birthday undefined, Dec 1 at 18:58, by Sterling Archer
For all those who can't format code, the Python room is here to help! An Illustrated Guide to Formatting Code in The Chat
that's quite nice
 
:)
 
okay, I'm going to say it again ...
secp256k1 ...
anyone actually worked with this stuff ?
I'm trying to make a high level api from the bitcoin c lib, I'm not sure what it should look like, what I have looks awkward to me ... maybe that's right ... it would be nice if someone with a clue could holla at me ...
 
morning
 
\o
I've gotta go afk, but holla and I'll respond later on ...
 
9:05 AM
Gus, is this in English? I cannot recognize the language.
 
o/
 
\o
@Shafizadeh Don't do this. Upload it on youtube instead. Nobody is gonna download an mp4 like that.
 
it's just 5mb
btw, youtube is banned in here, I cannot access it easily.
 
@JoeWatkins Tough ask, most in here aren't overly fond of the cryptocurrency world. Daniel was but y'know. I'd try reddit personally, or irc.
 
It is not about size.
 
9:08 AM
@mega6382 then it's just a click ..!!!
 
It is about trust & malicious content.
 
@Shafizadeh no idea, but it is complaining about adblocker
also, @Shafizadeh, that's in Russian
 
@tereško what does "it" refer to? also did you download it? isn't it in English?
@tereško Ah I see. thx
 
@JoeWatkins Do you intend to implement only secp256k1 functionality or an interface to the bitcoin library?
 
also, do you know how can I find/download the original music? @tereško
 
9:11 AM
no idea
 
ok ..
 
I have no clue about russian pop music
you phone might have some "song recognition apps" .. or so I have heard
then again - never actually used one
 
ah ok .. I will find a russian person and ask him :P
Is there someone from Russia?
 
you are assuming that any russian know all about russian pop music
 
try shazam for song recognition, it's good.
 
9:14 AM
I think he's on iOS nevermind, it's available there too
 
@tereško no, but he can tell me the text of that music in English, then I can find it out
@tereško I won't install any app just because a music
 
even if the app is free?
 
Yes ..! I have 16GB memory size which has about 1GB free space
 
ugh
 
I'm really resistant against installing apps
 
9:16 AM
you might need to clean up your phone :D
 
Is this sentence correct?
> I'm really resistant against installing apps
@tereško :-)
 
@JoeWatkins I have some experience with the rpc API, see github.com/SjonHortensius/BitcoindStatus/blob/master/… - I stopped when it worked and got boring :P
 
@Shafizadeh or try listening songs online.
 
@NullPoiиteя Yes, I usually do it. iTunes
 
@NullPoiиteя he's from Iran, his internet is worse than in USA and India :P ... which is something of an achievement, TBH
 
9:17 AM
but the problem is "finding a music" now
 
@Shafizadeh Just install the app, find the song and then remove the app. Simple.
 
true, Indeed :D
 
@tereško yes, but fortunately my new company gives us 50 GB internet bandwidth for free per month :-) ..! Yay!
 
we get 3gb/day on phone per month for 18$ :D
 
@mega6382 that's not simple. Since app store is banned here :-) ..! I need to install a proxy first, and then remove both of them .. I prefer for forget that song ;-)
@NullPoiиteя good :-)
 
9:20 AM
@NullPoiиteя I have unlimited, for 12$/mo ... on the phone
 
mornings
 
@tereško good for you!! how much is your download speed? more than 1mb ?
 
I run through 200 GBs in 2 weeks, how do you people get by with such less data amount.
 
havent checked recently
 
9:21 AM
 
what was that neflix speed checker's link ?
 
@tereško speedtest.net
@mega6382 can you please rephrase this sentence? I don't understand it.
 
@Shafizadeh 52Mbps
 
@tereško you mean "KB" ?
 
no, I mean Mbps (on the phone)
 
9:22 AM
hahaha
 
I guess something went wrong .. it's impossible, it's even more than your hard disk speed
 
@mega6382 may be because it is mobile data,here price of 20mbps unlimited data line is around 15$
 
Object property references are replaced by references created in functions – #75629
 
@Shafizadeh it's a phone. It has nand memory: en.wikipedia.org/wiki/Flash_memory#NAND_flash
 
@Shafizadeh I said "I use over 200GBs in 2 weeks, and 50Gb per month is alot less by comparison."
 
9:24 AM
what's nand memory? You mean SSD?
 
basically, yes
 
@mega6382 ah ..!
 
@Shafizadeh you can even get more speed with nvme m.2 with raid 0 for ultimate speed :)
 
@Shafizadeh What is your download speed? Mine is(supposedly) 150Mbps
 
ok, internet speed and bandwidth aside, I have my first date today ..! I'm excited
 
9:30 AM
First date ever?
 
good luck!
 
yes
 
:D
 
@SaitamaSama thx
 
Well, good luck then.. :)
 
9:31 AM
thx :-)
I hope it go well
 
@Shafizadeh sorry but, are you even allowed by law to go on date?
 
mm, speaking about internet speeds, I get about ~10mb/s for around $15
 
@NullPoiиteя not really, but I don't care, I have an apartment and live alone. no one will never know about my date
 
Hahaha :D
@Shafizadeh No, wait, so, is it against Country's law or just Sharia Law? Or is it the same thing?
 
@SaitamaSama you can pay 2$ more and buy what @tereško uses
 
9:34 AM
adventure, dopamine really makes any person do anything, but i must say jail is still a bad place :D (just kidding, no offence )
 
14 mins ago, by tereško
@NullPoiиteя I have unlimited, for 12$/mo ... on the phone
 
he cant
 
@mega6382 Law and Sharia (religion) are two different things, also having a date is banned by both of them
 
you have a strange country
scary strange
 
!!lxr proc_open
 
9:36 AM
[ /ext/standard/proc_open.c#407 ] PHP_FUNCTION(proc_open)
 
@mega6382 yes, i have read and believe me laws based on religion are really bad.
 
@tereško Hah, you never seen our religious practices, they seem more strange
 
I know about some of them
 
good, join us :-)
 
Yeah, you know, Iran is like the supreme democracy of the Middle East. And these things doesn't suit a democratic country.
 
9:38 AM
@mega6382 Iran is theocracy, I think
 
it is democracy (at least named democracy)
 
well ... partial democracy
 
also, leave my country alone. I'm just drinking coffee and thinking about my first day ..! Feels great :-)
 
Well it is a republic nonetheless.
 
9:40 AM
once a great man said, "Religion is just a tool to pacify masses either by tempting promises or fear." :D
 
I think coffee is haram to :P
 
@tereško it is not :-)
 
hahaha :)
 
googling
 
@Shafizadeh Looking good there. :)
 
9:42 AM
@mega6382 thx, it's my new office (I mean the office I'm working in)
 
... hmm ... it actually depends on country-by-country basis
 
@tereško are you talking about coffee?
 
@tereško Really? or are you kidding?
 
hey, there are christian denomination that don't allow it too
I am not even surprised
 
hmmmmm, wow!
 
sounds something like Unitarianism ... with an eastern (probably Indian) spin
 
@Shafizadeh Imagine sharing this article with your co-workers. :D
 
which article? :-)
 
5 mins ago, by NullPoiиteя
off-topic http://www.osho.com/read/osho/vision/the-religions-their-fundamental-mistake good article
 
10:00 AM
@NullPoiиteя omg, that article contains so much bullshit, you can open an organic farm for all of San Francisco's hipsters
 
@NullPoiиteя Yes, I agree with @tereško on this.
 
i could but if you have ready that article till the end and think in a rational way you still can not deny.
 
I read enough to see the nonsense
 
Narrowing occurred during type inference – #75630
 
If somebody wants +50 reputation codereview.stackexchange.com/q/181838/139268
 
10:07 AM
that looks way too much like some older code of mine
except being wrapped in a magical "bootstrap class"
 
Well, on a lighter note, here is a meme you can enjoy.
| ||
|| |_
 
@tereško it is your old code
 
ugh
 
@tereško it was a community check if you'll still say it's a shit and not MVC :p
 
I would estimate, it's 12-24 months old
@DaAmidza I can post you a newer version a bit later
/me is about to leave for work
 
10:12 AM
@mega6382 i mean who coined the idea of "White man's burden", "kafir",etc....? and religious place where we worship now wasn't more than just a granary or bank back in time. People used to worship anything that can not be conquered.
 
@tereško cool thanks a lot!
 
@NullPoiиteя fwiw, osho was a very controversial figure when he was still alive. and some of his disciples in oregon poisoned 700 people to rig elections. @tereško might be blunt and we all know his stance on religion, but I guess applying some critical judgement might be in order here.
 
@Gordon i am not advocating osho, but his logic isn't completely superficial.
 
> These religions are old clubs which have a religious jargon around them, but look a little deeper and you will find they are all hocus-pocus with no substance inside.
I am for religion, but that religion will not be a repetition of any religion that you are acquainted with.
This religion will be a rebellion against all these religions. It will not carry their work further; it will stop their work completely and start a new work – the real transformation of man.
 
@NullPoiиteя I read: his religion is a new club which has a religious jargon around it, but look a little deeper and you will find it's all hocus-pocus with no substance inside.
 
Standard new age drivel
 
@Gordon So, his idea of ending all religions is creating a new religion. So, instead of there being 100 religions there will be 101 religions. Yeah, thats a guy with sound logic.
 
@mega6382 that's how standards religions proliferate… ascii shrug
 
@tereško that much logic inside constructer is fine?
 
10:23 AM
@Gordon i am against his idea of religion too but the point is that existing religion isn't doing good for people. I am agree he was a voluptuous and kind of philanderer also had a criminal background but his view on existing religion isnt completely false
 
@Patrick Grats!
I'll drop the 20 for that
 
@Linus no
 
ah :)
 
Nice @Patrick :D
 
@Linus I don't remember recommending that at any point
 
10:26 AM
 
Your account will be charged the following:
Total in GBP: 0.69*
God I love aws.
 
@NullPoiиteя that's a bold statement. I agree that religion did it's fair share of harm and abuse to the world, but to say it's not doing any good for people is just wrong imo. religion is still by and large shaping social and cultural contracts and on a individual level it offers perspective and hope where they would otherwise be lost in life or afraid.
 
@Gordon Exactly.
 
@tereško ok
 
they provide hope, true but imho without substantial base, how god will help them? It's our hard work and wisdom that is behind our victory or defeat. isn't it?
why not tell them truth, I mean its like you haven't studied well so you failed not because of bad luck or something, and now if you work hard you will pass. how simple is that! :D
 
@NullPoiиteя it doesnt need a substantial base. if believing in a god or afterlife of whatever gives you the strength to carry on, then that is already good enough.
 
:D
 
@AlmaDo I Couldn't Agree With You More! :D
 
:D
 
10:35 AM
@NullPoiиteя :p
 
@NullPoiиteя success in life depends on so many more factors than just hard work and wisdom… there are countless studies that prove children from lower social classes have a harder time reaching top positions than children that are already born into these classes. you can be brilliant but the upper class kids just wont let you play.
 
@AlmaDo Why is this clever? I see 1: No, 2: Yes
 
OHMYGAWD what happened to your nick @Jimbo
 
@Gordon imho we should learn from history and no god helped us form any natural and man made calamities (no Hindu god saved us form Mongol/Muslim/British invasion), No jews/christen from world war/ Muslim invasion/ No shinto God form nuclear bomb ( japan ), and countless religion died) :D
 
10:38 AM
@SaitamaSama ?
 
it's James not Jimbo :/
 
@Gordon exactly :)
 
Ohhh, I forgot that'd change it here
 
:'(
 
Wes
mornings
 
10:40 AM
it is too mush religion for a day :D, I have studied history a lot for last 2 years and history of religion is rather dark.
 
o/ ohayou
 
posted on December 05, 2017

New Cyanide and Happiness Comic

 
@James who said it is?
 
@AlmaDo Nobody, my response was more a challenge because maybe I missed something. Looks like I haven't! :)
 
10:42 AM
I changed my monitor brightness from 26 to 100 (100 being the max)... my eyes...
 
@James it was just a but trollish comment to the religion discussion above (though it indeed has the answer like you've posted)
 
@NullPoiиteя I am all for the separation of church and state if that's what you are aiming at. And yes, if you are talking about some sort of divine intervention, then no, we will likely never see any… but that doesn't change that religion also has a stabilizing effect on societies. They offer guidance on how to live you life.
 
moin
 
@NullPoiиteя You sound like Bill Maher, priest of Atheism. The thing is all the things you pointed out proabably still would have happened the same if not worse, even if there was no religion.
 
10:47 AM
exactly!, there must be separation of church and state.
 
@NullPoiиteя There already is a separation of Church and State. The problem is not because of its absence but because of any certain religion majority in any certain area, enforcing their beliefs on others.
Which I will agree is quite troublesome.
 
@Ocramius dude, I suspect you don't even know the half of it. I have read the source of that extension enough that I vaguely understand how it works, and it has a special place in hell.
 
@DaveRandom FWIW, it suppresses most constructor argument type checks
and suppresses a lot of the internal exception handling
so... magic trap
 
@Ocramius wait, you are relying on it invoking the ctor for your custom entities? lol!#
 
10:52 AM
Anyway, I replaced it today with call_user_func(new $serviceName, ...array_map('unserialize', $_POST['arguments']));
 
it doesn't even invoke them sometimes
sometimes it does
like I said, special place
 
I know it doesn't, but it disables the checks overall
within a soap call, any constructor just doesn't behave as it should
not just what is being touched by ext-soap
 
@Ocramius fwiw, it's on my list of things to do to build a separate lib that is specifically for a SOAP protocol implementation, detached from the transport
that works in a way that is at least predictable
I can't promise sane, because SOAP is inherently insane
 
@mega6382 apart form France which is secular country i am unaware of any other country that promotes that idea in realty. anyways lets not waste time in things that are not useful for a programmer :)
 
10:55 AM
I started once but I got hung up on the fact that libxml2 is not re-entrant and thus does not play nice with zend's zomgmagic thread model
 
@DaveRandom No need - Asmir already did it at github.com/goetas-webservices/soap-client
the problem is that this project uses assumptions around how ext-soap works, so migrating to "better SOAP defaults" doesn't really work
 
$listLengthOfThingsToCheckOut++
 
Asmir knows his stuff. We spent all weekend circling around this API and his library, and his work is solid, but requires some types of WSDL
Consider helping him out if you need to do any SOAP stuff, instead of starting your own
 
100%
@Ocramius define "requires some types"
you mean it doesn't process some bits of xsd correctly?
 
good night!
 
11:02 AM
I made this for entity code-gen ages ago, I've used it a few times and it always good enough for whatever I'm doing at the time but it's very incomplete and the code it produces could definitely be more efficient
 
Wes
how was that way to shuffle an array using srand in a predictable cross platform way? iirc @Leigh did it?
 
I basically only really made it for code that IDEs can play nice with
@Wes afaik srand is completely predictable across platforms as long as you use the same seed
 
Anonymous
!!wotd
 
logomachy a dispute about or concerning words.
 
Wes
@DaveRandom oh
 
11:04 AM
@Wes I could be wrong about that
but as I understand it, that's sort of the whole point of it
(not the cross-platform, but the predictabilty part)
Should be reasonably simple to just take any 32-bit platform's implementation and convert it to PHP though
then you'd have something that would work the same literally everywhere that PHP does
 
anyone has any knowledge with CAS Rest Api?
 
Wes
i remember leigh did something like that. or maybe i was drunk and i made it up :B
 
i'm building a up and down voting system and i'm getting a row count, of votes up and votes down. $total_votes = -$down_count + $up_count; however when i use jQuery to add or minus from the element. so if the count it -2 and I up vote it, the number becomes -3, instead of -1.
 
you might need to hire a developer for this
 
@tereško what do you mean? lol
 
11:16 AM
it seems you have no idea what you are doing and have somehow skipped learning basics of javascript
3
 
@KerrialBeckettNewham He means you are not good enough of a developer to do this by yourself.
 
@tereško lol, it is a bit embarrassing.
 
don't worry, 99% of SO population does the same
 
@KerrialBeckettNewham I recommend reading this: eloquentjavascript.net
 
@tereško Thank you
 
11:23 AM
@tereško I thought Eloquent is a Laravel thing
 
lol
no, it's just another name they have abused
Adjective: eloquent (comparative more eloquent, superlative most eloquent)
  1. fluently persuasive and articulate
  2. effective in expressing meaning by speech
  3. eloquent (comparative eloquenter, superlative eloquentst)
  4. eloquent
  5. eloquent (comparative eloquenter, superlative am eloquentesten)
  6. eloquent...
 
ah :-)
 
!!? define eloquent
 
Search for "define eloquent -site:w3schools.com" (https://www.google.com/search?q=define+eloquent+-site%3Aw3schools.com&lr=lang_en)
• Eloquent | Define Eloquent at Dictionary.com - Eloquent definition, having or exercising the power of fluent, forceful, and appropriate speech: an… (http://www.dictionary.com/browse/eloquent)
• Eloquently | Define Eloquently at Dictionary.com - Eloquently definition, having or exercising the power of fluent, forceful, and appropriate speech:… (http://www.dictionary.com/browse/eloquently)
 
11:27 AM
Eloquent just reminded me,
@Ocramius I wanted to ask, You being a contributor on ZF. What is your professional opinion of Laravel?
 
@tereško but the Jquery is working correctly, so I figured this issue is with the PHP. jsfiddle.net/axzr6xkj
 
Anonymous
 
Oh.. I finally figured out what's behind laravel. If you read it backwards, you will get the name of it's creators.. probably
 
Anonymous
maybe I am forgetting php, but it seems redundant method
 
is it necessary to create a table before sending information to CAS?
 
11:41 AM
Guys, How much time in office do you spend actually being productive?
The most I spend is probably 2-3 hrs.
 
Anonymous
same here.
 
Anonymous
exactly actually
 
depends what you mean by productive ...
I used to be able to stay awake all night and just write and debug code ... now I can't do that for more than a few hours at a time, but I'm still productive in other ways ... reviewing stuff, helping other people, that sort of thing ...
 
you will have to verify that is consistent across whatever platforms you want to support, but I think it should be
 
Wes
:o
 
11:47 AM
Like all the best code, it's mostly copypasta from SO main with a little creativity to normalize across 32/64 bit
 
@mega6382 Pretty much paid to sit in the chair.
That's what I feel goal-orientated is much better. Work when you feel like it as long as you reach your deadlines.
 
Wes
are those numbers arbitrary?
like 214013
 
@JoeWatkins I mean, that I spend most of my working hours, daydreaming and browsing. And only a couple of hours actually working.
But all that time I am daydreaming, I am also solving problems in the background of my mind/
So, the productive part would be when I am actually doing something that is entirely part of the work.
 
@mega6382 Laravel is ZendFramework 1 implemented on top of Symfony components
10
That's my official opinion about Laravel framework
@samayo that's actually something smart to do if any of the assignments may fail and leads to a crash with invalid state afterwards
 
@Ocramius Great. Thanks for the statement.
 
Anonymous
11:52 AM
@Ocramius I would assume there are better ways to validate it then. That was just lazy imho
 
@Wes presumably "somewhat", like that crazy "fast inverse square root" routine I suspect that it's been fine-tuned by people who actually understand the math
 
@samayo yeah, in that case that assignment is just "clever code"
where "clever" is to be considered a negative attribute
 
which I do not, at least not without devoting a lot more brain power than I can currently spare
 
Wes
lol :D same
i need to test a method today, and it's like the most depressing thing ever. god
 
refactor time?
testing a single method shouldn't be such an onerous task...
 
Wes
11:57 AM
yeah but i am like just a bit pedantic about everything
 
you mean italian
 
Wes
ocd is a real problem
@JoeWatkins nah that would be "who givesa a fucka just shippe itte"
 

« first day (2607 days earlier)      last day (2346 days later) »