« first day (2565 days earlier)      last day (2383 days later) » 

12:00 PM
@Sean ftr I'm available for free consultation, within reason :-P
 
Anonymous
just consultation?
 
Or sell second router and get Access Point
 
well I'm not going to drive to the north east just to plug some wires in
 
@DaveRandom Can't find the IP address to log in to it atm
 
@Fabor it will have the same LAN IP as it used to have, you just need to put yourself in the same subnet
(educated guess)
 
Anonymous
12:02 PM
@DaveRandom I was hinting at any other services you may offer for free.
 
@DaveRandom The bedroom (main) routers :p
 
@Fabor what's the one in the middle?
 
Shrug. I dunno why there's so much going on
 
Some kind of modem
 
The one on the right in that picture is a modem, the one on the left is a router
I guess that router is what used to be branded linksys and cisco have started branding their SOHO stuff as cisco
 
12:05 PM
Fibre Optic Terminal
 
Oh right
it's just a modulator
I wouldn't worry about it tbh, if you plug the xbox directly into the cisco and it works fine then the problem lies elsewhere
@Fabor when you were logging in to the second router before, what IP address did it have?
 
Yeah, gotta disable that upnp on the living room one next. Old IP doesn't work. TBH they didn't set it up well. They put the DHCP range inclusive of the router one.
 
and what IP address do you have now?
 
btw how's the morphine addiction going @Fabor ?
 
@Danack I took myself off it in hospital to see where I was at, not had any in a few days sadly :P
@DaveRandom For the living room (second), can't find it. Main router is 192.168.1.1 though it puts me at https://<etc>
 
12:09 PM
Oh boy, fuck morphine
 
I could just plug the WAN back in.
 
@Fabor OK fine, but you were logged into the second router earlier - what IP address were you using then?
 
I had a kidney removed in hospital, they put me on morphine after. it's uh.. dangerously addictive
 
192.168.0.2
 
I was described as being aggressive and I remember being constantly itchy haha
 
12:10 PM
@Fabor OK, give your computer a static IP of 192.168.0.101/255.255.255.0 and then go to 192.168.0.2
(note: you will lose internet when you do that)
 
@Sean yeah, your body turns in to one big mosquito bite that doesn't itch. Feels so good to scratch lightly.
 
Reconfigure the second router to have an IP of 192.168.1.x outside the DHCP range
then put your computer back into DHCP client mode
and then you should be able to access everything
 
@DaveRandom How though? I can't log in to the CISCO one due to no credentials atm.
 
@Fabor you don't need to, you are changing the second router to be in the same subnet as the cisco
you don't need to touch the cisco
 
Oh right, so how do I give my computer a static IP?
 
12:13 PM
what OS are you on?
 
w10
 
Right click on the start button and hit "network connections"
The should be one called "local area network"
Oh ffs
hit "change adapter settings"
 
Hey guys!
Is there anybody who knows htaccess syntax well?
 
I'm connected via WiFi to the second router currently FTR
 
I hate the way microsoft keep making it harder and harder to get at tech settings
 
12:15 PM
It looks like f*ing magic for me
 
@DaveRandom That's far
Just right click the wifi icon bottom left
 
RewriteRule ^http : // somedomain.dev/somepath$ http : // anotherdomain.dev/index.php?r=site/action&id=1 [QSA,L]
(remove spaces in protocol)
What is wrong here? Why it doesn't work?
 
@IROEGBU I still think in Windows XP
 
"Open Network and sharing..." something something
 
@Fabor shouldn't matter, IP configuration is a separate layer, and independent from, WiFi config. When you hit "change adapter settings" you should see an entry called "WiFi" probably
 
12:16 PM
Click your network
 
@DaveRandom Changing the Wireless adapter settings, sure.
 
@Fabor Properties -> "Internet Protocol Version 4 (Ipv4)" -> Properties -> "Use the following IP address"
 
Furry
 
just set the IP to 192.168.0.something and the subnet mask to 255.255.255.0 and press OK (you don't need default gateway or DNS for this. YOU WILL LOSE INTERNET WHEN YOU HIT OK
To undo it, go back into that screen and set both IP and DNS to "obtain automatically"
When you've set yourself on 192.168.0.whatever, you should be able to access the router config on 192.168.0.2 like you were doing before
 
Why do I feel like he's going to get stuck without internet and have to call ISP?
=))
 
