Niteo
  • Startup Studio
  • Projects
  • About
  • Team
  • Careers
  • Blog
  • Contact
  1. Blog
  2. 2011
  3. Page 2
  • Finding bad blocks on USB flash drives

    Feb 1, 2011

    —

    by

    Neyts Zupan
    in Tech

    After a recent thorough cleaning of my office desk I found a handful of USB sticks. I knew some of them were more or less broken and some should be OK. But which are whic The solution that first came to mind was to scan USB drives for corrupted sectors / bad blocks. After some…

    Read more »: Finding bad blocks on USB flash drives
  • Deploying Cyn.in 3.1.3 on CentOS 5.4

    Jan 10, 2011

    —

    by

    Neyts Zupan
    in Tech

    Last week we were upgrading Cyn.in to the latest version. After a few days of testing on a local server it was time to deploy it to the server. Since Cyn.in needs quite some RAM to operate normally, we chose Virpus VPS instance with 2 gigs of RAM, running CentOS 5.4. Running buildout on the…

    Read more »: Deploying Cyn.in 3.1.3 on CentOS 5.4
  • Testing memoized methods

    Jan 6, 2011

    —

    by

    Neyts Zupan
    in Tech

    For a recent Plone project we needed to write unit tests for methods that were using plone.memoize for caching return values. With a standard Plone’s PloneTestCase I got the following error: Error in test test_main_image (niteoweb.elcond.tests.test_stol.TestContent) Traceback (most recent call last): File “/Users/zupo/work/python/parts/opt/lib/python2.6/unittest.py”, line 279, in run testMethod() File “/Users/zupo/work/niteoweb.elcond/src/niteoweb/elcond/tests/test_stol.py”, line 75, in test_main_image image…

    Read more »: Testing memoized methods
  • Order of ‘parts’ when compiling lxml

    Jan 5, 2011

    —

    by

    Neyts Zupan
    in Tech

    CentOS’s repos don’t have a working version of libxslt (you need 1.1.20, repos have 1.1.17) so we need to statically compile it for collective.xdv to work. But, there is a catch! You need to be careful about how you order your parts in your buildout.cfg. For examle, the following buildout.cfg works perfectly fine, it downloads…

    Read more »: Order of ‘parts’ when compiling lxml
  • Upgrade Cyn.in 2.1 to 3.1.3

    Jan 3, 2011

    —

    by

    Neyts Zupan
    in Tech

    We started using Cyn.in for internal documentation repository about 2 years ago. We are a small team of developers and we don’t use all of it’s features, but we still do use it daily and have grown to love it. It’s just great to have a place to store all little bits and pieces of…

    Read more »: Upgrade Cyn.in 2.1 to 3.1.3
←Previous Page

Search

Topics

  • General
  • Marketing
  • PeopleOps
  • Tech

Latest Posts

  • Sprint season is open
  • Niteo IRL#15 – Kranjska Gora
  • NixCon 2024 Berlin
  • PyCon JP 2024
  • Niteo IRL#13 – Lanzarote
  • EuroPython 2023
  • Niteo Summer IRL meetup in Ljubljana
Projects
  • Flagship
  • Open Source
  • Sold
  • Client
About
  • Venture Lab
  • Company
  • Timeline
  • Giving Back
Team
  • People
  • IRL
  • Conferences
Careers
  • Work & Coworkers
  • Management
  • Benefits
  • Open Jobs
Contact
  • Support
  • Address
  • Legal

© 2007 – 2024 Niteo