remotelove

joined 1 year ago
MODERATOR OF
196
[–] remotelove@lemmy.ca 2 points 14 hours ago

There are about a million different flavors of how to download and execute a shell script. Regardless, you need to redirect the output of curl into bash with the -s flag. Bash needs to know that it is reading from STDIN.

Here is an over-thought stackoverflow page on it: https://stackoverflow.com/questions/5735666/execute-bash-script-from-url

Also, if the script is not being read properly, that might explain the dpkg lock issue. Running two instances of dpkg simultaneously is likely causing that collision you are seeing. (If one instance is running, it will touch a lock file and then delete it when it stops. It prevents "bad things" from happening when two instances of the same app want the same resources.)

That is odd if your path is broken. It curl should be in /usr/bin and 'which' should find it. Are you somehow launching another shell inside a shell? Like zsh inside of bash, or something in that flavor? (In some rare cases, that would break paths and profile configs for your active shell.)

Regardless of why curl isn't being found, or only partially found, or something, learn "env". You need to get a decent picture of what your working environment is and why something as basic as curl "isn't found". ('which' is about as a baseline of a command as there is.)

[–] remotelove@lemmy.ca 2 points 17 hours ago* (last edited 17 hours ago) (2 children)

The script is complaining that it can't find curl? What is this script that you are using? It's probably got a super-basic check for curl (in the wrong location) that can be modified. (Type in the source URL for it here, or something.)

However, running any script without fully understanding it is not advisable to begin with.

Typing in 'which curl' at the command line should give you the proper location of the existing binary of curl.

[–] remotelove@lemmy.ca 3 points 1 day ago

Amazon has customer service? LOL! Now I know this post is fake.

[–] remotelove@lemmy.ca 6 points 1 day ago

Fake or outdated info, actually. While this is a small tangent, I make it a habit to review basic, introductory information on a regular basis. (For example, I'll still watch the occasional 3D printer 101 guide even though I could probably build one from scratch while blindfolded.)

I have been in IT for a very long time and have branched out into other engineering fields over the years. What I have found, unsurprisingly, is that methods and theories can get outdated quick. So, regularly reviewing things I consider "engineering gospel" is just healthy practice.

For the topic at hand, it doesn't take much misinformation (or outdated information) to morph into something absolutely fake, or at best, completely wrong. It takes work to separate fact from fiction and many people are too lazy to look past internet pictures with words, or 15 second video clips. (It's also hard to break out of believing unverified information "just because that's the way is".)

[–] remotelove@lemmy.ca 4 points 1 day ago (1 children)

You missed this one?

[–] remotelove@lemmy.ca 23 points 1 day ago (2 children)

It doesn't matter if it's a dumb theory. Repeat a conspiracy theory enough and it sticks. (That is not surprising given the number of people that believe in magic.)

[–] remotelove@lemmy.ca 14 points 1 day ago

Not according to some.

[–] remotelove@lemmy.ca 5 points 2 days ago

That wasn't much of a pay wall.

Billionaire Larry Ellison says a vast AI-fueled surveillance system can ensure 'citizens will be on their best behavior' Kenneth Niemeyer Sep 15, 2024, 10:06 AM MDT

Walking down a suburban neighborhood street already feels like a Ring doorbell panopticon.

But this is only the start of our surveillance dystopia, according to Larry Ellison, the billionaire cofounder of Oracle. He said AI will usher in a new era of surveillance that he gleefully said will ensure "citizens will be on their best behavior."

Ellison made the comments as he spoke to investors earlier this week during an Oracle financial analysts meeting, where he shared his thoughts on the future of AI-powered surveillance tools.

Ellison said AI would be used in the future to constantly watch and analyze vast surveillance systems, like security cameras, police body cameras, doorbell cameras, and vehicle dashboard cameras.

"We're going to have supervision," Ellison said. "Every police officer is going to be supervised at all times, and if there's a problem, AI will report that problem and report it to the appropriate person. Citizens will be on their best behavior because we are constantly recording and reporting everything that's going on."

Ellison also expects AI drones to replace police cars in high-speed chases. "You just have a drone follow the car," Ellison said. "It's very simple in the age of autonomous drones." He did not say if those drones would broadcast the chases on network news.

[–] remotelove@lemmy.ca 2 points 2 days ago

My status is "Fuck you!". Good enough?

[–] remotelove@lemmy.ca 17 points 2 days ago* (last edited 2 days ago) (2 children)

https://www.law.cornell.edu/uscode/text/18/1543

It's a federal ID, not a state ID. I assume that makes it a federal crime based on that link above.

It was super easy to make a fake ID out of my passport when I was a kid. I scanned the photo page, Photoshoped it and printed it out on a color printer. I cut out the picture on the printout with a razor, covered it with a lamination sheet and stuck it on top of the real ID. After a quick trim, nobody could tell the difference.

The real trick was that hardly anyone uses a passport as an ID at a bar so bouncers and bartenders didn't know what to look for in a fake. (It still looked very real for what was almost 25 years ago or more.)

[–] remotelove@lemmy.ca 4 points 2 days ago (1 children)

They seem safer as well. I stumbled across a few reviews while I was researching proper studio headphones and they seem ideal.

This video is a little commercial-like and I usually watch his music production videos, but it's good enough for what we are discussing: https://youtu.be/0VOWmbFkFzs?si=FDUmN3lAa7SEtr9x

 

