News for hackers. Stuff that matters.

r3n

Re:The Twelve-Factor App on Saturday August 29, 2026 @12:27AM (#49486865)
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.
Re:Emacs 31.1 RC1 is available on Tuesday August 18, 2026 @12:25AM (#49341237)
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

It's about tradeoff, sometimes those limitations doesn't really matter that much, sometimes they are. The point is not to settle on a superior option so we never need to think the again but to understand the difference and choose accordingly.

Or at least that's how I view it. Whenever I think about using SQLite, I make sure I read these documents to see if I am fine with the limitations.

https://sqlite.org/whentouse.html

https://sqlite.org/quirks.html

Re:The way I limit my social media consumption on Wednesday September 20, 2023 @07:18AM (#37582814)
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.

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).
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.

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.

Re:Be curious, not judgmental on Friday December 24, 2021 @04:13AM (#29671875)
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.

Re:Why Emacs: Redux on Wednesday November 17, 2021 @06:00AM (#29251396)
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.

Re:That time I told my wife I wanted to quit my job on Wednesday September 22, 2021 @01:27AM (#28613324)
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.

Re:Don’t use environment variables for configuration on Thursday April 01, 2021 @09:17AM (#26660110)
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.

> 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.

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.

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.

Re:Google reads your gmails and scrape your purchases on Saturday September 29, 2018 @01:08AM (#18098801)
Tha explains why I found some purchase records (iOS app from AppStore, books & goods from Amazon) in my google data takeout.
Re:Ask HN: Best alternative to Gmail? on Monday September 24, 2018 @01:51AM (#18055318)
Another happy customer of Fastmail here, and these are my opinions why you should give it a try:

1. They often express their opinions on topics like security and privacy. Like how things impact their users, where they stand, and how they plan to do. As a user I am happy to see a company actively talk about hard topics like these.

2. While they are not the most stable software service I ever use, but they always provide timely update. They also write postmortem to explain what happened technically, what did they do, and their future plans. As a developer, I am appreciated when a software company spent extra effort to acknowledge and explain issues of their service.

3. Their business model is simple. I pay money, they provide service.

Re:Ask HN: Need help dealing with imposter syndrome on Tuesday September 11, 2018 @02:30AM (#17957566)
It seems to me that you expect:

1. You should not fail at anything.

2. You should not feel unfamiliar at anything.

3. It is your faults that you could not provide best answer for your clients.

But I think you will agree these ideas are unrealistic.

You will find out things that you know nothing about, and that is fine. Maybe next time when you are in the situation where you have to deal with uncertainty, just admit that you will not have the best answer, but you will have a good enough answer that is based on your experience and knowledge.

Book suggestions:

1. Feeling Good: The New Mood Therapy

2. How to Stop Worrying and Start Living

Both books teach me how to recognize those unrealistic standards I set for myself. I think they can help you too.

Re:Ask HN: What do you struggle with? on Thursday August 30, 2018 @09:57AM (#17876729)
I read "Feeling Good: The New Mood Therapy" recently and think this book can help you.
This was funded in 2014 on Kickstarter, but it has been a while (2015) since the author provide updates to the backers.
Re:Ask HN: 2018 Summer Reading List? on Friday July 13, 2018 @04:56AM (#17521454)
Not new books, just something I'm currently reading.

- Feeling Good: The New Mood Therapy

This book teach you about depression and how you can apply cognitive therapy techniques to help you. I'm in the second part of the book and already learn some valuable information. It seems like HN recommend this book as well [1].

- Common Sense on Mutual Funds

One of the classic investment books from John C. Bogle. In this book he talks about what he think is the better way to invest in mutual funds and why.

This is one of the reading assignment form another short book I'm reading called "If You Can" [2], which recommended by Bogleheads.

[1] http://ramiro.org/vis/hn-most-linked-books/ [2] https://www.etf.com/docs/IfYouCan.pdf

Re:A browser extension to make Medium more readable on Wednesday July 11, 2018 @10:52PM (#17511833)
In Safari you can ask it to load certain websites with reader view automatically. If you do so, Safari will change to reader view as soon as it can render the page.

This how I deal with the annoying stuff in Medium.

Re:Anti-If: The missing patterns (2016) on Wednesday June 27, 2018 @06:34AM (#17407102)
I would suggest one use these as a sign of "there is another way to write these code", rather than follow it without knowing why you need it.
Public servers like NAO is also a good place to learn NetHack. https://www.alt.org/nethack/

You can download session files from players and play it on your machine, their configs are also available on the website.

Official guidebook for basic knowledge http://www.nethack.org/v361/Guidebook.html

For more advanced mechanics & spoiler http://www.steelypips.org/nethack/

There is also a NetHack wiki https://nethackwiki.com/wiki/Main_Page

Re:"Principles of Adult Behavior" by JP Barlow on Thursday February 08, 2018 @12:41AM (#16330458)
I try to find out why he made this list, and here is what I found on the google.

https://www.mail-archive.com/[email protected]/msg08...

> ... In any event, it occurred to me that, past 30, I could no longer defend my peccadillos on basis of youth. I would have to acquire some minimal sense of responsibility. While I didn't want to be a grown-up, I wanted at least to act like one in the less toxic and stultifying sense of the term.

> So, I sat down around 2 am on October 3, 1977 and I drew up this list of behavioral goals that I hoped might assist in this process. ...