« first day (2286 days earlier)      last day (2662 days later) » 

12:00 AM
((j/k @bwoebi :p))
 
It might be good if we implemented a quiz about that RFC, and people need to score at least 75% on that quiz, before they're allowed to cast a vote.
 
Solving math puzzles in job interviews is really depressing :S
 
@Sara lol
 
@Ocramius and irrelevant
you sit in front of a big calculator most of the day
 
Yeh, but they still use it
 
12:02 AM
@Ocramius did you stop and ask "exactly how much of this job is done without access to google?"
Or being allowed to talk problems through with colleagues.
 
@Danack I extensively used google - actually copied formulas from previous math Olympiads
Because there was no saner approach :-P
 
Oh look, Rust for £3
humblebundle.com/best-of-2016-bundle - if anyone wants steam keys for Else Heart.Break() or Victor Vran let me know, I already have them
oh, or shadowrun hong kong
 
If you get the Rust, we'd be 4 r11'ers, that makes a clan already
 
I have the Rust, now to download it on the worst internet in the world :D
 
Hi! Please check the below link and give me an idea.

http://stackoverflow.com/questions/41709258/how-to-create-custom-plugins-in-october-cms
 
@Leigh cool :) (not the net bit, that'd... take a while then)
 
approx 2 hours :(
so maybe tomorrow
 
yeah, and it's hellday on the server we're playing :)
actually, hellweek
 
you were so easy to find ;)
 
means you spawn with rocket raiding kits :D
 
12:13 AM
you guys use discourse or something?
 
well, we set it up but used it so little so far
@PeeHaa still needs to find the mic I think
 
alright, well, tomorrow
 
yep, me goes to sleep now
nn
 
12:29 AM
um hello
can anyone advise if I can turn a "use database" statement into a prepared statement using PDO?
id like to turn the database portion into a parameter.
 
@agentprovocateur I don't think so - table names can't be parameters in prepared statements, so I doubt schemas/databases would be.
 
oh yeah.
 
12:58 AM
To confirm what Dan said, you cannot. And you shouldn't need to
If your database name is variable, you probably have a bad design,
 
Does installing stuff through homebrew compile it on each persons computer?
aka it doesn't give precompiled binary like apt/yum do, does it?
 
from memory, when I was forced to use a macbook and used homebrew to fill gaps, I had to download XCode to be able to compile stuff
so my gut says yes, compiles it per environment
 
Thanks.
 
obviously memory is a fickle thing
 
And using a mac is fine....you just vm into a real computer to do actual work.
 
1:10 AM
You should hear people at work complain about the docker/vm stuff
I get to lean back all smug, native docker here bros
Then I look back at my screen and see Unity, and I cry inside
 
@Leigh we have docker, running inside vagrant.
 
few people where I am are complaining about runaway CPU usage with docker-machine
 
We have stability issues. The vagrant box kind of shits the bed after about 2 days for me, and then:
Vagrant up is taking over an hour. And I have to explain why this is a problem. Presumably I will need to use short words to be understood.
Though we now have the ability to snapshot it...
 
quick scan of some homebrew formulae, php extensions at the very least are compiled from source
yea looks like whole thing built from src
 
My next two posts are completely unrelated:
Jan 7 '16 at 21:34, by Danack
Dec 15 '15 at 11:25, by Danack
19 hours ago, by Danack
In totally unrelated news I need to get a T-shirt that says "STOP COPYING FILES AROUND AT RANDOM, FUCKTARDS"
to be fair....it's not obvious that that wouldn't work, except for the error message I put into imagik to detect people doing that and telling them that it's unlikely to work.
 
1:18 AM
Well I guess the homebrew script has a dependency on the version it was tested working against
not sure if that helps
 
@Leigh I suspect not....he's just removed the old ImageMagick 6, installed ImageMagick 7, and then not re-installed Imagick.
 
right, well, silly sausage
 
