« first day (2615 days earlier)      last day (2339 days later) » 
04:00 - 13:0013:00 - 00:00

4:13 AM
morning
 
morning
 
morning
 
M-J
Hi
Anyone online? I have a question.
So no one's here:) Anyway, I wrote this, and it works miraculously (It can't be more apparent how beginner I am :D) :
<link rel="stylesheet" href="style-<?echo $config['lang'];?>.css"/>
Of course I expected this to work, but I also expected to see an "en" above the page(the value of that global config variable). I think "echo" is a function that generates html and when this html can be parsed as html there's no reason for it to be shown. Just like the way a <p> tag isn't printed on the page. Am I right?
 
4:39 AM
@M-J yes, if $config is defined and has a key "lang", the value of this key will be echoed there.
 
M-J
@FélixGagnon-Grenier Thank you. It wasn't echoed on the page, it just echoed in the html. I think this is what "echo" does.
 
is DAO a java term?
 
5:07 AM
It's come to my attention that certain methods like __clone have different restrictions on internal functions than user space ones.
Copy/paste bugs are fun, eh?
 
5:24 AM
yeah DAO is a Java term.
 
No, it's not. Data Access Object is common among many languages.
 
@Wes Should aggregates carry objects which are used in another aggregate? I have a membership aggregate which contains a user, a subscription, and many payments under the subscription object.
I have a very similar object which is basically the same thing, but also contains a gift sender object. The domain rules are significantly different, however.
 
5:40 AM
how are they different?
 
5:51 AM
@Orangepill One contains a gifted object. A near duplicate of the user object...but again...different domain rules.
 
6:10 AM
morning everybody.
 
so you're asking if it appropriate to have user and subscription objects in both membership types? To that I would say yes.
morning
@danack I'm enjoying you live tweeting your garden growing :P
 
@JoeWatkins You think this is supposed to fall through? github.com/php/php-src/blob/…
 
Wes
6:26 AM
@Allenph no
 
So, winter bash is finally hear.
*here
 
Wes
@Allenph you don't want an aggregate overlap another
i did it, been there, trust me, not a good idea :B
value objects on the other hand can be used everywhere
 
@Wes In your opinion if inside a membership aggregate the user and subscription properties were immutable would it be a problem?
 
Anyone tried aws.amazon.com/cloud9 ?
 
Wes
not sure why you ask that. entities are usually mutable. if you have one that is immutable i suppose you can use it across multiple aggregates without any significant risks @Orangepill
but immutable should probably be a value object
 
6:52 AM
@LeviMorrison yes
and yes
I'm at the end of my fucking rope man, accessing the internet is giving me such a headache ...
I mean an actual headache, that hurts ...
@Levi is this targeting lowest applicable branch ?
 
@JoeWatkins Can't venture out to a coffee shop or something to work for a bit?
 
I use a real computer
 
Dang
Living in the countryside or sootin?
 
Wes
what's up joe
!!urban end of rope
 
whatchoo talkin bout willis
 
6:59 AM
not really, there's no fibre here, nor an adsl connection, but there is phone lines ... I can't order adsl until I get some kinda number from local govt ... so I'm stuck on mobile networks, it's costing me extortionate amounts of money, gets reduced to 64kbps when they want more money, and now I find there is a limit to the number of times you can buy data in a month, so I've now got several sim cards ...
 
It's an expression for a noose @Wes
 
Wes
:B thanks
 
Why would they limit data buys? -_- Sounds dumb
 
extremely dumb
 
@JoeWatkins Sucks. Getting internet sorted is a real PITA. I had zero luck when I was in that old apartment of mine.
Satellite maybe?
 
7:01 AM
I've tried ordering that with two companies, I don't have the paperwork in order for that either ...
that's probably going to be my best bet though, it's 30mbps but unlimited bandwidth ... fibre is about the same, but there are very stupid limits, like 10gb a month ... unless you sell a liver, then you can buy 20gb ...
I mean what the fuck is this all about ... it's 2017, it should not be hard to get online ...
vodafone.es have the fastest 4g network I've ever used, easily delivering 100mbps, I don't know why they put these daft restrictions on it ...
 
No kidding, UK BB is a joke really
 
I'm not in the UK, I left ...
 
Oh, is the new country a secret?
 
