« first day (1695 days earlier)      last day (3270 days later) » 
00:00 - 13:0013:00 - 00:00

user3233318
1:01 PM
Talking about hiring, do you guys think is possible for a guy that has a college degree but not much experience with js to get a H1 visa?
 
Just realized my mobo doesn't have integrated wifi and I was gonna play with a parrot drone :/
 
@user148098 definitely possible, just have to find the right opportunity or a tech screener who doesn't know what s/he's doing
 
user3233318
@user128268 I know JS very well, I just don't know the new frameworks, or have worked with it a lot on a job. But I like the language very much, so I want to move to it.
 
user3233318
@user128268 I am still finish some projects that I hope I can use to help me find a job, but If I wanted to start looking now, where would be a good place to start?
 
1:06 PM
@user148098 depends who you're talking to, but a lot of people prefer JS expertise to knowing the API of one framework really well (myself included)
 
user3233318
@user128268 That is very nice to hear :)
 
user3233318
@user128268 Would you say that knowing JS well is to know when semi colons have to be used, how exactly the cast rules work, prototypes, etc, or is to know how an object is implemented by an interpreted?
 
rips User148's space bar out of his key board
 
@MadaraUchiha not sure if that is so. the fetch specification doesn't describe any implementation detail of xhr objects, and thus it is entirely upto the implementation on how it handles the two objects.
 
i mean, the basics (type coercion, prototypal inheritance, trade-offs of using/not using semicolons) are important of course. but senior ppl should have advanced knowledge of how lexical scoping works, functional programming, engine internals, etc.
 
1:11 PM
@MadaraUchiha also that doesn't explain why fetch doesn't send cookies along with the request
 
user3233318
@user128268 Interesting. Do you work with JS yourself?
 
@JanDvorak I'd say advertising is fine from regulars, it was vouched. Random people...
 
@user148098 yes; recently got moved to a mgr/tech lead role, but was Lead JS Engineer before that, and still very hands on with our JS practice
 
@FlorianMargaine Isn't that unfair?
 
yes it is
 
1:13 PM
No, that's the point of a community. People can vouch for other people.
 
not just to irregulars, but also community members. what if the opportunity was, like, chief javascript master of the universe at mozilla or something
 
@user128268 uh, what?
 
Life's not fair, the sooner one comes to terms with that the better
 
Well, it's just my opinion though, good idea to bring it up at the next meeting
 
user3233318
@user128268 Do you mind if I ask why programmers are being called engineers? It is a little confusing to me, because in my country the two are separated.
 
1:15 PM
@user148098 what country you are in?
 
@JanDvorak saying people in the room might not get to hear about opportunities that they'd want if there's a preferential process for posting them in chat
 
user3233318
@Harish Brazil
 
@user148098 my guess, for most cases, is bc it sounds more enticing than "programmer"
 
user3233318
@user128268 True
 
but in some cases its a real decision based on the duties of a role
team leads, architects, and engineers are all "programmers" in a lot of places
 
1:18 PM
@JanDvorak I think he means that even good quality content could be hidden if it is posted by a non-regular. Sounds legit.
 
user3233318
@user128268 Do you think that roles that have more to do with management tend to have the title of engineer?
 
@user148098 I think mainly historical reasons, computer sciences fell into the same bag as all other STEM fields and got lumped together with the rest of the technical people who were already engineers
I don't think building software compares very well to building a bridge though
 
@user148098 no, actually the opposite.
technical mgmt roles that involve coding usually have "architect", "lead", or something similar
@ivarni building software definitely doesn't compare well to building a bridge, but a lot of specialized tasks seem "engineering" to me: instrumentation and monitoring, performance optimization, etc.
 
user3233318
I think it is becoming more clear to me now.
 
@user148098 if you're more interested in what specific companies do and do not use h1b visas on, this is a useful tool: data.jobsintech.io
 
