eeleech

joined 1 year ago
[–] eeleech@lemm.ee 26 points 5 months ago

since commercial usage is not free

Commercial usage oft the osm data is free, see the OSM license. The article even speculates that they switched from Google maps due to licenses costs.

Of course this doesn't apply to commercial services that provide e.g. map tiles.

[–] eeleech@lemm.ee 0 points 6 months ago (3 children)

So compared to plain bash without autocomplete and Ctrl+R it may be useful. It is probably a step back for everyone else.

I think it could be much worse than even a plain shell with ^R, as the llm will be slower than the normal history search and probably has less context than the $HISTFILE.

[–] eeleech@lemm.ee 6 points 7 months ago

I assume that nothing will change for contributors, as vector tiles only replace the existing renderer.

For users this will allow better zooming and customization of the rendered map.

[–] eeleech@lemm.ee 3 points 10 months ago

I recently spent some time optimizing a small Julia program I wrote that generates a lookup table of brainfuck constants. Because it only needs to run once, I originally didn't care about performance when I originally wrote it (and the optimization was mostly for fun).

I achieved an ~100x improvement by adding types, using static arrays and memoization. In the end, the performance was mostly limited by primitive math operations, I tried using multiple threads, but any synchronization destroyed the performance.

However, the most impressive thing was the ability of Julia to scale from dynamically typed scripting language to almost a compiled language with minimal changes to the code.

[–] eeleech@lemm.ee 13 points 11 months ago (1 children)

afaik yes, at least the arch kernel has selinux enabled, but you need to install the user space tools from the AUR.

[–] eeleech@lemm.ee 7 points 11 months ago

I think a tag system as suggested by others makes the most sense, as NSFW and NSFL aren't mutually exclusive.

[–] eeleech@lemm.ee 29 points 1 year ago (1 children)

These shortcuts aren't provided by the terminal or the shell but the readline library (or zle if you use zsh), which can be configured using the ~/.inputrc file.

[–] eeleech@lemm.ee 9 points 1 year ago (1 children)

Easyeffects is great, or use the eq built in to pipewire to avoid an additional dependency: wiki.archlinux.org/title/PipeWire#Systemwide_parametric_equalization

[–] eeleech@lemm.ee 32 points 1 year ago (1 children)

I don't know of one, but why not install gnome on Mint (or Debian)?

[–] eeleech@lemm.ee 5 points 1 year ago

You don't even need to look at the extension to identify most file formats, as there are unique magic numbers stored at the beginning of most (binary) formats. Only when a single binary format is reused to appear as two different formats to the user, e.g. zip and cbz are extensions relevant. This is how the file command and most (?) Linux file explorers identify files, and why file extensions are traditionally largely irrelevant on Linux/Unix.

This means your idea of suggesting software based on the file type is even more practicable than you described.

[–] eeleech@lemm.ee 7 points 1 year ago

Keeping the details about vim in the extras is what I would do as well, but I would definitely tell the students that vim and vi exist, because they are the only editors available on many systems.

[–] eeleech@lemm.ee 10 points 1 year ago (2 children)

I would consider that ifconfig is deprecated on many distros and would therefore teach about iproute2 (mostly the ip and ss commands) instead. Additionally I would consider editing files essential, even if it is with nano.

Maybe mention more modern and simpler help tools like tldr, as they could be even more useful to beginners.

To introduce the shell and utilities, I would try to find a somewhat realistic use case that combines multiple aspects, like analyzing some files or spellchecking instead of simply mentioning every feature one by one.

view more: next ›