he's not the only one:
https://github.com/Homebrew/homebrew-php/issues/3916
https://github.com/Homebrew/homebrew-php/issues/3912
 
if the API changed between 6 and 7, he compiled against 6 then upgraded to 7, I would expect breakage
 
fyi ImageMagick doesn't follow semver, even for point releases.
And sometimes structs also change what they have in them.....so exciting things happen.
 
1:22 AM
Sure, but the error in that first link looks like a cascade fail
cannot load image magick dylib, therefore cannot load imagick ext
So even if /usr/local/opt/imagemagick/lib/libMagickWand-6.Q16.3.dylib went to Q16.4.dylib, it would break
 
yeah.....but the cause is the extension is looking for the library file libMagickWand-6.Q16.3, which has the 6 version embedded in it. The 7 version of that library has 7 not 6.
 
And if they recompile imagick from src, what happens?
 
It would probably work.......I'm opening an issue to suggest that.
 
Oh I see hang on
php-56 homebrew formula is on imagick 3.3
php-71 is on imagick 3.4
some guy is saying imagemagick 7 isn't supported until 3.4
haha that guys latest comment
"I have no interest in helping" - "Sorry for trying to get help from the community"
douche
 
fucking users.
 
1:29 AM
sorry, feels like I stole your glory now :x
time for bed
 
@Leigh similar to the conversation you had earlier - Imagine that I'm thinking of setting up a way for people to send me dollar to try to encourage me to work on this crap, what payment method would you recommend? e.g. Paypal, gofundme....or just all of them?
 
Hookers
I really don't know what all the cool kids use these days, patreon?
 
Strangely, they aren't that interested in open source graphics libraries.
.....so I hear.
 
we could make our own cryptocurrency.. PCoins
 
@Leigh patreon seems good for content creators - I haven't seen any techies use it. I might just try the throw everything at the wall technique.
 
1:38 AM
People used to use Amazon wishlists, but they were always full of expensive shit
so I never bothered buying anything for anyone that way
I've only ever really bought people drinks and confs. as way of support
hang on a minute... I've not once seen you do an imagick talk!
 
Meh - It's not that interesting....
 
2:04 AM
@Leigh For the record - mine is mostly gin
 
2:18 AM
I just had an idea.
I previously suggested “safe casting” functions, which failed to get in.
 
Wes
> Let me tell you, Germany had a HUGE Beautiful Wall and guess how many Mexicans got into Berlin?...Zero.
5
 
A variant on that could be: $x as int. So, (int)"foo" would be 0, "foo" as int would be TypeError. Handy, right?
I'd just be reviving that RFC, but 1) with its own syntax, and 2) using the same rules as scalar types do. (So, for example, "foobar" as bool would, regrettably, return true probably…)
 
Wes
so, a type declaration? or "123" as int would be 123? lossless only casting
 
@Wes it'd be an alternative to the existing (int)-style casts that only allows “safe” conversions, yeah
Interesting questions arising from that: what about "123abc" as int? In other contexts that produces a notice. Should we make it produce a TypeError, too? (Probably.) Would be the safe thing to do.
 
Wes
dunno. for those that actually use types it's not often needed casting. a bunch of functions would be enough, i think. eg $int = safe_int($int); or something
 
2:26 AM
there's not a strong need for new syntax, yeah
I just like how elegant it is.
 
Wes
:P
 
though…
foreach($x as array as $y) would now be valid ;)
 
Wes
$int = (!int)$int;
 
@Wes $int = (?!int)$int to return null on failure? :p
 
Wes
nah, it should TypeError :P
it's snowing again, hard
 
Wes
3:24 AM
started something again and i was all like easy peasy, how hard can it be, etc etc. 4 days in now and i still have no clue of what i'm doing
 
mornin
 
Wes
\o
 
o/
 
Wes
3:38 AM
i wish i could just do TraitName::method() rather than doing it with the aliasing/renaming madness that is insteadof
trait A{ function bar(){} }
trait B{ function bar(){} }
class C{
    use A; use B;
    function bar(){ return A::bar(); }
}
 
