« first day (611 days earlier)      last day (4336 days later) » 

8:04 PM
ffs, using moderator tools to close posts doesn't count as a review
 
What I learned in School:
- Programming is awesome
- There are always concrete specifications
- Bugs? Changing Requirements? Users? These are all foreign concepts to me.
What I learned in my first job:
- Hack at it until the client stops bitching.
- I use nothing I learned in school.
- I get paid more than the guy without the degree... but he ends up fixing all my bugs...
 
it's like the rubics cube picture I linked one day here
 
Anybody here have any experience with FogBugz?
 
!!> ',,,' == new Array(4)
@Zirak true
I love you, javascript
 
8:15 PM
rules for == are simpler than rules for ASI :P
 
yea
if It can be converted... assume it is.
how hard is that?
 
not very hard
 
You're like an old schizophrenic lady with bi-polar disorder living in a house made of pizza. I just love you, js.
4
 
Easier to explain than <?=~žœ›š™˜—–•”“’‘ŽŒ‹Š‰ˆ‡†…;
 
@copy, what is this?
 
8:21 PM
PHP
 
you are kidding, dont you ?
 
No
 
what does it do ?
 
Print (part of) the alphabet
 
ok i c
 
8:23 PM
I guess it depends what encoding you save the file in
or?
 
Those weird characters are a valid string literal without quotes
~ inverses the bits
 
I'm still incredibly amazed and baffled at the notion that System.out.print( 'Hello World' ); is a working php script
 
I get :A:lE:^{]4ckl]bcfg:B:mF:_O4y^_Yin utf8
ok I changed and get acdefghijklmnqstuvwxyz now :D
pretty awesome
 
you mean this: <?=~žœ›š™˜—–•”“’‘ŽŒ‹Š‰ˆ‡†…; will print this ?
the alphabet?
 
yes, though I didn't bother to enable short tags
<?php echo ~žœ›š™˜—–•”“’‘ŽŒ‹Š‰ˆ‡†…;
 
8:26 PM
wow i thought it was just a joke
:D
 
haha
 
is it only interpretable in php?
or can i also print this in python or other languages ?
 
no other language comes to mind
 
@rlemon, how do you run the script on teh?
cool stuff to know
 
8:32 PM
can I force different encoding in a form submit
 
something like this
<form accept-charset="ISO-8859-1">
..
 
ahah
it's working
 
i think i have different encoding set on browser, i see only bold ?'s
 
I mean forcing different charset is working
 
@doniyor CTRL + ENTER executes the script
RTFD
Usage

Just type your PHP code in the left hand side there, and when you're ready to run it, just hit CTRL+Enter
 
8:37 PM
oh okay. cool
 
I guess they do some server side manipulation
 
in what sense?
 
if you submit <?php echo ~žœ›š™˜—–•”“’‘ŽŒ‹Š‰ˆ‡†…; in ISO-8859-1 the string ends up being a repeating cycle of 3 bytes or something
 
really ?
cool
what an invention
@rlemon
What I learned in School:
- Programming is awesome
- There are always concrete specifications
- Bugs? Changing Requirements? Users? These are all foreign concepts to me.
What I learned in my first job:
- Hack at it until the client stops bitching.
- I use nothing I learned in school.
- I get paid more than the guy without the degree... but he ends up fixing all my bugs...
:D
you are right, this is most of the times true
you guys are php guys?
 

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
 
8:45 PM
honestly i dont like php that much
 
they are ^
 
I don't like .NEt much
 
yeah me too
me neither
 
though it's mainly based on that all the developers I see posting questions about it don't even know how web works
 
it's a troll .. stop feeding
 
@esailija, you mean .NET people dont know how web works?
 
yes
 
coffeeScript people dont' hate JS - they just are the hipsters of the JS community
 
8:51 PM
hhhh yeah true
 
they all own iSomethings... and wear scarves in the summertime.
 
user1385191
two out of the top five answerers work for Google
 
user1385191
another is writing a book
 
user1385191
lol
 
LOL
 
8:52 PM
Google would have won over a lot more people if they named it iJS or iDart or iSuck or something i
 
@rlemon: they all own iSomethings... and wear scarves in the summertime. who ?
 
user1385191
Google could have won more fervor if they had left Java at the door
 
iCannotThinkOfAGoodName
@doniyor hipsters. hipsters and pregnant women.
 
lol yeah
 
user1385191
8:53 PM
"hipster" is a pejorative with no meaning
 
user1385191
"ignorant" is more befitting
 
@MattMcDonald , most of people have managed to forget that language
 
@MattMcDonald no... I like Hipster.. because then I can determine varying degrees of hipster.
you can be an ignorant hipster.
or an arrogant hipster
or a hipster barista
 
user1385191
"hipster" is the new "fascist" because it has been used so widely that it no longer has meaning
 
