« first day (2068 days earlier)      last day (2871 days later) » 

12:20 AM
@FilipDupanović only if you don't care about your data.
 
 
1 hour later…
1:32 AM
Hi Simon and Gni33 @SimonSarris @GNi33 (also GNI33 you look like a mafia god-father in that picture with @SimonSarris looking like a nephew)
sorry pals was in and out of sleep :P when you posted that
 
2:16 AM
@ndugger nice man
what made you decide to do that?
 
I watched a movie in VR, just because I can.
 
@Loktar E3... Xbox had a lot of Windows 10 titles coming as well.
I've been wanting to get back into Gaming, but I've found console gaming to be fairly lackluster
and I can afford a nice rig so why not?
 
2:43 AM
@ndugger If you automate your job like Mr. Firh, you'll be able to play all day. And get paid. :)
 
@ndugger nice, yeah I just remember you talking about it and then saying you were saving for a trip instead
 
Hi folks
 
Hi folk
 
3:15 AM
@Loktar Yeah, I remember that, but I figured that there's still a ton of stuff for me to do in MN that I should do before I spend a bunch of money and huge trips.
Like explore the boundary waters, for one
 
3:53 AM
@Sheepy woah, he removed that post?
 
4:23 AM
@ray9209 Use postgres
 
Knu
4:42 AM
How would call the object that is being returned by a function that supports chaining?
terminology doesn't deserve a question on SO
 
4:57 AM
I have answered a few terminology questions. Long answers. So they do have a place I think.
That questions sounds more like an elementary syntax / concept question. That I may close vote for SO is not tutorial...
 
Knu
actually google doesn't provide anything for that term
it's related to the concept of fluent interface
I think Iv found an answer: context
 
Oh, so that call means "the name of" instead of "the invocation of"...
 
Knu
How would you call*
 
14
Q: What is the pattern name for using method chaining to build an object?

Garrett HallI frequently use a pattern where I using method chaining to setup an object, similar to a Builder or Prototype pattern, but not creating new objects with each method call, instead modifying the original object. Example: new Menu().withItem("Eggs").withItem("Hash Browns").withStyle("Diner"); J...

@Knu that term isn't explanatory.
 
Knu
well ur providing a new context where the methods are available
 
5:10 AM
I think I call them "chainable objects".
 
Knu
but it's not the object that is chainable it's more of a link
a chainer :)
 
Hmm. Can you elaborate on the difference?
 
Knu
well chainable object sounds like you are chaining the object but in our case it's the medium, the chain itself
 
Ok. I guess I don't, hmm, tend to read code from that perspective.
 
Hi , anybody have idea , why jQuery ajax request aborted when mobile phone goes in sleep mode
 
5:20 AM
@anubhav Welcome to the JavaScript chat! Please review the room rules. Please don'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.
 
@anubhav When Android sleep, it also pause the active app. Not something you can control if you are doing a website or web app.
 
i am using jquery fileupload plugin and try to upload approx 100 mb file , it upload successfully if mobile become active , but on sleep it stop after 3-4 min
are you sure , it is not code issue
 
5:35 AM
@anubhav This script loops a movie forever to stop the phone from sleeping. Haven't tried it, though.
 
ok trying , thank you
 
5:49 AM
wow 1973 chat messages since I was here yesterday... busy night!
and 1973 was a good year
and @Sheepy I owe you a drink when you are next in Copenhagen, Denmark. Your keen eye in helping with the factory code won the day, and made me look good (of course I credited you too) to the big bosses. \o/
<-- Jimm Pratt
 
@thedigitalmouse Glad to hear that your problem is solved :)
 
definitely a 'DOH!' moment :D
 
Hope ...
 
@SomeGuy Settling into new job. Been off the grid for a bit getting familiar with the codebase. Also, quitting my old job :P
 
cool
 
5:58 AM
@htmlapps Welcome to the JavaScript chat! Please review the room rules. Please don'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.
 
looks like a bot
can i ask a question
guys
 
It would appear so
 
can i please ask a question
lol
where can i find all chats
 
@htmlapps google "stackoverflow chatroom"
 
user3119231
I wish everyone a good morning to this awful tuesday
 
b0y
6:28 AM
hey javascriptians
 
Oh man I finally managed to figure out how to import certs into my soap call
 
@Sheepy , NoSleep js not working
 
6:51 AM
Hello everyone.
can anyone help me with this issue? stackoverflow.com/questions/37803755/…
 
