« first day (600 days earlier)      last day (4351 days later) » 

3:01 PM
india
 
it's country
 
Non-USA countries may not have "states"... they may have counties, territories, provinces... or none of these things.
 
lol
"NO YOUR STATE!@"
"dude I live in freaking England!"
 
how can i make the yellow box appear behind the red box? jsfiddle.net/yWFMD
 
use z-index property!
 
3:08 PM
its set >_>
red box is pos rel, yellow is pos abs
 
You can't.
The yellow box is a child of the red box, and thus will always be on top of it.
z-index is relative to the container.
 
user1385191
that's an oft-ignored point
 
have you tried z-index:-1
 
next question then, how can i position the yellow box properly so its behind the red and content is in the red box is not interrupted by the yellow box.
 
you have a parenting issue
you cant currently
since the yellow is a child of the red
it cant be behind the red
 
3:10 PM
well thats a problem >_>
 
take the yellow box out of the red one, then your zindexing should work properly
 
If you were to change it so popupContent is the red box, instead of popupClass, then you could do it.
 
^ or that
 
right
ok
 
Yes, Loktar's solution is valid too
 
3:11 PM
/me has been validified! :P
 
@MattMcDonald I was told to mention this to you my.safaribooksonline.com/book/programming/game-programming/…
 
user1385191
 
by @incognito
 
user1385191
yeah; I'm working on precalculus right now
 
user1385191
3:13 PM
trying to learn enough so algorithm books are easier to understand
 
I need to do that
 
0
Q: poh-tay-toh poh-tah-toh, does writing the same code a different way affect readability?

zzzzBovI have a particular if statement that could be written in different ways, and I'm curious as to whether there's any significant difference in readability that I should prefer one over the other: The flow can be boiled down to if string does not begin with '_' do stuff else throw error ...

 
3:38 PM
how do i stop all current ajax requests?
 
use abort()
which method of ajax are u using
 
user1385191
not all
 
user1385191
only one at a time
 
im kind of stuck with a weird problem i always keep getting data from the previous ajax request in jquerys autocomplete in the success function
 
user1385191
and you need a reference to the request
 
3:39 PM
im using $.ajax();
yeah i did that
 
user1385191
think of it like clearTimeout
 
let me post the code
 
then try this
 