to you maybe.
I see the word 'app' used widely as well, it seems anything worth selling has converged into the 'app pool'
appify your world.
 
what can i do with hipster, is it a language ?
 
I decided to laugh instead of cry
 
Neyphicy has a meaning. It's just that nobody knows it besides me.
 
but that doesn't stop me from using it (where I feel) is proper.
 
@rlemon oh, that's just neyphicy. You're acting like a complete neyphic.
 
8:57 PM
@doniyor window.$ = h$pster = jQuery
 
really? so it is something like jquery ?
i can hardly imagine how many languages there have been untill now..
 
7
 
kidding?
 
!!/tell doniyor urban 7
bah, hell...ReferenceError my ass.
 
user1385191
@rlemon can you define the word then?
 
user1385191
9:03 PM
because its definition seems to be: "someone I don't like" in society
 
Do hipsters view themselves as hipsters? Does someone aspire to be a hipster?
 
hipsters
 
8 identical answers in 3 mins stackoverflow.com/q/11090988/995876
apparently you can get 5.5k on stackoverflow without knowing what google is
ok it's 9 now :D wtf
 
out of votes :D
 
9:08 PM
It has to be a duplicate
 
and del-vote right after
 
someone is actually taking their time to upvote all 10 answers almost
 
well .. at least nobody with 10k+ has answered
 
I couldn't find a duplicate.. obviously that question is too retarded for duplicates
 
the question is reasonable enough to get 9 answers at a time
 
9:13 PM
oh .. nice , i have reached first answer with 50 points
 
if i ask "how can i print the word "test"´in js?", ..
 
well, one can google the question title
 
@doniyor , please dont troll
 
sorry
 
user1385191
ah; the tried-and-true: "can I get this c0adz; but I prefer a one-liner"
 
user1385191
9:18 PM
"sure; just use a ternary"
 
user1385191
 
hey guys, i need small help
if you see here, afect.stahlbaron.de/stab , the bubles are showing up far from the correct place, if i resize the window then it is showing up in correct place
is it possible to fix this to this place wihtout the need for window resize,, ?
 
one-liner = statements; statements; statements;
I just got 9 upvotes that didn't count for anything \o
the other answer was so retarded I couldn't help myself
 
new to ajax. finding confusing answers to my question: how to call php page from jquery dialog box.
i know ajax = client and php = server, but is there a way to call a page based on a dialog confirmation?
 
9:35 PM
what have you tried
 
the first problem is php. ditch that crap.
 
@JohnMerlino that ain't happening. so, next
next is pastie.org/4110935. i used the dialog code from jquery site
 
says ruby
 
i can get the dialog box to work. now i just need to give it something to do
 
rather than sending as the resposne body to browser, you just pass it back to javascript as a string, and then append it to the dialogue box
what you describing is trivial stuff
 
9:38 PM
maybe trivial for those familiar with it. not so much for those who are not.
everything is trivial once you learn it
 
well it's pretty simple
if you have some page
$.get("page.php")
 
so, if they confirm, just $.get the page?
 
that sends a request but doesn't process it
what does page.php respond with
 
it triggers a process to update records as "archived".
if use doesn't want to, then just leave page as is
 
"Archive records?": function() {
    var self = this;
    $.get("page.php", function(){
        $( self ).dialog( "close" );
    });
},
this would send the request, and after the request is complete, it closes the dialog
but is really GET request enough?
 
9:43 PM
ahh, cool. that makes sense. thanks very much.
 
maybe you want POST with some data as well..
$.post("page.php", {hello: 1, foo: "bar"}, function(){
    $( self ).dialog( "close" );
});
 
well, no. not really. if they want the records archived then for now, it's all or nothing. No records will be returned
 
for page.php it appears as $_POST["hello"] === "1"` and so on
yea but how does page.php know what records to archive even
 
If you have a server-side action that has a side effect (like archiving a bunch of stuff, or deleting stuff, or whatever), then it really should be a POST and not a GET, even if you don't have any meaningful data to send...
 
functionally, user is pulling in a record set, updating them, then pushing out to xml. @ChrisNielsen thanks. that's a good point
once records are updated, they're done. we just want to keep them around for archive purposes.
 
9:46 PM
ok cool
 
haven't got a spec for doing anything with them after the fact
 
one gotcha is that user can click the button multiple times before the request completes
that would send multiple requests
I think, I don't really use jQuery UI
 
appreciate the walk through. @Esailija yea, not sure if that'd cause a problem or not. i can test a use case for it
lemme give that a test run. see how it works. thanks again everyone.
 
> I have a project where I need to have two separate JSON lists which means I cannot use JsonResult in my controller so I need to parse client-side.
/ragequit
 
10:50 PM
Hello!
 
11:10 PM
Hello
 

« first day (611 days earlier)      last day (4336 days later) »