Recent submissions

Comment · 2 months ago
I wonder what alternative methods people use nowadays that are good enough but still simple and lightweight ? secret management services have its own place but not everyone have those available.
Comment · 2 months ago
I'm excited about the new QoL improvements on minibuffer completion.

With these two variables, the default minibuffer completion can now automatically open and update the list without you having to <tab>.

completion-eager-display completion-eager-update

Comment · 3 months ago
Comment · 3 years ago
Similar to author's experience, I find increasing friction to access social media (or anything I want to restrict) is a good way to stop me fall into consume mode mindlessly.

There was a period of time in my life that I spent lots of time checking Imgur for meme and cute animal pics daily. I can just type "im" in browser address and press "enter" to consume whenever I want.

I "fixed" this addiction by removing Imgur from browser history so it would not auto-complete Imgur's URL. Since then, whenever I have urges to consume, this friction stop me from doing so. It has worked very well over the past few years.

Comment · 3 years ago
Based on what I see on the website, I think some (if not all) of them can be done via custom key/gesture settings that supported by your mouse manufacturers (e.g. Logitech Options).
Comment · 3 years ago
Is there a guide to teach these reluctant sysadmins how to evaluate, plan, and choose between all these different methods ?

For me, I find the hardest part of securing systems are usually to decide what is good enough for the current situation.

Comment · 4 years ago
With limited knowledge about the project and the team, here are my two cents: project management.

For example, ask your team to break down the tasks and provide a schedule for each task, and try to help them follow the schedule. If a task is taking way too long, ask them to break down it again. Remember to ask them to explain why they plan it like that.

Make sure you and your team have enough communication so you all know what need to do and what NOT to do. If your teammate is doing thing that is not in the scope, discuss with them and make the decision whether to support them or ask them to follow your request.

Rinse and repeat.

Comment · 4 years ago
Dose anyone has good advices to change this kind of mindset ?

It is hard for me to not be judgmental about stuff I disagree, and I can tell this attitude is causing more trouble than I would like in many different area of my life.

Comment · 5 years ago
I use both for almost 10 years, here are my experiences:

The main advantage of IntelliJ or any other IDE by JetBrains over Emacs, is that the out of box experience IDE provided, especially from a new programmer's perspective. All they need to do to click a button, check few checkbox, then IDE will resolve it for you and tell you what happened.

But to make Emacs do any complex behaviors, you usually have to write additional codes or configurations to glue different features together. Not to mention you need to read documents and debug it when there is an error. In JetBrains IDEs those are integrated already. A context-aware error detection and code inspection is available the second you open the IDE first time. That is something default Emacs can never do.

The main advantage on Emacs over IDEs, is that you can ask Emacs to do whatever you want as long as you know how to implement it. Practically speaking, you most likely will accumulate many little functions over time that is specific designed for your workflows. That kind of customizability is something IDEs cannot provide. I do not consider myself an Emacs power user, but I still benefit form it.

Emacs is also have better text editing features in general. You can use the same features no matter what text file you are editing. That's why people want to use Emacs for everything.

In short, they are different tools, use it where it is suitable for you.

For me, I whine about how bad the editor is when I use IDE, then I complain about how bad the integration my Emacs has between multiple tools (mainly my inability to make it work).

Hope this give you some ideas.

Comment · 5 years ago
Thank you for sharing this.

I'm suffering from work burnout and are planning to quit my current job to pursue a more balanced, self-sustainable way working for myself. Seeing your post help me understand I'm not alone.

Comment · 5 years ago
Is there any good guide on how to use environment variables as config properly, especially on managing and deploying them to servers ?

I am having hard time figuring these out. So I rarely use environment variables.

Comment · 7 years ago
> In the end, the protests will only hurt HK.

I want to point out that Hong Kong people tried every way they can before this protest. They are aware the consequence.

Comment · 7 years ago
Just learn a little bit is enough for you to start using and configuring Emacs.

However, when you want to do more advance configuration (e.g. write your own feature), you will need to learn more about Emacs lisp and Emacs’s API.

Comment · 7 years ago
Since you are not fine with it, you have two options:

1. You quit right away. 2. You force yourself go to work and eventually burn out then quit.

Unless you are in a position that can influence the company, it doesn't worth your time to change it.

If you need the job now, invest more time and resource on yourself so you can move on to other place easier later.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton