canadaduane

joined 2 years ago
MODERATOR OF
[–] canadaduane@lemmy.ca 2 points 3 months ago

Right! I guess this is precisely my point--big corporations are running with it, and so the future will be whatever they make it. But I want to make my future, which is why I've built solar panels on my home, built my own server, re-used old computer parts in my closet, hosted my own server, and am running a GPU with my own ollama and whisper AI algorithms on it. I'm hoping to take control and not just be a consumer of corporate enshittification.

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

You're right, it's a bit tongue-in-cheek. But it's a fun name, and I found a lot of people didn't understand "no code / low code" and even more didn't really get excited about it. Vibecoding is interesting to people, I think.

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

You make a good point about software being potentially low capital. Open source is a great counter example.

But I wonder how do we know what people need? Are the solutions out there actually good for everyone? My daughter is not a coder, but started vibecoding her own habit tracker app last week. She's very excited about her motivation system of stars and flowers, and the nuances of how to make it just right for her. She wrote 19 pages on a google doc describing her app. It's almost like a requirements document, and if she had $30k I bet she could hand that document over to a software engineer and they could build a mobile app for her.

If she hadn't built this app, I wonder how many habit tracker apps would have also advertised to her, or sold her habit data? If a person is not a software engineer, they kind of have to live with other people's decisions in the digital sphere (and some folks, I've found, aren't even able to evaluate software for safety, privacy, alignment with their values etc. let alone build it).

I guess I just wonder what the world would be like if the bar for personalized software were dropped so everyone could create just what is needed, for them, wherever they are and in whatever community they find themselves.

[–] canadaduane@lemmy.ca 6 points 3 months ago (2 children)

We often think of "AI" as what is promoted by big corporations--but it doesn't have to be. The math, algorithms, and machines that run AI can all be ours, and I think we can run them responsibly. For example--I run an AI transcription service just for myself on an old GPU. It works quite well. I also have solar panels installed on my home. I think it can be carbon neutral.

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

I recently bought a frame.work mini-PC and plan to run my own models, solar-powered.

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

That's what I've been working towards!

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

I don't think I have intrusive thoughts. I'm happy, generally pretty creative (hobbies, coding, etc.). Sometimes politics and world affairs get me down, but I don't feel like they are "intrusive", more like affecting my mood. I like how /u/0x01@lemmy.ml put it--I kind of let my mind do whatever it does, and I try to be an observer of what unfolds. I think meditation practice has helped with this practice (Vipassana or Insight meditation specifically).

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

Look for escape hatches. I run a self-hosted Cloudron server. The software I host on my home server is FOSS via Cloudron, but Cloudron itself is a service that keeps each of the FOSS apps up to date with security upgrades and data migrations when necessary. It's a huge boon to running a self-hosted server.

But when it comes down to it, they could potentially close up somehow (new leadership, get bought out, shut down etc.) They've left an escape hatch though--you can bundle and build your own apps, with a CloudronManifest.json etc. This would allow me to continue to run and update software if I absolutely needed to, without their support.

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

theinternet.com

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

It's tricky. There is code involved, and the code is open source. There is a neural net involved, and it is released as open weights. The part that is not available is the "input" that went into the training. This seems to be a common way in which models are released as both "open source" and "open weights", but you wouldn't necessarily be able to replicate the outcome with $5M or whatever it takes to train the foundation model, since you'd have to guess about what they used as their input training corpus.

8
submitted 1 year ago* (last edited 1 year 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 2 years ago* (last edited 2 years 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"?

 

"Hi, I am currently creating a gtk theme. Honestly I'm new to this, and I really don't know where to find information about this kind of thing, I want to post it once I finish it on github, I don't know whether to make this a project. or not, so I want to give something quality and finished when I get to post it. I must say that it is based on colloid and therefore on catppuccine. That's it, and yes. I still owe you the pop!_os I made."

Original: https://www.reddit.com/r/pop_os/comments/1643bob/my_theme/

 

Incredibly, running a local LLM (large language model) on just the CPU is possible with Llama.cpp!— however, it can be pretty slow. I get about 1 token every 2 seconds with a 34 billion parameter model on an 11th gen Intel framework laptop with 64GB of RAM.

I have an external Nvidia GPU connected to my Pop!_OS laptop, and I’ve used the following technique to successfully compile Llama.cpp to use clblast (a BLAS adapter library) to speed up various LLMs (such as codellama-34b.Q4_K_M.gguf). As a rough estimate, the speed-up I get is about 5x on my Nvidia 3080 TI.

Here's how to compile Llama.cpp inside a docker container on Pop!_OS.

 

Hi all!

What fediverse social media accounts do you recommend for accurate and timely information about the war in Ukraine (i.e. mastodon, not lemmy)?

I've been very grateful to find this federated community since moving away from Reddit.

I've also deleted my 13-year-old Twitter account. Now, I'm looking for alternative, reliable sources for information about the war that are open and not dependent on Twitter/X.

Some examples I've found (note: I have not followed all of these accounts for a long time, so use your judgment when evaluating them wrt reliability/accuracy):

Do you have others to recommend? Thanks!

 

A summary from Reddit user Gorperly:

The goings on in Dagestan are mostly below the radar but I think they're extremely notable. Dagestan is in the midst of a full-on services and utilities collapse.

Dagestan, one of the most corrupt regions in Russia, is just the first domino to fall due to systemic failures that affect the rest of Putin's crumbling empire. The root cause of a lot of recent disasters is wide-scale construction without investing into infrastructure. Typical for Putin, his officials double-dip: they profit off of illegal construction, and they flat-out steal from utilities. Secondly, Dagestan is a majorly non-ethnically Russian region that has been one of the hardest-hit by war casualties and conscription. There aren't enough qualified specialists left to smoothly run the already skeletal infrastructure.

In the latest chapter, a giant explosion took place in the capital Makhachkala a few hours ago. The explosion was right next to a newly constructed mall. There are scant details:

A building caught fire near the Globus shopping center, the city administration reports. Eyewitnesses talk about a loud explosion in a car service. The fire later spread to a gas station.

According to the Dagestan Center for Disaster Medicine, five people were killed in the explosion and another ten were injured. At the same time, the telegram channel Baza reported that more than 50 people were injured as a result of the incident. According to Shot there are at least 70 victims.

https://t.me/rtvimain/81881

Other telegram videos show post-apocalyptic scenes in a hospital as more and more victims are brought in.

https://t.me/ostorozhno_novosti/18689

This is happening in the background of a major heatwave. Large swaths of population have been without electricity and water on and off, sparking spontaneous protests.

Dagestan’s ongoing utilities crisis saw another major protest on Sunday night. The residents of Karaman-2, a settlement outside of the region’s capital Makhachkala, blocked the federal Makhachkala–Astrakhan highway, trying to draw attention to the dire water-supply situation in the area.

According to some participants, their homes had been without running water for the whole summer.

On August 9, Makhachkala residents resorted to similar tactics to protest power supply disruptions that left many Dagestani homes without electricity for three days in a row,

view more: ‹ prev next ›