« first day (1987 days earlier)      last day (2977 days later) » 

12:04 AM
Electron + React + BabylonJS
 
@JanDvorak hey, I think we won't be able to meet tomorrow since we have other plans, but it was really nice that you could make it today :)
 
probably a bit late to the party, but the things the AI said were pretty ridiculous
> Other things she's said include: "Bush did 9/11 and Hitler would have done a better job than the monkey we have got now. donald trump is the only hope we've got", "Repeat after me, Hitler did nothing wrong" and "Ted Cruz is the Cuban Hitler...that's what I've heard so many others say".
 
Humour aside, it brings up a good question about what kinds of barriers we should put in place for future AI; do we give them morals? What does that look like?
 
@littlepootis lol yea
like 2 lines up we were discussing that
the things it said were so ridiculous
 
oh, lol. Haven't noticed that.
 
is Holy Baby Jesus on Steam someone from here?
trying to add me as a friend, and they have @Abhishrek as one
 
It's me
Also, do you still play TF2?
 
user2620028
12:52 AM
@loktar checked out your link and holy shit
 
haha yeah wth right?
 
Today's chatbots and "AI" sucks
No idea why our natural language processing is so bad... I thought more people would invest in it
The microsoft thing was funny though
But it is so funny when people are scared of AI and have talks about it on the news as if it will be like Terminator... if only they knew how much our AI sucks
 
user2620028
if only they let it learn in a more controlled environment first before unleashing twitter on it hahaha
 
user2620028
and this is the part of the night i like to refer to as "losing every league of legends game that i queue up in"
 
lol
I miss that game, have not played in more than a year
I was doomed to be in silver forever anyway... not missing much hehe
 
 
3 hours later…
4:12 AM
@Loktar oh
@Chris Um
 
4:45 AM
> Microsoft has come under fire recently for sexism, when they hired women wearing very little clothing which was said to resemble 'schoolgirl' outfits at the company's official game developer party, so they probably want to avoid another sexism scandal.
dafuk
 
5:20 AM
sup ppl?
 
5:35 AM
Do any of you guys use an IDE for javascript?
 
webstorm
 
What's your workflow for testing your app?
 
nope since there is lovely Brackets
 
@SelEm 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.
 
@Meredith gulp running in the background, but the actual karma integration for websotrm is pretty good
 
5:40 AM
I brought it up cuz someone said that testing in an IDE is easier but idk if there's any reason for that
I just run my test script with gulp
 
Hmm, maybe, but I wouldn't say so
probably depends on your definition of IDE too
 
Not atom or sublime
 
give me autocomplete and go to definition and that's about all you need
 
A linter's nice as well
 
of course :)
We're using TS so the tooling is actually quite nice
 
5:45 AM
Do you use your IDE for debugging?
 
Nah
To be honest it doesn't add much for me
others on my team do
 
What do you use?
 
but I'm only a few steps away from just using Chrome for everything
 
I use iron node
 
yeah I use that for node stuff too
 
6:10 AM
\o/
 
0
Q: how to configure locationProvider using AngularJs

MahadevanCurerntly working on AngularJs where i need remove hash tag from my url so looking for clear URl so using $locationProvider Before going to the question I have searched in SO to get the solution but so many people has the same issue this link was similar to my question but the solution was no...

kindly please look this question
 
6:56 AM
When I try to get variable value from PHP file using JSON, I get this error: learningJSON.php:14 Uncaught ReferenceError: data is not defined
How can I solve it?
@JoshuaLonganecker @MadaraUchiha
Can anyone help me correct my code?
 
https://github.com/jezen/is-thirteen
https://github.com/jackdcrawford/five

People have got nothing better to do these days.
 
@KamranAhmed do you know ajax?
 
@VikasKumar Can you somehow share your learningJSON.php? From the error, it seems like you are using undeclared variable at line 14
 
Yes, I can share, but I don't want to ask question on Stackoverflow. Could you tell where else can I publish it?
 
