SkiToy Blog
open-menu closeme
Home
About
English Português
github twitter linkedin
  • Array Intersection Bake-off

    calendar May 15, 2009 · 5 min read · performance java python php ruby  ·
    Share on: twitter facebook linkedin copy

    One of those moments where an interview question turns into a research project, or is it really a bake off? The simple problem is demonstrate an algorithm to intersect two lists of numbers, fundamentally it’s a question about using modern interpreted languages and their associative array bits to make a simple …


    Read More
  • Set permission_required for your view functions

    calendar Sep 22, 2008 · 1 min read · django python  ·
    Share on: twitter facebook linkedin copy

    Working with django 1.0 and google app engine… Wanted to set every view on my admin page to have admin permission. 1def perm_admin(rootfunc) : 2 import sys 3 module = sys.modules.get(rootfunc.module) 4 for key, value in module.dict.items() : 5 if type(value) is types.FunctionType and key[0] != '' and …


    Read More
  • Python import improvements

    calendar Aug 4, 2008 · 2 min read · python  ·
    Share on: twitter facebook linkedin copy

    [originally posted to comp.lang.python — but worth repeating] Ruby has been getting pummeled for the last year or more on the performance subject. They’ve been working hard at improving it. From my arm chair perspective Python is sitting on it’s laurels and not taking this as seriously as it probably should. In general …


    Read More
  • JavaScript (spidermonkey) version

    calendar Jun 13, 2008 · 1 min read · python performance  ·
    Share on: twitter facebook linkedin copy

    Way to carried away with this… here’s the SpiderMonkey version (as opposed to the rhino) one. Biggest complaint is the File object is a bit of a pain to use… 1fd = File('p.test'); 2fd.open("read",'text'); 3 4mre = /^MULTI_TOKEN\s+(\S+)\s+(.)\t?\s(\d+)\s*$/; 5sre = …


    Read More
  • When’s a string not a string

    calendar Jun 13, 2008 · 2 min read · python orm  ·
    Share on: twitter facebook linkedin copy

    When it’s intertwined — ok, bad joke. I’m currently “fighting” (playing) around with the python storm ORM system and had the following problem (not the real code, but demonstration). What I wanted to say is: 1find(..., employee_title == 'CEO') However this didn’t work, I had to say: 1find(..., …


    Read More
  • Performance of Python, PHP and Perl

    calendar Jun 10, 2008 · 3 min read · performance perl php python  ·
    Share on: twitter facebook linkedin copy

    Had a 7GB text file that I needed to run some parsing on (to prepare for a DB import). As part of my habit I pulled out perl and whipped up a quick program to parse and generate some loadable files. While watching it run I got to thinking about … why … why perl (yes, I know habbits are hard to break). So while watching …


    Read More
  • Python is not Java

    calendar Apr 29, 2008 · 2 min read · python  ·
    Share on: twitter facebook linkedin copy

    I admit it, I’ve been working on my middleware python server. Here’s the basic design of the app at this point: PHP <— JSON-RPC —-> Python <–> MySql The assumption is that as things grow, you’ve already defined a good layer to scale at and have a reasonable Object abstraction from the front end. At one …


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

David Koblas

Technologist who's focused on continual incremental improvement.
Read More

Featured Posts

  • Managing Git Docker secrets with SOPS
  • Base58 Unique IDs
  • Writing an echo server in libev and c++

Recent Posts

  • Counting Digits
  • AWS Lambda Database Migrations
  • From sqlx to db - golang ORMs
  • Performance of JavaScript object reduce
  • OpenVPN on AWS VPC with LDAP
  • React Store and Reducers
  • Writing an echo server in libev and c++

Categories

DEVELOPMENT 52 IDEAS 5 GENERAL 4 MANAGEMENT 3 DEVOPS 2

Tags

PYTHON 17 GOLANG 9 DJANGO 4 PERFORMANCE 4 PHP 4 REACT 4 FIZZBUZZ 3 PROJECT-MANAGEMENT 3 AWS 2 DOCKER 2 GRAPHQL 2 JAVA 2 JAVASCRIPT 2 LANGUAGES 2
All Tags
AGILE1 AMQP1 ANGULAR1 ARCHITECTURE1 AUTHENTICATION1 AVRO1 AWS2 BACKBONE1 C++1 CLUSTERING1 COFFESCRIPT1 COMPARISON1 CONSULTING1 DEVELOPMENT1 DEVOPS1 DJANGO4 DNS1 DOCKER2 DRAFT1 ECHO1 EMAIL1 FACEBOOK1 FIZZBUZZ3 FRAMEWORKS1 GENTOO1 GOLANG9 GRAPHQL2 HIVE1 HR1 IDEAS1 IMPALA1 JAVA2 JAVASCRIPT2 LANGUAGE1 LANGUAGES2 LIBEV1 NLP2 OAUTH1 OPENID2 ORM1 PERFORMANCE4 PERFORMANCE-REVIEWS2 PERL1 PHP4 PROGRAMMING1 PROJECT-MANAGEMENT3 PYTHON17 REACT4 REDUX1 RUBY2 S31 SCRUM1 SMTP1 SPAM1 SPARK1 SQLGREY1 STARTUPS1 THRIFT2 TORNADO2 TRAVEL1 TWISTED2 TWITTER1 ZEND2 ZENDESK1
[A~Z][0~9]
David Koblas

Copyright 2007-  DAVID KOBLAS. All Rights Reserved

to-top