« first day (1625 days earlier)      last day (3330 days later) » 

12:49 AM
blah I think php src master is broken for extensions.....everything is crashy, for no apparent reason.
 
@Danack travis is a PITA since yesterday
$ sudo apt-get update -qq
W: Failed to fetch rabbitmq.com/debian/dists/testing/main/i18n/Translation-en_US Connection failed
W: Failed to fetch rabbitmq.com/debian/dists/testing/main/i18n/Translation-en Connection failed
E: Some index files failed to download. They have been ignored, or old ones used instead.
 
@marcio At the risk of being racist, it's the darn CHICOMs targeting our infrastructure.
 
xD
 
Mornings ;)
 
12:55 AM
hehehhehe
 
Uh, shit. DST. Birthday only lasting 23 hours :-(
 
@bwoebi How old are you tomorrow?
 
19
 
Actually. That means it is your birthday right now right?
 
You guessed right.
 
1:04 AM
happy birthday @bwoebi !
13
 
Happy birthday Bob!
insert balloons, confetti and beer
 
@PeeHaa there is a zend macro for that
 
/me throws beer away
@marcio ZEND_BIRTHDAY(@bwoebi);
 
ZEND_BIRTHDAY_PPP(@bwoebi)
 
@marcio I'm not dereferencable!
 
jtc
1:11 AM
Hello everyone
 
jtc
Hi Dr. Nick!
Anyone here know the difficulty involved with getting Symfony to be RESTful and use a get->parse->update-view-without-refreshing-whole-page chain of events?
i.e. A todolist application. You get a collection of "tasks" from a database, and can add/delete from that list on the webpage without the need to refresh for each action
 
Don't think it is that difficult as long as you have a sane frontend which can handle it nicely
 
 
1 hour later…
2:36 AM
In HashTable destructor …
#if ZEND_DEBUG
if (!(ht->u.flags & HASH_MASK_CONSISTENCY) {
#endif
        zend_hash_del(PHPDBG_G(watchpoints), watch->parent->str);
#if ZEND_DEBUG
}
#endif
Is that really necessary… @NikiC ?
uh… I just see that won't work.
@NikiC then… how can I remove something from ht dtor safely? Do I need to manually iterate the array and only then destroy?
 
 
4 hours later…
7:06 AM
happy birthday bob
@bwoebi
morning all
 
 
1 hour later…
8:06 AM
@bwoebi I don't think I get the question
And happy birthday @bwoebi :)
 
8:34 AM
morning
 
So I was wondering about alternatives to dedicated syntax for generics and had this idea involving userland ast composition (using ASTs as templates) gist.github.com/marcioAlmada/21a28127d24a4430f8d2 . With just a little boilerplate it would be possible to have generics and many other things so I'm throwing the idea here. // cc @NikiC @ircmaxell
I'll be afk here, but any input is really welcome :)
 
@marcio It's pretty orthogonal
Macros are awesome, but they're also a huge viper pit ;)
 
9:03 AM
morning guys, i had an idea for a php code maintenance tool - do you know of a php syntax tokenizer that supports also phpdoc?
 
9:28 AM
@Worf maybe make use of github.com/google/recki-ct
 
php syntax tokenizer made in php - i should have specified that :P
later - grocery shop
 
9:46 AM
Don't suppose you're here @DaveRandom? Ping
 
moin
 
@NikiC I mean… I'm deleting an element from the array in the dtor… but when I'm using zend_hash_destroy() on the array I'll get into an inconsistent state by deleting in dtor…
 
@bwoebi If you want to use the array while destroying it, you need to perform a graceful_destroy
 
@NikiC Ah, thanks! didn't know about that
 
10:22 AM
Why do i get an mysql error here?
$query = $dbz->prepare("SELECT * FROM Entrys ORDER BY creationDate, creationTime DESC LIMIT :ammount");
$query->bindParam(':ammount', $config['entrys']);
echo $config['entrys']; // is 10

try
{
    $query->execute();
    $entries = $query->fetchAll();
}
catch(PDOException $e)
{
    echo '<p>An Error ocurred!!</p>' . $e;
}
exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''10'' at line 1' in ....
 
@DaveRandom or anyone. At 23:00 last night my internet died. ISP says things are fine their end. I have tried two routers. Reset one just now and it's stuck at "contacting dhcp server". Prior to the this all devices couldn't access the internet with DNS issues. Any ideas?
 
@Proton The LIMIT clause normally does not accept parameters in a non-emulated prepared statement. This might not cause this, but you perhaps want to learn about that. The problem you experience is more likely discussed here:
49
Q: How bindValue in LIMIT?

Nathan HHere is a snapshot of my code: $fetchPictures = $PDO->prepare("SELECT * FROM pictures WHERE album = :albumId ORDER BY id ASC LIMIT :skip, :max"); $fetchPictures->bindValue(':albumId', $_GET['albumid'], PDO::PARAM_INT); if(isset($_GET['skip'])){ $fetchPictures->bindValue(':skip', trim($_GET['...

 
11:15 AM
Sigh. PoS internet.
 
morning
 
Peehaa know anything about routers or dhcp?
 
A little. Shoot
 
I'm connected to internet_PPP but my internet connection is stuck on my router at trying to contact dhcp servers
 
11:25 AM
This started last night when my internet randomly stopped.
ISP says nothing wrong their end. But I can't access the internet at all on any device
I've reset my router a few times. Even changed router.
 
hey, can anybody help me with installing xdebug on phpstorm? I've done absolutely everything it seems, and it still doesn't work
 
Do you have access to the router's diagnostic tools?
 
@good_evening how can you say it doesn't work? how do you check?
 
Also what router is it?
 
I just put some breakpoint, and it doesn't stop there @hakre
 
11:27 AM
@good_evening Have you enabled remote debugging?
 
@good_evening and do you listen? what does the tool-tip say when you move it over the button in the toolbar?
 
Thomson TG585 v7. I can access my router but I doubt there's much info
 
'zend_extension="/usr/lib/php5/20121212/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.max_nesting_level=300'
 
php loads the extension? have you checked?
 
I do listen, it says "Stop listening..."
 
11:28 AM
@good_evening Check. That's good.
 
xdebug.remote_port 9000 9000 in phpinfo
xdebug.remote_autostart Off Off
 
@good_evening Check. Very fine.
 
maybe autostart should be on?
 
@good_evening nope, don't do that.
Use a cookie add-on for your browser. Which browser do you have?
 
chrome, I do use cookie start debugger, and it sets the PHPSTORM cookie
in PHPSTORM -> PHP -> Servers I have localhost as a server, port 80
 
11:30 AM
@good_evening idekey is only relevant for debugging with multiple listeners.
 
Doesn't it have some log page somewhere? @Fabor
 
@good_evening btw, this one works for me: chrome.google.com/webstore/detail/xdebug-helper/…
 
Yeah I use the same thing ^
 
Yes. Logs don't show anything useful. It connects to dhcs and everything else looks normal
 
Can you show it?
 
11:35 AM
@hakre what does it do? I've tried it, nothing happens
sudo netstat -tulpn | grep :9000
tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 364/java
 
Emailed info@ an image @PeeHaa
 
Hi,

I'm trying to implement a slack bot in PHP, but I just don't have an idea of how I should do the analysis. Any pointers will be appreciated!

Thank you!
 
> my internet connection is stuck on my router at trying to contact dhcp servers
It has an IP? @Fabor
78.33.x.x
How do you know it is stuck on dhcp?
Or do you mean dhcp of your local network?
 
It tells me so on a different page
Sending another image with it.
 
@good_evening it adds the cookie so the xdebug extension knows to send debugging information to the configured port.
@good_evening That we checked already, Phpstorm is listening.
 
11:42 AM
@PeeHaa sent another with PCs ipfonfig.
 
@good_evening: For further trouble shooting I would 1) create a brand new project from scractch with a single php file, execute it within PHP Storm and then do the same execution but with debugger enabled.
But from within IDE.
If that doesn't work already, then some fundamental configuration is wrong.
Next step is then to do that via CLI with the environment variable to enable debugging.
And third step for this brand new project via the browser.
 
What I don't understand @Fabor is why you have static, internet and internet_ppp
 
Wizard auto configvset it up.
 
Can you ping 8.8.8.8 from the router?
 
@hakre added settings to php.ini, and that's it, what other settings I should have?
 
11:48 AM
Because from the looks of it it just has internet connection
 
tried 1st, but the same
 
Okay, you most likely edited the wrong php.ini
Or you need to edit an additional one for the PHP binary Phpstorm spawns on run.
 
I'll switch router @PeeHaa
 
On a related note: consumer routers are almost as evil as printers
 
Hmm just gone to look at it and the internet light isn't even on. But it has been on this morning
 
11:55 AM
@hakre tried editing all php.inis (2 in total), still the same
 
@good_evening hmm. I don't know any oher ways to check that.
 
@hakre I did "locate php.ini"
I don't have a file named '/usr/lib/php5/20121212/xdebug.so'
 
@good_evening phpstorm knows the name of the binary. just call it full path in shell with -i and it shows you the ini that is loaded.
@good_evening then it's not running. No wonder then.
 
@good_evening Did you run updatedb?
 
what is that? updatedb
 
11:59 AM
@good_evening refresh for locate
 
It updates the search index of locate
 
updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'
 
o.O
@good_evening Are you root / sudoer?
 
@PeeHaa changed to root, running...
 
12:02 PM
@Fabor Fix your datetime
 
Heh
 
Can anyone let me know if they've i) updated php src to masters head ii) compiled it and used it with an extension today/yesterday. I'm seeing totally weird shit.
 
ran updatedb, still no file @PeeHaa
 
I had issues with that in the past. Waaay off datetime and network stuff don't do well
 
hello guys
 
12:03 PM
@good_evening how did you install xdebug?
 
@good_evening yum install whateverthepackageforxdebugiscalled
 
^ sudo :)
 
uhh yeah :P
 
sudo apt-get install php5-xdebug
 
what is the best way to keep value of drop down after form submitted
i see solutions like apply if condition in each option value
is there any quicker way ?
 
12:04 PM
@good_evening try it again. you don't need to edit php.ini if this is debian. You perhaps needs to restart the webserver.
 
@Bassem Quicker way how?
 
i've restarted server many times, it's ubuntu
 
@Bassem Array for options values and a loop. So it's a single if.
 
@PeeHaa "The DHCP is part of the LAN (you) side of your router, not WAN (us). We have no control over this.

If the DHCP is not working, then you need to consider that your available pool of IPs for your local network devices has not been consumed or not being flushed correctly. Are you using Apple mac products by any chance? We did come across reports that Apple devices would take IPs from the available DHCP pool, but would not give them back once the DHCP lease expired. At some point, the pool is consumed and thus no local IPs available for allocating."
How do I did any of this I have no WiFi on the current router which is connected to me PC via ethernet
 
16 mins ago, by PeeHaa
On a related note: consumer routers are almost as evil as printers
Can't you just use a static ip instead?
 
12:08 PM
static IPs rule in the LAN :)
 
How @PeeHaa?
 
@Fabor windows + e -> right click network -> properties -> manage network adapters
 
@hakre , mmmmm Good
solution
 
Rightclick your adapter and add a static ip for tcpip
Or is it the router itself to borks on the ip?
In which case disable dhcp in the router and assign an internal ip manually
 
12:17 PM
I'm plugged in to the other router which seems to have assigned IPS fine
 
@Fabor Do you have two router online now at the same time by any chance? As in you have 2 dhcp servers running?
 
I have a modem and a WiFi router
And another modem+router. But I don't plug them in at the same time
 
Is there a chance they are both trying to provide dhcp?
 
Maybe make sure the two different routers are setup to use different subnets?
i.e. not both using 192.168.1.*
 
If you search chat for me saying rt-n66u you'll find my modem+router
I'm in mobile so can't search
Those two are plugged in ATM. The Thomson TG585 v7 is the other router. I don't plug that in at the same time as the other two
Thomson reported dhcp issues. Tp link says "testing ATM OAM segment ping FAIL"
Asus and tplink use different ips 1.1 and 2.1
Thomson 1.254
 
@hakre are u there
@hakre , i try it , but all select options have selected word now

while($row=pg_fetch_array($result))
{
echo "<option value=\"".$row["name"]."\"";
if(isset($_POST["selectDomain"])== $row['name']) echo 'selected';echo ">".$row["name"]."</option>";
}
 
First create the array of values from the database, then care about the output.
 
@Bassem Also use single quotes for html strings
 
12:33 PM
@peehaa , why , is there a difference ?
@hakre $row is array now
hold all values
 
most likely not.
 
@Bassem Because otherwise you would have to escape all double quotes and you end up with the mess like you have \"".$row["name"]."\"";
 
hmmmmmm
 
I don't think its a dhcp issue. I'm looking at the dhcp leases ATM and its only my PC.
 
@Fabor btw you haven't been clear - is it the local dhcp or the modem trying to get an IP from the DSL exchange?
 
12:46 PM
why could /usr/lib/php5/20121212/xdebug.so not exist? i have only /usr/lib/php5/20121212+lfs/xdebug.so
 
How can I tell sorry?
 
@Fabor Is it your ADSL unable to get an external IP address that is routable on the internet, or is it a local machine that can't get an internal IP address (like 192.168.1.5)
 
@good_evening perhaps a problem in mainting the package. try with the name you've got.
 
@Danack on the thomson router I think its the former as it shows leases for local machines. Using asus router I can see the assigned IPS fine but I don't see a dhcp error there
 
So what problem are you having with the Asus router?
 
12:50 PM
morning
 
None I can see in logs.
When I say asus I mean the asus + TP LINK combination.
 
"So what problem are you having with the Asus router?" - so you don't see any error and it's all working fine?
 
No internet
 
Does the Asus have an advanced status screen?
 
@hakre still the same :(
 
12:54 PM
Tbh it sounds like the DSL exchange your house is connected to just isn't connecting anymore - I would suggest plugging in the router your ISP provided (if they did),phoning up your internet provider and just getting them to walk through it.
The thing you pasted before saying that it was a DHCP problem on your local network is just bogus - if your modems can't get an IP from the exchange there isn't going to be any internet.
 
>> Testing Ethernet LAN connection ... PASS
>> Testing ADSL Synchronization . PASS
>> Testing ATM OAM segment ping ... FAIL
>> Testing ATM OAM end to end ping ... FAIL
>> Testing ATM OAM F4 segment ping ... FAIL
>> Testing ATM OAM F4 end to end ping ...FAIL
>> Ping Primary Domain Name Server . FAIL
>> Ping www.yahoo.com ... FAIL
Yeah I tried dining them and they're closed on weekends except ticket support
 
lolz.
 
Would other people in the building be experiencing the issue then?
 
If it is just the DNS server that is down - you could try setting the DNS server to use in your network connection to be 8.8.8.8
 
12:58 PM
On my wired machine?
 
Yes - on a PC.
That would skip doing DNS lookups via your ISPs DNS servers, which the error above says aren't working.
Apparently "ATM OAM" is an optional thing and isn't required for the internet to be working.
 
Tried it and still not working. Icon on windows for connection has the yellow !
 
@Fabor do tracert 8.8.8.8 from a command line
 
netmakechanndial err=-3000 rn_p=805195e4. Is on my error logs
Google has some good info on that so sent to isp
Running tracert
Tracing route to 8.8.8.8 over a maximum of 30 hops

1 <1 ms <1 ms <1 ms 192.168.2.1
2 <1 ms <1 ms <1 ms 192.168.1.1
3 29 ms 29 ms 28 ms 188.39.0.6
4 29 ms 29 ms 29 ms 188.39.0.5
5 29 ms 34 ms 29 ms 78.33.141.81
6 * * * Request timed out.
7 * * * Request timed out.
 
I think possibly your IP is just having an outage. Those IP addresses don't get outside of the ISPs network. Running traceroute on a Mac gives names to the IP addresses e.g. 78.33.141.81 is te2-3.telehouse-east3.dsl.enta.net, and the names are all within what looks like an ISP network.
 
user895378
1:12 PM
morning
 
8.8.8.8 should always be reachable to something like google-public-dns-a.google.com - but your packets just aren't reaching it.
lolz @Fabor noc.enta.net
Emergency Maintenance: Multiple routers
...doh misread it.
 
:P
@rdlowrey o/
 
Basically - your internet appears to be fucked at the ISP level. Sending the traceroute to them would be the info they need to investigate.
Time to go outside and talk a walk or something.
Or, if you have a pub that has internet.....\o/
 
BTW this all started randomly at 11 last night. I was on xbox live. Wife was streaming and boom. We all got disconnected and haven't been able to connect since.
Thanks for the advice @Danack
 
user895378
From time to time I get so frustrated with Time Warner Cable that I'm forced to use my phone as a wifi hotspot.
 
1:16 PM
You could also tweet at them - twitter.com/entanet
 
Have done. Wife does the tweets. We are with aquiss
 
Aquiss appear to be a reseller of entanet - contacting entanet directly with traceroute logs is likely to cut out the poorly paid tech support at aquiss.
 
1:30 PM
Rang entanet who say they think its an snr issue and are looking in to it
I have had snr issues for the past few weeks. The last two days were the first time I have had a good connection in months. And then suddenly it can't even connect? That'd not the normal behaviour of previous snr issues I have had
They said they'd try things and call back in about an hour. Which I don't think in the history of customer service has ever actually happened. A callback in the give time frame.
 
Unless they have a different meaning for SNR than everyone else in the world, I doubt it is that - but they're sysadmins, not customer surface /insert obligatory xkcd.
 
Heh. Yup. Its frustrating how bad internet can be frustrating.
 
OH: “Do programmers have any specific superstitions?” “Yeah, but we call them best practices.”
Also, help plx:
2 hours ago, by Danack
Can anyone let me know if they've i) updated php src to masters head ii) compiled it and used it with an extension today/yesterday. I'm seeing totally weird shit.
 
user895378
@Danack will try. one minute.
 
be warned - I think PHP is just completely broken after getting latest src. As in the result of 'make test' for one extension was:
ERROR: Cannot run tests without CLI sapi.
 
user895378
1:42 PM
What OS are you building on?
 
Centos 6.something.
 
"
That trace is stopping at your LAN side. Again, that's pointing towards some form of local router issue, as it's not even hitting one of our LNSs. The error you list is not known to us."
 
@Danack After any edit you must hit + . Power might go out, if (have UPS/Laptop) thunder might strike, if (no storm) electrical discharge, else who knows ?!?!
 
@Fabor like bollocks. "78.33.141.81" is te2-2.telehouse-east3.dsl.enta.net - that is not in your lan.
@CSᵠ PHPStorm saves automatically to cover this.
 
Other router tracert
C:\Users\Fab>tracert 8.8.8.8

Tracing route to 8.8.8.8 over a maximum of 30 hops

1 8 ms 99 ms 99 ms 192.168.1.254
2 32 ms 33 ms 32 ms 188.39.0.6
3 33 ms 33 ms 33 ms 188.39.0.5
4 33 ms 32 ms 33 ms 78.33.141.81
5 * * * Request timed out.
 
user895378
1:45 PM
@Danack Worked just fine for me.
 
@Danack well... that's just if (phpstorm) :)
 
user895378
Try ./buildconf --force and passing your ./config line again and be sure to use make clean
 
@rdlowrey I'll try that - I thought I did a git clean before building, but if it's not broken for everyone else, then it must be something local between the table and the chair...
 
user895378
I have a personal php build failure about once every couple of days where I think it's broken but it's just me.
 
1:58 PM
@Tyrael I think I've just figured out why he did it like that. Restarting a travis build through the web interface obliterates the previous build log. Which is inconvenient if you want to compare error messages.
 
Moorning
 
2:19 PM
IM BACK!
 
@RonniSkansing morning
 
@Danack You beautiful man. I owe you as many beers as you can drink at PHPSC
 
@Fabor What was the issue?
 
his ISP has an arse / elbow confusion.
 
@PeeHaa Dunno, I emailed them asking, but @Danack's words about sending them the tracert certainly seemed to get them to resolve something. They changed my IP. that's all I know so far.
 
2:20 PM
hehehehe
 
It looks like they've upgraded some of their edge nodes recently. I would be 0% surprised if they've cocked up the config and it was rejecting packets from your IP address as it didn't recognise it as being something it should route.
Also, inverse tachyon polarity things.
 
I had to change my MTU(?) setting from 1500 to 1458 for some reason too. Well I say "had" to as in they asked me to change it.
Probably didn't do anything.
But first time telnet'ing into my router which was interesting.
 
@Danack for me that never was an issue. it is either a reproducible issue, in which case I have the same log with the rebuild or something intermittent (network hiccup, faulty travis vm, etc.) and I don't really care about the failure if the rebuild succeeds.
(and if I want to compare the build output I would download the logs anyway to use diff or something)
 
> "Hi Fabien,

It appears another Entanet customer has hard-set their IP as your static IP, thus stopping your routing. Changing your IP has therefore resolved your routing, but in the meantime, I have asked Entanet to make contact with whoever the other client is to stop them just IPs that don't belong to them."
 
Anonymous
Is there any flag for php build/configure to custom set location for error logs?
 
2:32 PM
@sam_io apache handles that
79
Q: Where does PHP store the error log?

PHPLOVERI am on shared hosting and have Cpanel, Apache, PHP is run by fastcgi. Where does PHP store the error log? Is there any other way I can find the error log on shared hosting environment instead of having to go through entire site structure to look for error_log files? I have access to the php.i...

 
Anonymous
I am using nginx @PeeHaa
 
I've a subjective/opinion Q not fit for any Stack site. Are they ok to discuss here?
 
TIL someone can steal your IP and use it for themselves.
There's a good defence against piracy if I ever heard one.
 
@sam_io Have you read the link?
@James Is it related to php?
 
2:37 PM
@PeeHaa yes, I should have said really (I don't want to talk about problems in general :D)
 
Well the room topic is:
> Discussion for all things PHP, and stuff
 
Anonymous
@PeeHaa yes. My question was if I could do it while building from source, with a simple flag like --error-log-dir=/var/log/ but I guess that's not possible. :/
 
@sam_io Why would you want that?
 
Anonymous
@kelunik because by default when building php puts log in ex: /usr/local/src/php.. and I don't want bash sceipt to do the extra work of reconfiguration that path...
 
Anonymous
Its apparently a trivial question
 
2:45 PM
For a naming convention, is prefixing class names with "class" a waste of time? Or would it be welcomed in a large code base? Pros: Where classes are instantiated it would show quickly what is a class, not a method or separate function. It also starts camelCase - eg "classUsernameValidator"
 
user895378
@James Never add useless prefixes or suffixes like that.
 
user895378
Gratuitous naming context is a waste of brain cells.
 
So in a lot of code with methods and user defined functions, it wouldn't be useful/welcomed having classes immediately distinguishable?
I've not worked on large code bases, so is why I'm asking.
 
Distinguishable from what? I can't imagine places where people would get functions/classes mixed up.
 
Anonymous
@James adapt to some conventional file hierarchy, and use autoloading to handle loading/requiring your classes.
 
2:52 PM
@sam_io I am doing. Perhaps I should work with that a bit longer. Seems I'm resolving a potential problem which is non-existent
Thanks all
 
@James Also, the PSR-2 standard of using 'interface' in a name is wrong.....you should be using interfaces (almost) everywhere....so adding that word everywhere adds nothing.
 
@Danack thanks.
I'm using a mix of different coding standards (...so many to choose from). Mostly PSR but ignoring ones I don't agree with. ie I'm using 2 space indent (not tab) instead of PSR's 4 spaces, which I think is overkill.
 
It's a shame - it's the only bit of the standard that actually matters, and they choose the wrong choice.
 
@Danack boo, named params are a great idea
But on mobile, so can't really defend it :P
 
@FlorianMargaine I think there's two separate things, calling functions with a dict of named params, and there's using some sort of placeholder for default params to indicate what they are.
The proper named params fundamentally change PHP I think.....and possibly not in a way that is good.
 
3:03 PM
Named params would solve the second problem
 
As a side-effect of changing how the language is tied together.
I think the RFC 'might' be more likely to pass if it was a full on proposition of "we want to be able to call functions via a dict rather than an ordered list of params" rather than just "yeah, named params solve the some apis suck" problem.
 
If you want to call them by dictionary then create a parameter object.
 
I don't want to call them by dictionary...
 
Sure -- I meant it in the general sense
 
3:21 PM
I should vote no too. For balance.
 
@Danack Did you see the reason they stated? :)
 
@Fabor Yes, that makes sense as a cause. Your packets were going out, but then responses were returning to someone elses machine.
 
How does one take an IP? -_-
 
Right-click on network properties, unclick dhcp, and hard-wire an IP address in.
It works on PCs as well as internet routers.
 
And someone happened to choose mine?
You'd think there'd be some safeguard against it.
 
3:31 PM
Decided to vote "yes" @Danack because I've hit the issue with PDO returning null in production. Caused quite a bit of confusion.
 
@Fabor I'm guessing that the different resellers of enta.net have their own pools of IP addresses they are meant to use. One of the resellers sold a permanent IP address to one of their customers, when that IP address is actually used by a different reseller. And yeah, there ought to be a safeguard against it.
 
I'm a little sad that their tech support didn't request any information from me. Like a tracert. If it wasn't for you suggesting it I doubt I would have internet right now or for a while.
 
"Some confusion":
 
lol
 
@Fabor They don't want people looking at that.....people have a nasty habit of 'finding' problems with traceroute, and demanding they be fixed, when they're just normal operations. e.g. packets suddenly taking a vastly different route than they did the day before.
 
3:43 PM
They spent a fair bit of initial communication blaming my router though
 
4:14 PM
Seems to be the default position for most ISPs. "What? You haven't rebooted your router in more than 2 hours. Maybe you should try that first!"
 
 
1 hour later…
5:31 PM
@Danack everyone… but Stas :-D
 
Anonymous
6:05 PM
@Danack I just noticed for the first time, you are part of the internals :)
 
Anonymous
Did that happen recently? I would give an arm to be part of php one day :)
 
@bwoebi Yep. Which is why I don't think trying to persuade people who have clearly indicated that they're not open to persuasion is a useful thing to do.
@sam_io I took over looking after the Imagick extension, by accident mostly.
 
Anonymous
Hm.. didn't know extension management could get you a karma. I will try with the docs for now, but not sure if it gives me at-least rfc/voting rights.
 
@sam_io You don't need any contributions for rfc karma.
 
@sam_io Putting this delicately, do you think that you're an experienced enough programmer now to be voting on decisions for tens of thousands of other people?
Also, if you think this room is a time sink, it's really not that much worse than internals.
 
Anonymous
6:16 PM
@Danack I agree, I am still a newbie, but who said I would vote for everything on table? I just like the privilege, as it gives more motivation to be part of the language. But, I would only vote on things I know about.
 
Anonymous
@kelunik didn't know that, thanks.
 
Anonymous
And I will have you know, I am not that noob you remember from 2 years ago :) @Danack
 