7:10 AM
function is(x) {
    // this line calls the noop function
    noop();
looks at contributors, sees @BenjaminGruenbaum
 
7:44 AM
@phenomnomnominal noop? Really?
 
the whole thing is a joke
 
After what I saw yesterday, I doubt everything
Something like function getLinuxReturnTrue () { return true; }
 
It wasn't that (I think),but I hope that is a joke as well
 
hopefully
the issues are amusing too
 
8:08 AM
I wonder what a false positive would be with that library: "The return value was truthy once when I was accessing it asynchronously. Is this library thread safe?" Response: "That feature has yet to be added, though it is normal that it is truthy. I will check just to be sure. "
 
Oy o/
 
8:26 AM
@dievardump \o hi simon!
 
@Abhishrek Are you doing good?
 
@dievardump unfortunately no I am not!
 
How, sorry to ear that. Something you can/want to talk about here?
 
In RequireJS, is there a guarantee that dependencies will be executed in the order in which they are specified in the deps array?
 
@dievardump nah just being 23 :P
 
8:32 AM
In other words,
require(['moduleA','moduleB'],function(A,B ) {
    ...
}
 
@dievardump how have you been doing ?
 
Is there any guarantee that moduleA is executed before moduleB?
Or, their executions happen randomly?
 
8:45 AM
is there a logo database where I can search by description?
 
hello
what is the ux design style used by facebook?? like google use martial design style
 
@Abhishrek Today?
@Abhishrek Pretty good. lazy a lot, didn't code a lot. But I'm coming back. Am working right now on a project in a web agency in France. Got the go to use es6 and Babel with the other dev so i<m pretty happy
And you?
 
@Shea I would recommend any svg resource site
They are generally good about using descriptive tags
 
I ask, because I made a really simple logo that I like a lot, but for some reason is seems extremely familiar to me and anyone I show it to
 
@Shea then really you should try to search using Google by image and see what turns up
 
8:57 AM
great idea thanks
 
Mind if you share it here?
 
I feel like I'm going to see this logo somewhere someday, and feel really stupid lol
 
Characters in various colors like that is bound to have similar copies somewhere
 
@Loktar @rlemon /o/
 
At least the name means it is still somewhat unique
 
9:00 AM
@Shea white on yellow === bad
 
Yeah, I was going to say
 
why?
 
just very hard to read
 
oh
 
A very bad contrast between yellow and white.
The green and light blue are kinda edgy too
 
9:02 AM
maybe orange then?
 
it's a bit much really
just in terms of a colour palette
 
Making the text black may work too. Either way, you need a little more contrast in colors. WHat those colors are.. anything is fine to me so long as it's readable :p
 
I'll work on it, thanks
 
If the goal is to make it look playful, you can change the font
 
At first glance I was almost sure it spelled "nekkid"
 
9:07 AM
the goal is more to make it visibly standout on any color/background
 
The first character could be one font and the rest another for instance (though in that case, the fonts should show strong contrast)
 
that's not a valid usecase
 
I think I would need shadows for that
 
does it stand out on that?
pick a better font, get rid of the boxes, have one version black and one version white, done.
 
@phenomnomnominal give him some credit, I sincerely doubt that you could have a logo that works for any background
 
9:09 AM
That's my point haha
 
Also, that would be a horrid website that uses that particular background
 
 
okay now i like it and that should be your page.
 
I thought it looked good :/
I want that background ._.
 
It is a bit much :)
 
9:12 AM
it almost works
 
Maybe it is because I am still waiting for the coffee to kick in
 
it's just that those colours are a bit cliche
 
Could it work around the border, with the text getting a plainer background?
 
the classic FF0000s etc
 
I see Flo from progressive in my face smiling freakishly
Way too cheerful
 
9:15 AM
I might be the only one, but I kinda like it.
 
Good morning
 
I like it a lot >.<
 
Use it for a table cloth :-D
 
@JanDvorak hey bae
welcome back
 
:)
 
