Better HN
topnewbestaskshowjobs
Log inSign up

shiryel

234 karma · joined Apr 6, 2021 (5y ago) · 43 submissions

[ my public key: https://keybase.io/shiryel; my proof: https://keybase.io/shiryel/sigs/klBpn9H3t-AfG9jEw9Zvzhf8MwPfkfuncPiIcelTXow ]
Submissions

1.

I was wrong, zswap IS better than zram(linuxblog.io ↗)

1 points · by shiryel · 9mo ago · discuss

2.

Double Pendulums are Chaoticn't [video](youtube.com ↗)

2 points · by shiryel · 1y ago · discuss

comment 1y ago · link · parent

That is also how Krita stores brushes. Unfortunately, that can cause some unexpected issues when there's too much data [1][2].

[1] - https://github.com/Draneria/Metallics-by-Draneria_Krita-Brus...

[2] - https://krita-artists.org/t/memileo-impasto-brushes/92952/11...

4.

Facet: Reflection for Rust(fasterthanli.me ↗)

6 points · by shiryel · 1y ago · discuss

5.

Beyond All Reason – open-source RTS game built on top of the Recoil RTS Engine(github.com ↗)

18 points · by shiryel · 1y ago · 4 comments

comment 2y ago · link · parent

Fortunately tools to fix this issue on Linux exist, like Bubblewrap and Dbus-Proxy, but they require custom configuration per software, so almost no distro uses them directly, but we do have Flatpak that basically uses both of these tools under the hood, unfortunately, it also has its own "limitations", like the amount of packages and some weird behavior in some packages.

I'm trying to solve this issue by using both of these tools with NixOS [1], where I can choose how much security I want for each package, like limiting the files that they can access and/or the entire dbus (practically simulating Flatpak). I mostly use it on proprietary software, like Games, as they have a history with RCEs...

In the end, security is a tradeoff with convenience.

[1] - https://github.com/shiryel/nixjail

7.

ECC vs. non-ECC RAM and ZFS (2013)(truenas.com ↗)

16 points · by shiryel · 2y ago · 6 comments

comment 3y ago · link · parent

As it usually goes in programming, "it depends on your objectives", there are things that are easier accomplished with the ErlangVM than Rust. Also, if you want a language that uses the ErlangVM and has static types, maybe you should take a look at Glean[1].

In my case I prefer to work with Elixir because of the community, as I find easier to work professionally with Elixir than some other mainstream languages, as mostly projects follows the same good practices, use the same tools and have good documentation.

[1] - https://gleam.run/

9.

Why do game developers prefer Windows? (2011)(softwareengineering.stackexchange.com ↗)

4 points · by shiryel · 3y ago · discuss

comment 4y ago · link · parent

I can also confirm this, the elixir community is by far one of the most welcoming communities that I have ever seen!

comment 4y ago · link · parent

Elixir has tradeoffs that many languages refuse to do, like green-threads (from Erlang), that enables you to do many cool things with the concurrency / parallelism / distributed computing bits (and there is a whole ecosystem around these tradeoffs).

But the selling point of Elixir for me is the quality of life for the dev, the docs and tooling are amazing, the community is very focused, the language itself is easy to read and extend (with the powerful macro system) and the pattern match system, is one of those things I wish every language had.

12.

Aurora Store: An Open Source alternative for Google Play Store(gitlab.com ↗)

22 points · by shiryel · 4y ago · 5 comments

comment 4y ago · link · parent

I love nix, I've been using it for the last 2 years, I have a very stable setup from these 2 years of effort [0], and I just can't recommend Nix for Linux beginners, why?

It's not because of the nix language, It's not because of the CLI, it's because everything is scattered, you have to consult many places to find out how to do things with Nix, here is an example:

Usually, when I need a new complex program, like Steam, I first check the system-wide configuration [1], the wiki [2] and the package list [3], if I just want it on my user, I need to check if Home Manager has an option [4], if it doesn't, I can try using the "home.packages" option. Now, if I need to override something on the package, I need to remember how to do it with [5] [6] (while checking the source code for the package in parallel to find the options).

And then sometimes, on very rare occasions, I need to fine tune something with the nix language, so I need to check the builtins/lib docs [7], but some builtins are not there, so I need to either use nix-doc [8] or find the docs inside the code-bases [9] [10] (they are split between both repos)

For me, this is one of the main pain points of using Nix / NixOS that needs to be solved.

[0] - https://github.com/shiryel/nixos-dotfiles

[1] - https://search.nixos.org/options

[2] - https://nixos.wiki/wiki/Steam

[3] - https://search.nixos.org/packages

[4] - https://mipmip.github.io/home-manager-option-search/

[5] - https://nixos.org/manual/nixos/stable/#sec-customising-packa...

[6] - https://nixos.org/guides/nix-pills/nixpkgs-overriding-packag...

[7] - https://teu5us.github.io/nix-lib.html

[8] - https://github.com/lf-/nix-doc

[9] - https://github.com/NixOS/nix

[10] - https://github.com/NixOS/nixpkgs

14.

Discord-ScreenAudio: Discord client that supports streaming with audio on Linux(github.com ↗)

2 points · by shiryel · 4y ago · discuss

comment 4y ago · link · parent

Yea, only time will tell, but one thing that I love about Elixir is it community, that try to support and improve the "big projects" instead of remaking, eg:

- Phoenix for web dev

- Nerves for IoT / Embedded systems

- Membrane for multimedia / streaming

Hopefully Nx and Axon will be in this list soon :)

comment 4y ago · link · parent

> Also (surprise) shell Linux knowledge almost doesn't scale to the debugging GPU drivers, DE and X server issues.

You will be surprised on how much Wayland solved those issues. At least, in my experience, understanding why Sway crashed is a debug flag away. Unfortunately, Wayland is a double edge sword, even more if you want to run games with multiple monitors (but that is a pain even on Windows in my experience).

comment 4y ago · link · parent

https://swaywm.org/

18.

The Drama of Rules: What Storytelling Teaches Us About Human Nature (2018)(web.archive.org ↗)

3 points · by shiryel · 4y ago · discuss

comment 4y ago · link · parent

I don't know how much scientific is the references on this article [1], but it's a good read about the topic

[1] - http://web.archive.org/web/20190423155359/https://medium.com...

20.

NixOS on Btrfs+tmpfs(cnx.srht.site ↗)

81 points · by shiryel · 4y ago · 53 comments

21.

Application Isolation Using NixOS Containers(msucharski.eu ↗)

1 points · by shiryel · 4y ago · discuss

22.

Screenshare with Audio on Discord with Linux(github.com ↗)

1 points · by shiryel · 4y ago · discuss

23.

Gzochi: Scalable middleware for MMOs for developing games in GNU Guile(nongnu.org ↗)

5 points · by shiryel · 4y ago · discuss

comment 4y ago · link · parent

That makes me think, doctors and lawyers have intensive training to minimize risk for other persons, each day our field has more impact on other's life, I wonder if we are heading to something similar...

25.

Archlinux Packages Fun Statistics(pkgstats.archlinux.de ↗)

3 points · by shiryel · 4y ago · discuss

26.

The Worst DRM Systems in Modern Times [video](youtube.com ↗)

2 points · by shiryel · 4y ago · discuss

27.

Using RSA Securely in 2022(soatok.blog ↗)

3 points · by shiryel · 4y ago · discuss

28.

Generate GPG Keys with Curve Ed25519(digitalneanderthal.com ↗)

1 points · by shiryel · 4y ago · discuss

29.

Glass – A semantic search tool for Erlang that supports large code-bases(github.com ↗)

4 points · by shiryel · 4y ago · discuss

12