[-] [email protected] 2 points 5 days ago

Lol at that person trying to appear aloof and superior but actually shown to be lazy and ignorant

48
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

I accidentally removed a xubuntu live usb from the computer while it was running but it seems to be working just fine. I can even launch applications that werent already open.

Is that expected? I have always thought you need to be careful to avoid bumping the usb drive or otherwise disturbing it.

Where is everything being stored? In RAM? Is the whole contents of the usb copied into RAM or just some parts?

Edit: tried it with manjaro and it fell apart. All kinds of never before seen errors. Replacing the usb didnt fix it. Couldnt even shut down the machine, had to hard power off.

[-] [email protected] 16 points 1 week ago

Union organizing and intersectionality can only improve things.

22
submitted 1 week ago by [email protected] to c/[email protected]

I've been using manjaro for a couple of years and I really like it. especially the wide variety of packages available. Recently been using yay to find/install.

I prefer to run FLOSS packages when they are available. But I do not find a convenient way to preferentially seek these out. Even to know what licenses apply without individually researching each specific package.

It does not seem to be possible to search, filter or sort based on license in the web interface for packagegs or AUR. I do not find anything about it in man pacman(8) or man yay(8).

The only way I have found to find license info from the terminal is using expac. You can use %L to display the license. I guess you could combine this in a search to filter, similar to some of the examples listed on pacman/Tips and tricks - ArchWiki. But I haven't quite got it to work.

This seems like something other people would want but I don't find any available solution for it. Am I missing something? Or is it something with the arch-based distros?

60
submitted 2 weeks ago by [email protected] to c/[email protected]

I really like advance find and replace in kate editor. You can optionally use regex and operate on multiple files.

Very importantly it has a robust preview changes ability. it is comfortable to use even with lots of hits, lots of files. So you do not need to apply a bunch of changes and hope you considered every permutation as with a cli tool like sed.

One thing that would really improve my life would be a tool like this which allows you to save search queries and options.

Don't work for me:

  • Kate has a popup for history in the fields which is somewhat helpful but limited. When trying out different queries you don't have a way to remember which one actually worked so going by the history just ends in repeating the same errors over and over. Also it doesn't match the "find" and "replace" fields nor does it associate them with the other options like directory, etc.

  • Keeping notes in a text file is of course possible but cumbersome. I would like the computer to do work like that for me.

For single file searches regex101.com (non floss) and regexr.com (GPLv3) are great in-browser tools for learning and you can save the search. But to operate locally on many files, it doesn't work.

Does anyone know any tools that do anything like this? Can find various utilities which operate on file names but I am looking for file content. Certainly this exists ya?

(Post image is screenshot from Kate website of Kate on windows.)

[-] [email protected] 10 points 2 weeks ago

I freaking hate blue LEDs.

I actively avoid buying anything with a blue LED because they are so obnoxious. So bright. Why do I want to read by the light of my HDD? Does this video explain why they have to be like that?

Maybe if you have a separate wing of the mansion to do computing stuff it is not annoying. But if like a lot of people you have electronics in your living space, these lights are extremely disruptive.

It seems that can't really be dimmed.. I had to give up on a couple of blue backlit alarm clocks because there is no way that the time can be visible without illuminating the whole area around them.

For whatever reason, red is the best one. I would prefer another color aesthetically. For whatever reason, red is the only color that does what it has to do and nothing more.

50
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]

Anytime I search for an addon via the search box in settings > add-ons manager I get all these theme results. Here is a search for "syntax" (via the add-ons manager) I had to make it very zoomed-out to fit long page into screen cap:

I use themes personally to visually differentiate between profiles. And I have nothing against fun and frivolous user customizations. Am not hating on the concept.

I am curious about why they are so aggressively pushed so that they show up be default when trying to search for add ons you need to toggle off every time. Searching for an add-on to do something and searching for a theme that has some keyword included seem to me like totally different tasks and mixing them up is a strange choice.

Is this like a major things firefox thinks people like about it? Do people like it?

[-] [email protected] 14 points 1 month ago

I do not understand the mystique of applications that don't come with a reasonable working config. I don't want to invest hours just to try something and see if it is vaguely suitable. Anyone who wants to delete the default config can easily do so.

I guess people get pulled with sunk costs because by the time you get it working you've spent so much time on it.

15
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

I am learning some bash scripting.

I am interested to learn about getting input for my scripts via a GUI interface. It seems that yad (forked from zenity) is the most robust tool for this. (But if there is a better choice I would like to hear about it too.)

