HNHacker News
TopNewBestAskShowJobs

udioron

114 karma · joined April 12, 2012

https://www.10x.org.il/
submissionscomments
udioron··on 42 (school)
> coding is to software development what moving pieces is to chess.

AFAIK, when teaching kids chess, the best way to start is teaching them how to move the pieces.

udioron··on User-defined Order in SQL
Simple solution: Don't use `unique`.

(Let's assume that your db is very fast, and let your app update all needed positions on save)

udioron··on PROJ (also known as PROJ4) gets a first major release after 25 years (PROJ 5...)
From the mailing list:

    For the first time in more than 25 years the major version number of
    the software is changed. The decision to do this is based on the many
    new features and new API. While backwards compatibility remains -
    except in a few rare corner cases - the addition of a new and improved
    programming interface warrants a new major release.
    
    The new major version number unfortunately leaves the project in a bit
    of a conundrum regarding the name. For the majority of the life-time
    of the product it has been known as PROJ.4, but since we have now
    reached version 5 the name is no longer aligned with the version
    number.
    
    Hence we have decided to decouple the name from the version number and
    from this version and onwards the product will simply be called PROJ.
    
    In recognition of the history of the software we are keeping PROJ.4 as
    the *name of the organizing project*. The same project team also
    produces the datum-grid package.
udioron··on Apple confirms it uses Google cloud for some of iCloud
While Waze (Google) is probably still using AWS.
udioron··on Waze Carpool
However: The app suffers from various minor glitches. For example: Whe I installed the app I have selected "Home" and "Work" addresses, having one of my client's offices as "Work". Since then I keep getting daily notification with suggestions for riding back and forth to my "Office" although I do not commute there daily. The app does not include any option to control those notifications or disable the "Work" address. Customer support did respond quickly to my problem, but did not supply a good solution.
udioron··on Waze Carpool
I live in Israel in a city called Modiin and use public transportion to visit client offices out of town. The public transportation by train to Tel Aviv, Hertzelia and Haifa is great, but anything else is somewhere between terrible and nonexistent. In the past year I use Waze Carpool and Moovit ( https://www.moovitapp.com/ , both developed and beta tested/dog-fooded in Israel) to get to those "unreachable" destinations at random schedules. A few times the results have been amazingly positive - being able to carpool with someone that lives just next to me and by chance needs to arrive exactly to my destination at the same time - and for the fraction of the price or the hassle of any other transportation method!

In fact - two of these drivers told me their family have gone down from two cars to a single car since using Waze Carpool, Moovit and public transportation to commute on a daily basis - a surprising statement from people living in a suburb such as Modiin. Once I was carpooled by a driver that responded to my request within 5 minutes and spent at least extra 25 minutes just to pick me up from a random spot in Jeruslaem for a 35 minute journey leaving me at my doorstep - saving me at least an hour, and probably for less than I would have paid for a bus.

udioron··on A bizarre “403 Forbidden” bug-hunting adventure
Another fix is to disable CSRF checks for all API calls which should not be served by a browser (assuming they use a different auth mechanism which does not involve cookies!). This makes sense since CSRF is a layer that relates to attacks involving browsers/cookie authentication.
udioron··on Israeli Government to Financially Support Programming Bootcamps [Hebrew]
More coverage: http://www.themarker.com/technation/1.4281310

(Funding is 10M NIS per year, for two years)

udioron··on Israeli Government to Financially Support Programming Bootcamps [Hebrew]
Short summary: The Innovation Authority Board approved a new program for rapid training of high-tech workers. The goal of the program is to encourage new and existing non-academic bootcamps that will provide intensive training for a period of six months to a year. The goal is to provide 250 new employees by the end of the first year and reach 450 new employees in the third year. The plan is currently pending approval by the Minister of Finance and the Minister of Economy. Bootcamps will enjoy a bonus of (14,000 NIS - current salary) X 8 for any hired prticipant. (Or X 10 for females or X 12 for arab or ultra-orthodox minorities).
udioron··on What I Learned from Researching Coding Bootcamps
Interesting quote:

> Also, we noticed that at least four students happened to be married to programmers, and at least seven others had parents, siblings or other important people in their social circle who were programmers.

udioron··on Google is Forcing Routebuilder to Shut Down
It should be quite easy to port your app to use leaflet.js[1] and openstreetmap/mapbox.

[1] http://leafletjs.com/

udioron··on Common Python Mistakes
Regarding circular imports and #7: The main problem in arises when using the from mymodule import mysymbol notion.

The example solved this by properly using import mymodule, although this might cause some more problem if your design is wrong, as see in the example. Calling f() from the module ("library") code itself is a very bad idea. Instead one should do this:

a.py:

    import b

    def f():
        return b.x
b.py:

    import a

    x = 1

    def g():
        print a.f()
main.py:

    import a

    a.f()
udioron··on Common Python Mistakes
Regarding common mistake #5, when using enumerate(mylist), mylist can be modified::

    for i, x in enumerate(numbers):
        if odd(x):
           del numbers[i]
udioron··on My favorite debugging tool
Nice trick for identifying bottlenecks. If you want to leavarage your "debugging" skills, try this wonderful course: https://www.udacity.com/course/cs259
udioron··on What are your plans for 2013?
Mentor aspiring junior software developers, empower Great people, help them fulfill their dreams.
udioron··on A Tale of Two Bridges
"In most parts of the world, when a bridge is needed it is built from wood, steel or concrete. But in Cherrapunji in northeastern India, the locals are much more patient. They simply coax nearby trees to grow into natural bridges. The process takes many years, but the result is completely natural, surprisingly strong, and looks like something out of a wonderful fantasy world..."

From: http://webecoist.momtastic.com/2009/10/21/bridge-to-nature-a...

← PreviousPage 2 of 2