« first day (2638 days earlier)      last day (2322 days later) » 
00:00 - 18:0018:00 - 23:00

12:02 AM
@Seth Dang. Tough I don't need. :p
Maybe I will get the wife a good used laptop from the local reseller and subvert her laptop for the cause.
 
@Seth since you're here, do you want to have a look at this users profile: askubuntu.com/users/491802/thegreatflyingrie and then check the last thee questions from him
 
@Videonauth Lovely profile.
 
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.
 
@JohnP why not a VM?
 
@Videonauth HEY YOU! YEAH, YOU #@$!@$!! ANSWER MA QWESTSHUN!
@JourneymanGeek Can you do persistent with a VM?
 
12:10 AM
@JohnP yup, and run it alongside/on top of windows
 
@JohnP You can snapshot the VM and even revert back changes
 
Hrm. I hadn't considered that. I have Oracle virtualbox on this laptop, I used it to install Ubuntu to cheat at Pokemon go for a while.
 
0
Q: Installing Grive on Ubuntu 14.04

user9088406I'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...

 
So i guess your main OS is Windows? You might want to consider a change to Linux :D
but yes VirtualBox is perfectly fine as long you not need direct hardware passthrough
 
12:14 AM
In fact, in this day and age, I actually recommend that for someone new/learning
 
@Videonauth Thinking about it. I'm working on Linux+ (Certification)
I figure with my programming background, Linux+, security+ and PMP certs, I can move back into the IT world in at least some capacity.
 
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.
 
hahaha lol take one of those and install bare metal and keep it around for your usage you have in mind
 
bare metal?
Is that a distro?
 
12:19 AM
bare metal means installing it on the machine without any layers in between, i.e. another OS with a VM
 
Ah, lingo context. gr0k.
Hang on.
IBM Thinkpad A31, weighs about 50 lbs. Dunno if I have brick for it tho.
Dell Inspiron 8500 and a generic Toshiba Satellite.
 
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 Raspberry sounds interesting, I've been thinking about one of those to create an automated paludarium or reptile habitat.
 
i got one last year and now it is serving my little blog to the web
running Debian stretch actually because it is more lightweight as Ubuntu core
as a headless server system
 
@Videonauth you just remote into it?
 
12:28 AM
yep, ssh via intranet
 
hrm.
 
no ssh to the outside tho
 
I'm assuming they cover that in the later chapters. Is that a port configuration thing?
 
or better to say my router does not forward port 22, and my old machine serving as a IDS would not forward it either
 
Or is that in rules set up to only allow from specific IP's?
 
12:30 AM
well, you need to set up your router to allow outside ssh connections to end up where they are read
if you don't do that the outside will have a hard job getting ssh access on that machine
 
@Videonauth I'm not sure I've ever played with the config on my router, past setting up internal machines and changing the default password.
 
and to setup passwordless ssh is not that hard
 
There is a whole world I'm barely aware of.
 
i just use ssh internal in my own network so to speak
 
@Videonauth My "network" consists of 3 laptops and a printer that can connect to my router.
That's going to be the hardest part of studying the security+, I never really studied networking past what I got in programming classes long ago.
 
12:35 AM
yep and if you would have a linux machine in this setup you could use putty (or equivalent) to ssh to it
 
@Videonauth I did that when I set up Nagios on Azure at my last job. One of my last acts before they canned our entire office.
I have...oddly specific knowledge, as I learned what I needed to in order to get certain jobs done.
 
:) thats normal, unless you really certify at specific things where you learn stuff which is sometimes outside your scope
heck today i spend a about 4 hours to get travis ci to play ball since it was something i never did before
 
@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 :)
 
same here, I'm mostly using the GUI for games or browsing and thats it. most of what i do i do in terminal
 
Dang. I gotta go give a kid a private lesson in forms. I need to change and leave in a few.
Thanks for the tips, I'm going to stop at Barnes and Noble and see if they are selling their Rasp Pi kits again this year.
 
12:44 AM
:)
 
