« first day (1821 days earlier)      last day (3131 days later) » 

5:03 PM
1 message moved to Orphan GIFs
 
@BikerJohn what your htaccess does is rewrite "index" with "index.php"
so you need to enter "/index" in order for it to work
 
Jeff Atwood, Stack Overflow co-founder, has penned the first Bill of Rights for programmers. http://bit.ly/1Nn6NOR
Insane in the membraaaain … insane in the brain …
@phpconference Srsly? "protecting the rights of programmers" … can we grow up please?
 
@Gordon that is even more useless than I expected it to be
 
@Gordon /me searches Cypress Hill on youtube for old times sake
 
"basic workplace rights" are things like collective bargaining, not a fucking comfy chair
 
5:17 PM
very annoying. "I demand two TFTs! It's my damn right!" how spoiled can you get?
If Jeff cannot deliver code on a mediocre pc, a single screen and a crappy mobile connection, he's not worth a dime
 
> Every programmer shall have two monitors
hell no
 
It's also borderline insulting when you think of anyone who's ever fought for actual basic workplace rights and what they fought for.
 
how about this:
1. every programmer deserves to be paid in a timely manner
2. every programmer deserves to not be forced to work more hours than define in a contract
 
how about: every developer has the duty to speak for himself and own her problems. Or STFU and/or leave.
 
5:28 PM
how about we call it "a list of shit that makes my workday suck less" instead of hyperbolic bs about "rights"
 
/me wins bounty
 
@JoeWatkins gz
 
for the first time ever, there might be a use for python ...
 
@PeeHaa I know right, all I need is an overt belief in god and a gf with extremely fat tits ...
 
5:30 PM
@PaulCrovella yeah, there is certainly things that can make a workplace more comfortable. whining coworkers are not one of them.
@JoeWatkins sexist
 
@JoeWatkins God those things are fat
 
sorry, or bf ...
 
Those tits too btw
 
@JoeWatkins I am not too sure about that first one ... how exactly "overt belief in god" help you
 
@tereško it's the guy, he has his whole family stand in a circle and pray before chasing criminals ...
 
5:33 PM
@JoeWatkins that sounds more like a description of american football handegg
 
then when he catches them, he gets them in the back of a van and gives Jesus-based lectures ...
 
and now I am thoroughly confused
oh, you were talking about the picture
 
yeah, the bounty hunter guy
 
I think his origin story is he was bitten by radioactive trailer-trash
3
 
lol
 
5:35 PM
@PaulCrovella :D
 
@JoeWatkins that reminded me about: youtube.com/watch?v=IS5mwymTIJU
 
@ircmaxell long time no blog
 
5:48 PM
@PeeHaa it might be useful for 7-specific changes that aren't big enough to have their own tag
PHP 7 changes tons and tons of small things
 
@Andrea Yes in a perfect world. In reality that is never going to happen
 
@Gordon the counter argument is that in most of America, the boss can fire you for just asking for those things.
Which obviously is the real problem that should be addressed.
 
@tereško you're asking too much!
 
@Danack so what? If I get fired for asking that, I don't wanna work there anyways
 
@Gordon not everyone lives in lala-land
 
5:59 PM
@tereško yeah, but they will never get there either if they let themselves be treated that way.
 
and what if not letting causes one to be fired?
 
hey all
@PeeHaa TBH, I really like that site… :-) some responses are interesting :-)
 
@bwoebi Most of it is interesting (in a very strange way)
 
@tereško then get another job. we are in the comfortable position of being in demand.
 
not in every country and not for every programming language
 
Abe
6:12 PM
 
well, in that case what @Danack said: asking for those things shouldnt get you fired. but that's still a very different thing than what Jeff suggests
 
One last question before I start writing actual code again: To let people sign off commits or to not let people sign off commits
 
What does that mean?
 
-s
--signoff
Add Signed-off-by line by the committer at the end of the commit log message.
 
@BenjaminGruenbaum I know, I have a few ideas in mind. Just haven't written yet...
 
6:28 PM
@Gordon I think you should add a new condition for "Fanatic" badge
Visit the site each day for 100 consecutive days. OR Visit the site for 200 days with four pieces of 50 consecutive days
 
no
 
@stack - Visit the site for 100 consecutive years == true fanatic
 
@stack did you really just now come here to bitch about how you failed to get a badge?
 
Sometimes I miss a day ... (sets up cron to run once a day)
: D
 
@Jesse I think a gold badge isn't so great (Compared with even 1 consecutive year)
 
6:35 PM
I don't have any gold badges, i suck :(
I'm more about the answers then the badges. If I get one, cool, if not, meh
I am sure those are for the types of people who (for example) have to get all the achievements on a console game.
 
@LGL My problem has been solved, thanks for your attention.
what is this: [BLOB - 708 B] (it is the value of one column when I run a query)
 
hello
 
ola
 
i have the dropdown with bank and state and district and city
 
Nice
 
6:49 PM
how to get state by select bank using ajax
and if the state is select i want to pass bank and state
using ajax
 
