Stories
Slash Boxes
Comments

SoylentNews is people

Log In

Log In

Create Account  |  Retrieve Password


How to make "mobile-friendly" web pages

Posted by mcgrew on Thursday April 30 2015, @07:48PM (#1189)
4 Comments
Code

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.

Relationship Hacking: Part 7 - An Amazing Night

Posted by Snow on Tuesday April 28 2015, @05:05PM (#1187)
1 Comment
/dev/random

Last night was amazing.

You know those moments where you really connect with someone else? When you see them in a new light and everything is great? My wife and I had one of those moments last night.

It was a beautiful evening that felt like summer. My wife had the day off, and had picked up some burgers, beer, and wine for dinner. We started talking about our life, the future, poly, and kids. It was a truly happy moment for me. We imagine a future where my wife can go traveling with someone who likes traveling more than me while I stay home looking after the kids. We talk about opening our own business (a recurring dream we have had for years and years). I told her that I feel like my life is just starting.

Our one year wedding anniversary is coming up pretty soon. We talked about how our relationship was before we got married versus after, and it seems like we were different people then. Much more immature. Much worse communication. Less connection. It's amazing what can change in a year.

My other relationship is progressing very well too. We saw each other again last weekend, and had a great time again. I'm seeing her again on Thursday (for our 4th date). There is a definitely a spark there, and I feel that there is a very good chance that we will have sex that night - my first new sexual partner in over 12 years.

I am happy and loving life. It's been a long time since I've felt this happy.

-- Snow

Sorry I haven't written...

Posted by mcgrew on Saturday April 25 2015, @08:33PM (#1182)
2 Comments
/dev/random

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?

OLD DAYS

Posted by Jeremiah Cornelius on Saturday April 25 2015, @03:54PM (#1181)
2 Comments
Slash

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     Degrees (220395)    friends  fans    Friday June 04, 2010 @07:37AM Deskpoet (215561)    friends  fans    Sunday October 20, 2002 @06:54PM dexterpexter (733748)    friends  fans    Wednesday January 30, 2008 @04:35AM dfetter (2035)    friends  fans    Monday January 12, 2009 @11:34PM djdavetrouble (442175)    friends  fans     Doc Ruby (173196)    friends  fans    Thursday March 31, 2005 @06:48PM Doctor O (549663)    friends  fans    Thursday November 28, 2013 @03:24PM DoktorSeven (628331)   friends  fans    Wednesday December 28, 2005 @12:06AM donpeyote (982729)   friends  fans     doormat (63648)   friends  fans    Friday September 10, 2004 @02:38AM drerwk (695572)   friends  fans     drinkypoo (153816)    friends  fans    Sunday March 08, 2015 @12:44PM Dun Malg (230075)    friends  fans     east coast (590680)    friends  fans     eglamkowski (631706)    friends  fans    Wednesday May 02, 2007 @07:11PM EGSonikku (519478)    friends  fans     einhverfr (238914)    friends  fans    Friday November 04, 2011 @01:10AM ellem (147712)    friends  fans    Friday October 17, 2008 @06:29PM elmegil (12001)    friends  fans    Thursday March 08, 2007 @02:12AM Elwood P Dowd (16933)    friends  fans    Wednesday January 02, 2008 @10:38PM Em Emalb (452530)    friends  fans    Wednesday July 02, 2008 @08:52PM EnderWiggnz (39214)    friends  fans     eno2001 (527078)    friends  fans    Friday September 25, 2009 @05:08PM Enoch (86158)    friends  fans     EnronHaliburton2004 (815366)    friends  fans    Wednesday January 04, 2006 @04:11AM Enry (630)    friends  fans    Monday August 20, 2001 @03:08PM Espinas217 (677297)    friends  fans    Friday February 04, 2005 @02:20PM Ethelred Unraed (32954)    friends  fans    Thursday April 19, 2007 @07:11PM extrasolar (28341)    friends  fans    Friday August 30, 2002 @09:11AM falconwolf (725481)    friends  fans     faolan_devyn_aodfin (981785)    friends  fans     far1h8 (1362897)   friends  fans     Farmer Tim (530755)    friends  fans    Friday July 01, 2011 @09:01AM FidelCatsro (861135)    friends  fans    Wednesday July 26, 2006 @09:50AM fireman sam (662213)    friends  fans    Thursday June 09, 2005 @11:08PM fmaxwell (249001)    friends  fans    Friday November 18, 2005 @11:15PM FooAtWFU (699187)    friends  fans     foobsr (693224)    friends  fans    Friday May 10, 2013 @03:57PM FortKnox (169099)    friends  fans    Monday March 02, 2009 @06:24PM freedom_india (780002)    friends  fans    Monday January 23, 2006 @07:12AM Futurepower(R) (558542)    friends  fans     fyngyrz (762201)    friends  fans    Monday February 08, 2010 @06:38PM GeckoFood (585211)    friends  fans    Saturday August 03, 2013 @01:27AM geoswan (316494)    friends  fans    Monday June 26, 2006 @08:09PM GillBates0 (664202)    friends  fans    Thursday October 13, 2011 @02:20PM giorgiofr (887762)    friends  fans     glh (14273)    friends  fans    Friday February 01, 2008 @04:39PM glindsey (73730)    friends  fans     gmhowell (26755)    friends  fans    Wednesday November 06, 2013 @03:09AM GodfatherofSoul (174979)    friends  fans     Gordonjcp (186804)    friends  fans     grasshoppa (657393)    friends  fans     gregbot9000 (1293772)    friends  fans    Thursday November 20, 2008 @08:50AM Group 2 (1136127)   friends  fans    Monday August 06, 2007 @10:59PM grub (11606)    friends  fans    Thursday April 02, 2015 @07:14PM gt_mattex (1016103)   friends  fans     hairpinblue (1026846)    friends  fans    Tuesday March 27, 2007 @07:13PM Hal_Porter (817932)    friends  fans     Harmonious Botch (921977)    friends  fans    Saturday May 31, 2008 @12:33AM hassanchop (1261914)   friends  fans     Hatta (162192)    friends  fans    Saturday November 17, 2012 @07:30PM HBI (604924)    friends  fans    Wednesday May 09, 2012 @07:19AM headkase (533448)    friends  fans     HiggsBison (678319)    friends  fans     HiThere (15173)    friends  fans     HokieSeas (560745)    friends  fans    Sunday December 09, 2007 @06:24PM HomelessInLaJolla (1026842)    friends  fans    Monday November 03, 2014 @08:47PM hummassa (157160)    friends  fans    Wednesday March 19, 2008 @12:18PM I8TheWorm (645702)    friends  fans    Tuesday August 02, 2005 @06:54PM IamBMETammy (789629)    friends  fans    Sunday December 09, 2007 @04:42PM Iamthefallen (523816)    friends  fans    Tuesday September 14, 2010 @05:13PM iminplaya (723125)    friends  fans    Tuesday May 11, 2010 @02:48AM infonography (566403)    friends  fans     inKubus (199753)    friends  fans    Wednesday January 29, 2003 @07:50AM InsertCleverUsername (950130)    friends  fans    Friday September 30, 2011 @05:55PM J05H (5625)    friends  fans     jacquesm (154384)    friends  fans     Jafafa Hots (580169)    friends  fans    Saturday July 18, 2009 @08:45PM jamie (78724)    friends  fans    Wednesday October 24, 2007 @02:09PM janeowit (909913)    friends  fans    Wednesday March 28, 2007 @05:31AM janina (799700)   friends  fans     jasen666 (88727)    friends  fans     jawtheshark (198669)    friends  fans    Thursday April 09, 2015 @04:00PM JazzLad (935151)    friends  fans     jcr (53032)    friends  fans    Monday October 06, 2014 @07:06AM JCSoRocks (1142053)    friends  fans     jdfox (74524)    friends  fans     jedidiah (1196)    friends  fans     JesseL (107722)    friends  fans    Wednesday September 29, 2010 @04:39PM Jherek Carnelian (831679)    friends  fans     Johann Lau (1040920)    friends  fans    Wednesday August 01, 2012 @11:47AM johndiii (229824)    friends  fans    Tuesday April 07, 2015 @09:16PM jollyreaper (513215)    friends  fans     Jonsey (593310)   friends  fans    Friday August 01, 2003 @05:52PM js7a (579872)    friends  fans    Sunday June 25, 2006 @03:48AM jvonk (315830)   friends  fans     jZnat (793348)    friends  fans    Sunday December 03, 2006 @05:45PM kashani (2011)    friends  fans    Thursday February 19, 2004 @10:28PM kesuki (321456)    friends  fans    Wednesday April 15, 2015 @03:07PM KevinIsOwn (618900)    friends  fans     khasim (1285)    friends  fans     koh (124962)    friends  fans    Saturday March 12, 2005 @12:17AM KoriaDesevis (781774)    friends  fans    Sunday December 11, 2005 @01:59AM KublaiKhan (522918)    friends  fans    Wednesday December 22, 2010 @05:36PM KudyardRipling (1063612)    friends  fans     Kugrian (886993)    friends  fans     Kymermosst (33885)    friends  fans    Saturday November 29, 2014 @12:54AM lafiel (667810)    friends  fans     LanMan04 (790429)    friends  fans     larry bagina (561269)    friends  fans    Monday November 14, 2011 @03:50AM Le Marteau (206396)    friends  fans    Tuesday November 01, 2011 @12:11AM Leftist Troll (825839)    friends  fans     leoPetr (926753)    friends  fans    Wednesday February 07, 2007 @04:04PM letxa2000 (215841)    friends  fans     Lev13than (581686)   friends  fans     LGagnon (762015)    friends  fans     Libby Liberal (928336)    friends  fans    Wednesday November 23, 2005 @04:13PM LilGuy (150110)    friends  fans     loimprevisto (910035)    friends  fans     LordPhantom (763327)    friends  fans     LordSnooty (853791)    friends  fans     loucura! (247834)    friends  fans     MadMorf (118601)    friends  fans    Tuesday March 08, 2005 @02:39PM Maelwryth (982896)   friends  fans     Magada (741361)    friends  fans    Thursday February 14, 2013 @04:21PM Mantorp (142371)    friends  fans    Wednesday September 30, 2009 @01:38PM Marxist Hacker 42 (638312)    friends  fans    Friday April 17, 2015 @04:24PM Master of Transhuman (597628)    friends  fans     MattPat (852615)   friends  fans     mcgrew (92797)    friends  fans    Wednesday April 15, 2015 @05:54PM megaditto (982598)    friends  fans     mekkab (133181)    friends  fans    Tuesday January 30, 2007 @08:45PM mercedo (822671)    friends  fans    Friday October 03, 2008 @11:45AM metlin (258108)    friends  fans    Friday July 20, 2007 @06:58PM mfh (56)    friends  fans    Saturday December 24, 2011 @02:38PM mgkimsal2 (200677)    friends  fans     MillionthMonkey (240664)    friends  fans     miskatonic alumnus (668722)    friends  fans     mofag (709856)   friends  fans     MonTemplar (174120)    friends  fans    Wednesday March 05, 2014 @05:36PM morcheeba (260908)    friends  fans    Wednesday August 03, 2005 @03:21PM morgan_greywolf (835522)    friends  fans    Wednesday March 25, 2009 @11:13PM Morosoph (693565)    friends  fans    Monday November 03, 2008 @01:29PM mpe (36238)    friends  fans     mrchaotica (681592)    friends  fans     mrraven (129238)    friends  fans     Mustakrakish (1309263)    friends  fans    Friday November 27, 2009 @08:09PM mwvdlee (775178)   friends  fans     myowntrueself (607117)    friends  fans     NeeNee3 (601111)    friends  fans    Wednesday August 16, 2006 @05:17PM Nefarious Wheel (628136)    friends  fans    Monday August 17, 2009 @11:34PM NeMon'ess (160583)    friends  fans    Monday July 16, 2007 @01:20AM networkBoy (774728)    friends  fans    Wednesday April 01, 2009 @11:24PM neuromancer23 (1122449)   friends  fans     nick_davison (217681)    friends  fans     nilbud (1155087)   friends  fans    Wednesday December 05, 2007 @08:17AM nizo (81281)    friends  fans    Tuesday November 04, 2014 @12:48PM nocomment (239368)    friends  fans    Tuesday December 16, 2008 @07:37PM Nqdiddles (805995)    friends  fans     nurb432 (527695)    friends  fans    Sunday September 06, 2009 @10:29PM October_30th (531777)    friends  fans    Saturday May 12, 2007 @03:04PM Oculus Habent (562837)    friends  fans    Friday December 19, 2008 @04:20AM Ohreally_factor (593551)    friends  fans    Sunday November 27, 2005 @07:29PM OldHawk777 (19923)    friends  fans    Tuesday June 02, 2009 @11:58PM OMNIpotusCOM (1230884)    friends  fans    Monday July 21, 2008 @09:54PM On Lawn (1073)    friends  fans    Friday August 26, 2011 @06:25PM Original Replica (908688)    friends  fans    Thursday October 23, 2008 @12:34AM OrochimaruVoldemort (1248060)    friends  fans    Monday April 06, 2009 @01:08PM orzetto (545509)    friends  fans     Otter (3800)    friends  fans    Friday January 16, 2009 @01:59AM pAnkRat (639452)    friends  fans     partisanX (1001690)    friends  fans     patio11 (857072)    friends  fans     peacefinder (469349)    friends  fans    Thursday May 06, 2010 @04:48AM phayes (202222)    friends  fans     philharhamica (747847)    friends  fans    Monday February 18, 2008 @12:41PM Philip K Dickhead (906971)    friends  fans    Wednesday August 18, 2010 @05:31AM plover (150551)    friends  fans    Friday August 21, 2009 @04:46AM Plutonite (999141)    friends  fans     poena.dare (306891)    friends  fans     Poppler (822173)    friends  fans    Sunday January 25, 2009 @09:46PM Pr0n K1ng (160688)    friends  fans    Monday July 15, 2002 @03:55PM Profane MuthaFucka (574406)    friends  fans    Wednesday January 18, 2012 @07:56AM queenofthe1ring (768698)    friends  fans    Tuesday November 09, 2010 @04:14PM Quietti (257725)    friends  fans    Wednesday June 21, 2006 @12:17PM Qzukk (229616)    friends  fans    Wednesday December 17, 2014 @08:38PM r0b!n (1009159)   friends  fans     Rachel Lucid (964267)    friends  fans    Sunday May 25, 2008 @04:52PM radish (98371)    friends  fans     radtea (464814)    friends  fans     rak6502 (1002737)    friends  fans     Real World Stuff (561780)    friends  fans    Thursday July 23, 2009 @08:48PM redgrunt (996133)   friends  fans     Red_Foreman (877991)    friends  fans     RegularFry (137639)   friends  fans     reporter (666905)    friends  fans     ResidntGeek (772730)    friends  fans    Thursday December 31, 2009 @01:15AM rk (6314)    friends  fans    Monday July 21, 2014 @05:34AM RM6f9 (825298)    friends  fans    Thursday April 21, 2011 @02:51PM robi2106 (464558)    friends  fans    Thursday May 06, 2010 @05:01PM Roblimo (357)    friends  fans    Wednesday March 28, 2012 @07:36PM rolfwind (528248)    friends  fans     rpedro78 (856967)    friends  fans     russ1337 (938915)    friends  fans     SamTheButcher (574069)    friends  fans    Thursday May 03, 2007 @01:58PM sam_handelman (519767)    friends  fans    Sunday February 14, 2010 @11:40PM SapphoComet (943038)    friends  fans     SatanicPuppy (611928)    friends  fans    Friday October 31, 2008 @03:50AM Schraegstrichpunkt (931443)    friends  fans     Scott Lockwood (218839)    friends  fans    Monday May 10, 2010 @02:13AM ScottCooperDotNet (929575)   friends  fans     ScrewMaster (602015)    friends  fans     Sehanine Moonbow (1159265)    friends  fans    Sunday September 30, 2007 @04:01AM sesshomaru (173381)    friends  fans    Friday January 16, 2009 @09:58PM Shadow Wrought (586631)    friends  fans    Wednesday August 03, 2011 @05:31PM Shakrai (717556)    friends  fans    Friday September 24, 2010 @03:15PM shenanigans (742403)    friends  fans     Shihar (153932)    friends  fans     Short Circuit (52384)    friends  fans    Tuesday August 30, 2011 @04:23PM SiliconJesus (1407)    friends  fans    Wednesday March 26, 2014 @02:24PM skelf (24005)    friends  fans     slothman32 (629113)    friends  fans    Monday December 26, 2011 @01:28PM sm62704 (957197)    friends  fans    Friday September 12, 2008 @07:51PM smitty_one_each (243267)    friends  fans    Saturday April 25, 2015 @12:18PM SolemnDragon (593956)    friends  fans    Friday October 10, 2008 @01:31PM Some Woman (250267)    friends  fans    Tuesday July 08, 2014 @11:59PM Son Danny (873320)    friends  fans     spazmonkey (920425)   friends  fans     spiralx (97066)    friends  fans     sporkme (983186)    friends  fans     spun (1352)    friends  fans    Sunday September 26, 2010 @01:03AM squiggleslash (241428)    friends  fans    Tuesday March 10, 2015 @02:16AM StalinsNotDead (764374)    friends  fans    Tuesday March 08, 2011 @07:17PM Stargoat (658863)    friends  fans    Monday April 01, 2013 @07:32PM StevenMaurer (115071)    friends  fans     stickystyle (799509)    friends  fans     stoolpigeon (454276)    friends  fans    Saturday February 28, 2015 @12:10AM subgeek (263292)    friends  fans    Thursday April 05, 2007 @04:29AM sumdumass (711423)    friends  fans    Sunday August 19, 2012 @06:06PM SuprstinGscroogville (1273538)    friends  fans    Wednesday April 16, 2008 @10:09PM Tackhead (54550)    friends  fans     TechnoLust (528463)    friends  fans    Tuesday March 27, 2007 @02:36AM techpawn (969834)   friends  fans    Wednesday October 22, 2008 @03:50PM teh kurisu (701097)    friends  fans     teratogenicbenzene (887723)    friends  fans     The Fun Guy (21791)    friends  fans    Tuesday July 30, 2013 @07:00PM The G Man (225948)    friends  fans    Friday May 07, 2004 @07:05PM TheBig1 (966884)    friends  fans     TheConfusedOne (442158)    friends  fans    Wednesday January 03, 2007 @04:08PM TheRaven64 (641858)    friends  fans    Saturday February 22, 2014 @10:49AM the_mad_postar (990721)    friends  fans    Thursday February 21, 2008 @02:06AM the_mad_poster (640772)    friends  fans    Wednesday November 02, 2005 @02:39AM ThisNukes4u (752508)    friends  fans     Tibor the Hun (143056)    friends  fans     timeOday (582209)    friends  fans     Timex (11710)    friends  fans    Sunday December 14, 2014 @05:28AM tomhudson (43916)    friends  fans    Wednesday May 02, 2012 @05:11AM TommydCat (791543)    friends  fans     tomtom (23188)    friends  fans     TopShelf (92521)    friends  fans    Saturday November 15, 2008 @08:04PM tqft (619476)    friends  fans    Monday December 08, 2014 @06:30AM Travoltus (110240)    friends  fans    Sunday April 02, 2006 @02:51AM TripMaster Monkey (862126)    friends  fans     Trolling4Dollars (627073)    friends  fans    Wednesday August 12, 2009 @05:52AM truthsearch (249536)    friends  fans    Tuesday March 10, 2009 @02:20AM Tsagadai (922574)    friends  fans    Saturday October 06, 2007 @12:02PM tsalaroth (798327)    friends  fans    Monday June 14, 2010 @07:39PM Tsunayoshi (789351)    friends  fans    Wednesday March 21, 2007 @07:22PM turg (19864)    friends  fans    Wednesday June 13, 2007 @02:03AM tuxette (731067)    friends  fans    Saturday March 15, 2014 @09:57PM UbuntuDupe (970646)    friends  fans    Friday April 11, 2008 @04:18PM ubuwalker31 (1009137)    friends  fans     unassimilatible (225662)    friends  fans    Saturday July 02, 2005 @06:03AM User 956 (568564)    friends  fans     vague_ascetic (755456)    friends  fans    Sunday December 20, 2009 @08:55AM Vainglorious Coward (267452)    friends  fans    Sunday July 21, 2013 @07:07PM Valdrax (32670)    friends  fans     Valtor (34080)    friends  fans     w000t (1141427)    friends  fans     Waffle Iron (339739)    friends  fans     Walt Dismal (534799)   friends  fans     Watson Ladd (955755)    friends  fans     whathappenedtomonday (581634)    friends  fans    Tuesday January 09, 2007 @10:34PM WillAffleckUW (858324)    friends  fans    Friday April 17, 2015 @11:12PM WilliamSChips (793741)    friends  fans    Saturday February 09, 2008 @02:58AM Wills (242929)    friends  fans     winkydink (650484)    friends  fans    Wednesday July 07, 2010 @05:30PM xandroid (680978)    friends  fans    Wednesday May 05, 2004 @07:06AM Xeleema (453073)    friends  fans    Sunday August 26, 2012 @02:18AM YA_Python_dev (885173)    friends  fans    Wednesday August 26, 2009 @07:34PM yppiz (574466)    friends  fans     Z34107 (925136)    friends  fans     zappepcs (820751)    friends  fans    Sunday April 19, 2009 @07:15PM ZarathustraDK (1291688)   friends  fans     Zeinfeld (263942)    friends  fans    

"Just pick out the meat"

Posted by Subsentient on Saturday April 25 2015, @09:04AM (#1179)
7 Comments
/dev/random

I can't tell you how many times, being a vegetarian, that I was told I can just "pick out the meat" of whatever meal. Most recently I was complaining that I could find no vegetarian top ramen, which I loved when I was a kid. I was told "well you can just not add the meat sauce".

Let me clear this and some other stuff about us veggies up for you.

I don't eat meat because I consider it unethical, not because I don't like the taste. To buy the ramen and then not use the meat packet is even worse than just eating it all, because not only have I then contributed to the demise of something, I've wasted that food and therefore any suffering.

While I started writing this journal entry only for the above paragraph, I decided to take the time to answer some other comments I get frequently.
Next on my list is "you need protein to be healthy".

That's probably true. That's why I eat a lot of beans, peanut butter, etc. I even buy the special vegetarian refried beans that don't have lard in them. Betcha didn't know that they had lard in em eh? Rosarita makes the ones clearly labeled "vegetarian" with a purple ribbon label. I've been vegetarian since shortly after I turned 17 years old. I'm 20 going on 21. I'm not dead, or hallucinating, or particularly pale. My health has not gotten noticably worse. I feel fine. And no, I don't make exceptions or occasionally "treat myself". I don't eat fish or chicken or any of that. For me, "nothing with a brain". I don't bend that rule.

Next, "I like the taste of meat too much".
Whatever. I used to be one of those people. Then I saw how horrible it really gets for these critters and finally grasped what was really going on there in my heart as well as my mind. Go look up animal cruelty in slaughter houses. It's extremely common. Think of thousands of chickens with untreated broken legs because they're too fat to walk.

Next is "humans evolved with big brains because of meat".
I don't feel any dumber.

and finally, "but animals eat each other"
Yeah, they also do lots of other horrific things because they are ANIMALS and while they are capable of emotion and feeling, they are not very good at rational thought. Humans are supposed to be better than animals, and I can no longer justify such suffering that is not necessary for my survival.

Relationship Hacking: Part 6 - It's happening!

Posted by Snow on Friday April 24 2015, @04:01PM (#1178)
3 Comments
/dev/random

So...

Shortly after my last entry, I met a girl on Tinder. We met for drinks and and ended up chatting for a few hours. She is also poly and has a couple other partners. She's very smart and opinionated. We had a great time and arranged to meet again.

Last night, we met again for dinner at a fancy restaurant. She showed up in a super sexy dress and I couldn't take my eyes off her. We had another great time and are planning on seeing each other again this weekend. I can't wait!

Admittedly, it was pretty weird to be all fired up from a great date and then coming home to my wife. We cuddled in bed like we always do, but my mind was racing thinking about my date. It kinda felt wrong. My wife there with her head rested on my chest while I think about my date with the other girl.

I don't know what else to say, as things are still really new. New Relationship Energy (NRE) is intoxifying. Its something I haven't felt for over a decade, and I'm really excited by it! More updates to come. Hopefully good ones!

-- Snow

SoylentNews, Unicode, UTF-8, and HTML

Posted by martyb on Friday April 24 2015, @12:08AM (#1176)
0 Comments
Code

NOTE: This is a work-in-progress; read at your own risk/confusion. It is an attempt to gather together bookmarks, tabs, and information pertaining to Unicode, UTF-8, HTML, and 'characters'.

It would seem to be a simple enough question to answer, but things are not always as they seem:

What characters should SoylentNews support?

Motivation: as many of you are aware, one of the early improvements that SoylentNews made to its base source code was to support Unicode characters. (Thanks to the heroic efforts of The Mighty Buzzard.) The underlying code only supported ASCII (American Standard Code for Information Interchange) characters. Which was just fine for as far as it went. It just didn't go far enough for us...

I took on the task of testing our implementation of UTF-8 support. Little did I know what I was getting into! It has been a fascinating journey, indeed!

What is Unicode?

This is taken from What is Unicode?:

Fundamentally, computers just deal with numbers. They store letters and other characters by assigning a number for each one. Before Unicode was invented, there were hundreds of different encoding systems for assigning these numbers. No single encoding could contain enough characters: for example, the European Union alone requires several different encodings to cover all its languages. Even for a single language like English no single encoding was adequate for all the letters, punctuation, and technical symbols in common use.

These encoding systems also conflict with one another. That is, two encodings can use the same number for two different characters, or use different numbers for the same character. Any given computer (especially servers) needs to support many different encodings; yet whenever data is passed between different encodings or platforms, that data always runs the risk of corruption.

Unicode is changing all that!

Unicode provides a unique number for every character, no matter what the platform, no matter what the program, no matter what the language. The Unicode Standard has been adopted by such industry leaders as Apple, HP, IBM, JustSystems, Microsoft, Oracle, SAP, Sun, Sybase, Unisys and many others. Unicode is required by modern standards such as XML, Java, ECMAScript (JavaScript), LDAP, CORBA 3.0, WML, etc., and is the official way to implement ISO/IEC 10646. It is supported in many operating systems, all modern browsers, and many other products. The emergence of the Unicode Standard, and the availability of tools supporting it, are among the most significant recent global software technology trends.

Here is an excerpt from Wikipedia's entry for Unicode:

Unicode has the explicit aim of transcending the limitations of traditional character encodings, such as those defined by the ISO 8859 standard, which find wide usage in various countries of the world but remain largely incompatible with each other. Many traditional character encodings share a common problem in that they allow bilingual computer processing (usually using Latin characters and the local script), but not multilingual computer processing (computer processing of arbitrary scripts mixed with each other).

Unicode, in intent, encodes the underlying characters—graphemes and grapheme-like units—rather than the variant glyphs (renderings) for such characters. ...

In text processing, Unicode takes the role of providing a unique code point—a number, not a glyph—for each character. In other words, Unicode represents a character in an abstract way and leaves the visual rendering (size, shape, font, or style) to other software, such as a web browser or word processor.

A little more background: There are certain code points in Unicode that are of questionable value in the context of a web page; further, there are code points which are defined to be invalid! And then, just to make things even more interesting, I found a list of invalid characters in an HTML document:

Illegal characters

HTML forbids[6] the use of the characters with Universal Character Set/Unicode code points (in decimal form, preceded by x in hexadecimal form)

  • 0 to 31, except 9, 10, and 13 (C0 control characters)
  • 127 (DEL character)
  • 128 to 159 (x80 – x9F, C1 control characters)
  • 55296 to 57343 (xD800 – xDFFF, the UTF-16 surrogate halves)

The Unicode standard also forbids:

  • 65534 and 65535 (xFFFE – xFFFF), non-characters, related to xFEFF, the byte order mark.

UTF-8; Unicode Transfer Format - 8-bit

Though there are several means by which Unicode characters can be transmitted between contexts, one of the most popular is UTF-8, which is what was chosen for use in SoylentNews.

SoylentNews:

What you see from our site mostly comes via a browser (though we also support Gopher and NNTP; you can have stories e-mailed to you; and we also have an RSS/Atom feeds... wow!)

Our site currently formats web pages as HTML 4.01; here's a representative DOCTYPE:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            "http://www.w3.org/TR/html4/strict.dtd">

At some point in the future we may want to directly support HTML5; ideally nothing should preclude or complicate that effort.

See also:

Obviously, we need not support the invalid code points. (Enumerate them here).

Unicode and UTF-8

So Unicode is a collection of mappings of code-points (numbers) to 'characters'; UTF-8 is a Unicode Transformation Format, 8-bit, used to transmit/encode Unicode code points.

To be continued...

Finally jumped into the MMO snake pit

Posted by Hairyfeet on Sunday April 19 2015, @06:09AM (#1165)
2 Comments
Software

Sigh, with it becoming harder and harder to find decent single player games, as i am not part of the "dudebro" demographic and therefor do not care for your "Medal Of Dooky: Halo Of Killzone Gears Edition" style of games I decided to jump in and try one that looked the least "dude bro"ish and that game is....War Thunder.

I have to give the designers of the game credit, as nearly ever other "FTP" game I've ever played is either so grindtastic its insane or so badly pay to win its not funny but at least in these early tier 1 games? Its really not, hell you can take the default tank (that you get free repairs on forever so you can be as nutty as you like with it, nice) and actually start getting kills in the first few minutes of the first game, its really all about keeping your head on a swivel and remembering to watch your reload times. Nothing will give you a smile quicker than somebody coming to strafe the tank formation you are in and you blow its wing off with the 20mm of your Panzer II lol.

So if any of you are getting sick of the usual fare and want something a little different? Do NOT be put off by the fact its planes and tanks (and soon to be ships) as its beyond easy to drive with a standard keyboard and mouse. If you can play an FPS? You can play War Thunder. Maybe if a few guys here give it a spin and like it we can get a team together, having :"Team Soybeans" roll the tanks while "Run To The Hills" by Iron Maiden plays? That would be a blast.

Product Review: Seagate Personal Cloud

Posted by mcgrew on Wednesday April 15 2015, @05:57PM (#1160)
4 Comments
Hardware

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.

Let's Play NetHack (2, 3 and 4) & Dwarf Fortress

Posted by NCommander on Sunday April 12 2015, @05:32PM (#1154)
13 Comments
Code

It's been a busy week between class, and doing my Let's Play series; I've found doing Let's Plays a good way to unwind after a stressful day, and I've also done a bit more livestreaming. To avoid spamming the journal list, I'll likely just do weekly updates until I have communities implemented properly in rehash.

Dwarf Fortress
For those who missed it, I've started a livestreaming series where I play one of my favorite games of all time, Dwarf Fortress. I'm keeping a recap thread going alive on the official DF forums at Bay12. For those who are fans of the game are recommended to check it out. My schedule is somewhat fluid from week to week, and is complicated by a trip to New York City Sunday-Tuesday, but I will try and stream at least once week, or two; I'll usually announce streaming times 24-48 hours in advance, and on Twitter.

I'll name dwarves after those who commit story snipits, or those in the Livestream chat. My next broadcast date is tentatively late Wednesday, but that's subject to change.

NetHack
I have uploaded episodes 2, 3 and 4 (scheduled to go live at midnight tonight), with hope of having regular updates on Monday, Wednesdays, and Fridays. I have footage through episode 7 recorded, but episode 5 requires considerable editing as I do Sokoban in that, and I edited out most of the boring parts (which will be uploaded as a "special" video) with, or soon after 5.

Episode 2
  - On this episode of Let's Play NetHack, we wander our way through the Gnomish Mine's, groaping our way through the dark in hopes of finding Minetown.

Episode 3
  - As our first character meet an unfortunate end, a shocking revelation is revealed that sending our poor host into a mental breakdown.

Episode 4 (goes public at midnight)
  - We learn that Barbarians can fight well in the dark as multiple events conspire to drive us crazy.

If you enjoy my videos, please, leave comments, and subscribe to my channel. Furthermore, I'll offer shoutouts and credits to anyone who'd be up for creating titlecards for my series, and perhaps offer them an exclusive chance to choose a game to me livestream or do a LPs. Given requests, I'm also going to record a special video at some point that goes more into detail on how to play NetHack specifically.