« first day (1657 days earlier)      last day (3517 days later) » 

11:00
Man I'm glad tomorow is a holiday.
When you are self-employed there're no holidays. :D
How can I set the encode of php file to windows-1255?
thanks
@bwoebi true. The 20-80 rule is strong
I tried header("Content-Type: text/html;charset=Windows-1255");
but it dont work. I have to change it in the browser
@SergeyTelshevsky @Danack has a symfony/console fork
11:13
@DaveRandom oh, I have a headache today so I don't understand these today too
@FlorianMargaine link please :)
His profile
I'm on mobile so...
@Leri Good I'm not self employed then!
@Alon Thinking and trying it are two different things...
@Epodax Actually, it's a good thing.
E.g. I always thought @DaveRandom was gay... :P
3
11:17
@Leri To not have holidays? I disagree
The bad thing is that the projects I have now is paid in my local currency, and its rate has fallen. For instance, 1 usd = 1.7 3 months ago and now 1 usd = 2.33. So I am getting my a** off local market.))
@Epodax Actually, you are much free than when you have regular work, you may not work whole day and work at night.
Nobody forces you to stay at work, you don't waste money on the road every single day, etc
Well, that depends if you work at home, my boss is the owner, and he has to drive to our office everyday
does anyone know if php's tar function keeps linux file permissions?
@Epodax I work from home and I don't own company (yet). however, once I'll create one I have different plans
11:32
@Leri Both have valid points / benefits draw backs etc. While you may set your work times, I know that once I'm off i'm 100% off and don't have to worry about a thing
@myol That doesn't sounds too hard to google / just try out / open a man page for?
@Epodax Sure, however, I prefer to create my own dreams instead of others'.
@Leri Dunno, my dreams usually aren't work related.
Yeah, that's the difference. For you job seems to be a tool for life, for me my life is my job.
mh, different people, different goals / dreams.. Although I do enjoy my work very much.
11:37
Yes, that's the thing why people evolve. If all head the same goals and dreams we'd fail.
But what if the goal was not to fail? :O
:D
11:59
@PeeHaa He does look lovely in a dress /cc @DaveRandom :-D
Have you seen the photo of him wearing a skirt?
@Fabor Saw a pic of him in pub with a beer and might've been the skirt, bet it was an epic night out
He's got some nice legs.
He does. @DaveRandom's legs, @rdlowrey's face. What else?
@lusitanian's mum?
wtf, room, wtf
12:02
Awkward Thursdays
where's the family album? :)
cakephp: i want to write elements-of-india as a function name, but its not accepting second - what to do? we cant have more than one -
I'd start with not using CakePHP
reason?
@PeeHaa man page a php function?
12:11
sry its not accepting - at all
@krishna the cake is a lie
google tells nothing. I guess ill just have to try it out...
what is close to truth?
there is no such thing as cake
@krishna try elements_of_india()
12:12
@krishna Cake PHP Irc try asking for help there.
or you know, try function names that actually make sense
they're using a ballsack of a framework, can't expect them to actually write good code
yeah but seo wise - and _ are different
Hnnng
ouch
the pain
12:13
@krishna and SEO wise, it's not your code that is touched, but your URLs and their client-side content - function names have nothing to do with SEO
@krishna this is why cakephp is shit (and many more reasons)
(╯°□°)╯︵ ┻━┻
@Jimbo well in cakephp they do :)
@krishna you need to define your own routes, don't use the automatic ones. No idea how to do this with cake though
yes routing is one way, but i wanna know other possibilities.
thanks @Patrick
@JoeWatkins please tell me you are lying?!
12:21
@Jimbo And/or nakkid with a bong :)
That game was super fun.
@Machavity NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
@Epodax Sorry, that's a different meme
Man, that star has been there since April 17th :P
12:24
:<
guys, nginx is always returning 404 not found even if page IS found :/
anyone?
found by what?
@Fabor by nginx, I call url, url (GET) returns the file content, i can see it in console. And even with that, console says 404 not found on the concerned page
How do you people deal with consistency? For example, if someone loads an item from the back end to his front end, starts editing, someone else deletes that item from his UI at that time and he tries to save it, the data would be inconsistent.
12:32
@Julo0sS Dang it, I joined the nginx channel by mista... no, wait this is the PHP channel
A lot of people seem to often mistake the php channel for something else.
why can't I create a chat room anymore
Anonymous
@Fabor are you working on any OS projects?
Anonymous
where is your github page?
Negative. I am a lazy... lazy... sloth of a man.
12:36
Hi
In Php, I have a variable $reqObj
the content in that is as follows:
stdClass Object
(
    [command] => getItems
    [data] => stdClass Object
        (
            [uri] => getItems
            [data] => stdClass Object
                (
                    [shared] => true
                    [limit] => 8
                )

            [client] => stdClass Object
                (
                    [sid] => 2gjn68vkv9lsb76q50
                )

            [_] => 1430397335
        )

)
^ delete this and use a pastebin please
How to access "dataa" inside "data" ?
$reqObj->data->data. Access stuff in objects with ->, and things in arrays with ['key']
I formatted it right?
@Jimbo Thanks working fine
@Mr_Green it's just about good chat etiquette. if someone has a conversation and then a wall of text is posted, that's rather annoying. Thus if it's more than a few lines, using a pastebin is the nice thing to do :)
12:44
@Machavity nginx channel?
@Julo0sS Try asking your question over on serverfault.com
Nobody in here specializes in nginx
@Machavity I will ;)
thx
came around here cuz my 1st problem was to set up php with nginx, thought anyone here may help
Hello guys
Coding PHP, yes. Setting up PHP on your server... not so much
gtg, cya all :)
12:49
@PeeHaa only for you babe
Having a strange problem in WordPress. All permalinks for pages, posts, custom posts types are getting assigned using post id. However I am using the postname format in the permalinks structure. Any one have any idea where to look ?
@Mr_Green a bit weird question for 12k user.

 The Loop

