canadaduane

joined 1 year ago
[–] canadaduane@lemmy.ca 2 points 2 weeks ago

This is almost completely true, but I would add the caveat that PWAs (progressive web apps) are not as easy to discover and less familiar to install as an app in an app/play store. It might also be because it's in Apple and Google's best interest to not streamline that. But it's still an obstacle nevertheless.

[–] canadaduane@lemmy.ca 1 points 1 month ago (1 children)

What would a good incentive structure look like? For example, would working with public school districts and being paid by them to ensure safe learning experiences count? Or are you thinking of something else?

[–] canadaduane@lemmy.ca 2 points 1 month ago (1 children)

I wonder if some of our intelligence is artificial. Being able to drive directly to any destination, for example, with a simple cell-phone lookup. Reading lifetimes worth of experience in books that doesn't naturally come at birth. Learning incredibly complex languages that are inherited not by genes, but by environment--and, depending on the language, being able to distinguish different colors.

[–] canadaduane@lemmy.ca 16 points 1 month ago (3 children)

A coffee bean is a seed from the Coffea plant and the source for coffee. It is the pit inside the red or purple fruit. This fruit is often referred to as a coffee cherry, and like the cherry, it is a fruit with a pit.

https://en.wikipedia.org/wiki/Coffee_bean

[–] canadaduane@lemmy.ca 1 points 1 month ago (3 children)

I appreciate the candid analysis, but perhaps "nothing to see here" (my paraphrase) is only one part of the story. The other part is that there is genuine innovation and new things within reach that were not possible before. For example, personalized learning--the dream of giving a tutor to each child, so we can overcome Bloom's 2 Sigma Problem--is far more likely with LLMs in the picture than before. It isn't a panacea, but it is certainly more useful than cryptocurrency kept promising to be IMO.

[–] canadaduane@lemmy.ca 2 points 1 month ago (3 children)

Is human intelligence artificial? #philosophy

[–] canadaduane@lemmy.ca 1 points 4 months ago

FYI this is still an issue for me. Updated to cosmic-edit 0.1.0~1715990347~22.04~f5238e1.

[–] canadaduane@lemmy.ca 2 points 4 months ago (1 children)

What is a hypermarket?

[–] canadaduane@lemmy.ca 1 points 4 months ago* (last edited 4 months ago)

I no longer think WGPU_POWER_PREF has any bearing on the fast/slow issue, see my other comment.

[–] canadaduane@lemmy.ca 1 points 4 months ago (2 children)

No, I haven't updated packages in 3 or 4 weeks.

[–] canadaduane@lemmy.ca 1 points 4 months ago* (last edited 4 months ago) (4 children)

Ok, I've narrowed down the cause of slowdown slightly. It is when my laptop is on battery only that load time takes about 25 seconds. When plugged in (mains power), load time is < 1sec.

The only change I see in journalctl -xef when switching between battery/mains power is as follows (first line battery, second line mains):

May 22 23:45:35 rosie kernel: Dynamic Preempt: voluntary
May 22 23:45:54 rosie kernel: Dynamic Preempt: full

Edit: I can also simulate the effect via sudo tlp ac (fast load time) and sudo tlp bat (slow load time).

[–] canadaduane@lemmy.ca 0 points 5 months ago (1 children)

Thanks. Strangely, after using WGPU_POWER_PREF=high, it is always fast for me, even when I don't specify this preference. I don't understand it. In any case, I guess it's "fixed" for now, so thanks!

9
submitted 5 months ago* (last edited 5 months ago) by canadaduane@lemmy.ca to c/pop_os@lemmy.world
 

My laptop is running modern hardware with NVME drive and has 64GB of RAM. Running Pop!_OS 22.04 with Gnome/Wayland.

When I launch the cosmic-store or cosmic-edit (for example) via command line or launcher, each takes about 25 seconds for its app window to load. Loading the Pop Shop in the same fashion takes less than 1 second.

I saw a few lines indicating files couldn't be opened, and thought at first maybe my ulimit was set incorrectly, but there is plenty of headroom on my user (soft limit: 4096, hard limit: 1048576).

I do see a handful of logs that look questionable:

