canadaduane

joined 1 year ago
[–] canadaduane@lemmy.ca 7 points 4 days ago (1 children)

I love this approach.

Nit: "If you can find prior art that describes such a system before June 13, 2013, you could be a winner." ... 2013 is a typo I'm guessing?

[–] canadaduane@lemmy.ca 19 points 2 weeks ago

I'm sorry for your suffering and heartache. I wish you the best.

[–] canadaduane@lemmy.ca 2 points 1 month 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 2 months 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 2 months 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 2 months 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 2 months 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 2 months ago (3 children)

Is human intelligence artificial? #philosophy

 
[–] canadaduane@lemmy.ca 0 points 3 months ago

Have you ever heard the story of the snake?

One evening, a man walks along a dimly lit path. He suddenly halts, his heart pounding with fear. Before him, on the ground, lies what appears to be a venomous snake. He freezes, paralyzed with dread. Only when a friend comes by with a lantern does the true nature of the object come to light: it is merely a piece of rope.

I learned this story from Thich Nhat Hanh, a Buddhist author. He would indicate with stories like this that our perceptions shape our reality. Often, we react out of fear and misunderstanding, seeing snakes where there are none. He said that mindfulness and deeper understanding can act like the lantern, illuminating the true nature of our experiences.

[–] canadaduane@lemmy.ca 6 points 3 months ago

Aegis on Android is also very nice (and open source).

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

Working development system. I got quite far, but after so much work, became very frustrated when a VSCode plugin wouldn't work properly because it needed (and assumed) read/write access. I didn't want to have to manage and think about every little plugin I experimented with at the OS level.

[–] canadaduane@lemmy.ca 7 points 3 months ago

I wonder if it would help to think back to the first time you littered? When I was 5 or 6, I remember eating a candy and not wanting the wrapper any more. It had to be someone else who saw what I did and pointed out that it isn't good if we all did this, because then the playground would be all full of trash and we couldn't play there. I was like, "Oh, I get it." But if someone hadn't explained it to me, I think the behavior could have innocently continued for quite some time. I grew up in a very rural place (northern Canada).

9
submitted 6 months ago* (last edited 6 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?

56
submitted 10 months ago* (last edited 10 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?

 

Beginning Linux user: "Ctrl-Z is undo, right?"

Advanced Linux user: "Ctrl-Z dammit fg"

 

I am currently having issues with using Blender on my desktop computer where Blender just locks up/stops responding randomly while I manipulate positions of objects or node graphs. Blender never unlocks and there does not seem to be a consistent cause for this issue. All other programs run fine while Blender is locked up. My computer is not locked due to memory, CPU, nor GPU usage.

Please, if anyone can provide any information on this, I would greatly appreciate it!

Computer details:

Blender version: 3.6.1, only non-default add-on is MolecularNodes v2.7.4

OS: Pop!_OS 22.04

GPUs: GeForce GTX 1080, GeForce GTX Titan X (both pretty old, but still running strong with other visualization softwares)

GPU Driver: 535.104.05

CUDA Version: 12.2

CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz

RAM: 32 GB

Edit: just noticed that Blender is still using 100% CPU (one thread of 8) even after being locked for 15+ minutes now.

Edit 2: Added Blender version and add-on details (duh).

Edit 3: This is not arising due to loading corrupt blender files. I just started a fresh run, recreating the desired blender process for the visualizations that I am interested in, and the program still locked up.

 

I'm exploring ways to shave a few seconds off of my boot time, and I came across a post that stated, "my initrd is pretty small--doesn’t really load much--and Arch also defaults to using zstd which is also faster to decompress versus gzip."

What compression does Pop! use for initrd and the kernel? When I run ls -al /boot, I see files such as 14M vmlinuz-6.4.6-76060406-generic and 119M initrd.img-6.4.6-76060406-generic. Are these compressed?

Lastly, is there a way to choose the compression of these boot files without a custom kernel build? Or is what I'm trying to do "off the beaten path" and going to lead to "you have to compile your own kernel from here on out"?

 

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.

 

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 ›