Better HN
topnewbestaskshowjobs
Log inSign up

jpillora

105 karma · joined Jun 20, 2013 (13y ago) · 53 submissions

Submissions

comment 3mo ago · link · parent

This is the answer - software engineering and your job has changed - find the new mastery in it

comment 4mo ago · link · parent

This is also true from the inverse. Making every tool visible may feel good to some users. They sit in their F16 cockpit, and they like having all those buttons, and knowing what they do.

But this does not scale. You can fit 100 buttons in front of you. You can learn each one and the best situations to use each. But can you fit 1000 buttons in front of you? No. Different humans have different complexity thresholds. Some humans can deal with 10 buttons, and some 250 buttons! But no human can deal with 2000 buttons. There exists a hard limit on tool complexity.

If you want your tool to be useful, then as you increase the number of different humans that sit in your cockpit, you naturally must lower the number of buttons in front of them. The tools must tend towards invisibility.

comment 10mo ago · link · parent

The problem with git ops only manifests after it’s become a standard within an org:

With 1 git ops pipeline, it’s fine, it’s the human merge gate, it’s doing its job protecting downstream

With multiple git ops pipelines however, they start to get in the way of progress - especially when they need to be joined in series

The better approach is to build API-first then optionally, add an API client into your git pipeline

4.

Why AI Can't Write Good Software(blog.jpillora.com ↗)

1 points · by jpillora · 1y ago · 1 comment

comment 1y ago · link · parent

This is not the Go way. This abstraction appears to come for free, but it does not.

comment 1y ago · link · parent

Simple backoff ftw https://github.com/jpillora/backoff

7.

An Ode to Mastery(blog.jpillora.com ↗)

5 points · by jpillora · 1y ago · discuss

comment 1y ago · link · parent

They're different things, solving different problems:

- Containers are wrappers for binaries. Any binary can be contained, and when run, it gets a constrained (fake) view of the kernel.

- WASM defines a portable binary format. WASM is intermediate-representation, in the same vein as Java byte-code.

You could reasonably put WASM binaries inside containers

comment 1y ago · link · parent

If you’re a Java dev, and you try to force Java-isms into Go, you’re gonna have a bad time.

The Go philosophy http://go-proverbs.github.io/ pays off less in the short term, within a single file, or a single stdlib function, or with syntactic sugar to code golf 3 lines into 1 - it pays off in the long term, across time and people - and this makes all the difference

comment 2y ago · link · parent

See also https://github.com/jpillora/md-tmpl

comment 2y ago · link · parent

Please make a live demo version of this using only JavaScript and HTML :D

comment 2y ago · link · parent

RIP Stefan

comment 2y ago · link · parent

You’re right, that’d be a better test - and I think the gap between chisel and crowbar would grow even more. Chisel is effectively doing ssh tunnelling, with extra layers. Performance is lost in packet wrapping/unwrapping, reduced MTU but it shouldn’t result in more round trips

comment 2y ago · link · parent

Correct, it’s equivalent to ssh tunneling except there’s some HTTP/websocket wrappers around it

comment 2y ago · link · parent

That’s exactly what it is, see releases

comment 2y ago · link · parent

Tailscale is a virtual network device (works on L3, tun not tap device) whereas chisel just listens on ports (works on L4)

comment 2y ago · link · parent

I was tempted to play the cat and mouse AV detection game though decided against it. It’s open source and with effort, one can make it avoid detection, but I’ll leave that up the reader

comment 2y ago · link · parent

Hey all, I’m the author of chisel. Feel free to send any questions my way

comment 3y ago · link · parent

Relevant https://securitycryptographywhatever.buzzsprout.com/1822302/...

comment 5y ago · link · parent

Port forwarding is fairly simple. All routers should support it. Forward port 443 to local-rpi-ip-address:443. Setup caddy/traefik. Create A record to public ip. Enable tls. Enable file hosting. Done: you now have TLS static website without any 3rd parties.

That said, cloudflare is super handy for dns, and for proxying specific domains, where you don't want to expose your public ip.

comment 5y ago · link · parent

Interesting, thanks for the reply

22.

Ask HN: Is “GitHub, f*ck your name change” being suppressed?

3 points · by jpillora · 5y ago · 3 comments

comment 5y ago · link · parent

I use Docker (preview) on my M1 everyday for work and it's great. You can run `aarm64` containers natively, or you can emulate, for example, with `--platform linux/amd64`.

I'm guessing you're running into issues with C dependencies. You can go also go full Rosetta: create an alias to your terminal, right-click enable "Run in Rosetta", open it, then everything you run from this terminal will also be Rosetta (amd64), and you run Rosetta homebrew, node, etc. You can confirm what is running under Rosetta in Activity Monitor.

I've recently switched my default homebrew from Rosetta (/usr/local) to native (/opt), by switching my PATHs around since I was mostly waiting for go1.16 to arrive.

comment 5y ago · link · parent

This. And now begins the decline of x86 and Intel.

comment 6y ago · link · parent

Demo shows root shell. So an attacker could simply install a RAT into /Library/LaunchDaemons and it's permanent.

comment 6y ago · link · parent

Any know much about Nova, and how hard it would be to integrate the Go Language Server with it? seeing as it conforms to LSP

comment 6y ago · link · parent

MikroTik have recent added support https://forum.mikrotik.com/viewtopic.php?f=1&t=165248
12