« first day (2012 days earlier)      last day (2928 days later) » 

9:00 AM
@Sheepy It's an economic version of PITA
 
!!urban PITA
 
@Sheepy [pita](http://pita.urbanup.com/635466) 1) Acronym for Pain In The Ass, a major annoyance.
2) Flat bread of Mediterranean origin, eaten as is or filled with small pieces of roasted meat, veggies, condiments, etc.
 
!!define PIA
 
@Mr_Green PIA Personal Injury Accident
 
!!urban PIA
 
9:01 AM
thank god not "Pakistan Internation Airport"
 
@JanDvorak pia this person is UNIQUE because she isnt like a regular girl, she doesnt judge a book by its cover so she isnt SUPERFICIAL, shes has the greatest personality and knowin her is knowin the best thing eva, she remains OBLIVIOUS to the fact she has soo many admirers including me, she has this bad habit to PROCASINATING her problems, especially revision...but at the end ov the day she has a cute smile to make sure no(snip)
 
The fuck?
 
@Mr_Green Anyway. Sorry JS has not built-in timezone table (despite that browsers have them). You can get local timezone, but you must either hardcode the EST offset or query an external source. Usually we find a library that do the hardcode for us.
 
yeah
 
Mmm, pita. Damn you guys and your lunchtime reminders
 
9:08 AM
Go go go. I'm having a sandwich :D Bacon, Mushroom, and very soft cheese. Mmmmm.
 
@Sheepy I can't go. Also in other news, I hate you
 
@towc view-source:http://shared.awalgarg.tk/ this one?
 
9:28 AM
@JanDvorak Except some time zones aren't offset by a full hour and they change in and out of DST on different dates
 
TIL that the gasoline sold in summer isn't the same kind as the gasoline sold in the winter
 
9:43 AM
what is this dingding.in ?
completely copy paste of stackexchange networks
"the owner of this website (stackexchange.com) banned your IP address"
is this site of stackexchange?
 
2
Q: Mirror site with a funny name?

user96343I came across this site http://math.dingding.in/ while I was looking up a user online. I am just curious how the above link leads to the same site(I mean the web address seems a bit unconventional.) Just curious.

267
Q: A site (or scraper) is copying content from Stack Exchange. What do I do?

PopsSince day one of Stack Overflow, all content posted on Stack Exchange sites by their users (i.e. you wonderful people) has been provided to the whole universe under the CC-BY-SA license. For my fellow non-lawyers, that license basically means: Anyone can use any Stack Exchange posts at any time...

 
hmm thanks
 
posted on April 19, 2016

Recently Scientia Mobile sent me their Android WebView stats over the first quarter. I edited them slightly and put them online. I haven’t studied them in detail yet — to be honest, I’m not yet sure what my questions should be. Also, they are more detailed than the ones from December I published earlier — for instance, we now also have Android WebKit data in addition t

 
10:05 AM
Hey guys, I´m using the Google Maps Directions API with the DirectionsRenderer. Does anyone know how to get the entire path? On a normal PolyLine you can say polyline.getPath().getArray().toString() and you have the entire path. But this doesn´t seem to work for the directonsRenderer. Any Ideas?
 
I am worried that no man's land is going to wind up being a repetitive game
I wish there were a demo or something
 
10:22 AM
@Mathematics Define "working". A site opens when I click the link
 
can't be true
 
It's fake, but funny.
 
it didn't made me laugh
 
I sell sense of humor, 50% off.
 
10:37 AM
@littlepootis hey now, don't get any funny ideas
 
> I don't know what they are, but they are foreign internets
 
Also, that offer is laughable
 
I can't believe how difficult it could be to find a OData explorer/ visualizer / Query Builder
 
Bfu talking about WiFi networks
 
(removed)
 
10:45 AM
Yo dudes! What do you guys use to indent javascript code? I tried Resharper in VS but I think it changed variable's names... and I don't really want that... even if it actually improves things. Last thing I need a change in code I cannot explain (more than usual)
Hya @Neil, have you had your breakfast?
 
@Thaenor yes, but ready for lunch
@Thaenor sublime does that sort of thing
 
@Thaenor 2 spaces
 
@Neil OMG it's almost midday!! I've been wasting time! IT'S THE LAST DAY OF THE SPRINT, EVERYBODY PANIC!
 
choo choo
 
@Thaenor you instill panic in me.
 
10:51 AM
Do any of you guys know a company called Marfeel btw?
 
@Thaenor 1 tab
@littlepootis 2 spaces are worse than 1 tab :S because of memory usage
 
I meant more like an addon or something... I think I could use Webstorm and do like ctrl+L or something.... ofc I could just do that...
 
