Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
User Journal

Journal: How to make "mobile-friendly" web pages 2

Journal by mcgrew

I finally got the full texts of Nobots and Mars, Ho! to display well on a phone. My thanks to Google for showing me how, even if the way they present the information is more like trial and error, but it's actually easy once you jump through all their hoops. I'll make it easy.

First, you need to make sure it will fit on a phone's screen. I've been preaching for years that it's stupid to use absolute values, except with images; if you don't tell the browser the image size and you are using style sheets, your visitors will be playing that annoying "click the link before it moves again" game.

Some of you folks who studied this in college should demand your tuition be refunded, because they obviously didn't teach this.

Giving tables, divs, and such absolute values almost assures that some of your visitors will have that incredibly annoying and unprofessional horizontal scroll (*cough* slashdot *cough*).

None of the elements (images, divs, etc) can be more than 320 pixels wide, and you need to tell the browser to make it fit on a screen. To do this, add this meta tag to your page's head:

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Next, you need to make sure the text is large enough to read without double tapping. The <p> tag does this:

<p {min-height: 16px}>

This needs to be placed after the <body> tag and before anything having to do with text.

To test it, just pull the page up on your phone. If it scrolls sideways, you need to work on it.

If you're worried about your Google pagerank, Google has a "mobile friendly test" here. If you flunk, well, when Google says "jump"...

My main index page fails their test. To make it pass the test I would have to ruin the desktop/tablet design. As it is now, the text is readably large on a phone but it has a sideways scroll, which is tiny if you hold the phone sideways, and I added a link at the very start of the page to a version that will pass Google's test, looks fine on a phone, not bad on a tablet but looks like excrement on a computer. The main index works fine on a tablet, since I've made it as "mobile-friendly" as possible.

I'd have it redirect if it saw Android or iOS, but it's been fifteen years since I've done that and I've forgotten how.

User Journal

Journal: When did Net Neutrality change? 18

Journal by Marxist Hacker 42

As late as last year, I remember Net Neutrality being a libertarian free market concept- preventing a crony corporate takeover of the Internet. Now that it is being implemented by the FCC, it has suddenly become a crony corporate (Democrat Brand) takeover of the Internet, that all good libertarians should oppose.

I haven't had political whiplash like this since the Catholic Church went from those nice monks doing AIDS research and running hospice care centers to those bigots who want to keep THOSE people from marrying.

User Journal

Journal: President Jarrett really should teach her no-talent rodeo clown to lie better

Journal by smitty_one_each
IowaHawk:
WH: historically cold winter to blame for weak GDP
WH: we're having hottest year in history

I'm not really ashamed of my country, but #OccupyResoluteDesk is a total piece of work. To say nothing of his sycophants littering this site.
The real question is whether President Jarrett can submarine Her Majesty enough to allow running Michelle, so that President Jarrett can hold power for another 8 years.
User Journal

Journal: For "Lying with flair and abandon" values of "some mistakes"

Journal by smitty_one_each
Clinton Foundation admits making mistakes on taxes. Do. Tell.
I pretty much think every utterance from a Clinton is at least corrupted, if not mostly a bucket of lies.
In response to Barabara Hudson's JE, I should have also said that, sure, Schweitzer is peddling a book, and has a history of selling books with heavy claims. To address d_r's inevitable accusation, I'm not saying that we should take Baltimore-style action outside of a proper legal proceeding.
Restated, just because Her Majesty uses the Rule of Law like a chamber pot is no excuse to join her degeneracy.
Rather, there should be support for actual reform.
Anyway it hasn't mattered Fig #1 these last years. The electorate seems to crave hell. Well, there are people who will deliver.
User Journal

Journal: Sorry I haven't written...

Journal by mcgrew

I have two new stories nearly finished, but I've decided to see if I can sell first publication rights to a magazine. If everyone rejects them, I'll post them then. If one is accepted, it will likely be quite a while before I can post.

