asmodai is currently certified at Journeyer level.

Name: Jeroen Ruigrok van der Werven
Member since: 2000-03-30 18:18:23
Last Login: 2009-05-20 12:43:17

FOAF RDF Share This

Homepage: http://www.in-nomine.org/

Notes:

Former FreeBSD and DragonFly BSD committer. Nowadays working on Python, Trac, Babel, Genshi, and many other projects.

Projects

Recent blog entries by asmodai

Syndication: RSS 2.0

Android and Material Design

The new Android version, so far called ‘L’ and most likely winding up being called Lollipop when it will be released, has a new visual style called Material Design.

For Android this change of visual style means that the code base also needs to service both old API deployments (lower than v20) as well as the new ones (v21 and upwards). In effect this means you have to create res/layout-v21 and res/values-v21 directories to customize the layout and modify the styles for the new API.

In your module’s build.gradle you have to change the compileSdkVersion to 'android-L' and the targetSdkVersion to 'L'. If you have any dependencies on support-v4 or appcompat-v7 you need to switch those to v21.+ to pick up future updates, such as a different release candidates up to the released version.

Syndicated 2014-09-07 20:16:32 from In Nomine - The Lotus Land

Revisiting Android and support libraries (support-v4 and appcompat-v7)

I have previously written on this subject, but now I am using IntelliJ IDEA 13 with the latest Android SDK of this writing (September 2014) and when you create a project you might be greeted by an error message like the following:

Error:Gradle: A problem occurred configuring project ':projectname'.
> Could not resolve all dependencies for configuration ':projectname:_debugCompile'.
   > Could not find any version that matches com.android.support:support-v4:0.0.+.
     Required by:
         Projectname:projectname:unspecified
   > Could not find any version that matches com.android.support:appcompat-v7:19.+.
     Required by:
         Projectname:projectname:unspecified

The Android SDK has switched over to Gradle since I last wrote about it. In this case the default setup already searches the local libs directory under Projectname/projectname for any jars to compile with the build of the application. But if you would follow the instructions from my previous post the chance is high that you keep running into this problem. Aside from the installation of the Android Support Library, you will also need to install the Android Support Repository in order to make dependency resolution work. Do verify that your Projectname/local.properties contains a set property for sdk.dir that points to the root of your locally installed Android SDK.

Now, you might still run into problems. The thing is that in your Projectname/projectname/build.gradle you generally want to have the compile lines for support-v4 and appcompat-v7 match the version of your targetSdkVersion. So this might become:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:support-v4:20.0.0'
    compile 'com.android.support:appcompat-v7:20.0.0'
}

These numbers can be found in the SDK under extras/android/m2repository/com/android/support under the respective entries for appcompat-v7 and support-v4. If you would use + for the version identifier, you run the chance of picking up the latest version, including release candidates and this might break your build. So in this case being explicit is better than depending on it implictly.

Syndicated 2014-09-07 15:09:58 from In Nomine - The Lotus Land

Mercurial, python keyring 3, and mercurial keyring

In an earlier post I documented how to set up an encrypted file store for your keyring. With recent versions of Python keyring (at least 3 and up) the CryptedFileKeyring backend got removed and replaced by EncryptedKeyring. So in your $HOME/.local/share/python_keyring/keyringrc.cfg you need to now have the following:

[backend]
default-keyring=keyring.backends.file.EncryptedKeyring

Syndicated 2013-10-18 09:08:13 from In Nomine - The Lotus Land

PyCharm, Mercurial and keyrings

If PyCharm complains that it Can't start Mercurial: /usr/bin/hg Probably the path to hg executable is not valid, then check if running hg from the command line triggers a problem running a certain extension. In my case I had a version of keyring and mercurial_keyring that did not play nice with each other. After upgrading these to 3.0.5 and 0.6.0 respectively, the problem went away. I guess PyCharm tests the run of the hg binary and if the shell return code (echo $?) is something other than 0 will show this warning.

