Better HN
topnewbestaskshowjobs
Log inSign up

rochacon

154 karma · joined Sep 24, 2013 (13y ago) · 48 submissions

Submissions

comment 2w ago · link · parent

So that is why I got a bunch of 500's during push this week :)

Hope it helps improve reliability, it was getting hard to defend GitHub with all the recent outages.

comment 3w ago · link · parent

As always, it depends on how and what you're managing on it.

VPS/VM? Debian is a great choice. Use it as base and run your software via systemd+podman if you want the most up to date stuff, Debian tends do lag a bit. It is very low maintenance.

Bare metal? Fedora Atomic is awesome. It does require an update every other week since it keeps packages closer to upstreams, but this is where the immutable base shines, any issue is an easy reboot to revert. Also systemd+podman for your own software.

I wouldn't recommend Arch on servers.

Edit: clarified Fedora immutable spins are called Fedora Atomic.

comment 1mo ago · link · parent

I'm still learning the project, but from what I read so far, there is no need. `celld` is not tied to Deno. `celld` handles the interface with v8 directly via `rusty_v8`, which they mention will keep being supported. So, Node, Deno and celld all share the same engine already.

What we will probably see in the next few months is a major version of `workerd` which is a rebranded celld with better Cloudflare support. And then a bunch of improvements in further versions. While I think `celld` is a nicer name it makes sense to keep the official Cloudflare product/solution as `workerd`.

I hope the developer experience gets closer to Deno, I'm no fan of setting up all the required Node tooling for proper TypeScript support. I really like Deno. RIP

comment 6mo ago · link · parent

For Python, `uv` [1] delivers a similar experience. Faster dependencies. Better dependency management with `pyproject.toml`. Just use it with `uv run` or `uvx`.

[1] https://github.com/astral-sh/uv

comment 7mo ago · link · parent

And they pushed this as every major browser introduced a "Split View" feature...

I get this issue preview on Projects, although I don't like it there either, but as a hook on any issue link is just terrible UX, zero benefits IMHO.

comment 1y ago · link · parent

The current version of GHA is "Azure DevOps v3". IIRC, it came after Microsoft purchased GitHub and I think it was part of a plan to discontinue/kill Azure DevOps altogether in favor of GitHub. I don't think they have feature parity yet, specially on the issues and permissioning parts.

Although, I never saw a public announcement of this discontinuation, ADO is kind of abandoned AFAICT and even their landing page hints to use GitHub Enterprise instead [1].

[1] https://azure.microsoft.com/en-us/products/devops

comment 1y ago · link · parent

As you highlight with the "VSCode over RDP" story later on the post, it doesn't stop on Git. Some people just don't care about learning their tools. RTFM? Hell no. There is no care for the "craft". Once they learn the very basic for their current need, they're done with it. We can also observe this behavior during coding, once "it works", they just push all changes and move forward to the next thing. No second thoughts if it could be simpler/there were unnecessary changes, no double check if there is missing cases, etc. "Someone will spot my wrongings during review".

From the outside, it feels like "low effort" all around. But to be honest, I can't really blame who does this. For some, it is just a 9-5 job anyway and they prefer not think about these stuff outside that 9-5 space. Deep diving into their tools might look like "wasted time" on their view.

A friend refered me to this great post a few days ago that touches on this subject: https://josvisser.substack.com/p/you-cant-teach-caring

comment 1y ago · link · parent

I would just add `git rebase -i` to the mix. Very useful to clean up a work branch before submitting it for others. Sometimes you just need a bunch of "wip" commits, e.g. testing CI scripts, deploying a optimization on the side for further testing, etc. and rebase is a must if you care about the commit log.

comment 1y ago · link · parent

If looking for alternatives that uses Firefox as a base, check out Zen Browser: https://zen-browser.app

comment 1y ago · link · parent

Congrats on the launch and success so far!! The game seems really cool and I relate a lot to the desire of working with gamedev.

I think local prices/discounts can get you another 200k+ purchases worldwide. In Brazil current prices shows as ~R$42, which is quite a lot for a game for a big chunk of brazilians. Thor from PirateSoftware has some good tips on this.

comment 1y ago · link · parent

Correct, to achieve 0-RTT the application need to perform the handshake/certificate exchange at least once, otherwise, how would it encrypt the payload? This could be cached preemptively iirc, but it is not worth it.

The problem will be that QUIC uses more userland code and UDP is not as optimized as TCP inside kernels. So far, the extra CPU penalty has discouraged me from adopting QUIC everywhere, I've kept it mostly on the edge-out where the network is far less reliable.

comment 1y ago · link · parent

I believe you're searching for `uv sync`: https://docs.astral.sh/uv/getting-started/features/#projects

With this, you can manage the dependency list via `uv add/remove` (or the `pyproject.toml` directly), and run `uv sync` to add/remove any dependencies to the managed virtual env.

Edit: adding about uv add/uv remove

comment 1y ago · link · parent