Is it possible to obtain 2 or more named variables using yad? Not just getting the values based on their positions ($1, $2, etc), with awk. See "What doesn't work" spoiler for those.

What doesn't workI find how to obtain one named variable, for example:

inputStr=$(zenity --entry --title="My Title" --text="My Text:")

I also find solutions relying on opening single-variable dialogues sequentially but that's a terrible interface.

Everything else relies on chopping up the output with awk or based on the positions, $1, $2, $3 etc. In this script $jpgfile is obtained:

jpgfile=$(echo $OUTPUT | awk 'BEGIN {FS="," } { print $1 }')

This seems unmanageable because adding a new field or failing to provide input for a field will both change the output order of every subsequent value. It's way too fragile.

For a simple example, I want to ask the user for a file name and some content. Creating the dialogue is like this:

yad --title "Create a file" --form --field="File name" --field="Content"

If you fill both fields the output in the terminal is file|this is some text|. How do I get them into variables like $filename and $filecontent? So then I can finish the script like this:

touch "$filename"
echo "$filecontent" > $filename

Is this possible??? I do not find it anywhere. I looked though all kinds of websites like YAD Guide, yad man page, smokey01. Maybe I missed something. On yaddemo I read about bash arrays and it seemed to come close but I couldn't quite piece it together.

[-] [email protected] 9 points 1 month ago

Codeberg us really new, i think like 2 years. Since covid for sure.

21
submitted 1 month ago by [email protected] to c/[email protected]

cross-posted from: https://discuss.tchncs.de/post/9585677

My dream: I want a way to arbitrarily close and later open groups of applications including their states such as open files, window arrangement, scrollback, even undo histories etc. So working on a specific project I can close everything neatly and return to it later.

In my research/experiments here is what I come up with, do you agree?:

  1. in the terminal-only environment this would be tmux or another multiplexer

  2. But when you start including GUI applications (which I must), then it is something else that doesn't exactly exist

  3. Applications store their current states in a variety of places and some of them don't really do restoring in any way so it would be hard to force.

  4. the best option for this is something like xpra where you can have multiple sessions. If you had a machine that stayed powered-on all the time it might be possible to create sessions, log in remotely and use them that way.

  5. Using xpra or similar the sessions are never really actually closed. You would only close the connection from the local machine. If the machine faces a power off then too bad. As far as I can se there is basically no way to accomplish this goal where power-offs are accommodated.

I have tried some remote-login options but they are too slow for normal use. I tend to have pretty low-end hardware running (because so far it works for most things) so maybe if I upgraded it would improve.

  1. is it plausible?
  2. how to estimate hardware/performance needs of host, client and LAN? anything else to consider?

I typically use manjaro + XFCE but would be willing to try something different to accomplish the goal. I only want to do this locally on LAN not remotely.

re XFCE session managerXFCE has session management but the majority of programs don't totally work with. Like maybe the application will re-open when the session is restored but no files will be open even if they were when session was saved. Or distribution through workspaces, window size etc will not be restored.

7
submitted 1 month ago by [email protected] to c/[email protected]

My dream: I want a way to arbitrarily close and later open groups of applications including their states such as open files, window arrangement, scrollback, even undo histories etc. So working on a specific project I can close everything neatly and return to it later.

In my research/experiments here is what I come up with, do you agree?:

  1. in the terminal-only environment this would be tmux or another multiplexer

  2. But when you start including GUI applications (which I must), then it is something else that doesn't exactly exist

  3. Applications store their current states in a variety of places and some of them don't really do restoring in any way so it would be hard to force.

  4. the best option for this is something like xpra where you can have multiple sessions. If you had a machine that stayed powered-on all the time it might be possible to create sessions, log in remotely and use them that way.

  5. Using xpra or similar the sessions are never really actually closed. You would only close the connection from the local machine. If the machine faces a power off then too bad. As far as I can se there is basically no way to accomplish this goal where power-offs are accommodated.

I have tried some remote-login options but they are too slow for normal use. I tend to have pretty low-end hardware running (because so far it works for most things) so maybe if I upgraded it would improve.

  1. is it plausible?
  2. how to estimate hardware/performance needs of host, client and LAN? anything else to consider?

I typically use manjaro + XFCE but would be willing to try something different to accomplish the goal. I only want to do this locally on LAN not remotely.

re XFCE session managerXFCE has session management but the majority of programs don't totally work with. Like maybe the application will re-open when the session is restored but no files will be open even if they were when session was saved. Or distribution through workspaces, window size etc will not be restored.

[-] [email protected] 13 points 1 month ago

