« first day (2529 days earlier)      last day (2424 days later) » 

3:00 PM
!!dave
 
@tereško so... my hc char just dies, while I was alt tabbing to read doc on item filter. fml
 
@PeeHaa How can I make that work again? ^
 
@FélixGagnon-Grenier :D
 
alias and sayf @kelunik
 
I have no idea what I'm doing.
 
3:01 PM
let's start over again!
 
btw, you might listen to this in background, @FélixGagnon-Grenier: youtube.com/watch?v=pxSvgUsC_3g
 
!!alias dave sayf @DaveRandom should work on the process wrapper.
 
Command '!!dave' aliased to '!!sayf @‌DaveRandom should work on the process wrapper.'
 
!!dave
 
@‌DaveRandom should work on the process wrapper.
 
3:02 PM
oh nice!
 
Does that ping now?
 
that had been some time
 
No. :-(
 
... no reply?
 
dupe message prevention I guess
 
3:04 PM
meh
 
7 messages moved to Trash
 
Anonymous
?
 
Still doesn't ping.
 
Anonymous
Probably your fault.
 
@Danack :)
 
3:04 PM
chats full of mods
cmon guys give me mod
 
@JoeWatkins Reping
 
6 messages moved to Trash
 
Hi everyone
Isn't there a wordpress specifict chatroom?
 
Anonymous
!!wordpress
 
Anonymous
3:07 PM
^ @R1ddler :)
 
Anonymous
oh, that's not a chatroom. TIL
 
I don't see one. That's the stack exchange
 
Anonymous
Just ask your Q, someone may be able to help you :)
 
@Trowski That'd be fine, but depending on how long it will take them to arrive, I may need to give you a different address
 
3:08 PM
alright, I need help with creating a shortcode
in wordpress
i have seen some simple examples online and given it a try, but I don't see anything on the page where I apply the shortcode.
The function that I am using to create the shortcode is using hooks
I need to display a page for creation of requests which are using advanced custom fields
 
@kelunik Still have plenty.
@Dereleased A week ok?
 
@Trowski yes, as long as they arrive on or before 2017-09-29
 
@R1ddler there are a couple of wordpress rooms: chat.stackexchange.com/…
 
otherwise I can give you a different address
 
@Dereleased Ok, shouldn't be a problem.
 
3:12 PM
@Trowski excellent, thank you sir
 
Hi @Danack those doesn't seem to be official rooms tho
thanks anyway :)
 
@R1ddler also, you might like to practice how you ask for help. rurounijones.github.io/blog/2009/03/17/… Just saying "I can't do something" isn't going to get you a concise answer.
 
@Danack I wasn't sure this was the right place to ask, that's why I didn't ask my question right away.
 
Even if they're not 'official', you're still more likely to get an answer in a room where people do Wordpress....
 
@JayIsTooCommon encouraged me to ask, and I thought I'd give some info on my question.
 
3:14 PM
oh don't get me wrong -it's fine to ask...
 
evenings o/
 
@Danack I didn't want to ask a question in a wrong room. This is my first time in the chats
 
131
Q: Why would boiling milk in an electric kettle break the kettle?

SnyperBunnyOr: is it safe for the electric kettle's integrity and overall functionality to be used to boil non-water liquids such as milk? *note: I know milk may burn onto the element and be difficult to clean out after, or it may foam up and out of the spout and make a mess. For the purpose of this questi...

 
@Saitama Yes. The parent was stupid enough
:P
 
:D
 
3:23 PM
@Dereleased Thanks for the posting.
 
@Saitama In hotels in Australia, because of the large number of Asian visitors, the kettles quite often have a sign saying "not for cooking rice".
 
lol
 
hah
Is the openID request flow thing that Jeeves uses, available as a standalone lib?
 
@Allenph you're welcome. Also I just got an email from CreditKarma, they're apparently hiring and offering relo to NC, might check them out
 
Does a MEDIUMTEXT field in MySQL always require 64kB of storage? Is it 'better' to use a varchar with length set to an appropriate value? If so, how can you do that with Phinx?
 
3:32 PM
@Dereleased My girlfriend just started her last year of college. I'm stuck here for now. :/
 
Anonymous
@Danack phinx has a string type for varchar
 
Thanks, though.
 
