Better HN
topnewbestaskshowjobs
Log inSign up

cloudhead

1,729 karma · joined Feb 21, 2009 (17y ago) · 382 submissions

https://cloudhead.io https://radiant.computer https://radicle.xyz
Submissions

comment 5y ago · link · parent

Good question. I know of a few projects hosting their own GitLab instance, the problem is that this requires me to create a new account/identity for each of these instances. This is a far cry from what GitHub brought, which was a single "place" and social network where you could browse and contribute to all projects with the same account.

Radicle attempts to take back control (just like running your own instance), but without giving up network effects.

comment 5y ago · link · parent

The design of GitHub means that your canonical upstream is only accessible through the internet, and so are your issues, PRs etc. If you're offline, you can't access it, and if GitHub is down, same story.

Radicle, on the other hand, keeps all of this replicated locally, so push/pull works offline, and the code/social artifacts are replicated asynchronously, when you are online, but you don't need to be online to work with your project(s).

comment 5y ago · link · parent

The shameless plug we all needed

154.

Show HN: Radicle – A peer-to-peer code collaboration stack now in Beta(radicle.xyz ↗)

4 points · by cloudhead · 6y ago · discuss

comment 6y ago · link · parent

Keep in mind the receiving public key is not revealed when money is sent to an address, only its hash. So you'd have to "reverse" SHA256 first.

comment 6y ago · link · parent

what's a 2d printer

157.

Call Me Ishmael(blog.bitmex.com ↗)

2 points · by cloudhead · 6y ago · discuss

comment 6y ago · link · parent

Look, if you're happy working for Initech for the rest of your life, then no, you probably don't need side projects.

comment 6y ago · link · parent

This is misleading and pretty much wrong. It’s like saying the hen is a liability, the only asset is the egg. Or like saying your team is a liability and the only asset is the work they produce..

comment 6y ago · link · parent

Totally right, though I wouldn’t underestimate the growing community of people for whom p2p is a feature. Being able to use something forever because no one can shut it down is important to some.

comment 6y ago · link · parent

Complete nonsense..

162.

Radicle Link: A peer-to-peer code collaboration protocol built on Git(radicle.xyz ↗)

6 points · by cloudhead · 6y ago · discuss

comment 6y ago · link · parent

For working directly with Vulkan, ‘ash’ is preferred. If you want to abstract over platforms, then gfx-rs is solid, or wgpu for a higher level api. Vulkano hasn’t really delivered on its promise unfortunately.

comment 6y ago · link · parent

The interaction model is very different, and it's a lot less featureful. I'd say aseprite is a more classic pixel editor, whereas rx is trying something new.

comment 6y ago · link · parent

Are new major releases with new content not okay to be posted?

comment 6y ago · link · parent

I don’t disagree that GL would be a fine choice theoretically. I just happen to have a distaste for the OpenGL api. But this was a reply against using something like Cairo as I understood it.

comment 6y ago · link · parent

Exactly - it’s not that any of Vulkan is needed, it’s that I don’t want to be building on OpenGL when superior graphic interfaces have been available for 5+ years now, and Vulkan+Metal is pretty widely supported on Desktop.

comment 6y ago · link · parent

Of course I could have built it with OpenGL. But I really dislike the OpenGL API :)

The library I’m using used to have a gl backend, but it’s currently unsupported.

comment 6y ago · link · parent

Exactly this - “built for the modern world” is another way of saying it.

comment 6y ago · link · parent

I don’t see how you’d reliably get less than a frame of latency with vsync. If your mouse input lands while you are waiting for the next frame, you will lose at least one whole frame.

In terms of comparison with an FPS, the same amount of responsiveness is required for any UI - ie. there should be no perceptual latency.

Adding 17ms certainly is perceptual.

comment 6y ago · link · parent

Yes, except I like this name, and find it fitting, and no one can stop me. We have different priorities :)

comment 6y ago · link · parent

Nope, uses Metal directly through the gfx-rs backend.

comment 6y ago · link · parent

Interesting. Yeah, vsync is a latency killer and it's disabled by default in `rx`. What software renderers are not so good at is drawing lots of pixels every frame, so for example panning a view with lots of images open, or zooming in and out of an image that covers the screen.

I'd expect these kinds of operations to be slow at high resolution without the help of the GPU. You could probably speed things up with SIMD and multi-threading, at the expense of implementation complexity.

comment 6y ago · link · parent

It doesn't, but that would be an interesting feature to develop. Is this something you've used in another editor (iso grid)?

Rust doesn't really have anything super mature in terms of UI, though druid[0] is the one I'm keeping an eye on. Since there's very little "UI" per se in rx, it's currently built directly on top of the graphics layer[1].

[0]: https://github.com/xi-editor/druid

[1]: https://github.com/cloudhead/rgx

comment 6y ago · link · parent

Thanks!

comment 6y ago · link · parent

It's not strictly necessary, I chose wgpu for a few reasons:

* Its backend (gfx-rs) is one of the most mature rust libraries for doing graphics

* The popular "classic" 2d libraries like cairo and skia are very big and complicated to build / depend on

* wgpu will eventually also work on the web, so it's a great option for broad platform compatibility

* In terms of efficiency (memory, battery, cpu etc.), the modern graphic APIs have more headroom than the GL-based ones

* Today, 4K screens are pretty common, and in the future, 144hz monitors will be more and more popular. If I want to render 2d graphics with no latency in those setups, access to the GPU makes things feasible

177.

Rx v0.3 Released, a modern and minimalist pixel editor in Rust(rx.cloudhead.io ↗)

112 points · by cloudhead · 6y ago · 66 comments

comment 7y ago · link · parent

The author correctly states that BFT algorithms are meant to handle arbitrary failures, but then explains how that is the wrong choice because one shouldn't handle malicious actors at the consensus level. Yet there are categories of faults that cannot be handled by basic FT systems, that BFT systems can handle, and are not due to malice. So all in all, BFT is the right choice.

comment 7y ago · link · parent

Yeah - I don't like the "look" of any of the available GUI toolkits, and I was going for something very minimal in terms of UI, so I decided to build it from scratch.

I am considering using something like stretch[0] to handle layout concerns eventually.

[0]: https://github.com/vislyhq/stretch

comment 7y ago · link · parent

None is the answer: the context management (window, input etc.) is done by glfw, but the UI is very minimal and doesn't use any UI toolkit.
1
567
13