« first day (1965 days earlier)      last day (3209 days later) » 

Wes
Wes
00:17
@PeeHaa was it you suggesting to have more vertical lines in phpstorm? ie 80 cols (suggested) and 120 (max)?
user5020521
what do you think about using sprintf to keep leading zero number?
user5020521
i.e. if I had 00185 I might either single/double quote it to a string or
user5020521
sprintf('%03d85');
Wes
Wes
str_pad
@kelunik nice
01:17
@PeeHaa ElePHPants Anonymous
01:31
@rdlowrey … and the girlfriend stealing the other half of the time? :-)
Wes
Wes
attempting to finalize the shapes
unsure about the proboscis
@Wes that violetish brown is supposed to be a mix of red, grey and violet/blue, right?
Wes
Wes
nope, don't look at the colors, it's just any colors
but … the colors are nice :-(
Wes
Wes
including fluo lime eyes :P
01:38
It definitely is one of your better attempts :-)
the tusks could be thicker
Wes
Wes
others were kinda sketches
@Wes nah, also concept wise
Wes
Wes
this is the actual shapes, but unsure about the style it should have so just trying it out
@bwoebi how? :P
@Wes I mean it's better concept wise … dunno … just my opinion, can't really describe why :-/
Wes
Wes
01:41
it's just the sharp lines :D
@Wes unicolor was better
Wes
Wes
seriously :P
a third shade is needed otherwise it just looks like a stroke
the contrasts between the lights and the darker parts are too stark
Wes
Wes
01:55
look it smaller:
same
Wes
Wes
it's not too bad but colors can be improved
it looks like you'd tried to play with effects
Wes
Wes
you are saying that you don't like the gradients and you would prefer solid colors only instead?
@Wes Just saying your particular gradient isn't fine … if you look at the trunk and the origin of the tusks, there's a thin dark violetish brown line between the black contour and the gradient … this contrast is particularly problematic IMO. … Also try to have more fluid transitions between the gradient and the dark background
Wes
Wes
02:02
well, i made it in 2 minutes just to give you an idea
aaaaaaaand inkscape crashed
congrats
Wes
Wes
guys if you want to ask someone else too to attempt some logos feel free to do it... i hope you are not waiting for me to finish it :D this is actually hard for my skills, never did something similar before
Wes
Wes
02:34
@bwoebi last attempt for tonight
 
