« first day (2288 days earlier)      last day (2886 days later) » 

09:04
Speaking of routers. Can't find out where to change my damn router password so people cant login once connected with the default. Crazy Vietnamese ISPs
@Fabor wut
Anonymous
mornin
Anonymous
@DaveRandom aye, good point
@Fabor Admin password?or WiFi password?
Morning
09:09
@Fabor Hey you are in vietnam ? It means you are on your way to South Korea ?
I assume he's going to North Korea
seems more his style
admin password
They have their own firmware I think.
@Valentincognito Nope. Tons of S. Koreans here though
@Fabor What's the model?
iGate GW040
!!remind sausages at Friday 09:40:00
09:16
Reminder set.
Need a voltage transformer too, crazy house electric wont charge my laptop and exploded a lightbulb yesterday
Alohaa!
!!friday
@Fabor What's under "Management" in your router admin panel?
09:28
Happy Friday everyone :)
Happy Friday!
Guys, which is quicker
if (0 === count($value)) {
or
if ([] === $value) {
!!github status
good: Everything operating normally as of 2017-01-13T16:55:51Z
damn
Anonymous
09:33
@OliverTappin whatever the result, former reversed for readability.
@OliverTappin The two are not the same
I hate yoda conditions so much
Haha, me too, but we're forced to use them
If we assume $value is always an array as well
Anonymous
wat
Also in a sane codebase you can just do if (!$value) because you know it's an array, but that may just be me
09:34
@MadaraUchiha You shit.
Anonymous
yeah shit you @MadaraUchiha
@Trucy Why, I don't know what you mean 😃
@TobiasGies how are they not the same?
@DaveRandom DNS
@PeeHaa I always use empty() personally because it's more expressive
09:34
Also, don't be jerks, star it, spread the word :D
@OliverTappin why not if (empty($value))
lol nice timing chris :P
Isn't the fact we're not using a function make it less expensive?
So what?
@PeeHaa Actually did some work on it last night, in the sense that I reminded myself what needs to be done
09:35
You don't rewrite all your loops and functions into goto statements do you?
i think the performance difference is negligible
which reminded me why I haven't done it yet: because it's a huge pita
not saying I won't do it, just that it's not a 5 minute job
Why doesn't it cache btw?
09:37
Of course it's negligible, but if you have a codebase that has 100,000 empty() statements, which, if done using [] from the beginning, I guess it would make a small difference
Somewhat unrelated but kinda on the topic
gitamp keeps crashing a lot on dns errors right now :(
i would prefer to work with code that is easy to read and runs 2 ms slower then a codebase that is filled with "optimizations"
although I didn't write basically any of that code
I'd say it's still easy to read
09:38
In 2017, optimizations doesn't mean anything anymore
@MadaraUchiha imgur.com/a/CTrF7
@DaveRandom I don't get that
Except if you're working with algorithms, but then, working with them in PHP (or Python) is wrong
Has no one used mess detector, code sniffer and EA extended with PhpStorm?
Fuck TTL?
09:39
tr-069 client does have some stuff but i tried changing it without luck.
@Fabor Settings?
@PeeHaa it does cache, but only for 5 minutes
Or don't I understand what that does?
So fuck TTL?
I haven't read the referenced RFC
Only an option to backup settings in there
09:39
Access control?
@JoeWatkins sausages
that's on my list of things to do while fixing it
@DaveRandom C'mon you're our walking networking rfc outspitter
I am dissapoint
I may have read it at some point but I certainly don't remember that spec and how it interplays with TTL
@MadaraUchiha new user box, wonder if I re-enter admin as username it'll overwrite current
09:43
Oh no sorry @PeeHaa that's only for caching negative responses
Yeah, that worked. Thanks @MadaraUchiha
it does cache using the ttl for positive results
Thought it was odd
wtf happened with google?
All results are suddenly in cards
However the TTL on api.github.com is 23 seconds @PeeHaa
09:46
@DaveRandom Damnit. Well you just have to fix dns in that case. Sorry :P
/me is out for a while until I've had meeting with a client.
later
Anonymous
o/
not for me
Weird
x2
@PeeHaa have you got your browser in some kind of mobile testing mode
09:50
page looks narrow
nope dev tools are disabled
@PeeHaa Well you're the biggest dev tool I know. Are you disabled?
Anonymous
@DaveRandom div*
You know I am
Anonymous
!!wotd
09:55
asseverate: to declare earnestly or solemnly; affirm positively.
@Jeeves thanks
@JoeWatkins You're welcome!
amazing
@JoeWatkins the dyn dns for nevis, how is that done? Have you registered the domain through dyn or someone?
google domains
10:01
ass-ever-ate
@JoeWatkins did that asus thing have a client built in directly?
yeah
I guess draytek doesn't ?
when I get static ips, it won't matter anyway
@PeeHaa At least it's not TS playground
@JoeWatkins it does but not for google domains
However it does have a way to user-define the DDNS service
in JavaScript, Dec 8 '16 at 9:38, by Madara Uchiha
Note to self: If you want to reach the TypeScript repl, do not google for "ts playground".
10:06
@MadaraUchiha What's that? Google crash test dummy playground?
but it only supports HTTP GET
Wes
Wes
gosh i'm exhausted. took me 3 hours to write 50 lines of english documentation. both because i suck with english and because i have no idea of what i did
oooooh
I see :P
not sure how google domains works, will it allow that ?
Wes
Wes
mornings :B
10:06
TIL I guess :P
Morning @Wes, what kind of natual disaster will you have today?
6
Wes
Wes
@MadaraUchiha /me opens news
Anonymous
ah i forgot it's Trump day
Wes
Wes
30 earthquakes during the night. 3.1 mag the strongest
10:08
@MadaraUchiha It's time like these I am happy I am working from home :P
Wes
Wes
it's not funny, tho :B
it's not funny, at all ...
Wes
Wes
dunno what's going on... our country is collapsing... literally
@JayIsTooCommon /me sticks fingers in ears and sings really loudly for the next 4 years
@Wes I'd leave
Anonymous
It's gonna be an interesting few years indeed
10:11
@JoeWatkins can you set up another dyndns subdomain I can test with and send me the credentials? I'm looking at this and it looks like it should be doable but I'd like to test.
In fact can you create wan1. and wan2. and set them up as dynamic records?
that says you need to POST ?
oh no it doesn't say it's required
Wes
Wes
punctuation help: "X has the same uses of, but it's not limited to, A, B and C"
does that sound about right? :B
anyone help me to give a link to hosting and domain for free php
i am new to php
please
Anonymous
@Wes looks right to me
Wes
Wes
yay i got something right! :B thanks
10:16
@DaveRandom done, twitter inbox
@JoeWatkins ta, will experiment now
thanks :)
@DaveRandom
@DaveRandom can it run two ddns clients then ?
10:19
@JoeWatkins yes, it has up to 6 entries and various options for which WAN to use for each one
ah ... so it's actually good ... I see ...
Will compiling php in debug mode cause any significant performance differences over not doing so? are there any other flags that could affect performance in a meaningful way?
anyone help me to give a link to hosting and domain for free php
i am new to php
please
and yes, some compiler options
10:21
@JoeWatkins is that documented somewhere?
I think not, but is commonplace for c[++/#/d/hats/whatever] programs to behave slower in debug mode whatever, debug mode ranges from additional symbols being available to instrumentation being installed for interaction with things like vg/gdb
@cristanlika AWS has a free tier of servers
Anything past that and you're probably SOL
EXTENDED_INFO means more instructions are generated in certain places (fcalls and such), this is for debugger instrumentation
HANDLE_OP_ARRAY will execute zend extension (not php module) handlers to work with each op array as it's compiled
IGNORE_INTERNAL_FUNCTIONS will force executor to take different (slower) code path
ok so @JoeWatkins if you check wan1 it should now be 1.2.3.4?
(i did it with poster to make sure the API actually works as advertised)
affirmative
NO_CONSTANT_SUB causes slow code paths to be travelled, stops some builtin optimization
NO_BUILTIN_STRLEN will stop the compiler generating special opcode for strlen function call
COMPILE_GUARDS will force all objects to have guards allocated even if unnecessary
and that's about it ...
Wes
Wes
10:30
2 hours ago, by cryptic ツ
Does anyone know what could be causing my PHP compile to fail? https://gist.github.com/KyraD/d93ad81900879c3e3a81162d3539d859 It's failing when it's compiling etc/intl
have you seen this, guys? i couldn't compile too (7.2) and could be for the same reason
404
show me build log
OK so if you look now @JoeWatkins it should be 86.xxx.xxx.254
(wan1)
OK winner, that was done from my router at home
excellent
Wes
Wes
10:33
@JoeWatkins are you sure? :B m$windows
I might move my domain to Google domains, what's the email like @JoeWatkins?
oh no fuck that, you are on your own @Wes
Can I do a catch-all forwarder?
Wes
Wes
ahaha
@Wes I will look
and yes, Kyra's is 404ing
10:34
@DaveRandom looks like it
> Add up to 100 email aliases or a wildcard (*) address that forwards to your existing email address. Google Domains will send a verification email to each unverified recipient address. Follow the instructions in the email to verify that you own the address. Learn more
Awesomesauce, my reg is up at the end of Feb anyway
I do like google domains, recommend ... plus, it's google infrastructure ... which as far as I know has never failed, ever ...
Indeed, so much of my life is there already that it makes sense for me
transfer was reasonable £16, and included additional 1yr reg for .ninja domain
(which they add to current reg period)
@Wes why you building php on windows anyway ?
Wes
Wes
@DaveRandom thanks. will try again this afternoon or tomorrow. now i should go afk because i'm exhausted
10:40
sleeping would seem to be a dangerous business in Italy right now, are you sure you want to do that ?
perhaps consuming a barrel full of amphetamines would be better for your health ...
Wes
Wes
not going to sleep, groceries i think
@JoeWatkins i do need to compile extensions that aren't on windows.php.net... also i don't compile 80% of php bundle, because i don't need it :B
you can do that without building php though
@JoeWatkins why there are files named logs\make.txt instead of files make.txt in directory logs ??
Wes
Wes
phpize or something? tried once, it didn't work
I dunno, it wasn't me ...
@Wes it does work now, you just need devel pack and deps
10:42
Wes
Wes
also windows.php.net builds are ultra slow, i think they have debug mode enabled or something
or at least they did last time i tried one of them
that could be true ... but I'm confused at the prospect of someone who cares about performance, and uses windows ...
wait wait, the normal builds aren't slow, they are PGO builds
the snaps builds might be slow, they are not PGO, and may well be debug by default, not sure ...
@brzuchal I really don't know anything about it other than where they are ...
Wes
Wes
well, at least it's not as slow to the point that calling just few hundred functions starts to take several seconds... :B
--enable-debug Compile with debugging symbols
i think this is enabled. makes everything running noticeably slower
on snaps it might be
it would make sense ... because they are not production builds
@JoeWatkins ok, I just saw something unusual
10:51
PHP Version => 7.0.12

Build Date => Oct 13 2016 10:42:35
Compiler => MSVC14 (Visual C++ 2015)
Architecture => x64
Configure Command => cscript /nologo configure.js  "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=c:\php-sdk\oracle\x64\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-sdk\oracle\x64\instantclient_12_1\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--without-analyzer" "--with-pgo"
That's the windows.php.net release build ^
yeah no debug, just debug pack ...
There is something weird that happens on Win where when you invoke php.exe when it hasn't been run for a while it hangs for a couple of seconds before it does anything, I assume it's some kind of network lookup or something but never bothered to investigate
!!friday
I assume the issue will be in MSVC rather than PHP, although it may be to do with how it is built
10:56
\o/
@DaveRandom yeah not sure what's going on there, but noticed that also
one does not just debug CRT
No but procmon will almost certainly lead to a rapid answer
I just never bother to look
that said, Pierre/Anatol are almost certainly already aware and I would assume the reason it has not been fixed is because it is non-trivial
highly likely
or a necessary side effect of something that requires some local system config
Consulting service: you bring your big data problems to me, I say "your data set fits in RAM", you pay me $10,000 for saving you $500,000.
10:59
anyone going to PHP benelux next week?
Wes
Wes
@JayIsTooCommon do you hate too grand tour's intro? music's crap, animations are crap, everything's crap. i miss jessica
I hate the driver, and also the celebrity bit ...
Anonymous
@Wes aye tis a bit poo, who's Jessica?
Wes
Wes
!!youtube jessica allman brothers
didn't we have youtube search? :B youtube.com/watch?v=yRDivUb5EeA
Anonymous
!!issue Add YouTube search - !!youtube
11:07
@JayIsTooCommon Issue created - github.com/Room-11/Jeeves/issues/142
Anonymous
oh that :P Yeah, i want top gear back
meh, you don't watch it for studio stuff, the films are as good as they always were ...
all of the studio bits feel a bit tacky to me ... pretending to get in fights and pretending all the celebs dying, wasn't funny the first time ...
I guess that sells in US ...
have you seen bus adverts ?
morning
Anonymous
@JoeWatkins I think in series 2 they'll iron out the shits and hopefully remove the stale stuff. Then it'll be much better. Hopefully they stop with the blatant scripting and make it a bit more subtle too
11:12
@JayIsTooCommon I think we talked about this once and concluded it would be a crapfest
Anonymous
yo ekins
Anonymous
@DaveRandom oh? how come
o/
Anonymous
i guess !!google should suffice
@JayIsTooCommon because youtube is generally a crapfest
I think you'd probably get much better results from googling "youtube <search term>"
Anonymous
11:13
can you give me repo issue access, whatever that involves please :) ?
I suppose you could make !!youtube do that though
@JayIsTooCommon oh I thought you already had full access
moment
Anonymous
thank you :)
should be done, can you check?
oh wait you should be in the ROs group anyway
Anonymous
Aye that worked, thank you
/me has had an idea
(run for cover)
Well, today is already basically a Twilight Zone episode, so why not?
Anonymous
@DaveRandom :p go on...
ugh this is going to be a horrible horrible hack but I'm going to do it anyway because it's useful
@JoeWatkins thanks. that helps.
Helloooo, pleaaaase HEEELP!!
am using whois command to get result of domain, and i need to take the first lines before the line who starts with Domain Name: someresult
11:35
@Devilion this is fairly easy to do. try something first
But do note that not all whois servers return results in the same format (esp. when you get into country TLDs)
thanks friends, i used explode
see, that wasn't so hard
11:51
@Naruto I believe ocramius might be.
mornings
hm, CONFIGURE_COMMAND is not exposed to userland? php-lxr.adamharvey.name/source/…
I'm about ready to punch someone, this illuminate bullshit is... bullshit
@Gordon am still a beginner, just google saved me :D
@Leigh can you specify why, other than it's just hard-coupled shit?
12:08
I can't... click on things... it passes everything around as strings
Everything is backwards
And the method chaining... god damn
@Leigh well, it's called illuminate because when you use it you want to set things on fire I guess
yeah.....it's "ArtIsAnal"
Heh yes the first time I used artisan, I thought art is anal
it just so happens to be the console command thing that's pissing me off right now
Maybe I've reached that point I hoped I'd never get to...
I have to... write a framework...
/me slaps self ... snap out of it man
@Leigh you don't need a framework - just need something that executes code..... cough github.com/danack/TierJigSkeleton
I ought to spend more time polishing that and finding stupid words like artisanal to describe it, so that hipsters start using it.
I know what I need, and this is what I've inherited
12:16
actually.....given my experience with users the past few days......forget that.
I'm covering for someone who is sick, not officially my project until feb, I will be gutting this though
Just found exciting method in PHP SPL: public void SplFileObject::getChildren ( void ) iwth description: No purpose and internally it returns null it looks like there is excelent method to retrieve null values :)
Why there are such functions? Is there some interface with them?
Wes
Wes
@brzuchal
https://github.com/php/php-src/blob/c8aa6f3a9a3d2c114d0c5e0c9fdd0a465dbb54a5/ext/spl/spl_fixedarray.c#L599
https://github.com/php/php-src/blob/c8aa6f3a9a3d2c114d0c5e0c9fdd0a465dbb54a5/ext/spl/spl_fixedarray.c#L711
@Wes they are from SplFixedArray
Wes
Wes
yeah. getSize exists only in splfixedarray and it's literally the same of count()
12:31
Yes, but I'm talking about SplFileObject and cannot see purpose of RecursiveIterator impleementing at all pl1.php.net/manual/en/class.splfileobject.php
It's strange and illogic to me
@Danack this is the kind of thing that's pissing me off most: app()->make('cache')->get($key)
!!uptime
@DaveRandom I have been running for 32 seconds, since 2017-01-20 12:36:16
!!alias youtube google youtube
Command '!!youtube' aliased to '!!google youtube'
12:37
!!youtube this is a test
Search for "youtube this is a test" (https://www.google.com/search?q=youtube+this+is+a+test&lr=lang_en)
• This Is A Test (Spring One-Acts 2008) - YouTube - Mesa High's Spotlight Advanced Drama performing the one-act, "This Is A Test" By: Stephen Gregg (Ma… (https://www.youtube.com/watch?v=APUqB6RR7bc)
• This Is a Test - YouTube - This is a scene I was in my junior year. It's about a kid having a awful experience with an exam in… (https://www.youtube.com/watch?v=mSTSaVPKs_k)
• This Is A Test Part 1 - YouTube - CTMS Playbill group performing "This is a Test" by Stephen Gregg at Denton Ryan HS
@JayIsTooCommon ^
oh did you manage to do the bash style alias?
it does seem like you did
yes, with a nasty-ass hack
but it's a drop in the ocean so whatever
/me checks github
12:38
note that there is a difference between !!command alias and !!alias
the latter does a string translation like bash, the former essentially just copies a command mapping
should maybe rename !!command alias to !!command clone as this more accurately reflects what it actually does
didn't do it for now though because confusing change would be confusing
does any of you know why this would spawn two cgi processes instead of just 1 and why the second one was spawned by the first cgi process instead of the lighty like the first one:
fastcgi.server                 = (
        ".php" => (
            (
                "bin-path"              => "/usr/bin/php-cgi",
                "socket"                => "/var/run/lighttpd/php.socket",
                "max-procs"             => 1,
                "bin-environment"       => (
                    "PHP_FCGI_CHILDREN"     => "1",
I understand that lighty will spawn a master cgi process (max procs) that will then spawn the specified fcgi_children worker. I just don't get why it needs the additional master over just spawning the workers itself
@LeviMorrison Thanks for the explain. Possible to make anything horrible though. While single use variables seem pointless, when you know there's stuff like SSA going on behind the scenes, being verbose tends not to be so much a worry.
@DaveRandom yeh, but /me thinks keeping both !!alias and !!command alias will be more confusing anyway
@Ekin well a difference (at the moment) is that thing mapped with !!command alias will show up in help whereas string translations won't. It's not really sanely possible to produce descriptive help for those without actually processing the mapping, which would be complicated. So I think it's worth having it there for things like e.g. !!eval/!!> because then they will both show up with the actual endpoint description
I will modify !!command list so that it shows string-mapped aliases, but all I can really do is show that !!youtube is mapped to !!google youtube
alright I see how it is, agreed
12:51
dunno though, if the consensus is that it's not worth keeping I'm not that attached to it
I think it'll be useful
Wes
Wes
@JayIsTooCommon bah. GT started good, now it's starting to actually suck
it's not more disappointing by the last top gear seasons they made, but i hoped they had in mind something better for GT...
everything is staged and they don't even try hiding it
In fact in bash terms, !!alias ll ls -l is like a bashrc alias ll='ls -l', and !!command alias ll ls is like cp /usr/bin/ls /usr/bin/ll
/cc @PeeHaa
right, yeah pretty clear difference
QueryBuilders considered harmful

« first day (2288 days earlier)      last day (2886 days later) »