obj.live("keyup", function (e) {

		s_xhr_request = $.ajax({
			contentType: "application/json",
			type: "POST",
			async:false,
			url: "/Ajax/Default.aspx/search",
			data: JSON.stringify({ keyword: $(".nav_search_bar").val() }),
			success: function (data) {
				var d = data.d.split("||");
				nav_search_bar_names = d[0].split("!!");
				nav_search_bar_ids = d[1].split("!!");
				$("#nav_search_bar").autocomplete({
					source: nav_search_bar_names,
					select: function (event, ui) {
						console.log(nav_search_bar_ids);
 
var xxx=$.get(......
 
3:40 PM
dont mind some variable declarations as they may be global
 
user1385191
nobody is going to sift through that unless you post it in fixed-font
 
the problem is i keep getting search results on the search bar from the previous search term
 
user1385191
I'm code; highlight me and press ctrl + k to put me in fixed font!
 
URGHHHH
DRUPAL!!! Y U NO SEND EMAILS!
 
user1385191
I smell unintentional closures
 
3:41 PM
DRUPAL Y U NO SEND MONIES.
 
dude try this
 
user1385191
this is why nested functions must be used with great care
 
obj.live("keyup", function (e) {
if(s_xhr_request)s_xhr_request.abort();//this is helpful
s_xhr_request = $.ajax({
contentType: "application/json",
type: "POST",
async:false,
url: "/Ajax/Default.aspx/search",
data: JSON.stringify({ keyword: $(".nav_search_bar").val() }),
success: function (data) {
var d = data.d.split("||");
nav_search_bar_names = d[0].split("!!");
nav_search_bar_ids = d[1].split("!!");
$("#nav_search_bar").autocomplete({
source: nav_search_bar_names,
select: function (even
.....
 
CTRL + K FOR THE LOVE OF PETE!
 
user1385191
2 mins ago, by Matt McDonald
I'm code; highlight me and press ctrl + k to put me in fixed font!
 
3:44 PM
@Somebodyisintrouble do you mean to just clear the last request? with if xhr!=null xhr.abort() way?
 
@FlorianMargaine ok being the only Drupal guy i know in here... have you EVER set up email?
 
and drupal_mail() yea cool how to I setup an outgoing SMTP server that is not my localhost
 
it helped me also
 
3:45 PM
PHPMailer does not want to work for me with known good SMTP configuration (my current work email is through godaddy :<)
 
user1385191
if I knew how to work with Drupal, I'd be long gone by now
 
user1385191
tons of jobs for that crap
 
nope still gives me the results of the earlier request
 
i'm just beginning... there is a few terminologies that threw me off right away because they conflict with other things.
 
@rlemon looks like it can't out of the box, which is why there are modules using phpmailer drupal.org/project/smtp
 
3:46 PM
@rlemon ugh yeah man.. I had to do an email form for a client who uses godaddy...
frick its terrible
had to use godaddies mailer.php or some crap
and wtf.. it sends batches every 15 minutes.. so testing is pita
 
@Somebodyisintrouble i think i have the site live so if you can chk it out?
 
@rlemon but it looks like your issue is related to godaddy :D
 
@FlorianMargaine :( 7.X does not install I have to use 6.X
i tried godaddy and gmail SMTP servers
 
@Yohann have you googled this topic it has been asked on so before
 
3:47 PM
there is a 6 version
 
both work with thunderbird / outlook / even PHPMailer (newest class 5.X) in a standalone document.
 
@Yohann Use console in browser to see each request made
 
i still don't really understand the whole module thingy... i have to install drupal at home and fuck around with it a bit.
i'm used to frameworks and such, Drupal feels very Wordpressy
 
@rlemon thats my impression of it too
 
I get nervous opening and editing the files directly because I don't understand how they all relate.
 
3:50 PM
seems like people make the choice between Drupal or Wordpress, so it makes sense.
 
it's never the same feeling as pressing your own site... but for something like i'm building that would be an epic undertaking for one person.
 
@Somebodyisintrouble the results from the ajax request and what appears on the autocomplete are totally different . there are like 8 terms in the response and only 3 in the autocomplete
 
@yohann give your website address
 
@rlemon basically, drupal does a lot of actions to render an html page
 
3:51 PM
if anyone can point me to a SharePoint but not sharepoint that would be awesome
 
and it allows drupal to "hook" into a lot of places when a page is loaded, though allowing you to change anything
 
@Somebodyisintrouble sm.duesta.com you can login with facebook
@Somebodyisintrouble or if you want i can add you on the db straight away
 
@rlemon alfredo or something like this
alfresco alfresco.com
 
Hi may I ask a favor here?
 
ask, you may not get an answer
 
3:53 PM
free??
 
@rlemon community version is
never tried it though, I just know it's sharepoint direct concurrent
 
I answered the question for the bounty and poster won't award because it is not IOS code, would you please look at it and if you agree with me up vote it? stackoverflow.com/questions/10723237/…
 
@Yohann where is that faulty input
 
@gjpc... im confused
because thats not even js code
so why post in here asking?
 
it is called pseudo code, it is used for writing specs
 
3:55 PM
can somebody
explain me OSI model
 
@Somebodyisintrouble if your logged in you'll be in the dashboard or you can look on any other page too the search bar is on the top
 
network OSI model?
 
yes
 
I need CRM (address book, notes, views (preferably), and shared of course), Document management (file uploads conversion I can take care of) and blogs / articles ohh and books.
 
I know what psuedo code is.. just not sure why you are asking us to upvote it :?.
Unless your someone who hangs out here often or something.
 
3:56 PM
@loktor so I can get at least half the bounty, but only if you think it is an answer to the question
 
@Somebodyisintrouble here are the weird things i noticed
1) When i press one character nothing happens (no autocomplete) but ajax request was 200 status code .
2) Theres a mismatch b/w the results and the term but its not from the server side , i think its a javascript variable issue
 
it's basically :

1/ "physic is bottom" cable, RJ45
2/ "TCP/IP" is just a level of abstraction over it
3/ "Application" (http) is another level of abstraction
4/ browser is the last level of abstraction
 
@rlemon the flags you say
 
I upvoted, if it's that complex in pseudo code only then why should they expect you to fucking write the whole app
 
-dd forces it to use http if i am correct
[ direct download ]
[ -f forced ]
 
3:57 PM
@Abhishek in the question not here.
 
[ -g ] global
 
i'm forcing you to improve your answer :P
 
Oh (XD)
but idk how they happen to work they just do
 
OSI model is just "what are the levels of abstractions for a network communication to happen"
 
but it would be nice to know what flags your running instead of just running blind commands.
 
3:58 PM
@Esalija Yea I gave him point in point then he asked for more, so i gave him psudo code
 
btw is it me or the "boxing" thingy for SO questions doesn't work anymore in the chat?
 
afk 1/2 hour
 
@yohann do you know that pressing ctrl or alt are also making ajax request
 
okay finding
 
hogan \o/
do people have an opinon on the difference between the with-templar and with-routil pattern?
var template = Templar(req, res, opts)
...
template(uri, data)
// versus
...
template(req, res, uri, data)
 
user1385191
4:02 PM
you should tell the Twitter folk that you don't use semicolons
 
user1385191
they'd probably hire you on the spot
4
 
hoganize, templar, hogan
 
@Esailija what's wrong with the name hoganize
 
whats wrong with EnterpriseIntegerManager
 
function hoganize(templar, uri) {
   return "Whatcha gonna do when Hulkamania runs wild on you";
}
 
4:03 PM
what does hoganize do
 
@Esailija templar and hogan are not modules I own
hoganize returns an options object you pass to templar that consists of the templating engine and a folder for the templates
 
@Esailija it rips off your shirt in one solid pull!
 
user1385191
when you post node code in the JS room, you're probably going to get quite a few people who have no idea what your code means
 
user1385191
(myself included)
 
@MattMcDonald :D
 
4:04 PM
google translate doesn't find a finnish translation for templar
It reminds me of some RPG class
like paladin
 
templar is a templar :P
The Poor Fellow-Soldiers of Christ and of the Temple of Solomon (), commonly known as the Knights Templar, the Order of the Temple () or simply as Templars, were among the most famous of the Western Christian military orders. The organization existed for nearly two centuries during the Middle Ages. Officially endorsed by the Catholic Church around 1129, the Order became a favored charity throughout Christendom, and grew rapidly in membership and power. Templar knights, in their distinctive white mantles with a red cross, were among the most skilled fighting units of the Crusades. and bu...
 
@rlemon LOL
 
user1385191
templars were essentially holy knights
 
I was thinking the same thing.. Templar vs Hulk Hogan
 
what's the difference between templar and paladin
 
user1385191
4:05 PM
they had a big part in mucking up the Crusades
 
Templars were badass
 
paladin is a title
 
Hulkamania would own their asses
 
templar is an organization
a human who is a templar is a member of the templar organization
 
"The paladins, sometimes known as the Twelve Peers, were the foremost warriors of Charlemagne's court, according to the literary cycle known as the Matter of France.[1] "
 
4:06 PM
I can see how this is all very related to a node.js program
 
I was in the Templars once then I took an arrow to the knee
 
lol
 
@Esailija names in node are more of a "what is interesting / funny / lulz"
like hoganize is pretty lulz
 
couch().lawnchair().hoganize().withTemplars()
 
WHAAAAAAAAAAAAAAAAA ?
 
4:07 PM
hoganize simply adds support for hogan.js to templar
 
isaacs removed the post where he posted something about -dd
 
user1385191
I don't really care for template engines
 
@MattMcDonald what do you do for server side rendering? DOM?
 
I don't really care for IE4
4
 
+ over 9000 for esailija
 
jim
4:09 PM
hi! are there Facebook gurus here?
 
user1385191
PHP is already a templating engine
 
well with PHP I agree
but the context was node.js
and templars.
fighting hulk hogan
 
user1385191
I just pass an array to extract and then that passes variables to the template
 
The JavaScript Archive Network (JSAN) is an on-line collaborative resource to develop Open Source libraries and software for JavaScript. JSAN's aim is to create the JavaScript equivalent of Perl' s CPAN. For example, the module Joose is an equivalent to the CPAN module Moose. In addition there is Test.Simple and other modules that are very similar to their Perl counterparts. Background JSAN was created by Casey West in 2005. Due to social reasons Casey West left the project. With the master website lost, people could not upload modules, and JSAN had several other limitations in its devel...
I didnt even knew that it existed
 
!!> hoganize(@Raynos);
 
4:11 PM
@rlemon SyntaxError: Unexpected token ILLEGAL
 
user image
2
 
:DDDDDDDDDD
 
expected output
 
LOL
 
user1385191
wow
 
4:12 PM
@rlemon xd
 
user1385191
I think he'd make a good macho man
 
!!> hoganize(@rlemon);
 
+1
 
@Raynos SyntaxError: Unexpected token ILLEGAL
 
@Raynos i'll be back
 
user1385191
4:13 PM
 
user1385191
ART THOU BORED?
 
woot you remember him ?
 
lawls
whats with the stashes
 
I was an Ultimate Warrior fan
@Loktar hoganized
 
4:16 PM
I wasnt allowed to watch WWF :(
 
such a waste of time
 
When I was little I didn't know it was fake
 
i did
it was still cool
now my nephew watches it with my bro - have you seen it lately?>
it is less WWF (it's WWE now) and more Days of our lives.
no more blood
 
lol Ive seen commercials, they make me groan
 
and we tell my nephew it's not real, he tells my mom "Grandma, I know you say it's make pretend but I have my doubts..."
gives her stern look
 
4:19 PM
@Loktar same
_troll.hoganize(@FlorianMargaine);
 
!!> hoganize("rlemon");
 
Ok
 
@Esailija "http://i.stack.imgur.com/5t3lY.png"
 
I think this is enough
 
oh man it doesn't embed the image
 
4:20 PM
Don't use quotes
 
bbl
 
@Raynos looks nice, could I implement it in ThinAir? As I'm using non standard parameters?
@Raynos I'm talking about latest ncore
 
RT @karlpro: SPDY review by @opera http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0498 on HTTP WG mailing-list
RT @stevefaulkner: ZoomText reading canvas sub-DOM content in Firefox 13 http://youtu.be/0LoC5sLPJ9s #accessibility #HTML5
 
@TomShreds just use require("ncore")({ options })
@TomShreds it works a lot better if you use the defaults
alternatively you can set process.env.NCORE = "path to json file with options"
 
@Raynos nice! And Is it with the latest version on master?
But I'll still need that part:
moduleLoader: {
skip: /test|public|node_modules|bin/
}
 
4:38 PM
@TomShreds it's 2.2.3
@TomShreds sec. Ill fork and patchc
 
Nice thanks!
 
ooooh pictures! I took this of the venus transit on tuesday from my deck. Next transit is in a 173 years circlesoft.com/images/venustransit.JPG
 
@TomShreds it'll be hard to do it with the package.json itself :\
it will be process.cwd dependant then
 
@gjpc awesome :
 
@esailja tyvm!
 
> Note: Make sure you drop it into the box and no where else!
what the fuck? was it easier to write that message than just do document.ondrop or whatever
:I
 
@TomShreds nope it won't work with pure JSON config :D
 
dont ask me
 
@Raynos why?
 
Because JSON does not support regexp
 
4:46 PM
@rle
 
You'll have to use the defaults to get the sugar :)
 
Oh forgot about that
 
lol if I want someone to drop files I always have the entire page catch them
I never understood why I need that little box to aim to
especially since if you miss, the file will be opened (mp3 file opening with full volume <3)
 
@Esailija i agree
 
it will cause some heart attacks, I get spooked everytime a website suddenly plays sound out loud
 
4:49 PM
ewww
websites with sound by default.
double ewww, websites with sound I cannot turn off.
 
22 minutes till end of bounty, does anyone else think I answered DaveMac's question so I can claim at least half of it? --> stackoverflow.com/questions/10723237/…
 
bounty of 50 rep. pfft. a good answer will rake in hundreds of rep without a bounty
(i don't have any examples.... )
 
It is a beginner question, I was trying to help out a kid
@rlemon Those are the answers that are right time right place, there is a luck element to Stack Overflow, I got a mediocre one of those
 
no over time good answers will prevail with high votes
everything is google indexed
 
lol
True True
 
4:57 PM
so wording in your answers is important. don't just link to other sites.
 
Inst his chat about java script???
ISNT
 
it's about ECMAScript and its many variants (primarily JavaScript). idk what this java script you speak of is
 
JavaScript sorry
I spaced it out by accident
 
ok so what is your concern?
 
SIGH
 
5:00 PM
var AnswerUpvotes = useLuck() || prepareWellThoughOut_WellWorded_WithExamples_AndCitedSources();
 
Is there any way to obtain the hostname used when receiving a request in a node.js app?
I can get the uri but not the hostname
 
> request.headers.host
eww google why you old docs link me
 
haha
oh really? nodejs.org/api/http.html#http_request_url didn'T see this here
 
nodejs.org/api/http.html#http_request_headers the documentation is so epicly informative for request.headers i'm surprised you even had to ask this question. ... pfff noob!
</sarcasm>
 
@rlemon the luck part is not only being prepareWellThoughOut_WellWorded_WithExamples_AndCitedSources(); but also being the first answer that gets a significant up, look at this one stackoverflow.com/questions/4217107/… provided a better answer (no need to convert) but only got one up vote
 
5:03 PM
LOL, Actual related docs:
request.headers#
Read only.
 
@gjpc yours is a sensible answer but does not answer the question; which is how to convert. now whether conversion is required. sometimes the smartest answer does not actually answer the question but deems the question moot... these are often times not upvoted because they do not in fact answer the question.
 
i just cant seem to get jquerys autocomplete to work properly , i put maxLength 0 and cacheLength 1 and tried pressing "a" i dont get a drop down, when i press "aa" i get the results in a dropdown for "a"
im doing this in a $.ajax({success:function() {obj.autocomplete();}); as an example
 
@rlemon, the guy needed to sign an apk with pfx, I provided the answer
 
@Abhishek your one-word shit sucks :D
 
>_>
not mine (x_X) i copied lol
 
5:15 PM
yeah, you copied.
@Abhishek you network admin.
oh, is this why you asked me about osi?
 
@FlorianMargaine how would I go about setting up a default dashboard for my users?
 
look at homebox
subscribe on drupal.org
and see your default dashboard
that's homebox
maybe there's something specific to openatrium though
 
yea I have a dashboard.. I want to set the default blocks in it
 
don't really know then sorry :/
 
whats annoying already is disabling / enabling modules with dependencies.. I have to enable the one, then save, then enable the next, then save.. ugh
 
5:21 PM
uh, no
to disable, yeah it's a pain
to enable, it will tell you you have to enable the dependencies, and will propose you to do it for you
 
enable a module that depends on ABC and DEF and they are both disabled... and say DEF depends on ABC as well you have to enable ABC, save, enable DEF, save, then enable your last module.
it isn't for me
 
ah, maybe that's d7
 
just disabled the checkbox
at home I will setup a personal site with d7
muck around and see what it's like
 
in d7 the module management is better
you can download a module from the interface
 
sweet
dropping them in then having to go change all the permission was also becoming annoying :P
 
5:24 PM
@EvanJacobScudderPeiperl you don't have enough reputation to talk in there
 
i'm a lazy developer
 
@rlemon so are we all
you should see what drush is
it's a CLI tool to manage drupal efficiently
 
@EvanJacobScudderPeiperl I wanted to upvote you to get to 20 so you could chat but then I see this... stackoverflow.com/questions/10919215/…
 
ex: drush dl module <-- downloads and installs module
drush en module <--- enables module
 
@TomShreds you should get more used to the low level http API if your going "wut headers ._."
 
5:29 PM
@Raynos that is what I'm working on right now hehe :-)
 
RT @sgalineau: Best blog post ever http://rogerandmike.com/post/24006177542/html5-the-next-big-thing-for-content Executive summary attached http://t.co/Wn145piq
 
@TomShreds consider reading the routil source or tako or npm-www
 
@TomShreds don't read sources yet, start by reading on wikipedia how http works
 
> Hypertext Mark-up Language 5 (HTML 5) is just a programming language.
isn't is a Markup Language not a programming language?
 
you're right, @rlemon :)
 
5:42 PM
lol first sentence in and the page is already closed for stupidity
i can see where that article is going
also, dafuq is "Hypernet"
Hypernet === Web 11.0 (or whatever we are on) ??
 
@FlorianMargaine good point, that's a good start
Ideally you should read the HTTP spec and fielding's thing on REST
but that's overkill
 
three links to read to understand quickly how http basically works: en.wikipedia.org/wiki/Hypertext_Transfer_Protocol , en.wikipedia.org/wiki/List_of_HTTP_headers (at least once to see what exists) and en.wikipedia.org/wiki/Representational_State_Transfer
 
user1385191
just read HTTP 1.1
 
@MattMcDonald that's a PITA to read, seriously
 
5:54 PM
I sat on a wooden bench today with my keys in my back pocket....
that was a PITA
 

« first day (600 days earlier)      last day (4351 days later) »