1 hour later…
03:58
@Danack @Andrea @LeviMorrison wiki.php.net/rfc/strict_return_types first draft; any wording suggestions?
4
Bah, I hate BGP networking blurps… traffic to US being blackholed :-x … couldn't reach SE for about 10 mins :-(
04:13
I'm shocked that you can't specify a line delimiter for fputcsv.. would be really helpful.
04:44
morning guys!!
o/
gonna create the ini file... phew
haven't slept nicely for 3 days... had a peaceful sleep today...
that's some good luck
I have friends over from Canada and Lithuania so I'm slightly beered
hmmm. those canada guys must be lost or something :p
04:57
:p not really
and not guys
isn't guys everyone?
this theme is pretty cool for sublime text equinusocio.github.io/material-theme
o/
hello all
04:58
@FélixGagnon-Grenier yeah it is
@HiDayurieDave 10.20.30.38 is a private IP range.
It's not accessible outside the network it's on.
It's local IP address
@Ekin I don't understand your comment then :p
@HiDayurieDave yeah, so others can't access it unless they are part of that IP network.
05:02
@FélixGagnon-Grenier that's okay, me neither :p
Yes, I'm in a part of that IP, but I tried to play but can't
beer ftw :) I'll pour myself some more wine, maybe I'll understand
@HiDayurieDave Since you are omitting the protocol scheme you need to be sure it's using the correct one. Access it directing using http:// or https:// as the scheme. My guess is you're using it on an https page and that forces the file to be accessed via https which that IP may not be supporting.
@DejanMarjanovic does the backlog server have PHP7 support?
OMG.......... INSTALLED PTHREADS SUCCESSFULLY!!!!!!!!!!!!!!!!!!!!!!!!! :'-)
Wes
Wes
05:25
congrats
this thing runs on the same energy source we do, pretty interesting.. this is more in detail
wow. am I dreaming?
Wes
Wes
05:46
@crypticツ i like the evil look, he's an angry elephant
check the issue though :P
@FélixGagnon-Grenier github.com/amphp/amphp.github.io/issues/… and scroll. opinions?
@Wes I like the bottom-most yellow eyed one a lot. second comes the green eyed one.
Wes
Wes
i like that one as well, golden eyes work well :P
yeah. makes it look badass :)
Wes
Wes
06:03
robophant
do you have a high res of that? it would make a fine wallpaper
Wes
Wes
i do it's vectors :P
i'm starting to actually like it though
regardless of the colors i think shapes are ok, need to be refined but they mostly work
Wes
Wes
06:06
hey joe \o
just eyes should be a bit lower though, but apart from that... i'm surprised that i could come up with something decent :P
@Wes I vote for the half-skinned t-800 version of that
Wes
Wes
ha
why is it so angry and or evil ?
06:16
because it's been sent back from the future to trample john conner
Wes
Wes
because wants to terminate Node.js
also, is it winking at me ?
I don't think you should have it winking ...
Wes
Wes
winking? :P it's a t-800 elephpantinator
but the only happend when half the face was torn off
oh oh I see
is early ...
Wes
Wes
Sarah ConNode is tough to beat
06:20
what's this for anyway ? PHP 8 ?
Wes
Wes
the one i prefer more now is the one with cyan eyes. very TRON-ish :P
^ +1
I like the terminator one ...
teardrop tattoo for node would be funny ...
Wes
Wes
lol
@Wes awsome =D
morning @Joe :-)
needs the helmet.. and Bit
Wes
Wes
:P i meant the more recent tron :D
@Wes IMHO dark/light side split works best when there's an actual differnce between sides … like something "normal" on bright and something evil on dark side
@Wes that needed the helmet and Bit too ;)
Wes
Wes
@PaulCrovella eheh, yeah
is there a way to resize images in markdown result in github? preview is too big and logos aren't meant to be big
06:37
@Wes no that doesn't exists. there is only one tron. and only one matrix.
Wes
Wes
i only watched it because of daft and olivia wilde.
but the look is good, plot was stupid
@FélixGagnon-Grenier what if the world outside the matrix was actually … a matrix? built by the machines to fool you.
s/the machines/our brain
@Gordon we wouldn't know would we?
Wes
Wes
@bwoebi i don't know, for me they are all good and worth to complete. the half terminator one is a bit too much of a reference, but sides can be different yes
06:43
In philosophy, the brain in a vat (alternately known as brain in a jar) is a scenario used in a variety of thought experiments intended to draw out certain features of our ideas of knowledge, reality, truth, mind, consciousness and meaning. It is an updated version of René Descartes' Evil Demon thought experiment originated by Gilbert Harman. Common to many science fiction stories, it outlines a scenario in which a mad scientist, machine, or other entity might remove a person's brain from the body, suspend it in a vat of life-sustaining liquid, and connect its neurons by wires to a supercomputer...
Let “P” stand for any belief or claim about the external world, say, that snow is white.