Wes
12:19 PM
is subnet mask a show off thing... like, it didn't look l33t enough so we added a field that makes absolutely nothing
i don't get how lans work :B
 
Go in there and set it's LAN IP to 192.168.1.something (choose an address outside the DHCP range of the main router)
then set your computer back to DHCP
hopefully when you've done that, you will be able to access the config of the main router on 192.168.1.1 and the second router on the new address that you set
...good luck :-P
@Wes You know how bitmasks work, I assume?
 
Wes
yes
 
OK, well a subnet mask is a bitmask of the IP address, that dictates which IP addresses you can talk to directly, and which need to be forwarded to the gateway
255.255.255.0 means "If the first 3 octets are the same as my IP address, I can talk to it directly"
 
"Cannot use empty array elements" reports wrong position – #75426
 
Wes
so you are agreeing with me, it's a show off value :B
 
12:23 PM
It's useful :-P
 
Any PHP settings that can improve performance for a long running process with, like, 10k objects?
 
without subnetting, NAT wouldn't be possible and we'd have run out of IPv4 addresses many many years ago
 
Wes
@Jimbo internals phpeeps in here discussed that recently
you could try disabling garbage collection, but there could be memory leaks (right?)
 
Do you really have to have that amount of objects in memory?
 
@Jimbo almost certainly none that will help whatever your problem is
What is the bottleneck?
because it isn't GC
and 10k objects is not that many
What is the application?
 
12:27 PM
Constructing objects in a loop and storing in an array, nothing special. 10k objects takes 3 seconds. 40k objects you'd think would take 12 seconds but it takes ~53
 
profile it, see where the time is spent
 
Wes
@DaveRandom remember the two scripts i asked you try?
 
@Wes edge case is edge case
 
is it better or safe to set Access-Control-Allow-Headers,Access-Control-Allow-Methods , Access-Control-Allow-Credentials in .htaccess ?
 
Wes
it was gc though
 
12:28 PM
@DaveRandom It's literally changing for the loop from 10k to 40k
nothing else
 
1 min ago, by DaveRandom
profile it, see where the time is spent
 
Done dave but Internet isn't working now. I reset the ipv4 stuff
 
as in, which line of code is taking the time
@Fabor errr... lol
 
I can access second router on the new ip though
 
@DaveRandom It's gotta be one thing inside the for loop though. Incrementing a counter by one can't be the bottleneck and there's no other code...
 
12:30 PM
@Fabor gtalk?
 
Sure
 
@Jimbo there is other code, there is the ctor of the class you are creating instances of and there is reads of the source data
whatever that is
 
@DaveRandom Is a test, with a simple string for each argument
There's some n complexity thing going on here
 
Wes
@Jimbo data provider?
 
Ah, it's array_unique() method
:D
 
12:32 PM
there you go :-P
 
As it gets bigger, array_unique takes longer
 
yes, because it invokes quicksort
every time
 
was my question valid ?
 
use a hash
@amarghodke yes, just no-one has an opinion I suspect
 
@DaveRandom Ignore, it's back now. Was just the laptop being weird for a few minutes.
 
12:33 PM
I certainly don't
 
vimeo.com/79106557 - I think he might have practiced this talk a couple of times.
 
@Fabor OK, go into the second router and disable absolutely everything non-essential (i.e. absolutely everything except WiFi)
 
WPS?
 
disable any "application layer gateway" (alg) config, disable uPnP
@Fabor that won't have any baring on this problem
you can ignore wireless-related settings
 
All firewall stuff?
 
12:35 PM
yeh disable all of that
non of this stuff should have any effect on the LAN side, but sometimes these routers try to be clever and fail
 
Cool, seems good.
 
Wes
upnp is just the kind of a acronym a lan nerd would invent when they invented the so called "networks" pffff
 
Will reboot to finish up
 
@Wes uPnP is a lie
 
Morning
 
