Better HN
topnewbestaskshowjobs
Log inSign up

ColCh

16 karma · joined Dec 13, 2014 (11y ago) · 34 submissions

JavaScript Full-Stack Development
Submissions

comment 2y ago · link · parent

Just wanted to note for everybody who really loves this feature. There is some options here though

Wezterm terminal supports multiplexing from the box: https://wezfurlong.org/wezterm/multiplexing.HTML

Also, there is Hyper terminal, and standalone protocol to implement multiplexing https://www.reddit.com/r/commandline/comments/q5mj11/htm_a_c...

If you know other options, please share.

I work in windows, but at home I use macos, so I stick to wezterm. I use it with single config for both platforms (config is written in Lua)

comment 2y ago · link · parent

looks like there is no Compression=yes ?

comment 3y ago · link · parent

It uses almost same mounting tech as colima (9p)

Macpine: https://github.com/beringresearch/macpine/blob/71788e9c3c09c...

colima: https://github.com/abiosoft/colima/blob/7ebcf14a69158afa43b2...

So it seems that it has same performance as colima project as well.

As for IO performance, see this colima issue https://github.com/abiosoft/colima/issues/146#issuecomment-1...

comment 10y ago · link · parent

It's a modern javascript broh

comment 10y ago · link · parent

This reminds me list of cognitive biases : https://en.m.wikipedia.org/wiki/List_of_cognitive_biases

I wonder if somebody succeeded in fixing these. Anybody?

comment 10y ago · link · parent

Redux is just brilliant piece of software, React too.

comment 10y ago · link · parent

Npm 3 has a bug installing dependencies, when one dep is from devDependencies and dependencies (lodash). This forced me to move all dependencies into one "dependencies" section.

This is a long living bug since first release of npm 3, and it's not fixed today.

No, thanks, npm, I will continue to use bower in 2016.

comment 10y ago · link · parent

"JavaScript, a cross-platform scripting technology for creating applications on the Internet and Intranets."

I like this description of JS

comment 10y ago · link · parent

ES6 classes and stateless components (aka arrow-components) are now standart things. You can continue use React.createClass, but may be this will be deprecated (however, I'm not sure about it)

For learning RN... they move fast, better is to create pet project from fresh RN generator (CLI: react-native) and go on.

comment 10y ago · link · parent

Ah, I remember this good ol' days with having everyday-sex with Opera, IE, Chrome, Firefox. Those prefixes and gradient syntax were awful.

Thankfully, It's 2016 year now, and we can just forget about.

comment 10y ago · link · parent

If you are using VCS then you need to save your bump each time, producing this infinite "Bump version" commits. They look not very nice in VCS log

comment 10y ago · link · parent

IMHO, better approach is to set version string from git tag and build number from git commit count in master

comment 10y ago · link · parent

Really, I don't understand this holywar. I just put .editorconfig for each project I'm working on and that's all. Visually, I'm feeling comfortable with tabs, 2 spaces and 4 spaces width itendation.

comment 10y ago · link · parent

Taking dive into fullstack javascript 2 years before!

I picked express, react (v0.9) and sequelize. Webpack for bundling (it was undocumented that time) It was my first experience with backend JS and react. For service I used docker and fig (now it's docker-compose)

Of course, I failed this project after 1.5 years of dev (it was pretty huge, but this technical debt destroyed all that I have coded). Then I created this project from scratch on Magento (it was just online shop) in about 4 months.

What I learned? A BUNCH of things related to TDD (system tests, unit tests, mocking), JS ES6, program architecture at overall, SQL (things like assotiations, migrations, SQL performance optimizing), about caching technique... This list is pretty huge, I learned in that time 80% of all I know!

That was about positive moments. Now about negative. I experienced impostor syndrome (by the way, I'm feeling it right now and this feeling is not leaving me). Also I experienced burnout 3 times (apathy, lack of appetite, insomnia). This thing was really destroying....

I'm happy I've failed this project! I learned a lot of things. Now I really become full-stack JS engineer. I've got the power :)

And First of all, I started to value my time, my energy and my mental and physical health. Now I place this things in first place, they really matter! I'm 21 years old, don't take me like I'm sick or something (Like all people on 20s, I'm filled with energy). I just found the price... the price of myself.

comment 10y ago · link · parent

JUST USE shouldComponentUpdate

This will give you huge perf boost

comment 10y ago · link · parent

We already have cancelable Promises in custom libs like bluebird, isn't?

So, I want progress reporting for promises too!

comment 10y ago · link · parent

Good article. Also, you can use mount to test component lifecycle hooks. Article was pretty basic.

comment 10y ago · link · parent

The best regular expression tools for JS found in the internet so far (imho)

regex101: https://regex101.com/ regulex: https://jex.im/regulex/#!embed=false&flags=&re=%5E(a%7Cb)*%3...

comment 10y ago · link · parent

Thanks for TLDR in the title

comment 10y ago · link · parent

Yeah, now say all of this to the modern JavaScript community

comment 10y ago · link · parent

Don't loose your creativity! It's very hard to recover it (if at all is possible)

comment 10y ago · link · parent

Nice, We used to Gitlab CI + fastlane for our React Native pipelane, work pretty good.

Algorithm: By-default, deploy into TestFlight and Beta GPlay, with version from git tag ("v1.0.0 e.g."). IF latest commit has a tag "v1.0.0-production", deploy on production too.

comment 10y ago · link · parent

I'm waiting for array comprehensions. Thud stuff is going to be just awesome

comment 10y ago · link · parent

Hey, main point of article is "use mindmap". It's a graph too

comment 10y ago · link · parent

Why not use `env git` at all?

comment 10y ago · link · parent

You and OP are not alone I'm with You :) Take a time and read about burnout: what is that, reasons of that and what to do. (There is a plenty of sciencific papers about this) It's really a killer! I have it 2 times in 6 months at one workplace, before I managed to leave.

I'm feeling kinda better now, but this feeling of panic will never completely leave me.

comment 10y ago · link · parent

Ruby Fatigue

comment 10y ago · link · parent

I feel pretty good with this new stuff every year in JavaScript world.

It feels like something new. I really enjoy this feeling!

comment 10y ago · link · parent

Pretty nice tool BTW. I've bookmarked this link

comment 11y ago · link · parent

My hobby is programming. Now it's my work too.
12