« first day (875 days earlier)      last day (4072 days later) » 

@MadaraUchiha the time you spent on the initial development you will win in the maintenance later.
 
@pderaaij Again, no maintenance. You get it to work once, and game over.
 
@MadaraUchiha try to answer the opposite. what would the application look like then?
 
@gor
 
@Gordon What do you mean?
 
11:03 AM
@MadaraUchiha what would you gain by not doing it properly?
 
@Gordon seems interesting.
 
@Gordon Less initial development time, less effort.
 
@MadaraUchiha but "use the simplest thing that could possibly work" is already what you would do even if you have changing requirements
 
@Gordon Not really
If I know I'll have to maintain it in the future, I'd write it in a way the maintaining/refactoring would be easy, even if I have to work harder in the beginning.
 
@MadaraUchiha of course you do. write your test, make it work so it passes the test. move on to next test-
i think you are asking: can i be sloppy when it's a fire and forget project
 
11:07 AM
@Gordon More or less.
 
@MadaraUchiha I have many experiences where projects were presented as a fire an forget project, but that management has some other perspectives on it..
 
Not sloppy as in "It'll work 80%" but sloppy towards the future
@pderaaij It's a military software project (don't ask). Things don't change there in 20 years.
 
basically, when you are sloppy, you take technical debt. that might increase speed of development in the beginning, but it will slow you down at some point later, when it has accumulated enough interest. If you know the project will never reach that phase, then you dont have to care.
 
@Gordon I see
 
@MadaraUchiha thats not to say "yes, you may be sloppy". its to say consider the consequences.
 
11:12 AM
@Gordon Yeah
 
@MadaraUchiha in any case, its not a question about which paradigm to use. you can be sloppy with any paradigm.
its also probably related to what @ircmaxell calls the difference between "good" and "good enough"
 
This damn project
I'm forced to work on a Windows server, (that's production!), WAMP, and IE8.
The point is to make something so retardedly simple, that a 40y/o mechanic would be able to use easily.
 
@MadaraUchiha i always wondered whether I would be willing to participate in military software.
 
I'm pulling out hair here
@Gordon I don't know about other countries. But if you're ever approached by IDF, don't.
 
another angle from which you might want to view it is this: if you pay someone to fix your car and he knows you'll never come back anyway, would you expect him to do sloppy work?
 
11:16 AM
@Gordon It's very different
 
@MadaraUchiha not that much.
 
Also, I'm not really getting paid for this project xD
 
@MadaraUchiha that aint an excuse for being sloppy either
 
@MadaraUchiha although not being paid, the expectations of the client won't change.
 
May I ask why are you wasting so much time in this topic?
 
11:19 AM
@Alexander yeah, it sounds a bit like @MadaraUchiha doesnt want to do the job in which case the best option would be … not to do the job :)
 
@Gordon If only I had the choice
 
@MadaraUchiha if you got no choice try to make the best out of it
throws empty motivational phrases around
 
@Gordon #DEFINE TRUE FALSE //Happy debugging fuckers!?
 
$up = new Exception;
throw $up;
 
More like
$tantrum = new Exception;
throw $tantrum;
 
11:26 AM
@MadaraUchiha hahahaha, im gonna put class_alias('Exception', 'Tantrum') into every new application
 
@Gordon :D
throw new Tantrum('╯°□°)╯︵ ┻━┻');
 
user image
5
this is so true :)
 
Too true. Too true.
 
@MadaraUchiha I did that in python once in a config file. People went nuts because their code was exploding
True = False
 
1 message moved to recycle bin
 
11:34 AM
raise Tantrum("╯°□°)╯︵ ┻━┻")
so doing that.
or alternatively, in py3
class ╯°□°)╯︵ ┻━┻(Exception):
 
i doubt that will work
╯°□°)╯︵ ┻━┻( is not a unicode identifier as far as I know
 
Does IE8 support html5 elements?
 
@NikiC Y U SPOIL ZE FUN?
 
Anyone remembers?
 
@Gordon :P
 
11:39 AM
@MadaraUchiha there is a shim for it
i think it should
but just in case :p
 
@NikiC and why you dont answer my question?
 
@MadaraUchiha no
 
@MadaraUchiha support was added in 9
add html5shiv or shim
 
even EI10 does not have full support for current HTML5
 
11:41 AM
it will give it support~
 
hehe
gist: 5123939, 2013-03-09 11:47:18Z
<?php
class ╯°□°)╯︵┻━┻ extends Exception { }
throw new ╯°□°)╯︵┻━┻;
 
@Gordon about your mony?
 