3:59 AM
morning @wes @brzuchal
o/
 
g.morning folks...
 
\o @Akshay
 
:+1:
 
4:15 AM
dunno why this has never been changed before really
 
Wes
4:27 AM
because no one cared enough is my guess :P
 
4:52 AM
Hello every one Good Morning
 
Wes
5:08 AM
o/
 
hey everyone
o/
does anyone in here know anything about JQuery. there isn't much response in the JS room
 
Nov 17 '16 at 23:55, by Wes
asking jquery questions here because the js room is sleeping is like pooping in the kitchen because the toilet is occupied
4
 
not really
may be like drinking out the toilet because your faucet doesn't have water
that's a little more accurate
this rooms lame to l8r
 
5:29 AM
morstaiung
 
user6438501
hey quick question, when you see a url like: "www.url.com/something#else", what is the #else part called again?
 
fragment
\o
 
o/
 
user6438501
5:37 AM
technical name is fragement, its referred to as hash is what i was looking for! found it
 
user6438501
just needed to know for "jquery how to detech hash change" question. thanks y'all!
 
user6438501
also.. obligatory \o
 
@JoeWatkins you just released 7.1.1 but the key you used to sign it is still not available on any keyserver. Can you please post it here so my build script won't quit when it can't verify the release =o) Thank you.
 
Wes
@RootBearFloat fragment or hash or anchor
 
user6438501
@wes ty
 
user6438501
5:42 AM
how's everyone's new year going so far
 
@crypticツ I haven't released it, and the key will be available on php.net soon-ish
also, I did add it to key server
 
hmm, let me try a different server then.
tried keyserver.ubuntu.com and pgp.mit.edu they can't find it. Do you remember which one you uploaded it to?
 
hmm, I'm sure I added it to mit server, but apparently I didn't ... I just added it now ...
 
5:57 AM
got it now, thanks!
 
np, thanks for the poking ;)
 
I believe SO has to get a short explanation about the reason of vote (specially downvote) before letting the voter to give a vote !
 
Wes
has the chat dismantled itself?
i.imgur.com/DaQ3hXG.png . not even f5 works
 
@Wes no, but still I believe getting a explanation compulsory is needed, since lots of people avoid to chat :-)
 
Wes
downvotes are just free negativity. on many occasions it is legitimately hard to understand why one is being downvoted, and most of downvoters don't explain why
-1 helps me understand that i did something wrong
-15 on the other hand means i'm being laughed at by a group of people
that is just unnecessary hate
i mean, what's the point of adding -1 to a -20? especially if you don't explain why
 
6:13 AM
great idea :-)
 
Connection to tcp://nevis.krakjoe.ninja:80 failed: timeout exceeded (30000 ms)
 
posted on January 18, 2017

New Cyanide and Happiness Comic

 
Connection to tcp://109.158.87.90:80 failed: timeout exceeded (30000 ms)
 
6:18 AM
GRUMBLE
 
@Wes I got plenty of -1s where I am fairly sure that I didn't do something wrong, but it's just a PEBKAC error or a botvote or malicious intent
 
Connection to tcp://nevis.krakjoe.ninja:80 failed: timeout exceeded (30000 ms)
 
1
Q: How to use Windows Small Business Server 2008 to print from a web application?

NidheeshI'm developing a web application in PHP and we need to print some files/labels from this web application. The web application is hosted on a 3rd party hosting provider. The thermal printers are available in the intranet which can be accessed via Windows SBS 2008. The windows SBS 2008 can be acc...

 
@Shine why is this on superuser instead of stack overflow?
 
1
Q: How to use Windows Small Business Server 2008 to print from a web application?

NidheeshI'm developing a web application in PHP and we need to print some files/labels from this web application. The web application is hosted on a 3rd party hosting provider. The thermal printers are available in the network which can be accessed via Windows SBS 2008. So both the web application and th...