7:16 PM
Does anybody have interest in a simple mail server written in PHP that can be used to send notification mails and handle responses?
 
Anonymous
@kelunik not for usage, I would be interested know how it works.
 
@kelunik A literal replacement of sendmail etc.?
 
@bwoebi Yes, like Aerys but for mails. ;-)
 
Owl
7:33 PM
hi everybody
 
hey, quick question from someone fairly new to php. If I begintransaction() at the start of an operation, and commit() is nested in the final stage within an if statement, will everything roll back to before the begintransaction() if the commit() is not reached?
Due to error for example. Thanks
 
@kelunik If it's really easy to use :-)
 
@kelunik So basically webscale mail
 
8:19 PM
@NikiC Basically, and hopefully easier to configure.
 
8:51 PM
Happy birthday @bwoebi!
 
thanks :-)
 
Now I am off to a hockey game
 
have fun :-)
 
Just wanted to pop in here to say that :-) later!
 
9:44 PM
Sadomasochism is the giving or receiving of pleasure—sometimes sexual—from acts involving the infliction or reception of pain or humiliation. A subset of BDSM, practitioners of sadomasochism usually seek out sexual gratification from these acts, but can also seek out other forms of personal pleasure. While the terms sadist and masochist specifically refer to one who either enjoys giving or receiving pain (respectively), many practitioners of sadomasochism describe, as can be found with the enjoyment of the experience in other fields of personal gratification activity, can have a spectrum or an...
 
Stockholm syndrome, or capture-bonding, is a psychological phenomenon in which hostages express empathy and sympathy and have positive feelings toward their captors, sometimes to the point of defending and identifying with the captors. These feelings are generally considered irrational in light of the danger or risk endured by the victims, who essentially mistake a lack of abuse from their captors for an act of kindness. The FBI's Hostage Barricade Database System shows that roughly 8% of victims show evidence of Stockholm syndrome. Stockholm syndrome can be seen as a form of traumatic bonding...
 
@PeeHaa :-P
 
;-)
 
10:06 PM
@PeeHaa Unfortunately, I think it's less painful than configuring an existing solution.
 
10:32 PM
hi
 
Hello!! Has someone an idea for the following??
-1
Q: Properties of the Knapsack versions

Mary StarThere are two versions of the Knapsack problem, the integer and the fractional one. The difference between the integer and the fractional version of the Knapsack problem is the following: At the integer version we want to pick each item either fully or we don't pick it. At the fractional versio...

 
Yes, ask on programmers.stackexchange.com.
 
10:52 PM
Hello!!! Could I ask you something about an algorithm?
 
Anonymous
11:29 PM
@HamZa long time no see ;)
 

« first day (1625 days earlier)      last day (3330 days later) »