Edit: Deleting this post. It's starting to get controversial, but that's OK. Not what I planned on, but whatevers.

 

I have been attempting to extract the firmware from an HVAC controller board using my Pickit3 and MPLAB X.

It seems that many HVAC controllers are PIC based and most are kind enough to include debug/flash pins. Grabbing the firmware images should be trivial once the correct pins are traced out. MPLAB X will see my Pickit3 and the target MCU, but it fails to pull an image that isn't all zeros. (The "bin" file is a text file with each line noting the start address, followed by 16 byte values.)

I do get an occasional "Target device ID invalid message" but that is usually due to my janky wiring to the board. Once I get that issue cleared, MPLAB will always warn that the debug bit (byte?) is set on the MCU. (That doesn't make sense as the MCU should be running standalone on the board during normal operation.)

Is there some kind of read protection that may be enabled on the PIC? Do I just need to unsolder the PIC and put it in its own dedicated circuit for pulling the firmware?

 

The one trick that Big Music doesn't want you to know!

I was absolutely struggling when I went to do a final mix after writing everything in stereo. For me, it was a whack-a-mole game: Fixing one problem created ten more, bass was unmanageable, highs tended to blare or everything was a midrange soup and I constantly struggled with frequency cancellation.

Above all other problems, music was not portable. It would sound great with headphones, but became a blown out mess on external speakers.

Mono. Just write everything in mono. If the track sounds good in mono, even just the slightest bit of stereo separation makes it sound awesome!

As a perk, it forced me to learn more about compression and limiting and when it is applicable. If something is inaudible in mono, it's going to sound like absolute garbage in stereo. (It also forced me into EQ'ing nearly every component of a song at first. I am not nearly as aggressive with that now, but again, it opened up new doors that I didn't realize existed.)

Why, oh why, is this technique not pushed more to hobbyists and beginners? Is there a shortcoming that I am not aware of?

Obviously, this isn't a cure-all and I kinda framed this post as a magic trick. Its one hell of a teaching tool, if nothing else.

 

(Wait, what? This is from 2022??? I have known about CAL for a while, but this glass stuff is new to me.)

3DPN video: https://youtu.be/pkBP_eO-Pug?si=l4__tZwrNDB4qNlU

CAL: computed axial lithography

Researchers at UC Berkeley have developed a new way to 3D-print glass microstructures that is faster and produces objects with higher optical quality, design flexibility and strength, according to a new study published in the April 15 issue of Science.

 

I am fed up with resin slicers.

Chitubox is about as stable as a drunk on a tightrope, Lychee is bad for engineering models and over-priced if you just want some basic support functions and PrusaSlicer is under-developed. All of these solutions work for different things based on the goals of the user. (For some, Lychee is an excellent value so my distaste is likely not universal.)

What really pissed me off is that support painting shouldn't be a paid feature. You hold the mouse button down and drop a support at specific distance from the last. It doesn't take massive cloud computational clusters or huge storage requirements but yet, money. Fuck. That.

I want a completely FOSS tool that is stable and includes functionality for auto-positioning models and has a full set of knobs and levers for support generation, support painting included.

So, I spent the morning getting a dev environment setup for PrusaSlicer to use as a base for resin-only tools. Over the next month or so, I'll take some time to strip out all the FDM support and get the slicer into a bare-bones state with only the existing resin features. Of course, it'll be on GitHub.

Back to the main subject. I was hoping that y'all had references in regards to anything resin printing: Support placement methods, model rotation optimization, resin strength data, FEP peel force data or anything that could be coded and implemented into a slicer. Hell, even discovering different methods for hollowing an STL would be nice.

Data and strategies for various tools would be nice to have at this point to at least start forming a roadmap for development. (One of the first goals is to integrate UVTools as a snap-in, somehow.)

FDM tools are plentiful because of wide spread adoption. Resin printers still seem niche so printer manufacturers naturally gravitate to writing their own tools for their own hardware in their race to the bottom.

With all of that said, I am actually curious if others would even want to see a project like this kicked off.

 

I have been using FL Studio for years. It was easy to pirate when I was younger and broke, and it's still flexible enough for anything I want to do now without hassle. (The license these days is "meh" for clips and plugins. However, I am designing and beginning to record most of my own instruments now with a core set of plugins.)

I would like to experiment with an open source DAW, but not sure which routes to take there.

 

Spinner shows while thumbnail is being shown after upload and thumbnail is being generated, but not when actually uploading. (I am attempting to attach gif to this post, but not sure if upload has failed, still going or just not possible.)

I am mobile while I am creating this post, so uploads are laggy anyway.

 

Search is fine, but there have been several cases where I have wanted to manually enter a community name and instance.

Search can be odd at times and being able to have connect at least attempt to jump to a community would be a nice to have.

 

Edit: I can now post and view cat pics. Yay!

Searching for "cat" or "cats" yields cat@lemmy.world with Connect, but not from web. "cat" is an invalid community.

cats@lemmy.world should be correct community and listed in search results.

 
47
Mac 'n Trees (lemmy.ca)
submitted 2 months ago* (last edited 2 months ago) by remotelove@lemmy.ca to c/imageai@sh.itjust.works
 

A few hours later, I just discovered how long this cheesy noodle trend has been going on for.

Also, this idea was already taken by a previous poster who likely started this trend quite a few days ago, I see.

My mistake!

 
view more: next ›