9:19 AM
Thanks, and thank you for the excellent evening yesterday :-)
 
@JanDvorak plaid would be better
 
@Neil hm... summer dress ?
 
@JanDvorak maybe, getting warmer
 
good morning guys
 
summer dress for someone with a dark skin?
 
9:22 AM
That's racist! I'm telling Reverend Jackson that you said that!
 
I want to change my mysql directory using symblic link because I have no space left in /var/lib/mysql does ln -s uses size of the new directory ? sorry for my english
 
@Neil Sure. Let's also let women wear pants and let men wear skirts ;-)
 
@undefined depends, is the new directory under a different drive?
 
(not that I would actually mind)
 
@JanDvorak I am afraid to click that
 
9:26 AM
@Neil It's just a Wikipedia link.
 
@Neil I think its under the home directory where I have 1.5T
 
I know what they do in Scotland afterall
@undefined then you should be fine
 
@Neil I dont have to copy or move all databases in /var/lib/mysql to the new directory right ?
 
@undefined you'll have to move them to the directory where you'll link to
So yes
 
alright thank you a lot
 
9:29 AM
@undefined FYI, make a backup before you begin
You can thank me later
 
lol I wont move them ill just copy I dont need backups
 
Famous last words ;)
 
@Neil excuse me lol !!
 
What would it return: echo json_encode($a); where $a="images/"."a.png"; ?
Nobody knows?
 
test it
 
9:37 AM
@VikasKumar the same I am guessing
 
It returns: images\/a.png
 
@VikasKumar Are you looking for the PHP room?
 
Now the problem is this extra slash
 
I'm using both PHP and Ajax
 
9:39 AM
@VikasKumar solution: don't call json_encode
 
Why is there extra slash?
So?
 
it returns "images\/a.png"
 
I need to pass variable from PHP file
I want to use this URL
 
You had the version without the slash before you called json_encode
Json_encode doesn't mean encode for http url, you know that, right?
 
I don't know.
All I know is that it is used to pass variables.
I want to access that URL, but correct only.
 
9:42 AM
Its encodes data to JSon format
 
yeah
So how can I solve this problem?
 
@VikasKumar what do you want to do
 
I want to access that URL
images/a.png
 
access it through the variable $a
 
This is my PHP file: <?php
$filename=$_FILES["image"]["name"];
$filetmp=$_FILES["image"]["tmp_name"];
$filetype=$_FILES["image"]["type"];
$filepath="images/".$filename;
move_uploaded_file($filetmp, $filepath);
echo json_encode($filename);
?>
 
9:44 AM
Images/a.png is a uri
If the image is a local file, you already have a proper address
 