If I know that P, then I know that I am not a brain in a vat
I do not know that I am not a brain in a vat
Thus, I do not know that P.
Wes
Wes
forgot to ask rdlowrey since he was here today
user924016
Mornings
@FélixGagnon-Grenier you know, I wasn't into tron legacy at first either (aside from the soundtrack and olivia wilde), but it grew on me. There's nothing particularly bad about it, it's just a fun bit of sci-fi. Nothing was ever going to be a new version of the original.. hell, the original version wouldn't be made today - technology and culture is too different
@Gordon kinda related, this has interesting views on when will computer hardware match the human brain, from '98
07:01
@Ekin there is another interesing paper at waitbutwhy.com/2015/01/… suggesting that we are the verge of creating superintelligent AIs.
3
I think we take ai way too much seriously because terminator.
mfw when my thought is literally blown to pieces in the article
07:18
Good morning and happy pre-Rebecca day
@FélixGagnon-Grenier Alive and kicking again 'eh?
hey there @Epodax :)
yup, still alive and somewhat kickin' :p
it's been some time, I guess the job was so very time consuming?
Aye :P
Been some rather anoying times at the job
Servers not behaving like I want them to
that they will. I've been starting to understand some things of my own about servers, mainly through having to put up and maintain em through aws. they do tend to behave exactly as well bad as I instruct them
07:29
Sometimes I have a feeling that my servers behave while I'm at working, biding their time to strike, and the second i leave work they start messing around.
:p
I blame the last git pull
just kidding. users tend to find holes mostly when we're not around, if I may
Yea, but our servers are just for website / shop
They don't have access to anything else.
But for some reason, the servers gets overloaded at random times, EXCEPT when I'm at work.
I had one server for many years that suffered from separation anxiety. It would work perfectly fine for months on end, but if I took time off it'd shit its pants.
@Epodax they are probably throwing parties when you are not around
@Patrick I wouldn't be surprised, I just wish they'd invite me every now and then, I'm not that clingy :D
hehe. I think hardware have it's own idea on what is a party animal :)
lol they went to 5
07:43
ok. I think I just got to the limit. Eyes are starting to close by themselves. cya guys
night'
Laters @FélixGagnon-Grenier
[Thu Mar 3 12:53:11 2016] PHP Fatal error: The cli-server SAPI is not supported by pthreads in Unknown on line 0 well ... does pthreads really does not support cli-server or is it a error because I built PHP with custom options ??
cli only
oh okay.. :(
07:57
moin @bwoebi (was dropping mrs at work)
morgcnjbhghfc
08:04
@Saitama you shouldn't really be sad about that ... what are you using pthreads for ?
nothing... was just playing around...
this was my code :P :
<?php
/**
*
*/
class node extends Thread
{
	public function run() {
		exec("php -S localhost:8080");
	}
}

$worker = new node();
$worker->start();
$worker->kill();
is pthreads shared ?
yeah!
show me php --ini
kill ?
gourab@Gourab-PC ~/Desktop/pthreads_projects $ php --ini
Configuration File (php.ini) Path: /usr/local/lib
Loaded Configuration File:         /usr/local/lib/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)
08:07
gone, can't use that anymore ...
open ```/usr/local/lib/php.ini``` remove ```extension=pthreads.so```
create ```/usr/local/lib/php-cli.ini``` add ```extension=pthreads.so```
alright...
and saw that kill() was gone in github
DRAGONS
exactly, big hairy fuckin dragons ... it's not coming back ...
gotta take kids to school ... lata ...
later!
morning!
nin'
Issue browser: 1 of 2681
Welp, guess I'm not using SourceTree anytime soon.
Moin 11
user5835902
Hello
user5835902
0
Q: How to load article without page reloading in Yii & Ajax

tryI have an viewing articles from databases and every article view with hole page load. So I would load articles without page reloading, I think this is possible using Ajax but I'm not so strong about it. This is my initial concept like below: Layout: CHtml::link($menu['items'][$itemId]['label']...

user5835902
Help anyone ?
@JoeWatkins so what should I do to kill a thread which runs infinitely??
user5835902
08:45
@Saitama you saw this question ?
I haven't worked with Yii mate.. :(
user5835902
Ohhh I'm sorry
@Wes I was about to suggest it, but @Leigh beat me to it
Morning.
08:47
mrrnng
Wes
Wes
@PeeHaa State: To be discussed. i read it State: It will never happen
o/
We had a discussion here if it should be possible to track how many clicks there are on a specific folder on our local mac server :D Should there be a way to track that? :D
the solarized theme is pretty good in phpstorm!!
user5835902
Anyone there Yii Developer?
user5835902
09:02
if have anyone please review my ask
user5835902
@Gordon you saw my question ?
i bet it's ncurses
user5835902
@Gordon highly appreciated if help
@try I already told you it's rude to ping people
@Saitama tar --help
man tar
@Saitama Not a valid tar command
which one?
@Saitama man tar
09:10
it works tho ...
@Saitama But it's not a tar command
So the bomb would still go off.
ohhh i get it
LOL
user5835902
Ok
@Patrick Pretty sure I already am, and not entirely a bad thing
tar has become much better in the last 10 years or so, tar xf works for most archives
09:18
I trying to compile x-debug for php and got this error ... cant quite understand it gist.github.com/gourabnagDev/f75accddc3e615d0e65d
@MadaraUchiha !!man tar. Ask Jeeves /cc @Saitama
!!man tar
[ tar -- manipulate tape archives ] tar [ bundled-flags <args>] [< file > | < pattern > ...] tar { -c } [ options ] [ files | directories ] tar { -r | -u } -f archive-file [ options ] [ files | directories ] tar { -t | -x } [ options ] [ patterns ]
09:22
thanks @jeeves!
114
Q: What is DROWN and why is it even possible?