anyone have this ebook and can tell me whether its worth buying? vpn.uni-due.de/http/0/ieeexplore.ieee.org/xpl/…
@NikiC yes. or a quantity type in general. fowler said on numerous occasions that he finds it odd that no language implements money when every seconds needs it
 
@Gordon imho that only makes sense with overloaded operators
 
@NikiC a native type could support that, couldnt it?
 
11:53 AM
@Gordon Not as it stands now
 
@NikiC but I can compare datetimes
 
You can compare datetimes, but can you add intervals with +?
 
good question :)
 
@NikiC i take that when someone can implement that I can compare datetimes someone could also implement that
 
Anyway I want a money type, too. I once started to write a mock of that and it sucks.
 
11:55 AM
@hakre it was rhetorical ^^
 
^^ exactly :)
 
@Gordon oh sure, it can be implemented. just not supported as of now
maybe a money / decimal type could be a motivation to implement it...
 
@NikiC are you motivated?
 
@Gordon Not really. Not anymore.
 
@NikiC what would make you motivated?
 
12:05 PM
 
Morning
Does anyone have any information about the facebook login processor on their backend
There are POST fields that I wish I can know the meaning for.
 
I tend not to keep information on my backend, it's not very accessible.
 
lgnrnd=040945_x9xe&lgnjs=1362830983
does anyone know what lgnrnd and lgnjs is?
 
> We’re running the election now (rather than a year from the last election in June) because veteran moderator Tim Post is stepping down in order to work with us as a Community Manager!
oh, didnt know @TimPost will become a Community Manager
@ThiefMaster what does a Community Manager do?
 
Lifetime moderation powers perhaps
 
12:15 PM
the same kind of stuff aarthi and gracenote do
 
thanks. ah. there is even a faq for it here: meta.stackoverflow.com/questions/118972/…
 
0
Q: How can I post in Facebook wall programmatically?

Robert SmithI'm very new to Facebook (yeah, I'm the only one) but I'd like to publish messages in the wall programmatically using Python. What do I need to do to achieve that? I'm very confused. I have seen that most question about this are focused on how to let an app interact in some way with Facebook, bu...

 
@DaveRandom no this is not my question
 
29
Q: Who are the Community Managers, and what do they do?

jcolebrandWho are the Community Managers? What do they do? What is their relationship to the "Community" user? Return to FAQ index

 
I know how to use the graph API
I am just asking because I would like to understand what are these tokens sent to facebook on login. What do they validate
 
12:18 PM
@Gordon I had read that. I didn't even remember that I did.
LOL
 
I did not get an upvote in nine hours. stackoverflow must be broken
3
 
Or you may be going down @Gordon
 
@deadlock Your best bet is probably to ask here then. Those are FB internal tokens, I suspect you may have difficulty finding out though, they probably don't want you to know exactly what they do as they are security tokens.
 
@deadlock that … makes no sense :D
 
@DaveRandom I believe I need a facebook employee to answer that question :D
@DaveRandom These tokens don't protect them from bot behavior anyways.
 
12:23 PM
 
@Gordon yea it doesn't, not because you are the best, but because I voted for you
 
No idea tbh, never dealt with Facebook and don't have any plans to start doing it any time soon
 
@DaveRandom in signing up, they has like 6 security tokens generated just before you submit, they are doing their best to keep you away from faking requests
@Gordon take me up with you. I hate it down here
 
@deadlock :)
 
:]]]
deadlock++
 
12:39 PM
Also @Gordon
Moderator or not, if you post that pathetic Friday song again, Imma kick yo' ass.
 
12:50 PM
 
is scraping content legal? if not how people get around with it?
Is it like, most time they dont complain?
 
@salathe Nice.. And it works: 3v4l.org/H8WhJ
 
Github.com down ...
 
@MadaraUchiha I will post Friday on every Friday, because it's a great song and people love hearing it!
 
1:06 PM
pffft, @Gordon
 
1:34 PM
@an1zhegorodov it's ROR, what do you expect
 
@ircmaxell i resemble that remark
 
the place I am going to buy my computer parts from has a limit on all decent hard-drives of one per household
how the heck am I supposed to setup RAID-0 with only one hard drive?
 
anyone good on php?
 
@ircmaxell get a second household. problem solved.
 
yet they will let me buy two SSDs...
 
1:42 PM
@ircmaxell why dont you just buy them on amazon?
 
just as cheap, and I can get it same day (there's one about a 20 minute drive from me
 
anyone good on php sintax?
 
@ircmaxell morning/evening express? :)
 