I'm sure I'll be back around, probably with a whole host of annoying n00b questions.
 
well we see a lot of em every day, so a few more wont make a change :D
sure stop by if you have questions
user image
2
 
Lol.
 
1:02 AM
When you copy & paste code from Stack Overflow. #coding
:)
 
1:18 AM
0
Q: startxfce4 no longer loads on Asus chromebook

KreuzfeldI 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...

 
2:16 AM
@Videonauth hi, seen you around the site
 
3:09 AM
♫ 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
 
0
Q: What is this ridiculous "reputation" system?

Craig CooperI cannot upvote or comment, makes this entire site worthless... What can I do to fix this?

 
 
1 hour later…
4:24 AM
0
Q: how to pass file names to list in python in a certain format?

kRazzy RI 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...

 
 
4 hours later…
7:59 AM
yesterday, by dessert
Does anybody know what Remind does when a reminder is due when the computer is off? ;P
The results are in: remind doesn't just silently dispose the reminder, but executes it as soon as possible.
similarly to at in that manner
Oh my, that's some lonely tag: unix.stackexchange.com/questions/tagged/remind
 
9:01 AM
Did you know your Ubuntu system comes with a preinstalled LOTR calendar?
$ less /usr/share/calendar/calendar.lotr
 
yeah i think it has star wars too or so
 
Even the server version has this preinstalled!
 
It comes from the bsdmainutils package.
 
So if you ever wondered when the FreeBSD devs have their birthdays…
$ less /usr/share/calendar/calendar.freebsd
 
calendar.ubuntu is criminally missing the last few releases.
 
9:12 AM
@ChaiT.Rex :O that's bad
 
ok to ask the round, what is possibly the fastest mas-data transfer in the world?
 
9:58 AM
wow i just made the vlc 4.0.0. install from the daily master work on artful
having an appointment soon but when I'm back I might write a Q&A for this. If you know any Q&A which would fit that already please leave me a link
^@muru since youre the master of finding dupes ;)
 
@dessert congratulations ;) to you and google :P
yes a single sperm has around 37,5 MB data in it
but to be honest I don't think we will see 1,5 PetaByte (~1500 TerraByte) data transfers in about 3-5 seconds happen in IT world soon
 
@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.
$ ls -lh /devel/genomes/hg19/broad/ucsc.hg19.fasta
-rw-rw-r-- 1 terdon staff 3.0G Apr  2  2015 /devel/genomes/hg19/broad/ucsc.hg19.fasta
 
:) me neither, thinking of that a single DNA strand is so big that if we read it 8 hours a day we would need several months to read it completely
 
39
Q: Does the DNA of one sperm contain 37.5 MB of information?

Oliver_C [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 ...

 
10:12 AM
nice now were talking sience
 
Heh, sorry, this is what I deal with every day :)
 
@Videonauth probably an answer to
49
Q: How to update VLC to the latest version?

IvanAs 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 the next date I ask if she is ready for the fastest mass data transfer possible ;)
 
10:22 AM
And you can expect her to demonstrate Newton's Third Law.
 
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!"
 
hehehe
so what has VLC in common with Krita?
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
@dessert this one reddit is funny tho
 
10:41 AM
@Videonauth well it's reddit – don't get sucked into it
 
to late lol
 
 
2 hours later…
12:31 PM
1
Q: Run skript on shutdown and restart

Alex44Based 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...

 
 
1 hour later…
1:41 PM
0
Q: Unusual Error running “rce-container localhost” in Ubuntu

RuhlI 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')...

 
1:55 PM
Hello :)
 
@cl-netbox Hi!
 
@dessert Hi :) Good afternoon to you :)
Great ! sound notifications are working again ...
 
@cl-netbox they were not?
 
@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. :)
 
Just booting my good old Thinkpad T42 – I finally need a server running 24/7 here…
„There's a new Ubuntu version available: 14.04.5 LTS“
:D
 
2:10 PM
wow, need to get that! #IWANTORUNONBLEEDINGEDGE
 