SEJPMThere is a new recent attack "on TLS" named "DROWN". I understand that it appears to use bad SSLv2 requests to recover static (certificate) keys. My question is: HOW? How can you recover static encryption or signature keys using SSLv2? Bonus question(s): How can I prevent the attack from app...

@Duikboot You gotta love noobs
09:54
-You are doing too many requests to Google. You need to wait a bit before trying again.
Wat
@Sean office?
@FlorianMargaine Yup
10:04
@Sean yeah. Happens at my office too sometimes.
10:21
Do you think it would be worth adding something to invert instanceof that isn't just wrapping it in !(...)?
hello. what would be a decent way of DI for a class with a static method? should i inject the method directly as a callable?
@dsech Is there a good reason for it being static in the first place?
@Jimbo it is a factory implementation. i assume it was supposed to be static
i mean the static method is returning objects
should i remove the static keyword and pass the factory object then?
static factory method
@dsech a proper factory is never static
@Jimbo that is considered to be an anti-pattern
10:31
@tereško Certainly is
Although tbh I was googling for a good example of why it's considered an anti-pattern
Was going to link that
it's considered an antipattern because of two things:
- externally: it creates tight coupling to a specific class name (same problem that you have with Registry and Singleton)
- internally: it accumulates complexity when project is being expanded
phptherightway used a static method here
http://www.phptherightway.com/pages/Design-Patterns.html#factory
but didn't provide an example how to inject the factory class
technically i could've pass the class name, and do a call_user_func on it, but looks extremely weird
not having a static method does sound better
@dsech "php the right way" is a big advert of Phil Sturgeon-related projects
4
@tereško @Jimbo ty
@tereško fwiw, new Foo also creates coupling to the class name. So that would mean you never new anything in your code, which is often overkill with package level dependencies and VOs. Re Complexity: depends: if you use static factory methods for named constructors I find them okay /cc @Jimbo
10:37
@Gordon Having used a decent injector, I only do actually use new in my factories
@Gordon but for named constructors i still need to directly write the class name, which is what i was trying to avoid
@Jimbo fair. you can do it that way. I don't think it's worth to have 100% decoupled code.
@dsech yes, in that case, don't use it.
@Gordon It's set up automatically for me though so I actually expend either less or the same amount of effort directly injecting things rather than newing them, it's just a type hint instead of a new
@Gordon true, but with new keyword you have a control over where that coupling happens. And you can trace it back. With static factory method is used, it's just another global scope thing. It's not localized.
Not trying to aim for 100% decoupled, or 100% coverage though (although I strive for that subconsciously as I feel it shows I'm taking my work seriously with integrity), but I still think it's the best way :)
10:41
as for "named constructor", if it's done right, it also produces only instance of the class in which it is defined. A static factory method has no such restriction
I only ever use static factory methods as named constructors. anything else would go into dedicated factories with instance methods.
or a dic
just saying that SFM don't have to be an antipattern
static factory method is not a subset of named constructors
what we have here is same distinction as between service locator and DIC
one of those is a proper usecase and the other is a bastardization
Hm. If I'm trying to check that a user has a permission name/slug that doesn't exist, should I InvalidArgumentException out, or just return false?
If anything I would have said a PHP user warning would suffice but I'm unsure on that.
@tereško might be just how I am using the term then. I say "factory" when I mean any object dedicated to creating other objects. And "factory method" when its on the same object that is to be created, e.g. a named constructor. but yeah, that's not the exact GOF definition.
10:50
isn't factory method just a method inside the factory object? :D
@dsech that's why I am using the terms the way I use them, but the GOF definition is somewhat different
In class-based programming, the factory method pattern is a creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created. This is done by creating objects by calling a factory method—either specified in an interface and implemented by child classes, or implemented in a base class and optionally overridden by derived classes—rather than by calling a constructor. == Definition == "Define an interface for creating an object, but let subclasses decide which class to instantiate. The Factory method...
Hi
hipster joe
@JoeWatkins No tests :O
tests I covered in another cast ...
10:54
@dsech It's a static method, in another class, to create another object
@JoeWatkins i dont get what the handler does
MyThing::create($vars); // returns new MyObject
@Gordon read commit message ... this is just illustration, showing various bits that need to be done to introduce new stuff ... for a screencast thing ... which I'm supposed to be doing in an hour ...
@Jimbo that would make it a named ctor only.
@Gordon That's what you guys were talking about above right
10:55
(almost nothing ...)
so factory method pattern is simply the same thing as named constructors?
@Jimbo yes, but the pattern as linked from wikipedia doesnt have to be on the object you create
@dsech no, check the wikipedia article. it has php code
copy op1 to result ... if it's a string ... or throw an exception ... for no reason ... (other than I get to explain that throwing exception from vm handler is different to throwing from ext method/function)
@Gordon So, you could even say it's... a named constructor, from another class ;)
right, ignore my question. didn't read the code examples
10:57
@dsech bottom line is this: don't use it
@dsech bottom line: use it when you need to have multiple ctors for an object
:P
nin'
gmoin
11:24
Hi all, just speculating, I have some sites using ssh keys with passwords on them, when I try to use them filezilla says it can't use them, and if I'd like to convert them to password free. I can say sure or no.. if i say sure it doesn't even ask for a password and just converts it to an ssh key without a password.. WHAT THE HELL?! what's the point of passwords if it can just be removed by filezilla...
So it takes an encrypted SSH private key file and converts it to an unencrypted one without prompting for a password?
yup
And it works?
yep
Well, either filezilla made the security breach of the milennium, or your keyphrased was cached in a keyring or something. :)
11:27
at least it does with this one website. I didn't want to test with the more important sites.
I think the latter is more likely.
That sounds like a possibility
yeah probably it..
mac has a tendency to do that
Aye, not running pageant or something are you?
Oh, yeah Mac definitely stores your keyphrase during your active session.
@Darius what version of Filezilla are you using? Filezilla asks me for my keys password when it tries to access it and I enter it in. You should not be removing the pass from the key.
11:28
no, but I had setup a known_hosts file and it caches the keys
on the mac
let me check
3.15.0.2
posted on March 03, 2016 by nlecointre