Syndicated 2013-09-26 09:14:33 from In Nomine - The Lotus Land

Selenium, Chromedriver2, and SSL pages

If you are doing Selenium testing using Chromedriver2 0.8 and are having problems with self-signed SSL certificates, this is a known problem and will be fixed in a subsequent release. In the meantime I found that using the Chromedriver 26.0.1383.0 still worked without problems for Chrome 27 and also did not have this SSL certificate regression in it.

Syndicated 2013-05-24 13:47:32 from In Nomine - The Lotus Land

71 older entries...

 

asmodai certified others as follows:

  • asmodai certified anders as Apprentice
  • asmodai certified jhb as Journeyer
  • asmodai certified jmg as Master
  • asmodai certified eivind as Master
  • asmodai certified cmc as Journeyer
  • asmodai certified gsutter as Journeyer
  • asmodai certified benno as Journeyer
  • asmodai certified gelderen as Journeyer
  • asmodai certified dcs as Journeyer
  • asmodai certified nik as Master
  • asmodai certified imp as Master
  • asmodai certified wsanchez as Master
  • asmodai certified dirkx as Journeyer
  • asmodai certified kkenn as Journeyer
  • asmodai certified will as Journeyer
  • asmodai certified darius as Apprentice
  • asmodai certified dwhite as Journeyer
  • asmodai certified keichii as Apprentice
  • asmodai certified cg as Journeyer
  • asmodai certified unfurl as Journeyer
  • asmodai certified asmodai as Journeyer
  • asmodai certified jamesh as Journeyer
  • asmodai certified alex as Journeyer
  • asmodai certified nsayer as Journeyer
  • asmodai certified alan as Master
  • asmodai certified delta as Apprentice
  • asmodai certified ben as Master
  • asmodai certified rwatson as Journeyer
  • asmodai certified timj as Master
  • asmodai certified dcm as Journeyer
  • asmodai certified neo as Journeyer
  • asmodai certified pavlov as Journeyer
  • asmodai certified ashp as Apprentice
  • asmodai certified hp as Master
  • asmodai certified sascha as Journeyer
  • asmodai certified tigert as Journeyer
  • asmodai certified softweyr as Journeyer
  • asmodai certified mph as Journeyer
  • asmodai certified billf as Journeyer
  • asmodai certified obrien as Master
  • asmodai certified jmock as Journeyer
  • asmodai certified lilo as Journeyer
  • asmodai certified phk as Master
  • asmodai certified k as Journeyer
  • asmodai certified dnelson as Journeyer
  • asmodai certified Rasputin as Apprentice
  • asmodai certified winter as Journeyer
  • asmodai certified green as Journeyer
  • asmodai certified grog as Master
  • asmodai certified msmith as Master
  • asmodai certified jedgar as Journeyer
  • asmodai certified jwalther as Apprentice
  • asmodai certified nbm as Journeyer
  • asmodai certified des as Journeyer
  • asmodai certified quiet1 as Apprentice
  • asmodai certified Kalana as Apprentice
  • asmodai certified peter as Master
  • asmodai certified tetard as Apprentice
  • asmodai certified argent as Master
  • asmodai certified bp as Journeyer
  • asmodai certified dhagan as Apprentice
  • asmodai certified aunty as Journeyer
  • asmodai certified esr as Journeyer
  • asmodai certified krylan as Apprentice
  • asmodai certified cynick as Apprentice
  • asmodai certified thallgren as Apprentice
  • asmodai certified advogato as Journeyer
  • asmodai certified shawn as Journeyer
  • asmodai certified dan as Journeyer
  • asmodai certified sengan as Journeyer
  • asmodai certified rasmus as Master
  • asmodai certified mharo as Journeyer
  • asmodai certified ssb as Journeyer
  • asmodai certified lewing as Journeyer
  • asmodai certified scandal as Journeyer
  • asmodai certified sopwith as Journeyer
  • asmodai certified xela as Apprentice
  • asmodai certified aoliva as Master
  • asmodai certified scryer as Journeyer
  • asmodai certified DV as Journeyer
  • asmodai certified jkh as Master
  • asmodai certified jack as Journeyer
  • asmodai certified andrei as Journeyer
  • asmodai certified yosh as Master
  • asmodai certified hadess as Apprentice
  • asmodai certified dannyboy as Apprentice
  • asmodai certified Gruber as Journeyer
  • asmodai certified bmilekic as Journeyer
  • asmodai certified mvw as Journeyer
  • asmodai certified largo as Journeyer
  • asmodai certified bugg as Journeyer
  • asmodai certified gjvc as Apprentice
  • asmodai certified AilleCat as Journeyer
  • asmodai certified nib as Apprentice
  • asmodai certified footrot as Journeyer
  • asmodai certified DraX as Apprentice
  • asmodai certified carl as Apprentice
  • asmodai certified Nectar as Journeyer
  • asmodai certified jao as Journeyer
  • asmodai certified zwane as Journeyer