@Danack in recent versions of MySQL, my understanding is that *TEXT essentially acts like VARCHAR(N) now, just with fixed sizes
So it will always be (a couple bytes to indicate length) + (length of what is stored)
it won't allocate 64kb chunks for every column in a row
 
 ->addColumn('site', 'string') . // stored as var char
 ->addColumn('url', 'string', ['limit' => MysqlAdapter::TEXT_REGULAR])// stored as MEDIUMTEXT
@JayIsTooCommon yeah, but setting the length seems to make it be a medium text.
 
I was going to ask here...what happens in 2038 to MySQL timestamps?
 
3:33 PM
@Dereleased presumably with a legacy flag for people who always want to have the full 64kB allocated always?
 
well mysql datetimes can go to 9999-12-31
unix timestamps are integer dependent, and not really their native format, as far as I know
so, if you stored the date in a 32 bit signed int (i.e. int), then you'll have whatever problems are coming to you
 
Anonymous
hmm yeah, seems to be intended
 
@Danack I don't know, here's what I'm going off: dev.mysql.com/doc/refman/5.7/en/…
 
@Gordon Thanks All!!!
 
3:35 PM
well, actually, I was going off my memory of that link
 
e venin
 
@Allenph Basically, if you just use DATETIME as your timestamp field, you should be fine long after 100 generations have lived and died
 
@Danack I think VARCHAR and MEDIUMTEXT are pretty equivalent regarding that, they both use a two byte length prefix IIRC.
 
If you try to shoehorn UNIX timestamps in, then it will depend on (a) the size of the field you chose, and (b) whatever is done with the UNIX timestamp standard
@kelunik you do recall correctly
 
ruh-oh
->addColumn('size_tiny', 'string', ['limit' => MysqlAdapter::TEXT_TINY])
->addColumn('size_regular', 'string', ['limit' => MysqlAdapter::TEXT_REGULAR])
->addColumn('size_medium', 'string', ['limit' => MysqlAdapter::TEXT_MEDIUM])
->addColumn('size_long', 'string', ['limit' => MysqlAdapter::TEXT_LONG])
gives:
  `size_tiny` varchar(255) NOT NULL,
  `size_regular` mediumtext NOT NULL,
  `size_medium` longtext NOT NULL,
  `size_long` longtext NOT NULL,
 
3:40 PM
should be TINYTEXT, TEXT, MEDIUMTEXT, LONGTEXT, yeah?
 
yeah.........
 
what tool is this?
 
ignore the cake bit.....they only took over maintaining it recently.
 
I'll have to look at that later
 
Anonymous
it's a good tool, though Dan's issue is odd
 
3:46 PM
I think maybe text != string....
string lengths are guaranteed to store that many characters, each of which might be multiple bytes.
text lengths are byte lengths.
 
Anonymous
so if you use type 'text' instead, what do you get?
 
what I was expecting -
 
@NikiC of course. 20s build time feels nice, though :)
 
@Dereleased What if my application needs to be designed to be fine long after 101 generations have lived and died?
 
Can I share a link of a question here? It's php-related
 
3:53 PM
NO
 
@WillParky93 don't troll.
 
But you may.
Sorry Danack
 
It is a stackoverflow question
 
Ye post it frendo
 
3:54 PM
@Allenph probably still ok, unless you get some incredibly long-tailed generations
 
@Dereleased Are you sure it's not going to be Y2K for real?
 
@R1ddler Don't use luck relative urls
 
I'm sorry for my ignorance but what are luck relative urls?
 
Always use full absolute urls or domain relative ones
or protocol relative ones
135
A: Absolute vs relative URLs

PeeHaaShould I use absolute or relative URLs? If by absolute URLs you mean URLs including scheme (e.g. http / https) and the hostname (e.g. yourdomain.com) don't ever do that (for local resources) because it will be terrible to maintain and debug. Let's say you have used absolute URL everywhere in yo...

 
Can you link me to a page that explains all those? Or maybe point me to a way to change what I'm currently using
 
3:57 PM
When you use URLs like foo/bar.html and you move the file / change the url it will break
 
I'll take some time to go thru this link to understand. Thanks for sharing
 
@R1ddler
Whoops
You say on your post that indexpage/weather/location.php is the location in your url
indexpage.php?
 
I mean I even moved the file to the same folder as the index page and I still get the same error.
indexpage is the homepage of wordpress
 