With three books in the works I've been really busy. Hell, I've been working harder since I retired than I did when I worked! I got the index pages to my three published books and the "coming soon" page for Yesterday's Tomorrows "mobile-friendly". I don't know why I'm bothering; almost nobody surfs in on a phone or from Google. But at any rate, I got the book Triplanetary and the first two chapters of Mars, Ho "mobile friendly" as well. The Time Machine is next; the epub versions of my books are better than the HTML versions, on a phone, anyway. Twain, Dickens, and God are going to be mobile-hostile for quite a while because of all the artwork in them.

I couldn't make the main index "mobile friendly" without making it look like crap on a computer screen, so I made a copy "mobile friendly", posted it as mobile.html and added a link from the main index.

Site stats say Google has spidered, so I tried to find Mars, Ho!" by googling on the phone. Nothing but Marsho Medical Group, Andy Weir's The Martian, and a facebook page for someone named Mars Ho. Googling "Mars, Ho! novel" did bring up Amazon's e'book copy halfway through the page.

"Mars, Ho! mcgrew" brought up Amazon's e'book first, followed by the mobile-hostile main index, THEN the actual Mars, Ho! index which IS "mobile friendly" (it passed their test). And I thought "mobile friendly" was supposed to raise your ranks? What's up, Google?

The second copy of Yesterday's Tomorrows came yesterday. I didn't expect until the day after tomorrow. I went through it twice yesterday and it's almost ready; there is still a little work before it's published, but it won't be long.

It's a really nice book, with stories by Isaac Asimov, John W Campbell, Murray Leinster, Frederik Pohl, Neil R Jones, Kurt Vonnegut, A. E. Van Vogt, Theodore Sturgeon, Poul Anderson, Phillip K Dick, Frank Herbert, James Blish, Lester del Rey, and Jerome Bixby. Covers of the magazines they appeared in are shown, with short biographies and photos of the authors. It's also well-illustrated with illustrations from the original magazines.

Random Scribblings: Junk I've littered the internet with for two decades will probably be next year.

Oh, how do you like my new shirt?

Slashback

Journal: I READ THE NEWS TODAY OH BOY 6

Journal by Jeremiah Cornelius

Your friends