The difference in what I'd pay between amazon or newegg and there is significant. I pay tax on all three, but I don't pay shipping at microcenter... Which for 50lbs worth of computer...
sorry, 22 kilos
 
@ircmaxell nah, i mean just buy the drives on Amazon if they dont sell you more than one. and tell them you do because!
@ircmaxell +1 :D
 
1:44 PM
No good building a computer without hard drives ;-) (well, data drives, getting 2 SSDs for the OS drive)
and there's another local retailer who has the hard drives I want (1TB Western Digital Black) for the same price as NewEgg...
so my decision is made...
tonight, I assemble a monster computer
decided to go with only 32gb of ram... Save the extra $200 for another time...
 
@ircmaxell one day you have to enlighten me about how you pay for all that stuff ;) at least your last few weeks didnt sound exactly cheap. you must have a secret.
 
@Gordon Yes, it's called move to NYC, the pay is really good compared to the EU...
 
user1829646
Hi all , Good Evening. Please help me on this : stackoverflow.com/questions/15311399/…
 
user1829646
0
Q: How to get all the stores available with in the Bounding Coordinates in PHP

Anup KumarI want to get all the stores available with in the Bounding Coordinates. say i have the Coordinates of all the corners of the Map now, I want to Get all the Stores with in that rectangle. Please find the attached image. i want this to be done in PHP and MYsql. I am trying to use the Between Q...

 
we hire mid level developers between 70k and 80k euro... And a good developer can make well over 100k...
 
1:51 PM
in mysql if we make a field as primary and want to add it auto-increment it starts with 1 and then 2, 3, 4 and so on... is there any option we can add some default value like duck1 and then that number only auto increments.. like duck2, duck2, duck3 and so on?
 
@ircmaxell i fantasize about careers.stackoverflow.com/jobs/28615/…
or tumblr. they are loooking, too
 
@Gordon you don't want that
 
@ircmaxell why not?
 
I know people who worked there. Some are now on my team. Based on what they said, you don't want it
 
@ircmaxell you mean tumblr or NYT?
 
1:53 PM
Tumblr, I completely agree with...
@Gordon NYT
 
:/
 
> - Mastery of at least one modern object oriented language such as PHP (preferred)
ummm... PHP is a modern OO language? ?
ok, I'm out... Later all
 
for some odd reason I have very high respect for the NYT. might be the tv distorted image I have of living in the states
that's why I said fantasize actually :)
because i imagine it would make me proud working for such a reputable and long standing company
but then again. i dont really know jack about them
 
any1 know or want to answer or shall i raise a question for the same? ;(
 
@ircmaxell even assuming that he meant "object capable language", i would not call php all that "modern"
@Ashis not in mysql
 
2:05 PM
@tereško not by any method?
 
@Ashis Why would you need that anyway?
 
auto increment is meant to be used for generation of unique primary keys
varchar , as a primary key (usually) is extremely stupid idea
 
to create some order number for clients and that shall not be 1, 2, 3, 4, or 100, 105 blah
if it is coded it looks gud
or i can append some text in front of it taking number from table
 
@Ashis echo "duck" . $id;?
 
yeah
thinking the same
;)
 
2:07 PM
how it is in any way related to primary keys ?
 
@MadaraUchiha thx
not related
i made it primary just like that.. because in the table was none
 
please, write in english
 
that was english already
:p
 
if you mangle the language, you do not sound "cool" .. you only sound like a 12 year old retard
 
what mangle means?
 
2:10 PM
@Ashis rite lke ths bcuz itz l33t
 
and its not about sounding cool.. its about saving time by writing shorthand
l33t?
 
@Ashis Take our advice, write fully and correctly. People will take you more seriously like that.
 
okey
i have a php page with a form named "PurchaseForm" and a separate submit button..
Now when i try to add paypal button.. it comes with its own form code..
so what is in my mind is that on checking my form "PurchaseForm" for any errors and on successful i want it to redirect to another page where there is paypal form.. Am I thinking right?
 
Ron
Hi. Can I have a little help with apache (mod_rewrite), since this is the closest room which is populated...

I want 2 simple rules. the problem is that they clash and I have no idea how to fix it.
1. myweb.com/something.php will be myweb.com/something
2. myweb.com/product.php?product=product-name will be myweb.com/product-name

is that possible? cause I couldnt make it
 
yes
it is possible
@ron
 
Ron
how? :|
this is my first rule RewriteRule ^(.*)$ $1.php [L]
this is my second RewriteRule ^(.*)$ product.php?product=$1 [L]
 
@Ron yes it is possible to make something like that , but i would recommend to redirect all the the same entry point , and do the routing itself with php
 