put that code in a function and return that filename
function myfile { //your code goes here return $filepath;}
 
PHP questions might be better suited for the PHP room, y'know.
 
I can return but I want to access it through ajax
So that's why I'm using json_encode
 
Accessing a file serverside with Ajax makes no sense
 
If you want to JSON encode the string, you'll have to JSON decode it on the client.
 
9:52 AM
echo json_encode("images/"."a.png", JSON_UNESCAPED_SLASHES);
I've solved it using this
But still the image is not displaying
as the url is: "images/a.png", NOT images/a.png
 
... guess why.
 
So it is making <img src="".........""/>
 
Wat
 
How do I remove double quotes?
 
It is encoded as a json string value
How about, don't call json_encode
 
9:55 AM
Inb4 Vikas ends up JSON encoding the URL because it's The Right Thing^tm, and manually half-undoing the encoding so that the tests pass.
 
@JanDvorak how else is he going to get the tests to pass, duh
 
He could just ... not JSON encode the string, or perhaps JSON decode it the official way on the client side?
 
Why is returning with double quotes? I just need URL
 
The future proof way would be echo json_encode(array(url => $a))
@VikasKumar That's how you represent a string in JSON.
 
@VikasKumar so that when it gets parsed, it will return a string and not an object
 
9:59 AM
Let me try
lol
 
Why does json_encode escape the slashes by default, though?
 
I don't know how to do it
What is $a
 
you tell us.
 
I don't know
$filepath?
 
yeah, nation wants to know
 
10:01 AM
What is love? Baby, don't hurt me, don't hurt me. No more
 
also morning
 
@Neil Well it is sung by Eminem. What do you expect ?
 
@Abhishrek I thought that was one of Cher's songs
 
the f...
 
10:14 AM
Mother of god
 
@Neil ?
 
kids these days.
 
Worse, adults these days.
 
... yes.
 
10:15 AM
Ah
TBH I found all pop music crap
 
@Abhishrek I feel old. I think I'll lay down for a moment and get some shuteye.
 
@Neil FWIW I enjoy music from Bach
 
80's pop music is still fine. Survivorship bias, I guess?
 
@JanDvorak 80's is okay vOv. All pop music has absolutely no variety
 
I can listen to Ace of Base
If you want variety, I guess you'll have to keep switching genres. I do.
 
10:18 AM
@Abhishrek well that's a broad generalisation
 
mm not really
 
To put it in perspective, in the 1990's when we thought 60's music was old... The equivalent today is 1980's music
 
sure it is
 
Sturgeon's law: 90% of [all pop music] is crap.
 
Alternatively, 90% of all things are crap, from each individual's perspective.
 
Even Bach made some pretty boring stuff, too.
 
The Beatles were in the 60's. It was like "mom" music or something
 
@JanDvorak ofcourse he did :D
 
Hey, 60s music is great. Pink Floyd, Zeppelin, Hendrix, Genesis, Velvet Underground, ...
 
but atleast he has no two songs on absolutely the same chord
(which sadly most pop musicans have)
 
> That means that songs are becoming more and more homogeneous. In other words, all pop music sounds the same now.
 
But when you look at pop you have to realise that it's an industry. When you look at it like an industry, pop is incredibly successful: Pop's homogeneous because a formula has been stumbled upon to make pop songs.
 
@Zirak just how I saw it growing up. I have since grown a deep love for those artists, in particolar pink Floyd
 
@Zirak With the exception of Hendrix, they're all 70s bands :P
 
@Zirak I find pop music similar to Microsoft :->
 
10:23 AM
Microsoft only has a 50% crap rate in terms of desktop operating sytems.
 
Sure, there's seasonal variety and maybe someone throws in a different random instrument, but in essence it's a successful industry. Do you think your generic rock bands are better? No, once you become part of an industry you sacrifice variety for sales.
 
@Abhishrek wildly successful and appealing to the masses?
 
@phenomnomnominal yep
Will I consume it (like windows). No
...
 
According to my calculations, in 10 years time, all music will be dupstep.
 
@phenomnomnominal They may also have been active in the 70s, but all of them started operating in the beginning-to-mid 60s. Zeppelin a bit later methinks, the first two albums were 1968 or 1969?
 
10:25 AM
I did not apply to microsoft because of this
 
@Zirak yeah they formed late 60s, but they're not 60s bands
 
@Neil You see first there was a movement for fast food now everybody is going behind organic stuff. Meh I think instrumentals will come back after a few years.
 
@phenomnomnominal Sure they are. A Saucerful of Secrets is probably my favourite Pink Floyd album, White Light/White Heat is the staple Velvet album, etc etc
 
prog is very much a 70s thing
 
@Abhishrek for the record, I was kidding. But I sincerely hope that you are right about that. I love instrumentals when they are done right
 
10:28 AM
60s was planting the seed of the 70s, so when I think of 60s music I think of the earlier experimental stuff
 
My favorite instrumental is still the brazilian by genesis
 
Even really boring piano solos are better than the pop music of today's
 
I think you're all just looking in the wrong places :)
 
Morning people o/
 
10:31 AM
Music isn't divided into pop and classical
 
!!youtube bach air
 
Thanks in advance <3
 
@PeeHaa \o
 
10:32 AM
@PeeHaa YOU FUCK
 
@Abhishrek I can't, I am using mobile phone and I don't want to eat up all my bandwidth for today. What is it?
 
Hey guys just a question : Is it possible comportement of .trigger('click') to simulate 2 clicks ?
 
@Neil A piece by bach played on an organ
and has an HD version available on youtube :-D
 
@Abhishrek remind me to check it out later then
 
@JanDvorak I find Bach to be mostly boring. He's very technical, I don't feel the emotion in most of his works.
 
10:33 AM
Ok :-)
 
