« first day (1745 days earlier)      last day (3218 days later) » 

5:00 PM
@Purag everything has limitations
 
the better question is "can gcc be compiled with emscripten?"
 
why not?
 
@Abhishrek fuck media
 
user3119231
man this is up to xampp I think. This http request doesn't work. Copy and paste doesn't work, too.
 
*either
 
5:02 PM
i think i'll try to do that later then...for now I'm kinda enjoying writing this by hand.
 
user3119231
Thanks for correction :D
 
@SterlingArcher hey you ever listen to Glamour of the Kill
 
@AwalGarg I copied those who hate copiers the most
Apple Pay :D, I copied their self initiated activity on nfc on android and wp :->
 
@Abhishrek how's that project coming?
 
@ElliotBonneville pretty well
 
user3119231
5:05 PM
function loadXMLDoc(){
	var xmlhttp=new XMLHttpRequest() || new ActiveXObject("Microsoft.XMLHTTP");
	xmlhttp.onreadystatechange = function(){
if (xmlhttp.readyState == 4 && xmlhttp.status == 200){
	document.getElementById("money").innerHTML=xmlhttp.responseText;
	alert("gotit");
	}
else{
	alert("failed"); --my output every time
		}
	}
	xmlhttp.open("GET", "XMLHttp.php", true);
	xmlhttp.send();
	alert("sent");
}
 
@ElliotBonneville please do not use emojis
 
@Abhishrek sure, but why?
 
@Abhishrek that's not an emoji, it's unicode
unicode is allowed here
 
5:05 PM
@ssube emoji are in unicode aren't they ?
 
He's an adult he can use emojis if he wants to
 
@Abhishrek doesn't matter, it's unicode
 
It reminds me i need to fix it (the emoji support on this browser)
@Darktheeme makers maybe add an emoji friendly font ?
 
@Abhishrek why would the theme be responsible for the font?
 
@rlemon ^
 
5:07 PM
Just download an addon that adds emojis
 
@ssube cause its not a theme, it adds much more than that.
 
^
there will be no emojis in the dark theme
 
get a competent OS with a system font that has unicode characters
 
meany
 
like, oh, anything
except maybe macs
 
5:08 PM
*coughI'monamaccough*
 
@ssube but I thought emojis !== unicode (directly)
 
@ssube macs supported emojis the first iirc.
Lets google search
 
emojis are stupid as well. I don't need to see a stupid fucking smiley pretending to puke. be an adult and use your words.
 
@rlemon this is true. Emojis are a shitty apple knockoff, essentially using surrogate pairs, to show little icons.
but telling someone not to use unicode in the chat is also stupid
 
¯\_(ツ)_/¯
 
