20 May, 2013

Iznācis Mageia 3 – kopienas attīstīts Mandriva Linux variants

Pēc gadu ilgas izstrādes dienas gaismu ieraudzījis Linux distribūcijas Mageia trešais laidiens, kura ietvaros neatkarīga izstrādātāju kopiena attīsta projekta Mandriva idejas. Lejupielādei pieejamas 32- un 64- bitu DVD komplektācijas (3.7 Gb), universāla CD komplektācija (699 Mb), minimālā komplektācija uzstādīšanai no tīkla (40 Mb) un LiveCD un Live DVD komplektācijas. Laidiens veltīts Jevgenijam Dodonovam, kurš traģiski gājis bojā auto avārijā.

Galvenie uzlabojumi:

  • Izmantots kodols Linux 3.8;
  • Pāreja uz pakotņu menedžeri RPM 4.11 (iepriekšējā laidienā bija 4.9) un jaunu rīka urpmi versiju ar opcijas “–downgrade” atbalstu. Saspiešanai izmantots XZ formāts;
  • Jaunināts sistēmas menedžeris systemd (uz 195. versiju). Pēc noklusējuma iedarbinātas systemd parametri sistēmas žurnalēšanai; iespējams uzstādīt arī rsyslog;
  • Pamatinstalācijā pieejama spēļu platformas Steam klientprogramma;
  • Sistēmas ielādei izmantots klasiskais GRUB. Testēšanai pieejams arī GRUB2.
  • Harddrake rīkā realizēta automātiska draiveru uzstādīšana vadu un bezvadu tīkla kartēm;
  • Live veidolos izmantota OverlayFS failsistēma;
  • Jauninātas aplikāciju versijas (pavisam pieejamas 10500 aplikācijas):
    • Darbvirsmas vides: KDE 4.10.2, GNOME 3.6, Xfce 4.10, LXDE 0.5.5, Enlightenment E17, Razor-qt 0.5.2. Repozitorijos pieejamas arī dwm, scrotwm, i3, pekwm, icewm, awesome, openbox, fvwm2 un Window Maker;
    • Media atskaņotāji: VLC 2.0.6, xine 1.1.21 (+ GUI kaffeine un xine-ui), XBMC 12.1, MythTV 0.26, Miro 5.0.4;
    • Pārlūkprogrammas: Firefox ESR 17.0.6, Chromium 26;
    • Biroja programmatūra: LibreOffice 4.0.3, Calligra 2.6.2;
    • Komerciālās aplikācijas: Skype 4.1.0.20, draiveri NVIDIA 295.17 un fglrx 12.104 (AMD Catalyst 13.4);
    • Grafiskais redaktors GIMP 2.8.2;
    • Mūzikas atskaņotāji: Amarok 2.7, Cantata music player 0.9.2, mplayer (+ GUI gnome-mplayer, kmplayer, mplayer-gui, smplayer);
    • Datu bāzes MariaDB 5.5.28 un PostgreSQL 9.2;
    • Serveru programmatūra: apache 2.4.4, nginx 1.2.9, postfix 2.9.6, Cyrus-imapd 2.4.17, Dovecot 2.1.15, puppet 2.7.21, Samba 3.6.15;
    • Virtualizācijas rīki: VirtualBox 4.2.12, QEMU 1.2.0, virt-manager 0.9.5, Xen 4.2.1;
    • Sistēmas komponentes un izstrādes rīki: glibc 2.17, gcc 4.7.2, python 3.3, perl 5.16.3, ruby 1.9.3.p392, rails 3.2.13, php 5.4.13;

Līdzīgi raksti

10 May, 2013

Obama pavēl publiskos datus veidot atvērtus un mašīnlasāmus

ASV prezidents Obama ir laidis klajā izpildpavēli (executive order), kopš šīs nedēļas visām jaunām un modernizējamām valsts informācijas sistēmām pēc noklusēšanas jālieto atvērti un mašīnlasāmi formāti.
Ziņa: President Obama issues executive order to make government data open and machine readable

Tēma: 
Kategorija: 

Ubuntu izstrādātāji attīsta speciālu instalācijas pakotņu formātu

Ubuntu instalācijas programmas izstrādātāju šefs Colin Watson, prezentējis jaunu projektu, kura mērķis ir jauna pakotņu instalācijas formāta izveide. Paredzēts nodrošināt aplikāciju instalēšanas iespējas “ar vienu klikšķi”, neiedziļinoties papildus repozitoriju pieslēgšanas jautājumos. Jaunais formāts galvenokārt paredzēts aplikāciju iepakošanai, kas veidotas ar Ubuntu SDK palīdzību priekšUbuntu Touch.

Pakotņu menedžera dpkg atbalsts saglabāsies pilnā apjomā bez imaiņām. Jaunais formāts neprasīs no izstrādātājiem padziļinātas zināšanas deb pakotņu veidošanā, visas formēšanas opcijas būšot automatizētas un integrētas Ubuntu SDK.

Jaunā formāta īpatnība ir aplikāciju savstarpējo atkarību neesamība, jo jau sākotnēji formāts paredz, ka aplikāciju izmantos Ubuntu standarta vidē un pēc instalēšanas aplikācija atradīsies īpašā mapē lietotāja pamatdirektorijā.

09 May, 2013

Iznākusi bezmaksas 3D modelēšanas programma Blender 2.67