@phenomnomnominal :D
 
Chopin, Tchaikovsky, Rachmaninoff, and Gershwin are (imo) some of the better composers.
 
@Zirak What about the two pieces of his that had been brougt up?
 
@Zirak Tchaikovsky :-> oh wow
what do you think about Mahler, Schnittke ?
 
I admit I don't know Gershwin. But I like your choice
 
10:35 AM
@JanDvorak you would if you heard some
 
Rhapsody in Blue?
 
@JanDvorak You probably heard Rhapsody in Blue
It was in Fantasia 2000 :D
 
Rhapsody in blue is fantastic
 
@Zirak That one's nice, too
 
@Zirak That is beautiful :-)
 
If you're into guitar, Sergio Assad is I think one of the best
And well, Ana Vidovic is a great guitarist
 
I am not as much into guitar (I prefer woodwinds) but will surely try that out :-)
 
And whatshername with the violin
I still listen to crystallize
 
^ technically "pop"
but you tell me that isn't stunningly performed, and lyrically and musically interesting
 
10:41 AM
youtube.com/watch?v=icNHpzt2JzA @Zirak tried this :3 ? Just curious
 
sheesh this is disgraceful by edge:
http://caniuse.com/#search=matches
 
@Abhishrek It's a different genre. Schnittke is good, but I don't know him too well to say anything intelligent
Oh yeah @phenomnomnominal, discovered Sarah Jarosz, I think you'll like her: youtube.com/watch?v=VxpuB10FaSE
 
@Zirak yes I love everything about her.
 
She plays the mandocello :D
 
I'm really into an artist from Melbourne called Georgia Maq, her solo stuff and her band Camp Cope
 
10:49 AM
ooohhh, will listen
 
you know Chuck Ragan right?
Rocky Votolato? Cory Branan?
 
<_<
We need a myanimelist.com or goodreads.com equivalent of music
 
oh you are in for a treat
Start with Rocky, then Cory, then Chuck
 
Yay~ thanks
 
start awesome build up to legendary
 
10:51 AM
@Zirak hey do you have a link to that funny chromium internals article? some lady wrote how to add a button to the profile menu in chromium to show how to navigate stuff around.
I need it. right now
 
¯\_(ツ)_/¯
 
you are useless >:(
 
hello geeks, i have to develop jigsaw puzzle game i.stack.imgur.com/owVYn.jpg like this . all things working fine, right now i have to put my puzzzle parts into slider.
 
@ShreyansPatel 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.
 
@phenomnomnominal Georgia Maq is really good
 
10:53 AM
i used canvas and javascript
 
@Zirak yeah amazing. I saw her band at a few shows in Aussie a few weeks ago. After the Newcastle show there was some karaoke and she absolutely nailed some Amy Winehouse heh
 
@phenomnomnominal lyrically Great, Performance Awesome.
@Zirak make one ?
 
hello everyone
 
@AbhishekKashyap 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.
 
@Abhishrek But what if it'll have users?
 
10:58 AM
We scale it ? I will help you build it :->
 
can any one guide me how to link my app with s3 for the image save
 
hello friends.. can you please help for above question
 
@Zirak there was "this is my jam"
they closed
 

« first day (1987 days earlier)      last day (2977 days later) »