HNHacker News
TopNewBestAskShowJobs

n3t

563 karma · joined February 19, 2014

[ my public key: https://keybase.io/n3t; my proof: https://keybase.io/n3t/sigs/A1BuEOe8rc5Nxa_-Q9HJb0ZwrOtBtgezPQknFAGN8lM ]
submissionscomments
n3t··on Ask HN: What happened to vanilla HTML/CSS/JS development?
You can vendor your project's framework of choice. Or, more generally, all your dependencies.

Moreover, I believe you should be able to build your project without expecting npm to host all your dependencies ~forever and being online when you need it.

n3t··on Why A4? – The Mathematical Beauty of Paper Size
What are witness logs?
n3t··on Add ability to choose a custom coordination server
That's great!

What about iOS?

n3t··on Ask HN: What is something you built but never marketed?
> I mean sure, but I wasn't exaggerating when I said it is probably not usable on other peoples computers.

That's totally okay! I love when people share their "works on my machine programs". Just say upfront that it's your personal tool so others won't expect production-grade software.

The code might inspire others, let others fork it (if a license says it's okay), teach code readers about some technique or tool, or just be fun to poke around.

I, for one, learned about pyxhook while reading your code. Thank you!

n3t··on Falling for Kubernetes
> As an aside, the existence of the '{{ | indent 4 }}' function in helm should disqualify it from any serious use. Render, don't template.

This. My first thought when I saw the indentation hack was "it can't be serious, production-ready software".

My take on this is as follows.

If you have a simple use case, write your K8s manifests directly.

If you have a complex use case, Helm is often more pain than it's worth. Use alternatives, for example Jsonnet[0] with kubecfg[1]. Or emit manifests from your language of choice. Just don't use Helm.

[0]: https://jsonnet.org/ [1]: https://github.com/kubecfg/kubecfg

n3t··on Ask HN: Who do you talk to about system architecture and design?
> 1. Pick a random tech stack

> 2. Make a blog post and share on HN

> 3. Let the commenters tell you everything you did wrong and what they would have done instead

It's called Cunningham's Law[0]:

> Cunningham is credited with the idea: "The best way to get the right answer on the Internet is not to ask a question; it's to post the wrong answer." This refers to the observation that people are quicker to correct a wrong answer than to answer a question.

[0]: https://en.wikipedia.org/wiki/Ward_Cunningham#Law

n3t··on $9.99/month
Right but you get to keep the phone after these 1-2 years. Once it's paid, it's paid and it's yours.

It's more like a consumer loan than a subscription in my eyes.

n3t··on Algorithms by Jeff Erickson (2019)
For example because some ISPs inject ads or malware when using HTTP.
n3t··on Ask HN: What's is your go to toolset for simple front end development?
I often use plain HTML and a classless CSS (e.g. Water.css[0]) for personal projects.

This way it's easy to write and maintain. Looks okay. Fast feedback cycle during development. No need for build steps. Works in browsers without JavaScript. Works well on desktop and mobile devices.

Highly recommended if suits your needs.

[0]: https://watercss.kognise.dev/

n3t··on Keycloak: Open-Source Identity and Access Management
Can I use Keycloak for the following use case?

I have a few services on my family server (say, Gitea, Grafana, finance tracking app etc.). I'd like to have a SSO but also limit which users can use which services (e.g. my significant other can use Grafana but no Gitea).

Is integrating above services with Keycloak enough? Or would I need another components? Or maybe I've got it wrong and should reconsider the architecture?

n3t··on Command palettes: how typing commands became the norm again
ctrl+k → focus the search bar

ctrl+l → focus the address bar

n3t··on Ask HN: What is the best programming language for Monte Carlo simulations?
You can run multiple Python processes with a MC simulation and combine the results in the end.
n3t··on Ask HN: What is the best programming language for Monte Carlo simulations?
Slightly off-topic but ProbLog[0] might interest you.

[0]: https://dtai.cs.kuleuven.be/problog/

n3t··on Scientific notation bug in MySQL left AWS WAF vulnerable to SQL injection
What talk are you referring to?
n3t··on Show HN: Earthly – Better Builds
It makes sense! Thank you for your response.
n3t··on Show HN: Earthly – Better Builds
How would you compare Earthly to creating Docker images using Nix[0]? I love Nix declarative nature with strong emphasis on reproducibility.

[0]: https://nixos.org/guides/building-and-running-docker-images....

n3t··on Ask HN: Where to Learn Kubernetes?
Did you take any specific one which you recommend?
n3t··on Everything you ever wanted to know about terminals (2018)
> (...) the code will work on author’s computer, but not for other people

Is it actually the case?

The comment you cite says the code won't work on xterm or gnome-terminal.

I've checked with what I had available: XTerm(330) and GNOME Terminal 3.30.1 using VTE 0.54.1. On both terminals the last code sample from the post works perfectly fine as far as I can tell.

What terminal should I use to see improper behavior of the program?

n3t··on Subscription or no subscription? That is not the question
For those who are not familiar with JetBrains' subscription model:

> A perpetual fallback license is a license that allows you to use a specific version of software without an active subscription for it. [0]

There are some details about which version you are eligible for. The spirit is that if you subscribe for ≥ 1 year, you have some version available when you stop paying.

[0]: https://sales.jetbrains.com/hc/en-gb/articles/207240845-What...

n3t··on Ask HN: Peer Programming Without a Peer
Have you considered live streaming your desktop, e.g. at Twitch? Might give you that "someone is watching" feeling.

On the other hand, one has to be super careful about privacy, security, NDAs.

n3t··on Show HN: A “Pwn2Job” Platform
It works for me now. Thanks for a quick reply!
n3t··on Show HN: A “Pwn2Job” Platform
Hi.

The landing page looks decent.

All invite codes got used up (or there is an error when using above codes). Or is it a part of a challenge? ;)

I'd like to DM you but there is no such functionality on HN. I'd contact you via other means but there is nothing in your profile :)

n3t··on An Italian Song That Sounds Like English But Is Nonsense
Thanks for sharing! Have you got more of these? I'd appreciate recommendation of artists/songs to check out.
n3t··on Andrew Ng is raising a $150M AI Fund
Tip: when you don't know how to pronounce someone's name, find an interview (podcast? video interview?) with that person.
n3t··on Why are browsers so slow?
Is there no (unused) processes pool?
n3t··on Ask HN: Where do you go for civil discussion on the Internet?
Back in the days I used to discuss at a few IRC channels with pretty high SNR. Sadly, these communities faded out.
n3t··on Ask HN: What is your best advice for a developer to write better code?
I suggest reading Steve's post [0] on the touch typing and programmers.

[0]: https://steve-yegge.blogspot.com/2008/09/programmings-dirtie...

n3t··on Why IRC over SSL is pointless (2009)
You are right. To be clear, I implicitly assumed that people I talk to wouldn't accept a fake certificate.
n3t··on Why IRC over SSL is pointless (2009)
Private messages (next to credentials leak) are another reason for using SSL/TLS.
n3t··on Fixing C
I mostly miss Python-like modules and namespaces in C.
← PreviousPage 3 of 4Next →