« first day (2353 days earlier)      last day (2595 days later) » 

11:02 PM
here you go, because i was bored
the function batch replaces your for loops
 
no javascript does not cause insanity but idiots happen
 
@Rolf that was a rude thing to say
 
why
ok maybe
but it's tru
and i don't know any other words that i can use
 
are you calling me an idiot?
 
no
 
11:13 PM
@Rolf you uhhh need a hug there?
 
why would you think that this is not about you
 
I am the one who asked if Javascript caused insanity
 
it may be rude but so what
 
@r3wt I'll call you an idiot if you like?
 
i would pick rude then someone's crappy javascript code any day of the week
 
11:14 PM
true
I was just saying, i asked that question in frustration trying to understand SystemJS
or rather, the intent behind it
 
I don't like SystemJS
nor it's creator
 
Well me neither
 
he seems to be a bit arrogant
or am I confusing SystemJS with something else, I'm no sure actually
 
bwhahaha
why don't you like systemJS?
 
I used it in my previous job. The "senior" developer wanted to us to use React + Typescript + some sort of Redux
to make basically simple disposable 1 page apps for ad campaigns
so really over-engineered, bloated stufff
it was compiled with grunt and some sort of concatenator / obfuscator of which i forget the name
 
11:18 PM
i feel left behind by es5/es6. that's probably why. like a dinosaur
 
it took like 1/2 minute to compile everytime you changed something
and source maps didn't work properly so it broke all the debugging tools
and that was supposed to be the hot shit
 
my problem is understanding the hot shit
 
my quote about idiots is to be taken in such a context
there is nothign to understand
 
but...where's systemJS?
 
vapor
 
11:19 PM
it's just bloated stuff to stroke someone's ego
 
idk, i kind of like typescript tbh
 
not systemjs but generally such over-engineered setups
i don't like the whole compilation process and bloated, buggy stack
it introduced more problems than it solved, and there was not many problems to solve to start with
 
just systemjs, i can't figure out how to do what i want which is to bundle to a handful of files. Instead of having 900 fucking requests
so now i tried to follow some guide to migrate to webpack
and now typescript won't compile with webpack. not sure why
 
Well I tried to move to babel which is faster, and had to use systemJS somewhere in there. I forget the specifics, my memory is not so good
 
typescript loader?
 
11:21 PM
yes
i followed some video on youtube for Angular2 projects
 
so anyway systemJS is not so bad but i would do without it - if it was just me i'd just write ES5 - no compilation or anything
 
yeah webpack is on my ever growing to learn list too :/
 
maybe in a couple of years I'd write ES6 - so what
KISS
 
well dude, its really easy. The thing i can't solve is why its not compiling
 
what exactly is your problem?
it was a bit tricky but I got it to work - maybe I can help
if I remember :) it was like 4 months ago
i don't think that systemJS is supposed to compile anyting it is a runtime loader
 
11:24 PM
right, i know that. the problem with systemjs, it makes to many requests == really slow app
so i tried to figure out how to bundle it all into a handful of files = fail, systemjs chokes on XHR
so now i'm migrating to webpack. webpack whined about some file sbeing out side of root dir. so i fixed that. now its trying to compile the src for all the node modules, and doesn't compile. but i have ignore /node_modules in loader of webpack config
confused
 
yeah sounds vaguely familiar
hold on, i'll check my source
 
a week ago i was working on angular.js. this is my first rodeo with es6 modules (in context of javascript in a browser environment), angular2, and typescript
its cool man, i appreciate the chat. Nice to not feel like the only person who is lost
i'll just admit defeat for now and take another crack tomorrow.
 
oh and by the way jspm is what they were using to concatenate and took 1/2 minute
that was the one I hated most
I replaced it with webpack and it went much faster
 
i have zero knowledge of any of the new hotness
 
obviously they didn't like me tinkering with their hot shit setup so they ended up firing me, but that's another story
 
11:28 PM
AHAHAHAHA
i want to hear that story xD
 
:)
 
do you guys play video games?
 
bah not so interesting really, they just started to single me out, pick on little things, tell me to to do things EXACTLY "their way"
i am not sure what it meant really
 
@r3wt yea
 
did they want me to use 1 and 2 letter variables all over the place?
 
11:30 PM
lol
 
or setTimeout hacks everywhere?
or be happy with their bloated slow stack?
probably all of it
 
@Rolf in fairness you probably shouldn't just come in and change a codebase
 
@Loktar console?
 
anyway after a bunch of meetings (i could see them doing meeting after meeting and I knew it was coming)
 
@r3wt everything
 
11:31 PM
gt on PS4?
 
they took me apart and told me some stuff about me having "communication problems'
 