@anubhav Too bad... Sorry I have no other ideas. :<
@AliZia Have you tried using setTimeout instead of setInterval?
 
@Sheepy, No I haven't because I don't know jquery this much. Can you help me?
 
timeout and event queue is not related to jQuery. jQuery does not cover all javascript.
 
@Sheepy You shut your mouth!
 
I tried using setTimeout but it spoils the functionality
 
6:58 AM
All hail jQuery
 
@monners
can you help me?
 
Nope, about to head home. Sorry
 
@AliZia Ok... you are listening to mousedown and up. Which works. But can you tell me why you also listen to click, and do an animation there?
 
good morning everyone :)
 
7:08 AM
@GovindKumar Welcome to the JavaScript chat! Please review the room rules. Please don'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.
 
user3119231
IC what the problem is. imgur.com/gallery/3Snd7
 
any of you worked in googlechart?
no one interested ?
 
user3119231
no thanks
 
okay
 
7:12 AM
@Sheepy, This is a coloring app. So I have to listen to clicks as well. It is such a mess lol.
 
"This is a house" is not exactly an answer to "why does this bathroom has two toilets"...
 
user3119231
take a shit beside my mum isn't the answer aswell (At least I hope)
 
@monners Ooh, nice! What are you going to be working on at the new job?
 
!!learn thejoke "<> i.imgur.com/ENP0B9c.png";
 
@littlepootis Command thejoke learned
 
user3119231
7:17 AM
!!thejoke
 
user3119231
 
@Maurice Command nope already exists
 
user3119231
damn.
 
user3119231
7:19 AM
Dat sloth
 
hi
 
@zatee29 Welcome to the JavaScript chat! Please review the room rules. Please don'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.
 
7:53 AM
@monners "All hail jQuery" ?? LIES! use minified.js instead... similar setup at a fraction of the size! operators are standing by. If you act now, we'll supply you with a 6-month supply of youmightnotneedjquery.com/
 
o/
 
\o/
 
( ͡° ͜ʖ ͡°)/
um
 
minifiedjs looks good. Small and jquery compatible. Anyone used it?
 
8:02 AM
(☉ 。 ⊙)ノ
 
Is it good? :)
 
i'm using it now, actually
in place of jQuery
 
@thedigitalmouse I prefer VanillaJS.
 
documentation for minifiedjs is decent, covers all the operative basics like DOM manipulation, event handling, etc. even has some templating built in
 
@thedigitalmouse So does VanillaJS.
 
8:14 AM
no doubt! but having a problem with downloading vanillajs from their website... after choosing a comparable set of options, I get "Final size: 0 bytes uncompressed, 25 bytes gzipped."
truely impressive size! but not very useful :D
certainly worth a look, if i can get it to download.. community looks more active than minifiedjs
 
No problem for me. I could download their 0 byte library. B)
 
ok i got it too... but not sure how to call invisible methods x.x
 
That's the magic. All browsers has all the methods built-in and preloaded! :D
* subject to browser compatibility. Consult caniuse for details.
 
chrome on ubuntu 14 with i3 window manager... nothing untoward as far as i can see.. x.x
oh well.. at least i can download minified! :D
hmm probably a git repo somewhere i guess
or cdn
 
8:35 AM
!!tell 31134759 thejoke
 
ha
i don't get it -.-
"turn over the joke" ?
 
@thedigitalmouse are you srs? :,)
 
"reverse joke" ?
 
haha
 
8:39 AM
well a static image of a stick figure with an arrow and the word 'joke' written over it is not very intuitive... unless it is some recent meme i have not encountered yet
 
notsureifstilljokingornot.exe
 
thankfully i am protected from .exes :P
<.<
inhales more coffee to get the brain working!
 
the joke is that the joke went over your head
 
@MadaraUchiha fails at "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo"
 
and the irony is not lost
 
8:43 AM
@thedigitalmouse "The joke went over your head"
VanillaJS is just plain JS, no download required.
 
Also, "Fruit flies like a banana."
 
@JanDvorak Jane while John had had had had had had had had had had had a better effect on the teacher
>verbs, verbs everywhere!
 
doh! well i implied that i needed more coffee xD
 
It says in "The horse raced past the barn fell", "fell is a conjunct. As in, "... and fell"
 
