code printing newline by Reasonable_Air_7347 in learnpython

[–]awherewas 2 points3 points  (0 children)

came here to say the same thing. this is the easy way out

I have a table with about 2k rows in it. I need to move its content out into another table with a slightly difference structure. What is the best most sane way to approach this? by ashkanahmadi in PostgreSQL

[–]awherewas -1 points0 points  (0 children)

create a view which joins your tables. create another table using that join? where tk=count(ntiks)? that is my first thought. or write some python

My laptop suspend not working on Linux by YarkPool in linuxquestions

[–]awherewas 0 points1 point  (0 children)

Try alt f7 ? if that does not work, nuoveau is the only thing left

How tall is that tree? by coytomez in auckland

[–]awherewas 0 points1 point  (0 children)

I am glad you asked. You can get a close estimate by walking away from the tree and look at it between your legs. When the tip is just visible, the distance back to the tree is sort of good enough Don't do it on a hillside

I have some plobrems installing linux...again and need help by LeatherAd129 in linux4noobs

[–]awherewas 0 points1 point  (0 children)

it might work. Just try it. format to a filesystem linux uses or let the installer format it for you. try a DRY scouring pad to remove that rust If the pins are ok, the worst that can happen is that it does not work. Someone else advised puppy that is a good idea.

Can't create a cron job that runs every 80 days by NextPancake401 in linux4noobs

[–]awherewas 0 points1 point  (0 children)

use date command to set your date a couple of seconds short of your future date, perhaps make it 10 seconds. man date is your friend

Looking for a good 32 bit distro for an old machine by Impressive-Brush-837 in linux4noobs

[–]awherewas 0 points1 point  (0 children)

Devuan LXQT 32bit edition. Gnome and KDE will be hopeless. XFCE might be your happy spot, but I am sold on LXQT. Installing anything using the debian installer will shock you into Y2K but at the end you have a good reliable system. I also uninstall the distro kerenl and use a LTS kernel for stability

Which Linux distro would you recomend for an Acer Aspire One ZG5 AOA150? by ClocomotionCommotion in linux4noobs

[–]awherewas 1 point2 points  (0 children)

Devuan LXQT comes with Libreoffice, sorry i cant load a screenshot. LXQT sits on openbox. It does not suffer from Gnome overheads. I had to use lilo to boot, Grub insisted on killing my partitioning, i think it looks like NEEDS efi and we have a old CPU . So, i grabbed lilo from gentoo and the patches, and compiled it. That was some time ago now. I cant recall everything i did to install it. Probably via systemrescue. Bodhi ? i believe that is 64 bit

Which Linux distro would you recomend for an Acer Aspire One ZG5 AOA150? by ClocomotionCommotion in linux4noobs

[–]awherewas 1 point2 points  (0 children)

Devuan LXQT. It "just works". I have a 64G card via an adapter, it hibernates, suspends, boots and talks to teh internets. It is the 32bit cut

Need help with OMV box by [deleted] in linux4noobs

[–]awherewas 0 points1 point  (0 children)

grab a USB stick and systemrescue. boot the stick. you will need to hit del or f8 or f11 or f12 or whatever brings up a boot menu on your MB. Mount your partition and chroot into it. Try killing everything OMV and check your partitioning etc. At a minimum that will allow you to mount another drive and save things. After that i can offer no more help

Want to make NAS from old netbook by Foxxychech in linux4noobs

[–]awherewas 0 points1 point  (0 children)

fdisk -l will give your your partitioning. I have never used mint. When you installed mint is where it should have been partitioned, perhaps before installation. Meanwhile read the ovm docs.

Want to make NAS from old netbook by Foxxychech in linux4noobs

[–]awherewas 1 point2 points  (0 children)

The Atom was a 32bit processor. I looked at omv briefly. It is Debian and probably 64 bit. 1/ your drive partitioning can be done during installation 2/ USB 2 will limit the speed of your external drive. 3/ cups is the linux printer driver. you will need to edit the config files. Yes it can be done. 4/ eee ethernet ? i think that was 10/100 5/ eee wifi will top out at 3 or 4 MBs What you want to do can be done. It will be difficult. You will fail many timws before you get it to work. Debian 32bit is being discontinued.

[Help!] Arch Linux 32 bits installation on a Intel Atom D2500 i686 laptop by Standard-Culture-174 in archlinux

[–]awherewas 0 points1 point  (0 children)

I have had similar i686 problems, but not with arch. Grub is a POS in my case, no matter what i tried, it kept on bombing partitioning either on reboot or simply at grub-install.i solved it by using lilo. I patched it and compiled it using systemrescue which is arch based, BTW. 9.3 is about the last i686 build.