user3119231
5:09 PM
lol my bad. have to take path from index.php not from js file itself :(
 
surrogate pairs are just a UTF-16 way to encode code points above U+FFFF
 
yep
and?
 
not only emojis but also some really weird real scripts live there
 
Hey, quick question (this is kind of about best practices in general, but I'm using javascript, so...): I keep my tests next to my code in blahblahblah.test.js files. I also need to have some test setup. Is having a test dir with only test setup, and no actual tests in it as bad an idea as I think it is?
 
@AriPorad Welcome to the JavaScript chat! Please review the room pseudo-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.
 
5:14 PM
@uselesschien miaou
 
the lodash functions I write are so annoyingly complex ._.
 
@corvid then either you're doing too much with them or your data structure is weird
 
I am opening a directory, finding all files with an extension, and reading the file, splitting it by the lines that start with # and omitting every line that is blank or starts with '
 
@corvid with a single lodash chain?
 
Yep, it's pretty terrible
 
5:18 PM
that should be at least three or four different methods
 
If I did this in Haskell, how about a ListT IO approach?
 
I'm not sure why it doesn't need a .value at the end of implicit chaining though...
 
@argentum47 where u go?
 
Can someone put caprica back in room 44914 ;_;
 
5:31 PM
!!summon 44914
 
wonderful
 
Hey guys, I'm going to be very very rude now. But I really wish I could find a good answer to this question:
 
@paul23 go on
 
Why would anyone (or me especially) use javascript? Isn't python much easier and basically does everything (apart from web-based) better?
This is actually a honest question I have, what does the language javascript bring that makes it so popular?
 
@paul23 for one, it doesn't do websockets better
@paul23 same code on client and server
 
5:33 PM
@paul23 actually running on the web for one :)
 
@paul23 node is faster, and because I'm familiar with JS and because.. it's cool
 
on the web as in the browser
 
That it even is used to create "windows 10 apps" (so not for web based)
 
@paul23 clear scoping rules, easy to use closures
 
@paul23 I can run it virtually anywhere, very large community, one language for server and client, some people gasp like the syntax / type system. but I feel like the major reason is that most people have been exposed to it before and it is a very flexible language that can facilitate a lot of stuff given a little hand holding
 
5:34 PM
curly brackets
 
@paul23 ability to run anywhere
 
@JanDvorak now that is the first interesting thing to me lol :P
 
One of the first languages to have closures
 
But I mean, the typing system really makes me wish to pull out my hairs. I tried learning it over the summer now, but I just can't ever shake the feeling "sigh I wish I would just use python to do these tasks".
 
what's so special about closures?
 
5:36 PM
lack of goto sold me
 
built-in event loop
 
i thought that was just a fancy way of saying scope
 
@nick try that in C
 
hm
 
or in Java
 
5:36 PM
Ability to run anywhere? "javascript".substr(0,4)
 
Also: I found the python scoping with modules way easier than javascript where you have no real cleanup etc?
 
i feel like i know what you're talking about, i just don't associate the proper terminology
 
@uselesschien "java"
 
!!> "javascript".charAt(5);
 
@JoshLeBlanc "ReferenceError: javascript is not defined"
@JoshLeBlanc "c"
 
5:37 PM
@paul23 well now you're going on a "I learned X first so Y is confusing"
that isn't really a technical argument
 
@uselesschien cool idea, but Java lacks in secruity
 
Plus, Java is horridly clunky
In terms of user experience
I hate having to run anything to do with Java.
 
s/is/is more easily/
 
also, Java is bloatware
 
@rlemon Not really, I didn't have that problem when moving from C++ to python. And I also find using C# neat for larger applications. So I activelly use now python C++ and C# next to each other.
 
5:38 PM
java is technically more stable/reliable
 
than JS?
 
i don't even have it installed though
yep
the java VM i mean
 
@paul23 they all follow much more similar rules than JS does in comparison
 
try installing it
 
nah
 
5:40 PM
@rlemon And then I could add haskell to the list: annoying but I see it's power. I really lack that with javascript. Apart from that "it is default for web application" -but why?- why not another scripting language? I wonder what features the language brings that makes it ever so popular.
And most important: staying popular..
 
6 mins ago, by rlemon
@paul23 I can run it virtually anywhere, very large community, one language for server and client, some people gasp like the syntax / type system. but I feel like the major reason is that most people have been exposed to it before and it is a very flexible language that can facilitate a lot of stuff given a little hand holding
 
@paul23 Constant development
 
in the beginning it was much easier to get something on the web going with JS than it was Java
and they were the only two competitors
 
JavaScript is growing and evolving to meet the needs of the web in a way that other languages are failing to do.
 
other languages for the web also require a plugin / runtime
js comes baked in
 
5:41 PM
!!afk lunch
 
I also come baked
 
python also I can run anywhere? Any OS has python nowadays on it? And I'm using it for offline scripting...
 
@paul23 no it doesn't
 
I once had a problem and decided to use Java and I ended up with a ProblemSolvingFactoryProxy
 
source: I had to install python on my beagle bone
 
5:42 PM
When Java stopped working, not much was heard. When Apple threatened to remove flash support, voices were heard. If JS breaks.... back to the stone age it is
 
@NickDugger mmm
 
coffeecake
 
JavaScript was also designed (however you wanna take that) as an 'easy' language
 
your mum
@rlemon easy language? how dare you
insult my profession like that
 
talk to Eich.
 
5:43 PM
@nick definitely easier than Haskell or Brainfuck
 
But I see it's really really focussed on internet pages, and I guess it's just that the community has grown with it. (I wonder what would happen if javascript was just new right now then).
 
No one would make javascript as it is right now, right now
 
for generic console-y stuff I use Ruby or Haskell
 
JS was focused on the browser before. Now we're branching it out because it is growing in power and popularity
interpreters are small and fast
 
IMHO if you aim to learn programming, pick any C family language, learning programming isn't about syntax and semantics but learning how to think as a programmer. Once you learned one language, switching between languages with similar paradigms is easy
 
5:45 PM
!!> ([][[]]+[])[+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!‌​+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]‌​]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+‌​[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+([][[]]+[])[‌​+[]]
 
@NickDugger "no u"
 
cap pls
 
IMHO if you aim to learn programming, pick Ruby or Python
 
python
 
@rlemon This is true - and that is the reason I am learning it now. However @NickDugger is perfect reason I dislike it :P.
 
5:45 PM
!!summon 10
 
@uselesschien I will appear in that room after 1 more invocation(s)
 
hahahahahahaha
 
I am committing treason and using JS for SCADA right now.
@paul23 hacks exist in many languages, but with JS we can share them more easily.
 
@paul23 You dislike javascript because of me?
 
@paul23 you can write obfuscated code in any language
 
5:46 PM
so you get to see all of the shit
 
@JanDvorak I know already python C#, java C++. Am just learning languages to keep myself updated
 
do try Haskell
 
!!summon 10
 
@uselesschien Already registered; still need 1 more
 
!!summon 10
 
5:46 PM
what room is 10?
no
 
Lounge<C++> :P
 
C++
 
fuck no
 
do you want Cap banned?
because that is how you get Cap banned
 
5:47 PM
is there a way to unsummon her?
 
I did it manually
 
She's certainly left the ruby room before
 
!!help unsummon
 
@rlemon unsummon: Chant zippidi lepat and from the room I shall depart. /unsummon [roomid=your_roomid]
 
She's not in the C++ room
 
5:48 PM
zippidi lepat
 
@uselesschien because I removed her
 
I was tempted to join the lounge just to watch the fireworks
 
Anyways I guess I'll have to suck it up and learn it for windows 10 :P
 
Does windows 10 use javascript for something?
 
5:48 PM
Sorry if I almost helped do something wrong, I just assumed I wasn't allowed to send the bot to other channels :o
 
hey, it's definitely at least 10000% better than WinGDI or however it's called
 
I heard the applications in the phone environment are?
They have to be written in html5/javascript
 
@rlemon didn't know, sorry
 
Why not just make a website if your app is going to be html/js lol
 
@MadaraUchiha where's the link to your slideshow for JavaScript that was pinned a few days ago?
I want to show my coworker who is learning JS
 
5:49 PM
@JoshLeBlanc Hosting costs?
 
@SomeGuy Two's complement
 
I wish I had the moneys to own a server lol
 
@paul23 tis pretty cheap
 
*it's
 
5:52 PM
I would then make a front page stating "no one allowed, this is cartman land"
 
@paul23 $100-$300 a year will buy you a decent VPS
 
And then happily have my own server no one can enter :)
 