@Neoares that isn't the worst argument for tabs I've seen
 
@littlepootis so why do you use 2 spaces
 
I can type 2 spaces everywhere
 
10:56 AM
same as tab
 
@Neil why is that?
 
Okay, do this: echo [whatever evaluates to tab] > somefile in linux.
 
I don't think I'm gonna do that ever
so I don't care
I don't like bash editors
 
is it not a bit harder to see indentations if you use 2 spaces instead of tabs ?
 
10:59 AM
you are telling me to do that on linux command line
 
So yeah, spaces are better than tabs
 
especially if you have a quite structure of code
 
@KarelG yes it is
 
@KarelG why?
 
at least for me
also tabs are faster to write and delete
 
11:01 AM
how are they faster to write and delete?
 
since you only press the key one time
 
!!tabs or spaces?
 
@AwalGarg spaces
 
!!marvel or dc?
 
@Neoares dc
 
11:02 AM
@Neoares No, you just press the tab key once.
 
see?
cap's drunk
@littlepootis yes, that's what I said
and that's why it's faster than pressing space 2 times
 
ummm
well
 
and it's 1 byte cheaper for each indentation :P
 
Do tab (ab)users really think we press space n times every single time we indent?
 
yes
 
11:05 AM
@littlepootis it's a matter of preference though, but a visible indentation is easy for code reading if you want to focus on a specific block
@Neoares most editors automatically adds the indentation spaces/tabs if you create a new lines
 
@KarelG yes, but they add tabs
 
no
 
except you can set it up
 
well, so far i know
:p
 
well, visual studio add a lot of spaces instead of tabs
actually it adds 4 spaces ._.
 
11:07 AM
you can configure it
 
I hope so
 
i replace it to a tab because the indentation space is same
 
yes, and it's 3 bytes more expensive
 
Also, what tab length? :P
 
tab is 1 byte long
 
11:09 AM
no, how many spaces long?
 
oh, 4
the default
 
not really, 8 is the default.
 
depends on the editor
I've never seen that
 
I leave you for 5 min and you're talking about the optimizations between spaces and tabs memory wise? Guys, let's talk about boobs!
just kidding :D
 
@Thaenor wrong chat if you want boobs
 
11:10 AM
> In practice, settable tab stops were rather quickly replaced with fixed tab stops, de facto standardized at every multiple of 8 characters horizontally, and every 6 lines vertically
 
since they are NSFW
@littlepootis source?
that sounds like a MS office quote
 
hahah, i just kidding...
 
I have yet to see a code editor that has 8 spaces by default for tab though
 
@GNi33 vim
 
11:12 AM
@littlepootis just press tab on notepad++ or another editor
 
They're relatively new and don't care about standards.
 
you're not kidding
 
Most style guides that use tabs for indentation have 8 as the tab-size to not mess up alignment.
Take Linux Kernel, for example.
 
@littlepootis linus doesn't use tabs for indentation, though. He uses spaces. 8 of them at a time.
 
11:14 AM
I don't like 8 spaces for indentation
 
omg stop editing
 
sorry for all the pings. I had a stupid af exam today so I am sort of drunk
 
wat
 
> Outside of comments, documentation and except in Kconfig, spaces are never
used for indentation, and the above example is deliberately broken.
- Kernel style guide
@AwalGarg Linux Kernel, not linus
 
Can I by a solar panel for my home. so that I don't need to depend of govt for electicity?
 
11:21 AM
If you can afford them, why not.
 
@Mr_Green eh, do you depend on your gov for electricity ? Are there not companies for it ?
 
I have no idea about them. what is the price
 
@littlepootis that's why it's a never ending debate. It eventually settles down to personal prefence
 
user5992646
hello. :)
 
@KarelG it is a govt's firm here.
 
11:23 AM
@Mr_Green google it, check if you can get grants for installing solar panels and do the calcs
 
I was actually asking whether someone installed it or not.
 
we had a 5000 EUR grant before for installing solar panels. But the biggest winners were large companies whom could afford lots of solar panels. Eventually the granting budget became negative so that they had to stop it
 