Where humor doesn’t work.
@JoeWatkins @tereško you both built a pc some time ago, can you suggest a good atx case w/o integrated power supply?
integrated power supplies often aren't good. Or at least they didn't used to be
12:52
@Gordon you are a mod right? Is it possible that I have been blocked from creating new rooms?
@SergeyTelshevsky I like antec.com/demo/P180B.html, if you can find one
@Fabor that's why w/o :)
Oh misread
@SergeyTelshevsky I bought a couple of these last month. No power supply, Full ATX and front USB 3.0 amazon.com/dp/B00MHWVWDS
Why ATX?
Get a Lian Li :) they're purty and solid.
12:53
@ziGi unlikely. why?
Corsairs are decent too.
@Machavity none available in my country :(
will look into shipping one if they're really good
@Gordon because I don't have a button "Create room" any more only "See frozen rooms"
@DaveRandom <3
@DaveRandom couldn't find one too :(
@Fabor I see plenty of corsairs available
12:58
@Leri all 10k+ users are not php professionals. don't judge by points :)
@Mr_Green Honestly, point was different. Your question was easily google-able so to say and users with 10k+ points here are usually good at it. That's why your question from you sounded weirdly to me
how do you define a PHP professional
@Leri I was trying $reqObj->getData() till now
define('professional', @ziGi);
3
dammit, I literally just wrote that ^ :-P
13:02
IT jokes ...
by the way that is some legit php code
@Mr_Green never mind, I did not tell that to offend you or anything, just said the way I felt, no need of telling what you've tried. especially as long as you fixed your problem. :-)
@SergeyTelshevsky what does it do?
I know that @ is for suppressing errors but what else
@bwoebi Tricky problem
I think HHVM solves it with some lexer-based hackery :/
defines a constant professional with value ziGi
13:06
yeah, this was an 'atom' or something right
higher order programming
It's weekend weekend, gotta get off from work because it's weekend... toodles!
how is it a weekend
it's still thursday
Friday = Holiday
@Epodax I need to move to your country for tommorow
@DanLugg Not every Friday is a holiday d'uh
13:12
I know that in Israel the weekend is Friday and Saturday
Either ways, toodle.
@SergeyTelshevsky github.com/danack/console - the only change is to make the dispatching of commands be separate from the actual commands themselves. Oh, and there's a different question type.
@ziGi no, @ simply mutes the notice something along the lines of 'use of undefined constant zigi - 'zigi' assumed'
@Danack thanks, I'm already implementing it :)
@SergeyTelshevsky I see
@NikiC that's what I feared… mhm… Maybe I find a solution…
13:15
For the record - the rest of the console code is horrific.....but it does work, and does do a large amount of useful stuff.
@SergeyTelshevsky well I suggest that you check this out if you haven't heard of it then -> github.com/mathiasverraes/lambdalicious/tree/v0.1.0
@Ocramius It has been uploaded on 12/28/2014. You are telling us you have been doing nothing all this time? :)
Did I ever tell that I was doing something?
13:17
@ziGi yeah, I've seen that
@Ocramius Thank you for ruining the rest of my week
2
@Ocramius Now that I think about it. No not really no :P
I had shit to deploy
it's too late for that
it's already friday somewhere on this planet.
the whole collection is there, btw
13:23
@bwoebi Yeah just checked, hhvm does this in the lexer
[argh, two-spaces indent :-(]
okay, then I'll try to do that in lexer too…
might be worth to try thinking of alternatives first
because that's quite dirty
Could do something ruby-esque |$a, $b| $a + $b ^^
that's even worse
though that's probably also ambiguous
yes it is
13:31
c++ does [](args) { body }
which is kinga ugly and I think also ambiguous :D
Let me try the lexer hack… I want to look at how ugly it is…
And other alternative: Add parameter declarations into expr - and then forbid them from being used outside of a parameter list
Wow, that thread on internals...
@ircmaxell about numeric?
13:34
I know, it's totally horrible. I mean, I didn't read it, but my imagination is up to it
@NikiC not sure what you mean?
Its worse than you are imagining...
Actually pretty funny...
@bwoebi Making something like Foo $bar = baz a "valid" expression (in the parser) and rejecting it at CT outside of param lists. Though in the end this might be even dirtier than the lexer detection
Idea… define your own typehints with a function … Function then rejects or accepts passed parameter with boolean value [please don't discuss the perf PoV now]
@bwoebi xlib compat?
13:38
like typehint("My\Numeric", function ($param) { return true; });
@ircmaxell Do you have ideas for disambiguating (params) ~> notation?
For short lambda?
yeah
yep
@NikiC I wonder whether we could allow variables only there
without typehints
That was something I was wondering about before ;-)
13:39
that'd solve the issue too
@bwoebi This might be viable now, but a problem later
@NikiC why?
Given how people want to introduce things like strictly typed callback signatures
@NikiC That depends on how exactly they work.
@bwoebi indeed
13:41
e.g. if you'd accept a function ($var, int $baz) to callable(string, int) (note that $var is untyped)
7 mins ago, by ircmaxell
Its worse than you are imagining...
Modified Hofstadter's law - even when you take that into account, it's worse than you imagine.
@NikiC Also, if we ever introduce strictly typed callback signatures, I'd like this to work. (accepting untyped params as wildcard with autopromotion when passed)
Type systems are about types, not values. Hence callbacks are really just mixing concepts...
@bwoebi A smaller restriction would be to forbid the use of default values. If there are no default values you can at least check whether the ( is part of a lambda using a relatively simple string scan.
@NikiC because const scalar exprs?
13:44
yes
@NikiC I think that's reasonable.
if you allow default values you'd have to do actual lookahead lexing to make it reasonably robust, I think
I need lexer lookahead with full PCRE support :-D
@ircmaxell Yeah I think so too, because default values on a lambda don't make sense really
But well, maybe the restriction to variables only without types is okay as well. Would be even simpler
Actually, it may be OK to preclude types as well, since you have full syntax if you need them...
:-)
13:45
@ircmaxell yep, that's what I think too
Great minds think alike! Then again, fools rarely differ...
@bwoebi that sounds type-safe. the reverse (missing return hint) wouldn't be safe though
but well, that's not really a problem as return hints have no ambiguity. We can support them once and if it becomes actually necessary
So yeah, go for just variables ^^
@NikiC adding an optional return type should be a non-issue
ls -l ffs
That solves the reduce conflict… still having shift/reduce, but that should be less hard…
13:53
What's up this weekend? Pissing away the few precious moments you have left? You'll never be this young again. Piss that youth away at Arbys
hnng, Not had Arbys in over a decade.
Do want
@SergeyTelshevsky emm .. what ?
you want an ATX with an external PSU ?
while doing my research I didn't come across a single case like that
then again, I was looking only at $80-120 range
what do you mean not a single case? there are plenty of them, even in 30-200range
13:57
why exactly do you want the PSU to be outside of your box ?
I have seen such setup only in microPC cases
well, it allows flexibility in both choices
Sounds weird
unless you are describing it wrong, this really sounds strange
oh, sorry, most likely I misread, not an external, but not included
13:59
Go for this @SergeyTelshevsky
@SergeyTelshevsky what are the other requirements ?
looks good till you see the radiator sitting on a random shelf to the right :P
and what are your price options
well my first question was actually right - case without integrated psu
I was thinking about the range of 45-80eur
14:00
most of cases come without an included PSU
@Fabor Macro ATX? ;)
posted on April 30, 2015 by kbironneau

