« first day (2655 days earlier)      last day (2518 days later) » 

00:23
@Wes never thought I'd see you ask that
Wes
Wes
it's a piece of shit
i can't install the dependencies
Wes
Wes
how the fuck this even works
@Wes you now see why people make jokes about 'composer time' when doing updates. Yeah.......if you've got 50 installed dependencies, they might take some time to resolve.
Wes
Wes
but it's not installing them all anyway
i got a fuckload of unresolved stuff in phpstorm
00:31
@Wes You sure that's not just laravel being crap?
Check the vendor dir
Wes
Wes
Notice: Could not find the declaration for Illuminate\Foundation\Console\Kernel
Wes
Wes
there are so many unresolved deps that it crashes phpstorm's console
isn't it perhaps like wordpress, that it must download packages, before actually running
What
Wordpress doesn't do that :P
unzip the dir, change settings and you have a glorious wordpress site
:P
Wes
Wes
it does the auto update thing
at the first run
i just installed it
00:39
yes for updates
But it doesn't need to do that before running
Wes
Wes
the first time it does download stuff that doesn't have
maybe it's because i've installed from master
no
zip size is the same
Really weird
Wes
Wes
maybe you didn't notice
But whatever
Don't care :D
Wes
Wes
:B
any idea about those unavailable deps in crappavel?
00:42
@Wes I am pretty sure I installed it at least once on a vm that wasn't allowed to go out
@Wes Not from the top of my head no :(
Did you get errors while composering?
Did it run the post install scripts correctly?
Wes
Wes
no errors
And artisan serve indeed borks?
Also did you get from master again? :P
Wes
Wes
no i did composer new project whatever
Wes
Wes
wordpress has so many classes with the wrong case
class WP_HTTP_Fsockopen extends WP_HTTP_Streams {
class WP_Http_Streams {
it's all like that
zero consistency
00:49
if only that is the worst part of wp :D
Wes
Wes
lol yea
will try again tomorrow
does anyone know how to prevent phpstorm's console to display notices twice? -__-
@LeviMorrison gist.github.com/Netmosfera/… not many
I assume most of them are booleans right?
Wes
Wes
not all
most
:P
Wes
Wes
i wouldn't say most... i didn't count them, but it's random, in perfect wordpress style :P
01:04
hehe
Wes
Wes
@LeviMorrison clone the project, install with composer, then change this line github.com/Netmosfera/SymbolaCheck/blob/master/examples/… with any php project dir, and run that very same file
it's not perfect nor nice, but works :B
needs to be improved
wordpress has all class names case wrong, means that when i lookup the parents, i need to do it caseinsensitively
if you leave me instructions on how to perform the checks, i will do them tomorrow
right now it just compares with case sensitivity
it also checks php's own builtin symbols
01:19
@Wes Put the sensitivity behind an option.
Wes
Wes
so i need to warning if the case doesn't match for classes, but try to load it anyway insensitively
and regardless of that i need to check insensitively
imho there's no difference
if methods and properties exist at the same time, they will likely have the same casing
I don't understand.
Wes
Wes
so wordpress has this problem, that classes don't have consistent casing e.g.
class WP_HTTP_Fsockopen extends WP_HTTP_Streams {
class WP_Http_Streams {
in order to know which members are in WP_HTTP_Fsockopen
i need to load the inherited members from WP_HTTP_Streams
but i cannot do that right now because the case is wrong
so i want that to tell me that has the wrong case, but i don't want the problem to block me doing further checking
just that :P
so i need to reference super classes insensitively
01:57
morns
Wes
Wes
02:38
morn
/me has dinner at 3:40 am, while plays a monopoly game :B
so sad's my life
lol That's breakfast.
Wes
Wes
02:59
it's not if you eat chicken
:B
03:10
posted on January 20, 2018

New Cyanide and Happiness Comic

03:54
mornin
 
1 hour later…
05:14
posted on January 21, 2018

New Cyanide and Happiness Comic

3
 
1 hour later…
06:23
Hi all.
he
hey
Wes
Wes
i'm having fun with symfony console :B
yeah im not sleeping yet
sleep is for the weak anyways
Wes
Wes
i am super weak
disgusting
how many columns console applications should have max? is 80 correct?
06:43
On laraWhat.. do I have to create symbolic links manually or is there a php aritsan command besides php artisan storage:link ? (I want to create symbolic links for other folders within the storage/app/public folder)
like php artisan stroage:link { variable } { variable }
Wes
Wes
06:55
the report should probably save to a file
mornig
07:27
@Wes here you go youtube.com/watch?v=_DwbXmr70C0 this song should keep you pumped up during the all nighter
user924016
mornings
Wes
Wes
@SaitamaSama ignored again. new record, this time it lasted less than a day
bye
Wes
Wes
some people just can't accept that others might not like the stuff they like
I was just memeing :(
sorry, tho
Wes
Wes
07:32
ok i will give you another chance for this time
i'm not a complete asshole, ok :B
thanks :)
btw, can I link an english song from an anime at least? it's pure english, not even engrish :)
07:59
uhm... so I'm gonna be buying a corsair vs 350 (enough for my need, the total wattage is coming to a total of ~285W along with the GPU), and a led strip as well, and this strip is connected using a molex connector or smth... so I was wondering if corsair provides these molex connectors in their VS series power supplies
featly neatly; elegantly.
anyone used one of those before, and have any ideas about it? :D
08:24
moin
@Jimbo global.yamaha-motor.com/showroom/papercraft /cc motorbike riders and origami fans
Morgne
morning
mrnng
mornings
morning
moaning
 
1 hour later…
10:05
Hey guys :)
Just a quick question I'm working with Twig and I got this error
("Parameter "gender" for route "firstnames_original_gender" must match "(fille|garcon|mixte)" ("garçon" given)
Right nevermind
=)
10:20
@Wes ping
How would you indicate in twig that a string should be use as a variable ?
{% set parameters = {firstnames: gender~'s'} %}
I'm trying to do something like this :/
gender being either 'girl' or 'boy' and I want to access boys or girl
@Baldráni why is your service targeted at children only?
and why can the gender be only girl or boy? what about all the other genders?
Is this realy relevant ?
However i'm working on a birth website so as far as I know there is no other gender than boy or girl.
10:37
hermaphrodite?
This remind me of an old article about samsung (I'm not sure it was them) who had some community problems to fix after limiting gender to boys and girls.
"firstnames_original_gender" must match "(fille|garcon|mixte)"
I guess mixte could stand for hermaphrodite
Hello all
please help me
i am in big trouble :(
@Baldráni the usual way is "fille|garcon|autre"
Please help i got big trouble in this :( in my wordpress theme i didn't edit advanced page editor when i did define('WP_DEBUG', true);

and then i get this error message i didn't know how to do this.

These errors i got :

Warning: Illegal string offset 'allowed-shortcodes' in config-
templatebuilder/avia-template-builder/php/shortcode-template.class.php on
line 484

But in local this wordpress load good.

Please help me for this.

Thanks in advance
Gender is a domain-specific problem. If you work for the government, I suspect it's binary, regardless of how you feel about how "correct" that is. You can't manhandle the system into understanding additional options when it was only built for two.
Please help me :(
i really didn't know how to fix this :(
Thanks in advance
@DaveRandom did you fix my issue please thanks
12
??
10:45
on my table within an hour, @DaveRandom. kthxbye
I'm going to leave the internet for a while now, when I come back I trust my reputation will have been destroyed for daring to suggest pragmatism with respect to computer programming and gender.
you mean within a minute
nice knowing you people
@DaveRandom later
@DaveRandom don't forget dnslib
please help me
:(
Please help i got big trouble in this :( in my wordpress theme i didn't edit advanced page editor when i did define('WP_DEBUG', true);

and then i get this error message i didn't know how to do this.

These errors i got :

Warning: Illegal string offset 'allowed-shortcodes' in config-
templatebuilder/avia-template-builder/php/shortcode-template.class.php on
line 484

But in local this wordpress load good.

Please help me for this.

Thanks in advance
10:46
go ask it on the main site
stop spamming
okay Ekin
i understand
but this is urgent
that's why i got trouble :(
no one here will help you if you keep doing this
that's awesome
you already spent 7 minutes and counting
okay Ekin
10:47
@kannu I need $5000 in advance if you want, and I can help you fix this.
That 7 minutes you could've been debugging it
@FlorianMargaine lol
what's funny?
funny for money
why?
you want to fix a problem, I can fix it. But not for free. It's clearly urgent for you.
10:49
i need as a some stuck issue like a friend not for money
Hello, I am trying to parse an XML document using SimpleXML and output the contents of a tag as HTML. What I have is <site><section name="about"></section></site> and I want to output the contents of section. I can do this with numbered indexes like $xml->section[0]->content;, section[1]....
do we know each other?
Is there a way I can do it like $xml->section['about']->content?
can i telll you for money so why you asking money >>
??
@kannu Because it's urgent for you.
Supply and demand.
10:50
it's urgent i know but not for money
lol
@CoderDudeTwodee what if you have <site><section name="about"></section><section name="about"></section></site>?
@CoderDudeTwodee use DOM
in general don't use SimpleXML for anything at all, but especially don't use it for HTML
Anyone here for help me in my issue ??
@kannu yes, I can help for you for $10,000.
haha lol @FlorianMargaine
i think you didn't know how to do this ;)
10:53
it's not a joke. If you send me $15,000, I'll help you.
@kannu You have asked your question that is enough, you can post it on mainsite for more attention, please stop spamming this thread. Stating the question is urgent will not motivate anyone to help you more, it only pisses people off.
@DaveRandom Why though? Some people showed some good love for SimpleXML.
@CoderDudeTwodee because HTML is not XML.
it's a bastardized version of it, where things are allowed like non-closing <p> tags, and nobody bats an eye
except XML parsers
^
Also... XML is inherently not simple
libxml handles that though, not PHP, so I feel kind of better about using it.
10:55
DOM is verbose, sure, but it also has very strong semantics - i.e. exactly like XML
Uh, what I wanted to do is write the content of the website divided into sections in an XML doc, and use PHP parse the XML, find out the data and push it through twig. I don't want to use a DB for this, and I don't want to mess with the HTML of the page while adding content. Any alternatives then?
user image
2
That'll teach me to test my code.
Does DOM help my use case?
@CoderDudeTwodee sorry took longer for me to write than I thought it would, 3v4l.org/sOMjW
ThW
ThW
@CoderDudeTwodee XML has its own template language - XSLT, not sure how you would use DOM/XML with Twig.
11:03
@DaveRandom Thank you for taking all that time to write that much for me. :D
@CoderDudeTwodee ftr you might have issues with that mixing of HTML and XML... you will need to make sure that everything you store in the XML document is valid XML as well as valid HTML
unless you just store them all as CDATA
in which case, there are probably better formats than XML, even if you do want a flat file
@DaveRandom I will probably have just regular plaintext and a few <b>,<i> tags.
That's fine, you'll know immediately if it doesn't work because the XML parsing routing will stop working :-P
ThW
ThW
@DaveRandom shudder
I have never used XSLT, it looks... complicated
11:06
@DaveRandom its just css, kind of
@ThW Umm, never tried that before.
@DaveRandom How about I go on with Yaml instead? The syntax looks cleaner.
ThW
ThW
@CoderDudeTwodee It is not.
significant whitespace is very dangerous when it comes to storing stuff like HTML
Uh, almost forgot about the whitespace thing.
Alright I will just go with XML DOM.
what's wrong with storing the HTML fragments in individual files?
why do you need the complication of a wrapper data format, you could just access them by name directly from their own files
11:09
@CoderDudeTwodee First of all, do you mind telling, tf are you trying to do? there might be a better way than trying to parse xml..
Yeh, True Type Font are you trying to do?
Open Sans :P
seriously though, all you have are fragments of HTML... what do you gain by wrapping them all in an extra data format and slapping them all in one file?
If you have them in separate files you don't have to worry about any complications that arise from having to munge the data to match the enclosing format, and separate files will be easier to maintain because you can easily just edit the correct file, instead of opening your monolith and having to find the right part of it
@DaveRandom Does that mean each div will have it's own file?
11:14
well I don't know, are you storing individual divs in an XML file? because that seems kind of wrong as well...
why do you have such small template fragments?
What I wanted to do was, if I have 10 sections in a page, I assign them each an ID. The content writer, writes their content on those XML. So, they have 10 sections stored in that XML file. They don't care how the page looks like. I don't have to worry about the content. I just parse the content based on the section attribute and show the plaintext in the right place.
so the content writer would be hand-writing an XML file?
(not saying that's necessarily bad, just trying to understand the process)
Yes, so I put in Lorem Ipsum as placeholder text, and show them how to add sections so it eases my task of having to adding them explicitly to the HTML page.
I do think you are going to have trouble if you are asking "content writers" (i.e. people who may be idiots) to give you valid XML, when a lot of them will probably struggle to even write valid HTML
just from experience, "content writers" typically is a group encompassing a wide variation in technical ability
ThW
ThW
Well one solution for this is not to invent your own XML format, but use Atom. Here is desktop software that can be used to create Atom feeds.
11:20
You are right, but it's just that I don't have much time left to make an interface for them.
@ThW that's an interesting idea
So, I thought XML was relatively simple for them and easing my task a bit.
If you look at this: 6696fafa.ngrok.io, all the lorem ipsum texts will be separate sections in the home.xml file
My server is slow, thank you for your patience
you could make a pretty big difference to the load time of that page by reducing the size of those images...
@DaveRandom Yeah, the graphic artist is on it.
11:24
One of my top 10 web tools
it is amazeballs
Thanks! :D
So, any suggestions on what I should do with my xml issue?
if you don't have time to make a basic form then you absolutely do not have time to deal with inexperienced people hand writing xml
@CoderDudeTwodee @ThW's suggestion of using Atom and giving the creators a tool for creating it sounds like a reasonable compromise to me
assuming that what you need is a quick solution
the correct solution would be to create something database-backed with a proper UI
but that is obviously a non-trivial amount of work
for years I dealt with xml created by people who did that professionally and it was still broken as fuck on a regular basis
@DaveRandom That seems reasonable. I will try that out.
11:28
tucows.com/preview/854323/Atom-Feed-Builder freeware that I have never used but looks OK
ThW
ThW
@PaulCrovella Yeah, it is terrible.
I have a virtual master card which isn't rechargeable and I cannot increase its credit amount. Also it will be expired soon. It contains 20.01 USD. I bought it for paying for my VPS and my VPS provider support either monthly or annually periods. So I paid it monthly (because my master card doesn't have enough credit for annually period) and now 20$ remains that will be destroyed soon. Any idea how can I with that money?
@ThW I do give it credit for getting us off of sgml, which was our prior primary source document format, but man what a mess people make of it
11:34
Going to be hiring for 2 PHP devs in the coming weeks. 1 senior, 1 normal, central London, we wont sponsor people to relocate, but ping me if you're interested.
I'm not normal and I'm not Spanish so I'm not suitable for either
I'm normal and I'm Spanish so I'm not suitable for either
fake news ^
damn, how did you know?
it's the lisp
11:39
I felt a disturbance in the force
ThW
ThW
@PaulCrovella Yeah XHTML was a good idea, especially if you look at the mess HTML5 syntax is. I wish they had allowed for short boolean attributes however.
@ThW oh, I wasn't talking about html/xhtml.. but I agree that xhtml is much preferred of the two
and html5 is so fucked they had to drop basing it on sgml
ThW
ThW
yeah
data attributes and fixed namespaces (by prefix)
user924016
just follow w3c.github.io/html/syntax.html#syntax and youll be fine
I'm fine without short boolean attributes, it just never bothered me, but I'd be just as fine with them too
 
1 hour later…
13:13
oh. I missed Jon reach 1M
why is SO still in write mode? I thought we'd just archive it and start a new game
@Gordon That was my impression too.
also, who is that guy with the very steep total answers curve in the first diagram?
@Gordon I am not sure but it might be Gordon Linoff
@mega6382 sounds plausible
He has provided about 41K answers whilst Jon Skeet has provided 34K
13:19
This guy
yepp. thx.
@MadaraUchiha I already said it :P
@mega6382 You hesitated.
actually, it would be really funny if SO would take down all the current answers and reset everyone to 0 rep. I am sure that would cause lots of chaos across the globe.
Then again… I dont think the replay value of Stack Overflow is good enough for me to play another round
One thing wouldn't change... I'd still not answer questions anymore
13:38
How do I output $arr['firstfield']['secondfield'] in twig? I tried arr.firstfield.secondfield, it doesn't work.

« first day (2655 days earlier)      last day (2518 days later) »