Iznākusi bezmaksas 3D modelēšans programma Blender 2.67. Jaunā versija īpaša ar to, ka tajā iekļauts jaunais renderēšanas dzinis Freestyle, kas ir komplektā ar rīku komplektu dažādu stilu divdimensiju attēlu veidošanai (kā, piemēram, anime), kurus iespējams kombinēt ar Blender 3D ainām.

Līdzīgi raksti

08 May, 2013

Blenderis - iespējams visu laiku visnenovērtētākā programma!

Grafiskā dizainera Gata Kurzemnieka raksts par Blender:

Jau kādu laiku biju nobriedis apgūt populāro bezmaksas atvērtā koda 3D programmu Blender. Atliku to vairāku iemeslu dēļ:

  • bija slinkums
  • neuzticība atvērtā koda programmām māksliniekiem (līdz šim nebija bijusi pozitīva pieredze)
  • Blender dīvainības
  • Bailes, ka programma ir dranķīga un iztērētais laiks būs nomests zemē

      Teikšu godīgi - tiklīdz tiku pāri pirmajam mulsumam un sapratu kā darīt elementārās darbības (citiem vārdiem - pielāgoju izklājumu pa savam), tā atklājās, ka blenderis patiesībā ir ļoti ļoti vienkārša un viegli saprotama programma, ko var iemācīties zibens ātrumā. Man šķiet es vēl nekad nevienu programmu nebiju iemācījies lietot tik ātri (burtiski viena-divas dienas un jau modelēju kā lielais).

    1. Visu rakstu lasiet: Blenderis - iespējams visu laiku visnenovērtētākā programma!

      Tēma: 
      Kategorija: 

      24 Apr, 2013

      25. aprīlī notiks "Kvantu un kripto diena 2013"

      Ceturtdien, 25. aprīlī, no plkst. 15:00 līdz 19:00 LU Datorikas fakultātē (Raiņa bulv. 19, 3.stāvā, 13. auditorijā) ar SIA "QuBalt" atbalstu notiks "Kvantu un kripto diena 2013". Jau trešo gadu LU DF pulcēsies kriptogrāfijas un kvantu pētnieki, lai apspriestu jaunākas tendences kvantu skaitļošanā un modernajā kriptogrāfijā. Pasākums būs skatāms arī tiešraidē LU portālā www.lu.lv/tiesraide. Aicināti visi interesenti!
      Vairāk: ziņa lu.lv lapā

      Tēma: 
      Kategorija: 

      19 Apr, 2013

      slackers.lv tiks slēgts!

      Tuvākajā laikā slackers.lv tiks slēgts. Ir pienācis laiks maksāt rēķinu par domenu un, jāsaka godīgi, nejūtu vēlmi to darīt. Jaunumus par Slackware varēs lasīt www.open-news.lv.

      Ja kādam tomēr ir vēlme šo resursu saglabāt, rakstiet uz inboksis et džimeil kom. :)

      17 Apr, 2013

      Aicina nominēt pretendentus Eižena Āriņa balvai datorikā

      LATA biedrs informācijas tehnoloģiju uzņēmums Exigen Services Latvia, Latvijas Zinātņu akadēmija un Rīgas Tehniskās universitātes Attīstības fonds izsludina pieteikšanos uz ikgadējo profesora Eižena Āriņa balvu datorikā. Šogad balva tiks piešķirta informācijas tehnoloģiju (IT) profesionālim par Latvijai nozīmīgu praktisku ieguldījumu informācijas sabiedrības attīstībā. Kandidātus balvai var nominēt jebkura organizācija, struktūrvienība vai fiziska persona, kā arī kandidāts var [...]

      12 Apr, 2013

      Solving spam problems without using captcha

      Some of you know that automated spam bots for the web can be pain in the ass.

      And while there are many ways to deal with this problem, most of them complicate things for the regular user and are not hacky enough to satisfy me. :) For example captchas, math problem solving, etc. mostly work fine but they also scare away some of the users. There are also some paid tools (Akismet?) that helps dealing with spam but it doesn’t work on all spam.

      I will share information on how I stop almost all of the automated spam messages to my WordPress blog without complicating things for the user.

       

      Knowing limitations of HTTP protocol libraries and “exploiting” them

      I have been writing a lot of scripts that automate GET’ing and POST’ing things to the web. There are many libraries that help doing it and one of the most popular ones (if not the most popular) is Curl.

      While Curl is great, it still lacks some features, like building a zero length multipart POST data file upload part. Basically it can’t simulate file upload field, that has no file selected for uploading. And since many spam bots use Curl and similar libraries, this can be used to identify real browser and a script.

      Example usage in PHP:

      if(!isset($_FILES['spamcheck']) or $_FILES['spamcheck']['name']!='' or $_FILES['spamcheck']['size']!=0 )

      Not just Curl

      I haven’t used Curl for a year now because I switched to Perl’s LWP. And it has the same problem. I solved it by making my own function for building the multipart form data and it can simulate the behavior but it doesn’t happen by default.

      And while in case of LWP it was rather simple, doing it in Curl (used in PHP) would probably require recompiling the Curl library and then recompiling the module for the programming language that is using that library.

       

      Changing field names

      Another trick I use is changing field names and adding additional ones that are meant to be left empty.

      This method also seems to catch part of spam messages.

       

      From the user point of view

      User obviously doesn’t see those extra fields because they get hidden using CSS. The comment form looks like any other standard comment form.

       2013-04-12-125208_1440x900_scrot

      Conclusion

      I have been using these techniques for about a year now and haven’t had any spam problems since then. Also I have a huge log file with spam that was caught using these methods. This really does work. :)

      Of course it won’t help in case of directly targeted spam but in that case captchas won’t help either.

      And I understand that writing about this will probably contribute to fixing Curl and other libraries and eventually making this protection method useless. Well, at least they will finally fix those libraries! :D

      03 Apr, 2013

      LATA aicina valdību aktīvāk atbalstīt izstrādātās iniciatīvas IKT nozares attīstībai

      Latvijas atvērto tehnoloģiju asociācija (LATA) atklātā vēstulē valdības pārstāvjiem pauž savu atbalstu un aicina aktīvi atbalstīt Vides aizsardzības un reģionālās attīstības ministrijas (VARAM) iniciatīvas informācijas un komunikācijas tehnoloģiju (IKT) jomā, kuru mērķis ir nodrošināt Latvijā atvērtu, efektīvu informācijas apmaiņu un likt spēcīgus pamatus informācijas sabiedrības veidošanā. Šī gada janvārī valdībā tika apstiprināta VARAM izstrādātā koncepcija par [...]

      Atklāta vēstule par atbalstu VARAM izstrādātajām IKT nozares attīstības iniciatīvām

      LR Ministru prezidentam Valdim Dombrovskim LR satiksmes ministram Anrijam Matīsam LR finanšu ministram Andrim Vilkam LR vides aizsardzības un reģionālās attīstības ministram Edmundam Sprūdžam LR 11.Saeimas Tautsaimniecības, agrārās, vides un reģionālās politikas komisijai Latvijas atvērto tehnoloģiju asociācija (LATA) pauž savu atbalstu un aicina valdību aktīvi atbalstīt Vides aizsardzības un reģionālās attīstības ministrijas (VARAM) iniciatīvas, kuru mērķis ir nodrošināt Latvijā atvērtu, [...]

      24 Mar, 2013

      Slackware-current MySQL nomainīts ar MariaDB

      No changelog:

      Sat Mar 23 22:49:52 UTC 2013

      The big news here is the removal of MySQL in favor of MariaDB. This
      shouldn’t really be a surprise on any level. The poll on LQ showed a large
      majority of our users were in favor of the change. It’s my belief that
      the MariaDB Foundation will do a better job with the code, be more
      responsive to security concerns, and be more willing to work with the
      open source community. And while I don’t think there is currently any
      issue with MySQL’s licensing of the community edition for commercial uses,
      several threads on LQ showed that there is confusion about this, whereas
      with MariaDB the freedom to use the software is quite clear. Thanks are
      due to Heinz Wiesinger for his work on transitioning the build script,
      testing, and getting us all behind this move. He’s been working with
      MariaDB (and their developers) for several years now. Vincent Batts also
      had a hand in the early discussions here — he met Daniel Bartholomew of
      MariaDB on a train last year and got a copy of the source to play with to
      pass the time on the journey (ah, the miracle of thumbdrives :) , and was
      impressed with not only MariaDB itself, but also with the welcome that
      Slackware was getting. We expect they’ll be responsive to any concerns
      we have. In the vast majority of situations, MariaDB is entirely
      compatible with existing MySQL databases and will drop right in with no
      changes required. There’s an article available outlining the areas in
      which MariaDB differs from MySQL that I’d recommend reading:

      https://kb.askmonty.org/v/mariadb-versus-mysql-compatibility/

      20 Mar, 2013

      Iznācis Austrumi 2.6.8

      * jaunināti: openssh, ntfs-3g, seamonkey, xorg-server, flash-player, php
      * jauninātas sistēmbibliotēkas: openssl, libXcomposite, libXdamage, libXi, libdrm, pixman, xf86-video-intel, xf86-video-nouveau, mesa, freetype, nvidia-glx
      * jaunināts kernel 3.8.3

      Lejupielāde: austrumi-2.6.8

      13 Mar, 2013

      Par tiem dzeltenajiem taloniem…

      Ik pa laikam saņemu jautājumus par E-taloniem kā NDEF tagiem, tāpēc izdomāju par to iedrukāt blogā.

      Pēc Mifare Ultralight specifikācijas sanāk, ka izlietotu dzelteno E-talonu nevar lietot kā NFC NDEF tagu, jo pēc izlietošanas OTP (page 3) baiti nav uzstādīti ne uz 00 00 00 00 (tukšam tagam), ne  E1 10 06 00 (formatētam NDEF tagam), kā arī lock baiti (page 2, byte 2 un 3) dažās versijās (vecākām kartēm) nav uzstādīti uz 00 00. Šī iemesla dēļ, taga formatēšana beigsies ar kļūdas paziņojumu.

      Tas gan nenozīmē, ka dzeltenajos E-talonos nevar rakstīt savu informāciju.

      Vēl nedaudz pārsteidza izmaiņas jaunākajos E-talonos. Narvesenā pirktajiem dzeltenajiem taloniem lock baiti (page 2, byte 2 un 3) vairs netiek uzstādīti uz 70 00, kas nozīmē, ka visas lapas (4-15 ir brīvi rakstāmas).

      12 Mar, 2013

      Kā top Raspberry PI

      Ne gluži tieša saistība ar Linux, brīvo programmatūru, vai atvērto pirmkodu, bet tomēr - šeit Reuters reportāža par to, kā Lielbritānijā top Raspberry PI sistēma uz platītes (ko var iegādāt par 20 - 30 Ls). Šobrīd daļu no mikroshēmām vēl ražo Ķīnā, bet arī to ražošanu plāno pārvest uz Lielbritāniju. Izskatās ka nelieliem apjomiem ražot šajā pusē (vismaz no Lielbritānijas puses) arvien vairāk attaisnojas vieglāka menedžmenta, augstākas ražošanas kvalitātes un transporta izmaksu dēļ.

      Pašam šobrīd mājās arī stāv B modelis un gaida vasaru, kad lielais mācību finišs būs beidzies. Tajā pašā laikā Raspberry PI kopienā Google+ parādās arvien jauni un ļoti interesanti pielietojumi.

      17 Feb, 2013

      Istabai.lv – installation

      So, the price of heating my apartment has gone up significantly since last year and a lot of people have noticed the same trend. As a geek, I want not just any solutions, but geekiest solutions possible to that – enter a Smart Home system. The heating in my apartment is separated from all other apartments with a separate heat meter that measures both heating water flow and the temperature difference on the incoming and outgoing pipes, so if I reduce the heating consumption I will immediately see that in lower heating bills. This particular smart home system is very simple and made in Latvia and also relatively cheap, so I decided to give this a try.

      The start was very simple – I filled out a form on their home page and got a call the next day to verify the specifics. They already knew my building and had experience installing there, so they offered me two options: I could have two thermal sensors and a radiator controller on each of the 3 radiators in my apartment or (seeing how my apartment is relatively small and well ventilated thus reducing the efficiency of per-room control) one thermal sensor and one radiator controller installed on a new valve that they would build into the heating pipe just outside my apartment. I chose the second option as that was cheaper, simpler and involved less installation for me. Also they offered a nice discount.

      A plumber of my building installed the valve at some point during the day, I did not even have to be there or arrange anything special, it was all included in the main bill. Then the next day a friendly guy came by to my office and gave me three very cute boxes. The packaging was very, very Apple-like. The three devices were named ‘mother’, ‘spy’ and ‘puller’ – basically that is a base station, a temperature sensor and a radiator regulator – a wireless stepper motor.

      The installation was straight forward – I connected the base station (something very similar to this thin in size and looks) to Ethernet and power, went to the web address specified on the sticker on the base station, completed a registration process there, entered a code from the base of the base station into the website and it just found it. After that I pressed a button on the temperature sensor (a Zippo lighter sized box with a built-in Li-Ion battery rechargeable via microUSB once a year or so) and put that on a shelf. I secured it with some double-sided tape after the cat got to it once and played some hockey while I was away. The temperature sensor immediately showed up in the Web UI and I could assign it to a room.

      The regulator installation was the most complex bit, but it was trivial as well – all I had to do was insert some AA batteries (helpfully included in the box, should last a couple years by their estimates), then go outside to the newly installed inlet valve, put this thing on, screw the thread with my hands and then push and hold a button for 10 seconds. After that the controller came to life, connected with the base station and started spinning the valve, testing its operational range I presume. The range is very good – you can see 13% signal in the screenshots – that is across the whole of the apartment, trough 3 solid walls and another 5 meters out in the hallway inside another wall.

      As soon as that was done, the Web UI showed the controller and asked my to assign it to a room. So now I have 1 room defined with 1 temperature sensor and one controller. That is all that is needed.

      Temperature

      From the charts I have already found out that at current inside/outside temperatures my apartment cools down at around 0.3 degrees C per hour and with current radiator settings it heats up by around 1 degree C per hour. I should turn the radiators up a bit thus increasing the rate at which the system is able to heat things up. Also I should try to re-inspect all possible cold spots to see why the cooldown speed is so high. I expected it to be lower. At least now I have real data to compare things.

      Temperature chart

      At this point you can either fire up your web browser or a Android/iOS client on you mobile device to monitor and control the temperature of the apartment. But that was not enough for me – I opted for the PRO upgrade which includes the ability to program a weekly cycle of desired temperatures. The programming is limited and thus simple to do – there are three temperature modes: day, night and eco. The idea is that you have the night mode every night, then at some time during the day, you have the day mode (to wake up), then you switch to eco mode (when noone is home) and then in the evening you go back to day mode and later to night mode. There are separate sliders for each day of the week and temperature settings for each of the modes for every programmed room.

      Time zones

      Temperatures in zones

      Devices

      Total investment so far – 210 Ls (or around 3 months worth of just heating bills). The experience of other users tells of 30-50% heating bill reduction, so this should pay for itself in 2-3 years. In addition I get a more stable and predictable temperature at home and some more geeky stuff to brag about – yay!

      These guys have their work cut out for them – I have no idea how/of they do international orders, I would definately like to see more information in the web site about how my system is working (more temperature history, valve state history, wireless signal and battery history, mobile apps are a bit wonky – it feels like the mobile app does not respect the temperature set over the web and tries to reassert itself when opened and it often shows out-of-date temperature data with no indication that it is out-of-date + the mobile apps are missing charts.

      All in all – this is a great start: easy, quite cheap and stylish home heating automation. Good work!

      P.S. I am pretty sure they use Linux, but it is so packaged, that there is basically no way to confirm or deny that.

      P.P.S. Also – check out this overnight chart, there is definitely some mode switch anticipation going on :)
      Overnight temperatures

      20 Jan, 2013

      “Privātās informācijas drošība” LATA konferencē “Drošība un atvērtība”

      17. janvārī LAKA biedrs Rūdolfs Mazurs uzstājās LATA konferencē “Drošība un atvērtība” par tēmu “Privātās informācijas drošība”. Uzstāšanās tika sagatavota kopā ar LATA asociēto biedru, arī LAKA biedru Pēteri Krišjāni.
      Šogad konference bija ļoti plaši apmeklēta un telpas bija pārpildītas. Pārsvarā tika apspriesti dažādi riski un mazāk par iespējām tos mīkstināt, bet šādā vienas dienas konferencē daudz vairāk paspēt arī nebija iespējams.

      Rūdolfa un Pētera prezentācijas fails lejupielādējams šeit  Privātās informācijas drošība

      02 Jan, 2013

      Ubuntu uz telefoniem.

      Beidzot! Beidzot tas ir noticis. Ubuntu ir spēruši nākamo loģisko soli uz priekšu savā attīstībā. Tiek izstrādāta Ubuntu Phone OS.  Lūk arī prezentācijas video:

      Izskatās daudzsološi. Vismaz OS izskatās labi un patīkami, ka tiek atbalstīts HTML5 tik dziļā līmenī, HTML5 programmas spēs izmantot teju visas OS iebūvēts funkcijas. Ir izstrādāts speciāls API priekš HTML5 integrācijas sistēmā. Tas palīdzēs daudziem izstrādātājiem pielāgot jau esošās HTML5 programmas no iOS un Android uz Ubuntu. Tas palīdzēs ātri audzēt pieejamo aplikāciju skaitu, kas ir viens no noteicošajiem faktoriem, kad pircējs izvēlas savu kārtēju gudro telefonu. Protams, būs arī savs izstrādāšanas rīks balstīts uz QML (Qt), un aplikācijas varēs izstrādāt gan ar C un C++, Javascript un citām programmēšanas valodām.’Tiek solīts pilns OpenGL atbalsts kas  ļaus izmantot telefona grafiskās iespējas par visiem 100%.  Vismaz prezentācijas video viss izskatījās ļoti skaisti nostrādāts utt. Protams, ātrdarbību varēs novērtēt  šā gada 8. janvārī CES izstādē, kad tiks prezentēts Ubuntu uz telefona. Ar nepacietību gaidu reālu prezentāciju, kur varēs redzēt ierīci darbībā.

      Kā redzams video, tad Canonical cenšas ieturēt vienotu dizainu gan Desktop gan Mobile OS, lai lietotājs neapjuktu ar dažādajiem interfeisiem  Kā arī visas aplikācijas, kuras tiks izstrādātas priekš mobilā Ubuntu darbosies arī uz datora. Tas ir samērā liels ieguvums, bet izaicinājums aplikāciju izstrādātājiem, lai lietošanas pieredze būtu pēc iespējas labāka uz dažādām ierīcēm. Protams, kur bez mākoņa, arī tas būs iekļauts iekš Ubuntu. Tātad visa sapirktā mūzika, video un grāmatas būs pieejamas uz visām ierīcēm, kā arī mobilā tālruņa saturs tiks automātiski dublēts mākonī, ja nu kas slikts notiek ar tālruni. Protams, Android un iOS to jau piedāvā, Arī Windows 8 to piedāvā. Bet izskatās, ka Canonical ir rūpīgi vērojuši konkurentus, un cenšas piedāvāt gandrīz ideālu OS, izvairoties no jaunu funkciju ieviešanas, prasot materiālus ieguldījumus no lietotājiem. Tātad arī Amazon ir ieguvējs no Ubuntu telefona, jo kā zināms, tad Ubuntu mākonis ir cieši saistīts ar Amazon pakalpojumiem un serveriem. Var gadīties, ka šādi piepildīsies baumas par Amazon viedtālruni, kurš nebūs balstīts uz Android. Tas nozīmētu, ka Amazon atbrīvotos no Google ietekmes un spētu aktīvāk un agresīvāk konkurēt ar Google Play servisiem un Google Nexus iekārtu līniju.

      Vēl par ierīci. Demo video patika kā tika pilnībā izmantots telefona ekrāns un balss vadība, kura spēj paveikt daudz vairāk par ierasto Siri un Google Now. Ar balss vadību būs iespējams meklēt ne tikai informāciju, bet arī aplikāciju funkcijas un pielietot tās. Tas jau atkal palīdz samazināt lietotāja saskarnes elementus un maksimāli atvēlēt ekrāna platību tieši saturam, kas interesē lietotāju. Tas ir pozitīvs moments.

      Ja godīgi, ir jāsagaida reāla tālruņa prezentācija, jo daudz kas ir atkarīgs tieši no tālruņa dzelžu ražotāja un parametriem. Kā arī jāredz, kā reāli tālrunis darbojas un vai viss ir tik skaisti kā parādīts. Bet, ja tomēr viss darbosies kā stāstīts, tad nākamais tālrunis vairs nebūs 100% Android. Redzēsim kā lietas attīstīsies un kas notiks ar planšetdatoriem, jo video sākumā tika pieminēts, ka uz visām iekārtām grib palaist ubuntu- PC, Laptop, Tv, Mobile, Tablets.


      Filed under: Linux, PC stuff, Video

      30 Oct, 2012

      Darbs Firefox komandā

      Nu jau pirms kāda laiciņa biju Firefox pasākumā, kur starp visādām citām runām pļāpāju arī ar Firefox veiktspējas komandas vadītāju. Izrādās viņiem, tāpat kā visiem citiem mūsdienu IT pasaulē pietrūkst sakarīgu cilvēku. Esmu apsolījies apskatīties vai starp Latvijas IT cilvēkiem nav kāds, kas gribētu pievienoties Firefox komandai.

      Cik saprotu no runām ar cilvēkiem, kas strādā pie Firefox izstrādes, reālais darbs būtu no mājām Latvijā, saziņa pa Skype vai kādu līdzīgu rīku. Ik pa brīdim sanāktu arī braucieni uz vietu kur kopā sanāk dažādi Firefox izstrādātāji. Piedāvājums, manuprāt, tīri sakarīgs.

      Bet kas tad reāli jādara? Ievadam šis, ko man strāstīja Firefox veiktspējas komandas vadītājs:
      We have a system called telemetry for collecting performance data, see
      https://blog.mozilla.org/tglek/2012/07/25/telemetry-and-what-it-is-good-for-part-1-nuts-and-bolts/
      https://blog.mozilla.org/tglek/2012/07/25/telemetry-and-what-it-is-good-for-part-2-telemetry-achievements/
      I'd like to build out a new performance-analytics team which would be tasked with coming up with ideas for tracking performance, implementing tools for developers to get the most out of their probes, etc.
      The main challenge in the position is that it is a creative one, we do not yet know what we want. We have a lot of data, we want someone who can look at what we do and actively suggest things we can measure, experiment with.

      Ja šis liekas interesanti, dod man ziņu raksta komentāros vai uz epastu orvils -iekš- gmail.com
      Pastāstīšu sīkāk, parādīšu kā izskatās esošā Frefox statistika un sapazīstināšu ar Firefox cilvēku, kas varēs visiem jautājumiem par šo darba iespēju.


      25 Oct, 2012

      Ubuntu 12.10 sagaidīšana

      Kārtējo reizi ir klāt rudenīgais oktobris — un līdz ar to kā ugunīgs putns klāt ir arī Ubuntu Linux kārtējais laidiens, versija 12.10. Kā jau nākamais pēc ilgtermiņa atbalsta laidiena, tas nāk ne tikai ar atvērtā pirmkoda programmatūras uzlabojumiem, bet arī ar jaunām idejām.

      Jaunajā Ubuntu ir padziļināta sociālo tīklu servisu integrācija, izmantojot centralizētu konfigurācijas vidi. Tā ļauj pārskatāmi pārvaldīt Twitter, Facebook un citu servisu kontus, kā arī veic automātisku lietotņu konfigurāciju, nodrošinot ērtu tūlītēju ziņojumapmaiņu, attēlu augšupielādēšanu, e-pasta lasīšanu un ziņu rakstīšanu.

      Tīmekļa lietotnes (web applications) ir iespēja palaist izvēlēto tīmekļa vietni kā lietotni, ikreiz atverot to īpašā pārlūka sesijā. Tas aizsargā jūsu datus no kaitnieciskām lapām un tīmekļa pārlūka avārijām, kā arī palīdz viegli pārslēgties uz jaunizveidoto lietotni darba gaitā, piešķirot tai attiecīgās tīmekļa vietnes ikonu.

      Ubuntu saskarne Unity ir ieguvusi nelielus, bet skaistus uzlabojumus — piemēram, minimizēšanas un lietotņu pārslēgšanas animācijas. Savukārt Unity Dash ir pieejamas lēcas (lenses), kuras dod iespēju meklēt Ubuntu programmatūras centra krātuvēs, instalēt un iegādāties programmatūru, kā arī meklēt produktus Amazon tīmekļa veikalā (šo iespēju ir viegli atslēgt, nodrošinot lietotāja datu privātumu).

      Šo laidienu sagaidījām arī 18. oktobrī ar Latvijas atvērtā koda asociācijas un Latvijas Universitātes “Linux Centra” rīkoto pasākumu LU kafejnīcas prezentāciju zālē. Pasākumu apmeklēja daudzi interesenti, kas vēlējās uzzināt par Ubuntu lietošanas un atbalsta iespējām. Pasākumu finansiāli atbalstīja Latvijas atvērto tehnoloģiju asociācija.

      18 Oct, 2012

      Jaunais Ubuntu 12.10

      Kaut kā neviens neafišē jauno UBUNTU 12.10
      Nu tad es vismaz ieminēšos.
      Ir iznācis Jaunais Ubuntu 12.10 un ir lejupielādējams. Iesaku lietot torentu, jo tur lielāks ātrums. No web velkot, ļoti ilgi jāgaida.
      Vēlāk būs mazs apskats.


      Filed under: Linux Tagged: Linux, Ubuntu 12.10

      01 Oct, 2012

      GNOME 3.6 sagaidīšanas tusiņš

      27. septembrī LAKA biedri organizēja GNOME 3.6. sagaidīšanas tusiņu krogā Andalūzijas suns. Tajā apskatīja laidiena jaunumus Fedora alfa versijā, kā arī nosvinēja Gnome 3.6 tulkošanas sprinta beigas. Vairāk apskatīt var G+.

      23 Sep, 2012

      New version of Tespeed (Terminal network speed test)

      Most advanced computer users know about speedtest.net that helps testing your internet bandwidth. While it is a great tool, it has only flash version available on their web site and there are Android and iOS apps for your mobile phones, but there were no tools available for Linux servers without GUI.

      Back in 2009 I made a PHP script that tested network speed, wrote the results to text file and generated PNG graphs to be shown on web. It used speedtest.net partner servers and it got the data usage from ifconfig thus making it read the total bandwidth, not just what had been left for the php script itself. I set it up on my home router so I could prove my ISP that their internet is far form what they advertised.

      I also uploaded it to Sourceforge and forgot about it’s existence for some time.

      Years have passed and it has been downloaded almost 17 000 times, even though it doesn’t really work in every case and it wasn’t that easy to set up.

      So I figured I should make a new version, written in Python (just to practice it), and so I did.

      The new Tespeed is available at Github: https://github.com/Janhouse/tespeed

      It is licensed under MIT license.

      There are still some bugs and planned features left to sort out, but after testing it on multiple computers it is working fine.

       

      Tespeed in automatic mode looking for best testing server and doing download and upload tests.

      The new version finds closest servers and then picks the one with lowest latency.

       

      Available server list top 25 (by distance)

       

      You can also get a list of all available servers (and see the approximate distance to them) by using list-servers command.

       

      Manually specified test server.

       

      Please send me some feedback so I could make it better.

      And go thank speedtest.net for this great service. :)

      Cloning or pre-configuring a batch of Android phones

      An interesting question popped up in my Twitter stream today – is there an Android alternative to Apple configurator (for iPhone, iPad and iPod Touch) that allows to create a bunch of identical Apple devices with some added configurations and applications. The best I could come up with is not as polished, but on the other hand much more powerful option – Nandroid backup and restore (also known as ClockworkMod Recovery backup).

      To do this, you need a source phone and a bunch of destination phones. On the source phone a ClockworkMod Recovery (CWR) must be installed (either via a root or via a bootloader unlock). On the destination phones you will either need to also install ClockworkMod Recovery or unlock the bootloader to allow the Fastboot tool to work.

      So the procedure then goes as follows:
      1. Unlock the bootloader on the source phone (search for device specific info on how to do that)
      2. Use fastboot flash recovery filename.img to write a device-specific version of CWR to the recovery partition of the device (the phone must be in fastboot mode at that point)
      3. Do whatever customisations you want to the source phone at this point. You can use custorm ROMs, install whatever applications, do whatever configuration, but I would suggest keeping everything in phone memory so you don’t have to flash the SD card as well.
      4. Reboot the source phone into CWR mode, use the backup option to create a full backup.
      5. The backup will now be in the SD card of the source device. Copy that to the computer that you will use for creating copies.

      For each destination phone:
      6. Unlock the bootloader of the destination phone
      7. Reboot the phone in the fastboot mode, connect it via USB to the copying computer
      8. Flash all partitions from the backup using fastboot flash ... commands, skip flashing the recovery partition if you don’t want CMR on the destination device
      9. Re-lock the bootloader (with fastboot oem lock)

      And you are done!

      All the phones must be of the same model. And that model must support unlocking bootloader for this to work.

      I prefer this method, because this way it is possible to create an end device without root, with a locked bootloader and without CWR thus providing some security as unlocking the bootloader wipes the device, so without specific hacking an attacker can not easily get access to system data on such device. It is also possible to do this with devices that do not have an boot unlock if there is a way to root the original firmware which allows to install CWR and go on from there, but that is significantly more complicated and time-consuming, so using devices with an ability to unlock the bootloader is much preferable.

      However, before you go to all that trouble, it might be worth to consider if maybe for your particular use case it would be enough with the two commands from Android SDK – adb install ... and adb push ... to install applications or individual files on devices or adb backup AppName and adb restore ... to backup and restore one or more individual applications with all their settings. These options have the benefit of that they will work across different device models and that they do not wipe other data or applications from the devices.

      As I could not immediately find a better way or even a detailed guide how to do this, I decided to write this post, so it would be easier for other people to find this information. If you know a better way, please do mention it in the comments section!

      31 Jul, 2012

      OpenSource video pamācības

      Esam pabeiguši projektu "Bezmaksas programmatūras lietošanas veicināšana Baltijas valstīs". Uztaisījām video pamācības open source programmu izmantošanai. Viena, ko gribu parādīt arī citiem ir redzama zemāk - grāmatzīmju un vēstures izmantošana Mozilla Firefox pārlūkā. Spečuki šo visu jau zina, bet visiem ir kāda mamma, tētis vai vecmāmiņa, kuras IT iemaņas varētu uzlabot.



      Projekta ietvaros tika izveidota arī mācību grāmata GIMP izmantošanai. Ievērtējam.


      Citi video pieejami šeit: http://training.opensource.bda.lv/
      Ja šobrīd iziet e-apmācības kursu un veiksmīgi izpilda uzdevumus, var dabūt arī BDA sertifikātu.

      Projekta „Bezmaksas programmatūras lietošanas veicināšana Baltijas valstīs” (2010-2012), projekta nr. 2010-1-LV1-LEO05-00868 realizēts ar Eiropas Savienības atbalstu.


      Papildus informācija par projektu atrodama šeit: http://www.opensource.bda.lv/ 

      27 Jul, 2012

      29 Jun, 2012

      Brīdinājums par kļūdu QuantumGIS, kas var izsaukt datu zudumu

      Uzmanību! Ir iznācis jauns QuantumGIS laidiens ar versijas numuru 1.8.0, taču MS-Windows versija satur GDAL/OGR bibliotēku, kas var novest pie datu zuduma, kad tiek rediģēti ESRI Shapefile formātā esoši dati! Šī kļūda bija arī versijā 1.7.4. GNU/Linux lietotāji, kuru datoros ir instalēta GDAL/OGR bibliotēkas versija 1.8.x ir pasargāti no šīs problēmas, savukārt 1.9.x lietotājus arī šī problēma skar. Ubuntu GIS PPA lietotājiem visticamāk arī ir GDAL/OGR versija 1.9.x.

      Windows lietotājiem drošākais variants ir lietot QGIS 1.6.0, kas bija pēdējā versija, kurai līdzi nenāca GDAL/OGR 1.9.x, savukārt GNU/Linux lietotājiem risinājums ir pazemināt instalētās GDAL/OGR bibliotēkas versiju uz 1.8.x.

      Konkrēti kļūdu ziņojumi un soļi, kā pārbaudīt, vai arī Jūsu QGIS versija var zaudēt datus, sniegti tālākajā raksta daļā.
      Problēmas cēlonis – GDAL/OGR ESRI Shapefile atbalstam beidzot ir pievienots atribūtu kodējuma atbalsts, taču lielākā daļa esošo datu kopu un programmu ignorē šos kodējuma iestatīšanas mehānismus un ir bez kodējuma informācijas. Sekas tam ir, ka datu kopas, kurām nav norādīts kodējums, tiek uzskatītas par ISO-8859-1 (latin1) kodējumā esošām, kas savukārt noved pie datu zuduma, ja tiek veikta datu nolasīšana. Pirms šo izmaiņu ieviešanas problēmas nebija tik nopietnas, jo tā bija lietotāja atbildība, iestatīt pareizu atribūtu kodējumu, ko, piemēram, ESRI ArcGIS saimes programmās vispār nevar vienkārši izdarīt. Papildus tam vēl klāt nāk kļūdiņas kodējuma noteikšanā un apstrādē pašā OGR bibliotēkā. Daļa blusu būs izķertas GDAL/OGR laidienā 1.9.2. Iespējams, ka šī problēma skar arī citas ĢIS programmas, kas izmanto ORG bibliotēku ESRI Shapefile formāta datņu apstrādei!

      Kā pārbaudīt, vai Jūsu instalāciju tas arī skar:
      1) Iekš QuantumGIS izveidojam jaunu ESRI Shapefile datu slāni;
      2) Tam pievienojam teksta atribūtu lauku, piemēram, “nosaukums”;
      3) Digitizējam jaunu vektordatu objektu un kā tā teksta atribūtu norādam “āšņļ”;
      4) Saglabājam rezultātu un atveram atribūtu tabulu.
      Ja “āšņļ” vietā ir “????”, tad Jūsu QGIS instalācija nupat pazaudēja Jūsu ievadītos datus. Rekomendējam šo QGIS versiju ESRI Shapefile formāta datņu rediģēšanai nelietot.

      Saistītie kļūdu ziņojumi:
      QGIS: #5900 #5622 #5508 #5340 #5255
      GDAL/OGR: #294

      21 Jun, 2012

      Fish-ing for tips

      I am trying to get used to fish as a default shell. I like some things in it, but can not quite get used to other things, so I wonder – maybe I am cooking it wrong? So here are things that I could not find a solution for, while switching from bash.

      • bash$ DISPLAY=:1 gedit – very simple thing, how do I set and environment variable for just one command execution in the most simple possible way.
      • bash$ scp hostname:somedir/*.jpg . – when I try to run this in fish, for some reason I get “fish: Warning: No match for wildcard ‘hostname:somedir/*.jpg’. The command will not be executed.” and I could not figure out how to actually run the command in a quick Googling.
      • I have (almost) come to terms that ‘while’ and ‘for’ syntax is different, but I still wonder – maybe there is some bash compatibility mode that I missed that would allow me to use my old ways?

      I do like the colors, the shortened cwd in the prompt, the univeral history and univeral variables, lower memory usage and funkier completions. Any other fish features people like? Especially I am interested in features that are not enabled by default.

      12 May, 2012

      GIMP talkas rezultāti

      Šo ceturtdien notikās jaunās GIMP versijas tulkojumu lielā pārbaude, kurā piedalījās Andris, Anita, Ilmārs, Pēteris un Rūdolfs.

      Pretēji cerētajam atradās daudzas kļūdas, kuras tagad ir izlabotas. Jaunie tulkojumi būs pieejami nākamajā GIMP 2.8 laidienā.

      Uz priekšdienām vēl būs jāpieķeras pie gegl (grafikas bibliotēkas), gap (video apstrādes spraudņa) un dokumentācijas tulkošanai, bet tas citai reizei.

      05 Apr, 2012

      Pikseļu bīdīšana 2.0 jeb Firefox 3D inspektors

      Sākot no Firefox 11 ir pieejama jauna iespēja mājas lapu izstrādātājiem, kas ļauj aplūkot mājas lapas uzbūvi 3D.

      Kā tikt pie šīs jaunās lietas?
      1. Uzklikšķinām kādā lapā ar peles kreiso taustiņu un izvēlamies "Izmeklēt".
      2. Nospiežam uz pogas "3D skats"

      Sagaidāmais rezultāts būs līdzīgs šim:
      Papildus info Mozilla izstrādātāju lapā

      Atjaunots: 22 May, 2013 23:30 UTC

      Ubuntu.lv planēta

      Ubuntu.lv planēta ir Ubuntu Latvijas kopienas dalībnieku un citu aktīvistu rakstu par Ubuntu apkopojums.

      Ubuntu.lv planētas RSS 2.0 barotne:

      Barotnes


      Draugi



      Pievienojies

      Ja vēlies pievienot savu žurnālu Ubuntu.lv planētai, tad sūti e-pastu uz adresi kaspars_._krampis_@_linux.edu.lv