Friday, June 22, 2012

Cannot play videos on Yahoo! News?

Symptom: This often happens with users of Firefox and other Gecko-based browsers, when:
• they can't show most news videos on the Yahoo! News website and some other Yahoo! properties;
• the commenting system is not functional (can't properly view and post comments).

Privacy-conscious users, and/or those who wish for their browsers to consume less resources, use a script blocking add-on, such as NoScript. I often have NoScript configured to allow/disallow full domains (like d.yimg.com) and not just second-level domains (just yimg.com).

As it often happens, allowing only full subdomains instead of just second-level domains brings with itself more issues.

By default, NoScript includes a whitelist of second-level domains without which major services' functionality would be wholly disabled. The whitelist also contains yahoo.com, yimg.com, and yahoopis.com). The instructions herein are for users who have chosen to impose a more fine-grained control over the websites they visit.


Right, well, I finally played around with NoScript and found a solution:

NoScript:
    In addition to news.yahoo.com and screen.yahoo.com and maybe others, allow the following domains essential for video playback:
  • l.yimg.com
  • d.yimg.com
  • connect.facebook.net (If you're privacy-conscious, then allow temporarily).

  • 11.07.2012. Update: I later discovered that non-video news items also featured videos, so here's an addition of domains that must be allowed:
  • video.query.yahoo.com
  • yep.video.yahoo.com
  • yui.yahooapis.com (important on other Yahoo properties, even if not using video)
  • webplayer.yahooapis.com
Flashblock:
• Allow d.yimg.com
^ Including only that domain in the Flashblock whitelist will have the video area rendered with the Flashblock placeholder. Clicking on it will start playback (note that ads are also played).
• Allow l.yimg.com
^ In regular news items that included video, disallowing l.yimg.com wouldn't even load the Flashblock video placeholder.

If you want video to load automatically, allow the above domains, and news.yahoo.com and screen.yahoo.com (and/or other Yahoo! properties as necessary from the Flashblock toolbar button).

Conclusion

Even if l.yimg.com and d.yimg.com are enabled in NoScript, the crucial part for some erroneous coding reason is connect.facebook.net; If that is not allowed, most video code and commenting functionality won't load. Note that connect.facebook.net is the primary culprit. This has been discussed before at forums.informaction.com (a NoScript and web security forum).

Thursday, June 21, 2012

Overview of Nokia phones offered by U.S. carriers on the web

US web offers for new Nokia phones as of 06.06.2012.
The list is very much incomplete, and emphasis is added to phones that don't have Windows Phone 7.5 in them.
This list also reflects which carriers' websites first ask for location without offering their phones first. The carriers whose sites that do that are more likely to offer locked phones and with a fixed contract instead of selling them to someone who would want to use their phone with a different carrier.


Legend:
* "Nokia not listed" means that the website is offering phones by brand name
* "No Nokia phones" means that the website either does not offer phones by brand name, or that Nokia phones were not available.

National
  • T-Mobile:
    Nokia X2 (refurb)
  • AT&T: Nokia Lumia 900 (doesn't count)
  • Verizon Wireless
    Basic phones: No Nokia
    Smartphones: Nokia is not even in a gray list
  • Sprint: Personal/Business — No Nokia, has one Sony Ericsson, IIRC
  • Tried alltel — service not available at "my" zip code (I used one of Au Sable Forks, NY)
  • C-Spire: None (has Sony Ericsson)
  • Cricket Wireless — No coverage in the area :(
    According to Wikipedia (as of 31.05.2012), Nokia is not in the current list of phones.
Supra-Regional
MetroPCS — Nokia is not in the listed brands
U.S. Cellular — Nokia is not in the listed brands

Regional
Alaska Communications — Nokia is not in listed brands
    Cellcom —
    Nokia is listed, but no products shown
  • Cellular One
      Locations: Montana, North-Western Wyoming, Texas (TX-10, TX-11), and Oklahoma (OK-5)
      cellonenation.com — Wants zip code
      celloneet.com — Wants zip code
    • cellular1.net (East Central Illinois, device availability varies by location) —
      Feature Phones:
      Nokia 2680
      Nokia 2720
      Smartphones:
      Nokia N8
      Nokia N97
      Texting phones:
      Nokia C3
    • cellularoneonline.com (Northeastern Arizona and Northwestern New Mexico)
      All mobile phones:
      Nokia C1
      Hearing aid-compatible:
      Nokia 2720
      Nokia 6085
      Nokia 7020
      Nokia E5 (Aspect)
      Nokia E75
    • South Canaan Cellular (Wayne and Pike Counties, Pennsylvania/cellularonenepa.com) — No Nokia phones
    • Choice Wireless (Texas and Oklahoma, cellonetxok.com, models vary based on availability)
      Nokia 2760
      Nokia 5800
      Nokia 6061
      Nokia 6085
      Nokia E63
  • Cincinnati Bell — Has landing page, but this can be run around. Nokia not listed.
  • Element Mobile — No Nokia phones
  • i Wireless
    Nokia 1208
  • Immix Wireless
    Nokia C1
  • nTelos — Nokia not listed
  • Revol Wireless — No Nokia phones
  • southernLINC Wireless — No Nokia phones
  • West Central Wireless
    Nokia C6
    Nokia N8
  • Indigo Wireless — No Nokia phones
  • Viaero Wireless
    Nokia 2720
    Nokia 7020
  • Long Lines Wireless
    Nokia 7020
  • Arctic Slope Telephone Association Cooperative (astac.net) — wants zip code

Friday, May 18, 2012

Sülearvutid, tootjad, Apple vs MS

Jälle läks kommentaar artiklile liiga pikaks ja peale selle oleks see kommentaar olnud kõige viimase kommentaarina artiklile mõnes mõttes ka kõige hiljem kirjutatud.

Kuna vahepeal ei olnud mingi teadmata põhjuse tõttu võimalik Postimehe keskkonnas kommentaare kirjutada, piirdusin ma teiste kommenteerijate kommentaaridele plusside ja miinuste lisamisega ja minu enda kirjutised tuli siia panna. Lõpuks osutusid nad ühe keskmise kommentaari kohta liiga pikaks ja eriliseks, et üldse kuskile kommentaariumi postitada ja iga selline pikem vaimusünnitis leidis oma koha siin ja mujalgi. Nagunii oleks PM-is kommentaar kolm kuud pärast postitamist olnud automaatselt ära kustutatud...

Niisiis...


Üldiselt on nii, et isegi "sel ajal kui müüdi komponentide alusel," siis alati oli ja on olemas ka väga ja väga korralikke arvuteid, lihtsalt paljud kasutajad selliseid ei osta, sest hinnasilt ei ole just kõigile jõukohane.

(Juhtub ka, et korralikku arvutit otsiv kasutaja saab selle korraliku, mida pakutakse, kuid samas leiab korralik kasutaja ka täpselt selle, mida soovib.)

Kvaliteetne läppar maksab ikkagi umbes 1000 eurot ja odav masin 200-300€. Et viimaste seas kvaliteetset leida, tuleb tootjat hoolikalt valida.

Maci kasutajaid kritiseerida pole ka väga õige, sest nad on ostujõulisem elanikkond ja iga ostu eest läheb riigieelarvesse niimoodi suurem käibemaks.

See on tõsi, et paljusid asju valmistatakse Hiinas ja ETV on selle kohta ka dokfilme näidanud. Nii et toodet ostes mõelge alati nendele inimestele, kes selle kokku panid.

Foxconni jutud headest töötingimustest on võrreldavad samaga, mida kompartei rääkis siin kunagi N. ajal "ilusast elust". Kusjuures osades tehastes võivad tingimused olla head ja osades mitte, kuna Foxconni enda kõigi töötajate armee suurus ei ole Eesti rahvaarvust just väga kaugel (1,2 miljonit inimest 2011. aastal üle kogu maailma).

Töötingimused on seal muu Hiinaga võrreldes justkui head, kuid ettevõtte suuruse tõttu on võimalik kiiresti korraldada pakasuuhhasid. Foxconni (aka Hon Hai) taiwanlasest juhi Terry Gou suuvärk pole just ainuke kord reha otsa astunud ning see peegeldub ka ettevõtte suhtumises töötajatesse.

Et saada sealsest olukorrast paremat pilti, siis Hong Kongi MTÜ lühendnimega SACOM teeb mandri-Hiina erinevates elektroonikatehastes uuringuid ja avaldab regulaarselt iga linna ja selle tehas(t)e lõikes raporteid nii töötingimuste, elukorralduse kui ka palga kohta.

Parim ettevõte alltöötvõtjate töötingimuste parandamisel ei ole mitte Apple, vaid hoopis HP. Tõsi, ka HP tellib Foxconnilt vidinaid, kuid HP üks peamisi alltöötvõtjaid on minu teada pigem Chicony, mis nimega kaupa peaks olema ka Eestis saada.

Et ühed inimesed on ühe tootega rahul ja teised teisega, on võib-olla ehk psühholoogiline efekt, et kasutaja lõpuks omab midagi, mis on täiesti tema oma ja kui realistliku ootuse puhul on ese oma väärtust tõestanud, pole seda asjatult kritiseerida ometi mõtet.

Mul on näiteks üks suhteliselt vana "hiinakast" MP3 mängija, mis on muuseas ka minu esimene selline vidin ning millel on ainult 128 Mb mälu ja mälukaardi võimalust pole. Ning ehkki ma seda praegu ei kasuta, siis selle omamine tähendas seda, et ma õppisin seda kasutama, uurisin toodet ja avastasin selle kohta täiesti unikaalseid asju ja võimalusi, mida võib-olla ainult vähesed teavad.

Seega kokkuvõttes igaühele oma.

Kui juba läpparite soovitamiseks läks, siis minugi poolt mõned soovitused.

Mõeldes Hiina ja teiste Kagu-Aasia töötajate peale oleks siis mõttekam osta väga vastupidav sülearvuti. Odav see muidugi pole, kuid sellisel moel saab masinat kauem kasutada ja nõudlus odava(ma) kauba järele langeb.
  • Kes tahab ülivastupidavat masinat, nendele on olemas ka vastavalt ülikallis Panasonic Toughbook. Väga tõenäoliselt on kõik jupid Jaapanis tehtud ning sealsamas ka kokku pandud.
  • Kes tahab pikka aega vastupidavat ja väga kvaliteetset masinat mõistlikuma hinna eest, võiks mõelda Lenovo ThinkPad arvutite peale. ThinkPadide tootearendus toimub peamiselt USA-s.
  • Kes Hiina omanduses brändi kaupa ei taha, soovitan HP-d juba seepärast, et nad on üks eetilisemaid arvutiettevõtteid üldse. HP valik on suur ja nendel on olemas ka terve posu kvaliteetseid äriklassi sülearvuteid.
  • Euroopas valmistatud sülearvuteid teeb ainult Fujitsu (äriklassi mudelid) ning Saksamaal arendatakse ja valmistatakse isegi oma emaplaate.
Nii Lenovo, Dell, HP kui ka Fujitsu pakuvad äriklassi mudeleid, mida on testitud eri vastupidavus-standardite vastu, k.a. mudelid, mis on testitud vastama MIL-standarditele.

IBM valmistab siiani väga võimsaid ja vastupidavaid tööjaamu.
Siemens on keskendunud industriaalarvutitele, millest osad on PC-d, kuid Siemens müüb neid vaid suurklientidele ja alati eritellimuse peale.

Kahjuks Euroopa Liidu ja ka eri liikmesriikide seadusandlus ei nõua, et iga toote puhul oleks juures alates reklaamist ja hinnasildist ning lõpetades tootekarbi ja dokumentatsiooniga selge kiri, mis ütleks, kus riigis toode tehtud on. Jah, see on tihtipeale toote küljes, kuid seda alles pärast ostmist avastada on väga nõme.

Saturday, April 28, 2012

ZX Spectrum oli masside arvuti

Kommentaar Delfi Forte artiklile
"Koduarvutite tootjad pole suutnud ZX Spectrumi soodsat hinda juba 30 aastat üle trumbata"


Tuleb lisada, et Suurbritannias oli keskmine kuupalk 1982. aastal £780,79, nii et kui arvestada maksud ka maha, siis näiteks £600 maksnud Commodore 64 hinnaks oli sisuliselt üks [keskmine] kuupalk; tol ajal Inglismaal vägagi populaarne BBC Micro umbes kolmandik sellest kuupalgast ja ZX Spectrum maksis vaid £125.

(Samal ajal valitses Inglismaal mitte just väike majanduslangus.)

ZX Spectrumi kõige odavama variandi selline hind tähendas seda, et selle võis suurema vaevata ära osta ja paljudes kodudes oli see ka esimene arvuti. Nii et Inglismaal tõeline masside arvuti, umbes nagu USA-s Commodore C64.

BBC Micro eeliseks oli selle arvestatav laiendatavus ja vastupidavus ning see läks paljudes koolides esimeseks kooliarvutiks ja seda ei peljatud ka kodudes ära.

Kaks aastat hiljem, 1984.a., lasti välja Amstrad CPC464 koos rohelise monokroommonitoriga, mis maksis £249. (Amstrad arvuteid müüdi vaid ekraaniga samal ajal, kui teised tulid "rasedate kalkulaatoritena", mida sai ühendada teleriga). Erinevalt teistest toetas Amstrad C/PM opsüsteemi, millele oli juba arvestatav tarkvarakataloog juba olemas. Seega Amstradi diil oli nii hea, et Lääne-Euroopas kasutati seda edukalt ka ärides.

Aja jooksul alandati paljude nende masinate hindu, nii et nende kättesaadavus isegi suurenes.

Hiljem turg küllastus, peale tulid juba IBM PC-ühilduvad masinad ja 8-bitised arvutid olid põhimõtteliselt oma aja ära elanud. ZX Spectrumi teeb huvitavaks muidugi see, et sellele arvutile tehakse siiamaani tarkvara; veel 2010. aastal tuli välja umbes 90 tiitlit.

Tänapäevastest uutest tehnikavidinatest võib tõmmata paralleele näiteks Android nutitelefonidega; odavaimad sellised maksavad (uuelt) umbes kuuendiku–kaheksandiku Eesti keskmisest palgast (kui see on 900€ bruto).

Saturday, March 10, 2012

Cheat sheet and notes for using Knoppix 6 or newer

This I initially made for myself, but then writing got out of hand :-)

For a full-page treatment, see here.


Flash

Knoppix 6.0.1 includes Iceweasel 3.0.6, which does not have support for HTML5 video, so you need to install Flash to watch multimedia. Granted, these versions of Knoppix and Iceweasel are rather outdated, so Knoppix 6.7.1 (or 7) is often a better choice on a new computer.

Another option is to download and install a newer version of Firefox. See below.

The version of Flash compatible with Knoppix 6.0.1 is 10.3. Download it, extract libflashplayer.so into the
/home/knoppix/.mozilla/plugins directory (the plugins directory must also be created). Restart Iceweasel.

02.05.2013. Update

Modern Firefox

By May 2013, Iceweasel 3.0.6 has become so old and outdated that it's not supported by major websites anymore. This includes Google and all its properties (YouTube, Google Drive/Docs, Blogger, and others). The same applies to Yahoo!, twitter, and many other major sites and services.

Using Synaptic in Knoppix 6.0.1 to upgrade to Iceweasel 17 is impractical on account of the Iceweasel 17 package having hundreds of dependencies that must also be upgraded, which really amounts to a whole operating system upgrade. Therefore it's simpler to get the Firefox Linux binary.

The latest official major version of Firefox that still works in Knoppix is version 17, specifically 17 ESR (Extended Support Release). Newer versions won't work.

Firefox 17 ESR can be obtained from Mozilla's FTP site, and I got the latest version here:
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/17.0.6esr/linux-i686/en-US
Since Firefox 17.0 ESR is in active maintenance (17.0.6 released on 09.05.2013., which is very recent), then Mozilla is likely to release newer patchlevel versions.

Since new patchlevel versions are placed in a different FTP directory, then...

...here's a beginner's "navigation how-to" for people unfamiliar with FTP

Primer
FTP (File Transfer Protocol) is older than the web, and it has been very useful in facilitating large downloads. The content of FTP sites is structured hierarchically, as in folders in a computer file system. Files and directories are listed in alphabetical order UNIX-style: directories are not sorted first, but like all other files; items starting with capital letters are at the top of the list, then followed by lower-case items. In a graphical browser, file and folder names are linked and thus clickable.

Mozilla's FTP site
FTP URLs are given as examples
As Mozilla releases a new version of Firefox, then all files specific to a version are given their own directory. Genereally, all Firefox versions are placed in /releases folder of Mozilla's FTP site:
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases
The latest version at this time is 17.0.6 and you can scroll down the list to enter that directory:
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/17.0.6esr

As Knoppix is Linux, choose /linux-i686
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/17.0.6esr/linux-i686

What you get in the /linux-i686 directory is a longish folder listing of different Firefox language versions (Firefox is released in many languages), listed in the format of ISO-639-1 two-letter language code followed by ISO 3166-1 alpha-2 two-letter country codes.

The respective code combination for English-United States is en-US —
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/17.0.6esr/linux-i686/en-US

There you'll see the archived Firefox binary firefox-17.0.6esr.tar.bz2 —
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/17.0.6esr/linux-i686/en-US/firefox-17.0.6esr.tar.bz2

Download this file to the Desktop. Once the tar.bz2 file is downloaded, go to the desktop, right-click on the file, choose the Extract > Extract To... command. You'll get a file/location picker and the default should be the Knoppix folder. Press OK to extract.

The Firefox executable is then in the /home/knoppix/firefox/ user directory (knoppix being the user account folder).

Even after Firefox is extracted, a shortcut won't be created to the Knoppix LXDE desktop environment menu.

Do keep in mind that since Iceweasel is code-compatible with Firefox, they both share the same user settings located at /home/knoppix/.mozilla/firefox

It is thus recommended to create a different profile for Firefox.

You can start Firefox from the command line:
knoppix@Microknoppix:~$ ./firefox/firefox -P &

./ stands for specifically targeting a folder from within the current directory;
-P forces the start of the Firefox Profile Manager;
& (ampersand) makes sure that Firefox starts independently from the terminal window.

After that, the Firefox Profile Manager opens up and you can create a new Firefox profile. When doing so, assign a new and simple profile name.

If you close Firefox, you can start Firefox again from the command line using the new profile:
./firefox/firefox -P newprofilename &
Alternately, the easier way is to unset starting Firefox or Iceweasel in a profile automatically. That way it's slightly more user-friendly to choose a profile, at least when starting Iceweasel. Whereas with Firefox only the ./firefox/firefox command without can be used without having to invoke additional command-line options.

So much for now. I might continue and expand on this further.

Sunday, January 8, 2012

Updates information not visible in Windows Vista

So here's a scenario: When using Windows Update in Windows Vista, and the Windows Update front page shows an x number of critical updates and an x number of regular updates, and you click on either of them, the detailed updates listing is all blank; a user doesn't know then which updates should he choose (or not) to download and install.

The specimen in question was Windows Vista Home Basic Service Pack 2 in a Dell Studio 1535 notebook.

I tried and searched for many solutions, and somehow got the thing to work normally again, but I can't exactly put a finger on what it is that I did, partly because I was too lazy to restart after every move or document too diligently. #tired

Assuming everything else is more or less in order, then —

Services started in-between:
1. COM+ System Application, but didn't set it to start automatically.
2. Microsoft .NET Framework NGEN v2.0.50727_X86 (Delayed Start).
I had read somewhere that in Windows Vista, Windows Update for some reason required .NET Framework 2.0 to run.
So, if memory serves me correctly, I did install it one day, but at the time it didn't yield the required effect and I had to let it be...
And yes, there were regsvr32 things started and re-started from the command line, but that didn't quite help.

After a few hours of searching for a solution, with many a discussion thread suggesting starting and stopping services, registering and unregistering system files, I stumbled upon a set of suggestions that matched the conditions that I had. See the forum thread here.

Since there was a match in error conditions registering Windows Update files, I was confident about the solution as much as the tech guys were on the forum.

So the solution was to run

SFC /scannow

in a Command Prompt window run as Administrator. If you decide to do the same, then beforehand, create a system restore point or rely on a very recent one, for example one made just a few days ago.

SFC is the System File Checker command-line tool and its variant in modern Windows versions checks protected Windows system files against tampering and replaces those it that appear to be wrong.

I ran the tool, it took its while, but then it finished.
I also got to check out its logs (requires administrator mode to view in WordPad) and separated the most recent check into a new file for the sake of posterity. I couldn't see any substantial errors when changing files over, but there was a lot of movement going on.

Then did a restart, and lo and behold, details about individual updates in Windows Update were visible again! Yay!

Saturday, December 3, 2011

Eriotstarbeline vaba tarkvara

Kommentaar artiklile Delfis hakkas väikselt pihta ja siis kulus selle peale jälle mitu-mitu tundi, peale mida tundus kompositsioon juba nii kokkulitsutud, et vääris juba oma postitust (ilma lingita sealtsamusest). Alguses oli umbes 40-45 rida, alles jäi 34 rida ilusat teksti. Ennast meeldib ikka kiita :-).
Lõpuks tuli iga siinne lõik tõmmata kokku paariks lauseks, et kommentaar Delfis ei tunduks nii väljapeetud ja keerukas.


Umbes 10 (ja veidi rohkem) aastat tagasi samal teemal Delfis:
• Windows/Office on kallis, ei jõua osta, litsentsi hind maksab *kuue kuu palga!*
Nüüd:
• Windows/Office (karbi)litsents maksab ühe kuu palga!
^ Pange nüüd tähele, kuidas elatustase on vahepeal tõusnud :-)

Ühest kommentaarist jääb ehk liiga väheks, et kõiki teemasid põhjalikult puudutada.

Tehnilistel argumentidel põhinev võrdlus näitab Linuxi ja vaba tarkavara¹ kasuks olulist arengut, mispuhul isegi suured tootjad pakuvad Linuxiga eelinstalleeritud masinaid, küll kitsamas sortimendis, aga siiski. Samuti pole Windowsi ökosüsteem enam kõige-kõige olulisem, eriti mis puudutab laiatarbeprogramme, mõnesid mänge (põhjuseks Wine ja mängukonsoolid) ja internetiseadmeid (Android, MeeGo).

Iseasi on eriotstarbelise tarkvaraga, mis mujal ei jookse kui Windowsil/Macil ning kus spetsiifilised tööülesanded sõltuvadki ainult niisugustest programmidest. Et kõik kasutavad
suletud omanduslikke failiformaate, on monopoliseisus karanteeritud [sic] ja selliseid ökosüsteeme on raske murda. Säärane omanduslik eriotstarbeline tarkvara on kallis.

Kahjuks ei olda niskses olukorras vabatarkvaralistest alternatiividest väga teadlikud; ometi on niisugune teave kõigile ühest kohast kättesaadav, parimal juhul inglise keeles: en.wikipedia.org/wiki/Category%3AFree_computer-aided_design_software (näiteks)

Ehkki kahtlusteks palju ruumi pole, on kahju eeldada, kui koolitustasemel puudub omanduslikuga vähemalt samaväärse eriotstarbelise vaba tarkvara väljaõpe ja et vabade programmide juurutamise vajadust reaalelus justkui polekski. Võib väita, et õppematerjalid puuduvad või veel pole neid koos praktiliste näidetega süstematiseeritud, sest praegune omanduslikul tarkvaral põhinev olukord rahuldab. Seega nokk kinni, saba lahti ja vastupidi.

Või nähakse erialase tarkvara vabades alternatiivides vajakajäämisi, kus omanduslik variant on asendamatu. Sarnane oli olukord kontoritarkvaraga, mil edasiviiv vabatarkvaraline jõud alguses puudus ja peale tulemist oli mitu aastat kaasajooksiku rollis.

¹ Paluks vaba tarkvara mitte segi ajada vabavaraga, sest viimast terminit kasutatakse tihti tasuta ja omandusliku tarkvara kohta.