HNHacker News
TopNewBestAskShowJobs

Arelius

1,860 karma · joined August 25, 2010

Indy@ScatteredRay.com
submissionscomments
Arelius··on Blaze: A High Performance C++ Math Library
Another good PGA library

https://github.com/jeremyong/Klein

Arelius··on Show HN: Comprehensive inter-process communication (IPC) toolkit in modern C++
Honestly I like capn-proto. But it's community is a bit light. Even Windows which is "supported" has been a bit fix-it-yourself.

If MinGW isn't already supported, if probably expect to have to take that over yourself.

Arelius··on Why quantum entanglement doesn't allow faster-than-light communication (2016)
Sure, you could read the pattern on he other side, you could been use of as a one time pad to encrypt data you actually cared about
Arelius··on JetZero: Ultra-efficient blended wing body jet
They are called skylights in buildings, I have to imagine being able to let in more natural light into the cabin, especially in a plane with such a wide body and corresponding distance between side windows is a generally good thing for humans.
Arelius··on Show HN: Async tasks in 350 lines of C
Awesome, always great to see more task/job libraries...

I have used this sort of thing a lot though, and something I often find both essential, and overlooked is you really need something like `cr_task_sync_and_do_work` that isn't just entirely blocking on the current thread. Since as you build systems on this sort of API, you very quickly get bound by threads just stuck waiting on their children jobs.

Having said that, I realize that complicates the implementation quite a bit. The most elegant approach I have seen is one where you put tasks on fibers, and when you sync, instead of entering a sync loop, or waiting on a mutex, you instead suspend the fiber in the awaiting job, and put it back on the task queue. This was detailed by Naughty Dog in their Job System talk at GDC: https://www.gdcvault.com/play/1022186/Parallelizing-the-Naug...

Arelius··on Airbnb is banning indoor security cameras
Maybe it's more common in larger group stays? The type you might not be visiting as much as an individual living in Airbnbs?
Arelius··on Home Lab Beginners guide
IMO, this thing is Nix, it just needs better UI and a lot better documentation.

The problem I've realized is that for many core Nix developers, the source is the documentation. Which doesnt scale.

Arelius··on How do computers calculate sine?
Yeah, but you'd be surprised at how frequently they appear to be the same. I once worked on a HTML5 game that that relied on deterministic simulation for networking. And it wasn't untill pretty late in development that a build of Chrome shipped on some platform that finally triggered a desync in our extensive cross-platform test suite.

We implemented a deterministic approximation, and moved on. But I learned something important about trig functions that day.

Arelius··on Candy – a minimalistic functional programming language
The misconception that all "early optimization" is premature optimization is a dangerous one.

I'll agree with you that starting with static type systems is an early optimization. But if it's premature or not is clearly context dependent. And it is often "right on time" optimization. Just as are many things engineers like to deride as "premature optimization".

It's not premature if it's known to be needed and the cost of doing it later greatly outweighs doing it now.

Arelius··on J3blocks is a Janet scripting system for i3bar and swaybar
So, I even use waybar (with a minimal config) and Janet looks nice. But I just can't figure out what J3blocks is, or what I'd use it for...
Arelius··on Show HN: Pages CMS – A CMS for GitHub
Any word on S3 media support? I have a few content heavy sites. And that would be essential to be practical to switch to.
Arelius··on Show HN: Pages CMS – A CMS for GitHub
There is als Sveltia cms, based on Decap's backend but with a redone UI

https://github.com/sveltia/sveltia-cms

Arelius··on Show HN: Pages CMS – A CMS for GitHub
Yeah, github OAuth doesnt support a web client only flow, so you at least need a backend to forward along the response to the client.

It's pretty much just that cross site requests are disabled.

Arelius··on The killer app of Gemini Pro 1.5 is using video as an input
I mean, that's just over 7 frames, or one frame/s of video. There are likely fewer then that many I-frames in your video.
Arelius··on XL: An Extensible Programming Language
Just wanted to say, thanks for the link to pure... I've been thinking a lot recently about languages based on term rewriting and hadn't seen it somehow.
Arelius··on XL: An Extensible Programming Language
For sure this.

I have a little compiler from 10+ years ago I was working on. And I recall after I had put it down, and tried picking it back up just maybe a year later(?) The interfaces I was using in llvm all changed. It really took the wind out of my sails for jumping back in.

Arelius··on Pijul is a free and open source (GPL2) distributed version control system
Imagine you are working on a patch heavy project. Like the Linux kernel. Where there are a lot of patchsets going around that are not in the mainline.

You and I, who are both working off of main, and who have both separate merged in a few patchsets that are relevant to our shared module of interest. We can merge and compare our branches, and the differences in terms of nursing patches without having to be rigorous about reconciling or histories.

Arelius··on Pijul is a free and open source (GPL2) distributed version control system
> thus a rebase in git is not required.