May 04 07:50:59 rosie systemd[2109]: app-gnome-com.system76.CosmicEdit-17126.scope: Couldn't move process 17126 to requested cgroup '/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-com.system76.CosmicEdit-17126.scope': No such process
May 04 07:50:59 rosie systemd[2109]: app-gnome-com.system76.CosmicEdit-17126.scope: Failed to add PIDs to scope's control group: No such process
May 04 07:50:59 rosie systemd[2109]: app-gnome-com.system76.CosmicEdit-17126.scope: Failed with result 'resources'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit UNIT has entered the 'failed' state with result 'resources'.
May 04 07:50:59 rosie systemd[2109]: Failed to start Application launched by gnome-shell.

What could be causing the cosmic apps to load so slowly?

 

Some article websites (I'm looking at msn.com right now, as an example) show the first page or so of article content and then have a "Continue Reading" button, which you must click to see the rest of the article. This seems so ridiculous, from a UX perspective--I know how to scroll down to continue reading, so why hide the text and make me click a button, then have me scroll? Why has this become a fairly common practice?

2
submitted 9 months ago* (last edited 9 months ago) by canadaduane@lemmy.ca to c/linux@lemmy.ml
 

I want to run a command and see all of its output on the left hand side, while simultaneously searching/grepping for particular lines on the right hand side. In other words, I want a temporary vertically split screen in my CLI, ideally with scrollback on each side of the split, but where I expect the left hand side to be scrolling thousands of lines quickly, while on the right hand side is a slow accumulation of "matches" to my grep.

Is this possible today? What tools would you recommend to accomplish this?

EDIT: To be clear, a one-liner is preferable over learning tmux or screen, although this does motivate me to perhaps begin learning tmux.

In case this is an X/Y problem: The specific command I'm trying to run is an rsync simulation (dry-run) where I want to both check that the command works, and subsequently check that there are no denied errors. The recommended way to do this is to run the command twice, as follows (but I want to combine it into one pass):

# first specify the "-n" parameter so rsync will simulate its operation. You should use this before you start:
rsync -naP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR/

# check for permission denied errors in your homedir:
rsync -naP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR/ | grep denied
 

LazPaint is a surprisingly good image editor.

I've looked around at many raster image editing apps for Linux, and I have mostly been disappointed.

  • The Gimp is hard to use and has lagged behind major other platforms' banner image editors.
  • Pinta is "ok" but has graphics glitches on my hardware (Intel).
  • Inkscape is good but specializes in vector graphics, not raster images.
  • Krita looks like it might be particularly good for artists using a tablet, but is mediocre for raster image tasks and has a complex interface.

I've also tried various "simple" apps such as KolourPaint [1] and Drawing [2], but these are generally more like "MS Paint" and have limited capabilities when importing images for various editing tasks.

LazPaint has all of the major features you would expect, without an over-complicated UI--selection, layers, gradients, filters, shapes, opacity, many file formats etc.. However, it is not wrapped in a Flatpak, so you need to download the "deb" file and install with Eddy (or the CLI):

https://github.com/bgrabitmap/lazpaint/releases/tag/v7.2.2

As an aside, I recently also discovered Pixelitor, and I think it's another one to keep an eye one. The author seems to be making some great progress lately (most recent release in September 2023).

 

The pop_os subreddit has many Pop!_OS-specific help requests per day. I'm kind of surprised there aren't more here on the Fediverse/lemmy side of the community.

I browse looking for ways to help, and after having shifted my attention from Reddit to the Fediverse I feel like I could be helping out more. Why aren't there more requests here?

 

Our new, not yet released Rust-based desktop environment for Pop!_OS and other Linux distros is filling out with some essential systems that cater the DE to both users and developers alike. Customization is one of our main focuses for COSMIC, and was a huge focus for us in August, too.

 

"In particular, the new measures create a closer alignment of EU sanctions targeting Russia and Belarus and will help to ensure that Russian sanctions cannot be circumvented through Belarus."

 

I like to have easy access to an offline dictionary via the Pop Launcher (Super key, followed by "define ").

You can install this dictionary/launcher plugin like so:

curl -sSf https://raw.githubusercontent.com/canadaduane/pop-dictionary/main/install.sh | sh

Then try tapping the Super key (e.g. Windows key, or whatever gets you into your Launcher overlay) then type "define awesome" and you should see the GoldenDict entry for "awesome" pop up.

Hope you enjoy!

view more: next ›