@Mr_Green Our apartment has solar panels (although they aren't enough). It cost them around 50 lakhs, I guess.
euh
@KarelG But tabs have their downsides. And spaces don't have any. So I just use spaces.
 
I saw once in discovery about a small wind turbine which can give electricity for 24 hours
and they are affordable too
 
err. it depends of the efficiency and wind speed
 
11:26 AM
Wind turbine in a city?
 
if the wind speed is too high, turning off wind mills is mandatory
 
yeah doesn't work but it has alternate power of cycling too
 
@littlepootis yeah, somewhere above this part there is something about 8 character indentations. what linus means is that either you use tabs which are 8 chars long (yes, he actually thinks that), or you use 8 spaces. Linux uses tabs.
or maybe not above but below. but near it
 
@AwalGarg youtube.com/watch?v=LLBrBBImJt4 this is where I learnt they use tabs
 
hello guys
 
11:29 AM
@ATJVS Welcome to the JavaScript chat! Please review the room rules. Pleasedon't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Coding Style discussion starts at 6:57
 
:| Forgot a large folder of files documents at work.
gotcha issue technical unemployment this afternoon
 
how can i serialize html table and so pass to controller with ASP.net MVC ?
 
HTML is a serialized format
 
@ATJVS you need to pass the data from the model to the view. The view then translates it to a HTML table.
 
11:33 AM
what is the best plugin to create graphs?
 
thanks. the first example is what I was looking for :D
 
Wait, ES6 brings reflection? JAVASCRUBY!
 
yes
powerful thing, but open for abuses :|
 
11:50 AM
for morris to work I need to include raphaeljs and jquery
 
user5992646
My second day of Javascript learning. :)
 
and for raphaeljs, I need to include eve
 
for eve?
 
nothing thank god
 
d3 is standalone
 
11:56 AM
In my office most of them know it so was thinking something else
maybe I should go with the same
 
in PHP, 3 hours ago, by Paul Crovella
https://www.google.com/transparencyreport/safebrowsing/diagnostic/index.html?hl=‌​en-US#url=google.com
 
what is protractor in node? checking source code of something, from nowhere line appear:
var promise = (global.protractor ? protractor.promise : Q)
 
12:23 PM
Can someone shortly update my fiddle to show me how I can return a value from the module pattern. I hang there for a while. I have commented to explain where I need what :) Would be really nice! jsfiddle.net/ohzt2npr/2
 
it ever gonna work ????
XMLHttpRequest cannot load localhost:21088/WcfDataService1.svc$metadata. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:19235' is therefore not allowed access.
it's localhost man !!! seriously
 
different ports === different origins. rtfm
 
Just set Access-Control-Allow-Origin
 
@littlepootis where ? I looked at first few links on google but I don't understand them
 
Oh, man. Just had one of the best meals. Salad bowl filled with rice beef strips and an egg on top @Thaenor
 
12:31 PM
That is not a salad
@Mathematics It depends
 
@Neil HAHAH! We're lunch buddies now... I haven't had my lunch yet, but I'm about to eat a Veggie burger with bacon rashers on top.
 
@littlepootis that's very observant of you
Salad bowl because it was a generous portion
@Thaenor bon apetit
 
12:48 PM
@Zirak Fun stuff! I did an assignment like that in a Crypto course online
 
help me fix it
 
!!tell Hisham format
 
good fix
 
@Hisham Format your code - hit Ctrl+K before sending and see the faq
 
bin is no fix
ok
 
12:50 PM
Or preferably, use pastebin.com
 
@Hisham try to meet us halfway. What is it supposed to do? What does it do instead? Why do you think it should do what it doesn't?
 
Please don't recommend that site :( It is full of ads and trackers. Github gists or really whatever else is much better.
 
Answer these questions and you will have a decent chance of having your code fixed
 
Morning all :)
 
Nobody here has the time to learn these answers on your behalf
 
12:54 PM
@Neil thx m8
 
ok
 
Mornin
 
Someone back me up
Downvoted for use of document.write; either replace with console.log, or remove entirely. Document.write is full of pitfalls for unknowing devs, and we'd all appreciated it if nobody even mentions it exists, lol — ndugger 2 mins ago
 
"lol"?
 
ken pls
lol makes me seem less serious so they don't go on a downvote binge on my shit
 
12:57 PM
@ndugger backed totally the f*** up
 
this jquery code is supposed to add dynamic input fields and it has acounter which incriments with each click . the problems comes when user removes the input field and adds one again it helps the whole thing go haywire.
$(function () {

  var as = 1;

  var nm = "top";

  var b = "SyllabusTopic";

  var c = "syllabus_topic_";

  $("#btnAdd").bind("click", function () {

    var div = $("<div/>");

    if(as<=20){

      div.html('<div class="form-group" style="margin-top:10px;"><label>'+b+as+'</label><input class="form-control" placeholder='+b+as+'  type="text" name= '+nm+as+++' ><input  class=" remove btn btn-primary" style="margin-top: 5px;display: inline;" type="button" value="Remove Topic"/></div>');

      $("#TextBoxContainer").append(div);
 

« first day (2012 days earlier)      last day (2928 days later) »