News for hackers. Stuff that matters.

ColCh

Re:Tmux is worse-is-better on Monday May 27, 2024 @05:56PM (#40495137)
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)

Re:SSH3: SSHv2 using HTTP/3 and QUIC on Sunday December 17, 2023 @07:37AM (#38672460)
looks like there is no Compression=yes ?
Re:LXD containers on macOS at near-native speeds on Monday November 28, 2022 @06:58PM (#33781684)
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...

It's a modern javascript broh
Re:Cognitive Biases on Wednesday June 15, 2016 @06:41AM (#11908388)
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?

Redux is just brilliant piece of software, React too.
Re:Consider deprecating Bower. (#2298) on Thursday June 09, 2016 @05:09AM (#11868295)
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.

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

I like this description of JS

Re:Ask HN: Which React Native tutorials should I take? on Sunday June 05, 2016 @05:19PM (#11843189)
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.

Re:QuirksMode on Sunday June 05, 2016 @05:15PM (#11843167)
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.

Re:Incrementing the Xcode Build Number – Like a Boss on Saturday June 04, 2016 @03:53AM (#11835429)
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
Re:Incrementing the Xcode Build Number – Like a Boss on Friday June 03, 2016 @09:52AM (#11830283)
IMHO, better approach is to set version string from git tag and build number from git commit count in master
Re:Space vs. tabs in top GitHub repos on Friday June 03, 2016 @04:17AM (#11829007)
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.
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.

Re:How to Make Your React Apps 15x Faster on Friday May 27, 2016 @04:34AM (#11784671)
JUST USE shouldComponentUpdate

This will give you huge perf boost

Re:JavaScript Cancelable Promises Proposal on Friday May 27, 2016 @04:16AM (#11784613)
We already have cancelable Promises in custom libs like bluebird, isn't?

So, I want progress reporting for promises too!

Re:Getting Started with TDD in React on Wednesday May 25, 2016 @04:38PM (#11772876)
Good article. Also, you can use mount to test component lifecycle hooks. Article was pretty basic.
Re:A Regex Debugger on Monday May 23, 2016 @08:08AM (#11753304)
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...

Thanks for TLDR in the title
Re:Use as few tools as possible on Tuesday May 17, 2016 @02:31AM (#11711696)
Yeah, now say all of this to the modern JavaScript community
Don't loose your creativity! It's very hard to recover it (if at all is possible)
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.

Re:New JavaScript: ES7 and beyond on Tuesday May 10, 2016 @09:19AM (#11666919)
I'm waiting for array comprehensions. Thud stuff is going to be just awesome
Re:Technical Documentation Should Be a Graph on Tuesday April 26, 2016 @08:41AM (#11571310)
Hey, main point of article is "use mindmap". It's a graph too
Re:Search “/usr/bin/git” on Monday April 18, 2016 @12:45PM (#11521260)
Why not use `env git` at all?
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.

Re:I hate ruby or why I'm switching blogging platforms on Thursday April 14, 2016 @06:12PM (#11500741)
Ruby Fatigue
I feel pretty good with this new stuff every year in JavaScript world.

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

Pretty nice tool BTW. I've bookmarked this link
Re:Ask HN: What are your hobbies, and why are they cool? on Saturday May 09, 2015 @04:18AM (#9515845)
My hobby is programming. Now it's my work too.

Older »