« first day (2603 days earlier)      last day (2345 days later) » 

10:00 AM
dreamweaver was btw the first tool i ever used to create websites with, i was like 9 years old
lol
sorry i lied
front page
was the first tool i used
then dreamweaver
 
The first tool I used to edit html was Opera's source editor.
It doesn't have that anymore.
 
@Fabor She has me keeping my shoulders up and back and sitting up straight at my desk. So far, the pain is diminishing, but now I have aches elsewhere because I constantly have to keep my shoulders and up and back :D
 
notepad for the win
 
i'm actually surprised that dreamweaver is actually still a thing today lol
shruggs
 
heh gotta develop those mucles
 
10:02 AM
OK, I am going to give PHPstorm a try, and see how it'll go.
 
you'll never regret
 
good choice, it's down to personal preference as far as handling goes, but you really wont find another ide with the tools it has
or quality of those tools
 
@SaitamaSama (-‸ლ)
 
@Jeeves please tell me it's friday
 
@Naruto Why would you need to know?
 
10:05 AM
notepad, was the first editor I used for writing some codez, I meant :B
 
@Naruto nope
 
@SaitamaSama who are you?
 
err... really?
 
i dunno if it's still irc or if people moved up to slack or discord, but are there any notable communities for php out there today with active people chatting?
 
10:09 AM
can't keep up with you namechanges ;)
 
Anonymous
Notepadd++ -> phpstorm -> sublimeText -> phpstrom -> sublimeText -> atom -> sublimeText -> vscode
 
Anonymous
@SaitamaSama my timeline
 
i tried sublime, but i never got a good combination of plugins for type hinting and indexing of classes + auto namespacing etc
 
Anonymous
as you can see I gave phpstorm more chance than it deserves
 
How are you using vscode?
 
10:10 AM
TIL that in JS:
var foo = function(a, b, c) {};
console.log(foo.length); // 3, the number of declared args the function expects
 
that is quite obvious imo tho :B
 
shit, I need to go to work
 
Anonymous
@mega6382 I open it and start using it
 
Wes
@SaitamaSama wasn't that obvious for me
 
Anonymous
@SaitamaSama no, it isn't
 
10:12 AM
:B
 
@samayo No, I meant which extensions.
JS is a super crazy language.
 
it has some quirks, but its a pleasant language whatsoever
 
i dont like javascript, why i never gave nodejs a chance. javascript is just an evil must when creating websites
 
Anonymous
I am working fulltime now on nodejs project and there are tons of extension for that, but you can also have the same for php marketplace.visualstudio.com/…
 
10:15 AM
JS is meta af
like, you really need to understand it's inner workings to use it well
 
user8444404
I want to start $Address->getStreet(2) in new line , please help me....

$textChunk = wordwrap($Address->getStreet(1).' '. $Address->getStreet(2) , 50, "\n");
 
disclaimer: I do not write good JS
 
nobody cares about good js or not :P
if it works it works lol
 
this is painfully obvious
 
I really like nodejs on AWS lambda. But in other things not so much.
 
10:16 AM
@Daniel Node is useful for one thing only IMO, and that is headless Chrome
which is still basically web dev, only more meta
1 min ago, by DaveRandom
JS is meta af
 
Anonymous
@Daniel It is much better than PHP to create simple to medium web pages. I feel a lot stressed creating a js app than using php and I have used php 5 years, while only 6 months in js
 
does headless chrome still require x11 libs?
 
How do you quote someone in this chat? I tried but couldn't figure it out.
 
> foobar
 
only reason why i'm stuck with mpdf is because wkhtmltopdf and headless chrome requries x11 libs :/
 
10:18 AM
dunno, I just use that Google-run API thingy on Node <whatever version it is that supports ECMA6 things>
 
or just dump the link to the message
 
puppeteere?
 
that's the badger
 
yeah it requries x11 libs
 
I don't even know what that means :-P
(and I am fine with that situation)
 
10:18 AM
on linux, you need to install gui components
too many packages needed to make it work
 
1 hour ago, by SaitamaSama
btw... can we haz some R11 Overwatch this weekend?
 
well I'm a masochist so I do it on Windows
 
you run your webservers on windows server?
 
no, that would be silly
I run them in VirtualBox VMs on Windows Server
:-D
 
lol
 