no, I'm in spain, cullera (valencia)
 
Will that work with Brexit?
 
7:06 AM
yeah
 
Hello everyone
i am trying to Structure Product Page in woocommerce.Also,lines of code are too many to paste here so can provide login details.No clue to use Jquery or javascript to reduce it.Can anyone help out in this. Link website page link
i researched but didn't got answer.Kindly overlook my poor english :)
 
so long as papers are in order by brexit day, eu/uk have agreed to protect rights of eu citizens in uk, and vice versa
 
Cool
@JoeWatkins These satellite packages are either crap or less crap and expensive
 
this is not so bad, but they want paperwork I don't have yet
 
Ooh Valencia is the home of paella, good choice.
 
7:09 AM
@JoeWatkins hi
 
are American politics getting more ridiculous or are the rest of us crazy
 
it's also very beautiful, summer for 8 months of the year, and average temperature in winter is 16 degrees celcius ... no more being cold for me, no sir ...
 
a 1% win over an alleged child abuser and twice-removed judge and people are "happy"
 
with geo politics mixed with technology its all crazy things
 
mornin' kids
 
7:13 AM
Mornsko, write a blog already :P
 
why?
 
So I can read it
 
Accessing the internet is giving me a headache, until I look out the window ...
 
Oooh
 
I'm not very good at working the camera on my phone, the photo doesn't really do it justice ... it's not that grainy in real life ...
 
7:20 AM
@tereško I thought "kinds" is just for babies (atmost 10 years old)
 
@Shafizadeh "kinds" or "kids"?
@tereško Morning to you too, mommy.
 
@mega6382 I meant "kids". (typo)
 
there's no upper limit on age for the term kid ...
 
@Shafizadeh mega is very strong in finding typos haha
 
my mother would refer to me as her kid still, and I'm 33
 
7:27 AM
@Jacktriun apparently yes :-)
@JoeWatkins ah :-)
 
is it just me, or academia is fucked: twitter.com/NAChristakis/status/940349383492669442
@FélixGagnon-Grenier install Arch already :P
 
@JoeWatkins We are always kids to our parents.
 
@tereško now that one is not kiddy
 
@JoeWatkins same here
 
@Gordon really? as far as I recall, you are the oldest here ..!!
 
7:30 AM
it doesn't matter ...
 
@JoeWatkins Very True...Try it now
 
wat
 
Look out the window
 
@Shafizadeh the English word kid, in the vernacular, just means child ... there's no age implied, it doesn't matter ...
 
mrnng
 
7:33 AM
monring Ekin,@tereško
 
Wes
@Shafizadeh if i say "morning, bitch" to @PeeHaa it's not that he is an actual bitch. i am just joking
 
mngrrr
 
@JoeWatkins I see :-)
 
@Wes doesn't work ...
 
Wes
wait... wrong example :B
 
7:33 AM
@PeeHaa is an actual bitch
 
Wes
ahaha
 
@Wes Yeah I knew it bro, I'm not a fool
 
o/
 
btw, how's your day @Wes ?
 
7:34 AM
Hello guys
 
@JoeWatkins Age can be implied depending on the context. If an older family member calls you kid, no age is implied, but if someone else calls you kid like "You are behaving like bunch of kids", than age is implied along with an insult.
 
@MohammedAlhanafi @PeeHaa is a lady
 
Wes
i will tell you in a few hours
 
@JoeWatkins why you tell me?
 
@mega6382 not that simple ... being told you're behaving like a kid isn't always an insult, kid in a candy shop isn't an insult ...
that's how I behave any time I'm in a candy shop ...
 
7:37 AM
yeah, thats the exception which proves the rule.
 
and when @tereško used the word, he wasn't insulting anyone ... if he wanted to insult us, we would know about it ...
there are no rules in English ...
 
@JoeWatkins yeah, thats for sure.
 
there are rules, but they are ... emm ... vague
 
The words come out of him, express his personality, Not ours, so just let go.
 
What does that even mean?
 
7:41 AM
nothing, it doesn't mean anything
 
hint: I dont actually have a personality
 
lol xD i'm out
 
Just wondering, is it a good idea to provide regex-based search on a blog.
 
nope
you can provide an advanced search, but don't execute input verbatim
 
