Better HN
topnewbestaskshowjobs
Log inSign up

Corsome

95 karma · joined Jul 16, 2023 (3y ago) · 40 submissions

Submissions

comment 3y ago · link · parent

> 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).

comment 3y ago · link · parent

> 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...?

comment 3y ago · link · parent

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)?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Ctrl+alt+f2 (Or any other F) will give you additional login terminal.

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

> 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.

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

Your books are indeed excellent!

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

comment 3y ago · link · parent

Ah, right. Indeed, the naming is super similar. Thanks for mentioning that PartsBox is not open source.

comment 3y ago · link · parent

I think you're using a copycat app from Play Store. It's not a real app which is only available through F-Droid.

comment 3y ago · link · parent

> 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...

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

Will the compiler be open sourced?

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

What are the advantages of using Debian testing/sid rolling release instead of a regular rolling release distro (say, Arch)?

comment 3y ago · link · parent

Ah, I thought it's someone else commenting on the same matter. Thanks for sharing this looks extremely interesting!

comment 3y ago · link · parent

> I've produced a video showing how AI scripting works in the PlayStation classic, Final Fantasy VII.

Could you share a link?

21.

Matrix Bridge Temporary Shutdown, a Retrospective(libera.chat ↗)

1 points · by Corsome · 3y ago · discuss

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

Yeah, additionally Juniors can read the fix commits and learn from that. Thanks for describing your work flow Mike!

comment 3y ago · link · parent

> A meaningful comment stay as long as it is meaningful.

Sometimes even longer :)

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

> 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

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

Exactly. Or if for some reason they need the social bit Mastodon is an option. Additionally it has RSS output feeds for everything.

comment 3y ago · link · parent

I wonder if the display could be changed to https://www.waveshare.com/product/rp2040-lcd-1.28.htm
12