why was Google able to find the answer to questions exactly like this 6+ years ago?

curious if there is any way to know for sure if this is the case? is there documentation of vague google searches over time to track their results? sort of seems like a "don't know what you got til it's gone" sort of thing for the average user. but maybe there is some academic work or industry publications to this effect?

We do have a good 10-20 years of every news story intro containing a line like "a google search for 'spatula' returns 2.5million results". remember when journalists and other writers thought that just putting a single search term into a search engine was the way to conduct online research?

otherwise it is really just your recollection how it felt then vs now. i can't comment on @[email protected]'s programing skills but the point about changing expectations is a good one. not to mention that the amount of available data has exploded.

[-] [email protected] 6 points 2 months ago

Well you can't make a hiring decision on that basis in most places unless you have a reason. What constitutes "a reason" being variable. Generally if you are prohibited from making a decision on a certain factor, you may not ask about it during an interview.

Sex discrimination can be constituted by various things. For example asking about maritial status, children, plans for pregnancy, soliciting sexual favors, etc. Also in some places, if you thought someone might be trans, you could not ask them about that.

[-] [email protected] 8 points 2 months ago

I am not one of these people who's constantly surveilling RAM. But I look at it occasionally and I don't really see anything unexpected in your screenshot. Maybe you could load up comparable non open source applications doing the same task and show the comparison? How does Safari or Edge do if you create a comparable session?

Right now on my linux computer, Firefox is using 1 GB of RAM. I have lots of tabs open so that's typical. Sometimes it is higher. You are using logsec, zotero and libreoffice which suggests you are conducting research and writing. So I will guess you also have lots of tabs. And maybe browser extensions? The zotero web clipper that looks at every page you load to see if it is scrapeable? Maybe a markdown clipper doing same thing?... And there is a good chance those other applications are working with a lot of data like your whole citation database, whatever you are writing etc. Do you have any of those zotero extensions that do all kinds of fancy stuff to the items you add? Not to mention Thunderbird and whatsapp. It is a lot of stuff for the computer to do.

In firefox (and presumably librewolf) you can go to about:processes to see exactly what is going on. This page with your thread is using 59 MB. Also you can go to about:unloads which has a rudimentary method to remove background tabs from memory. With only 8gb of RAM you should make a habit of this. You can also get extensions with more sophisticated unloading methods and that might be worthwhile for you.

All that said, I think an 8GB RAM machine is likely under-powered for your task. To be fair I am making assumptions based on the applications you have open. because when I have those sorts of applications open, I am typically being quite demanding of the computer. Opening documents, converting filetypes, scraping metadata, OCR, passing information between applications, interacting with databases, drafting documents, searching email archives... and lots of tabs.

I am really surprised that Apple would sell a laptop-type device with only 8gb in the modern era. I always think of them as expensive but good hardware (if you are using them the way Apple intends). If my assumptions about your work are correct, life will improve if you can scrape up some more RAM.

[-] [email protected] 13 points 2 months ago

I had one of the early generation kindles for a while. There was a straighrtforward jailbreak to make it more sociable. The set it up with Calibre which was smooth once properly set up. There was (likely still is) a cool plugin that would get RSS feeds, generate an ebook and sync automatically over wifi per schedule. So then when I went out I would have everything to read fresh with zero effort. Which at the time was pretty impressive. Phone batteries sucked so they were not really viable for reading unless you could have them plugged in all the time. The kindle was magic in comparison.

Anyone who wants to dive into e readers should go to the E-Book Readers section of MobileRead Forums. There people are very serious about ebooks.

I was thinking of buying another ereader a couple years ago. I sort of assumed there would be some open-ish type options. But I didn't find anything that suited me. I really liked eink and wish it was more widely used. I would love one of the phones with dual ekin/LCD displays.

All this to say I hope there is community uptake and participation in the project. I myself do not have a soldering iron and don't really need an ereader. But I think it's a cool contribution.

[-] [email protected] 12 points 2 months ago

@[email protected] made a well structured comment using bullet points. It can be read pretty quickly but I guess the tldr is the last line:

There is a lot of uncertainty when using AGPL software in a business context which will - in many cases - lead to the decision not to use the software at all.

if you want to know why you have to spend 20 seconds reading the preceding text.

[-] [email protected] 7 points 2 months ago

so if you click documentation on the session website it brings you to this page https://docs.oxen.io/oxen-docs/products-built-on-oxen/session

I am seeing the words "blockchain", "economics", "token", "instant transactions".... And one click to NFT crypto stuff.