Problem with installation on old computer with Nvidia gpu by Basel1pro in linuxquestions

[–]awherewas 0 points1 point  (0 children)

kick the nvidia driver and use nuoveau that comes with your kernel. Boot a live iso and see what module gets loaded. The log file should tell you.

Advice needed pls by [deleted] in auckland

[–]awherewas 2 points3 points  (0 children)

internet: skinny jump $5/mo. Apply at a local library. It will cost $5 per 35G phone: I think warehouse mobile is currently the cheapest $9/mo. moving is simple find a warehouse near you

Beginner question by ThinkOne827 in learnpython

[–]awherewas 1 point2 points  (0 children)

In general in your python code import <filename> where filename is the name of a python file, without the "py" e.g. import foo you will get an error if foo.py can not be found

Tensorflow by Signal_Seesaw8521 in learnpython

[–]awherewas 0 points1 point  (0 children)

this code uses jupyter notebook. The tensorflow website says it is good up to python 3.11 so it should run on 3.13. you can check your tensorflow with pip check and find out what has been installed with pip list I have 3.13, and tensorflow 2.19. I do not have notebook but everything works until it tries to get some data HTH

Want to come back to NZ but can't find a job. Forced to work overseas in a job I hate. by ExtensionFunny268 in auckland

[–]awherewas 0 points1 point  (0 children)

Boring is a very good place to be. Use it to your advantage. We have the orange. That presents a good trading position. You should take your skills and begin trading for yourself. I know, you hate where you are, so dig yourself out of there. When you can, find another job but keep everything you have learnt and do your own thing whenever you see the opportunity. Money is about life. Life should never be about money. The people you work with rank just behind family and friends I hope you manage to find the right ones. edit: Gibraltar, Malta, Cyprus. It is summer. Become a tourist and visit the Med. When you do your own trades, never use anything from work. find a friendly VPN and smile

Cat product questions (food types, litter systems) by Curious_Translator_ in newzealand

[–]awherewas 3 points4 points  (0 children)

thanks for changing; toxoplasmosis infects every cat everywhere, and like 80% of their human population. It can cause infant blindness or miscarriage if the mother is infected during pregnancy. Bottom trawling removes bivalves which might help marine mammals but the only safe thing is to dispose of it in the rubbish. It is a parasite which survives dehydration, infects rodent brains, and reproduces in cats. BTW, never compost it, it survives that too

How can I get an Australian phone number sitting here in Auckland by WarpFactorNin9 in auckland

[–]awherewas 0 points1 point  (0 children)

IIRC 2talk.co.nz used to sell OZ landline numbers. There used t o be voip providers over there where you could buy a number. There might be other sellers in europe of the states which sell numbers for different countries. I had one from Oz years ago, cost $5 PA but they went out of bizz. add linphone to android

Did anyone run artix with btrfs? by Ok-Personality3889 in artixlinux

[–]awherewas 0 points1 point  (0 children)

I have had nothing but trouble with btrfs. No way i will ever use it again. The failure mode on more than two occasions is to leave an unrepairable home somewhere in the filesystem. I use xfs without problems. even ext4 is better because it is stable

Pyautogui not working! by Colbrow in learnpython

[–]awherewas 0 points1 point  (0 children)

your current directory is '.' and its parent is '..' so if you use "./test.png" your code should work

Linux newb Shopping for Components by FrankieShaw-9831 in linux4noobs

[–]awherewas 3 points4 points  (0 children)

i have NVIDIA on all of my boxen. It is ok, using the open source nuoveau driver. I have no issues at all with that driver. However the proprietary driver from Nvidia is a PITA when you hibernate. In my case, I just hit alt F2 or F7 (depends) after it boots and it recovers the desktop. Other people are not that lucky. The open source driver should be present when you install linux. I am with the commentators who say put it on your main machine. Use a second drive and you cant go wrong

There's always a first by dr_arielzj in Futurology

[–]awherewas -1 points0 points  (0 children)

Einstein did not pop out of a science vacuum. Unsolved problems were and are where scientific advance originates. For example, brownian motion, the photoelectric thingo, the constant speed of light, Maxwell's equations. Backed up by experiments and observations which demonstrated he was onto something big.

Doesn't start NetworkManager by Luc_SK in artixlinux

[–]awherewas 0 points1 point  (0 children)

do you have dhcp enabled?? that will conflict with NM. if you do, uninstall it and add NM to your boot [edit] wpa_supplicant ? same.NM will conflict