These are chat archives for exceptionless/Discuss

2nd
Apr 2016
Eric J. Smith
@ejsmith
Apr 02 2016 16:54
Playing around with aurelia today…
that is a rediculously nice SPA app setup.
sooo clean and simple
Blake Niemyjski
@niemyjski
Apr 02 2016 19:19
yeah
can do code .
to open that folder :)
guess with vs tasks
gulp dies
but how do you run it on a build server?
Eric J. Smith
@ejsmith
Apr 02 2016 19:27
run what?
Blake Niemyjski
@niemyjski
Apr 02 2016 19:27
what tools/packages did you have to install globally?
Eric J. Smith
@ejsmith
Apr 02 2016 19:27
it’s just npm and node
Blake Niemyjski
@niemyjski
Apr 02 2016 19:27
hmm
Eric J. Smith
@ejsmith
Apr 02 2016 19:27
npm run prod on build server
Blake Niemyjski
@niemyjski
Apr 02 2016 19:27
brew update && brew upgrade && ncu -g
Eric J. Smith
@ejsmith
Apr 02 2016 19:27
creates a dist folder
Blake Niemyjski
@niemyjski
Apr 02 2016 19:28
cool
good way to get a list of commands
you should install that
it’s awesome
Eric J. Smith
@ejsmith
Apr 02 2016 19:28
I have it
Blake Niemyjski
@niemyjski
Apr 02 2016 19:28
ERROR in ./src/main.ts
Module build failed: Error: Cannot find module 'es2015'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
Eric J. Smith
@ejsmith
Apr 02 2016 19:28
like a year ago
Blake Niemyjski
@niemyjski
Apr 02 2016 19:28
lol
I told you about it
:D
seems like I can’t run that repo
I did npm install too
Eric J. Smith
@ejsmith
Apr 02 2016 19:29
do a npm run build first
Blake Niemyjski
@niemyjski
Apr 02 2016 19:29
fails too
think your missing a module
Eric J. Smith
@ejsmith
Apr 02 2016 19:29
what are you doing over there? :-)
Blake Niemyjski
@niemyjski
Apr 02 2016 19:29
npm install
npm run build
Eric J. Smith
@ejsmith
Apr 02 2016 19:30
what error do you get?
Blake Niemyjski
@niemyjski
Apr 02 2016 19:30

blake@:~/Code/lp-skeleton-navigation-typescript$ npm run build

aurelia-skeleton-navigation-webpack@1.0.0-beta.1.2.1 build /Users/blake/Code/lp-skeleton-navigation-typescript
webpack --config webpack.config.js --progress --profile

50% 2/3 build modulests-loader: Using typescript@1.8.9 and /Users/blake/Code/lp-skeleton-navigation-typescript/tsconfig.json
{ [Error: Cannot find module 'babel-preset-es2015'] code: 'MODULE_NOT_FOUND' }
1718ms build modules
6ms seal
6ms optimize
5ms hashing
17ms create chunk assets
1ms additional chunk assets
0ms optimize chunk assets
443ms optimize assets
16ms emit
Hash: 6733a5691cf7631b158b
Version: webpack 1.12.14
Time: 2219ms
Asset Size Chunks Chunk Names
bundle.js 424 kB 0 [emitted] main
[0] multi main 40 bytes {0} [built] [1 error]
factory:0ms building:1ms = 1ms

+ 293 hidden modules

ERROR in ./src/main.ts
Module build failed: Error: Cannot find module 'es2015'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at module.exports (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/modify-babel-preset/index.js:35:23)
at Object.<anonymous> (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-preset-es2015-loose/index.js:5:18)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at /Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:22
at Array.map (native)
at OptionManager.resolvePresets (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/file/options/option-manager.js:364:20)
at OptionManager.mergePresets (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/file/options/option-manager.js:348:10)
at OptionManager.mergeOptions (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/file/options/option-manager.js:307:14)
at OptionManager.addConfig (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/file/options/option-manager.js:207:10)
at OptionManager.findConfigs (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/file/options/option-manager.js:413:16)
at OptionManager.init (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/file/options/option-manager.js:461:12)
at File.initOptions (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/file/index.js:194:75)
at new File (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/file/index.js:123:22)
at Pipeline.transform (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-core/lib/transformation/pipeline.js:45:16)
at transpile (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-loader/index.js:14:22)
at Object.module.exports (/Users/blake/Code/lp-skeleton-navigation-typescript/node_modules/babel-loader/index.js:88:12)
@ multi main
blake@:~/Code/lp-skeleton-navigation-typescript$

