From 863641afa60f46d271bf89dea256b2d42fe18de1 Mon Sep 17 00:00:00 2001
From: mjfernez Why would anyone want to use the Internet, really? There is actually purpose to connecting all the computers in the
+world with near-instant speed beyond just streaming television, phishing
+scams, pornography, punditry, and Fortnight competitions. Unfortunately, almost none of us use the Internet for it's intended
+purpose: finding infomation. Writing an angry tweet to a celebrity or posting a picture of your
+cat seems to be second nature for most people, but converting a picture
+from a PDF or looking up a study (or even a word!) you saw in an article
+is something else entirely. While that's in part the fault of our laziness, it's equally the
+fault of what the Internet has become. For one: there's just so much more stuff now; it's hard to
+know exactly where to start and who to trust. And so much of that stuff
+is now garbage, either in the way it's presented, with
+disruptive ads that don't close correctly, or in the way it's written:
+vague, misleading, or straight incorrect. For two: no one really teaches you how to use this thing do they?
+There are no courses on "How to use a search engine" or "How to find
+good posts on a forum," and definitely not on "How to write
+good posts on a forum." But these are exactly the kinds of skills you
+really need if you want to navigate the modern world without getting
+constantly distracted, misled, or totally lost. There are of course, countless guides on "netiquette" geared towards
+every possible internet subculture you can find. While many of them have
+influenced this document and give many helpful tips on writing good
+informative posts, none of them really go over what I think is most
+important: what to do with the information you're reading. This will probably be an evolving document as new services and
+websites become available (or go down), but much of this material in the
+beginning should be pretty generally applicable no matter what services
+are available. This is your main vehicle to the information super highway (remember
+when they used to call it that?) Almost everyone knows how to use a web browser to click links and get
+to where they need to go, but use only a fraction of the software's
+power. Web browsers at this point are as complicated as operating
+systems. Aside from basic HTML and javascript rendering, most web
+browsers are expected to provide: And that's only what I can think of... As for which search engine to use: you should use all of them, until
+you get the results you need. In my experience, none of the major search engines are particularly
+good and I get inconsistent searches on all of them depending on what
+I'm searching. There is a lot of preaching these days about privacy
+concerns, but I don't really believe any service is more "private" than
+another. These are all privacy nightmares, arguably by design. Your best
+bet is just to search often and as many platforms as you can. Searching for specific pieces of information is rather simple. "Who is the prime minister of England?" "When did World War 2 start?" "How many roads must a man walk down?" "Funky Kong talks you through your divorce" All of these queries entered as is will get you the result you're
+looking for. But how about something we can't boil down to a single
+question? Like how to do calculus? Or how to learn Python? You could try those phrases as a start. But you're not likely to get
+a specific answer out of this. ... What if we wanted to bring up a funny cat meme we saw on a forum
+three weeks ago? Searching for "funny cat meme" is not going to get you
+very far. A common complaint lodged at me whenever I recommend Wikipedia is
+that it's not a source of truth since they found X mistake somewhere, or
+made Y edit when they were a teenager that's still there. No one has
+ever (or should ever) claim Wikipedia is a source of truth on it's own.
+But you can use it to find more sources and maybe get a little
+closer. Many in the advertising world will boast about using a VPN for
+anonymity, or using a VPN in conjuction with Tor to "increase privacy."
+This is simply a misunderstanding of terms. A VPN provides
+privacy of the user's connection since it provides
+encryption--only the VPN provider can "see" what is searched. The goal
+of Tor is anonymity not privacy. Anonymity means "no one knows
+who you are" not "no one knows what you're doing." Technically, traffic
+is encrypted between nodes of the Tor service, so some level of privacy
+is provided as well, but this is most effective when using hidden
+services, not using Tor in general.Why?
+How to use a web browser
+
+
+How to use a search engine
+Basic search syntax
+How to read and find
+scholarly articles
+How to use Wikipedia
+How to find articles
+with Google Scholar
+Advanced Topics
+How to use tor to browse
+anonymously
+
For any HTML tag, you can set an attribute that applies everytime it appears in an HTML document that links to the CSS file. A common formatting I use for paragraphs is:
-p {
- margin-top: 1.5%;
- margin-bottom: 1.5%;
-}
+
+ p {margin-top: 1.5%;
+ margin-bottom: 1.5%;
+ }
And to highlight code, like you've been seeing, I use:
-code {
- display: inline-block;
- font-size: 125%;
- background-color: #d8d8d8;
- white-space: pre-wrap;
- word-wrap: break-all;
-}
+
+ code {display: inline-block;
+ font-size: 125%;
+ background-color: #d8d8d8;
+ white-space: pre-wrap;
+ word-wrap: break-all;
+ }
I get pretty much all the attribute names just by looking them up here. But in order these lines:
Images get more styles in CSS than I can document in detail, but one important bit you'll want to probably add to all images is the following.
-img {
- max-width: 100%;
- height: auto;
- width: auto;
-}
+
+ img {max-width: 100%;
+ height: auto;
+ width: auto;
+ }
This does the following:
In addition to this basic stuff, you can style your images heavily using the filter option like so:
-img.gray {
- filter: grayscale(100%)
-}
+.gray {
+ imgfilter: grayscale(100%)
+ }
Applied:
You can read lots more options for image formatting here and about
@@ -520,19 +520,19 @@ the filter property For one, that will only dim black-and-white images; anything else
will just turn to mush like this: Instead, I'd like it to just apply to select elements; I can do so by
extending the tag with a class. On the CSS side: And to implement it in HTML:img {
- filter: invert(50%);
-}
+
+ img {filter: invert(50%);
+ }
+img.icon {
- filter: invert(50%);
-}
.icon {
+ imgfilter: invert(50%);
+ }
+<img class="icon" src="/static/media/rss.svg" />
.svg" /> <img class="icon" src="/static/media/rss
Use the div tag to make
sections
@@ -542,19 +542,19 @@ Let's say you wanted to center a heading, a paragraph, and a picture,
and constrain them to only part of the page, so that there's some
margins on the left and right. We can put them all in one content
section like this:
.content {
- text-align: center;
- max-width: 85%;
-}
+.content {
+text-align: center;
+ max-width: 85%;
+ }
Notice, no leading tag. This can be applied to any element, but usually we use a placeholder tag called "div." You can think of "div" like a divider for content of similar style. In the present example, we can use the class we made with a div tag:
-<div class="content">
-<h1>My cat</h1>
-<p>He's a cool cat</p>
-<img src="/cat.jpg" />
-</div>
+<div class="content">
+<h1>My cat</h1>
+<p>He's a cool cat</p>
+<img src="/cat.jpg" />
+</div>
In early development, reading this site on my phone was a painful experience. Fortunately, in addition to some tricks above like the @@ -563,12 +563,12 @@ allow you to directly manipulate your website based on properties of the user's device or web browser.
I won't go into as gory details as here or here, but for your basic smartphone, you can copy and paste this block:
-@media screen and (max-device-width: 480px) {
- // override your tags here
- body {
- font-size: 125%;
- }
-}
+@media screen and (max-device-width: 480px) {
+// override your tags here
+
+ body {font-size: 125%;
+
+ } }
This basic example makes the text slightly bigger on smartphone screens, but you can change everything you need to. I typically find I need to adjust the padding or the margins since it seems mobile browsers @@ -577,9 +577,9 @@ add a little more style than a typical desktop web browser.
your CSS attributes, so that size is always defined relative to all the other elements. This makes functions like zoom work a lot better. You can for example put a pixel value like this: -body {
- font-size: 14px;
-}
+
+ body {font-size: 14px;
+ }
But this binds the size to 14 pixels which may look great on desktop, but small on a smart phone.