10:20 AM
(I don't actually do that much, only for dev boxes)
most of my production stuff is on VPS
 
yeah but still, my point is that your server needs to have gui components installed to be able to generate pdf's, i'm desperately looking for totally headless and gui less solutions
 
does wkhtmltopdf need said GUI components?
in fact I'm pretty certain it doesn't
 
some x11 stuff for fonts and stuff like that
maybe i've missed someting
and it doesnt', and i'm justb ad
 
well kind of meh anyway, this sort of thing is only really for testing and hacking shit
 
@DaveRandom It does need x11 or some x11 faker thingy on nix
 
10:23 AM
testing is generally done on internal boxes that don't matter, and when you need a mega-hacky solution that involves pretending to be a user then it's a stop-gap (or at least, it should be)
@PeeHaa see I didn't even know what x11 was until about 5 mins ago because I don't do GUIs on *nix
that's what Windows is for
 
That's why I like you. You are actually sane in this regard
 
Wes
standing is painful. and sorry for the whinging :B i should probably sit. i've been on my legs for 5 hours straight
 
@Wes you have one of those desks that can be adjusted for standing and sitting, or have you been on the run for all day?
I have one of those desks that i can chose to either sit or stand in front, i actually am much less productive while standing lol :D
 
I remember that there is a way to make a hash out of an object, so you can compare if 2 objects are actually the same object (Referenced). Does anyone know the method?
 
Wes
standing desk. indeed i've been much less productive today lol. but backache is gone
 
Anonymous
10:27 AM
@PeeHaa read it again?
 
I refuse to
 
Anonymous
Well then i'll do it for you.
 
Anonymous
> That's why I like you
 
:P
 
Wes
@DamienOvereem spl_object_hash, but if you can you should just do $obj1 === $obj2
 
Anonymous
10:28 AM
@PeeHaa he's a manc?
 
@JayIsTooCommon I know. He has it hard enough as it is
 
Hm. I actually did the last option there, but the result was not what I expected, so I doubted that === did the same thing. Thx.
 
Wes
spl_object_hash is used for using an object as array-key. nothing else
$array[spl_object_hash($key)] = new Entry($key, $content);
 
Silly thing is that I only want use swiftmailer's messagelogger to check if a certain mail has been mailed.. There are 2 different ways to get to the container, but when i grab swiftmailer from one container and send the mail it logs successfully while grabbing swiftmailer from the other doesn't log the message.
But it should be the same container.. and according to the comparison it actually -is- the same container.. o.O
Good time to use my most favourite english word.. flabbergast.
 
am too lazy to fire it up to check
 
10:37 AM
you can use inteliji for php as well..
 
Can't find anything on keypass when searching settings in phpstorm
Nothing in the phpstorm helpfiles about it either.
Ah. There we are. Search failed, but under Passwords there is a keepass option. So i'd say yes.
 
@Gordon What IDE do you use for PHP?
 
Gordon is old. He only codes in haskell.
 
@Gordon uses butterflies.
 
And don't say it's vim.
 
10:44 AM
OOP programmers that use VIM in an organization are a clear sign of bad management.
 
who is using symfony 4?
 
Wes
/me sits
 
Finally, how long have you been standing in front of that desk?
 
Wes
5 hours ish
 
why :P
I would probably give up after 2 hrs max
 
10:49 AM
Did you take any breaks or something?
 
punishment? :B
 
Wes
backache. feel better now. except i have legsache now
 
You can fix both issues by standing on your head.
2
 
just take a break, prolly
 
Wes
lol
 
10:50 AM
#thinkSolutions
 
I randomly stepped upon the Fate/SN UBL TV full opening song. Boi, I'm so glad yt made these random choices for me. youtu.be/-P_B2AC5WJM
 
Didn't see this gem yet
A bit old though..
 
@mega6382 phpstorm… and vim. but I dont do much php anymore.
@DamienOvereem nice
 
Worst thing is.. I doubt we have much of an age gap ;p
 
See, knew it was vim.
 
10:59 AM
remember, the -9 flag for kill was invented specifically because of vim
 
@mega6382 vim is nice
 
For programming that statement needs a rewrite: vim -can- be nice.
Someone just has to pay for the hours and hours it takes for a programmer to actually setup vim in a way that allows him to code efficiently.
 
@Ocramius (and rest of R11) how would you name a query that checks whether a user with a username already exists?
 
usernameExists ?
 
@DamienOvereem I disagree. All you really need to is vimtutor once. All these plugins and stuff are just fluff. Give me syntax highlighting and I am fine. At the end of the day, vim is still just a text editor to me. So I only use it for text editing. If I need an IDE, I fire up an IDE.
 
11:04 AM
actually.. whenever I used vim it was like "apt get install vim; vim file.php" done
it's already shipped with all that basic syntax highlight
 
I just use vim for commit messages, or sometimes vimdiff for merge conflicts.
 
and here I am, still not knowing how to exit vim
 
an IDE is more like a toolbox to me. And vim is just a tool. I bring my toolbox when I need it. I use my vim when I dont need it
 
I can agree to that. Aslong as that "only for text editing" stays in place. I pretty much ment the type of coder that tries to replace a decent IDE with VIM. Usually eating up many hours of messing around with config an plugins to end up with a mediocre IDE-in-vim.
 
it's simply impossible to replace ide with vim. I mean - assume you debug some java project. and your debug ran into something which requires jar unpacking on the fly..
and tons of examples like this
 
11:08 AM
Yeah, an IDE gives you a proper setup for project code management, which you just can't have with vim.
Vim is like notepad, just a text editor nothing more.
 
@DamienOvereem been there, done that, failed. won't repeat.
 
but notepad is not a text editor
 
+1 to lessons learned
 
also, you can just setup vim as the editor in intellij/storm
but that doesnt work for me because it interferes with shortcuts
and when I use the IDE I do want to use the mouse
 
Watching the shining right now. Just makes you wonder how much the horror movies sucks nowadays.
 
11:18 AM
I can assure you this will apply to many more things the older you get
 
though as a horror it sucked too .. or it's just me
@Gordon and the answer "why' would be always hidden in "those times I was simply young" :'(
 
that's probably one part of it…
 
hopefully not all is lost. I enjoy some modern music compositions as much and modern games as much. Not comparing those with older ones - but just enjoying both in their own ways
 
@Patrick UserExists or UsernameTaken
 
But not UserExists :P
 
11:24 AM
@Patrick Don't forget PasswordExists too
You don't want two users using the same password
 
Hahahaha
 
yes. and if user enters password which collides with an existing one, don't forget to be informative. "Bob, you can't chose the password **** - this password is already taken by user Alice"
 
Exactly, so you can go and talk to Alice, and see if she's willing to change her password so you can have your favourite one that you use everywhere
 
who is using symfony 4?
 
Man, we should all become UX ninja rockstars, we're good at this
 
11:28 AM
yes, verbosity, man. verbosity!!
 
@Wes even when you're used to it, you probably won't be able/want to do more than 60% time standing.
 
Do you think we could market... the squat desk
Starts at full standing height but a couple of times an hour is goes down and back up a few times
 
Anonymous
And what's underneath?
 
Your mums face
 
Anonymous
righto
 
11:31 AM
lol :)
 