user3233318
1:24 PM
I got a little disappointed with my last two jobs when I was in college. For example, I only heard about code review online, and people were not using GIT like it was supposed to.
 
user3233318
@user128268 Thanks
 
that happens at a lot of places, both big companies and start ups
 
user3233318
@user128268 Hummm, Sometimes I would say something that I knew for sure like that json was not just a dictionary, or something about GIT, but I felt I got ignored for being an intern.
 
that is when you run quickly in the other direction
 
user3233318
And it was super confusing, because the CEO wanted for me to behave like any other employee, but people on top of me were acting the opposite.
 
user3233318
1:28 PM
You are right.
 
user3233318
@user128268 Thanks for your advice, that is very comforting.
 
i hate browsers
 
all of them?
 
user3233318
@AwalGarg The good thing about programming is that if you are unhappy with something, it is totally possible to build your own.
 
1:35 PM
I need opinions: should I use jQuery or Vanilla JS?
 
@michaelpri depends on the project
 
!!should @michaelpri use jquery or vanilla js?
 
@AwalGarg vanilla js
 
@michaelpri ^ settled for life
 
@user128268 This one. I've written most of it in Vanilla JS, but I've have parts of it done in jQuery too
 
user3233318
1:37 PM
@michaelpri I saw on Reddit that jQuery is not needed anymore, because most people are using browsers that follow the standard now. But it still makes things easier.
 
user3233318
This website talks about it: plainjs.com
 
@michaelpri for something small like that i'd use vanilla
 
Hmm, I'm gonna stick with Vanilla then
 
@MadaraUchiha ftr it is a bug. fetch doesn't serialize formdata objects yet and fails to send a proper request. being tracked.
 
1:41 PM
which is why params work in FF but not cookies, and nothing works in chrome.
 
@AwalGarg hi
 
hello
 
2:11 PM
@MadaraUchiha Didn't you have a different name before Madara Uchiha ?
 
@Catgocat I had many names.
 
Weirdo
 
he has genjitsued everyone.. so no one knows who he really is
 
@argentum47 I know who he is
 
2:37 PM
function hashKey(obj, nextUidFn) {
  var key = obj && obj.$$hashKey;

  if (key) {
    if (typeof key === 'function') {
      key = obj.$$hashKey();
    }
    return key;
  }

  var objType = typeof obj;
  if (objType == 'function' || (objType == 'object' && obj !== null)) {
    key = obj.$$hashKey = objType + ':' + (nextUidFn || nextUid)();
  } else {
    key = objType + ':' + obj;
  }

  return key;
}
how can key be a function when they are always setting it to a string
 
Perhaps it isn't always a string?
 
unless object is a Map, no
 
They do (conditionally) turn it into a string here, but that doesn't mean they expect a string
 
1 message moved to Trash can
@vamsiampolu Please don't post unformatted code - hit Ctrl+K before sending, and see the faq.
 
 if (isolatedUid) {
    var uid = 0;
    this.nextUid = function() {
      return ++uid;
    };
  }
  forEach(array, this.put, this);
the nextUid function just increments a value inside and returns it and they keep passing it to hashkey...and they instantiate HashMap with no arguments in injector.js which means that function does not even exist...
 
2:55 PM
block-level var declaration? yuck
 
3:48 PM
In a certain array i have /partials/api/bla/bla/directive and then I can also have /partials/api/directive.html .. so I have to match a /partials/api/(.+?)< not followed by a \.html >
\/partials\/api\/(.+?)(?!\.html)(?:$) this should work
oops that (?:$) should be $ :P
 
4:05 PM
weekend room is so bad :/
 
no you
@SomeKittens pointing out that someone actually read the FAQ?
 
4:21 PM
@BenjaminGruenbaum you can generate activity ofcourse. If you want I can ask a ton of questions :D
 
@argentum47 m back from dinner. you ready to test?
 
