HNHacker News
TopNewBestAskShowJobs

Corsome

95 karma · joined July 16, 2023

submissionscomments
Corsome··on Emacs Bedrock: A minimal Emacs starter kit
> Treesitter is baked in for syntax, eglot is baked in for language servers (intellisense),

Sadly the two of them don't seem to mix well together (eg rust-mode works well with eglot but rust-ts-mode makes eglot ask for LSP server binary and then still does not connect).

Looks like it's early toothing problems but it's not that straightforward (at least yet).

Corsome··on Linear algebra for programmers
> This is actually not so strange– you can think of many structures as functions. For example, you can think of a number 3 as a function. When you multiply it by things, it makes them three times bigger.

I don't see how 3 can be a function from this example. "3*" (partially applied multiplication by 3) looks more like it.

Matrices and vectors as functions? Yeah, if the argument is within bounds. That makes it just an indexing operation.

(I guess one can view 3 as a one element vector but that sounds like a degenerate case)

Or maybe I'm missing something...?

Corsome··on Rust Language Cheat Sheet
It looks really great!

Is it just me or the output PDF has quite a bit of broken pages (eg after Working with Types section)?

Corsome··on Windows 11 has made the “clean Windows install” an oxymoron
Well said.

> The next thing for me is to "decloud" - meaning remove any and all online services that are not mission critical.

For me there are multiple parallel "side quests" and decloud is definitely one of them (I strive to minimize cloud and select solutions that can be self hosted and that are E2EE. Then I pay for hosting anyway but I always have an option of rolling my own. Example: etesync for calendars and contacts).

Other side quests: instead of Gnome use Sway, this requires manually picking wifi/Bluetooth connection managers (iwctl and bluetoothctl work well) and other tooling.

Yet another: convert my entire family to use Linux. Sadly this is harder since schools teach Windows but Gnome looks very similar to what they use.

These are just some examples. The good thing is that all of these are small steps that can be taken in any order to improve the situation in small increments.

Corsome··on Windows 11 has made the “clean Windows install” an oxymoron
Ctrl+alt+f2 (Or any other F) will give you additional login terminal.
Corsome··on Windows 11 has made the “clean Windows install” an oxymoron
Personally I think there are multiple forces acting on Windows at the same time. Some of them push it to a good direction (cases you mentioned) some of them less so.

We live in a times that are good for developers: we not only have free access to powerful tools that other professionals need to pay big bucks but it goes even further: with open source we can co-shape these tools and in the extreme cases fork and create our own derivatives.

Why not take advantage of this and just avoid proprietary solutions as much as possible?

Corsome··on Windows 11 has made the “clean Windows install” an oxymoron
> how do you deal with absence of working task manager?

I see people offering nice advice here but I mostly do ps aux | grep thing and then kill (-9) it... or killall :)

> any random hang-up is a forced restart, no way to kill offending process as EVERYTHING just freezes up.

I had the everything freeze up experience initially on a Dell laptop and frankly don't know what was the cause. Maybe missing microcode updates or old firmware? Nowadays it almost never happens (I don't remember it happening over the months). I have an app crash (like Firefox) ~once a month but it's so rare I barely notice.

Corsome··on Windows 11 has made the “clean Windows install” an oxymoron
Phew. After being a Windows user for literally almost two decades I've happily migrated to Linux and couldn't be happier. Yep, it took some time to prepare but let's be frank, developers already use quite a lot of Linux/Unix tools already so why not cut the middleman and just work directly with what we need most?
Corsome··on PHYS771 Lecture 9: Quantum
Thanks for your take on it!

> It would be interesting to see what happens if a student learns geometric algebra first, maybe it will feel more natural then.

Yeah, I've noticed some people [0] advocating for using it for all physics as soon as possible too.

[0]: https://www.cambridge.org/core/books/geometric-algebra-for-p...

Corsome··on PHYS771 Lecture 9: Quantum
Your books are indeed excellent!

I was wondering... what's your opinion on Geometric Algebra? (If you have one)

Corsome··on Part-DB: open-source inventory management system for your electronic components
Ah, right. Indeed, the naming is super similar. Thanks for mentioning that PartsBox is not open source.
Corsome··on YouTube no longer suggests videos if your ‘watch history’ is turned off
I think you're using a copycat app from Play Store. It's not a real app which is only available through F-Droid.
Corsome··on Part-DB: open-source inventory management system for your electronic components
> My software will not be open-source for a number of reasons,