I remember hearing that blockchain tech could be used for stuff other than scams but it is used for scams a lot and this app seems to be related to scam-type activity.

Can someone provide any insight?

31
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

I am really struggling to replace facebook messenger / whatsapp for a few casual conversations. My friends and I are all wanting to move away. We are not heavy users of this but need it to work. I think the requirements are:

  • floss client for android, linux, windows

  • persistent history across devices

  • reasonable security

  • don't need to self host server

  • can send a message to offline user, they get it when they come online

  • not tied to or reliant on phone number / cell service

  • ETA: end user documentation explaining how to set up and common troubleshooting

tried:

  • matrix: the thing with having to keep track of room keys and stuff is too complicated. every time someone uses a new device it is a ton of issues and we could never quite get it ironed out

  • signal: tied to phone number, no history across devices

  • xmpp: similar to matrix the key situation is confusing, also no cross device history

  • ETA: simpleX: a lot of people here are mentioning simpleX. It didn't come up in previous investigations so will give it a shot.

    • ETA 2: It doesn't seem to have persistent history across devices. Clarification?

I actually didn't think this would be such a problem but it is breaking us. we don't need a lot of sophisticated features like voice, video, moderation, 1000s of participants, spam protection etc that seem to be of concern to the projects. just simple text chat.

[-] [email protected] 25 points 2 months ago

If you are being recommended colonoscopy as a regular-risk person on the basis of age, your health system is not serving you well. Compared to colonoscopies, regular FOBT or FIT testing has an insignificant risk of complications (bowel perforations, death etc) and is easily conducted at home without the unpleasant "preparation" required of a scope. If done every 2-3 years they are at least as (and maybe more) effective at detecting cancer compared to a scope.

22
submitted 2 months ago by [email protected] to c/[email protected]

I really like comparison tables on wikipedia but find them hard to navigate.

For example: Comparison of web browsers > General Information

Say I want a web browser for Linux which has been recently updated. I can sort by the "Platform" column, or by "Latest release: Date" but not both.

Sometimes tables can be very wide and/or very tall. Once you get to scrolling it is impossible to see either the row or column headings. So then you can't tell where you even are in the table. Example: Table of AMD processors Also they can have complex structures with merged headings and content.

Ideally I would like to apply some basic spreadsheet-type operations like hiding rows/columns, filtering, sorting by multiple columns etc. Even if there was a way to easily get the table into an actual spreadsheet that would be helpful. I tried some extensions that export tables to other formats but nothing worked without a lot of cleanup.

Is there some kind of trick or tool or extension that makes these ginormous tables useful? I can't tell how people even add information to these things, they are so large.

23
submitted 2 months ago by [email protected] to c/nostupidquestions

I really like comparison tables on wikipedia but find them hard to navigate.

For example: Comparison of web browsers > General Information

Say I want a web browser for Linux which has been recently updated. I can sort by the "Platform" column, or by "Latest release: Date" but not both.

Sometimes tables can be very wide and/or very tall. Once you get to scrolling it is impossible to see either the row or column headings. So then you can't tell where you even are in the table. Example: Table of AMD processors Also they can have complex structures with merged headings and content.

Ideally I would like to apply some basic spreadsheet-type operations like hiding rows/columns, filtering, sorting by multiple columns etc. Even if there was a way to easily get the table into an actual spreadsheet that would be helpful. I tried some extensions that export tables to other formats but nothing worked without a lot of cleanup.

Is there some kind of trick or tool or extension that makes these ginormous tables useful? I can't tell how people even add information to these things, they are so large.

24
submitted 2 months ago by [email protected] to c/[email protected]

I really like comparison tables on wikipedia but find them hard to navigate.

For example: Comparison of web browsers > General Information

Say I want a web browser for Linux which has been recently updated. I can sort by the "Platform" column, or by "Latest release: Date" but not both.

Sometimes tables can be very wide and/or very tall. Once you get to scrolling it is impossible to see either the row or column headings. So then you can't tell where you even are in the table. Example: Table of AMD processors Also they can have complex structures with merged headings and content.

Ideally I would like to apply some basic spreadsheet-type operations like hiding rows/columns, filtering, sorting by multiple columns etc. Even if there was a way to easily get the table into an actual spreadsheet that would be helpful. I tried some extensions that export tables to other formats but nothing worked without a lot of cleanup.

Is there some kind of trick or tool or extension that makes these ginormous tables useful? I can't tell how people even add information to these things, they are so large.

view more: next ›

linuxPIPEpower

joined 3 months ago