« first day (2307 days earlier)      last day (2864 days later) » 

00:01
Sorry, I was in the middle of something so couldn't give a real answer. To keep it short: Collab with node shouldn't be a problem, but my take from Go was that it's definitely an interesting language with some great ideas (gofmt as a standard is amazing, CSP is amazing, goroutines are amazing).
Having said that, a lot of the language, especially everything type and error related, seems half thought out. Like I feel that a lot of the code that I wrote was boilerplate because the type system was on the one hand very restrictive that I couldn't express what I want, and on the other hand very l
So I was both impressed with Go and disappointed. They got a lot of things right, but those were the things they "stole" from previous iterations: I feel like the things they tried to bring to the table are just not good enough.
I wouldn't use it as a C alternative since it's got a GC (and if I use C I probably want my own mem management), I also wouldn't use it for networking because I've got python/node/perl/ruby which don't have a weird type system
So given a project I don't think I'll choose it as the go-to tool. Maybe if I needed a static binary for my arch (oh yeah you can't cross compile wtf?). Maybe.
oh yeah, I completely forgot! Package management sucks
You don't have versioning. The End.
"everything type and error related" basically this replacing 'java' with 'go' i.imgur.com/76Wtthy.jpg
Go's type system is better than Java's, but that's not hard to do. Java doesn't have a real type system
Java type system does the equivalent of string comparison on the type names and lets you change the strings, and sometimes it doesn't get the strings right. I really don't like Java.
Really really really.
Go is a big step forward, but the strictness put me off.
All of my college CS courses used Java. So bad.
They made it seem like it was the future.
00:16
@jake It was.
Then Oracle bought it.
00:33
Does it matter Oracle bought it because they ruled the apis can't be copyrighted?
@MadaraUchiha
Or do you not like the direction they have brought the language?
01:10
@William The direction, I guess. There is not shortage of criticises in the Java community.
how to make animations effect in javascript like snowfall and other celebratory thingy?
!!tell jacobian google how to make snowfall in javascript
@Zirak I miss the google feature...
yeah I am doing it now. good morning sheepy. do you already have your coffee fix in the morning
Morning! No. I don't drink coffee. I have my baby as my alarm clock.
don't you have babysitter for that?
01:19
SNL it's time. Cast Rosie O'Donnell as Bannon, the world needs this. We will never ask for another thing again. https://t.co/54jj62ZFni
oh my god oh my god
but bannon is the grim reaper
well he's grim anyway
@jacobian Don't really want my baby to regard a babysitter as his mommy.
01:39
you're such a great mom sheepy.
Only because I've a great baby, who is happy with the world and won't cry when cradled by strangers :) I am eager to teach him AI so that he can save the Earth with singularity :D
teach him javascript first by using stripe n html5
Who knows? Maybe we'd all be using some other languages when he learns coding. Not unusual in this field.
js will still be around
and people will still be copying in snippets for IE5 ajax
What a grim world for my baby >_<
01:54
I don't understand, I am trying to use $().load(); and post with a url that is pages/page.php, but I am getting a 405 error. I don't think it possibly could be CORS because I don't even specify a domain!
what is tortoise git equivalent in linux? I hate working in windows
@Alesana CORS is not an http error. If you get 405 it's most likely an error in coding or server config.
Oh I was reading it was a CORS error, hmm. It was working on localhost but not on my server. Okay thanks!
@jacobian If you move to Linux you need to get comfortable with command line. Good luck.
@Alesana Origin takes protocol and subdomain into account, which may be changed by redirects. I can't think of much other explanations... you don't have meta base do you?
Yeah but it's not even defining something.com, just the directories, which is the odd part.
No
02:01
@Alesana If you use Chrome, Chrome does not regard subfolders as same origin, and is the only browser that restrict it.
What is that?
It only regards folders going forwards as the same origin?
@Alesana No modern browsers let you ajax outside the current folder, but non-Chrome allows you to accces subfolders. But please forget it. I forgot you are using php; this restriction only applies to file protocol.
Double check the full url if the ajax request, just to be safe. You can do that with developer tools's network monitor.
Oh that makes sense
Yeah in the developer tool's it's the same URL, subdomain, http://, etc..
@Sheepy why?
There's gitk
Ah I figured it out!
02:08
@littlepootis Because whatever you google, people will tell you to do it from command line. Speaking from experience...
My function was, by default, sending an empty object, making it a POST request. I guess it didn't like POST requests to HTML pages.
@Sheepy he wants a tortoise git equivalent.
lol
He's probably better off using the command line tools regardless of him being on Windows or Linux or OS X, but that's not what he wants.
We dish out what people need, not what they want.
Sometimes that is insults. Sometimes advice to use git commandline.
02:11
@littlepootis Exactly. I googled that and the results advise command line. I can suggest SmartSVN which I know support Linux, and all IDE has Git integration, and I am sure there are alternatives, but that's quite a typical Linux troubleshooting experience.
But I know I have given up and use the command line.
I have used many git gui's, but always go back to the commandline since I can learn it once.
I use gitk because looking at the commit history makes me feel good.
yea, gitk is 'good enough'.
I find no other use for it, now that I'm familiar with the git command line tools.
I'm aware there are better alternatives, but gitk comes with git, and the others don't make me feel any better.
02:14
so any of you don't use tortoise git right
git config --global alias.graph log --graph --oneline --decorate
I've used TortoiseSVN and liked it, but Tortoise Git seemed iffy.
But that was years ago.
@jacobian I use it. Always. On windows. But even with tortoiseGit you can't do every git commands. Creating an orphan branch is one of them that you must do on command line for example.
I use SourceTree sometimes, when I want a better visualization of my repo
commandline + some light editor integration + a decent web UI on the hosted/bare repository (e.g. github, etc)
I've used SourceTree and not hated it.
Visual Studio has workable git integration
what git command that I can't do on tortoise git?
are there any git commandline tools for windows?
02:23
@jacobian Yes, it's called git
@jacobian Uh, did I not just gave an example? Did you read the TortoiseGit installer which ask you how it should handle the command line?
choose to let it change your path.
well my office just gave me this laptop which had tortoise git preinstalled by previous programmer before me.
so I just use it happily.
@jacobian Have you tried typing git commands in the command prompt? Or power shell, if you prefer that. It's quite nice, actually.
ew. like sharing needles.
02:25
really? need to check it out then
02:48
i use git bash
i bash tfs
I had to use SVN for like 2 years. I wanted to kill myself everytime I had to create branches.
I wanted to kill myselft when git said that everything was up-to-date when it was not :D
chances are, it is.
That or some devops guy ran rm -rf.
Question:

$('.some_ele').on('click.event', '.child_element', function(){alert('a');}

doesnt seem to work if you use the event handler
and then use a trigger
03:03
'click'
naw, you can specify an event if you add .{handle name}
not event sorry but handle
Is it ever a good idea to have a large js library load after the document is done loading?
id say yea
To me @Hybridwebdev?
03:06
define some sort of loader on dom load that pulls in and instantiates the extra libraries
@Alesana yes
if it makes for better user experience and its maintainable, why not
Ah okay. I was thinking of that or even of having a loading bar "Loading libraries 1/16..." and have each library callback adding to that number
Well I don't have 16 libraries lol but with css as well maybe close to that
why so many dependencies
jquery, bootstrap, then this plugin called DataTables that I guess depends on a lot of things
Actually no not that many, just one pretty big files
1 message moved to Trash can
@Hybridwebdev Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
03:25
I need to send an email from node.js and heroku
can't make it working...
I am still learning of how to use heroku. it require git bash for ruby on rails.
user6820627
03:38
@jacobian someone said heroku is ridiculous
well indeed it does. there are no cpanel. how the hell can one use it
04:40
@Zirak I honestly would but we have tickets for the 28th
05:01
05:11
i am detail-oriented
I am at the Big Picture thingy
I could be wrong
when I develop I stick to detail oriented and in financial matters I am "Big picture" oriented
Good Morning fellow JS lovers
05:35
gday
nvm then
06:31
Guys have jquery doubt
@Siwalik 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.
I have this element =>
<input checked="checked" class="radio" id="performer_data_type_4" name="performer_data[type]" type="radio" value="4">

trying to run this jquery code on it =>
(jQuery('input[name=performer_data[type]]:checked').val())

gives syntax error
spent 1 day on it.. any help is appreciated
06:44
Where should I post questions on photography ? The answer I am looking for needs a scientific touch
@Siwalik make a fiddle
07:01
@Zirak Email address or my residential address ?
If it's for a postcard, which do you think? ;)
I don't know, I usually post e-cards , physical cards hmm I don't think I have ever given anyone that
if its physical ones , I have bunch of enemies , send them like 50 copies plz
and some cards for the good girls, along with some words praising me
also toss in a map with my longitude and latitude marked for them to find me quickly
But then why would anyone reveal his/her personal details including residential or email address to a stranger on the internet whose profile pic looks like a smiley
07:23
Perhaps it's more aimed at people who know him already?
Why else would you want a postcard?
perhaps
hmm, I might as well send him a mail
@Siwalik weird name attribute but select on [name="performer_data[type]"]
07:55
hello
08:24
@Siwalik (jQuery('input[name="performer_data[type]"]:checked').val()) // Basic CSS quoting. Learn CSS.
I'm guessing their type is a variable but we will probably never know
hmmm uglify2 ignores const <varnames> D:
@KarelG thanks! That solved it!
@Sheepy what is it called? what should i search for this quoting style?
08:44
@Siwalik You are using an Attribute Selector. Tutorials should show you the quotes, because that is how it should be done: MDN, w3schools
is anyone here familiar with angular ui router?
I only know angular js
I am trying to implement a nested ui-view but the child view is not showing up
SHEEPY
U LINK'D W3BLERGSCHOOLS
bad bad
@jacobian: figured out!
08:57
Hakuna Mata ~O~
People with knowledge on photography help me out here photo.stackexchange.com/questions/86939/…
hello to eveyone, i am new on javascript, and have some question around javascript libraries pattern, may someone help me
does anyone know how can i find a javascript ( no jQuery ) startkit library??
09:21
How could I access any element's default value to use another place in javascript?
Btw what is actually elements in js... it that similar to member variables/ member functions in java classes ?
@W.Jack If you mean the initial value of an input element, you can try element.getAttribute( 'value' )
No. it's quiet complex... a long parent-chield hierarchy exists there.... I could show you the code
1
Q: Exclude type checking on certain files

Cat BossI have some styles.istyl files compiled with a combination of css-modules and stylus with webpack. TypeScript can't recognize it without a d.ts file, and emits a file is not a module error. Meanwhile, I'm creating a .d.ts file for each such file like so: declare var whatever: any; export defaul...

@Shayan Vanilla js is as good as any. You won't find any non-jquery library that has more learning resources.
@Mosho / @AwalGarg / TypeScript fellas, any idea?
@W.Jack Moment please. Just free from the baby...
There I want to access the value of "textRows" (which is default 3) and use the variable in another js file
@Sheepy sure.. take your time
As for the quote itself, sorry I am not sure how you can learn the quoting system other than reading the spec.
The selector is part of "CSS Selectors Level 4", section 6.1, which state that you can match the attribute against an "identifier" or a string.
You are using a string, which is defined in CSS 2.1 section 4.3.7. It explains how to escape quotes and line breaks, as well as how to format long string in multi-lines.
@Shayan If you are new then I would advice you to stick with JavaScript until you have mastered the basics and how things work in general
@W.Jack Ah. Sorry, I am more well versed in client side js and not familiar with server side gui frameworks. I can't even identify which one it is so I have to leave it for others.
09:37
Ok. Thanks... but can You give me any idea what 'elements' actually mean in js ? @Sheepy
I am torn between whether I should read that as a joke or seriously @_@
Did anyone here, heard of "General Update Pattern" in context of Js ?
@W.Jack In "pure" js - where we don't talk about browser or server extensions - elements commonly refer to a member of an array, or "array element". But in a context with DOM, it generally means DOM element, such as <input> or <img>.
I am in England, finally vacation time is here :D
Mmm.... got that!
09:42
@Abhishrek Any plans to come back ?
England... that good for vacation ??
@W.Jack Its good near river Thames
@FlyingGambit yeah in 47 days
England is amazing
I'm just transiting in England though
09:43
where are you going?
next flight takes me to Orangeland
Washington DC :D
May be... I heard about England... very busy city
@GNi33 I'm gonna meet @Luggage day after!
May be... I heard about England... very busy cities there
Its unbelievable 70 years ago this city was capital of most of the world xD
09:44
London ??
London is pretty busy, yeah. The rest not that much
@Abhishrek how long will you stay in London? And what are you going to do in the US?
I think USA is great for hang outs!!
How much would it cost for a flat there ? with a view of the London Bridge
LOL
@GNi33 I Have a vacation overdue
09:45
that's all I'm going to say to that
gonna spend some time with my girlfriend, attend a ton of meet ups and conferences :D (yeah thats my idea of a fun vacation) then finally a business sync-up trip to Seattle
@FlyingGambit do you actually want to see London Bridge?
@Abi sounds good
Yes the physical real one
@W.Jack Only London is remotely busy, if you ask me. :p I've lived in England and London almost feel like another country lol.
Busy, try Mumbai, New York or Tokyo
09:47
London Bridge isn't really special though
But.. for real joy .. Asian countries are the best someway!!
@GNi33 roll back 100 years
@GNi33 which bridge in London is special ?
the Tower Bridge
!!giphy London bridge
@Sheepy ... Yes, I have also heard that!!
that one?
that's Westminster Bridge
Giphy sucks
man, I love London
09:49
I thought that ongoing discussion would be on Javascript
@SaurabhSharma 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 That looks like the classical meeting point for couples
It's just not affordable to live there at all
I have 2 kidneys lying around
To have a view from your flat on any of these bridges you'd need to live in or near the city of London, and you probably need to shit money to be able to afford that
09:50
@W.Jack Or come to Hong Kong. Even when outside of rush hours, tourists complain of the impolite waiters which we take for granted because we value efficiency higher.
Why wasting that?? Buy a iphone7 for You
@GNi33 I am gonna probably ask the Queen of England to adopt me
@SaurabhSharma JavaScript is crap
we all know it
so we talk about it as little as possible
@Sheepy .. Yeah.. that will be fun of course. And my suggestion also, visit Cox's Bazar, longest beach in the world
@FlyingGambit you could try that
09:52
@GNi33 why ?
why not?
@Abhishrek If you put that in one line I would have starred you XD
@GNi33 why though ?
because it's a beautiful, interesting city with loads of history?
@SaurabhSharma JavaScript is crap, we all know it, so we talk about it as little as possible
2
there @Sheepy
09:54
@GNi33 what on earth is not beautiful and historic ? it's billions year old now..., they say !
@Mathematics Nazi concentration camps
@GNi33 Woo!
@Abhishrek we are talking about land :|
@Mathematics the landfill near you!
yeah, I'm not going to get into that conversation
09:55
@Sheepy doh, you are getting exciting over stars
Also Kodi boxes are getting raided in UK 🙈
if you compare the mountain next to my house to London... sure, both are beautiful and old. There's a big difference though
@Abhishrek that's someone human invention...
@Abhishrek Yeah, no
@BenFortune Am watching news
in london atm, its on morning news
09:56
@Abhishrek That's not even remotely what's happening :P
@Abhishrek you got no work ?
All they're doing is getting ISPs to send a letter
> 🙈
> > > 🙈
Like they have done before for torrents and other illegal shit, doesn't mean anything
@BenFortune tell me about it
09:56
Yeah I know, but the way media is presenting it
Are you watching BBC?
best part : They brought an Apple TV and FireTV Stick to show a Kodi Box
@Abhishrek but you are here for a short visit ?
There's your problem
09:57
I have to go to London at least once before you guys leave @BenFortune :(
lol
at an Airport can't change the channel
why are all of you in London today ?
@GNi33 I've only been to london once haha
@Mathematics I'm flying to Washington, DC
hehe. I've been there two times now
09:57
I have seen videos of London on my TV
London is about 200 miles from me
@BenFortune I mean UK
I'd love to come back and visit London for a week though the city looks glamorous!
it really is
@Abhishrek It's a shithole
09:58
expensive though
@BenFortune you are in/near Birmingham then
@BenFortune Oh comon, I'm from the third world!
The rural areas is where it's at, Durham and York are both beautiful cities
@BenFortune maybe when you live there. From a tourists point of view it's spectacular
20 mins ago, by Mathematics
Did anyone here, heard of "General Update Pattern" in context of Js ?
09:58
No
@GNi33 I don't live there :3
1 min ago, by Ben Fortune
@GNi33 I've only been to london once haha
gosh I keep forgetting google is ded
I know. But it's your capital
I say shit about Vienna all the time as well
wouldn't want to live in that shithole, but it's a nice city as well

« first day (2307 days earlier)      last day (2864 days later) »