<3 Jay
Got a modelling contract yet?
 
Anonymous
<3
 
Anonymous
working on it
 
@Leigh I think we should create a Password as a Service service that deliberately gives all users the same passwords.
it will make everything easier
for everyone
 
indeed
 
11:41 AM
@Gordon this
 
@Gordon As long as each character is chosen by a fair dice roll, I don't see a problem with that
 
@Leigh indeed
 
I already understood what you meant when you said "fair dice roll" ;)
 
@Leigh function fairRandomDice($min, $max) {return 42; //I swear that my choice is fair }
 
11:45 AM
Sure, but now you have a linux kernel device driver, so you can use a fair dice roll in all of your applications
 
@AlmaDo I don't need this chart. Today I will see Manowar in concert… it's about 25 years after I've first seen them in concert. And it's their farewell concert. Also, I will meet a friend I haven't really seen in 15 years.
 
@Gordon :\
 
Wes
I AM STANDING AGAIN #homoerectus
homo erectus sounds so bad
 
11:55 AM
... lol
 
Anonymous
@Wes is this for health benefits?
 
Wes
probably
@Leigh kickstart it
and take my money
 
@JayIsTooCommon I'll commission you to make me a model of a train. I like trains.
 
weird tastes
 
dunno what they taste like
not in the habit of licking public transport
 
12:08 PM
I assumed you tried them
k, screw the work, I'm going home. ciao
 
\o
 
さよなら
 
Anonymous
@DaveRandom funny guy
 
Anonymous
funny guy who didn't respond to my 'eh?'
 
Anonymous
12:15 PM
what email were you talking about?
 
Anonymous
who dat?
 
new phone who dis
 
Anonymous
oh, lol
 
Anonymous
Can't tell if male/female
2
 
Anonymous
12:18 PM
right.
 
lol :)
 
@samayo it's Jay :-P
 
How old are you?
 
ah well he's not the jealous one for once :P
 