@Allenph I love hearing everyone say Y2K was a hoax, or didn't happen. A lot of people put a lot of effort into making sure that it didn't happen
 
@JeevesPeople could some body locate me as to where all the SO openID auth is handled in Jeeves codebase?
 
4:00 PM
@Dereleased Really? Didn't know that. Before my time. I was like 4.
 
I wasn't even born
 
oh, another repo, <3 @PeeHaa
 
the homepage is the name of the website, e.g. stackoverflow.com. That's where the form resides, now when I hit submit it leads me to stackoverflow.com/weather/location.php and I get "
Oops! That page can’t be found." @WillParky93 @PeeHaa
Maybe I have an error in the code?
 
4:14 PM
Am I still online?
 
Sorry for being dumb, but I do have to maintain some state like send the cookies with further requests, (if any?) after step 3 and 5 respectively? or is it that I have to just send the requests for login, and no state persistence after the afore mentioned steps? github.com/Room-11/Jeeves/wiki/OpenID-Request-Flow
 
@Danack - Thanks for looking at my example. The code in the example uses the Insertion Sort Variant instead of Quicksort (I am using PHP 7.0.x)
 
Although you probably don't need to connect to a room in your case
 
This is showing what the $a-$b pairs, 12 of them, do - pastebin.com/CJ42fxPh
and also, it is possible to see what the code is doing by adding "echo" and "var_dump" at certain or needed points in the code
 
okay, so what I'm actually trying to do is creating another interface for this chat (don't ask me why) and for that I figured out I'd have to log in the user, and openid was probably the choice since I've seen that Jeeves uses it.
@PeeHaa I'm following that link itself :P
 
4:26 PM
I was not able to do the debugging because I did not have the xDebug installed (added to NetBeans); I thought it was there by default, but it looks like it does not come with that (NetBeans, Xampp; it needs to be added / installed)
 
Anonymous
Why don't you just use stackChat?
 
evening 11
 
I'm in doubt if the rules are written in a browser perspective, or a pragmatic aspect..
 
Insertion Sort Variant is more efficient for small arrays, like 6-15 elements sized arrays
 
Anonymous
seano
 
4:27 PM
Any Londoners? Looking for things to do this week while I'm training
 
@Sean meh, amphp. I'm not much comfortable with amphp
 
and also the code is not correct according to the php documentation, it should be returning >0, <0, and 0; the break statements are not reachable too, so this part is also not correct
 
\o
 
posted on September 18, 2017 by CommitStrip

 
@Feeds I want astalavista back :P
 
4:39 PM
kazzaa cracks with their whacky music
and multicolored ASCII based glory
 
@Sean have you ever used napster?
 
@PeeHaa I haven't used napster since it was, well, napster -- free p2p
 
I think that is actually before your time :P @Sean
@Dereleased yeah but we are old
:D
 
I remember finding weird al music, and being so excited that in just 3-6 short hours, upwards of 5 songs could be mine!
 
before my time?
How old do you think I am :P
ooh wait
napster yea out by like half a year
 
4:45 PM
well, how old are you?
 
@Sean You are 2 years older then @JayIsTooCommon
So 14
:p
 
The double burn
 
:D
 
Damn efficient programmers
 
> wouldnt it be epic to have argon2id in the next version
Insta-distrust of whatever he is saying
 
4:51 PM
user image
7
apropos of nothing.
 
@PeeHaa wut
Remember when we all were promised that V for Vendetta was going to be an action movie, and then it was 2 fight scenese, 2 explosions, and 2 hours of exposition?
 
@PeeHaa that has did get write p good--vv good
"epic"
 
@Dereleased Are you hating on V for Vendetta in here?
 
@DaveRandom Later is now, right?
 
People sometimes underestimate how much a Lucio has to go through to keep his teammates alive? I shared myself during the last 30 seconds. xboxdvr.com/gamer/TandemMeerkat62/video/36639069 (relevant part is the last 1.2 mins)
 
5:31 PM
@Allenph not really
 
6:05 PM
@Danack ...everything ok buddy?
 
47 mins ago, by kelunik
@DaveRandom Later is now, right?
reminded me from that.
Also ...... kind of getting fed up of my cow-orkers.
 
@Danack I feel you
well really just 1 in particular
I am exercising great patience, as I am expecting an offer today
my resignation is sitting in drafts, just have to populate the "To:" field and hit send
 