@Gordon I have shared both of them community
 
@JoeWatkins your adventures in tcp land look a lot like my adventures in php c land ;)
 
if writing C makes you want to hit stuff, then it's the same ...
 
very much
 
7:19 AM
though I currently want to hit the lighttpd devs
> By default a nice looking HTML page is generated.

If you append ?json to the status-url you can get a JSON version which is simpler to parse.
If you append ?auto to the status-url you can get a text version which is simpler to parse.
for their status page
just that ?json doesnt work and ?auto only contains half of the info
 
lol
 
@samayo Yay! Phpn00b right? ;-) Did you apply for mallorca?
 
@Jimbo dude, are you that desperate for the hiring bonus? :D
not saying, you shouldn't hire him
 
7:34 AM
Mornings
 
-13°C here
I'm barely alive
 
Wes
"only" -2 here
it's snowing like crazy
 
10 here, it'll get up to 15 in a few hours I read, kinda weird but well
 
Wes
we sometimes have 20° temp change in just few days
 
@Trucy nothing some hard liquor cant solve
 
7:45 AM
Morning
stackoverflow.com/q/41713762/871050 @JoeWatkins if you're having trouble with JS, you can just ask here, no need to open multiple accounts just because you're not so great with it.
 
shh, it's part of his secret identity
php internal by day, edgy jquery-angulr.io dev by night
 
haha
 
So far, we spotted 3 Joes: the original Joe Watkins, php extraordinaire, the front dev codepen Joe Watkins (who may be our watkins1179), and the Swimmer Joe Watkins I bumped into at the swimming pool
Only one can remain. You know what to do.
 
Wes
hey @JoeWatkins i know that tp-link wireless router. check the revision and in case update the firmware because they used to sell that with a major feature not working :P
there are tons of threads on the internet about it
 
@Wes they are in bridge mode only, so don't care about that ...
 
8:01 AM
HTTP/1.1 200 OK
Server: nginx/1.10.0 (Ubuntu)
Date: Wed, 18 Jan 2017 08:01:23 GMT
Content-Type: text/html
Last-Modified: Wed, 28 Dec 2016 14:14:53 GMT
Transfer-Encoding: chunked
Connection: keep-alive
ETag: W/"5863c8dd-264"
Content-Encoding: gzip
 
Works on my end
 
Works here
 
I think I figured it out ...
dns caches may stop it working for the next ~unknown ... if you can't open, check dns, should point to 109.157.248.204 ...
got google involved in the ddns, and finally figured out how to route all traffic to/from server over single line ...
also +1 reccomend for google domains, very nice, and actually works ...
I also know how to bring up the second line on the server, but need more hardware for that ...
 
"You must construct additional pylons"
 
8:10 AM
haha ... little simpler, just need two SFP transceivers ...
 
Wes
should i close the vote guys? lost count because of ml problems... and i don't see the result changing
 
when did it reopen ?
 
@JoeWatkins werks
 
Wes
4 days ago @JoeWatkins
 
@Gordon I think the nightmare is over ...
@Wes then no, must leave open for two weeks ...
 
8:13 AM
I'm telling the boss how terrible is the internet in all this town thanks to his last minute decision to change infrastructure and leave it all to someone who has no idea how to deal with it. He replied to me from somewhere in US with "I just pinged facebook.com ... 17ms all over"...
I... I don't know what to say
 
Wes
are you sure? i announced only one week for the vote at first
it was probably a mistake as people seemed to be still on holiday
 
@Wes yes, I'm sure
 
Wes
lol
 
lol
 
@Ekin what boss? I thought you are the boss
 
8:15 AM
Neh, he's the guy at the top of this ISP && domain/hosting provider. I (try to) handle many things, both dev work and administrative stuff but he's the main guy
 
@Ekin You didn't know that the internet is only twitter, facebook and google now?
 