Just to clarify which exact software is not open source? PartsBox looks to be AGPL.

> In-browser camera scanning is available in commercial plans only (due to licensing costs).

I wonder if you checked out https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Det...

Corsome··on Moonbit: Fast, compact and user friendly language for WebAssembly
This sounds like you're planning to use Business Source License (https://www.hashicorp.com/blog/hashicorp-adopts-business-sou...). Did I get that right?
Corsome··on Moonbit: Fast, compact and user friendly language for WebAssembly
Will the compiler be open sourced?
Corsome··on Fixing the TPM: Hardware Security Modules Done Right
What if the firmware program has a bug that needs to be fixed? Fixing it would change the hash and thus lock it out from key access but leaving it unchanged will mean the keys can be compromised.

How does Tillitis handle this case?

Corsome··on Brand-new Linux release, which I'm calling the Debian Linux Release (1993)
I rather meant irregular with regards to Debian Sid not Debian in general.

Arch only has rolling release mode so everyone is using the latest (thus any potential issue in Arch will affect bigger % of Arch users) while Debian has stable and testing and I was wondering if that'd make Sid less stable for practical use (since "it's not stable").

I don't want to start a distro war here, just wondering about some anecdata of actual distro users.

Corsome··on Brand-new Linux release, which I'm calling the Debian Linux Release (1993)
What are the advantages of using Debian testing/sid rolling release instead of a regular rolling release distro (say, Arch)?
Corsome··on How Final Fantasy VII's monster scripting system works
Ah, I thought it's someone else commenting on the same matter. Thanks for sharing this looks extremely interesting!
Corsome··on How Final Fantasy VII's monster scripting system works
> I've produced a video showing how AI scripting works in the PlayStation classic, Final Fantasy VII.

Could you share a link?

Corsome··on YouTube-Dl Site Goes Offline as Hosting Provider Enforces Court-Ordered Ban
I noticed recently that my distro's youtube-dl stopped working (it can't successfully download movies) but thanks to news like this one I found a fix in one of the comments here:

> I've moved on to https://github.com/yt-dlp/yt-dlp anyways

Thanks!

Corsome··on Git-appraise – Distributed Code Review for Git
Last time I checked it was only for maintainers convenience but the idea of using it by some tooling was already being discussed: https://people.kernel.org/monsieuricon/all-patches-must-incl...
Corsome··on Git-appraise – Distributed Code Review for Git
Yeah, additionally Juniors can read the fix commits and learn from that. Thanks for describing your work flow Mike!
Corsome··on Git-appraise – Distributed Code Review for Git
> A meaningful comment stay as long as it is meaningful.

Sometimes even longer :)

Corsome··on Git-appraise – Distributed Code Review for Git
AFAICS there's `--base=auto` which captures explicit parent's sha in the patch text output (there's also a git config option to do that automatically).

Source: https://git-scm.com/docs/git-format-patch#_base_tree_informa...

Corsome··on Git-appraise – Distributed Code Review for Git
> Gerrit also stores some of its configs in a git repo.

So does gitolite where the config (repos, user's SSH keys etc) is stored completely in a git repo. Perfect for migration, backup, audits.

https://gitolite.com/gitolite/index.html

Corsome··on Git-appraise – Distributed Code Review for Git
Wow, that's really cool. If these commits were marked one could quickly drop them during rebate at the end of the review before merging. Or just remove them when the fix is applied.

Thanks for sharing!

Corsome··on Japan prefectures drift away from posting disaster warnings on X
Exactly. Or if for some reason they need the social bit Mastodon is an option. Additionally it has RSS output feeds for everything.
Corsome··on Low-cost Smartwatch powered by ESP32 module
I wonder if the display could be changed to https://www.waveshare.com/product/rp2040-lcd-1.28.htm
Corsome··on Linux guide for power users (2022)
I have the same experience. In my case everything worked fine out of the box (after several test installs of Arch).

The best distro for a new Linux user is actually the same distro your best friend uses. When things get dire it's good to have a direct help (Arch Wiki is great but one needs to know how to extract most or its knowledge).

Page 1 of 2Next →