I think I'll rather do a fresh install, if you don't mind. ;P
a blast from the past this is…
 
but well it still runs
 
It even has a Thinklight!
@Videonauth and smoothly it does (at least lubuntu)
 
0
Q: Strange behavior of su with custom PAM

Roman R.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...

 
Hi @Videonauth :) Good afternoon :)
 
2:19 PM
o/ Boxy :)
 
@Videonauth is arch not enough of that ??? :D :D :D
 
:D
 
actually im trying to figure out how to properly do regex matches in python3
 
@Videonauth and ? did you succeed ? :)
 
2:22 PM
@Videonauth re.sub?
 
@dessert yes including that :)
@cl-netbox i think i got it figured so far
 
@Videonauth that's what I expected from you :)
 
i found the docs quite helpful…
 
@dessert one of the best sources :)
 
>>> import re
>>> text = "this is just a simple text."
>>> re.sub(r'simple ', r'n important ', text)
'this is just a n important text.'
>>>
mhmm not quite right
ah i see
>>> re.sub(r' simple ', r'n important ', text)
'this is just an important text.'
 
2:26 PM
@Videonauth what is this good for ?
 
just to test replacement?
 
aha
 
@Videonauth well for strings there's the replace() method: tutorialspoint.com/python/string_replace.htm
 
@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
 
@Videonauth for example?
 
2:31 PM
the text replacement was just a test
 
I figured, just wanted to mention the simple way – that was merely for myself than for you, I know you know python much better than me. ;P
 
@Videonauth Isn't it more easy to simply add and remove files in the /etc/apt/sources.list.d folder ? :D
 
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
 
and you want to perform what sed 'op1;op2;op3' <test1 >test_changed1 would do, just in python?
 
@dessert exactly :) as a sub functionality
 
2:35 PM
@Videonauth okay :)
 
or even write complte new lists from a set of blueprints
 
but the user should provide it as a perl expression? why? why not make the user adapt the input to re.sub's needs?
 
@dessert this is what im actually trying to figure out
the rest then is easy peasy
 
@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 ? :)
 
2:40 PM
@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"
that is the case im writing this tool for
 
@Videonauth I know ... but those kinda guys will always have problems - with a tool or without ... :D
 
Ah, @Videonauth is still here. Good.
Now I can bug you about raspberry pi questions. :p
 
@cl-netbox sure but it is simply easier to tell them heres is a tool run it with -c clean new and be done ;)
 
@Videonauth if that is what you can achieve with your tool, they should give you something ... ! :)
 
@cl-netbox ah i don't care, its actually fun to figure this all out
@JohnP Oh dear :P
 
2:44 PM
@Videonauth but when your tool only deletes the malformed file ... then IDK ... :D :D :D
 
@Videonauth Nah, not really. At least not yet. I'm just figuring out which kit I want to get.
 
@Videonauth that's true ... I know what you mean. :)
 
@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
 
@Videonauth thing is that the addresses and parameters change very often ... :)
 
@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)
 
2:48 PM
@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.
 
@JohnP Pi3 B has wireless and bluetooth
 
@Videonauth oh, excellent. That must be new, they didn't ahve that the last time I looked at them.
 
@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. :)
 
@cl-netbox yep not always but i get your point
@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
 
@Videonauth Just saw this kit on amazon.
Comes with a preinstalled os, can you replace it with an ubuntu? That's what I ahve the most experience with.
 
2:55 PM
@JohnP you can place whatever you like on the SD card as long you have a computer with an sd card reader to write it
im using for that an USB adapter to plug the cards on my main pc
 
kk.
agh. My work blocks thepihut.
 
lol
well you can bookmark it for later or find it in the chat history then
the pi without any extra costs there 32 US$
 
phone-> :)
 
but that set you found at amazon is a reasonable price for what it is including
 
pihut is sold out of a lot of their starter kits.
wonder why... ? :p
 
2:59 PM
because retailers bought them off i guess and making a few bucks on them
god, they flag really everything nowadays
 