wow.. REALLY slow today
in my brain
with the cells
and the things
yeah yeah.. light bulb went off while ago when i read "Vanilla JS is so popular that browsers have been automatically loading it for over a decade." :P
but oddly didn't get the 'joke over yourhead' bit x.x
 
8:47 AM
@JanDvorak you may need to go over the reasons why you objected to my use of apostrophes yesterday
 
!!whoosh
 
there should be a 'joke sailed over your head' graphic too
 
there seems to be more rules that i'm not aware of ^^
 
8:48 AM
@bitten contraction vs possession, we went over this yesterday.
 
yeah, i was using it for possession and contraction
 
When in doubt, try to expand it's to it is and see if it works.
 
oh okay
so not when possession && contraction
 
it's comical.. versus it's comics
 
> Mr. Potato is a chimp, and its comics are awful.
 
8:51 AM
i'm not often a fan of the oatmeal, i can't believe you're using him to teaching me about apostrophes
thanks though ^^
 
heh.. yeah he's got a certain catchy style that seems to stick better in the head
 
title of this chat is hilarious
 
@kamwoz Welcome to the JavaScript chat! Please review the room rules. Please don'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.
 
we all lift, @kamwoz
 
we all lift this crazy lang
 
8:55 AM
what's a proper tool to format JavaScript code? Like what do you guys use? clang-format fails for me since I don't have semicolons and js-beautify doesn't do stuff too well with es6 either
 
VS2105
 
That's way too in the future...
 
@noob Your text editor
And if your text editor doesn't do it, get a better one.
 
It's a progressive tool
 
yep i have more proof i am not awake yet... colleague just said "i hope it rains" but I swear I heard him say "My hobby is rain" >.<
 
8:57 AM
i've been using atom
 
@thedigitalmouse My hobby is rain too.
 
atom for-the-win \o/
@MadaraUchiha wet subject!
 
In the Fallout universe, Atom uses you.
 
@JanDvorak aw
i was hoping that -using- atom makes me a child of atom
 
spekaing of being behind.. i know well and good various stuff and memes and in-game play of the Fallout series.. yet I've never played any of them yet
 
9:00 AM
i guess in the end, Atom finds you
 
Neither have I, but I score a ton of LP videos
 
@thedigitalmouse go fix that
i'm in the middle of a replay of new vegas
 
@MadaraUchiha But I like my text editor.. and furthermore every editor depends on some tool to do it too.
 
@noob wat
 
NV = Fallout 3.5?
 
9:01 AM
@noob Try WebStorm. There is enough formatting option to fit most needs. Most.
 
What text editor are you using?
 
@JanDvorak yeah basically
it uses 3's engine and looks exactly like it
 
@noob clearly I'm a tool
 
i prefer 3 over nv, however
 
heck i only finished Half-Life 2 (including Ep 1-2 and Lost coast) just last year :D
 
9:02 AM
although the best faction is in new vegas
 
@PankajVavadiya Welcome to the JavaScript chat! Please review the room rules. Please don'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.
 
damn i have a free day today, and i'm now tempted on new vegas
 
@JanDvorak I don't want to format code myself. I'm lazy.
 
9:03 AM
i knew that the internet would abuse the green dress that the british queen wore last weekend: imgur.com/gallery/t7Y3W
 
@noob The editor still relies on you to trigger the functionality
 
@PankajVavadiya welcome to the babble
 
@thedigitalmouse You are not late. We are still waiting for Half-Life 2 Episode 3 Forever.
 
true
I read that Ep 4 (Return to Ravenholm) was cancelled too
 
Can I create plain socket in JAVA script?
 
9:05 AM
@PankajVavadiya a websocket?
 
How's Duke Nukem Forever been doing?
@PankajVavadiya there's no such thing as Java script
 
@bit
@bitten: No I am asking about row socket?
using TCP
 
What's a row socket?
 
i think he means raw
using node you're able to
 
doesn't socket.io deal in 'raw sockets' too?
 
9:07 AM
Not in browser javascript, though
@thedigitalmouse no
 
@JanDvorak Well I'm using vim and I don't want to insert linebreaks myself everywhere after 80 characters especially with parameters passed to functions and other weird stuff this can be annoying. Or if I jump around in my code and move stuff and just want to fix the indent level a bit quicker a properly working code formatting tool would be great!
 
I mean, yes it doesn't.
@noob just use an editor that can do word wrapping
or a wider screen
 
I am new to JAVA script. I want to send data using chrome extension to my desktop application
 
whoa
deletes
 