> I wanted logs, traces and metrics support locally but didn’t want to spin up a multitude of Docker images just to get that to work.

This project is really nice for that https://github.com/grafana/docker-otel-lgtm

comment 1y ago · link · parent

ConnectRPC is very cool, thanks for sharing. I would like to add 2 other alternatives that I like:

- dRPC (by Storj): https://drpc.io (also compatible with gRPC)

- Twirp (by Twitch): https://github.com/twitchtv/twirp (no gRPC compatibility)

comment 2y ago · link · parent

Exactly, by the description of it on the announcement, this is not "tiling window management" as we're used in Linux, this is just "Window Snaping" that been available on Windows and Linux for what, a decade now?

I really hope there is a "automatic tiling" option, otherwise this is just mouse support for the current "Move Window"/"Tile Window" options already available on the OS (and easily bindable via custom shortcuts).

comment 2y ago · link · parent

I've used Twitch's Twirp before and it does that. It is a great middleground between gRPC and plain-HTTP services. :)

https://github.com/twitchtv/twirp

comment 3y ago · link · parent

Well, if you keep your expenses untouched than it is very hard to do it. However, if you sell some stuff, use hostels, eat on local markets, etc. you can go a long way. You can even stay for free in hostels if you're up to working a few days a week on cleaning, reception, etc. Small, less turistic towns also make a big difference on how expensive this kind of traveling needs to be. Also context matters a lot, this is probably not the best approach if you have a family to support.

If you're open to a, maybe severe, change in lifestyle, you'll see that you don't need much to live. To those that are interested, I recommend reading "Vagabonding" by Rolf Potts and watching "Minimalism" documentary by The Minimalists as a start point.

comment 4y ago · link · parent

Saw the title and came here to post this; simple and effective.

I use this in combination with `kubectl port-forward` and `/etc/hosts` almost daily to easily proxy to internal services.

comment 4y ago · link · parent

I guess you don't even need to use `docker buildx`, just `export DOCKER_BUILDKIT=1` and go with it (great to enable globally in a CI system). Heredocs make these multi-lines so much cleaner, awesome.

comment 5y ago · link · parent

For those of you that still prefer a GUI to quickly toggle the VM, there is a simple app for that too: https://news.ycombinator.com/item?id=28412548

comment 5y ago · link · parent

Basecamp kind does this, but it has a single $99/month unlimited plan. I also wanted this, because not all users need the entire product anyway (i.e. bug reporters, guests).

comment 5y ago · link · parent

Add `-p` (`--patch`) and then pick from the diff prompt what parts you want to restore. You can also use this flag with commit.

comment 5y ago · link · parent

This is partially true. If the only feature you care about Kubernetes is container scheduling, then yes, Nomad is simpler. The same could probably be said about Docker Swarm. However, if you want service discovery, load balancing, secret management, etc., you'll probably need Nomad+Vault+Consul+Fabio/similar to get all the basic features. Want easy persistent storage provisioning? Add CSI to the mix.

Configuring these services to work together is not all trivial either (considering proper security, such as TLS everywhere) and there aren't many solutions available from the community (or managed) that package this in an easy way.

24.

gRPC Delivers on the Promise of a Proxyless Service Mesh(thenewstack.io ↗)

1 points · by rochacon · 5y ago · discuss

comment 5y ago · link · parent

I believe it is "dee-no".

comment 5y ago · link · parent

I take this with a similar perspective. As a complete standalone browser, I'm a bit skeptical on its adoption, as a built-in feature backed by the browser vendor (Apple/Google/Mozilla/Microsoft/etc.) to "offline this tab to the cloud" I think this gets a lot more appealing. Add billing per minute and this can be a very nice way of interacting with heavy applications through a browser.

comment 5y ago · link · parent

I share the same opinion. Its been a long time since I read Kent Beck's book on TDD, but I don't recall him saying TDD = unit tests. When I see people using these as synonyms it feels to me they don't quite understood what TDD means and just jumped into this conclusion of "unit tests that check every method/line of code you write".

Testing behavior from the user perspective should be the goal, these are the kind of tests that bring most value in the long run.

comment 5y ago · link · parent

Google Meet and YouTube also 500 in Brazil

comment 6y ago · link · parent

CloudFlare DNS (1.1.1.1 and 1.0.0.1) and Google's DNS (8.8.8.8 and 8.8.4.4) usually have the best latency everywhere. However, if you suspect your ISP is injecting stuff, a VPN service + their DNS might be more useful to improve your internet privacy.

comment 6y ago · link · parent

> I guess people with huge displays don't mind...

I use a ultra-wide (2560x1080) monitor and it looks terrible [1]. The repository header being "fluid" put the repository name and watch/star/fork buttons so far out of the rest of the repository info, like branch name, commit info etc., that using GitHub maximized feels very weird and tiring.

I get using the whole resolution for the menu bar, since its content is disconnected to the rest of the page content. But having part of the repository info in different "aspects" don't make sense for me

[1] https://imgur.com/FNs1qb6

12