It's just... quite effed up
How can one leave it all in this state and just go abroad, I don't get it
 
@JoeWatkins I spoke to Nikita about the out PR here
 
@kelunik ping
 
8:31 AM
moaning
 
yawning
 
whistling
 
Anonymous
moin
 
Anonymous
!!rfcs
 
8:41 AM
mornin'
 
moinz
 
@Gordon I don't get a hiring bonus for interns ;)
SO HA
Ficken dein arsch
 
!!wotd
 
katzenjammer: uneasiness; anguish; distress.
 
@Jimbo I see your german is progressing, though not maturing ;)
 
8:53 AM
@Gordon Anything of mine will never mature. NEVAR
 
> Doesn't matter how kind you are, German children are kinder.
 
@MadaraUchiha boooooooooooooooring
 
@Gordon Nein.
 
Since when being mature on r11 is something?
 
^
 
8:55 AM
@Trucy Since those damn mods starter crawling here.
 
@MadaraUchiha someone dug that up on fb two days ago and it was already at least half a year old then. doesnt get fresher
@Trucy ever since I turned 40
 
@MadaraUchiha We should ban the mods, they're only here to kill the mood
 
@Gordon * don't say neither does your mom, don't say neither does your mom, don't say neither does your mom *
 
@Trucy I second that
 
@Trucy Agreed.
 
8:56 AM
@Gordon neither does ur mom
 
@Jimbo on a side note: I hear they do this a lot on Uranus
 
@Trucy naah, he's cool. He lifted two bans I got.
 
Hi guys... my website seems infected with malware .... it was created in core php,but now think of doing it in codeigniter or some framework. Can it solve this problem?
 
which problem?
use of codeigniter can be solved easily: you just remove it
 
Database is getting blank frequently
@tereško
 
9:01 AM
\o
 
well, is your code protected against SQL injections?
 
@Saitama saitama saitama F O E
 
are you using git to keep track of changes?
 
yes but its using mysql
 
so what?
 
9:02 AM
@tpunt ok then
 
@bwoebi ping
 
ok then the back up files contains backdoor malwares
 
@Trucy ?
 
@astrosixer and how are those backups implemented?
 
@Saitama it's some lyrics in "F O E" by IOSYS
 
9:04 AM
I have taken the back up as zip files from the server and when I extracted it in my system
 
mm, anyone better at regex than me, got some time to explain me this regex pattern? return preg_replace ('/[^\x{0009}\x{000a}\x{000d}\x{0020}-\x{D7FF}\x{E000}-\x{FFFD}]+/u', ' ', $string);
 
@astrosixer that's a shitty backup
is the code running on a VPS or on a shared hosting?
 
@Trucy i see :P ...
 
@tereško shared host
 
@astrosixer then there is a reasonable possibility, that the source of the infection isnt even your code
you can get a VPS these days for under 5$/mo
 
9:07 AM
what am asking is if I do use some framework and launch the website into the same server does it prevent these security problems?
@tereško
 
no, frameworks do not magically make your code more secure
 
@tpunt doesn't merge clean into 7.0
 
so first I have to make the server clean from malware?
Is there is any way I can do that?
 
can you move your hosting to some VPS?
 
Yes I am thinking of it @tereško
Thnx for your help
 
9:15 AM
@astrosixer I would also recommend moving your codebase in git repository
you can use bitbucket to store a private project for free
 
Opinions on constructor injection ordering?
 
Can I keep the backup in git?
 
well, keep the development in git ... but it would also double as a backup
 
Ooo
 
you can set it up so that on the "production server" it is only possible to pull data, by inputting a password
but at the same time, you would gain ability to see the list of changed files
 
9:18 AM
Are you guys doing it on git?
It seem pretty good
 
I have a java question, does anybody know about java?
 
@JoeWatkins I only targeted 7.1 since it isn't a bug fix, just a simple code cleanup. I can create a new PR to target 7.0 if you'd like it in the lower branch as well?
 
