Re: suggestions to add REST API to MySQL / MariaDB tables
I'm not sure I'm understanding the question, but your application server can talk to the SQL server using python SQLAlchemy. If your web application is a python flask application, that process could be easy. I'm not sure what steps are needed to configure your MySQL server to be accessible online, but there should be no reason you need a particular kind of server or service as long as the host machine has access to enough bandwidth and is properly maintained. I suppose network security should also be concerned. Feb 24, 2023 07:34:37 Keith Smith via PLUG-discuss : >> I’m --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: TDD w/ Python, ch 9
Forgot to mention, but maybe consider domain types that are not dot-com. XYZ is generally pretty cheap but you could shop around. I think you could do $5/year. Ramnode used to have a cheap vps option of $3/y. If you go the VPS route, Luke Smith on youtube has some informative and expeditious tutorial videos. Jan 26, 2023 11:22:49 T Zack Crawford via PLUG-discuss : > I have my site hosted by a ramnode vps and reserve my domain with namecheap. > I haven't had any complaints on either but I won't go out and endorse them. > If you're only worried about the python development end, you might consider > heroku for non-formal or educational project web application hosting. > Personally I found setting up nginx and reverse proxies kind of fun and > informative, but maybe that's an unnecessary time sink for your use case. > > Jan 25, 2023 07:53:33 trent shipley via PLUG-discuss > : > >> I'm on the bench with my employer asd studying test driven development using >> Harry Precival's Test-Driven Development with Python. Percival uses a >> simple web site on Django as the practice or example project. In chapter 9 >> the baby website gets put on a real hosted web server. It needs to be an >> olde fashioned service where you have the freedom to do a lot of admin work. >> That is, you need to have enough rope to hang yourself. I also need a >> domain name and two sub-domain names. Price is important. I will probably >> finish the tutorial book and throw the site away instead of keeping it as a >> personal website. >> >> Has anyone got any suggestions for where to get a domain name and a hosting >> service? >> >> >> Trent >> >> >> >> >> *Choosing Where to Host Our Site* >> >> There are loads of different solutions out there these days, but they >> broadly fall into two camps: >> * >> Running your own (possibly virtual) server * >> Using a Platform-As-A-Service (PaaS) offering like Heroku, OpenShift, or PythonAnywhere >> >> Particularly for small sites, a PaaS offers a lot of advantages, and I would >> definitely recommend looking into them. We’re not going to use a PaaS in >> this book however, for several reasons. Firstly, I have a conflict of >> interest, in that I think PythonAnywhere is the best, but then again I would >> say that because I work there. Secondly, all the PaaS offerings are quite >> different, and the procedures to deploy to each vary a lot — learning about >> one doesn’t necessarily tell you about the others. Any one of them might >> radically change their process or business model by the time you get to read >> this book. >> >> Instead, we’ll learn just a tiny bit of good old-fashioned server admin, >> including SSH and web server config. They’re unlikely to ever go away, and >> knowing a bit about them will get you some respect from all the grizzled >> dinosaurs out there. >> >> What I have done is to try to set up a server in such a way that’s a bit >> like the environment you get from a PaaS, so you should be able to apply the >> lessons >> >> Percival, Harry. Test-Driven Development with Python (pp. 263-264). O'Reilly >> Media. Kindle Edition. (2017) >> >> Or free at: https://www.obeythetestinggoat.com/pages/book.html >> >> --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: TDD w/ Python, ch 9
I have my site hosted by a ramnode vps and reserve my domain with namecheap. I haven't had any complaints on either but I won't go out and endorse them. If you're only worried about the python development end, you might consider heroku for non-formal or educational project web application hosting. Personally I found setting up nginx and reverse proxies kind of fun and informative, but maybe that's an unnecessary time sink for your use case. Jan 25, 2023 07:53:33 trent shipley via PLUG-discuss : > I'm on the bench with my employer asd studying test driven development using > Harry Precival's Test-Driven Development with Python. Percival uses a simple > web site on Django as the practice or example project. In chapter 9 the baby > website gets put on a real hosted web server. It needs to be an olde > fashioned service where you have the freedom to do a lot of admin work. That > is, you need to have enough rope to hang yourself. I also need a domain name > and two sub-domain names. Price is important. I will probably finish the > tutorial book and throw the site away instead of keeping it as a personal > website. > > Has anyone got any suggestions for where to get a domain name and a hosting > service? > > > Trent > > > > > *Choosing Where to Host Our Site* > > There are loads of different solutions out there these days, but they broadly > fall into two camps: > * > Running your own (possibly virtual) server * > Using a Platform-As-A-Service (PaaS) offering like Heroku, OpenShift, or PythonAnywhere > > Particularly for small sites, a PaaS offers a lot of advantages, and I would > definitely recommend looking into them. We’re not going to use a PaaS in this > book however, for several reasons. Firstly, I have a conflict of interest, in > that I think PythonAnywhere is the best, but then again I would say that > because I work there. Secondly, all the PaaS offerings are quite different, > and the procedures to deploy to each vary a lot — learning about one doesn’t > necessarily tell you about the others. Any one of them might radically change > their process or business model by the time you get to read this book. > > Instead, we’ll learn just a tiny bit of good old-fashioned server admin, > including SSH and web server config. They’re unlikely to ever go away, and > knowing a bit about them will get you some respect from all the grizzled > dinosaurs out there. > > What I have done is to try to set up a server in such a way that’s a bit like > the environment you get from a PaaS, so you should be able to apply the > lessons > > Percival, Harry. Test-Driven Development with Python (pp. 263-264). O'Reilly > Media. Kindle Edition. (2017) > > Or free at: https://www.obeythetestinggoat.com/pages/book.html > > --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: PLUG discount for SCaLE
Thinking about maybe going. Is the $85 dollar SCALE pass worth getting over the $20 expo pass? Jan 23, 2023 07:22:33 Ed via PLUG-discuss : > See you all there - check out the Hilton's location when booking > > On Mon, Jan 23, 2023 at 12:27 AM Phil Waclawski via PLUG-discuss > wrote: >> >> I am looking forward to going again. Last one I attended was just before the >> pandemic shutdown in March 2020. >> >> Phil W >> >> On Sun, Jan 22, 2023 at 11:59 PM der.hans via PLUG-discuss >> wrote: >>> >>> moin moin, >>> >>> we have the PLUG registration code for SCaLE again this year. It gets us >>> half off of registration. I think they disable the discounts at the end, >>> so register soon to take advantage of the discount. >>> >>> https://register.socallinuxexpo.org/reg6/ >>> >>> The hotel block is open as well. >>> >>> https://www.hilton.com/en/attend-my-event/pasphhf-lnx5-1422b51a-d07c-4dc9-8883-a070eeac5624/ >>> >>> SCaLE is back in Pasadena this year, running March 9th to the 12th. >>> >>> ciao, >>> >>> der.hans >>> -- >>> # https://www.SpirealArray.com https://www.PhxLinux.org >>> # "Wasted day. Wasted life. Dessert, please." -- Steven Meretzky >>> --- >>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss >> >> --- >> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss > --- > PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Job opportunity in data analytics/web development
Hello all, My department is hiring because my colleague is retiring. The position is for a "Performance Analyst", which would serve as a great opportunity for those interested in transitioning to a data analytics career. The central idea for the position is providing tools for and insight into improved performance of employees all over the company. I was hired into this position about 7 months ago into a new/expanded/duplicate seat. The company is by far the best place I have ever worked in terms of culture and cohesion. A large portion of work currently involves web development in VB/ASP.NET development and databasing with MS SQL. A strong background in advanced Excel use (e.g. power pivot) would be a good bargaining chip. I am hoping in the near future we will be expanding into more insight-driven data analytics with python or other tools. Unfortunately, the company does heavily rely on Microsoft products, but one of the biggest things I'd like to see in a candidate is natural inquisitivity (drive to learn and tinker) and ability to communicate technical details. I expect the candidates we narrow down to will either fit into the camp of: 1. Those just coming out of college with little business experience but have strong fundamentals in databasing or logic coding (this was me). 2. Or those who have had good business analyst or web development experience and are wanting to expand into a wider range of tools in their belt (this was my colleague who is retiring). If you or someone you know might be interested in applying, please contact me directly at z...@tzcrawford.com and I will share with you the job posting when it is released (hopefully next week) as well as put in a good word for you. Zack --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: Python project ideas
I don't really know what your question is or what you are trying to do, but I'll mention my immediate thoughts on what you wrote. Python is a very strong language and you can do A LOT with it. It is very popular in data science and for web applications via flask. It excels in writing abstracted code efficiently. It can be less terse than other languages but it is usually easy to follow. It is less good than other language for writing applications that are very demanding for performance or need to be especially snappy. The built-in data structures in python are very strong. The dictionary is incredibly useful. The list() is technically a linked list but is very stack-like. I don't know how they work exactly but there are built in optimizations so you don't have to think too much on if you are using a particular type of array. Obviously numpy is the most relevant module for arithmetic operations. There are VERY rare cases you might have a performance boost by using modules with more "correct" stack data structures. Pandas is a good package for SQL-like tables. And if you are familiar with writing SQL queries, consider using pandasql. It sounds like you plan on working with binary trees, I'm not sure what the best module is for your use case. There is a binarytree module. Hashlib is pretty much the only other module with data strutures I have used frequently. You aren't implementing something that will have enough data to warrant utilizing a spark (distributed computing) database. I have quite a few informative jupyter notebooks that might be useful. But they are on my desktop at home. You should directly email me in a couple days and maybe I can share some code/notes on data structures or data-science or web development topics. Zack z...@tzcrawford.com On 22/12/30 01:37PM, trent shipley via PLUG-discuss wrote: > Python UTF8 Treeview Project Feedback Request > > I want to move beyond classroom assignments and Exercism.org toy exercises > and start work on my own project. A major motivation is to have something > to show if I make it to an interview for a software curation and writing > job. > > This kind of view of a file tree is everywhere in Python documentation. It > would seem there is a utility, but I haven't been able to find it. > > /home/user/Projects/flask-tutorial > ├── flaskr/ > │ ├── __init__.py > │ ├── db.py > │ ├── schema.sql > │ ├── auth.py > │ ├── blog.py > │ ├── templates/ > │ │ ├── base.html > │ │ ├── auth/ > │ │ │ ├── login.html > │ │ │ └── register.html > │ │ └── blog/ > │ │ ├── create.html > │ │ ├── index.html > │ │ └── update.html > │ └── static/ > │ └── style.css > ├── tests/ > │ ├── conftest.py > │ ├── data.sql > │ ├── test_factory.py > │ ├── test_db.py > │ ├── test_auth.py > │ └── test_blog.py > ├── venv/ > ├── setup.py > └── MANIFEST.in > > (https://flask.palletsprojects.com/en/2.2.x/tutorial/layout/ retrieved > 2022-12-16) > > What I have discovered is that writing your own program to make this kind > of ASCII representation of a file tree is a classic classroom assignment. > You write a simple general tree, you do recursion, you have to get the > output just right. It's not a bad little class assignment for a data > structures and algorithms second semester. > > So I'm thinking I can put the ASCII tree classroom assignment on steroids > and gold plate it. > > It would be nice to do a general implementation in C++, Rust, or Java, but > I'm spending a lot of time in Python at work. Since Python is pretty > friendly, I can probably produce a Python version with less effort than in > other languages. It might turn out to be a useful utility run from the > Python command or as a library, and it would then serve as a prototype for > an attempt in a more rigorous and generally applicable language. > > *LAYERS* > > The project will have Python CLI and library interfaces. For example, it > might take a parameters such as start=top-left or start=top-center > > Working from the output layer down, we have the layer which formats and > emits the file system as a pretty-printed UTF8 file. By way of gold > plating, the program could have front ends which pretty-print in HTML, > LibreOffice Writer, and PDF. Although it looks like ASCII representations > of file trees can be generated on the fly with a lexically ordered > depth-first traversal of the tree, there could be a tree structure and a > tree builder. Then a tree formatter gets the populated tree collection or > data structure. It walks the intermediate tree using a canned algorithm > provided as a parameter, the links/edges in the tree represent the tree's > structure, and the tree's nodes have default string representations which > will be printed as the nodes of the ASCII graphic. > > > *THE MISSING PYTHON LIBRARY* > > > The back of the library should be a utility which provides a general tree > data structure as a container or
Re: Pretty-print a directory tree
The command utility `pass` has something looking almost exactly like this. It's a password manager that's really more like a frontend wrapper for decrypting gpg files located in ~/.password-store . It's not a very complicated program, maybe check out the source code to see what they do. https://www.passwordstore.org/ Dec 9, 2022 09:58:22 Thomas Scott via PLUG-discuss : > Is the utility `tree` an option? You can also use a subprocess call to call > it from within Python. > > Best Regards, > -Thomas Scott > > > On Fri, Dec 9, 2022 at 11:53 AM trent shipley via PLUG-discuss > wrote: >> >> Does anyone know how to get an ASCII/Unicode pretty-print of a directory >> tree, preferably using a Python library or utility. I wanted one to ask a >> list for help, but my Google-foo was not up to the task. A working Google >> search string would be even better than "here follow the link to the utility >> on GitHub." >> >> >> Trent >> >> >> /home/user/Projects/flask-tutorial >> ├── flaskr/ >> │ ├── __init__.py >> │ ├── db.py >> │ ├── schema.sql >> │ ├── auth.py >> │ ├── blog.py >> │ ├── templates/ >> │ │ ├── base.html >> │ │ ├── auth/ >> │ │ │ ├── login.html >> │ │ │ └── register.html >> │ │ └── blog/ >> │ │ ├── create.html >> │ │ ├── index.html >> │ │ └── update.html >> │ └── static/ >> │ └── style.css >> ├── tests/ >> │ ├── conftest.py >> │ ├── data.sql >> │ ├── test_factory.py >> │ ├── test_db.py >> │ ├── test_auth.py >> │ └── test_blog.py >> ├── venv/ >> ├── setup.py >> └── MANIFEST.in >> --- >> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: AZ Loco still gathering for Installfests?
I would maybe volunteer for that sometimes but Sat is not the best day for me. Nov 9, 2022 15:29:39 Seabass via PLUG-discuss : > Someone mentioned wanting to regrow a community tech swap meet, and wanting > it to have a community of people for it. > He mentioned liking the idea of it being a bunch of people and maybe there > would be some people to help with stuff like Linux installs. > > I remembered AZLoco had installfests, but they had to change due to covid. > Are Installfests still going on? I would like to get in contact with them to > try and see if they can work > --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: Boot up from cold boot no network
樂 Sep 24, 2022 20:26:10 Jim via PLUG-discuss : > I tried cold booting this computer from a parted magic image I have on a usb > stick. This also resulted in no network. I then shut it down and cold > booted into windows, also no network, so it appears to be happening > regardless of the OS. > > On 9/23/22 12:04, T Zack Crawford via PLUG-discuss wrote: >> I am very interested in the answer because my desktop does the same thing if >> I tell it to hibernate, boot into my windows dual boot, and reboot back into >> linux. I can regain network access again by hibernating again and booting >> back into linux directly (no windows). Pretty annoying because it takes a >> solid 2-5 minutes to shut down when hibernating. At least it still does the >> job, just with delay. >> >> This only happens if I try hibernating and then boot into windows (not full >> shutdown, not hibernate and boot directly to linux). It has always happened >> since I enabled hibernation (arch wiki instructions). Having Systemd restart >> NetworkManager does nothing. Setting up a new network configuration with >> networkmanager does not solve it. This is with my motherboard ethernet and >> my wireless USB adapter. I spent some good energy trying to figure it out, >> but never did. >> >> >> Did you update kernels today? What if you downgrade? >> >> Put the solution as a boot script. Or at least bash profile instead of run >> commands (otherwise it will run every time you spawn a terminal shell) >> >> Sep 23, 2022 11:14:35 Jim via PLUG-discuss : >> >>> A few months ago my Dell Optiplex 7010 running Ubuntu 20.04 started booting >>> up without the network. I'd reboot the machine and the network was there. >>> If I shut down the machine and turned it on again, no network. I thought >>> something was wrong with the built in ethernet adapter, so I bought a usb >>> adapter, disabled the built in one and the problem went away until today. >>> Now it's happening with the usb ethernet adapter. Rebooting the machine >>> fixes the problem gets the network up and running. If I start with a cold >>> boot and reboot at the grub screen, I get the network. I have 3 SSDs and 2 >>> HDDs. I have the same video card that I had before this problem first >>> showed itself. It's a GeForce GT 710. >>> >>> I looked online and found something telling of other people who have had >>> this problem. They disconnected video cards and went back to the built in >>> video (display port), and removed hard drives that had been added later and >>> this fixed the problem. The ultimate solution was to replace the power >>> supply. I disconnected one SSD and the 2 HDDs. I don't have anything that >>> can use a display port, so I left the video card in place. All I had >>> connected were 2 SSDs. One it boots from and my home directory is on the >>> other. The problem still showed itself when I booted the machine, so I >>> shut down and plugged in everything again. This thing has a 240 watt power >>> supply. Do power supplies go band in such a way they don't produce the >>> amount of power they used to? >>> >>> Any ideas what it might be? Is there a command that would tell the system >>> to set up the network again? If there is, I could put it in the .bashrc >>> until I get this fixed. >>> >>> Thanks >>> >>> --- >>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss >> --- >> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss > --- > PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: Boot up from cold boot no network
I am very interested in the answer because my desktop does the same thing if I tell it to hibernate, boot into my windows dual boot, and reboot back into linux. I can regain network access again by hibernating again and booting back into linux directly (no windows). Pretty annoying because it takes a solid 2-5 minutes to shut down when hibernating. At least it still does the job, just with delay. This only happens if I try hibernating and then boot into windows (not full shutdown, not hibernate and boot directly to linux). It has always happened since I enabled hibernation (arch wiki instructions). Having Systemd restart NetworkManager does nothing. Setting up a new network configuration with networkmanager does not solve it. This is with my motherboard ethernet and my wireless USB adapter. I spent some good energy trying to figure it out, but never did. Did you update kernels today? What if you downgrade? Put the solution as a boot script. Or at least bash profile instead of run commands (otherwise it will run every time you spawn a terminal shell) Sep 23, 2022 11:14:35 Jim via PLUG-discuss : > A few months ago my Dell Optiplex 7010 running Ubuntu 20.04 started booting > up without the network. I'd reboot the machine and the network was there. > If I shut down the machine and turned it on again, no network. I thought > something was wrong with the built in ethernet adapter, so I bought a usb > adapter, disabled the built in one and the problem went away until today. > Now it's happening with the usb ethernet adapter. Rebooting the machine > fixes the problem gets the network up and running. If I start with a cold > boot and reboot at the grub screen, I get the network. I have 3 SSDs and 2 > HDDs. I have the same video card that I had before this problem first showed > itself. It's a GeForce GT 710. > > I looked online and found something telling of other people who have had this > problem. They disconnected video cards and went back to the built in video > (display port), and removed hard drives that had been added later and this > fixed the problem. The ultimate solution was to replace the power supply. I > disconnected one SSD and the 2 HDDs. I don't have anything that can use a > display port, so I left the video card in place. All I had connected were 2 > SSDs. One it boots from and my home directory is on the other. The problem > still showed itself when I booted the machine, so I shut down and plugged in > everything again. This thing has a 240 watt power supply. Do power supplies > go band in such a way they don't produce the amount of power they used to? > > Any ideas what it might be? Is there a command that would tell the system to > set up the network again? If there is, I could put it in the .bashrc until I > get this fixed. > > Thanks > > --- > PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: Gimp
Uh I'm not sure what the ask is, bit GIMP is a fantastic application just as good as photoshop in my opinion. Most photo editing can be done with it. The UI is quite different from photoshop and some particular tasks can be kind of tedious. But I would check out some tutorial videos online because there certainly are a lot of features which would be hard to describe quickly. Sep 22, 2022 08:21:34 Michael via PLUG-discuss : > How do I do real estate photos with gimp?-- > :-)~MIKE~(-: --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: my favorite game
And I thought my 4x1.5 GHz laptop was slow Sep 21, 2022 11:54:03 Michael via PLUG-discuss : > it is: > lscpu Model name: Intel(R) Celeron(R) CPU 847 @ 1.10GHz > CPU family: 6 > Model: 42 > Thread(s) per core: 1 > Core(s) per socket: 2 > Socket(s): 1 > Stepping: 7 > CPU max MHz: 1100. > CPU min MHz: 800. > BogoMIPS: 2197.27 > > > On Wed, Sep 21, 2022 at 2:50 PM Michael wrote: >> I don't think my little computer can handle elite dangerous! >> --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: my favorite game
You might also consider looking into a lutris script to automate the install and wine setup. https://lutris.net/games/elite/ Sep 20, 2022 20:26:28 Michael via PLUG-discuss : > it's called elite and I was wondering how to get it to play on linux. anyone > know? > ... > Well, 'wine newkind.exe' works but no sound > How do I get sound to work? > -- > :-)~MIKE~(-: --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: my favorite game
The proprietary sequel, Elite Dangerous, runs on Linux via Proton through the Steam client. It's a pretty fun game. Although maybe a little tedious for my taste. Super fun in VR, too, although VR is much simpler and cheaper if you're gaming on M$ Windows. Sep 21, 2022 07:31:35 Michael via PLUG-discuss : > do you still have the download? I keep downloading something with the wrong > md5sum. > > On Wed, Sep 21, 2022 at 10:23 AM JD Austin via PLUG-discuss > wrote: >> Let us know ;) >> I tried it long enough to see that it worked and looked like the same game. >> >> >> On Wed, Sep 21, 2022 at 7:18 AM Michael via PLUG-discuss >> wrote: >>> is oolite like a multiplayer game? That would be so cool! >>> >>> On Wed, Sep 21, 2022 at 9:47 AM Michael wrote: I just looked at the screenshots and all I can say is wow. On Wed, Sep 21, 2022 at 9:44 AM Michael wrote: > Thanks, I'll check it out. > > On Tue, Sep 20, 2022 at 11:55 PM JD Austin wrote: >> … > > > -- > :-)~MIKE~(-: -- :-)~MIKE~(-: >>> >>> >>> -- >>> :-)~MIKE~(-: >>> --- >>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss >> --- >> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss > > > -- > :-)~MIKE~(-: --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: ssd/hdd question
SSD is more expensive but faster. M.2 SSDs even moreso. SSDs can have sectors go bad if you rewrite over the same spot multiple times. With SSDs, you should "trim" or clean up when files are deleted. Not 100% sure about SSDs, but data will start to corrupt over time on an HDD (scale ~2 years) because of the strength of the magnetics of the particular portion of the drive decay over time. You can mediate this by dd-ing the drive onto itself periodically. HDDs are fragile to being knocked (magnetics and motor). If you want to archive data for a long time, I suggest you look into optical (100s of years but limited space) or tape e.g. LTO. LTO is good for ~15 years with optimal storage conditions and is very cheap per TB if you already own a drive. Although transfer rate is slow and data is sequential. I own an LTO4 drive bought off ebay and tapes are ~20$ for 800GB. Optical and SSD is best for mobility. I often buy 2.5" drives and connect with SATA --> USB 3.0 which can be faster than a 5400rpm internal SSD directly wired sata to motherboard. Sep 16, 2022 12:08:52 Michael via PLUG-discuss : > Which is bette, and SSD or HDD? > Which is more reliable? What is the downside of a SSD? > > -- > :-)~MIKE~(-: --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: video editors
Brodie Robertson on Youtube has a series of videos on reviewing video editing software that you may consider checking out. If I have to do something complicated, I've used Kdenlive on a few occasions. But most of the time I can get by with an ffmpeg script to rescale, transcode, crop, etc. Let me know if you want more info and I can send you some example code. -Zack Sep 4, 2022 11:40:00 Mark Phillips via PLUG-discuss : > Try flowblade. A small learning curve, but it works. > > Mark > > On Sat, Sep 3, 2022, 11:15 PM Joe Neglia via PLUG-discuss > wrote: >> I'll vouch for that. Years ago KDEnlive was crashing on me every few >> minutes. Tried it again a few months ago and it was solid. >> >> >> On Sat, Sep 3, 2022 at 6:25 PM Brian Cluff via PLUG-discuss >> wrote: >>> If it's been a while since you tried it, it might be worth a look again, >>> not that it'll beat Davinci Resolve in features (which I assume you >>> meant by Black magic design). The kdenlive team did a massive rewrite a >>> couple of years ago and it was relatively unstable for a bit... but its >>> had a couple of years to mature to its new form and it's quite good and >>> stable now, again. >>> >>> Brian >>> >>> On 9/3/22 10:47, Aaron Jones via PLUG-discuss wrote: KDenlive crashed on me over and over. It made it impossible for me to edit anything over 5 minutes. I bought a license for black magic design and that has solved all my issues. I love it. It’s worth the $180 or whatever. > On Sep 3, 2022, at 6:46 AM, Keith Smith via PLUG-discuss > wrote: > > > > Hi, > > This is probably off topic since it has to do with video editors. I > understand kdenlive - https://kdenlive.org/en/ - is probably the best > Linux free video editor. > > The need is for editing simple YouTube videos. I think one only needs to > know how to do a hand-full of tasks. This is not for Hollywood level > video editing. > > Your thoughts? > > Thanks!! > > Keith > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss >>> >>> --- >>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss >> --- >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: portable ssd
I think USB 3 --> SATA is much slower than connecting directly to the motherboard, but an SSD connected this way is still faster than a 7200rpm HDD. I would buy any internal (e.g. TeamGroup) 2.5" SSD and connect it sata to USB and then you basically have a regular flash drive but much bigger. Format NTFS for regular windows flash drive or ext4 if you're just using on Linux 路♂️. I have found if you don't properly unmount NTFS, that tends to corrupt things worse than others Sep 4, 2022 06:40:17 Michael via PLUG-discuss : > I think another advantage is that there are no mechanical parts to wear out. > > On Sun, Sep 4, 2022 at 4:18 AM Phil Waclawski via PLUG-discuss > wrote: >> The one advantage of an SSD vs a spinning USB Hard drive is that you can >> bump an SSD drive without worrying about the drive crashing, regardless of >> speed. >> Drawback is you usually want to keep it at most about 70% full so it can do >> proper wear levelling >> Phil W >> >> On Sat, Sep 3, 2022 at 11:43 PM Michael via PLUG-discuss >> wrote: >>> I’m not considering usb2/3/4. I’m thinking about when I upgrade my >>> computer. Right now I’m usb2. I know it will be slow that it might as well >>> be a spinner. >>> >>> >>> >>> On Sun, Sep 4, 2022 at 2:18 AM Joe Neglia via PLUG-discuss >>> wrote: Especially if the controller supports UASP. *aboutHuge* speed increase. On Sat, Sep 3, 2022 at 11:15 PM Steve Litt via PLUG-discuss wrote: > On Sat, 2022-09-03 at 19:11 -0700, Keith Smith via PLUG-discuss wrote: >> If I recall correctly what was said is USB will create a bottleneck so >> an SSD drive is of no benefit. That is why the spinner was recommended. > > I think I was the one who said that, but it was in regard to USB2. I > think USB3 is > fast enough to gain benefit from an SSD. > > SteveT > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss >>> -- >>> :-)~MIKE~(-: >>> --- >>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss >> --- >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss > > > -- > :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: Shred
I would probably do a `dd if=/dev/zero of=/dev/sdX` if I am understanding what you're asking. Or you could do urandom Aug 29, 2022 15:05:49 Retro64XYZ via PLUG-discuss : > Don't do that to an SSD. > > On 8/29/22 14:47, Michael via PLUG-discuss wrote: > To delete everything would I type > sudo shred /dev/sda > From a live disk? > -- > :-)~MIKE~(-: > > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Recommended affordable hardware for 4k video playback?
I have historically just hooked up an old laptop to my TV to watch movies and such, but I recently upgraded to 4k and my poor 4x1.5 GHz CPU (AMD E2-6110) can't seem to keep up. Realistically, it kind of struggled with 1080p to begin with. I have tinkered with mpv hardware decoding options and vaapi, but I'm thinking my old boy with the weak cpu and integrated graphics just isn't capable. Pretty sure that's the issue, I don't have any major background processes running and it's probably not a buffering issue considering that in this case I'm playing videos stored on an internal 1TB SSD and I have 8GB RAM. VLC is probably working worse than mpv. Any recommendations for a cheap hardware upgrade for this? Thinking I might just try to find an old used computer with some kind of GPU. Likely a raspberry pi would have the same problem? What should I be considering for minimum/recommended specs? Would puppy linux or some kind of dedicated OS be better than a standard arch linux/i3 setup? I feel like what I currently run is about as snappy as the device will get. --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: Right now my computer is in the shop.
Manjaro is supposed to have repositories with slightly older and more stable software, but in my experience it's less stable and well-documented. Manjaro also comes a bit more pre-configured but I don't really see the point in that now that arch has a guided installer. At this point in time, I don't really see myself using anything other than arch or debian. Unless some distro gets really big and systemd is less relevant. I don't believe that arch is really that hard to maintain. You don't have to update if you don't want to. You can always install an LTS kernel and chill. Often I will add the kernel packages to the ignore list and then once every couple months I'll update everything and reboot. You can always install an LTS kernel and chill. If there is a breakage, 90% of the time it's because you have something misconfigured (eg update changing syntax of config file) or a reboot will fix it. If the updated package really is just buggy, you can downgrade (I use the downgrade aur package for this) or install a different version via flatpak or aur. Ideally you are doing system backup and recovery with a program like timeshift so you don't need to panic in the case something breaks really hard and you're suddenly in dependency hell. That's only happened to me a couple times in 6 years though. For me the biggest selling points for Arch is the package manager/AUR and the documentation. You also have the freedom to change a lot of things without pissing off something in your system. Downside is it can take a little longer to set things up in the way you want. But at least you CAN do that and you CAN fix breakages. Mint is a fine distro. If you want a "just werks" situation, that might be one of the best fits for most people. Aug 27, 2022 11:51:51 Michael via PLUG-discuss : > thanks for telling me about this mb. I'm not advanced enough in my knowledge > of Linux to use arch. I'll stick with mint but what about manjaro? > Manjaro users: Do you have the same issue with it; is it good for a casual > Linux user?? > > On Sat, Aug 27, 2022 at 1:31 PM Michael Butash via PLUG-discuss > wrote: >> I'll second arch, I've been using it for a good 4-5 years now, and only >> thing I run on personal hardware anymore. >> >> That said, it can be cranky, even with rolling updates. I've had them >> randomly blow up at least one system that I couldn't figure out how to fix, >> and upgrades can be a pain with AUR repos pulling in sometimes dubious >> maintenance builds of packages that later break. When it occurs, you often >> end up in dependency recursion hell, where something is dependent on >> upgrading something else that it can't, due to something else wanting a >> particular version, nor will it let you simply remove it because you'd have >> to replace/remove 50 other things. I've spent at times days beating my head >> on a keyboard to fix these manually gutting packages ugly-style and forcing >> replacements over others to fix. >> >> Another good one, I just picked up a new (used) lenovo thinkpad T15g that >> installing arch on is panic-ing the kernel on boot before I can really even >> do anything, even in recovery. This should be fun like ants to fix... >> >> I do love arch, but it still tries my patience at times. >> >> -mb >> >> >> >> On Sat, Aug 27, 2022 at 6:38 AM James Mcphee via PLUG-discuss >> wrote: >>> this has weird knockon effects too. since arch is rolling release, and >>> highly customizable, they don't tend to switch up major pieces often. say >>> with fedora they decided to go to ext3 to ext4 to xfs, then btrfs >>> filesystems. now, if you run the upgrade scripts on time you can go from >>> fedora 35 to 36, but you won't have your filesystem changed to btrfs (i >>> don't remember the exact verison they made that change). but assumptions >>> are made that if you're running fedora 36 you have a certain setup, and >>> hilarity ensues. >>> >>> You often can't have as long-lived a system with fedora or ubuntu as you >>> can with arch since arch lets you set it up how you want and organizes its >>> updates to take that into account. whereas fedora or ubuntu kinda assumes >>> you're installing from their media without too much customization and the >>> cruft that can build up if you've run the update scripts a few times can >>> get downright nasty. >>> >>> On Sat, Aug 27, 2022 at 6:32 AM James Mcphee wrote: oh, they have a good test system. what i mean is breaking versions. upgrading from one version of software to another. say a kernel that decides a particular tuning variable is no longer used in favor of something else. and all the sudden your database performance chunks horribly because you had to patch. (yes, that's happened to me more than once). or, say your favorite tls layer deciding to deprecate ciphers you've manually defined in your configs. the more
Re: Right now my computer is in the shop.
I would recommend not Manjaro because it's just a less-good arch linux. I use Arch Linux. Depends what you're looking for, though. Zack On 22/08/26 05:45PM, Michael via PLUG-discuss wrote: > I'm going to get it back with either a new SSD or needing a new computer. > Either was it will be blank. So I have been a faithful procurer of MINT > since Mint12 but was thinking of trying another OS. What would you all > recommend? I am considering VOID or MANJARO. What are the benefits of > each. What are the cons? > > -- > :-)~MIKE~(-: > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: Kernel Panic
I don't know the reason for why that is happening to you, but to me it seems like the initial ram state when your machine boots is not configured correctly. It is not finding systemd I guess. This is something your package manager should be doing when you upgrade kernel versions. Look up mkinitcpio. I'm only really familiar with this on Arch and maybe gentoo a bit. If this is happening when you upgrade to a new Ubuntu big version number, maybe you consider sticking to the older one for a bit. Don't feel bad about sticking to an LTS kernel if you want. You can distro hop if you want, but I generally would say if your machine is not stable to just downgrade to an older version if possible. You could go to a distro which has something other than systemd for init, but recognize you will be missing some features (which could probably be done with something else), the daemon services will be written and managed differently, and there are a lot fewer people available for support. Unfortunately, a bit of FLOSSware is written with the assumption you're using systemd. I tried Artix for a hot minute but decided ultimately it wasn't for me because either a) I am dependent on the distributers to maintain their repositories which are often missing packages for configuring daemon services or b) I would be compiling packages for myself and writing my own init scripts. If you're the only person experiencing this, you're probably doing something wrong or there's something irregular about your existing system. I have no idea if this is helpful, but good luck, --Zack Aug 16, 2022 11:34:46 Michael via PLUG-discuss : > here is the attempt at support if you want to look at it and you are on > mint's forum. > https://forums.linuxmint.com/viewtopic.php?f=49=378087=20 > > On Tue, Aug 16, 2022 at 2:16 PM Michael wrote: >> I've been fighting with Mint for a while now. I installed mint21 and it runs >> great for about 5 loads then stuff happens. First it would boot into >> busybox. I tryed the fsck and that would work sometimes then the kernel >> began to panic after a week. I would reinstall and the process (busy box >> reinstall) would start over. This has been going on about two weeks. The >> kernel paniced tonight (it skipped the busybox step) and I finally looked at >> the output: >> >> initramfs unpacking failed: ZSTD - compressed data is corrupt >> Failed to execute /init (error - 2) >> Kernel panic - not syncing: No working init found. >> Try passing init=option to kernel. >> >> So I ask those who are much smarter than me (you) what all this means. >> What init=option could I pass to the kernel? And what about the ZSTD. >> data? >> What can I do? >> You know, now that I think about it this problem coincides with the date of >> the new release (or at least my update of the system after such). Things >> that make you go h. >> That was a post onto Mint's support page. I haven't received any replies in >> like 4 days. I am thinking it is time to try a different distro. I was >> thinking about VOID. A couple of questions: what about my /home partition, >> will it transfer seamlessly? Do you think void will fix the problem or else >> what do you recommend? >> -- >> :-)~MIKE~(-: > > > -- > :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: smart tv
So I got hooked up to Cox for the first time today. But my modem and router are in a storage garage in Washington right now. I made it about two hours before I ordered my own hardware. Aug 15, 2022 19:19:35 Michael via PLUG-discuss : > well, the second tv to be active said that the password was wrong. > > On Mon, Aug 15, 2022 at 9:40 PM Stephen Partington via PLUG-discuss > wrote: >> so how do you mean one works and the other does not? performance. error >> code? or just stops? >> >> >> On Mon, Aug 15, 2022 at 9:00 PM Michael via PLUG-discuss >> wrote: >>> I thought we could have 250ish devices. We we had 2 tv, 2 game consoles, >>> and 2 phones >>> >>> On Mon, Aug 15, 2022 at 8:55 PM Michael wrote: >>>> how many devices can we have active on a xfinity home plan? >>>> >>>> On Mon, Aug 15, 2022 at 8:51 PM T Zack Crawford via PLUG-discuss >>>> wrote: >>>>> Buy another TV >>>>> >>>>> Aug 15, 2022 17:47:02 Michael via PLUG-discuss >>>>> : >>>>> >>>>>> … >>>>> --- >>>>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>>>> To subscribe, unsubscribe, or to change your mail settings: >>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss >>>> >>>> >>>> -- >>>> :-)~MIKE~(-: >>> >>> >>> -- >>> :-)~MIKE~(-: >>> --- >>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss >> >> >> -- >> A mouse trap, placed on top of your alarm clock, will prevent you from >> rolling over and going back to sleep after you hit the snooze button. >> >> Stephen >> >> --- >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss > > > -- > :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: smart tv
bill gates personally shows up to your house and slaps you in the face for not paying the Pro plan fee Aug 15, 2022 18:40:30 Stephen Partington via PLUG-discuss : > so how do you mean one works and the other does not? performance. error code? > or just stops? > > > On Mon, Aug 15, 2022 at 9:00 PM Michael via PLUG-discuss > wrote: >> I thought we could have 250ish devices. We we had 2 tv, 2 game consoles, and >> 2 phones >> >> On Mon, Aug 15, 2022 at 8:55 PM Michael wrote: >>> how many devices can we have active on a xfinity home plan? >>> >>> On Mon, Aug 15, 2022 at 8:51 PM T Zack Crawford via PLUG-discuss >>> wrote: >>>> Buy another TV >>>> >>>> Aug 15, 2022 17:47:02 Michael via PLUG-discuss >>>> : >>>> >>>>> I got one smart tv and it works great. so I put another smart tv in the >>>>> house and when one is watching tv the other can't. how would I get both >>>>> working? I was thinking I could get another router but there must be a >>>>> way to do it from the same router. So how about it; will I need to buy >>>>> another router? >>>>> >>>>> -- >>>>> :-)~MIKE~(-: >>>> --- >>>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>>> To subscribe, unsubscribe, or to change your mail settings: >>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss >>> >>> >>> -- >>> :-)~MIKE~(-: >> >> >> -- >> :-)~MIKE~(-: >> --- >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss > > > -- > A mouse trap, placed on top of your alarm clock, will prevent you from > rolling over and going back to sleep after you hit the snooze button. > > Stephen > --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: smart tv
Buy another TV Aug 15, 2022 17:47:02 Michael via PLUG-discuss : > I got one smart tv and it works great. so I put another smart tv in the house > and when one is watching tv the other can't. how would I get both working? I > was thinking I could get another router but there must be a way to do it from > the same router. So how about it; will I need to buy another router? > > -- > :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: Open Source License
You should always license your code. You can always re-license it later (I don't think it only applies after a fork?). I promote GPL3 usually (copyleft). If I don't care about some company stealing and selling my code or perhaps someone using it for nefarious purposes, then I often recommend WTFPL for very small projects. I think it's Apache-like licenses that are pretty good for open-sourcing projects while still granting you some intellectual property protections. Zack Aug 9, 2022 15:03:04 der.hans via PLUG-discuss : > Am 09. Aug, 2022 schwätzte Retro64XYZ via PLUG-discuss so: > > moin moin, > > If it's a small example, then it probably really doesn't matter, but it's > good practice to add a license. If you use CC for the blog, then I think > that can also adequately cover a small amount of code for an example. > >> If you REALLY don't care, use the FreeBSD license. > > I generally prefer copyleft and avoid that which isn't, but if your goal > is to encourage people to use your examples and run with them, then Aaron > is right. A permissive license such as the FreeBSD license will have the > least encumbrances. > > If you use a BSD license, please use a newer version without the > advertising clause. > > BTW, answering this has gotten me to think about the code examples in my > own presentations and blog posts. Thanks for asking! > > Also, thanks for creating documentation :). > > ciao, > > der.hans > >> If you care a little, use the latest GPL. >> >> On 8/9/22 14:42, Keith Smith via PLUG-discuss wrote: >>> Hi, >>> I am writing some source code as an example that will make it into a number >>> of blog posts on my blog. I do not care if anyone uses this code for any >>> purpose. >>> Any suggestions on how I copyright it? >>> Thanks!! >>> Keith >>> --- >>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss >> --- >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss > > -- > # https://www.LuftHans.com https://www.PhxLinux.org > # "It's not that I'm so smart, it's just that I stay with problems longer." > # -- Albert Einstein > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: new home partiton
Mike, Is your home directory on a separate partition on the same disk? If so, is it mounted? I think `lsblk` would give you that information on most distros. Full disclosure, I've only done something like this on Arch Linux, so maybe there are more informed people on the subject. A less technical/easier solution would probably just be to reinstall and point to the correct partition without wiping it. And everything gets much harder if you have encrypted disks. Since you are making big alterations to your main user, you might consider logging out and then logging into root on the tty or something like that. The root user's files are usually at /root instead of in /home. I think a short term solution that might work is something along the lines of: ``` rm -rf /home/ #make sure you first back up the files you need # or maybe better do `mv /home /home.bkp` mount /dev/sdXY /home ``` And then long term you would have to add a statement in /etc/fstab that accomplishes that mount statement on boot. This is presuming your user name (and maybe UID?) are the same from your old install originating that home partition. Otherwise you might have to add some `chown` alterations afterward as well. See: https://wiki.archlinux.org/title/Fstab Be careful because: 1. Incorrect syntax in /etc/fstab will stop your machine from booting properly. I think you can edit /etc/fstab on the command line in recovery mode, but if not you'd have to edit that file booted from a live installation image. 2. Running `chown -R` statements might possibly break how things were working if they needed particular permissions. This would matter much more if it were outside /home/your_user . You might do a practice run mounting the partition somewhere else, maybe in the existing home directory e.g. `/home/your_user/mnt` or something like that. Don't accidentally `rm -r` into your mounted partition. Add the partition mounting to this alternate point to fstab and make sure that process worked like how you wanted. Changing fstab is probably going to be the most difficult part. On Arch Linux there is a cli module called `genfstab` that might help you in the case it's available. I suspect you could probably get more guided help at one of the saturday install fest sessions. I've never been to one, though. Good luck! Someone interject if there is some bad advice here. Zack On 22/07/27 08:18PM, Michael via PLUG-discuss wrote: > On my new mint install home partition was preserved but was not set as > my home directory. I think home is on the root partition. I don't want > to reinstall again so would someone walk me through setting it up? > > -- > :-)~MIKE~(-: > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss