« first day (2069 days earlier)      last day (2869 days later) » 

8:00 AM
@Paran0a already had that topic today :)
 
@Mr_Green oooh... that's not 'compiling'.. that's just substitution :P
so go wild! use all you want
 
hmm
 
:)
@FilipDupanović you mean i should not be interrupted by hot nordic women? :D
@Mr_Green don't bother trying to solve with PHP... your JS is doing the right thing: substituting values for the iodash variables whenever needed... that's their purpose in life :)
 
yeah agree
lets make my life easy
 
@SterlingArcher so freaking good!
 
8:03 AM
Hi, I am following a tutorial video on angular js but i am unable to identify whats wrong with this code jsfiddle.net/kdabfucr even though it looks similar to the one in the tutorial video, plz help identify
 
anyway he meant not to talk with me but to talk with those women
 
> WARNING: Tried to load angular more than once.
 
serious work ahead. bye
 
@BenFortune The values are assigned in $scope.customers
 
@Mr_Green take care!
 
8:15 AM
I think I found my answer here stackoverflow.com/questions/25392876/…
 
8:37 AM
ugh.. only 10:37.. need...more...coffeeeeeeee
 
thought the same 5 min ago... so i got a new one :)
but my the coffee of my company is shit... but i take what i get
 
refills his cup with Cola instead
 
which i really should not do, since the CO2 stuff aggravates my allergy towards outdoor grass x.x
but i need to get the taste of coffee out of my mouth :D
 
0
Q: Which nosql database will allow me sequential access to data?

deostrollWhich NoSQL flavor of database technology will allow me sequential access to query data? Here is a description of what I mean by sequential access: Imagine there is some data being pumped into the database, and your application's requirement is to process it serially. I intend to quer...

 
8:51 AM
I want to install the latest version of the npm package. how can i do that... thought this way would work, but it does not npm install --save redux-form@6.0.0 github.com/erikras/redux-form/releases
 
@elsololobo @latest
 
hm... but this does give me 5.2.5... but i want 6.0.0 alpha 15
 
@elsololobo Though it's not on NPM, you'll have to install from Github
 
oh ^^
shit
 
npm install --save https://github.com/erikras/redux-form/tarball/v6.0.0-alpha.15
 
8:56 AM
^
@deostroll all databases can give you 'sequential' access to data.. just depends on the way the query is formatted
 
ah okay thank you... but it seems that i have some outdated packages "ERR! peerinvalid". So i have to run npm install -g npm-check-updates? I feared to hit it, don´t want to destroy my project :P
 
make a backup first :)
backups are your friend! :D
 
i currently do... but projcet is on network drive and project files are many& large... time to get another coffee ;)
 
Get Tea instead!
I wouldn't mind that myself!
 
No caffeine -> no option for me
looks tasty... send me the biscuit please
 
9:06 AM
Tea has caffeine. Coffee has more though
Can someone help me please? I've been trying to get an answer to why my WebSocket Server isn't starting (or at least closing when I try to send a message) but with no luck. My code is here if you need it.
 
npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer react-dom@15.2.0-rc.1 wants react@^15.2.0-rc.1
npm ERR! peerinvalid Peer react-redux@4.4.5 wants react@^0.14.0 || ^15.0.0-0
npm ERR! peerinvalid Peer redux-form@6.0.0-alpha.15 wants react@^15.0.0
Followed this guidline: stackoverflow.com/questions/16073603/…
wtf oO... does every package require some other sub version or what?
@BenFortune
 
I think so
 
i hate this npm shit sometimes
 
@elsololobo Pretty much
 
Ya, I wish it could be easier!
 
9:14 AM
ah so if i would say react@15.0.0 it should work or?
 
@thedigitalmouse I lost you at the query-being-formatted part...
 
@elsololobo react@^15.0.0 might be better
 
okay
 
I am back
 
I hate the way websockets can be soo stressful! I haven't been able to progress on this project because of 1 error which I can't seem to find a solution to!
 
9:19 AM
|[]          [][]|
^ I have a similar layout
one element at left and two elements at right
is this possible using css display flex?
 
@RowanHarley Websockets are ez
 
sometimes... but the error messages they give are shit
For some reason I keep getting error's when I try to send a message! It usually works but I must have messed up somewhere because it's not working now!
 
@BenFortune is there any way to determine that all dependencies are ok and get the used Versions? Have updated my npm -g have included my dependencies but with a "*" in package.json. And now I´m not sure about the versions that are used.
in general i would see the used version in my package.json. but that isn´t the case anymore cause of the "*"
 
npm list package
 
next time send the npm list command before such a link... i was just shocked ^^
:D
thank you
 
9:34 AM
Haha np
Confused myself a bit there
 
Ok, so after looking through my code a bit, I noticed that sometimes the broadcast() function worked but the connection was always closed in the end.
 
@deostroll meaning depends on how you write your query to get back the result you want, in the order you want.
time for lunch! \o/
later kids!
 
10:00 AM
Oops.. wrong room id..
 
aloha
 
@LuckyLam 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.
 
@CapricaSix k. thanks
 
guys, I broke physics
when someone says "what goes up, comes down", the nerds and the "techincally" peeps say "unless you're in space and there is no up and down, right?
but I've never heard someone say "the universe MUST have a center of mass, therefore everywhere you have an up and down, they're just almost indistinguishable"
dat wrong?
 
10:13 AM
wat
 
@towc not really, your up and down are relative to your closest gravity mass
 
Caprica needs hot module reloading..
 
@FlorianMargaine therefore there is still an up and down for every point
 
@towc of course
 
the argument is that if you're far enough from any object there is no up and down, to that we reply that gravity acts over an infinite distance, which is the same as being attracted to the center of mass at this point
 
10:15 AM
the question stands when you're in the middle of 2 equal gravity masses though
(or, essentially, when the gravity masses are all so negligible that they don't have any effect)
in this sense, there's no up and down in space
 
yeah, but the idea is that the "technically" guys assume that you can't neglect being far from earth, but they're still neglecting so much that isn't very different from what they say
but yeah, I get their point ofc
 
well, technically, there's still an up and down, so they suck
 
oh, 3 equal messages being starred
 
dat alt text
 
10:59 AM
Technically, a technician works technically
 
!!echo bot! mdn math round
 
bot! mdn math round
 
@CapricaSix Math.round (JavaScript)
<pre><code>Math.round (x)</code></pre>The Math.round function returns the value of a number rounded to the nearest integer.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round
 
How can those stars be up top again... there were other starred messages yesterday
who's going to torture me
 
How do I replace those pre and code tags?
 
11:08 AM
bot! help
 
@towc Information on interacting with me can be found at this page
 
bot! echo !!echo bot! echo !!echo bot! echo !!echo bot! echo !!echo bot! echo !!echo bot! echo !!echo
 
@towc That didn't make much sense. Use the !!/help command to learn more.
 
bot! echo 1
!!echo 1
 
11:09 AM
I'm implementing mdn command
 
awwwh :,(
@cswl zirak uses the fetch api and crossorigin.me
 
I'm using plain old jsonp :|
 
why's your help the same as zirak's help?
@cswl ` and regex
 
I'm implementing a command, not running a new bot..
 
Can someone help me please? I've been trying to get an answer to why my WebSocket Server isn't starting (or at least closing when I try to send a message) but with no luck. My code is here if you need it.
 
11:25 AM
@RowanHarley holy crap. have you ever heard of a short, self-contained, correct example?
 
Sorry that was an old paste. The main lines are: #21-25, #152-158 and #166-178
 
What did Cap used to say if mdn command got no results?
!!echo bot! mdn jquery
 
bot! mdn jquery
 
@CapricaSix Got nothing.
!!echo bot! mdn promise
 
11:37 AM
bot! mdn promise
 
@CapricaSix Promise (JavaScript)
<pre><code>new Promise(executor);
new Promise(function(resolve, reject) { ... });</code></pre>The Promise object is used for deferred and asynchronous computations. A Promise is in one of the three states:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
 
too much, just have a link
 
!!tell cswl sandbox
 
@cswl Please go and play in the Sandbox
 
@BenFortune I did implement the mdn command in the sandbox.. I'm asking here how it should behave..
 
11:48 AM
What's up with the old mdn command?
 
!!mdn fire
 
@cswl Something went on fire; status 403
 
@VeronicaDeane alright.. now it should have a link only... i think it was like that before,..
 
bot! list
 
@towc That didn't make much sense. Use the !!/help command to learn more.
 
11:58 AM
bot!list
 
user3119231
12:25 PM
If I want to "lock" a folder from the public I need to create a .htaccess file or?
 
if using apache, that is probably the easiest way
you can also do it in your httpd.conf or w/e
 
user3119231
thanks robert.
 
queries like symbol iterator don't give results.. but simple query looks fine
 
open with videos?
.deb file, really
go home Ubuntu, you're drunk
 
@rlemon it should propose its software center
 
12:29 PM
I know. Videos is the only thing on the select menu when I open it
 
@rlemon are you on 16.04?
 
nope, and it is only in FF that it happens.
opening it from Nautilus is fine and opens in the software center
 
user3119231
isn't that easy for subfolders containing images. :D
 
@towc ?
 
@towc the fuck are you on about
12 messages moved to Trash can
 
12:32 PM
I love Sublime
There, I said it
 
D:
censorship of free speech
 
no, binning the garbage
 
I see how it is with you sublime people
 
Sublime's nice. But I've fallen in love with vim.
 
opinions are garbage, right?
 
12:33 PM
unless they're mine
 
ok, I'm done
 
you were not giving opinions, you were shitposting
 
Talk shit, get your shit binned -> censorship
That's internet discussions in 2016 in a nutshell alright
 
sounds accurate
 
Free Speech means the government cannot arrest you for speaking out, it doesn't mean we have to house your bullshit :P
 
12:33 PM
actually kinda curious @rlemon. New computer? :D
 
just say you don't like Sublime and maybe provide a "why" and we're all fine here :)
 
nope
no clue why, Maybe has always done this. I don't use FF
but apps like to use it when they need to open a link
 
so what Ubuntu version are you running now?
 
Love sublime, prefer atom though
 
I was more interested in why don't you have sublime already if it's not a new computer
 
12:34 PM
upgrades...
 
fair enough
why not upgrade through the terminal? You should be able to do that for sublime
 
I don't think so
 
I'm sure I probably can. with a wget call
 
mdn command looks okay.. can some of you try in the sandbox..
 
@rlemon ah, that's annoying. Change your default browser with sudo update-alternatives --config x-www-browser
 
12:37 PM
@littlepootis happens so few and far between I really don't care.
also, I have FF running for Cap anyhow
so it is a reminder to check out her page as well
 
hi
 
@Raston 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.
 
@Raston 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.
 
@cswl please run in devmode.
if not already :/
 
12:40 PM
So now @cswl is a bot?
 
@rlemon I didn't see it in config.js .. activateDevMode got it..
 
Everyone is a bot
 
user3119231
is it even possible to let a .htaccess lock all subfolders including images from all except the server?
 
1 message moved to Trash can
!!format
 
Format your code - hit Ctrl+K before sending and see the faq
 
12:47 PM
^^ please
38
Q: htaccess Access-Control-Allow-Origin

Tzook Bar NoyI'm creating a script that loads externally on other sites. It loads CSS and HTML and works fine on my own servers. However, when I try it on another website it displays this awful error: Access-Control-Allow-Origin Here you can see it loads perfectly: http://tzook.info/bot/ But on this othe...

 
I did format it, wtf
 
No
Also, why not Bluebird?
 
@Maurice but you know... don't open it
 
user3119231
@rlemon what do you think about this?
 
user3119231
order allow,deny
allow from localhost
deny from all
satisfy any
 
12:48 PM
I have a simple problem with Q promises. I have a method which reads from cache if exists, if not it is querying database. Method is supposed to return promise.
getTree: function () {
var deferred = q.defer();
if (this.tree) {
return deferred.resolve(this.tree);
}
var promise = buildTree.bind(this)();
promise.then((data) => {
deferred.resolve(data)
}, () => { deferred.reject(); });
return deferred.promise;
}

As you can see, if this.tree is defined promise is resolved - but the method did not return deferred.promise yet, so if I call this method like this 'getTree().then()' -> i get error C
again
i pressed ctrl + k
 
honestly, can't tell you. it has been years since I've used apache
 
doesnt work
 
@Raston don't mix code and text
also fix your codes indentation before hand
and if that is too hard, use an external paste service to host the code portion
 
weeeeew, magento
amirite
 
Should i also add a ddg command?
 
12:51 PM
fine, just trash my comment, whatever
 
don't get offended, the bot normally does it
just learn how to format the code from the text
 
I'm not, I did read how to format code and it is not working
 
because you are doing it wrong
 
^
 
code + text doesn't work.
text block as one message and codeblock as another.
 
12:53 PM
cool, then it should be fixed, else there is no way to write everything u want in one piece of comment, without spamming
 
don't host the code in the comment.
put it in a pastie and put the link in the comment
 
pastebin.com
 
@Raston That's what the main site is for...
 
@BenFortune not really no, not for simple questions
 
If it's simple, odds are that it's already been asked and answered on the main site.
 
12:59 PM
@ndugger odds, well said
 
why are you discussing this. Just paste your code in pastebin and ask again... you are wasting your time...
 

« first day (2069 days earlier)      last day (2869 days later) »