Eric J. Smith
@ejsmith
Apr 02 2016 19:31
it looks like you are missing npm modules.
Blake Niemyjski
@niemyjski
Apr 02 2016 19:31
give me write access and I’ll fix it
blake@:~/Code/lp-skeleton-navigation-typescript$ npm install babel-preset-es2015 --save-dev
Eric J. Smith
@ejsmith
Apr 02 2016 19:31
its using the -loose one
where is it using that one?
Blake Niemyjski
@niemyjski
Apr 02 2016 19:32
idk
but doing that fixed it
lol
ok
I’m going to go get lunch
sigh
2:30pm and I haven’t even done anything
Eric J. Smith
@ejsmith
Apr 02 2016 19:32
everything I am looking at says es2015-loose
I will wipe the node_modules folder and try
Blake Niemyjski
@niemyjski
Apr 02 2016 19:33
there goes another weekend where I got 0 free time to even play a video game
Eric J. Smith
@ejsmith
Apr 02 2016 19:33
why?
you got plans?
Blake Niemyjski
@niemyjski
Apr 02 2016 19:33
cause i want to go work out (Feel fat) and make dinner
and the nit will be like 5pm
lol
Eric J. Smith
@ejsmith
Apr 02 2016 19:34
or you could just get online with me
lol
Eric J. Smith
@ejsmith
Apr 02 2016 19:47
pushed a fix
Blake Niemyjski
@niemyjski
Apr 02 2016 19:54
nice
please push a fix for ignoring jspm packages
Eric J. Smith
@ejsmith
Apr 02 2016 19:55
there are no jspm packages.
Blake Niemyjski
@niemyjski
Apr 02 2016 19:55
for some reason I have thousands of them
Eric J. Smith
@ejsmith
Apr 02 2016 19:55
probably leftover
Blake Niemyjski
@niemyjski
Apr 02 2016 19:56
I pulled down today
lol
Eric J. Smith
@ejsmith
Apr 02 2016 19:56
yeah, the repo used to use jspm
Blake Niemyjski
@niemyjski
Apr 02 2016 19:56
you think webpack is better?
Eric J. Smith
@ejsmith
Apr 02 2016 19:56
yes, it’s way faster and it has simplified things a lot.
Blake Niemyjski
@niemyjski
Apr 02 2016 19:57
should use webpack2
nub
Eric J. Smith
@ejsmith
Apr 02 2016 19:58
cant
not all of the plugins are updated yet
and I think the whole system loader stuff is just not ready to be used in prime time yet.
that is why they had so many problems with jspm
Blake Niemyjski
@niemyjski
Apr 02 2016 19:59
kinda nice watching this but not being the one who has to work with it
lol
tiring to be on bleeding edge 24/7
feels like your going against the grain 24/7
Eric J. Smith
@ejsmith
Apr 02 2016 19:59
you work in .net
Blake Niemyjski
@niemyjski
Apr 02 2016 19:59
yeah I know
Eric J. Smith
@ejsmith
Apr 02 2016 19:59
you aren’t on the bleeding edge. :-)
Blake Niemyjski
@niemyjski
Apr 02 2016 19:59
lol
but look in the past year a lone how much js has changed
even the last 3 months
Eric J. Smith
@ejsmith
Apr 02 2016 20:00
I just pushed an update for the readme
Blake Niemyjski
@niemyjski
Apr 02 2016 20:00
so much churn
Eric J. Smith
@ejsmith
Apr 02 2016 20:00
yeah
aurelia is new and to be expected.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:00
yeah
but until they figure out bundling and tooling
Eric J. Smith
@ejsmith
Apr 02 2016 20:00
but it just keeps getting cleaner and cleaner
Blake Niemyjski
@niemyjski
Apr 02 2016 20:00
I don’t want to touch it until at least there is a core that isn’t changing every day
yeah
Eric J. Smith
@ejsmith
Apr 02 2016 20:00
this app is production ready
Blake Niemyjski
@niemyjski
Apr 02 2016 20:01
kinda excited
Eric J. Smith
@ejsmith
Apr 02 2016 20:01
it does a great prod build
Blake Niemyjski
@niemyjski
Apr 02 2016 20:01
yeah but webpack 2 would be much better :)
Eric J. Smith
@ejsmith
Apr 02 2016 20:01
not for a long while.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:01
handles es6 imports natively and much more
Eric J. Smith
@ejsmith
Apr 02 2016 20:01
that would not be production ready
Blake Niemyjski
@niemyjski
Apr 02 2016 20:01
yeah
my point
Eric J. Smith
@ejsmith
Apr 02 2016 20:01
stop being a nub
Blake Niemyjski
@niemyjski
Apr 02 2016 20:01
so your building with something that is changing lol
Eric J. Smith
@ejsmith
Apr 02 2016 20:01
all the code is es6
Blake Niemyjski
@niemyjski
Apr 02 2016 20:01
yeah
i want async and await
Eric J. Smith
@ejsmith
Apr 02 2016 20:01
you aren’t seeing any requires are you?
it has it
Blake Niemyjski
@niemyjski
Apr 02 2016 20:02
that project looks sick
i know
it does
:)
Eric J. Smith
@ejsmith
Apr 02 2016 20:02
just updated the readme with all the things I added
Blake Niemyjski
@niemyjski
Apr 02 2016 20:02
why do you have to have index and index.prod
be cleaner if you could get rid of all of that
Eric J. Smith
@ejsmith
Apr 02 2016 20:03
its a webpack thing and the project is pretty damn clean already
stop complaining
Blake Niemyjski
@niemyjski
Apr 02 2016 20:03
I’m not
lol
so
this will be even cleaner
once they get rid of babel for async and await (ts 2
ts2 is supposed to have bundling too
so would you even need web pack?
I don’t get how it packs png and css into a js file
Eric J. Smith
@ejsmith
Apr 02 2016 20:05
yeah, ts2 will make it cleaner
and the testing stuff sucks right now.
doesn’t even work.
but I want it to be typescript too
and gotta be a way to make it much cleaner
Blake Niemyjski
@niemyjski
Apr 02 2016 20:06
dang
looking at typescript roadmap
js seems like a complete language already
Eric J. Smith
@ejsmith
Apr 02 2016 20:06
lots of good stuff in 2.0
Blake Niemyjski
@niemyjski
Apr 02 2016 20:06
and they are just pushing it
wonder how much of this stuff will make it into es2016/17
Eric J. Smith
@ejsmith
Apr 02 2016 20:07
don’t know.
but the web world is definitely taking a massive leap forward.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:07
I love how they are doing control flow analysis
yeah
I’m really excited by apples recent safari preview
Eric J. Smith
@ejsmith
Apr 02 2016 20:07
aurelia I feel like is the best example of the new world.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:08
they are going from last to first for performance and supported features and that all will make it into ios and osx
Eric J. Smith
@ejsmith
Apr 02 2016 20:08
angular2 still has some old feel
Blake Niemyjski
@niemyjski
Apr 02 2016 20:08
and it will push everyone else forward :D
Eric J. Smith
@ejsmith
Apr 02 2016 20:08
I seriously doubt it.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:08
98% on es6
that will go into ios and osx
10.12
Eric J. Smith
@ejsmith
Apr 02 2016 20:08
yeah, I don’t think all of those will make it in.
I think those are experimental
Blake Niemyjski
@niemyjski
Apr 02 2016 20:09
eh I think they will
Eric J. Smith
@ejsmith
Apr 02 2016 20:09
and who says perf is better than the others?
Blake Niemyjski
@niemyjski
Apr 02 2016 20:09
benchmarks?
lol
i don’t care so much about perf
Eric J. Smith
@ejsmith
Apr 02 2016 20:09
I do.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:09
as I do care about complete implementations
Eric J. Smith
@ejsmith
Apr 02 2016 20:09
web perf has to get crazy good to compete with native apps.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:09
the day we don’t need polyfills for a 1 year old spec
is awesome
I think it’s good enough today
Eric J. Smith
@ejsmith
Apr 02 2016 20:10
nope
Blake Niemyjski
@niemyjski
Apr 02 2016 20:10
in what reguards is it not good enough ?
Eric J. Smith
@ejsmith
Apr 02 2016 20:10
web apps are getting really close, but they are not as nice as native apps
Blake Niemyjski
@niemyjski
Apr 02 2016 20:10
eh I think it has a lot to do with the designer
and developers
there are some amazing web demos and samples and even apps out there
Eric J. Smith
@ejsmith
Apr 02 2016 20:11
yeah, because its a LOT easier to build nice native apps.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:11
the quantity of them is very low but there out there
yeah
Eric J. Smith
@ejsmith
Apr 02 2016 20:11
people have to jump through hoops
Blake Niemyjski
@niemyjski
Apr 02 2016 20:11
eh I think aurelia and angular 2 rendering improvements seriously closes those gaps
I think animation and layouts need to get a lot better
wish there was a layout standardization of some kind
it’s just to hard to get layouts that work everywhere and consistently
and hard for devs to transition between different projects as there are so many different solutions and ways to do it that it hurts
idk
Eric J. Smith
@ejsmith
Apr 02 2016 20:13
did you get the app working?
if I removed all the test crap out of the project, this project would be crazy clean. :-)
Blake Niemyjski
@niemyjski
Apr 02 2016 20:14
who needs tests
Eric J. Smith
@ejsmith
Apr 02 2016 20:14
lol
Blake Niemyjski
@niemyjski
Apr 02 2016 20:14
just need exceptionless to capture exceptions :D
Eric J. Smith
@ejsmith
Apr 02 2016 20:15
wonder if there are more clean modern test frameworks. Maybe using typescript features.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:15
yeah I got the app running
Eric J. Smith
@ejsmith
Apr 02 2016 20:15
try the prod build?
so fast
Blake Niemyjski
@niemyjski
Apr 02 2016 20:15
nope
to lazy
lol
Eric J. Smith
@ejsmith
Apr 02 2016 20:16
npm run prod
Blake Niemyjski
@niemyjski
Apr 02 2016 20:16
i feel like the typescript toolchain needs to improve bigtime
Eric J. Smith
@ejsmith
Apr 02 2016 20:16
thats too hard, eh/
Blake Niemyjski
@niemyjski
Apr 02 2016 20:16
using typescript + unit testing is a nightmare
you get that working and I’d seriously be blown away
Eric J. Smith
@ejsmith
Apr 02 2016 20:16
they need to fill the gaps for debugging and sourcemaps.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:16
yeah
Eric J. Smith
@ejsmith
Apr 02 2016 20:16
its getting closer
Blake Niemyjski
@niemyjski
Apr 02 2016 20:16
and it seems like 0% is being made in that
Eric J. Smith
@ejsmith
Apr 02 2016 20:16
not true
Blake Niemyjski
@niemyjski
Apr 02 2016 20:16
it was bad when typescript came out
it was bad 2 months ago (no progress)
Eric J. Smith
@ejsmith
Apr 02 2016 20:17
the chrome debugger for vscode will be a really nice experience.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:17
@frankebersoll and I have had issues with getting it to work
yeah but I can never get source maps to work or be able to debug them
it’s a pita
seems like that’s something vs code + typescript would want
super simple to debug unit tests
can only get better with more people using it
but we’ve struggled even with our super simple Exceptionless.JavaScript project
Eric J. Smith
@ejsmith
Apr 02 2016 20:18
yeah, I think babel people have a much better experience.
I think most of it is typescript, but they are moving fast.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:21
yeah
@frankebersoll could you look at the javascript build?
using the new tsproject we get slightly different output and I wonder if that’s normal
Eric J. Smith
@ejsmith
Apr 02 2016 20:22
typescript is gaining popularity exponentially.
so more and more people will be filling all these gaps.
Blake Niemyjski
@niemyjski
Apr 02 2016 20:22
yeah
definitely an exciting time to be alive
wonder what will be happening in 5 years
think things will be much more mature
Eric J. Smith
@ejsmith
Apr 02 2016 20:23
nukes
Blake Niemyjski
@niemyjski
Apr 02 2016 20:23
lol
Eric J. Smith
@ejsmith
Apr 02 2016 20:23
do you want to look at repos for a little bit?
Blake Niemyjski
@niemyjski
Apr 02 2016 20:25
i suppose
not really but we can
I’m tired
Eric J. Smith
@ejsmith
Apr 02 2016 20:25
dont have to
can just show me where you are at real quick
Blake Niemyjski
@niemyjski
Apr 02 2016 20:26
ok
Sander Rijken
@srijken
Apr 02 2016 21:23
@niemyjski if you’re happy to merge, go ahead :D
Blake Niemyjski
@niemyjski
Apr 02 2016 21:26
added some comments
Sander Rijken
@srijken
Apr 02 2016 21:28
interesting question on Coutn
Blake Niemyjski
@niemyjski
Apr 02 2016 21:29
yeah
is it a value that should be excluded?
probably?
Sander Rijken
@srijken
Apr 02 2016 21:29
I think either include it in the hashcode, or change the code in de plugin, so that it doesn’t do += 1, but += duplicateEvent.Count ?? 1
so that if an event comes in with count = 3, and then another one with count = 5, it’ll get rolled up into one event with count = 8
Blake Niemyjski
@niemyjski
Apr 02 2016 21:30
yeah
I agree
Sander Rijken
@srijken
Apr 02 2016 21:30
I was kind of expecting Count to be null in all cases
Blake Niemyjski
@niemyjski
Apr 02 2016 21:30
maybe it shouldn’t be in there
well
actually we control it
so if you set it
it’s your problem
Sander Rijken
@srijken
Apr 02 2016 21:31
well then we should just include it in the hashcode
Blake Niemyjski
@niemyjski
Apr 02 2016 21:31
but then it won’t be deduped
but i guess yeah
Sander Rijken
@srijken
Apr 02 2016 21:31
or ignore any event that has a count set
it won’t be deduped then.. so?
Blake Niemyjski
@niemyjski
Apr 02 2016 21:32
we are doing that for value no?
Sander Rijken
@srijken
Apr 02 2016 21:32
we were
Blake Niemyjski
@niemyjski
Apr 02 2016 21:32
yeah I guess
Sander Rijken
@srijken
Apr 02 2016 21:32
not any more
Blake Niemyjski
@niemyjski
Apr 02 2016 21:32
ok
Eric J. Smith
@ejsmith
Apr 02 2016 21:32
nah, we are saying count is specifically for dupes
so don’t include it in the hash
and feel free to rull up and sum the count
roll up
Sander Rijken
@srijken
Apr 02 2016 21:32
I’ll have to see how hard that is
Eric J. Smith
@ejsmith
Apr 02 2016 21:33
ok
Sander Rijken
@srijken
Apr 02 2016 21:33
if it makes de dedup plugin more complex, I’d prefer skipping checking for dupes altogehter
Eric J. Smith
@ejsmith
Apr 02 2016 21:33
what do you mean?
Sander Rijken
@srijken
Apr 02 2016 21:33
just return from the plugin when Count is set
Eric J. Smith
@ejsmith
Apr 02 2016 21:34
so your saying if there is an event that comes in with a count of 4 and then another that matches the same hash that does not include count with a count of 5…
Sander Rijken
@srijken
Apr 02 2016 21:34
they both get through
we only roll up events with count == null
Eric J. Smith
@ejsmith
Apr 02 2016 21:34
can we just merge them into 1 event with count of 9 ?
Sander Rijken
@srijken
Apr 02 2016 21:34
2 options
Eric J. Smith
@ejsmith
Apr 02 2016 21:34
are you saying that is going to add a bunch of complexity?
Sander Rijken
@srijken
Apr 02 2016 21:35
no, just that I have to check for that :)
it’s just that when I have a loop, and do my own deduplication in there, and set the count, do I really care if the plugin is still trying to roll up some more?
Eric J. Smith
@ejsmith
Apr 02 2016 21:35
yeah, I think it could come into play maybe with something like feature usages.
Sander Rijken
@srijken
Apr 02 2016 21:36
yeah maybe
I’ll try to sum
Eric J. Smith
@ejsmith
Apr 02 2016 21:36
if its a pain then don’t worry about it.
not important
Sander Rijken
@srijken
Apr 02 2016 21:36
that’s what I was trying to say
Eric J. Smith
@ejsmith
Apr 02 2016 21:36
would love to get this finished up and out there. So don’t worry about it if its adding work.
ok
I’m good with that.
Sander Rijken
@srijken
Apr 02 2016 21:37
hmm we’re doing Interlocked.Increment to make sure we don’t hit concurrency issues
oh that’s not a problem
done
Blake Niemyjski
@niemyjski
Apr 02 2016 21:44
sweet
thanks :D
Eric J. Smith
@ejsmith
Apr 02 2016 21:45
awesome
Blake Niemyjski
@niemyjski
Apr 02 2016 21:45
@srijken what’s the status of this
exceptionless/Exceptionless.UI#15
Sander Rijken
@srijken
Apr 02 2016 21:46
meh
Blake Niemyjski
@niemyjski
Apr 02 2016 21:46
closei t?
Sander Rijken
@srijken
Apr 02 2016 21:46
I’m scared about that one
Blake Niemyjski
@niemyjski
Apr 02 2016 21:46
me too
Sander Rijken
@srijken
Apr 02 2016 21:46
it might make it a few % faster
initial load
but get it wrong, and you have to move over to another domain name
Blake Niemyjski
@niemyjski
Apr 02 2016 21:47
yeah
I agree
or set it to not so far in the future
5 minutes to test it
hehe
Sander Rijken
@srijken
Apr 02 2016 21:47
that will actually make it slower
then after 5 minutes it will always get it
also it’s a pain that you can’t do it dynamically
hmm
Sander Rijken
@srijken
Apr 02 2016 21:52
don’t close it yet, I’ll think about it some more
it’s not like it’s a major problem or something
where’s the server located that holds the UI?
from here it takes about 850ms to get the 304 of the .js
page ready time is 1.8s
so it’ll make a pretty big difference on that
Sander Rijken
@srijken
Apr 02 2016 22:01
if it’s possible we should do it
saves 9 requests
just in round trip time it’ll be worth it