12:22 PM
@AlmaDo こんばんわ o/
 
Wes
@samayo do you know many women with facial hair? :B
poor jay.
 
Anonymous
@Wes just his mother.
 
@Wes Where's the facial hair cause I don't see any.
 
Wes
there is some.
 
Anonymous
I dislike this room
 
Wes
12:28 PM
<3
 
Anonymous
@Wes I can see tiny facial hair with extra zooming now.
 
Anonymous
@mega6382 you need to magnify 200%
 
idn_to_utf8() default of INTL_IDNA_VARIANT_2003 gives deprecation warning – #75609
 
Wes
lol fail ^ actually maybe that's the right thing to do
 
the whole room is sick and sleeping here
 
Wes
yes makes sense
 
Here's a great Ted-ed video youtube.com/watch?v=v-t1Z5-oPtU
 
Anybody can help on my problem ? stackoverflow.com/questions/47566516/…
 
No. I don't think so.
 
@samayo it's not facial hair. It's permanent makeup /cc @Wes
or maybe he forgot to shower again… then it's just dirt
 
Anonymous
12:41 PM
Nah, it's a premature facial hair. My 7 year old cousin has one
 
One facial hair?
 
Wes
crossed that line again? you guys are so mean sometimes :B
 
I think its just pubes on his face or something. :)
 
Anonymous
Why? This is biology and Science. Also, I wish my biological short comings were not being able to grow a mustache. @Wes
 
Wes
 
Anonymous
@DamienOvereem damn you. I'm sure someone behind me saw that on my big screen
 
You started it
 
Anonymous
Yeah, but I did not share a link. You should tag that NSFW next time
 
*stares at @php_net follower count* *stares at @official_php verified badge* there can only be one
anyone know who runs @php_net?
 
@Wes Why, you got hots for him/her?
 
Anonymous
12:50 PM
eww ..
 
Anonymous
@adamsmith wtf!! I've been following php_net all this time. I thought it was the official one
 
@hikari_no_yume Tracer Avatar. Check. Animu Name. Check. Welcome to the weeb club!
 
is this confusing? (the file location comment)
 
@Andrea wait, you mean php_net is not the official one?
 
Anonymous
I still can't believe it :/
 
Anonymous
12:56 PM
@Patrick Nope. It's ok imho
 
:D
 
@Patrick add that comment after <?php
 
@Patrick no, it's fine
 
Anonymous
Yeah, actually @kelunik's advice makes more sense
 
Anonymous
It's not even valid comment if it's not inside <?php
 
1:04 PM
@Patrick Why is that even in the code block at all?
 
@samayo that's why I'm asking. But I would like it to be always on top (not all codeblocks start with <?php
@salathe got feedback from multiple people that I should add that. Where else?
 
Anonymous
Normally, no where! Unless you are teaching and it's on a slides or something
 
Anonymous
I don't see the use of this inside a real code
 
@Patrick Don't forget, people will copy/paste code blocks (or write verbatim if it's in printed form) without thinking at all.
 
Heh. A nice example of why units should go together. This is from Google's CacheBuilder: expireAfterWrite(600, TimeUnit.SECONDS). I wanted to extract the 600 into a constant, but then I'd have to name it something like SECONDS_TO_EXPIRY, which will be wrong the minute someone changes the TimeUnit in the actual method call. Bleh…
@Patrick @Patrick Don't forget, people will copy/paste code blocks (or write verbatim if it's in printed form) without thinking at all.
 
1:06 PM
@samayo it's for the code blocks in my book
@salathe that's what I am worried about ^^
i guess I have to find a way to put it outside on the block / separate it from the code
 
Then you can try an html comment instead, probably.
 
Anonymous
I use mine like this I think it's okay
 
@mega6382 that would still introduce bugs when you have redirects etc
 
Anonymous
@Patrick Can you send me a copy of the book?
 
Anonymous
if possible
 
1:10 PM
@Patrick Yeah, to me too, if possible.
 
@Patrick Me, too. Please. And one for my wife.
 
Anonymous
@Gordon Is your wife a geek or tech savvy?
 
Anonymous
My gf only knows how to power on/off my laptop :/
 
no, why? I just thought we were asking for free books
 
hahahha
 
Anonymous
1:19 PM
what!? laravel has a patreon page patreon.com/taylorotwell ...
 
Anonymous
I thought it was a profitable business
 
@Patrick Drop the strict?
Who's the target audience?
 
@salathe @samayo @Gordon better?
 
How simple should simple be?
 
