HNHacker News
TopNewBestAskShowJobs

simonpantzare

283 karma · joined March 21, 2011

Independent consultant from Sweden. Python, PHP/Laravel, Java. Likes startups and finding use-cases for AI.

simon@fet.io

meet.hn/city/se-Sundsvall

submissionscomments
simonpantzare··on Ask HN: Front-end to Back-end or vice versa?
For a straight-forward Django hack: One view at a time, starting with models and finishing with the UI. Core views first. Iterate until complete.
simonpantzare··on Celery 3.0 has been released
I find this[1] example in Getting Started/Next Steps to be backwards:

    # incomplete partial:  add(?, 2)
    >>> s2 = add.s(2)
    # resolves the partial: add(8, 2)
    >>> res = s2.delay(8)
    >>> res.get()
    10
Shouldn't it behave like functools.partial[2]?

    >>> import functools
    >>> abc = lambda a, b, c: (a, b, c)
    >>> bc = functools.partial(abc, "a")
    >>> bc("b", "c")
    ('a', 'b', 'c')
1. http://docs.celeryproject.org/en/latest/getting-started/next...

2. http://docs.python.org/library/functools.html#functools.part...

simonpantzare··on Celery 3.0 has been released
Out of curiosity, why do you use Redis instead of RabbitMQ?
simonpantzare··on Erlang port protocol for Python
Seems nice. Last commit was almost a year ago though.
simonpantzare··on World’s First ‘Wikipedia Town’ Goes Live Today
Wikipedia already has geolocated entries[1]. Apps that make use of devices' GPS chips together with services like GeoNames[2] or WikiLocation[3] would be easier to use.

1. http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Geographi...

2. http://www.geonames.org/wikipedia/

3. http://wikilocation.org/

← PreviousPage 3 of 3