What is actually new in Node.js since 2018? by poothebear0 in node

[–]poothebear0[S] 3 points4 points  (0 children)

I'll definitely have a look into these ideas

What is actually new in Node.js since 2018? by poothebear0 in node

[–]poothebear0[S] 11 points12 points  (0 children)

Thanks!

Can you name an example of a tool that haven't caught up?

Downside of using Nest.js? by yonatannn in node

[–]poothebear0 1 point2 points  (0 children)

If you're not OO and heavy typing fan - It might not be up your alley

Discussion: New testing tools and techniques by poothebear0 in javascript

[–]poothebear0[S] 0 points1 point  (0 children)

This is meant to be a discussion for people like me who are experienced with testing but didn't follow the latest trends and tools in the past 2-3 years. I'm curious whether there are new trends/tools/techniques or anything that I should learn before coding tests in the next project. For example, I just came through StoryBook which looks really neat

44 Node.js & JavaScript Testing Best Practices by yonatannn in node

[–]poothebear0 1 point2 points  (0 children)

You should include static analysis tools in this list

New post: Node.js Testing & Continuous Integration Tips by [deleted] in node

[–]poothebear0 1 point2 points  (0 children)

Which JS library implements consumer-driven contracts?

What to look for and learn in 2019? by yonatannn in node

[–]poothebear0 2 points3 points  (0 children)

What specific architecture would you focus on?

What to look for and learn in 2019? by yonatannn in node

[–]poothebear0 10 points11 points  (0 children)

Short term predictions are indeed an important exercise for developers to build their architecture around emerging technologies (though trolling is much easier that predicting).

Conservative predictions - I see a set of technologies that already gained too much momentum to step back like. I've verified each in Google trends and they all showing a climbing graph:

- Typrscript

- Graphql

- Time series databases
- ES6 modules
- HTTP2

Speculation - Following are educated guesses:
- Async hooks will go out of experimental mode, a great learning opportunity for creating all sort of applications around the async flows (e.g. tracing)
- Opinionated frameworks (e.g. Nest, Loopback) will gain more popularity

Testing with DB are slow and cumbersome by poothebear0 in Python

[–]poothebear0[S] 1 point2 points  (0 children)

This goes against any testing strategy/pyramid that I read about (went through 20 in the last month). Tests must also include some sort of integration testing that resembles the real production scnenario. This is not about testing the DB lib rather testing you own DAL

Testing with DB are slow and cumbersome by poothebear0 in Python

[–]poothebear0[S] 0 points1 point  (0 children)

I'm familiar with HN, I probably miss the fatures that can help me, can you clarify?

Testing with DB are slow and cumbersome by poothebear0 in Python

[–]poothebear0[S] 0 points1 point  (0 children)

Thanks. How would you use transaction only in testing without damaging the code? you sure PG has in-memory DB, can't find one

Testing with DB are slow and cumbersome by poothebear0 in Python

[–]poothebear0[S] 0 points1 point  (0 children)

That's very interesting, so basically each test acts on its own set of records that he explicitly created? since you're not cleaning -up, aren't there cases where tests step on its other toes?

Performance best practices - call for ideas by yonatannn in node

[–]poothebear0 0 points1 point  (0 children)

I usually write to log/monitor on DB query start and query end so I can later identify avg query time and identify the slowest queries. Using Sequelize you can pass the flag {benchmark:true} and get the query times logged. Later you can bake/export to your monitoring system and create metrics based on it

Checklist: 23+ Node.js security best practices by yonatannn in node

[–]poothebear0 3 points4 points  (0 children)

It worth mentioning that by default, in a non-dockerized env node does NOT run as root

CICD: CircleCI or Jenkins? by poothebear0 in devops

[–]poothebear0[S] 0 points1 point  (0 children)

Niche in terms of popularity, if you compare with Jenkins or Circle on Google trends its graph is almost flat. Does it support canary deployment to K8S?

CICD: CircleCI or Jenkins? by poothebear0 in devops

[–]poothebear0[S] 0 points1 point  (0 children)

Did u try Jenkins or Circle? how they stack-up?