A rebase is never required in Git. (people/maintainers may disagre) but a merge will always do.

Having said that. In your scenario provided, a pull + merge/rebase will be required. It will then resolve automatically, and without conflicts. But a human has to be involved to provide a strict sequence/dag of the those commits.

Arelius··on Guix on the Framework 13 AMD
> something that can track whether things need building from source, or can be brought in as binary from an apt or rpm, or build those packages as intermediate stages. I kinda thought that's what Guix was going to do.

I mean, that sortof what nix (and I assume guix) is though, right? As long as your ok with the binary cache for a replacement for apt/rpm (with the caveat that sometimes pkgs can be built on .deb or .rpm)

Arelius··on Ask HN: Are there any good reasons to use C++ over Rust for new projects today?
1. Better integration with existing libraries, there is a lot of software the exist in C/C++, and a lot of it is weird and opinionated, and having to write bindings for that isn't great.

2. Continuing on that, QT is still good for large desktop GUI projects. It doesn't seem it's well bound to Rust, and Rust is still trying to figure out their comparable UI story.

3. Ironically, in some certain circumstances, with good discipline, (And mostly interfaces that looks like C) C/C++ can compile faster then Rust.

Arelius··on Show HN: YTPics – Download pictures from YouTube videos
I mean, you will almost certainly be in a constant state of creating material in violation or copyright. Depending on the details of any specific copyright violation, it may be protected by Fair-use, and the length and lack of audio will likely help in your favor. But you'd have to defend those cases individually in court to even begin to make a fair-use argument. And I dont see how you could ever win any blanket decision in your favor.

With a good DMCA takedown story and compliance, you could potentially claim the copyright is responsibility of your users. And maybe you'll be too small, and the content, in general you are making too inconsequential, or even helpful (marketing wise) for anyone to care. But this is definitely be a project I would get a proper legal analysis of and have clear procedures and plans in place for any issues that may show up.

Arelius··on Demystifying GPU compute architectures
Indeed, Nvidia has been awful about sharing documentation. The best docs I know of out Nvidia, are actually provided by Nintendo. AMD on the otherhand, while is far from perfect, does try to provide documentation.

CDNA docs, for instance: https://www.amd.com/content/dam/amd/en/documents/instinct-te...

Arelius··on jj init – getting serious about replacing Git with Jujutsu
Because we insist on telling people to Rebase as part of the standard workflow, which is just a huge footgun for people who dont understand what they are doing.
Arelius··on jj init – getting serious about replacing Git with Jujutsu
> I don't know what the reflog is, other than that it has to do with some dark internals.

I think this illustrates a bit the tragedy of git's (lack of) UI. Since the reflog is a feature, not an exposed hidden internal. It's simply a log of what a reference, say HEAD, or a branch, has pointed at. It's meant to help you figure out what happened, or get back to a place you lost through some other operation.

Arelius··on Macaroons Escalated Quickly
These look pretty useful cool...

I'm curious a bit though, here, and in other posts in HN, I often see that HMAC, a symmetric key is preferred, going as far as suggesting, in JWT, that other algorithms should not be implemented. Why is that? What are the problems with say RSA? (Ignorning that I'm not sure Asymmetric keys work with Macaroons design at all)

From my perspective, Asymmetric keys have been a great boon, in that I can keep the private key, secured on my single auth server, but then freely distribute the public key to the edge, greatly increasing responsiveness, and reducing the bottleneck on the Auth server.

Is there some security concern I've been missing?

Arelius··on Show HN: Open-source x64 and Arm GitHub runners
I mean, you could also consider how much the transition to Ephermial builders and containers is costing us in general, moving from (admittedly more brittle) build machines that would keep build artifacts alive on the local hard drive just as matter of fact.
Arelius··on Show HN: Open-source x64 and Arm GitHub runners
> I'm left wondering what the catch is / why it's cheaper and faster.

So, while this is the first time I've heard of ubicloud, I use gha extensively.

Abd frankly, I think it's just because Github has a crazy markup on their actions compute over the raw compute. Taking a quick look, it appears that their base rate is like $0.008 per-minute!! That's a rate that wouldn't look crazy out of line with EC2's hourly rate.

I've worked on projects where we saved significant money, and improved build times just by launching a single EC2 instance and connecting it to Actions.

Arelius··on Portable EPUBs
To be fair. Iirc, an epub is stored uncompressed. So you should be able to get a directory of them no problem.
Arelius··on Impacts of lid closure during toilet flushing
Agreed. The study was really important. The messaging around it was not so great.
Arelius··on Impacts of lid closure during toilet flushing
Yes, sure. But it gives helpful guidance. It means that if you wear a mask through the airport, and before takeoff and after landing. Taking it off for meals and the like is a much lower risk then not wearing a mask at all.
← PreviousPage 4 of 34Next →