nah on PC thougfh
 
so yeah not such a funny story
 
ah right on
 
there you go
 
11:32 PM
@Rolf sounds like you escaped a toxic situation
 
yes i am relieved to be honest
just fed up with such situations, not the first time it happens
but this was one of the worst
 
rn, i feel like nobody knows what is going on
 
it was really crap and they were all in denial
 
where i am working
i ask the lead questions about angular2, typescript, etc and he has no clue
 
well if he's honest about not having any clue that's already very good
 
11:34 PM
agreed with Rolf
hey it could be a fun bonding moment trying to figure it out together
 
hmm.. interesting perspective
 
that's not good
 
it feels good to talk about it
 
means he doesnt keep up
 
and to find people who understand
 
11:35 PM
i was once thrown into a Dojo framework and then the lead left after 2 weeks
 
@Loktar you can't keep up with everything
 
it was stressful trying to learn JS AND write code
 
@Rolf Angular and TS are huge
 
@Rolf but he's the lead. I'm the noob. he's supposed to know atleast something
 
A2
@r3wt exactly
 
11:35 PM
but there was no one else so i was the lead by default
 
they are huge but it's about using the right tool for the job
 
yeah but that's not the argument
 
not about learning whatever is huge or hyped up
 
the argument is if they should know about it or not being a lead
and how can you know if it's the right tool then?
 
well it depends on whether they use it or not
if they do, then he definitely should
 
11:36 PM
what do you think is a good solution for building data driven SPA's for enterprise clients?
usually with java backends
 
@r3wt, depends on the team
 
groveling, poor underpaid freelancers
myself included
 
quit, that's a good solution
 
i can't i don't have any better prospects lol
 
Hey guys. I know this is off topic and I don't usually do this. I tried moderators, but as I'm a JS guy too, I don't know who to turn to...

http://stackoverflow.com/questions/43035004/how-to-generically-recursively-reverse-any-array-without-using-c-standard-li

I was absolutely bashed in this question for, what I believe was having a different point of view to the majority of people. Users massively downvoted me, even with other unrelated questions to this one.

Furthermore, if my question was so bad, it's been about two hours and they couldn't even close it for being "off-topic", "duplic
 
11:37 PM
@SantiagoVarela 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.
 
@r3wt, the best solution would then be to treat this as a learning experience
 
@r3wt the problems you described are probably related to Typescirpt, not webpack
I remember having similar problems
 
even if you don't learn much about the technical implementations
 
@Rolf but it compiles with the typescript compiler. just not the one with webpack
 
you could learn something about yourself about what you do and don't like
 
11:39 PM
hmm, i appreciate the advice
thank you
 
Thanks @derp
I'll heed that...
 
@SantiagoVarela people downvoted you... I don't see the problem. In the comments there may be some pointers as to why
 
<--curently going though that situation too
 
The problem is the downvoting...the problem is their arguments and their closed mindness. I mean if you take a read at the comments, it's just free bash.
isn't*
 
@r3wt I had the problem with typescript looking outside the root or something like that, if I remember well
@SantiagoVarela well there is nothing more they can do then downvoting and commenting
I suggest you ignore them
 
11:42 PM
@SantiagoVarela people downvoted you because you didn't show what you tried so far
 
I did, it's in my answer. Like I said, nothing like that is mentioned in the comments...
 
@r3wt here is my tsconfig
{
      "compilerOptions": {
          "rootDir": "./src",
          "outDir": "./es6",
          "target": "es6",
          "module": "es6",
          "jsx": "react"
      },
      "exclude": [
          "node_modules",
          "jspm_packages"
      ]
  }
 
@Rolf 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
 
ok sorry
 
Anyways, thanks for hearing me out. I guess, that's what I needed.
Cheers.
 
11:46 PM
@SantiagoVarela It sucks, I have been in a somewhat similar situation where someone just had to prove me wrong
I think it is best to let them downvote and comment, if they are really being irrational and closed minded then there is no point in engaging with them
whether they have a point is for you to judge. I'm not very good at C anyway
 
Yeah, you're right. Appreciate it @rolf
 
If you delete the question you'll get the "Peer Pressure" badge. :P
 
I can't delete the question, because there a lot of answers to it :/
 
3 is a lot?
 
Well, that what it says...
 
11:52 PM
@r3wt this is how I run webpack:
`webpack ./es6/main.js public/scripts/app.bundle.js`
es6 contains the compiled ES6 code (compiled by the typescript compiler).
I don't know why webpack would try to compile node modules. It's supposed to only include whatever is actually used in your javacript code.
webpack cannot compile typescript code, so it does not replace the typescript compiler.
 

« first day (2353 days earlier)      last day (2595 days later) »