News for hackers. Stuff that matters.

ahmaman

Moving forward, wonder if such AI capabilities would widen the security gap between open-source software vs. proprietary?
Re:Patterns for Building Realtime Features on Tuesday February 11, 2025 @12:23PM (#43015455)
Curious to hear if anyone have experience using Svelte together with LiveSvelte [0], as described in this blog post [1]?

In theory, it sounds like this could be the sweet-spot for using the Javascript ecosystem where its required where LiveView fall short.

[0]: https://github.com/woutdp/live_svelte

[1]: https://dockyard.com/blog/2024/03/14/harnessing-liveview-and...

Ask HN: Home wirless router with focus on security?

Ideally a router that works with minimal configuration and doesn’t require too much tinkering. Some features I am interested in:- Firewall: Controls for both inbound and outbound traffic.- Ad blocker: Something akin to Pi-hole functionality.- Device isolation: The ability to isolate smart home devices from the rest of the network.I have considered so far:1. Firewalla: Most models lack built-in...

( Read More... | 3 comments | on HN )

Ask HN: What Does It Take to Be a "Black Belt" Programmer?

Just like some martial arts have a belt system to reflect your skills, I wonder if we could adopt a similar approach in programming. What would each belt represent?I am a Brazilian Jiu-Jitsu (BJJ) practitioner myself, and in BJJ, there are generally five belt levels: white, blue, purple, brown, and black. When you spar with someone of a higher belt rank, you really see that there are levels to...

( Read More... | 4 comments | 2 points | on HN )
Re:Ask HN: What web stack would you use for startup, and why? on Tuesday November 21, 2023 @04:11PM (#38370198)
I would use Elixir (Phoenix + liveView), to me its the most productive stack for web apps at the moment.

You can have SPA like user experience without building a separate frontend & backend. That simplifies things ALOT!

For data persistence, I would consider SQLite otherwise go with Postgres.

Re:Ask HN: How do I get started in philosophy on Monday July 31, 2023 @05:11AM (#36940254)
Philosophy: A Complete Introduction By Sharon M. Kaye [0] is a wonderful book that introduces different philosophers and their main ideas.

Each chapter starts with a thought experiment about a given idea and then it gets into more details.

I liked that the book was written in simple language and gave a good overview of many philosophers. Later you can decide to dig deeper into whatever grabbed you the most.

[0]: https://www.goodreads.com/book/show/18265274

Re:Ask HN: How can a total beginner start with self-hosting? on Wednesday October 05, 2022 @10:54AM (#33096336)
Cloudron.io might be helpful. Makes self-hosting a lot easier for beginners.
Re:Ask HN: Must have tools for a new MacBook on Thursday August 18, 2022 @06:21AM (#32507515)
Some of the apps I download on a fresh mac.

==> Casks

1password

anki

bartender

bitwarden

brave-browser

calibre

cryptomator

deepl

docker

exifcleaner # Cleans images metadata

fantastical

firefox

flux

freetube # Privacy respecting youtube client

imageoptim

karabiner-elements

keka

knockknock

libreoffice

little-snitch

microsoft-teams

obsidian

oversight

postman

protonmail-bridge

protonvpn

raycast

rectangle

shottr

signal

slack

spotify

tableplus

thunderbird

tor-browser

transmission

tresorit

vlc

vscodium # Microsoft-free VSCode

I maintain my mac's configs in a dotfile repo, feel free to check it out for more configurations: https://github.com/mansour-ahmed/dotfiles

I can relate to your feelings.

Your suggestion are good. Perhaps a combination of them would be most effective.

However, often the problem isn't completely solved with a specific technique. I found that the growth of my inbound is just a symptom not the root cause.

To me, the root cause was not accepting the following fact:

I am a finite being, with finite time, living in a world with infinite possibilities. Regardless of how productive I am. I probably will miss on 999% of what the world has to offer. And that is OK.

By treating time as a resource that must be optimized. I found myself trying to fit in as much as possible. Which paradoxically sucked the joy out the very things I scheduled. Every thing became a chore.

I found much more helpful to practice being fine with the fact that I will be missing on most of the things out there. Afterwards, the productivity techniques magically became much easier to stick to.

Ask HN: Non-obvious ways we seek status or communicate success?

Subconsciously or not, we often seek some form of status.For instance, some material possessions may get extended beyond the utility as a way to communicate the level success or traits associated with the material.It feel like there are some obvious ones. Like living in a certain neighborhood, buying a certain brand of clothes/cars, having a certain title at work, etc..What are some of the...

( Read More... | no comments | 3 points | on HN )
People crave the feeling of being understood without judgement. To me, being compassionate is to show people real understanding.

Few techniques that I found helpful:

- Actively listening. Keeping any input you might have till the end.

- Repeat what you understood back to people - mirroring.

- Ask open-ended questions. Just be genuinely curious. Don't show any judgement.

- Be vulnerable first for them to open up and share their vulnerability.

- Often the solution is just listening. Suggest solutions only when explicitly asked for.

As mentioned by others, Non-violent Communication is an amazing book about the subject.

A comment about the book NVC. Often people get stuck in the implementation details of the book's recommended way of communicating. When X happens I feel Y, could you Z? But there is so much more to it than that.

One needs to be self-aware. To know more precisely:

a) What actually happened, seeing reality as it is without their interpretation.

b) What they are feeling

c) What needs do they have

d) Concrete actions to resolve a conflict

How these things are communicated is important but still, but the awareness of these components is often overseen.

That is why meditation is often recommended. It is easier to be a better communicator if you are more aware of your feelings, thoughts, and your current environment. Really being present.

Re:Ask HN: How to overcome salary ceiling? on Friday February 18, 2022 @05:02PM (#30391701)
I wonder why is that.

Employers would benefit a great deal from employees doing more than the acceptable minimum. Maybe it is an issue with measuring value provided by each employee?

I highlight sentences that summarises different ideas of the book. Afterwards, I create flash card for each highlight to review these them regularly.

Currently using readwise with highlights exported from kindle (when possible). I also use Anki for all other flashcards.

Re:Ask HN: How to overcome salary ceiling? on Friday February 18, 2022 @12:48PM (#30388794)
Figure out a way to package your expertise in a different way than being an employee.

Often the employment model doesn’t reward for going above the acceptable minimum.

How you package and sell your expertises to the world can make a signicant difference to your income.

Consider freelancing, building own product or making courses. If you have options, go for something that is not measured hourly and tied to your time, there is only so much you can charge per hour.

Re:Ask HN: Good Alternatives to VS Code? on Thursday February 17, 2022 @01:05PM (#30376436)
The idea of a native editor is very appealing. However, I heard that their plugin ecosystem is rather limited. Any experience with that?
Re:Ask HN: Why should I trust password managers? on Thursday February 17, 2022 @12:59PM (#30376352)
I use 1password for the convenience they offer.

However for important accounts, I use 2FA with yubikeys or codes that are not stored on 1password. Just in case.

Especially for non-tech family members and friends. Its either an easy password manager or using the same password everywhere.

Re:Ask HN: Good Alternatives to VS Code? on Thursday February 17, 2022 @12:39PM (#30376102)
JetBrains seems to be indeed very popular among HN users.

Could you share some of your favorite features in WebStorm? Curious what would the pitch be if you would recommend it to a colleague.

Ask HN: Good Alternatives to VS Code?

I use VS code as my main code editor and it seem to be the most popular in my bubble.I am generally happy with with but curious if there are better alternatives that would offer a more productive experience. Curious in particular about WebStorm and Nova.Any code editors that you are in particular satisfied with?I do my dev work on a Mac, mainly web development. I generally like to keep my code...

( Read More... | 15 comments | 8 points | on HN )
Anybody has experience using webstorm? How does it compare to vscode?
Re:Ask HN: Have you ever switched personal email providers? on Friday February 11, 2022 @12:46AM (#30297526)
A word of advice, always use a custom domain, alot easier to change providers.

As for switching, I did it few times.

From microsoft to migadu. Switched to custom domain at the same time. Migadu was good for the price but in the early days it wasnt very stable and I wanted something more private.

From migadu to Tutanota. More private but tutanota wasnt as polished and can only be used with their custom email clients. Again great value for the money but I was missing better UX.

Finally from Tutanota to Protonmail. It was painful to export emails from Tutanota. I am very happy with Proton. If money isnt a constraint I think it is the best option for privacy focused providers.

Re:There’s No Such Thing as Clean Code on Friday January 28, 2022 @05:37AM (#30112946)
> It would be cool if code-reviews were done "anonymously"

Sometimes during code-reviews I find myself wanting to leave 100+ comments. Instead I settle for the few major ones and leave behind most of the minor stuff. I don't want to be perceived as someone who is difficult to work with, so try to pick my battles wisely.

Wonder if anonymous code-review that helps with that.

Re:There’s No Such Thing as Clean Code on Friday January 28, 2022 @03:29AM (#30112104)
To be honest, only around 10-15% of the time.

Often they were small dev teams in a small company that have high standards and given the trust & freedom to do things.

I think it boils down to how much the programmer actually cares and is given the necessary time to do a good job.

P.S: Been programming only for 6-7 years so can't say if my experience is any indicator.

Older »