12:38 PM
it is not universal, and "Plug and Pray" has never worked in any context ever
 
@DaveRandom At some point I presume I will need to log in to cisco router, assign xbox and open ports.
Maybe
 
@Fabor I don't think so, because you said it works when you plug the xbox directly into it
 
@DaveRandom Gracias amigo. I have taken your advice and used hash
 
Wes
@DaveRandom what's that other one that never works
 
12:40 PM
javascript?
 
@DaveRandom true
 
@Fabor it uses uPnP to configure the router, but I suspect the second router also has uPnP which is interfering with it
 
Wes
@DaveRandom dhcp lol
another nerd acronym
 
@Jimbo presumably 10k is now <1sec? (out of interest)
 
xbox reporting UPnP not successful
went wireless and that disappeared but nat is strict
oh wrong wifi, not that it should matter
 
12:46 PM
@DaveRandom what happens if I use a crossover cable to attempt to achieve what @Fabor is doing?
 
user image
5
 
@DaveRandom Yep
 
@IROEGBU probably nothing, crossover became irrelevant in ethernet 15+ years ago
everything auto-detects these days
 
Thank god for that
 
oh?! I've been sleeping for 15 years!
 
12:51 PM
older interfaces like ISDN still need it for certain things
 
@bwoebi would it be possible to close over anon classes?
I'm guessing not
 
Oh, nat open now after fiddling wires back and fourth o.O
 
@Fabor there's another think you need to sort out: set the wifi on the second router to the same SSID/security config as the main router, on a different channel
@Fabor it might have just taken a little while to update
 
@DaveRandom Yeah, I was considering that, how does it auto switch between strongest connection.
 
@Fabor that's up to the client
in general most of them are pretty good at it
 
Wes
12:53 PM
joe proposed new class() use($foo){} with $foo becoming
private $foo = ...;
in the anon object
 
I see, well I will do that anyhoo
 
@Wes Ehhh, not far enough :)
You'd still have to use $this in the method
 
Wes
?
new class() use($this as $that){
    function bar(){
        $this->that->hostClassMethod();
    }
}
otherwise some kind of scope resolution keyword
super::$this->hostClassMethod()
super::super::$this two levels up
dunno.
 
> $this as $that
 
1:00 PM
as i read about preflight before few hours from here and i did implementation but still no success . even there is no syntax errors. eval.in/885879
 
Wes
@Danack like js.
[glory of satan.jpg]
 
@bwoebi oooh, that's clever
 
Or Java's clazz
 
Wes
ahah
 
I'll experiment with that
 
1:03 PM
@NikiC so, feel free to put it back / I also can PR it if you wish
 
@Wes how does that work... like casting?
 
@NikiC Well technically it's not perfect, e.g. an extra VM page being freed could cause a read into a freed memory region. But it's an extremely unlikely case. (It's anyway a rare case and as there's some delay between replacing EG(current_execute_data) and actually freeing it even more unlikely that the thread gets no timeslice in between.)
 
Wes
just an alias, since $this is a reserved name @IROEGBU
 
Oh! Thought you meant like $intSomething as (float)$floatSomthing
 
yooooy – #75429
 
1:15 PM
@bwoebi okay, so first of all it looks like missing volatile was a problem in the original code even beyond the issue of something being changed during execution of the function
Looking at asm again, it looks like the compiler decided that usleep is not going to change anything, so it can just perform a couple of null pointer checks only once, instead of at each iteration
duh
 
1:32 PM
@NikiC volatile should prevent some crashes, but won't prevent them all still.
 
@bwoebi yeah
but it was the cause for the majority of them. should have realized that sooner
 
@NikiC oh? well, I was using an unoptimized debug build for testing :-D
 
:)
 
ok, I must be doing/thinking something wrong. I would expect tons of oath/hotp/totp libs to be out there, but the most starred on github (for java) has 38 stars only, followed by a second one with 20 stars. and searching on mavencentral yields no results whatsoever.
so either generating hotp is so dirt easy that everyone does it on their own or something else I am not aware of
also, the java ones look abandoned
 
@bwoebi @NikiC is there a technical reason why anon classes can't instantiate a class name based on a string literal or variable?
 
1:45 PM
@Leigh not that I'm aware of. An anon class is generally a normal class… just without name.
 
@Gordon presumably people code against a specific authenticator - like github.com/sonata-project/GoogleAuthenticator
 
class Thing {}
class AnotherThing extends Thing {}

interface Magic {}

function addMagic(Thing $t): Magic
{
    return new class extends $t implements Magic {};
}
So something like that, technically possible
 
@Danack shouldn't the authenticator be irrelevant? I mean, it's all based on an rfc, so one hotp should work with all of them? right?
 
Ever worked with oauth2?
 
@Leigh uh nah, a class must only be bound once
 
1:48 PM
oh yea of course, that would result in multiple definitions
Trying to think of a "nice" way to decorate existing objects
 
@Leigh you don't like eval()? :-P
 
eval is great and does all the things \o/
 
o/
Anyone else awaken to 300+ bugs.php.net emails in their inbox?
 
haven't checked those inboxes for... a long time
 
1:58 PM
I think mine is at like 11k
 
@crypticツ nope
 
kalle@php.net is on a bug closing spree.
I usually read them all daily, as I learn a lot from the comments, but not today!
 
@crypticツ Errrrrrrr wat
That's not closing issues :P
he is mostly just unassigning for some reason
 
I saw one that was replied to after 15yrs =oP
 
:D
 
2:08 PM
So he's just shuffling things around? That's my kind of work, I like to re-stack papers into less but bigger piles so at the end of the day it looks like I got a ton done.
 
:P
I'm... not entirely sure what he is doing :-)
 
I got one assigned to me... grumble
 
Just quick question, Does checkout extension have their own coupon (assigned to them) or do they request at run time for a shop?
 
James Titcumb looks like he knows a lot about AST cc @Ocramius
 
2:24 PM
@tereško Should I set up DNSs on the server?
 
You know my first ever dev job was with James.
 
@Shafizadeh I have no idea what you mean by that
 
Anonymous
@Fabor that explains a lot
 
@tereško Should I do something on the server when I want to connect a domain to a server?
 
We used to lunch at this great sandwich shop and watch episodes of Alias at lunch.
 
Anonymous
2:25 PM
Did you ever kiss?
 
@Shafizadeh I don't know
 
@DejanMarjanovic he doesn't
 
I can't understand what you are talking about
 
@Fabor I'm so so so sorry
 
lol
 
2:26 PM
@bwoebi Don't fool yourself, it has a name
 
@tereško I've bought a domain name, I've also bought a server. Now I can access that server by using ip. now I want to access that server by using that domain name. What's the first step?
 
Anonymous
@Shafizadeh have you Googled?
 
@Shafizadeh Point your DNS at it from the place you bought the domain name.
 
^ that
 
@Fabor is there any better word instead of "point" ?
 
2:27 PM
direct, aim, position
 
@Ocramius so just stole presentation from @NikiC that explains a lot
 
@JayIsTooCommon yes, but the whole tutorials are in English :-(
 
@Shafizadeh either modify your DNS config at the registrar to point refer at your host, or, if your hose host (hose lol) gives these to you, use your registrar to select your host's nameservers and let them handle DNS
 
@DejanMarjanovic well, he also worked quite a lot on the lib :-P
 
@Shafizadeh 90% chance your domain host will have a tutorial on it.
 
2:28 PM
Hi guys
I am consfused as to why email id and password are send through httpPost and not through Http Get during login with ajax?
 
@Fabor his English is really good
 
@Dereleased I did it ... but sounds something went wrong ...
 
@Shafizadeh which part isn't working?
 
@DejanMarjanovic I thought he spoke Portmouthish?
 
:P yeah the Portsmouth part was certainly a negative.
 
2:31 PM
IIRC, DNS changes can take up to an hour or so to propagate
 
Anonymous
I thought Jimbo was a manc?
 
@Learning because it relatively harder to peek under the hood and get the username and password from the post payload, than to just see the URL when you are sending GET request with the creds
 
@Fabor was it the insurance thing?
 
since all the params are sent with the URL when using GET
 
@Dereleased Here is my domain: http://lamtakam.com, And here is my server: 88.198.86.120. But my server will not be opened when I enter that domain name
 
2:31 PM
@Ocramius Insurance thing?
 
@Fabor yeh, the brokerage stuff
 
@Ocramius Oh yeah, it was :)
Ed Group
 