/* by Don Billbo */

@Fabor I think the huge 'border' of the displays with brand name on them doesn't fit in this in any way
@tereško which one did you choose?
Fractal Design R5
it's a 100 euro case
@SergeyTelshevsky .. ok, few questions: will you be using a water cooling (closed or custom) loop ?
how long is the video card ? will you use optical bays ? how many of ssd/hdd ?
do you care about sound dampening or dust resistance ?
14:06
no water cooling, I have been told CoolerMaster Arctic Cooling Freezer 7 PRO is more than enough for the system I want, it's i5 4690k and vga is msi gtx 970, I don't care much about sound dampening too
dust resistance.. no, not placing it on the floor or near the floor too
mountainsofmouthness.com - because I'm here to reduce room productivity altogether
"I don't care much about sound dampening" - famous last words.
SORRY I COULDN'T HEAR YOU
I'M USING PHOTOSHOP
@SergeyTelshevsky i.imgur.com/KULgeKj.jpgthis is what mine looks after 3 weeks on a desk
@Danack I know about what I'm talking here :) The system mentioned doesn't make THAT much noise
14:09
One for @Jimbo
@tereško I have compressed air for that too
Beautiful
when I asked about "dust resistance", I was referring to the setup of dust filters
I see, what are the options?
don't they all come with some sort of filtering?
Now I need to chase Jakub into abandoning that package
14:14
lol
@SergeyTelshevsky "some sort of filtering" is exactly the problem: you have to see is the filters are removable, if they are, then how easy is to get to them and put them back in/on
@tereško can't you simply vacuum them as long as they're in a proper distance from electronics?
nope, vacuum is a big no-no
wait a moment
but usually they are at a long distance from all the stuffing, how would that hurt?
you mean "remove them and then vacuum is some other room or outside"
right ?
in that case it is ok
the question is whether you can actually remove the dust filters and how much pain in the ass is putting them back
.. for example, magnetically attached bottom filters are a nightmare
user895378
14:22
morning
Ahh, the whole framework -> facepalm thing is working well for me. Every time I forget it's there, I hit a classic such as this:
> Being a PHP web application developer for several years now, I've had my share of MVCs and facepalms.
@rdlowrey morning
user895378
\o/ ext/ctype dependency is gone from composer
user895378
If only we could get rid of ext/filter my dreams of a --disable-all panacea would be realized.
@SergeyTelshevsky "CoolerMaster Arctic Cooling Freezer 7 PRO" there is no such thing .. unless Arctic is some subsidiary of CoolerMaster ... and, if possible I would go with something from either Phanteks or Noctua
14:26
@rdlowrey y u --disable-all? :(
@rdlowrey In the case of ext/filter I'd rather fix that on the PHP side (make it so that --disable-all doesn't disable it). I agree on the ctype thing, though.
@DaveRandom --disable-all better disable everything it can, no point in having the option otherwise
user895378
@NikiC I usually --disable-all and then add only a couple of things I need like --with-openssl and --with-zlib ... invariably I forget to add ctype and filter so when I try to run composer it fails
"--disable-all" translated to english is: "I am a PHP core dev and don't want to wait the build to run one minute longer." It it of no relevance to end users
@tereško it's this one, distributors name bug
user895378
14:28
I don't think I've ever needed ext/filter though ...
the even fixed that already
@rdlowrey I also consider it relatively unlikely that a larger PHP binary will adversely affect you
user895378
hehe true. It's more that I just never remember to type in those extra switches because I never use them.
user895378
Once I realized I could validate IP addresses with inet_pton() I never had any more use for ext/filter.
@rdlowrey So the solution is to just not bother typing the --disable-all right? Even less to type!
14:30
@tereško so do you have anything to suggest in that price range, let's say without paying too much attention to attachment method?
@SergeyTelshevsky lemme see what I can find
user895378
@NikiC boooo!
@tereško and yeah, no optical drives
@rdlowrey Just to be clear here: Dropping a ctype dependency if you're only using it one place is fine. But then there's those projects (many things on the frameworky and CMSish side of things) which will go "well, people might have build with --disable-json - obviously we have to ship a custom JSON implementation. And a custom crypto primitive implementation. And ..."
I don't like the precedent
user895378
@NikiC I completely agree with your logic -- I just find ctype particularly unnecessary
14:35
@NikiC I personally think it should be structured as core functionality, with extra filters defined by extensions as necessary.
@DaveRandom The "core functionality" is just doing a ./configure
@NikiC Oh sure; was just working too quickly ^^
All: How important is it for you to be able to work from home 1 day a week, as opposed to in the office every day, if the choice was between those two?
@NikiC even a simple T_VARIABLE gives me reduce errors…
@Jimbo I have kids. Working from home is something I only occasionally do for that reason
14:37
@bwoebi well, but nothing insurmountable I would hope?
I assume you already split in the rules '(' ')', '(' expr ')' and '(' min_two_variable_list ')' ? With an additional check that expr is a simple var
@NikiC it was insurmountable for the last 40 mins
user895378
@Jimbo oh god, I don't know if I could ever work in an office anymore. There's soooooo much quality of life from working at home.
@NikiC the issue is not after the ~>
oh
@bwoebi hm?
@NikiC that's an interesting trick
to use expr here
14:39
@rdlowrey If you were at a company you didn't like, but you could work 1 day from home, would you give that 1 day up in order to work at a company you do like with friends there? Tough one for me...
user895378
If I were at a company I didn't like I would do everything I could to work somewhere else.
user895378
You spend more of your life working than any other activity (except sleep). Two things are extremely important: (1) to enjoy your work and (2) have a really good mattress.
10
@rdlowrey :D
Interesting. PHP7 vs HHVM
@SergeyTelshevsky took a quick look and concluded that I would actually have to do the research from 0, to give you a good answer
14:45
no problem, don't bother
your west option IMHO, would be to start by watching few reviews
this might be a good starting point
I was really interested in what you personally got yourself
Thanks @ircmaxell for turning me on to () regex delimiters however long ago that was; seriously awesome.
but it's a bit outside your state price limit , although I am very happy with it
@DanLugg :-)
14:47
@ziGi hey. sorry. got distracted. i'm not aware of any bugs or any particular blocking for you.
evening
looks like 7 is getting RM's soon ...
15:08
@LeviMorrison That thread is actually about arbitrary length integer arithmetic......I think.
Perhaps partially.
wow, it's Friday, where's rebecca?
I skipped the middle because the discussion was boring and in my opinion whiney and pointless.
user895378
it's Friday?
yes.
Well, somewhere.
15:12
It's not friday! Dick!
Actually got excited for a second...
it's friday
it's friday
user895378
I have this overwhelming feeling that I've gotta get down.
But, what seat should you take?
@iroegbu Yes....3 is odd?
no, how is 3 float? 3.0 is float
@Machavity Someone shop ircmaxells face on there too, btw that's good skills!
@iroegbu PHP's printf of floats is so PHP - 3v4l.org/JU0qH
@Jimbo I can't take credit for that one. Was @DanLugg
15:27
@NikiC yeah… with expr it works… :x but then it's totally without any by-ref, even ellipsis doesn't work
3v4l.org/RW9cv I get it now
Nice photoshop skills :P
Almost didn't notice.
@Jimbo I lack the shoopz now, I will have to do it at home.
lol, I kinda like the prospect of abusing the shut-up operator to simulate "atoms"
[@key1 => 'hello', @key2 => 'world']
15:43
Hi all
@bwoebi typical bob. doesn't want to support typehints, supports references instead...
Can someone please help me in my issue?
0
Q: How to convert the file/s upload request made through Filepicker into the similar request made by using simple HTML file control/s?

PHPLoverI've simple HTML File control/s on my form. It's dynamic in nature, means user can upload one or multiple files. It's HTML is as follows : <input type="file" id="image_book" class="image_book upload" name="image[]" accept="image/*" value=""/> If I upload two images and submit the form I get fo...

user895378
@NikiC lol
@DanLugg Your code sample is bad and you should feel bad.
@DaveRandom I do. I do feel bad.
15:54
@Machavity Why does the @rdlowrey character have some sort of smoke alarm or something on his wrist?
user895378
House arrest, bro. Can't leave the city or they'll know.
I know you're in a boy band, but leave the fan girls alone @rdlowrey
user895378
The fan girls are the whole reason to be in a boy band.
And look at you now; walking around with a turquoise tracker
user895378
lol
15:57
Does it electrocute you too? Or just make loud noises?
user895378
If I wander outside my "perimeter" it starts blasting Rebecca Black Friday.
> ♬ It's Lowrey, Lowrey, Look out it's R D Lowrey ♬
3

« first day (1657 days earlier)      last day (3517 days later) »