you can make those files as index.php files and keep them in folders of the name you want
 
Ron
@tereško why?
 
@Ashis that's the universal solution
 
2:19 PM
@Ron because not every server is Apache
5
 
@tereško this, so hard.
 
@Hiroto what about my question above?
can u answer?
 
uhhh, when this trouble in terrorist town round ends.
 
and how long is it?
 
Mornings (again)
2 mins ago, by tereško
@Ron because not every server is Apache
^^ this
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .* - [L]

RewriteRule .+ $0.php [QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.+)\.php$ product.php?product=$1 [QSA,L]
@Ron Something like that ^^, but seriously, consider just routing everything through a PHP script, and let that do the real routing
It is the portable way to handle it
 
2:24 PM
@DaveRandom the same is true for helicopters
 
Ron
@DaveRandom I see, thank you
 
@Gordon Not in my world. Apache or gtfo where helicopters are concerned.
 
Morning
 
@Gordon I don't know if there is anything. I don't really feel like starting another bitch fight on internals about adding operator overloading.
 
@DaveRandom are there any stealth apaches?
 
Ron
2:35 PM
wait, how can I do it using php? I know how to redirect using php but the url will have the .php in the end which I dont want..
 
@Gordon Yeh, just close the firewall on port 80.
 
@NikiC I am not sure I can follow that argument. Why cant we just implement it with overloaded operators. I mean, if it was okay for overloading ><= in datetime, why is it a problem doing that for Money, too? Or is it just an issue for +/-?
 
:-P
@Ron You just do RewriteRule .* index.php [L,QSA] and then inspect $_SERVER['REQUEST_URI']
 
0
Q: enum value not updating in mysql table?

John Smithim using this script to update to columns in my table. the first column 'close_account' is an enum value '0' or '1' and these appear as radio boxes in my database. the second column 'account_status' is an enum value 'Active' or 'Deactivated' and this appears as a drop down box list in my databa...

Do your "don't use mysql_*" magic comment thing :P
Also, @Gordon I voted for you XD
 
@BenjaminGruenbaum thanks
 
2:59 PM
Another legit question not receiving the attention it deserves. Not to mention all the wrong feedback... http://buff.ly/ZqYMxC #CSS3
the question is admittedly rather lazy but let's reopen it
 
@Gordon How are others users ever going to find that question if they have the same question?
 
@PeeHaa easy: because you edit it and add in information so they can :P
or you tell jonathan to do so since he seems keen on keeping the question
 
I have no idea what to edit it to. Also because I think it is TL
@Gordon :-)
 
its definitely not NARQ
and i dont think its TL either because I know I would be interested in it if I'd do design
 
-3
Q: Make a chevron tipped block in CSS

user1784695Is it possible to make a shape like the one depicted below in pure CSS? How could I go about doing it? I would like a horizontal solid-filled block on a solid background, with a chevron at one end separated from the main block.

Any better?
It needs some "I have tried x" in it really but only the OP could add that (and I suspect he hasn't tried anything, or he would probably mention it)
 
3:14 PM
@DaveRandom yeah, better. i dont know what a chevron is though. how about "make a chevron/triangle tipped block"?
though its not a triangle
angle bracket? arrow shape?
ah just leave it like this
Ultimate Troll! ROFL RT @newsycombinator: Addition of 1 and 1 in php http://j.mp/i2L7cY
 
@Gordon so much for the "news".
 
Can somebody explain to me wshat closure have to do with this: stackoverflow.com/questions/15312266/…?
If anything
 
@hakre hm? is that old? I didnt know it yet
 
@Gordon I take it you also have no freaking idea? :P
 
3:25 PM
@PeeHaa pff. i know what he means. I just left the comment to spare you the embarassment of admitting you dont
 
:P
 
:D
 
@Gordon en.wikipedia.org/wiki/Chevron_(insignia) (it was the only thing I could think of to describe the shape accurately)
 
@PeeHaa this is kewl.
 
3:26 PM
Shit like that is awesome
 
Lol, I'm now officially a QueryPath contributor ;)
 
@PeeHaa actually, what I think he means is to use closures as a criteria
so you do $blah->query(function($db)->select(…) )
and inside $blah you then pass $db
I think I have an answer explaining it. let me check
 
kk Because I fail to see how that is going to be a solution for OP
 
@hakre doesnt really answer the question either
 
3:36 PM
@Gordon I'm tempted to delv the thing, but I'm hesitant, because it may be useful if he would stop acting like a fool and provide an actual answer :(
 
@Gordon you mean what the pattern is named?
I opted for a paradigm instead: Code when you need it.
 
@Gordon php only has overloading for the comparison operators. Not for all the others
 
@NikiC ah ok. that is something I understand. but … how half arsed is that?
 
:-O You are fired (deleted) the post and no are you asking? WTF!!! — Maks3w 29 secs ago
Wut?
 
@PeeHaa wow, the echobr() fuction. Never needed it ;)
 
:P
^ I don't like doing it, but I'm afraid OP will not make it into a real answer
 
Anyone know of a good resource for database design patterns? I don't mean fundamental patterns like join tables or inheritance, etc., but things such as Role/Capability ACL table design, or queue management.
Common solutions to common problems at the business concern level.
 
hi
 
$email = $app->request()->post('email');
so i pass content type as application/x-www-form-urlencoded
and content as email=user@email.com
 
@Bracketworks @tereško keeps suggesting a book but i dont remember which
 
will it work..?
well it doesn't any solution?
 
dudes i know it's not the best chat to ask about, but do you know if my privacy policy needs to specify a tratment owner headquarter address ?
can't i just add a email address instead of headequarter address?
 
@ircmaxell What's wrong with it?
 
anyone regarding my query ?
 
WHat query?
 
few lines above..
19 mins ago, by Barfi
$email = $app->request()->post('email');
 
That is no question. That is some piece of code with the message: "it doesn't work"
 
4:13 PM
ok.i can give more info
 
please do :)
 