Wes
@Leigh ocramius' proxymanager? or github.com/Netmosfera/Drawbridge has a narrower set of uses (can create a class that delegates everything [not using __call] to another object)
 
@Shafizadeh whatsmydns.net/#A/lamtakam.com Where did you enter that IP address? Did you specify it as an "A Record" or as a Nameserver?
 
@Wes eval :(
 
2:34 PM
@Wes "narrower"?
@Leigh it uses cached PHP files. If you know what to proxy upfront, there is no need for any runtime eval()
 
Wes
@Ocramius than yours?
 
Reading the codebase :P
 
@Dereleased lemme check
 
note: it is probably NOT supposed to be a nameserver =)
 
Wes
2:36 PM
btw, how do i a create a dir in travis?
 
wait why are these your nameservers?
Name Server: NS1.LAMTAKAM.COM
Name Server: NS2.LAMTAKAM.COM
 
@Dereleased I have created a Nameserver like this: ns1.lamtaka.com and set that ip to it
 
why?
 
I don't think you understand what a nameserver is or does.
 
@tereško because I need to set that fucking ip somewhere
@Dereleased yes I don't understand
 
2:38 PM
A nameserver must already exist, it responds to DNS requests
 
@Dereleased can I use digitalocean nameservers ?
 
Who is your host?
 
@Dereleased I don't know, how can I understand that?
 
@Shafizadeh Whom did you buy hosting from?
 
2:40 PM
@Dereleased from an Iranian website
 
Some random ext from some @NikiC :)
Also shout out to @Sara for AstKit
 
@Shafizadeh If you're not going to name them for me, google "$hostName nameservers"
 
@Dereleased AFAIK, he has different provider for hosting and DNS
 
for example, if you were using digital ocean, you would use ns1.digitalocean.com, ns2..., ns3... -- but you CANNOT USE THESE because digitalocean does not know about your domain
 
@tereško true
 
2:42 PM
y tho
 
@Dereleased lemme check, I'm trying to find my vps provider's nameservers
 
Wes
@Ocramius mine? oh, it's not much... it's just source code generation. there is something i can improve and i probably will soon
originally was used for creating test doubles... but can be used for anything
 
@Dereleased I cannot find it out .. I've bought my VPS from cp.directweb.info, can you see what's its nameservers ?
 
@Shafizadeh I can't read Farsi =( but I will try
 
thx - being unable to read a language is a nightmare .. I'm the same in English :-(
 
2:48 PM
I'm the same with PHP
 
:P js masterrace
 
@Shafizadeh are you using the chat by passing it all through google's translator?
 
@tereško Not completely ... Recently I've earned some skills in English
 
@Shafizadeh why not post a screenshot of the environment/form/webpage where you entered the nameservers so we can tell you what to enter where ?
 
@Shafizadeh Who is your registrar (people you bought the domain from?)
 
2:51 PM
@Dereleased my friend
 
@Sjon Not my domain dawg
@Shafizadeh ok who did your friend buy it from?
 
Anonymous
@Dereleased his friend
 
@Shafizadeh because, when @Dereleased says, that he can't read Farsi, it's like what you would see, when opening koreadaily.com
 
@JayIsTooCommon I see a very unwelcome pattern emerging
 
@Dereleased I called my friend just know, he said, you didn't bought a host from me, so I don't give you any nameserver, he said you have bought a server, so you should make your own nameservers
Also he said, I can use cloudflare.com too
have somebody used it already?
 
2:55 PM
I'm probably HUGELY biased, but I prefer the simplexml-like interface of AstKit over the "💩Here's a massive, deeply nested associative arrays of arrays of arrays💩" of php-ast.
But that's also why I like PHP-Parser. :D
 
@Shafizadeh I don't think I like your friend tbh =P
 
me too :-)
Is it possible to make a nameserver for my own VPS ?
 

« first day (2565 days earlier)      last day (2383 days later) »