Better HN
topnewbestaskshowjobs
Log inSign up

Rucadi

221 karma · joined Jul 8, 2021 (5y ago) · 117 submissions

Submissions

comment 2w ago · link · parent

Your project seems cool! It's basically the same nix does on a derivation when packing a binary blob!

That's totally cool! It also how we always tried to fix the problem, the only nitpick there is that without bundling glibc-dynamic linker it won't work on systems with older glibc than your own.

And yes! I've tried complex programs like Krita, packaging and putting it on an empty ubuntu and it worked!

That's one of the reasons I added the "plugin" option, in the case of krita and other apps, the .so are loaded from the FS, and I wanted to ensure that I copied .SO files of the plugins that may have not been covered by the main binaries.

In a sense, FELF right now also serves a little as a "sandbox", in which you can decide if you want to be able to load arbitrary shared libraries or not at pack time.

Thanks a lot for the comments :D

2.

Show HN: FELF – AppImage-like single binaries without FUSE, root, or a runtime(github.com ↗)

5 points · by Rucadi · 2w ago · 2 comments

comment 3w ago · link · parent

I don't think that's good, I think that's horrible, got to hate invisible state.

comment 3w ago · link · parent

For me the most easy-to-use editor for cli / ssh and relatively lightweight is https://github.com/sinelaw/fresh everybody can just use it intuitively.

comment 6mo ago · link · parent

And doesn't forbid you from using their platform for free if you sell the keys by yourself and you can also decide to publish your game to other stores...

comment 10mo ago · link · parent

I'll be honest, I just want something that I can develop on (linux is the easiest by far) and that's not annoying (Nixos is the best at that).

I don't even use any advanced config, just bare-minimum config for the system, enough (project-specific things handled by nix).

comment 11mo ago · link · parent

I also got the same feeling from that, in fact, I would go as far as to say that nixpkgs and nix-commands integration with git works quite well and is not an issue.

So the phrase the article says "Package managers keep falling for this. And it keeps not working out" I feel that's untrue.

The most issue I have with this really is "flakes" integration where the whole recipe folder is copied into the store (which doesn't happen with non-flakes commands), but that's a tooling problem not an intrinsic problem of using git

comment 11mo ago · link · parent

The best part of statement expressions is that a return there returns from the function itself, not from the statement expr.

I use that with with macros to return akins to std::expected, while maintaining the code in the happy-path like with exceptions.

comment 11mo ago · link · parent

This is also somewhat common in c++ with immediate-invoked lambdas

comment 11mo ago · link · parent

it makes function declarations/instantiations much more grep-able.

comment 11mo ago · link · parent

auto has a good perk, it prevents uninitialized values (Which is a source of bugs).

For example:

auto a;

will always fail to compile not matter what flags.

int a;

is valid.

Also it prevents implicit type conversions, what you get as type on auto is the type you put at the right.

That's good.

comment 11mo ago · link · parent

This will end up with people creating their pages in top of godot engine to avoid html scrapping hahaha

comment 11mo ago · link · parent

To be honest I don't know what to say, you can use nix in many ways, and you don't even require to know the language.

The easiest entry-point is to just use it like a package manager, you install nix (which is just a command...) and then you have available the whole set of packages which are searchable from here: https://search.nixos.org/packages

nix-shell is just to download&add programs temporary to your PATH.

I don't feel that this is harder than something like "sudo apt install -y xxxxx" but for sure more robust and portable, and doesn't require sudo.

If at some point you want to learn the language in order to create configurations or packaging software, it may require to check a lot more documentation and examples, but for this I think it's pretty straightforward and is not harder than any other package manager like aptitude, homebrew or pacman.

comment 11mo ago · link · parent

If you really need a portable binary that uses shared libraries I would recommend building it with nix, you get all the dependencies including dynamic linker and glibc.

comment 11mo ago · link · parent

Nix allows you to do this with any language and required dependency: https://wiki.nixos.org/wiki/Nix-shell_shebang

comment 11mo ago · link · parent

If the source is known, it is not less bad that downloading a program and running it

comment 11mo ago · link · parent

yes just use brige networking instead of nat

comment 11mo ago · link · parent

cpu 100% and shitty integration.

comment 11mo ago · link · parent

Smite used to do that, but long time since I played it.

comment 1y ago · link · parent

Location: Barcelona/Spain

Remote: Preferred

Willing to relocate: No

Technologies: C++(up to 23), Nix, Linux Namespaces / Docker, Python, CUDA, FPGA development(xilinx) with a little bit of linux driver development, verilog, reverse engineering, Rust-curious... In general I touch a lot of stuff and learn fast :)!

Résumé/CV: https://rucadi.eu/cv.html

Email: rubencanodiaz[<at>]gmail.com

comment 1y ago · link · parent

The most success I had so far on doing a project where I had to work with binary data parsing is Deku in rust, I would give this a try if I have the opportunity

comment 1y ago · link · parent

I compiled/ported the mario64 port to the LG TV quite easily, so I would say that LGTV is the best for that.

23.

Open source AI Pronunciation trainer(aipronunciationtr.com ↗)

1 points · by Rucadi · 1y ago · discuss

comment 1y ago · link · parent

Totally, the only ""freedom"" that they have is the free development program... But they can cancel your account at any time if they wish for "abusing" it, and you even have to refresh apps every week.

comment 1y ago · link · parent

I've been struggling with this topic a lot, I feel the slowness everyday and productivity loss of having slow computers, 30m for something that could take 10 times less... it's horrible.

comment 1y ago · link · parent

Cool project!

I'm kinda of the opinion that the real option to handle dotfiles is to override/overlay the package itself with the dotfiles, patching if necessary in order to make it look to the dotfile inside the store, so you can copy the closure of *your* whole app to any machine even if they don't use/can't use nix tho.

comment 1y ago · link · parent

Until zed doesn't work on windows (publicly) unfortunately can't use it in my working computer

comment 1y ago · link · parent

I personally find a lot more relevant the part about "Enabling cross-compilation ", which in my opinion is important and a win.

The same about exported symbols and being able to compile to wasm easily.

comment 1y ago · link · parent

I created a library "cpp-match" that tries to bring the "?" operator into C++, however it uses a gnu-specific feature (https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html), I did support msvc falling-back to using exceptions for the short-circuit mechanism.

However it seems like C++ wants to only provide this kind of pattern via monadic operations.

comment 1y ago · link · parent

And why not by private entities receiving donations of people that care about preservation?
1234