Somebody flag the tool comment?
this kit also looks interesting. More than I need, really though.
 
@JohnP no not here in this room
 
@Videonauth Oh, you're a 10k user. You've got some of the tools.
 
@JohnP thats a nice one if youre into electronics and so on
exactly
 
@Videonauth Not yet, but eventually want to do a pi controlled reptile habitat or paludarium.
 
3:04 PM
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
#firstworldproblems
 
21 mins ago, by cl-netbox
@Videonauth if that is what you can achieve with your tool, they should give you something ... ! :)
I know some rooms where that would have been flagged immediately.
 
yeah , not here luckily :)
and i hope we can keep the insanity of flagging all and everything out of this room :)
 
0
Q: No root access to Ubuntu VM using Ansible

epR8GaYuhI 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: ...

 
5 hours ago, by Videonauth
user image
^@cl-netbox
 
@Videonauth hahaha ... stable version 3.0 not even released and now we're getting 4.0 preview ??? :D :D :D
 
3:14 PM
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
@cl-netbox and yes it is the daily-master repo
 
@Videonauth for such cases maybe using flatpack (or snap) would be a good idea ... :D
 
@cl-netbox I ... hate ... snap packages :P
nope as long i can get it from a ppa I'm happy
and i know enough to solve the dependency problems by hand
 
@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. :)
 
cool will have to have a look at this
 
@Videonauth Simply install flatpack and then execute flatpak install --from flathub.org/repo/appstream/org.videolan.VLC.flatpakref ... that's all. :)
@Videonauth shit ... https:// is missing in front of flathub ... (why does this happen in the chat room ?) add it please ! :)
 
3:32 PM
it is not missing it has transfereed the link to a clickable one
 
hmmm ... okay
 
@Videonauth - Went with this kit and a usb micro adapter. And because Prime, I get it all today in about 4 hours. :p
 
@JohnP hahaha now I'm envious :) (kd)
god I love python really. Only one thing sets me off, the 80 character limit per line defined in pep8
 
@Videonauth I'm envious you're early retired :) So it all evens out.
@Videonauth Try COBOL. :)
 
@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
 
3:44 PM
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 Then don't. Too many python people take the suggestions as hard rules.
 
@JohnP if you have an old keyboard around and an old monitor with vga you might want an hdmi to vga adaptor
 
@terdon yeah, well i whish i could tell flake8 to not parse line length as a problem
 
3:53 PM
@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.
 
ha found it
language: python
python:
  - "3.6"
install:
  - pip3 install -r requirements.txt --upgrade

script:
  - flake8 --max-line-length=120 ./
just changed the .travis.yml
 
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:
 
@dessert catchy tune that is :)
 
Heh, yes. Just don't pay close attention to the lyrics.
 
@terdon hahahaha
 
3:57 PM
> If her daddy's rich take her out for a meal
If her daddy's poor just do what you feel
Say whaaa?
 
yeah that where different times
today IMO we over-think everything for a subliminal meaning or harassment instead of simply living a happy life
2
 
Well, that one isn't particularly over thinking. "If her dady's rich, be nice, but if her daddy's poor, do whatever you feel like, nobody cares"!?
 
I think you're both right, however a text always needs to be interpreted considering the times it was written.
 
but youre aware that this song was made ins a whole different time?
this song is from 1970
 
That's the main problem when it comes to the Bible.
 
I wish that were the main problem with the Bible. There are things in that book that are atrocious no matter when it was written.
 
@Videonauth I liked it because I could name the sections so that it was "Perform Vivi section", Perform Caesarean Section", etc.
 
@JohnP well same you do today with functions :)
and to be honest recursion with functions is a lot nicer to read as recursion in COBOL hehehe
 
4:25 PM
@Videonauth Oh, not change places. I just want to be independent enough to be retired. :p
 
well then you need a lot of money as base capital to sustain yourself only from interest rates you get on that
and then you would have to worry about all the people who are envious of your lifestyle and who might try to get onto your money
not sure if i would like that
 