probably best for the javascript chat, yea?
 
oh ok
thaks
 
7:34 PM
I hate it to hate my code…
 
@bwoebi I love that! It means you improve.
 
@FlorianMargaine There's two kinds of hate. a) you hate it because you don't know how to do it better, but you know it's shit… and b) the kind you hate, but actually can improve.
@Jesse @ircmaxell will be the first one to get that badge, hehehe
And I really hate to hate my code while not knowing how to improve it or rewrite it in a better way.
It's the kind of code you already hate while you're writing it…
 
8:00 PM
Does anyone know if memcached is working in php7?
 
8:12 PM
@prograhammer According to github.com/gophp7/gophp7-ext/wiki/extensions-catalog there is a working php 7 branch on github
 
8:38 PM
user image
5
 
@NikiC thanks I'll check that out now
 
@Sajad lol
 
@NikiC I'm getting a memcached class not found in it right now. Even though it's installed
 
@prograhammer Did you add it to your ini?
 
@NikiC Oh I suppose I should check that. I installed Laravel Homestead php7 vm using vagrant and figured that would be covered
 
8:52 PM
hi
 
ho silver!
 
LGL
Where is a good start to become a good fluent SQL writer? I been doing it on and off, and I'm starting to like it.
 
9:08 PM
ok, very good, 2GB free traffic again ;-)! please offer me a movie ...
 
LGL
lol @Sajad That pic
 
:-)
 
LGL
 
9:40 PM
what cms do most people use for app development? ZEND?
 
Anonymous
10:00 PM
@LGL who is that?
 
Anonymous
@Sajad Matrix?
 
Anonymous
@3.14159265358... depends on the app. If it is small, use Silex, if not then Symfony/Laravel will do
 
LGL
10:17 PM
@samayo do you really want to know? lol
 
@PeeHaa That's the best site on the network
 
@samayo is it about fight ?
 
Anonymous
10:37 PM
@LGL yes
 
Anonymous
@Sajad it is a good sci-fi movie.
 
6
A: PHP 7 return type declarations - fatal error

Juan Bonnett No new reserved words are added. The names int, float, string and bool are recognised and allowed as type declarations, and prohibited from use as class/interface/trait names (including with use and class_alias). From: https://wiki.php.net/rfc/scalar_type_hints_v5 TL/DR: function get...

this is why we should have reserved integer and boolean and made them produce errors
this person will not be the last to suffer from this
 
@Andrea It doesn't help that the type error messages were normalized in a direction that later turned out to be the wrong one
 
@NikiC mhm
the way I'd made the error messages be relied on int and integer being synonyms or the latter causing an error
argh
damnit @ircmaxell
 
If it were "must be an instance of integer, int returned" you'd at least have a pretty obvious thing to try
 
10:44 PM
@NikiC yeah
 
So, we might still change this...
 
the Scalar Type Hinting with Cast RFC, when I was working on it, had a patch with code that'd give a special warning notice if you passed an int to a parameter looking for a class named 'integer'
@NikiC it'd be very late but I hope we can
 
Just change the error messages
 
Yes, I mean change the error messages
 
We could do that.
 
10:48 PM
Definitely don't want to add aliases or something ^^
 
But having two distinct type string resolve to the same type is bad IMHO. Perhaps add a helper error on invalid type when it is integer "did you mean int"
 
I don't want aliases, but I do think function foo(integer $a) should give some kind of warning
 
Warning? Why? Integer is a valid class name
 
Why should it be a valid class name?
 
It doesn't matter why: It is.
 
10:50 PM
The fatal error returning 124; can indicate "did you mean", but it is a valid class name
@Andrea why shouldnt it be? There is no need to reserve it.
 
I'm sure some people have switched their previous int classes over to integer classes after int was reserved
Adding a warning for that would kind of screw them ^^
 
@ircmaxell there is a clear reason to reserve it: avoid pain for people who expect it to be called that
 
@Andrea Reserving it at this point is simply not an option anymore. It might have been reasonable to do this, but now it's too late.
 
So I expect "a" + 1 to be the same as $a++. Does that mean we should just blindly change things?
 
yeah :/
 
10:52 PM
I think it is wrong to reserve period. There is no reason to have 30 different aliases for types.
One canonical, period. Having different names mean the same thing is just confusing and a source of mental overhead when reading.
 
We don't have 30 different aliases
 
No, we have 6+
Int, integer, float, double, real, bool, Boolean, binary, string
 
Also long
 
Yes
 
though I don't think you could cast with that
 
10:54 PM
No, but look at the type functions as well
It is a mess. And if we want to reserve all of them, it will continue to be a mess
This at least doesn't extend the mess, and sets the stage to clean up the mess in the future.
 
can we add surreal as an alias for resource?
 
Want to add some helper error messages, awesome. But adding more reserved type names, because of idiotic duplication, is bad.
IMHO of course.
 
@ircmaxell no it wouldn't
reserving the other types means we can gently remind people of the new, consistent names
 

« first day (1821 days earlier)      last day (3131 days later) »