6:23 PM
@kelunik looking at it now
 
@DaveRandom \o/
 
Wes
@Dereleased did you burn the tires yet
 
@Wes They are in a secret location awaiting burnination
of course, it's a dozen tires, so it's mostly just a confusing location -- people see it, puzzle briefly, and then continue on, preferring it to be someone else's problem
 
Wes
:B
 
@Dereleased I'm going to guess... stacked under your desk
 
6:30 PM
actually just sitting in the middle of the room with a chair perched on top of them. The chair was meant to hide what was under it, but as the stack is significantly higher than the chair ever was, again, it just makes people not want to pay attention to it
lest they be asked to deal with it in some way
everyone just ignores it
 
Wes
in unrelated news. i still feel like shit
 
sleep baby boy, sleep
 
Anonymous
!!wotd
 
The word of the day is: timeout
 
Is the repository pattern just implementing the use of DICs for aggregates and domain objects?
 
6:53 PM
I have no idea who will miss you
 
I was reading an article written by someone from Slack who said they switched to HHVM and couldn't be happier
 
yeah that's mostly a rehash of bad things in php
 
but they go on to praise Hack and HHVM
and how other companies have switched to it and noticed "a significant performance increase"
 
Yes based on the rehash of bad things in php :P
 
oh, thought you mean the article was a rehash of the bad things in php
 
6:58 PM
@Tiffany 99% of the projects don't need that ;)
 
I just noticed... there's an inconsistency in making links in this article...
so for accessibility, it's preferable to make text describing what the link is instead of saying "for such-and-such, click here"
> Facebook reports an 11.6x improvement in CPU efficiency over the PHP interpreter, and Wikipedia reports a 6x improvement.
 
Which may be true (probably not anymore but who knows), but fact is that most people are not facebook nor wikipedia :-)
 
errr.. didn't mean to italicize, but that's what the text they made hyperlinks... why make "reports" in regards to Facebook the link, then make "Wikipedia" the other link?
 
@Tiffany lol OCD much
 
why not just make "Facebook reports" a link, then "Wikipedia reports" another link
@PeeHaa with accessibility, fuck yes
 
7:02 PM
:P
 
@kelunik do you have a working build env for VC14/VC15?
 
@DaveRandom I don't think so, I just have a crappy Windows VM.
 
psa resources are poop
 
@kelunik I'm pretty sure this will do it but I don't have time to build and test right now github.com/amphp/windows-process-wrapper/compare/…
@Wes might be able to help you out
I really gotta go do stuff right now, sorry :-/
will sort it tomorrow if you can't get it done tonight
/out
 
@bwoebi is class Clone as impossible as class List?
 
7:23 PM
I feel like HHVM is going to quickly become irrelevant and that's a shame
 
30 mins ago, by PeeHaa
RIP HHVM http://hhvm.com/blog/2017/09/18/the-future-of-hhvm.html
 
@PeeHaa was just typing that you had did that once already
 
@PeeHaa same
 
;-)
 
time for me to reimplement PHP I guess
 
7:25 PM
Are you sure it's not *horror voice* PHP THAT WILL BECOME IRRELEVANT???
dun dun duuuuuunnnn!
 
heh
unfortunately, terrible people such as myself have unjustly extended PHP's lease of life
 
You awful person with your void return types
 
cough @LeviMorrison ==> lambda cough
:P
 
@Dereleased sometimes, if you repeatedly pull someones leg hard enough, their leg may come off. aka don't call people awful, please, unless you're doing it in person and you've already bought them a drink.
 
@Danack that is fair. @Andrea I really hope that was taken purely in jest, as it was intended. Granted I don't know you, but I'm a fan of your work, and you're fun to converse with =)
 
7:31 PM
on a related note, I love open source development:
Another day doing open source.. I think we've reached a new low here, but it's all about how you decide to take it.… https://twitter.com/i/web/status/905679164090589185
 
Anonymous
7:44 PM
that's how i feel about everything as a dev
 
@PeeHaa well ... that's an innovative way to keep running the legacy code - fork the language
 
@PeeHaa it's the same degree of possible, yes.
 