9:08 AM
@PankajVavadiya Java, or script?
 
@JanDvorak Obviously it can does word wrapping but word wrapping is terrible and I want my three splits next to each other and I really like the 80 character limit
 
@PankajVavadiya It's either "Java" or "JavaScript" (one word). Not "Java Script". Getting the name right should be the first thing you learn. You need it for google.
 
otherwise you would think that you're scripting with java. Which isn't the case.
 
@PankajVavadiya if you mean javascript, then the browser is a closed environment and you cannot communicate with the user's system outside of the browser. you'll have a set up a service inbetween
 
i.imgur.com/ca0oYyY.jpg savage tweet respond
 
9:11 AM
..but i'm not familiar with chrome extensions, so maybe that is something else
 
@bitten uhm. there are API's
 
@KarelG really?
which ones?
 
nice tweet reply... although Hilary > Trump still IMO
 
@JanDvorak JAVA script
 
You can read files that the user gives you
@PankajVavadiya no.
 
9:12 AM
there is either Java or Javascript... there is no JAVA script :)
 
@bitten battery API, device navigation API, ...
there is even vibrator API for mobile phones
 
and the two are quite different in implementaion and use.
 
@Sheepy thanks
 
You can with Chrome Apps. developer.chrome.com/apps/app_network
 
You know you can stick your vibrator API...
 
9:14 AM
i think there is an adult game that uses the vibrator api...
 
used it to pleasure a GF
 
@KarelG ah okay sure, but they are very limited. i imagine Pankaj doesn't just want to read the device's orientation
but thanks for explaining ^^
 
@PankajVavadiya It's not JAVA script.
It's JavaScript.
 
Someone should tell him
 
I want to send selected text from web page(mobile numbers) to my VOIP application(soft phone).
 
9:17 AM
well, check first how to obtain selected text
then use AJAX to send it to the IP of your VoIP
 
What is a soft phone?
 
If it's the same device, just use the OS capabilities
 
I already got the selected text from web page. So my idea is to create socket using javascript and send to voip application
Yes, Its on same device.
 
@bitten there are some 'one way' stuff.. like starting up an SMS text message or email on the mobile device through some js/html and fancy stuff like developer.mozilla.org/en/docs/Web/API/Navigator/vibrate - so yeah you can communicate outside the browser on a mobile device :)
 
http to localhost might work
from browser environment even, if you set up CORS properly
 
9:20 AM
I guess they are only available to apps or extensions.. like ChromeOS and now dead FirefoxOS
 
long live FirefoxOS
 
I already made a chrome extension
I got selected text but now concern is that how can I pass it to desktop application?
 
@PankajVavadiya ctrl+c, ctrl+v
heh
 
never needed any extension to just cause my webapp code to trigger the SMS app on my phone. o.O quite easy actually.
instead of mailto: in the anchor tag, just use sms: :P
and there is a native API for reading the device GPS data too.
 
That sounds like Android's Intent...
 
9:24 AM
^
 
I know about tel tag. but in my case user select mobile number from web page and click on extension button
 
Fix the user then
@bitten can it do file locking already?
 
@JanDvorak still reading it
 
What hope do people have as programmers when they can't spot a simple fucking typo
 
9:27 AM
@BenFortune it happens to be the best of us..
 
geolocation is pretty standard now MDN:developer.mozilla.org/en-US/docs/Web/API/Geolocation/… and grab mobile device x/y with
navigator.geolocation.getCurrentPosition(function(position) {
  do_something(position.coords.latitude, position.coords.longitude);
});
 
@PankajVavadiya Check this stackoverflow question.
 
@Sheepy: Thanks, After refering link, I'll back
Thanks to all
 
@BenFortune not improbable.. i looked at code for several days until Sheepy pointed out my mistake :D
 
@JanDvorak ..and no
 
user3119231
9:34 AM
@bitten hey honey
 
@Maurice oh hi
 
@thedigitalmouse You gave yourself too little credit. :) Yours is not simple typo. It is more like a data conversion problem.
 
Hi! Guys, I might be missing something, but what might be the reason, that broadcast from parent directive controller is unreachable in child directives? All directives are with isocaliated scope. But if broadcast is called through some parent directive controller action, then it works fine. e.g. button click
Updated example link
 
9:51 AM
hi developers i need to solve an issue with my project used to develop in node js and angular js. Its working perfectly but the problem is while uploading an image using edge ie browser the image is not been viewed . its only displayed after removing the cache
is there any body who can help me
to recover the issue
 