hmmm, thought so.
 
Anonymous
7:45 AM
!!wotd
 
deasil Chiefly Scot. clockwise or in a direction following the apparent course of the sun: considered as lucky or auspicious.
 
@Shafizadeh @Danack is older than me iirc and I am sure his mom still calls him kid from time to time.
 
my eldest sibling is super old, over 50, don't know exact age ... same ...
 
@Gordon yeah I got the concept of "kid" .. Just one thing, what "time to time" mean?
 
Anonymous
Over 50 is super old?
 
7:48 AM
Can anyone help in fixing up my sidebar
 
definitely
 
@Jacktriun Don't ask to ask just ask.
 
so shall i give you my login crendentials
@mega6382 yeah a bit new :)
 
yes please, and I'll have your address, your credit card number, your date of birth and your mothers maiden name ...
 
:P
 
7:51 AM
its a test site
 
i can't stop laughing.
 
@Linus good for your health
 
:)
 
@Linus what's funny?
 
@Shafizadeh everything :P
 
7:53 AM
@Shafizadeh occasionally
 
@Gordon ah
@Linus :-)
 
@JoeWatkins dont know its a gag or serious :)
 
!!dad
 
I'm not addicated to brake fluid I can stop whenever I want
 
@Jeeves whatever.
 
8:02 AM
@JoeWatkins yes with so many reps you have that liberty to say.No problem sir :)
 
@Jacktriun OK, then go ahead give it to him.
 
Anonymous
@JoeWatkins you're an idiot
 
8:20 AM
:)
 
morning
 
o/
 
Anonymous
8:51 AM
hmm.. SO winter hats just came
 
yeah, its exciting times..
 
winter hats… ascii shrug
 
They are not so bad.
 
hats ftw!
 
9:08 AM
you need one with your bald head..
 
9:21 AM
I am a unicorn now.
 
Dec 16 '13 at 6:56, by tereško
oh fuck, those stupid hats are back
6
 
@tereško Doesn't matter, I am sure that by the end of the day, you'll be wearing 1 too. :P
 
9:46 AM
Dec 18 '15 at 9:48, by DaveRandom
I hate hats
Dec 19 '16 at 16:03, by DaveRandom
I hate hats.
 
I don't get the whole hat thing..
 
Wes
my halloween avatars are much better
 
I like those hats
I think you did the one in my current avatar as well actually @Wes
 
Wes
did i?
 
what I actually hate is the "get a message starred n times in chat" hat
@Wes I think so, it looks too good for me to have done it
 
9:48 AM
That can't be right. If Wes made your avatar it would look like a squid.
 
Wes
right
 
Only elephants end up as squids... Except you are saying Dave - nvm
Also, mornings
 
@DaveRandom Is that hat photoshoped?
 
yes
well either that or someone photoshopped it out of my regular avatar :-P
 
9:53 AM
There's no chat link on SO anymore, how do new people end up here?
 
@Linus for some reason it makes you look slightly green
 
@tereško ;P YEAH not properly phptoshoped.
 
9:58 AM
@IROEGBU There is a link, just click on SE logo in top right corner. You'll see it in the dropdown.
 
@Wes lol
 
Wes
jackhammers again today \o/
 
anyone worked on Google Push Notification
?
 
Anonymous
10:22 AM
Titanic was an inside job
 
Wes
10:35 AM
@AlmaDo creationism oop? class God implements Alpha, Omega{}
 
class Christianity extends Judaism {}
2
 
I'm having an issue with Magento and IntlDateFormatter, I posted on the Magento Stack Exchange but thought I'd ask here too, post is magento.stackexchange.com/questions/205633/…
I'm at a complete loss on what's going on
 
Anonymous
class Christianity extends Judaism implements \PrimitiveTypes {}
 
Wes
you got your abstraction wrong
 
Well Judaism implements Abrahamic, Christianity inherits the implementation
@stu177 somewhere in the codebase is a var_dump() call which is dumping out an IntlDateFormatter instance, start by searching the codebase for var_dump() calls
 
10:47 AM
I'll give it a try, might take a while to search the whole Magento code base :P
 
get an IDE :-P
 
It's not doing it locally ><
Only on production
 
still, the codebase is local...
 
Yeh but there must be something different on production to my local
 