That's true, but I think I could mange it. :)
@Videonauth I think I have that, but if not they are cheap at the local big box store.
 
4:40 PM
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
using a 3.5 inch jack connector to vga
 
@Videonauth So...if you run it headless, how do you do the bootload and install? Do you hook it up to an HDMI output with a keyboard?
 
@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)
 
@Videonauth Even for the first install?
 
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 Ah, ok. I was unsure how you actually set it up. I was hoping the kit came with a "Step 1...step 3242613" book.
 
4:50 PM
and first thing you want to do is, changing the username and password
since you have a SD card with noobs on it you can simply fire that up when you have a monitor and keyboard
there you can choose what OS to install
 
@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.
To a hospital system.
 
erm ...
not good
 
yeah. This was....99? 2000?
We reported it, dunno if they ever changed it.
 
well thas 17 years back
they probably changed it long time
 
@Videonauth One would hope. But for a root password to just be press enter... :|
 
4:54 PM
the pi images mostly come with a user preset with a certain password, be it Raspbian or Ubuntu, so you might want to change that at some point
and this is best done from the system itself
 
I think when I do the initial boot, I will do it with a kb and monitor attached. Treat it as a desktop until I'm comfortable with the setup.
 
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
 
@Videonauth Good point. Thanks.
 
yes simply start over fresh is sometimes the quickest way to solve oopsies
at least if it is a big oopsie , smaller ones can normaly be solved but take time
 
@Videonauth best way to learn, though.
 
5:07 PM
@JohnP yes or bash your head against a wall at least for a longer time ;) hehehe
depends on the kind of mess up
a simple chmod -R 755 . /* might make your day really bad (note the space between . and /
as it is the command would run on . which is your current directory and then on /* which would mean on root level
or a wrong chown those two are an ideal recipee for desaster when you do typos and use them recursive
 
… which won't do any harm unless you ran it with sudo without any need
 
yep i left the sudo out for a reason ;)
 
@dessert Oh, you don't normally run as sudo? TILT
 
I recommend an alias:
alias chmod='chmod --preserve-root'
 
@dessert which does...what? (linux n00b learning here)
 
5:13 PM
yep makes sense but i like to play with fire anyways
 
@JohnP it preserves root:
> fail to operate recursively on '/'
 
@JohnP when you type for examlpe my above command as sudo it would change the command to chmod --preserve-root -R 755 . /*
which then would prevent that you change things at root level
 
the default is --no-preserve-root – at least according to man chmod on my 16.04 machine
I won't test it. ;P
 
 --no-preserve-root
              do not treat '/' specially (the default)
from man chmod
 
@dessert Oh, go ahead. What's the worst that could happen?
 
5:18 PM
@JohnP famous last words
for that reason i have VMs
there i can take a snapshot mess it up and simly later revert to said snapshot
 
@JohnP Your system won't work any more, not more and not less. :)
 
@dessert Reminds me of the Eddie Izzard skit "...you mean I've deleted the internet?!?"
 
0
Q: Can't open terminal after using chmod

GCPI 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
}
 
man, did my first pull request
I'm not even sure how was I supposed to do it, is it more polite to start an issue first?
 
5:28 PM
git --force pull ? :P
@IanC you create a fork, work on that untill you think it is ready then you create a pull request on the original project
 
nah, I did it through GitHub, only forked the repository, worked on it, git push to my repo, then pull request through the website
 
thats probably the easiest way, can be done with command line as well but takes a while to know it by heart
 
@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
 
it was quite a small fix, not even a bug, but a behavior that I believe wasn't the most intuitive
have you ever used Dragdealer?
 
5:38 PM
@IanC does not ring a bell so i would tend to say no havnt used it
 
it's a really cool JS component for doing drageable objects, like slide bars, slide-unlocks, carousel image sliders or others
I found it those days, plan to use on a website of mine to substitute the <input type="range"> on some places
 
00:00 - 18:0018:00 - 23:00

« first day (2638 days earlier)      last day (2322 days later) »