People
Repo info
Activity
LizPrescott
@LizPrescott
A little ot, but does anyone have good tutorials for beginner(ish) Linux users (ubuntu, in case that matters)? I've actually been using it for a while but always struggle to set up a new dev environment. Feel like I need to get back to basics.
Kelly
@hurtstotouchfire
Hmm, interesting. I feel like everyone has a different opinion on what the basics are. Are you looking to learn about things related to setting up a dev env specifically, or just Linux tools in general?
For the latter, I can definitely imagine a good tutorial covering like, strace, sed, grep, bash scripting basics, and some networking tools.
Kelly
@hurtstotouchfire
If you find anything good, maybe add a section to https://github.com/betterangels/better-angels/wiki/Tech-open-office-hours ? (or some other logical wiki-place, @meitar may know better)
I have a bash tutorial I've been working on but it needs polish
Meitar M.
@meitar
@hurtstotouchfire @LizPrescott We used to do video webinars for how to set up a development environment using virtual machines based on Vagrant, but I don't think we ever created documentation/reference material for that. :( It was part of the cornily named "Hogwarts for Hackers" project we were doing last year. This has since been transformed into a number of other projects that are more well-scoped but none of these other things have returned to development. We're mostly doing basic sysadmin and security stuff, which I guess are also useful but adjacent to what you're really asking for.
LizPrescott
@LizPrescott
Yes, the latter. The problems I tend to run into seem specific to Ubuntu, the default web path (which I finally figured out eventually) for example.
Meitar M.
@meitar
What do you mean by "default web path"?
LizPrescott
@LizPrescott
In Ubuntu, you have to put your project code under /var/www/html in order to see it in your browser. I had a hell of a time with that when I first set up WordPress a long time ago. I got that part now, but it's an example of the weirdness of Ubuntu that usually isn't in set up documentation.
Meitar M.
@meitar
Oh, okay. You're probably using the apache2 package, maybe? Like, directly, not in a virtual machine?
That path is actually a server configuration value, it's called the "Document Root." As in, "the folder exported as the root path in the Web addresses (URLs) for this server."
LizPrescott
@LizPrescott
Yes, I think so.
Meitar M.
@meitar
Yeah. Cool. :) That's a server running directly on your OS. Learning to configure that kinda thing is super useful.
LizPrescott
@LizPrescott
Yea, I kind of just google my way through every time....I would really like to know what doing.
*i'm
Meitar M.
@meitar
Yeah, it would be great to start up the webinars again but we don't yet have the critical mass needed for that.
LizPrescott
@LizPrescott
Oh, I didn't mean to suggest that kind of time be spent on my inquiry. I just wondered if anyone had an existing resource.
Meitar M.
@meitar
No worries. Sadly, I don't know of a good one.
Kelly
@hurtstotouchfire
Yeah, @LizPrescott some of this stuff is conventions that assume specifics about your stack (i.e. the specific software you're using like apache, maybe nginx, some quirks about Ubuntu)
My primary day job involves coding in Ruby on Rails, which is heavily conventional https://en.wikipedia.org/wiki/Convention_over_configuration
it is nice because you can follow tutorials that make a lot of assumptions about things which are actually configurable such as where you put all your image assets or your javascript, how you name modules and classes, even a bunch of magical strings to handle routing
Kelly
@hurtstotouchfire
http://guides.rubyonrails.org/routing.html#overriding-the-named-helpers
So many RoR developers spend months or maybe even years working with the framework without ever fully understanding how Rails is automagically converting edit_image_path(42) to /photos/42/edit and mapping it to a PhotosController (that has to be in app/controllers) and then looking for an instance method named edit.
And if you are working in an application that has some non-standard routing, suddenly you have to learn this stuff.
Working with Linux or various common web stacks is similar. Communities have made a bunch of implicit collective agreements, some well documented, some not so well.
I guess what I'm saying is that questions like "Where is the default web path?" assume that you're using a stack which has a default web path, so you're already in the context of a specific stack, and not Linux in general.
Kelly
@hurtstotouchfire
Learning about web stacks is really useful though. You might look for LAMP resources: https://en.wikipedia.org/wiki/LAMP_(software_bundle)
You could also look for just Linux specific tutorials, which to me means the tools that are commonly used across many Linux distributions, and commonly available in package managers for Debian / Ubuntu and Redhat / CentOS, and perhaps specifically the tools which you might use as a programmer for debugging, exploring, and figuring out what's going on.
If reading about LAMP or some specific web framework is like learning to cook salmon in a bunch of amazing dishes, then learning about these tools is learning to fish or learning to fix your oven or something.
https://github.com/betterangels/better-angels/wiki/Hogwarts-for-Hackers#project-contributor-track covered a couple of these fundamental tools (git and virtual machines)
Meitar M.
@meitar
^-- That is all very good advice, IMHO. Sometimes the first step in this is figuring out where one tool ends and the other begins. It's not always clear from the outset about which software is responsible for which task. "Serving a web page" involves many more parts than just a Web server, but where the responsibility of the Web server ends and the responsibility of the operating system begins is one of those confusing pieces that can take some time and requires some familiarity to get clear on. I'm not sure I have any better advice other than what was already shared about learning to use a specific tool and asking knowledgeable friends questions about what you're learning as you're learning it.
LizPrescott
@LizPrescott
Thanks @hurtstotouchfire and @meitar !
LizPrescott
@LizPrescott
I hope this isn't too off topic, and I'm concsious that I'm asking a lot of the group and not giving a lot yet buuut....does anyone know if there's a file sharing system that actually respects data privacy? As in, your images won't become part of some marketing profile?
aguestuser
@aguestuser
is it okay if the files are shared only temporarily? (ie: if the link to them expires after 30 days?)
if so, i'm a fan of https://share.riseup.net
if not...
i guess i'd want to know a bit more about what format you want to share the files? something like dropbox where the share-ee can browse through folders to look at stuff? or something like flickr? (you mentioned images)
aguestuser
@aguestuser
if "something like dropbox," there's a decent-ish couple of self-hosted "alternative-to-dropboxes": owncloud and nextcloud.
as well as the sandstorm suite of apps (like the one woodbine and other groups use for their calendar)
aguestuser
@aguestuser
but the "self-hosting" bit is a bit tricky to get up and running. a couple services (like this one) offer to do it for you, but they're expensive! would love to hear from other folks on this list if they know of free/cheap alternatives! (or better resources for how to hand-roll a self-hosted file-sharing service)
@LizPrescott -- was that at all helpful?
LizPrescott
@LizPrescott
It is! We actually started with Dropbox but ran out of room..... We have a toddler and want to share the pictures and videos with family, but we have some protective instincts maybe that make us uncomfortable with the idea of just sharing them on Facebook or using Google photos (which is also no longer big enough. Lol). I like Google photos' functionality though because other people can add to the album. Just don't want Google to have the photos, if that makes sense. I will definitely look into the services you mentioned!
Thank you!
aguestuser
@aguestuser
@LizPrescott yay! would love to hear how it goes! i think your protective instincts are well-warranted and wish you luck figuring out an alternative solution! :)
Alex Wagner
@alexdwagner
Hi room :) excited that this channel exists
Meitar M.
@meitar
@LizPrescott @aguestuser Regarding file sharing, our anarchist friends in NYC put this together for exactly that need:
See also
Welcome, @alexdwagner!
LizPrescott
@LizPrescott
Thanks, @meitar