@bwoebi k tnx :(
 
@PeeHaa that means … if we are going to allow any keywords as class names, List and clone would be part of these.
 
@bwoebi Don't say it like I am going to live by that time
So disappointing :P
 
8:01 PM
why I don't promise people release dates for open source things: it took 40 days to release this https://github.com/faye/websocket-driver-node/commit/1325828a9e8b5e29c7b4758995efdb84703919ad
(have to read the whole thread to get the value of it, the single tweet isn't as entertaining)
 
24 hours to run tests??
 
no idea
 
8:26 PM
To be fair I've been working on my unreleased open source project for 3yrs and now I don't even know what it was originally being made for. =o\
 
:D
 
(not the feature, the explanation for the operator choice)
 
I am a berries kind of guy :-)
 
my code compiled without an error, but I have a feeling it won't work how I'm intending it to..
I could always say fuck it, ship it, but I'm fixing a 10+ year old bug
 
It's never too late to start writing tests ;-)
 
8:36 PM
ask @DaveRandom about this code... it's long gone for that
 
:P
 
(it's not in PHP)
hmm, how would I write tests in PL/SQL? huh, I guess it is a thing
I need to read something on TDD
I get the importance of it, and kind of understand how to do it, but I don't understand it well enough to implement it in my own work. Or convert code to follow TDD.
 
You don't have to follow tdd to write tests
 
I would edit my messages but I'm past the time limit. I need to read something on how to write tests. I get the importance of it, and kind of understand how to do it, but I don't understand it well enough to implement tests in my own work, or write tests for someone else's code.
 
Best advice I can offer is just start trying to write them
 
8:51 PM
I agree with PeeHaa. If you're willing to take up something completely new you need to experience for yourself just like with anything else. Just start writing them. I'm sure you can find tutorials or at least blog posts on them.
Maybe checkout what phpunit.de is about
 
9:44 PM
Hello. This is slightly offtopic, so I'm sorry. Anyway, I've had quite a big time off from working with PHP and I'm going back to work as a PHP developer again in a few weeks. Do you recommend any book specifically or articles or something, to remind myself of best practices of writing PHP code (and MVC, OOP, design patterns for web applications etc.)?
 
The best practices of writing PHP code is the same as other languages
 
yeah I get that. I had over 3 years of commercial experience with PHP before taking time off, I'm just slightly nervous I might make some stupid mistakes or something after I join the company
 
PHP is a stupid mistake
But, we love it
Anyway, so long as you've had some experience with PHP (and especially with other languages), you'll do fine.
 
maybe I should just take some new hottest php framework now to learn and write some simple website, run phpstorm, debug stuff etc etc.
 
You shouldn't do that...
 
9:52 PM
why?
i haven't touched php in quite a long time
 
If you are up for reading some code github.com/CodeCollab/Demo
Look at the different plugins there too
 
I see so many jobs that want PHP developers, but then want some framework experience :/
and I know I should ignore them, but it seems like 9/10 jobs I look at want framework experience
 
If you know PHP well enough, you can pick up any framework
 
I'm not that confident in my ability with PHP
 
@IROEGBU Super! I think that's what I wanted.
 
9:56 PM
But, if you know the framework too well, you might end up not know enough PHP to switch to another framework (or working without one)
 
@good_evening I'd suggest looking at the Slim framework. It does the least amount of stuff....which makes it the nicest to use.
 
I've worked with a few frameworks
yeah I worked with Slim too
for 2 or 3 projects
 
The new version is compatible with "psr-7" which a lot of libraries are using to be able to plug together different bits, to do with handling HTTP requests, without having to have a common framework to rule them all
 
@Danack is it anything like Silex?
 
they have like 3 letters in common.
 
9:59 PM
I think I'll go through no-framework-tutorial and maybe create some site for fun with Slim or maybe Laravel (never worked with it), and I think I'll be fine, what do you think?
I was off from php for like a year btw
except just for the task they gave me i did in one evening before interviews
 
@good_evening You'll either really like Laravel, or not. Nothing in between. I'd suggest also checking out github.com/rdlowrey/auryn - github.com/Danack/SlimAurynInvoker
 
@Danack why are you suggesting those 2? it's all related to dependency injections it seems
 
Because they make writing code that works be much easier.
 
ok cool. thanks a lot, will definitely check it out
 
Wes
morn
@DaveRandom yea i can compile [neo kung-fu.jpg]
 

« first day (2529 days earlier)      last day (2424 days later) »