1:22 PM
@samayo Now be honest. If you can either make money or make more money. What would you do?
 
Is the audience going to understand why they have typed that?
 
@PeeHaa Depends how much you're willing to sell your soul
 
@Leigh yeah it's explained
 
:thumbsup:
 
at least I think so :D
 
1:22 PM
@Jimbo Anything
It's just a soul bro :P
 
I think I remember we already had this discussion :P
 
:D
 
Anonymous
@PeeHaa good one :)
 
@Patrick much :)
 
@Patrick I never liked Hello World in PHP because the simplest would be to just write Hello World into the file without the <?php or echo, let alone the declare
 
1:26 PM
I think the stars are very... php... today
 
the declare would confuse the hell outta me if I was a a newbie. actually it still does today :D
 
@Gordon there is an info block right below explaining it
 
@Gordon automatically casted without strict types
 
8
A: Write a program that uses all printable non-alphanumeric ASCII symbols

LeighPHP, 32 chars Probably a bit of a troll, this PHP program is also a QUINE, and uses all symbols in the exact order they are listed. !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ Executed from the command line, the output will simply be the contents of the file, as there is no <?php to invoke the interpret...

 
very much this ^
 
Anonymous
1:30 PM
@Patrick @Gordon has a point. If the book is for newbies you should leave that out, actually I would leave that out unless the chapter is teaching about Scalar Type Declarations
 
I would remove it from the language :P
 
@samayo it's used for every file and explained. Don't see the problem
 
I have never used declare() even once. :)
 
I constantly forget to declare that..
 
1:38 PM
@mega6382 I have… whenever I tried doing something with ticks
 
Anonymous
hehe
 
Anonymous
I have ... whenever I tried to file my taxes :p
 
you live in switzerland. you dont pay taxes
it all goes to offshore bank accounts
 
Anonymous
I pay 1,400.- each month
 
Brits, or other Europeans: is BST = GMT +1, or GMT?
 
1:41 PM
what is BST? Bullshit Time?
 
british summer tiime? that's what google says
I thought British time was GMT, but this site says GMT+1
 
Everyone knows it's always foggy and raining in britain. They dont have a summer.
 
working with a British vendor, trying to figure out what time this meeting is
 
@Tiffany wat
It's called greenwich mean time for a reason I would assume :P
 
dude from vendor used 15:00 BST
 
1:43 PM
!!? 1 bst in gmt
 
Search for "1 bst in gmt -site:w3schools.com" (https://www.google.com/search?q=1+bst+in+gmt+-site%3Aw3schools.com&lr=lang_en)
• BST to GMT Converter - Convert British Time to Gr… - Nov29; 1 am BST; 2 am BST; 3 am BST; 4 am BST; 5 am BST; 6 am BST; 7 am BST; 8 am BST; 9 am BST; 10… (https://www.worldtimebuddy.com/bst-to-gmt-converter)
• BST to GMT (British Summer Time to Greenwich Mean… - What time is it in BST and GMT Time Zones now? Current British (UK) Time. 12 6 9 3 1 7 10 4 2 8 5 1… (https://greenwichmeantime.com/to/bst/to-gmt/)
 
bad jeeves
Do it in google, it converts for you
 
British summer. heh, that's hilarious… next @PeeHaa comes around and claims the dutch can play soccer… and then I'll claim germans are funny.
 
I contacted vendor, he confirmed it's 15:00 BST, which is 8AM here.
Outlook is being dumb. It says the meeting is at 9AM.
 
Seriously I hate all you germans
 
1:47 PM
@Gordon You are funny because you're German
@PeeHaa don't illude yourself - you are just on sunken German land
 
Ja fuhrer
 
on a different note, anyone on discord that can do me a favor?
 
you are all just vassal states…
 
I need to test a mic out... and not sure where else to test it...
 
Anybody help me out and vote to reopen since I fixed: politics.stackexchange.com/questions/26510/…
 
Wes
1:49 PM
mamma mia
 
o/
 
the youtube is getting more and more fucked - according to the, this video was so disgusting, that it had to be put into "restricted mode"
 
@Facebook Who are you and why are you spamming random murican politics crap in here?
 
It's Facebook
 
1 message moved to Trash can
 
1:51 PM
@Tiffany Can do
 
... then again, then recently placed a video, where guy taught his pug to give a nazi salute (in order to prove his gf, that said pug is not cute), also in that "restricted mode"
 
I remember that
 
php-7.1.12-4.el7.remi - SegFault – #75610
 

« first day (2603 days earlier)      last day (2345 days later) »