Why a body specifically?
 
Don't be mean
 
I'm just average
 
I've learned long ago to tolerate mistakes from people who know some language not in a perfect sence of the way, but still can express themselfes.
 
Ds txtspk cnt s xprsng nslf?
Not saying this gentleman here did this, ofc
 
10:03 AM
when i was printing a pdf file, my laptop said "printer couldn't be found", but i hear the printer printing. I checked the printed pages and those are from the file that i insisted to print. PC is confused
 
The PC didn't find the printer. The printer found the PC.
 
Output found input.
 
@Sheepy flattery will get you no-where :D
 
@VishnuSBabu Sounds familiar. I remember you asked it before. Does it only happen with Edge?
 
@rlemon imgur.com/gallery/aYfQW It's detailed enough. Not sure if i would try it someday.
 
10:11 AM
does anyone know if the code for this chatroom system is open-sourced? like, can I use it myself for in-house communication/discussion?
 
i only need to find out what that "buck pack" is
 
I often shoot a "puck back"
 
10:23 AM
@thedigitalmouse why not just use Slack?
 
@thedigitalmouse No.
But look at Slack
 
@thedigitalmouse use Slack
 
...i'm seeing a trend here... :)
 
@thedigitalmouse Ask Google.
 
@Sheepy i did, and didn't find that, oddly x.x
and while Slack is appealing, bosses are skittish on chatting about company sensitive stuff outside the firewall.. hence the need for something in-house and not closed-source.
 
10:30 AM
Yeah, that happens. I searched "stackoverflow chat sourcecode" and it's my fifth result. Your mileage may vary.
 
@Sheepy but thanks.. again! :D
 
Code your own chat
 
With blackjack and hookers
 
or poker
strip poker
 
that's a nice game.
 
10:33 AM
since the other developers are married men over 40 that let themselves go, strip poker is not something i want to encourage :P
but yeah i was looking at some ways to make a persistent nodejs chat service in-house... was just feeling lazy :D
 
Easy to solve that digitalmouse. if(person.bmi > 9k) return false;
 
@Paul Welcome to the JavaScript chat! Please review the room rules. Please don'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.
 
@Paul ---digi writes that down for future use
 
Anonymous
Has anyone ever come across the onClick attribute being stripped on ios devices?
 
no
but don't use it anyways
 
Anonymous
10:39 AM
why?
 
I feel it gets really messy if you start using attribute tags for js in html. Why not just, do it in a seperate document?
 
Setting it from JS overrides other such handlers, setting it from HTML means you have to use the global scope
 
@Sheepy : yes its only while on edge image uplaod
is there any tricky solution
to clear it
 
uplaod?
 
yes @JanDvorak
image upload
on edge internet explorer browser
 
10:44 AM
So, uplaod, or upload?
 
cant you use .click to simulate the "onclick" behaviour?
Thats what I do for <input> fields - It works fine in edge too.
 
Anonymous
So if I'm generating divs in a loop (back-end) and each div onClick needs to pass a custom value to a js function - What alternative do I have to onClick? e.g.
loop 1 to 5 | n = iterator
<div onClick="doFunction('n')"></div>
end loop
 
@JayIsTooCommon give them a class and find them in javascript
you can use data attributes if document order isn't enough
an alternative is client-side rendering, but that can get messy too
 
1 message moved to Trash can
@Paul Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
"Rocket.Chat is a Web Chat Server, developed in JavaScript, using the Meteor fullstack framework."
oooh and it runs on a Raspberry Pi...
downloads
 
10:56 AM
1 message moved to Trash can
@Paul Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
:31138573 don't set onclick. Add an event listener
 
@thedigitalmouse a waste of a pi :p
why not just use slack?
 
and don't add the event listener in the loop, use event delegation and bind it once
 
@bitten already answered that :p
 
otherwise russian hackers will pwn you
 
10:57 AM
and i have like 3 Pi's hanging about with nothing to do, so no worries there...
 
@thedigitalmouse send them to me :D
 
@jAndy why delegate?
 
@JanDvorak why not?
 
not to mention vanilla JS doesn't delegate for you
 
@JanDvorak this is a great purpose for delegation
 
10:59 AM
unless you like having 221 single listener functions doing the same thing
 
That's why you attach them outside the loop
 
that's why you delegate to the ancestor element
 

« first day (2068 days earlier)      last day (2871 days later) »