Anonymous
@Shafizadeh there's a java room
 
@tereško but I haven't yet tried it. Now I will
 
@astrosixer a wast majority of us use git for development
and many use it also as a deployment too for smaller projects
 
9:22 AM
@Shafizadeh
 
@JayIsTooCommon but I like this room and I usually ask all kind of my questions in here ;-)
 
@tpunt is there parity between 7.X branches today for this SAPI ?
 
@Shafizadeh please enter in this room for java question chat.stackoverflow.com/rooms/19132/java-and-android-era
 
@Shafizadeh you wont get any serious questions about Java answered here
 
@tereško my question is basic ..!
@AbuSadatMohammedYasin ok fine ..! thx anyway
 
9:25 AM
we also don't do Basic :P
 
:-)
 
@JoeWatkins Not entirely. Dmitry committed some changes to its 7.1 branch on 20/21 June, but not to the 7.0 branch.
 
@tpunt okay then, I can't merge into 7.1 cleanly either though
 
@JoeWatkins Ok, I'll do a rebase :)
 
it would seem sensible to remove from 7.0 anyway, because there's no abi break, and it may be forgotten when you stop working on it ... but think you should ping anatol about that ...
 
9:33 AM
@JoeWatkins Should I just submit a new PR, targeting the 7.0 branch, and ping Anatol to confirm that it's just a missed part of his cleanup?
 
seems reasonable to me
 
morningins
 
moioioing
 
morgning
 
9:39 AM
@morgning
 
Jump in if anyone has an opinion on Command Bus: github.com/0x13a/buxus/pull/2
 
9:51 AM
@Ocramius Why does calling flush($entity) on a specific entity handle relation additions and deletions, but not relation updating (cascade: refresh)?
 
@Jimbo jumped into that discussion
@Jimbo flush($entity) is a horrible optimization that we need to kill. The idea is simple: don't compute changes outside $entity
inserts/deletes are already computed though
ORM v3 will drop the $entity parameter
 
Ouch. Okay but before v3, you don't like the idea to add a change to a child and then flush the parent to have those changes work?
 
hi room
 
@Jimbo just flush the entire damn thing when you have a valid state
why complicate things?
 
do you people use Alpine linux in production? E.g. as base docker image.
 
9:55 AM
You have docker and production in the same message, something must be wrong
 
@Ocramius Obvious answer to obvious question, too lazy to refactor :P
 
@pinepain I'll avoid docker in production as much as I'll avoid the US for the next 4 years
maybe by then it'll be stable :P
@Jimbo just call flush(). If some state is invalid, that means that something is super-broken anyway
 
@Ocramius Why would you avoid the US? They'll build a wall, you should feel familiar with it
"We'll build a wall and make ze commies pay for it"
 
@Trucy the commies actually paid for it, eh :-P The US is still (kinda) fine, except that I only like nazis in videogames, when you shoot them
 
@Ocramius so history just repeats itself. Great.
 
9:58 AM
I was already reluctant to go to the US in general due to their fucked up gun culture, now I simply put a veto on it. Unless I'm paid by the hour, I'm not going to murica.
 
At least we know how it'll end
 
Interesting
 
qhick question, what do yall think of codeiginter? what is its scope in the future?
 
Why on earth would you need multiple entity managers, one per bounded context?
It's a big magic box anyway?
 
quick*
 
9:59 AM
@Ocramius same here, but that hype around alpine and that i recently have to deal with a bug report from it (github.com/pinepain/php-v8/issues/16#issuecomment-272981253) which led to nice discovering that NAN is not actually a NAN on that platform
 
The only place I wanted to go in the US is Las Vegas. But I think french casinos are just as fine.
 
@JoeWatkins This PR can be merged instantly (it targets 7.1 and above since those calls do not exist in 7.0 branch).
 
not mentioning other "surprises"
 

« first day (2286 days earlier)      last day (2662 days later) »