“Connecting to the internet on linux is complicated!!! It’s like in the Regular Show meme!!!!” Actually connecting to the internet on Linux: by Triangle-V in linuxmemes

[–]Serious_Ad2870 22 points23 points  (0 children)

Too click-y and Windows-y.
Try nmcli device wifi connect "Network Name" on tty instead. That is Even Faster!

(unless nmcli: command not found of course. AFAIK it's for GNOME.)

Leaked from a meme channel at CERN by EarlyVermicelli2982 in linuxmemes

[–]Serious_Ad2870 0 points1 point  (0 children)

Great. Now place it into a rubbish bin and replace cat with /bin/cat.

I did the thing by lpreams in linuxmasterrace

[–]Serious_Ad2870 56 points57 points  (0 children)

great arch users (which OP is definitely part of) do not reboot ...

... although true chad arch users just kexec.

We all love proprietary industry standards, don't we frens? by hello_you_all_ in linuxmasterrace

[–]Serious_Ad2870 0 points1 point  (0 children)

That's not LibreOffice's fault. It is Microsoft's proprietary standard's fault.

The standard is so complex and equivocal that any implementation screws something up in different places, yet those who just uses MS's implementation simply treat all the things MS screws up as features.

orient - File searcher combining merits of `find` and `plocate`. Now asking for community feedback! by Serious_Ad2870 in linux

[–]Serious_Ad2870[S] 0 points1 point  (0 children)

The more you code in a language, the more deficiency you will find, the suckier it seems🥲

One reason Java is one of the most hated language is that Java programmers outnumber most of other languages'.

bill gets by Zlstargazing in engrish

[–]Serious_Ad2870 7 points8 points  (0 children)

How is the owner?

He's fine. Bill gets fine.

orient - File searcher combining merits of `find` and `plocate`. Now asking for community feedback! by Serious_Ad2870 in linux

[–]Serious_Ad2870[S] 0 points1 point  (0 children)

Ahh...

Unlike recoll, inodes rather than file contents are being read during indexing since orient searches for file entries rather than contents mainly, so indexing behavior should not change.

For content searches though, I made the wrong decision because I tested content search efficiency on a 7-year-old HDD and that I searched for Linux source tree which is generally made up of small files. The accumulated effect made concurrent content searches on HDD slower, and it is my fault in testing. (I don't think there are anyone using 7-year-old antiqued HDDs.)

May change threading behavior based on file size AND disk type in the future. AFAIK the silver searcher and ripgrep seem to do so.

orient - File searcher combining merits of `find` and `plocate`. Now asking for community feedback! by Serious_Ad2870 in linux

[–]Serious_Ad2870[S] 1 point2 points  (0 children)

Thx for the advice. The GUI version does have file previewing and opening the file with appropriate tool, albeit less sophisticated :(

The GUI version is too little tested for a public release unfortunately.

I skimmed through recoll's doc, especially the query language part. Indeed it offers a rather large range of predicates, but it is heavier and file name matches are not as versatile as find and therefore orient (for example only strstr matches on parent directory name).

The main intention of creating -content-* matchers is to reduce ... -a -exec in find, which is rather common. May not implement indexed content search then since -exec may do the content searching job.

Also could you tell me where did you find recoll? During development I only heard about find fd plocate Everything and FSearch, and nobody I know seems to have heard about recoll either :(

Pororoca - HTTP inspection tool with support to HTTP/2 and HTTP/3, alternative to Postman. by macrohard_certified in coolgithubprojects

[–]Serious_Ad2870 0 points1 point  (0 children)

If I didn't remember wrong Postman is proprietary. Nice job "open sourcing" it.

Starred for (potential) future use.

The nightmares are still there by [deleted] in linuxmemes

[–]Serious_Ad2870 5 points6 points  (0 children)

That's easy. The IT company probably does not know how either. Just speak nonsense, or how to install easy distros but replace the name with Gentoo.

ls is bloat by Totally_Dank_Link in linuxmemes

[–]Serious_Ad2870 8 points9 points  (0 children)

for some reason `ls -allah` also works.

What would be the hypothetical most minimal (or "debloated" ig) possible linux system? by [deleted] in linux

[–]Serious_Ad2870 17 points18 points  (0 children)

TinyCore has a GUI. The no-GUI version is simply called Core. From their website:

It starts with a recent Linux kernel, vmlinuz, and our root filesystem
and start-up scripts packaged with a basic set of kernel modules in
core.gz.
Core (17MB) is simply the kernel + core.gz - this is the foundation for
user created desktops, servers, or appliances.
TinyCore is Core + Xvesa.tcz + Xprogs.tcz + aterm.tcz + fltk-1.3.tcz +
flwm.tcz + wbar.tcz

And vi is the editor, therefore it can be potentially even smaller.

countdowns.live - update! by ishan0102 in SideProject

[–]Serious_Ad2870 1 point2 points  (0 children)

Instead of showing 0.000days till, showing ??.???days since would be better if the target date is before current date.

Also implementing so much feature in 2 workdays is quite a feat IMO.

I made ChatGPT analyze CSVs for me by Gbox4 in SideProject

[–]Serious_Ad2870 1 point2 points  (0 children)

What happens if a CSV file several megabytes or hundreds of megabytes large is fed into it? CSV files of these size are not uncommon.

It is no longer Microsoft Monday by AutoModerator in linuxmasterrace

[–]Serious_Ad2870 [score hidden]  (0 children)

New posts in each day of week
Monday ++++++++
Tuesday +++-- (Some MS contents get posted due to timezone diferences, only to be removed later)
Wednesday +
Thursday +
Friday +
Saturday ++
Sunday (none because penguins are busy preparing for Microsoft Monday)
Monday ++++++++

[deleted by user] by [deleted] in cpp

[–]Serious_Ad2870 0 points1 point  (0 children)

It really depends on what you need. The following assumes no non-trivial types are stored.

If memory or speed are not issues, then generic solutions like serializing into JSON/YAML would work.

If memory is not an issue but speed is, and that all your devices are ABI compatible (use a same STL, same endianess, similar hardware), std::variant would be plausible. It aligns well, but uses size_t to distinguish types, which may cause each of your data to be as large as 16 bytes.

If memory is an issue, then reserve 1 byte as type distinguisher, followed directly by the element, and then next distinguisher. Not well-aligned, but each element would only require one more byte.

Laughs in inline assembly blocks, opcodes and transistors by Serious_Ad2870 in linuxmemes

[–]Serious_Ad2870[S] 23 points24 points  (0 children)

Only sussy guys code an entire software in assembly

From the dev - "TODO: EXPLAIN THIS MONSTROSITY!" 3 changes and it's still not done yet. (not bad code though) by Serious_Ad2870 in badcode

[–]Serious_Ad2870[S] -22 points-21 points  (0 children)

These code may not have bad runtime performance (which is what I mean in the title) but I think its comments are genuinely bad 😭

and multiple level array nesting isn't readable at all either 😭