/* by Frankie */

@Darius same as me, it could be your version of putty. I know it wasn't prompting me for the pass until I began to use the dev version of putty.
putty 0.67 for me
I'll look at it, but it just blew my mind after messing with it today.
a "what the hell" moment
thanks guys.
Don't use Filezilla
Filezilla sucks
11:32
I use Coda for work, filezilla for large files so i can see the download speeds, what do you use?
cyberduck, and that truck icon are the other ones i've seen that are popular
It stores passwords base64 encoded in the file. I remember people were requesting master password support to encrypt them and the devs said no, saying it was the user's OS' job to protect access to sitemanager.xml
I use vim
easy to avoid the blame that way i guess
Any advice on a replacement for filezilla and sftp connections with ssh keys?
I use Coda for development due to the easy UI , but it never shows download and upload speeds/progress which is annoying.
yes
if you're comfortable using the terminal midnight-commander.org/wiki/Binaries
Or just use DyberCuck
cool.
Anything fun going on? always wonder what you other peeps are working on. regular old websites like business sites or something more complex and time consuming?
haha cyberduck is funny, it prefills all the stuff after it looked in the ssh key directory. i like it.
I'm making an os that's basically hhvm on top of liquirox. Almost all userland programs are written in PHP and it uses composer as it's default package manager. Support for pecl and pear underway.
@littlepootis that sounds pretty cool - got a website/github/docs anywhere?
You do that in spare time as investment/portfolio/recognition or paid work?
it sounds time consuming
always amazed with the developers here doing something crazy like that here
11:48
the fact that you people took me seriously is enough proof that php is
..
as a noob I can be gullible.
haha, in fairness, it does sound like a fun pet project for a webdeveloper that wants to tinker with OS stuff
it would have zero practical use
@littlepootis you wouldnt be the first to write a PHP "OS"
8 mb/s download speeds, feels good, upgraded internet this morning. on wifi.
@crypticツ yeah. Afaik he didn't change his opinion on it
11:54
@Gordon uh... what parts of the os were written in php?
PHP-OS is a "Operating System" which use PHP and Javascript to work.
Write init scripts in php and js. done.
@littlepootis thats why I put OS in quotes
wait, that thing runs off a browser
and uses tables for layout

« first day (1965 days earlier)      last day (3209 days later) »