4:36 PM
:(
I did jspm install && jspm bundle-sfx static/js/so-chat dist/so-chat-bundle.js , and in the userscript I cahnged so-bndle to so-chat-bundle , I have a python server running at 8000 but something is missing.
 
^^ @Shmiddty @BenjaminGruenbaum @rlemon
Apparently deleted messages get removed after a while
 
using tampermonkey btw
 
(and yes, I'm aware of the lack of responsiveness)
 
The UI is broken here on my desktop - but I like the concept
 
less than 1500px wide?
That's today's task
 
4:46 PM
@AwalGarg you need // @match chat.stackoverflow.com/rooms* in th userscript
 
@SomeKittens I'm not sure what you're on about
 
@Shmiddty regarding the overall concept or the responsiveness?
 
I may be missing context
 
How often do you get recruiter emails?
 
Hi guys
how can i reduce the size of a GIF
I have one that is 9 megs
 
4:59 PM
upload to youtube?
 
what
 
@SomeKittens about that often
 
@Shmiddty Sounds about right.
 
@meda if it's an image, recode to PNG with max compression. If it's a video, upload it to youtube
 
5:00 PM
the quoted sections are all excerpts from actual emails I've received
 
@JanDvorak its a GIF
 
*it's
 
common
 
@SomeKittens For some reason, it only just occurred to me to check the contents of your deleted message. haha
 
im serious
 
5:02 PM
@Shmiddty OH. Yeah, that'll do it
 
Well, a GIF can either be static (image) or moving (video)
 
how can Youtube bhelp me resize it
 
@SomeKittens Needs an "about the author" for context on some of the jokes
"please send water" is funnier when know the author is in California
 
what I really need is to add an "about" page to my personal site
 
5:06 PM
Well, that wouldn't be completely in-context
 
I'd have a link to it on the side (there's already a link but it's just to root)
and I think "About the Author" would help a lot
 
5:37 PM
LMFAO, a friend from work just talked to me on hangouts and told me @Mosho had to write a new Angular route or something and he integrated Mithril into our working angular app for no reason lol.
 
5:54 PM
In soviet Russia government controls you.
Oh, wait...
 
pfff
no reason? here's my reason:
<div ng-if="c.name !== 'name' && c.name !== 'ranking' && c.name !== 'action'">{{::col}}</div>
 
@RyanKinal Thanks for posting this (M:TG Turing State Machine). Totally awesome! I'm communicating with the author about the next version. And totally nerding out.
Markdown needs to extend the link syntax to allow for tooltip titles.
[text|title](href)? text
p'raps
NEVERMIND
 
[Neat tech talk!|not Friday](http://rebecca.blackfriday)
 
[text](href "title")
 
@Shmiddty And thus, a new age opened in room 17
 
6:33 PM
@argentum47 why?
@argentum47 no no no. You don't run it on this page. You change the url of this page by replacing rooms to client and it works. The userscript defines a new endpoint so that you can use this chat as well.
it seems to work with SE chat as well. I have no idea why.
 
6:59 PM
@BenjaminGruenbaum sounds legit. That will also revert the problems caused by inversion of control because inverting inverted control will get the control back.
 
@Zirak ping
 
@MadaraUchiha Zirak is afk: weeping
2
 
oh shit he is weeping since then because of me :(
 
7:07 PM
@Catgocat looks like a link to me
 
@AwalGarg Yeah click it
 
@Catgocat mom says I should not click on links from strangers :(
 
@AwalGarg She clicked on my facebook profile for sure
@AwalGarg What do you think
 
I am not sure why I will ever use it.
 
Check out /examples/readline-parser.js
@AwalGarg I just wanted some feedback, that's all
 
7:12 PM
I gave feedback, that's all. Reading the example.
looks good to me
 
What do you guys think about codecademy's javascript course? I've heard some pretty negative stuff.
 
@TheWrenchintheSystem 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.
 
ok
Nice pink unicorn icon Caprica! (I'm assuming those are your rules.)
 
@TheWrenchintheSystem It does a good job of introducing the basics methinks
Not so much in the area of good practices though
 
hehe
What are those aforementioned good practices?
 
7:20 PM
The ones you get from reading JavaScript: The Good Parts and Eloquent JavaScript
 
what do you mean by eloquent javascript
?
 
@TheWrenchintheSystem It's the name of the book.
 
OOHHHH
Uma go look at it
on amazon
 
completed one "thing" which used jspm. way better experience than npm/gulp whateva.
 
7:26 PM
Achtung comrades
 
what does achtung mean
 
@Mosho put if in a function :D
 
@TheWrenchintheSystem , "attention"
So I receive a JSON response back from a service and it gets instantiated into an object.

I then log that object to the console and it prints out
object { a="foo", b="bar" , c = function (){} etc....
Then on the next line I print console.log (object.a) and I get undefined ... wtf... perhaps its a problem with backbone.js
I also tried doing console.log(object["a"]) but stll got undefined
 
7:42 PM
@kaleeway jsfiddle
 
7:52 PM
Ok, I am trying to lift the code into JSFiddle, need to get some sample JSON to emulate the response
 
Hey people. Is there a way to capture outgoing websocket messages? XY prevention: on a website I have access to the websocket instance, but not the part that does the actual sending of the messages and I need to see what messages are being send out
 
@PeeHaa "capture" === record or hijack?
 
record yeah
 
You could monkeypatch it
 
8:02 PM
Yeah. I guessed that was possible somehow. But how? @SomeKittens
 
you can see the logs from devtools?
 
@AwalGarg I need it programmatically ;)
 
@PeeHaa oh, then overwrite the send method of the socket instance
 
Can I overwrite the send method somehow to inject my own code and pass through the rest?
 
lemme write an example
 
8:03 PM
hehe tnx
 
socket = new WebSocket;
let back = socket.send;
socket.send = function () {
	window.__records.push(arguments);
	back.apply(this, [].slice.call(arguments));
}
@PeeHaa ^
 
Ah damnit. So simple. I somehow totally forgot I could just store the current method
Let me try
 
Why does my function still returns "undefined"?
 
1 message moved to Trash can
@Frondor Please don't post unformatted code - hit Ctrl+K before sending, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com or pastie.org
 
I was about to add tabulation.. FFS
Let me edit the message
 
8:08 PM
post it again with tabulation.
 
Fuck you. I just wrote the code.
But thanks anyway.
 
lolwut...
 
have a fantastic day
 
is everybody drunk or what
 
anyone with FF39+?
 
8:10 PM
@AwalGarg Nope sorry
 
ME
@AwalGarg I use it to chat with your mom on facebook
 
@Catgocat who the fuck are you and why do you keep pinging me all the time?
 
@AwalGarg I'm your father
 
... ping me one more time. I dare you, I double dare you.
 
> Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
Eeeeeek I am a terrible person :P
 
8:12 PM
@AwalGarg sorry
 
@MadaraUchiha (most recent ro I saw here) ^ kick him out please
 
Oh you meant ping, I thought you said troll
 
Excellent @AwalGarg. tnx!
 
@PeeHaa np :)
 
@erikroyall why, reactjs is terrible?
 
8:15 PM
@MTaqi 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.
 
I am planning to update my User Resume Creation module to shift from Simple Javascript to some framewrok, After googling it i finally came up with ReactJs. What you guys thing AngularJS, backbone or ReactJs with Django Website?
 
@MTaqi why are you shifting it?
 
8:30 PM
due to speed, javascript takes lot of time.
and plus i didn't like simple js validation and rendering htm throught js
@AwalGarg Now I use javascript on my whole module to render html forms when user wants to add add another section to his resume, then I use js for client side validation and ajax calls to pass these data to django app.
 
@MTaqi wait, what?
 
I need some secure and lightweight framework to do this.
 
> javascript takes lot of time
takes lot of time for what?
 
@MTaqi If your vanilla JS is taking a long time, adding a framework to the mix won't solve your problems.
 
morning
 
8:35 PM
@MadaraUchiha I see some other application that redner html in amazing speed, and figure out that they use backbone or angularjs.
 
if you mean to load, then using a framework will likely increase that time. If it is a performance issue, expect a hell lot more performance issues after adding a framework.
 
@MTaqi I assure you, DOM is just as fast. If you use it right.
 
@MTaqi also, emmm ... if your JS lives on the frontend, how exactly do you imagine it becoming "secure"?
 
@MTaqi you are doing something wrong
 
Simply using Angular won't make your application fast
 
8:36 PM
Then @SomeKittens
my app has more than 14 million users.
 
Even React's virtual dom won't give you any noticeable improvement unless you have over 20k elements with memory leaks roaming around.
 
@SomeKittens are you implying that Angular isn't made of magical pixie dust that you sprinkle on a website to make it webscale ?
 
@MTaqi The number of users is irrelevent for client-side speed.
 
@tereško I think you are confusing angular with jquery :P
 
@tereško Fraid so.
 
8:37 PM
@AwalGarg oh, right, my bad
 
@MTaqi ...and?
 
Each client does processing on its own independently from the other more than 13,999,999 million users
 
@AwalGarg clear me?
 
@MadaraUchiha s/million//
 
You client-side rendering speed is bad, because your code is bad.
 
8:38 PM
^^^
 
Adding a framework won't change that. Improving your code will.
 
@MadaraUchiha that's the point.
 
Frameworks don't make your code better
 
using document fragments and not using innerHTML helps
 
8:39 PM
Contrary to popular belief, framework != magically make code better.
 
@MTaqi adding a framework will not improve your code
 
And What about security Concerns?
 
More specifically: Frameworks/libraries/plugins/etc don't make you a better coder
@MTaqi what about 'em?
 
I see after veiw source my page , all js code is avaliable?
 
the only ever justified reason to use a framework is that you don't like/know vanilla js/dom.
 
8:40 PM
@MTaqi What are you afraid of?
@MTaqi Just like in every other application on the web (this chat included), yes.
 
@MTaqi Yes, that's how the internet works
@AwalGarg ahem. There are some fantastic reasons to frameworkify. Not reinventing the wheel a dozen times over is one of 'em.
 
if you want user to use something, he will need to have access to that thing
 
there are lots of ajax calls inside jquery.
 
@MTaqi And?
 
@SomeKittens and that
 
8:41 PM
@MTaqi My suggestion is to pick up a couple of tutorials and learn what programming is. It'll pay off in the long run.
 
and i want to make it secure or encrypt in a way that it is not visible on viewing source.
 
@MTaqi That's not possible
 
@MTaqi Nope.
 
If you don't want users seeing it, don't send it to the client
 
@SomeKittens In npmjs.org, I have created a Gravatar and uploaded an image (my username and email are the same in both gravatar and npmjs) but my profile picture in npmjs isn't changing.
Nevermind, it has changed now.
 
8:42 PM
@MTaqi JavaScript is client side code. It's downloaded to the client and is executed on the client
What makes you think you can send something to your client, and have it execute without being able to read and parse it?
 
@Catgocat caching!
 
While my searching about reactjs, I read that reactjs code can be placed on servier side too for rendering html and other stuff.
 
try this @MTaqi view-source:http://samy.pl/ </troll>
 
@MadaraUchiha Haha that's nice
 
8:43 PM
!!tell MTaqi wiki Interpreted Language
 
var menusTable = $('#menu-table').DataTable({ gives me menusTable empty,
var menusTable = $('#menu-table').dataTable({ works fine , I am using jquery datatables
 
@C4CodeE4Exe 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.
 
"How can I hand a $100 bill to someone on the street and not have them spend it" <- correct answer: Keep the $100 bill on your server
 
@SomeKittens but but!! I want to show em!!
 
The server has windows
 
8:45 PM
@MTaqi from this conversation, it's clear that you're missing a few axioms of frontend.
I'd suggest reading up on the basics
 
@SomeKittens yeh,
 
!!tell MTaqi resources
 
!!help resources
 
@Shmiddty That didn't make much sense. Use the !!/help command to learn more.
@Shmiddty resources: User-taught command: <>https://gist.github.com/ericelliott/d576f72441fc1b27dace
 
8:46 PM
!!forget resources
 
@Shmiddty Command resources forgotten.
 
Ok, let me ask a final question, what Js framwork will suit django app?
 
!!learn resource "<>https://github.com/ericelliott/essential-javascript-links#essential-javascrip‌​t-links"
^ updated link
 
@Shmiddty Command resource learned
 
@Shmiddty nice catch
 
8:47 PM
Udacity is also a good resource
 
@MTaqi any of 'em.
 
@MTaqi sigh None of them. Client side and server side are completely seperate
Especially when you have Python on the server side and JavaScript on the client side.
 
(to clarify - the fact that you're using Django has no bearing on suitability of frontend frameworks)
 
samy.pl/evercookie holy gosh this guy...
 
+1 for @SomeKittens
 
8:51 PM
i¯⁴ for @SomeKittens
 
I need to photoshop my passport.
 
cool thing to try: open a US currency note's pic in Photoshop
 
I'm going to use that from hereon out when arguing with idiots here or on main.
 
@AwalGarg I tried that once in 2 minutes, and the FBI knocked on my door.
 
1) The client creates a ball.
2) The client throws the ball somewhere they suspect a server may be located.
3) The client waits.
4a) The client sees something that looks like a ball flying toward them and catches it.
4b) Nothing happens. Eventually the client stops waiting. GOTO 1;
5) The client examines the ball and decides what to do with it.
6) GOTO 1;
 
9:01 PM
@AwalGarg I'm not from US
 
port scanner on an IP scale?
 
I have to change my information to claim my son, @AwalGarg
 
^ It's not illegal to scan money
 
@Catgocat you are irritating me now. stop it.
 
" IT'S A PRANK BRO "
 
9:06 PM
how is it a prank?
 
I'm impersonating those people who do things that end badly and then say " IT WAS A PRANK BRO "
 
anyone remember that node task manager with a name starting from "p"?
 
pm2?
 
ahh right. process manager 2
thanks
 
welp
bike got stolen
I'm here for your sympathy
 
9:20 PM
:(
that's really sad. I felt very bad when my bike was stolen
 
it's a motorcycle
 
@Mosho ugh
sorry man
that sucks
 
what, don't they respawn?
 
only if you pay enough
 
just start from last save point
 
9:22 PM
it was stolen between 1-2pm, in front of our offices
 
@Mosho :c sorry
 
@BenjaminGruenbaum your office sucks
 
I supposedly even have them on camera
for all the good that'll do
 
@Mosho oh that's even more unlucky. mine was a simple pedalling bike (and I got it back later on). I hope you get it back soon.
 
9:24 PM
night everybody @Mosho and good luck
 
@AwalGarg lol, it doesn't exist anymore
@Catgocat gn & thanks
 
@Mosho while you're grieving, can you check out the site I linked you to yesterday and see if the new responsiveness works?
 
at least give me the link :|
 
You should eat the guy who stole your bike
 
9:28 PM
@SomeKittens looks fine
 
yeeeey
 
I find it even less funny now though
grumble
 
10:05 PM
Anybody in room familiar with Jcrop.js ??
 
10:26 PM
> how to turn on wifi when ipad is disabled ?
i really dont wanna wipe this
 
10:38 PM
turns out i have to -.-
 
 
1 hour later…
11:56 PM
> Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo
lol Apple
 
00:00 - 13:0013:00 - 00:00

« first day (1695 days earlier)      last day (3270 days later) »