Others have certified asmodai as follows:

  • benno certified asmodai as Journeyer
  • jhb certified asmodai as Journeyer
  • gsutter certified asmodai as Journeyer
  • cmc certified asmodai as Journeyer
  • jmg certified asmodai as Journeyer
  • eivind certified asmodai as Journeyer
  • will certified asmodai as Journeyer
  • asmodai certified asmodai as Journeyer
  • rwatson certified asmodai as Journeyer
  • ashp certified asmodai as Journeyer
  • neo certified asmodai as Journeyer
  • mph certified asmodai as Journeyer
  • softweyr certified asmodai as Journeyer
  • billf certified asmodai as Journeyer
  • cg certified asmodai as Journeyer
  • phk certified asmodai as Apprentice
  • k certified asmodai as Journeyer
  • winter certified asmodai as Journeyer
  • jedgar certified asmodai as Journeyer
  • jamesh certified asmodai as Journeyer
  • tetard certified asmodai as Journeyer
  • peter certified asmodai as Journeyer
  • bp certified asmodai as Journeyer
  • thallgren certified asmodai as Journeyer
  • Kalana certified asmodai as Journeyer
  • aunty certified asmodai as Journeyer
  • krylan certified asmodai as Journeyer
  • andrei certified asmodai as Journeyer
  • hadess certified asmodai as Journeyer
  • dcs certified asmodai as Journeyer
  • dannyboy certified asmodai as Journeyer
  • Gruber certified asmodai as Journeyer
  • bmilekic certified asmodai as Journeyer
  • lgerbarg certified asmodai as Journeyer
  • gelderen certified asmodai as Journeyer
  • dirkx certified asmodai as Journeyer
  • mvw certified asmodai as Journeyer
  • AilleCat certified asmodai as Journeyer
  • gjvc certified asmodai as Journeyer
  • bugg certified asmodai as Journeyer
  • largo certified asmodai as Journeyer
  • nib certified asmodai as Journeyer
  • footrot certified asmodai as Journeyer
  • DraX certified asmodai as Journeyer
  • carl certified asmodai as Journeyer
  • Nectar certified asmodai as Journeyer
  • jao certified asmodai as Journeyer
  • zwane certified asmodai as Journeyer
  • wildweasel certified asmodai as Master
  • xsa certified asmodai as Journeyer
  • dyeske certified asmodai as Master
  • jlouis certified asmodai as Journeyer
  • mlaier certified asmodai as Journeyer
  • svan certified asmodai as Master
  • ara0bin26 certified asmodai as Journeyer
  • jblnyc certified asmodai as Journeyer
  • bsdgabor certified asmodai as Journeyer
  • malon certified asmodai as Journeyer
  • codrea certified asmodai as Journeyer
  • stevetaylor certified asmodai as Journeyer
  • badvogato certified asmodai as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page