Indeed I just refrain from commenting on his question, since it is already a triple dupe and well reading his profile didn't make me anyway more inclined to answer or writing something nice.
I'm running Ubuntu 14.04 with unity. I wanted to install grive following these steps:
sudo add-apt-repository ppa:thefanclub/grive-tools
sudo apt-get update
Unfortunately I get this error message when running the sudo apt-get install grive-tools command:
The following packages have unmet depend...
What i did almost two years ago was taking my laptop instaled Ubuntu on it and then played around almost for three months untill i deleted my main machine and set up linux there too
@Videonauth All I have is laptops currently. If you count the old ones that I keep around because I haven't transferred HD contents, there are 7 here now.
well even a raspberry would suffice ;) i have an old dell inspiron 7000 laptop as the only computer in my household which is not running and serving a purpose
@Videonauth I find the command shell oddly familiar, though, as I worked in MS Dos for years. Even as late as early this year, we had 5 telephony servers running MS Dos on 486 machines using Lantastic for networking.
Drove our corporate security guys nuts, because we had to have an XP machine on the network, since the lantastic client won't work on a 64 bit machine :)
I have an Acer chromebook that I used to be able to load into xfce via "shell" then "sudo startxfce4" at the chrome terminal. Suddenly it fails and will no longer load. Instead, I get the following. Any advice?
chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroo...
♫ He sees you when you're sleeping
♫ He knows when you're awake
♫ He knows when you've been bad or good so always remember to eject before unplugging your flash drives for goodness' sake.
#UnlessYouMountReadOnly
I am following this tutorial : http://nbviewer.jupyter.org/github/amsehili/audio-segmentation-by-classification-tutorial/blob/master/multiclass_audio_segmentation.ipynb
In block [8] of tutorial there is:
train_data = {}
train_data["silence"] = ["silence_1.wav", "silence_2.wav", "silence_3.wav...
@Videonauth No. I've never understood where that number came from. It's actually closer to 3GB. Well, in terms of raw data. In terms of actual information content that is very much up for debate.
[Source]
In an episode of the BBC show QI - Quite Interesting (Series J, Episode 1) Stephen Fry said:
How much information do you think is in the DNA of one little sperm...?
It's 37.5 MB...
...a normal male ejaculation, if there is such a thing, is equivalent of 15,875 GB. That's ...
As VLC 2.0 is released, how do I get it in Ubuntu (XUbuntu actually, in my case) 11.10? Any PPAs or packages to download? The official page says "Ask your favorite packager..."
Ok. thanks then I not need to open a new Q&A probably just writing an answer instead
@terdon NP, even if it is supercompressed to 4 MB it is still an insane amount of data, and if it is 3GB per, it is even more impressive and unmatched in electronics
@Videonauth It is, but not in the way that reddit thread suggests. There's very limited "transfer", and the differences between individual sperm are mostly tiny. But yeah, it is an efficient way of storing data, no question. It's also essentially arranged as a RAID-1 since you can rebuild a lost strand from the one you have!
So. Formally stated, Newton's third law is: For every action, there is an equal and opposite reaction. The statement means that in every interaction, there is a pair of forces acting on the two interacting objects. The size of the forces on the first object equals the size of the force on the second object.
I think that depends heavily on the geek factor of the girl :)
Well, her choice of phrasing might depend on that yes. I would, however, expect a physical demonstration of the law no matter whether she's just thinking "slap this jerk" or "ooh, action and reaction!"
both need in their dependencies libvlccore, getting both to work was a bit of fiddling unpacking/packing .deb files and editing some DEBIAN/control files
and in the end apt-mark hold on one packet to make sure an update does not revert it and end you in dependency hell
Based on some posts here, I try to run a simple script to clean up a folder with temporary content on restart and shutdown.
Following the instructions and the READMEs I wrote this script:
/etc/init.d/cleantmp
#!/bin/sh
### BEGIN INIT INFO
# Provides: cleantmp
# Required-Start:
# Requi...
I am running a command "rce-container localhost" in Ubuntu getting the error "AttributeError: 'NoneType' object has no attribute 'throw_exception'" Something to do about import iptc. Output
Traceback (most recent call last): File "/usr/local/bin/rce-container", line 4, in import('pkg_resources')...
@dessert no they didn't ... with kernel 4.13 they worked, but since kernel 4.14 there were issues ... now with version 4.14.6 everything is back to normal. :)
It is hard to explain the issue but I'll try. We have the device on Ubuntu 14.04 and custom OTP PAM. We need to update this PAM. We do update in the su session (su - root). Within ~5-50 seconds (has no relations to the system time) after pam_otp.so file replacement our su session trying to be rep...
@dessert Ok. surrounding I'm actually writing a tool for Ubuntu to manage and maintain sources.list files, and I'm currently implementing some kind of regex-op functionality where you can give sed like regex strings and work them on the files given
actually im trying to figure out a good way to do this
lets say you call it with sources-tool --regex-op 'op1' 'op2' 'op3' ... --in-file test1 test2 test3 -out-file test_changed1 test_changed2 test_changed3
then it would run all regex optiones defined on each input file and saving to the respective output files
@cl-netbox the tool shall not only be for removing and so on;) it as well shall analyze and fix errors etc
@Videonauth how about you define op1 as match#replacement, then cut this at the delimiter (you may choose a different one of course) and insert it into re.sub
@Videonauth to be honest, I can't see the advantage ... every .list file is different, so sudo nano /etc/apt/sources.list.d/<repo>.list does exactly the same - right ? or not ? :)
@dessert that might be an idea, but it should as well accept normal python regex, not sure if that delimiter will do it, i might end up handling regex as tuples
@cl-netbox just look at the set of questions containing "malformed entry on line xx"
@cl-netbox nah writing a clean version is more likely for me since im not using the usual ubuntu install as you know, more focus is on repairing existing lists, means my tool must know all possible valid http adresses for repos and their parameters
@JohnP a PI 3+ B, a power supply, a case maybe and evetually a few heatsinks, and a memory card with at least 16 GB if you wanna have fun
@cl-netbox yep and there i use regex for filtering, on ubuntu the most adresses are either http://[a-zA-Z][a-zA-Z][\.]archive.ubuntu.com or launchpad (not sure that regex is right, its just for pointing out that there could be more characters)
@Videonauth I might get a wireless as well. I have my printers set up in a hall closet, so ready power access. Would keep it out of hands of kids too. If I can figure out port forwarding in the near future, I'll set it up so I can access it via wireless from outside.
Initial goal, get it up and running ubuntu. Next goal, turn it into a media server with one of the 2T externals I have laying around.
@Videonauth please don't take me wrong - you're having a good idea, but most of those issues arise from 3rd party repos, such like google chrome or vbox for example. :)
@JohnP like i said look for the pi 3 B or B+ how it is sometimes called, cant tlell you much about the PI 4 but i guess they wont step down from delivering it with wifi and BT
and some rooms have some very sensitive people it seems they flag everything abusive what is marginally looking politically incorrect, or somehow related to some term they have read in any urban dict which told them this term is abusive
I am trying to talk to an Ubuntu VM (an Ubuntu 16.04 server inside VirtualBox) using Ansible. As long as I want to do simple tasks (a ping for example), no problems occur, but tasks involving sudo seem to fail:
me@host ~/ansible/test/ $ ansible-playbook test.yml --ask-become-pass
SUDO password: ...
that was a hell of a hack this morning, as i tried to pupdate i had run into some dependency problems which made me purge krita* vlc* and libvlc* and then after installing vlc i had to hack away on some deb files to make krita work again which relys on a vlc backend which wants libvlcccore8 installed ;)
but it is running now and dependency issues solved and one more packet on the hold list
@Videonauth same here ... as long as I can avoid them, I'll do that ... by the way, flatpack seems to provide better experiences - I've tested vlc in this containerized format and it worked quite properly. :)
@JohnP trust me you would not wanna change places with me
currently sleeping about every 4th day and for the rest relying on valium and rohypnol (soon to be changed to medical cannabis)
and all the paperwork for everything, being early retired due to medical issues in Germany is no fun)
i would be keen on getting my hands on such a cable set and breadboard for the PI but well maybe end of next year i can get a second PI after i upgraded my computer
Believe me, it's better than being early retired due to medical issues in most other countries in the world. With the probable exception of Scandinavian ones.
@terdon true that, in most countries you would be hosed financially, while germany still offers something you can live of, and yes scandinavian countries do that even better
@JohnP i have done COBOL in the past (seems like aeon's in the past to me) , AND i didn't like it
python is somehow cool
just messing with travis ci but for now i just run a flake8 test on my code (TODO: write unittests)
and flake8 lets travis report a failed build if any code line is longer than 80 characters
to be honest the code looks kinda messy when i try to stay within the bounds of that
@Videonauth You should be able to. I've configured my emacs to ignore certain rules. I'm sure whatever lesser, sad little editor you use can also do this.
My kids downstairs are currently listening to a music cassette (yes, those still exist) I found lying around (presumably of former owners of the building), titeled just “Schlager”. currently playing:
Yep just telling you, I'm running the Pi headless at the moment but i have a keyboard and a monitor around if i really would need to log in locally to the machine
@JohnP nope i shut it down, take out the card and mount it on my main PC and make my changes, then when it is setup i just insert the card again in the PI and boot it up and use ssh to connect
using screen to display multiple data from it constantly (see screenshot)
first install i do on my PC then i mount it and copy the ssh key where it should be, change the config accordingly for passwordless ssh access and then rest i do normaly on the pi itself
@Videonauth Speaking of that, in the early days of my last company we had to get access to a different companies system to set up a file transfer. Just messing around, we entered root + enter, then enter alone for password. Let us right in.
yes would be my advise too, untill you get the ssh really working and are comfortable with it this would be the simplest apprpoach
and write down the setup steps and commands you used ;) at the start i hosed about 4-5 installs by messing them up, so taking notes is a good way to save time on reinstalls
I have a problem with my Ubuntu, I installed tomcat server and set it up, but I needed to change one directory and grant my current user read permissions over it so I executed:
chmod -R 644 /bin
And from there on I kept getting errors, like if i tried to change directory I would get output tha...
^ thats what we see here on AU about one or two times per week ;)
@dessert here is one for you
# function to find the top commands
function tcd(){
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
}
@Videonauth yeah, I did it already, I meant I'm not supposed how the "conduct norm" is, should I open an issue first? Should I throughly explain the issue on the pull request (or just a paragraph is fine)?
I'm not sure how to do it through command line, probably trickier :p
simply explain your changes on the pull request, they anyways if they are cautious will look at your commits on your fork to get the complete picture, some projects have a wiki how they want to have their code formatted and how to do pull requests, but thats mostly the bigger projects who do that
and even then you can work in steps on your fork too by branching first and push changes to the branch first before submitting it to your project/fork