also when you have an "only in production" error, there's a legitimate case for installing xdebug on production
 
10:48 AM
It's no doing it on local and staging just on our production
Yeh that's probably a good shout
 
better a slower production server while you debug it than errors in production
still, if you grep for var_dump in the codebase (there shouldn't be that many, I would hope) then you can possibly identify the code path that's being taken without having to do that
 
Yeh just running that now
 
Also grep for IntlDateFormatter, that might give you a clue
there probably aren't that many places where that is used, either
 
No instances of var_dump, maybe exit or something else dumping it out?
 
M-J
Hi, I'm going to choose a PHP framework, do you think CodeIgniter is a good one?
 
10:52 AM
350 instances of IntlDateFormatter
 
@stu177 that's the exact output of var_dump($formatter) 3v4l.org/6avWL
so there must be one somewhere
 
I'll try grepping again one sec
 
which suggests that the codebase in production is not the same as your local one, if you can't find any var_dump()
@stu177 sounds like someone might have been editting code in production :-P
or possibly there is some magento extension installed in prod that you don't have locally
 
Yeh someones getting shot
 
M-J
So which PHP framework do you use?
 
10:55 AM
Laravel is one of my go to ones
 
/me hides
 
/me hides too
 
Not fans? :P
 
no, but I don't have the time to get into that rn :-P
just searching the chat history of this room for "laravel" would be a reasonable place to start
 
M-J
@DaveRandom I'll do it
Well seems that some people have hated laravel in this room and IDK why
 
11:00 AM
Day 3 of "working with WSDL". Everyone else has died, I am the only one left. Some died of starvation, others suffered violent deaths at the hands of a crazed software developer. There is no food left. The situation looks hopeless. If anyone finds this note, let it serve as a warning; we had the best intentions. We thought we could make things better.
16
 
Found it
Someone put a fucking vardump and exit in ./vendor/magento/framework/Stdlib/DateTime/Timezone.php
And then just left it there, because why the fuck not
 
@stu177 this makes you quite ignorant
 
:D
 
It what our work uses don't blame me :P
 
16 hours ago, by tereško
global state for accessing user input, don't use global state for validation, don't use global state for database connection, don't use active record, don't declare class parameters as public .. etc
 
11:05 AM
@stu177 epic :-P
 
Didn't even detach their console from the file so was open by a pid, nice of them
 
you will probably need to look for the context, though
 
@stu177 hopefully this means you can find out who it was though
 
M-J
@tereško Which one do you prefer?
 
Aye yeh
 
11:08 AM
@M-J I use composer packages, to assemble the components, that I need (if there are any decent ones for a given task), and implement the application's architecture myself
 
M-J
Wow
 
new problem, the electricity keeps cutting out ...
it's beginning to feel like punishment, but I don't know what I done wrong ...
 
M-J
@tereško Is it something like what we could do using makefiles in C++?!
 
@JoeWatkins are you on a vacation?
 
no, I moved here
 
11:10 AM
@JoeWatkins emmm ... that might have been a rash rush decision
 
it really wasn't, we've been talking about it for ten years ...
we're in temporary accommodation until papers are in order, so there's nothing I can really do to fix any of this ...
 
@M-J not really. "Composer" is a package manager. Kinda like npm in javascript, gems in ruby or pip in python
@JoeWatkins ah, at least it's not the permanent location
... that would have been quite harsh
 
M-J
@tereško Do you recommend learning it for someone who knows nothing about frameworks? If yes, what tutorials would you suggest? Thanks
 
yeah, temporary problems, I'm holding on so tightly to that ...
 
@M-J you will have to learn how to use composer even if you decide to go with a framework
 
M-J
11:14 AM
okay...
 
@JoeWatkins maybe it's just "business as usually" in the entire country :D
 
well I checked the state of connectivity, and this is obviously a top priority for somewhere permanent ...
 
anyone here familiar with EU GDPR?
 
in some places there are 300mbps fibre ...
I dunno what the fuck is going on with power supply ...
there are several air conditioning units powered up though, I suspect those ... somewhere permanent will hopefully be centrally heated, or use something other than electric ...
 
@KerrialBeckettNewham yes
probably several people
 
11:23 AM
@FlorianMargaine it says "the controller shall provide a copy of the personal data, free of charge, in an electronic format" - what is the standard format it's provided in or best practice?
 
@KerrialBeckettNewham nothing special
whatever you want
 
@FlorianMargaine what HTML?
 
@KerrialBeckettNewham your choice
 
@FlorianMargaine Oh cool. thanks
 
11:32 AM
@KerrialBeckettNewham csv probably.
 
@tereško Tell me you've seen this
 
@Danack Thanks
 
is there any way to find out what extensions a running fpm has currently loaded short of placing a file into its webroot and requesting it?
php-fpm -m or -i doesnt work because it spawns a new process. I need for an existing process.
 
@James nope, I have been mostly ignoring youtube for past two weeks
will watch
 
@Gordon shouldn't it be the same, fpm can't dl ?
use configuration file switch to match existing process and module list should be same
 
11:37 AM
@JoeWatkins if something modifies the environment after the process is started, calling up the binary will reflect that new environment. for instance, someone might overwrite an .so in the meantime. I need the currently loaded environment.
 
have you tried that, overwriting an so while it's loaded ?
afaik you can't do that
 
yes, you can
 
well that sucks
so it's file in webroot or modify fpm status
if you modify it, I'll merge it when nobody is looking ...
 
:D
I was hoping for some linux hackery via proc/pid/something
 
lsof ?
/proc/pid/maps
shall I experiment or are you confident you can do something ?
 
11:43 AM
I am confident. thanks.
I was dabbling with maps. it will list the .so files but I am not sure how I would get the ext version from it. will try with lsof
 
maps won't show statically linked mods
 
@James I think I will get it, when it gets released
 
@JoeWatkins that's fine. the ext in case will always be external
 
okay so getting the module version might be possible
but what if someone overwrote the so ?
 
11:51 AM
that's the case I am trying to solve. Basically I am looking for a way to do $(pid of running fpm) -i or --ri extname
 
you need to find offset of zend_module_entry ext_module_entry, read sizeof zend_module_entry and unpack it ...
the only problem might be that this information might not be available without debug symbols, I'm not sure ...
 
hmm, sounds like a lot more hassle than it's providing value
thanks for the input though
 
readelf can give you the addressof module entry and sizeof struct
but yeah, it's getting complicated and probably fragile ... just modify status
 
yo @PeeHaa
send ya a mail
 
12:05 PM
こにちわ 。/
 
こにちわ 。/ :O
 
buenos dias
 
o/
 
\o
 
Wes
buondì
 
12:17 PM
ok, time to hunt down some food .. I want green curry today
 
@RonniSkansing Awesome. Thanks <3
 
np <3
 
@tereško green curry? interesting...
 
Wes
12:34 PM
someone uses RBA ecigs here?
 
@tereško what do you suggest listening to while reading? something that doesn't interrupt my train of thought, but is background noise
thinking of just throwing on instrumental post-metal or something
 
@Tiffany white, pink or brown noise
 
@Gordon pink noise?
 
brown shit (:
 
ah, probably somewhere in between pink and brown noise, but I remembered I have a playlist that should (hopefully) work
@AlmaDo brown noise made me think of the "brown note"
 
12:48 PM
@JoeWatkins pretty cool idea for a side project, elf walker, iterate and decode exported structs
 
@Tiffany I know the best music/background for helping brain activities: absolute silence
 
Might have to attach as a debugger to get the memory :thinking_face:, or /proc/pid/mem would work
 
@AlmaDo most of the time, this is true for me, but I need background noise today
 
Wouldn't it be the same thing to create multiple separate functions or creating a class with all static methods, right?
 
12:50 PM
@Tiffany turn on some slow jazz ..
 
@AlmaDo so true
 
oh. doesn't show the playlist if you're not registered :(
 
@Tiffany fruitless try, my lspci doesn't appear to agree that I have any sound output device ..
 
@Tiffany You might like Toska
 
@Leigh gimme a song name
 
12:57 PM
@Tiffany open.spotify.com/artist/0JZbp2zDsKdX9Gk6888pfL Not many to choose from, just pick one, all pretty good
(all instrumental)
 
@Tiffany Do you know about Coke Studio?
 
04:00 - 13:0013:00 - 00:00

« first day (2615 days earlier)      last day (2339 days later) »