User User's... Last Journal (H)elix1 (231155) friends fans Wednesday October 03, 2007 @09:41PM A nonymous Coward (7548) friends fans adpsimpson (956630) friends fans ak3ldama (554026) friends fans Saturday May 28, 2011 @05:01AM AKAImBatman (238306) friends fans Thursday October 02, 2008 @01:12PM alfaiomega (585948) friends fans Alioth (221270) friends fans Saturday October 16, 2010 @08:34AM AndroidCat (229562) friends fans Anonymous Brave Guy (457657) friends fans Artifakt (700173) friends fans artifex2004 (766107) friends fans Friday July 25, 2008 @12:29PM Ashtead (654610) friends fans Thursday February 06, 2014 @09:03PM atomico (162710) friends fans Attaturk (695988) friends fans AYauFu (708368) friends fans Azadre (632442) friends fans Azi Dahaka (625546) friends fans babbage (61057) friends fans Tuesday April 12, 2005 @01:34PM BandwidthHog (257320) friends fans Tuesday February 20, 2007 @05:20AM banky (9941) friends fans Thursday February 08, 2007 @03:52PM bcrowell (177657) friends fans bechthros (714240) friends fans Wednesday August 06, 2008 @12:12AM Behrooz (302401) friends fans benhocking (724439) friends fans Wednesday December 05, 2007 @03:20PM Bertie (87778) friends fans bgfay (5362) friends fans bhima (46039) friends fans Tuesday March 24, 2009 @03:56PM Billosaur (927319) friends fans Wednesday January 23, 2008 @03:33PM Bimo_Dude (178966) friends fans Friday June 20, 2008 @10:14PM Black Parrot (19622) friends fans BlackHat (67036) friends fans Tuesday December 30, 2008 @12:10AM BlackTriangle (581416) friends fans blincoln (592401) friends fans Monday March 22, 2004 @04:14AM blinder (153117) friends fans Saturday January 29, 2011 @03:15AM Bloater (12932) friends fans Sunday March 19, 2006 @01:59AM BlueShirt (919167) friends fans Bluesman (104513) friends fans bonch (38532) friends fans btlzu2 (99039) friends fans Friday March 09, 2007 @05:53PM BWJones (18351) friends fans Monday October 24, 2011 @10:35PM capoccia (312092) friends fans Thursday July 30, 2009 @12:31PM Captain Splendid (673276) friends fans Monday February 02, 2015 @04:26PM CastrTroy (595695) friends fans Catamaran (106796) friends fans ces (119879) friends fans Tuesday June 29, 2010 @04:53PM Chacham (981) friends fans Thursday April 23, 2015 @02:10PM Chris Burke (6130) friends fans circletimessquare (444983) friends fans Thursday January 22, 2015 @10:43PM clem (5683) friends fans Colonel Korn (1258968) friends fans Communist_Supervisor (1062168) friends fans Conspiracy_Of_Doves (236787) friends fans Corporate Troll (537873) friends fans Tuesday November 30, 2010 @12:24PM crotherm (160925) friends fans Friday March 18, 2005 @10:33PM crow_t_robot (528562) friends fans curtisk (191737) friends fans Wednesday December 21, 2011 @05:03PM CyberBill (526285) friends fans cyranoVR (518628) friends fans Saturday January 31, 2009 @03:00AM DaedalusHKX (660194) friends fans Thursday April 24, 2008 @11:24PM damn_registrars (1103043) friends fans Thursday April 23, 2015 @08:03PM Damvan (824570) friends fans Dan Ferguson (691027) friends fans Darby (84953) friends fans darkpixel2k (623900) friends fans Datana (516170) friends fans dave-tx (684169) friends fans DaytonCIM (100144) friends fans Sunday November 11, 2012 @02:30AM dbIII (701233) friends fans dcam (615646) friends fans

User Journal

Journal: "O'Keefe takes his case against John Doe to U.S. Supreme Court" 30

Journal by smitty_one_each

I guess our favorite Pavlovian degenerate will claim this is just a stunt, there's no "there" there, and it doesn't matter until certiorari is granted.
What's the difference between a mallard with bird flu and a Wisconsin Lefty?

Oh, and I guess the WSJ urging SCOTUS to take the case is just an example of conservative media bias, or something.

User Journal

Journal: Slashdot's Favorite Governor Rides Again 11

Journal by smitty_one_each
Scooby Snack (no-Chiptle division) for the haters who gotta hate my links. Mother Jones:

Scott Walker Celebrates Earth Day by Proposing To Fire 57 Environmental Agency Employees

Happy Earth Day! Today is a day we can all band together and share our love for this beautiful planetâ"or at least drown our sorrows about climate change with nerdy themed cocktails. Later today, President Barack Obama will mark the occasion with a climate-focused speech in the Florida Everglades. Wisconsin Gov. Scott Walker, a frontrunner for the GOP presidential nomination, had a different idea: Fire a big chunk of the state's environmental staff.

Troll level: Grand Master.

User Journal

Journal: So here's a good WI test for you 63

Journal by smitty_one_each
If pockets as deep as Rush Limbaugh are calling you out by name for your perfidy in the Wisconsin John Doe prosecutions, he's pretty confident that even the smartest shark in the tank isn't going to get Ol' Rush To Judgement convicted for libel, no?
A big fat whale like Rush would be sooooo tasty for the Left. They'd probably pour the kind of resources into taking Rush down that they did in trying to unseat Scott Walker, if they didn't know Rush was dealing that thing which to the Left is like sunlight to a vampire: the truth.
The usual suspects may now vaporize the messenger.
User Journal

Journal: "Wisconsin's dirty prosecutors pull a Putin" 18

Journal by smitty_one_each
Instapundit in USA Today:

When Vladimir Putin sends government thugs to raid opposition offices, the world clucks its tongue. But, after all, Putin's a corrupt dictator, so what do you expect?
But in Wisconsin, Democratic prosecutors were raiding political opponents' homes and, in a worse-than-Putin twist, they were making sure the world didn't even find out, by requiring their targets to keep quiet. As David French notes in National Review, "As if the home invasion, the appropriation of private property, and the verbal abuse weren't enough, next came ominous warnings. Don't call your lawyer. Don't tell anyone about this raid. Not even your mother, your father, or your closest friends. ...This was the on-the-ground reality of the so-called John Doe investigations, expansive and secret criminal proceedings that directly targeted Wisconsin residents because of their relationship to Scott Walker, their support for Act 10, and their advocacy of conservative reform."

And the slack-jawed syconphants on here that support these abuses can just fall off the planet. History, I surmise, will show, to Wisconsin's credit, that the American residents of the state effectively and peacefully threw off what was tantamount to a Commie takeover.

User Journal

Journal: step 1, count your money, step 2, send it in

Journal by Bill Dog

From the they-would've-never-made-this-song-later-in-their-career dept:

Let me tell you how it will be
There's one for you, nineteen for me
Should five percent appear too small
Be thankful I don't take it all

If you drive a car, I'll tax the street
If you try to sit, I'll tax your seat
If you get too cold, I'll tax the heat
If you take a walk, I'll tax your feet

Don't ask me what I want it for
Taxman, Mister Moonbeam (CA-540)
If you don't want to pay some more
Taxman, Mister O (1040)

Now my advice for those who die
Declare the pennies on your eyes
'Cause I'm the Taxman
Yeah, I'm the Taxman
And you're working for no-one but me

Happy Tax Day! :)

User Journal

Journal: Product Review: Seagate Personal Cloud 5

Journal by mcgrew

Around the first of the year all three working computers were just about stuffed full, so I thought of sticking a spare drive in the Linux box, when the Linux box died from a hardware problem. It's too old to spend time and money on, so its drive is going in the XP box (which is, of course, not on the network; except sneakernet). I decided to break down and buy an external hard drive. I found what I was looking for in the "Seagate Personal Cloud". And here I thought the definition of "the cloud" was someone else's server!

I ordered it the beginning of January, not noticing that it was a preorder; it wasn't released until late March. I got it right before April.

I was annoyed with its lack of documentation -- it had a tiny pamphlet full of pictures and icons and very few words. Whoever put that pamphlet together must beleive the old adage "a picture is worth a thousand words". Tell me, if a picture is worth a thousand words, convey that thought in pictures. I don't think it can be done.

I did find a good manual on the internet. For what I wanted, I really didn't need a manual, but since I'm a nerd I wanted to understand everything about the thing. Before looking for a manual I plugged it all up, and Windows 7 had no problem connecting with it. It takes a few minutes to boot; it isn't really simply a drive, it must have an operating system and network software, because it looks to the W7 notebook to be another file server. Its only connections are a jack for the power cord and a network jack.

The model I got has three terrabytes. I moved all the data from the two working computers (using a thumb drive to move data from XP) and the "cloud" was still empty. Streaming audio and video from it is flawless; I'm completely satisfied with it, it's a fine piece of hardware.

However, it WON'T do what is advertised to do, which is to be able to get to your data from anywhere. In order to do that, Seagate has a "software as a service" thing where you can connect to a computer from anywhere, but only the computer and its internal drives, NOT the "personal cloud". And they want ten bucks a month for it.

I downloaded the Android app, and I could see and copy files that were on my notebook to my phone, but I couldn't play music stored there on it. I uninstalled the crap. "Software as a service" is IMO evil in the first place, but to carge a monthly fee to use a piece of crap software like this is an insult. Barnum must have been right.

If you're just looking for an external hard drive, like I was, it's a good solution. If you want what they're advertising, you ain't gettin' it. The Seagate Personal Cloud's name is a lie, as is its advertising.

The earth is like a tiny grain of sand, only much, much heavier.

Working...