> Hic est Paul23
 
100-300? you don't even need that much
DO costs $5/month and their hosts are pretty damn fast
 
http://www.commitstrip.com/en/2015/07/27/totally-overwhelmed/
CommitStrip - Blog relating the daily life of web agencies developers
Totally overwhelmed
CommitStrip
1438019480
 
5:53 PM
@rlemon For a real server (at which you have full control over connections/running applications so it can be used to test online games etc?)
 
@paul23 VPS
Virtual Private Server
 
Raspberry colocation
 
or just install Apache on your machine
 
nginx > apache
 
@JanDvorak electricity of running a simple computer .... about 10 euros a month to me
 
5:56 PM
laptop
 
@paul23 buy cheap current duh
 
pls
 
Nowadays with the rice in price of energy the last 10 years (yet lack of equivalent rice of salary over the time) all those internet things have become so expensive lol.
 
yeah well stuff also got a whole lot more efficient
anyways
dont host yourself
 
with the rice in price of energy?
I do like rice
 
5:57 PM
i like it in my burritos
 
tru
 
Last 10 years my "part of salary used to pay living bills" has grown immenselly to like 80% from 50%.
 
I've been doing the same part time jobs though.
 
Anyone know if there's a way to do == comparisons with Jasmine (other than expect(foo == bar).toBe(true)?
 

« first day (1745 days earlier)      last day (3218 days later) »