if(!isset($user->handle))
{
 echo "Email not found";
}
that is what i get
so i believe i am not sending data properly. from the request.
cant debug it being non web programmer
 
@Barfi Are you sure the form method is set to post?
 
yes.
s
Content-Type: application/x-www-form-urlencoded
email=user@email.com
mods will have saw url.. no issue though :D
 
Can you try to check the $_POST superglobal directly: var_dump($_POST);
 
4:17 PM
cant debug web part.
it works in other app i know..which i don't have code of.
 
4:32 PM
Have you tried my suggestion?
 
i am not a web dev and just have backend code..cant modify it or test
just want to know suggestion..how a browser would send the values to the url
 
@Barfi Well if you can not modify anything or test anything nobody can help you I'm afraid
 
@ThiefMaster do you happen to have a link to the original t.co/zlqBS0xmvv
 
@ThiefMaster thanks. thats a replica though. bobince is not on it
54
Q: When is "use jQuery" not a valid answer to a JavaScript question?

Richard JP Le GuenHow many JavaScript questions can be answered with "use jQuery"? Looking at JavaScript questions, all too often the answer seems to be "use jQuery," sometimes in as few words. We can end up with answers which feel more like plugs getting the asker to try jQuery (the Silver Bullet) than a concise...

the entire thing seems to be fabricated: doxdesk.com/updates/2009.html#u20091116-zalgo
 
4:51 PM
@Gordon Yea, I'm searching around; found some half-decent resources
 
hello
 
This site databaseanswers.org/data_models has a lot of half-baked models to review; I don't know of the credibility (how often they're implemented with success) but it's certainly useful to see examples.
 
how do you remain calm when you have a web app idea and it seems crazy and have a great potential?
I am being serious
 
@Mhjr Model it; on paper.
 
i am doing this
but
it's very hard to fous
 
4:54 PM
@Mhjr google it on youporn and be amazed that there is porn of it
 
also
 
You ain't got no problem, @mhjr. I'm on the motherfucker. Go back in here, chill them niggers out and wait for the Wolf who should be coming directly.
 
!?
the thing that is distracting
is when you finish from it then find out that someone else did it
fear of disappointment
 
@Mhjr dont fear the competition. beat them.
 
Just don't expect to be the first one. Coming up with a truly original idea is very difficult. ;)
 
4:56 PM
it's just I am struggling to know why no one came up with such an idea
hahaha
and there is a great demography for it
 
@Gordon "implementing RBAC for enterprise scale" ... "JENNY'S ROLE CAN'T HANDLE 11 GUYS CAPABILITIES"
 
or whatever the term is
question
how do you patent it ?
 
@Bracketworks be amazed!
@Mhjr consult a lawyer
 
so I am thinking of implementing it personally then after a while I will hire programmers to harden it
 
@TillHelgeHelwig I was tooling with an idea to use text-recog on license plates; attach cameras to police cars; constant cross-reference against stolen/suspect vehicle plate DB; alert officer when a match hits.
2 weeks later, it's already been done.
 
4:59 PM
Sounds like you thought too loudly about it. ;)
 
@Bracketworks that's my greatest fear
but it's more complex than that
 

« first day (875 days earlier)      last day (4072 days later) »