HNHacker News
TopNewBestAskShowJobs

ichinaski

29 karma · joined October 3, 2011

submissionscomments
ichinaski··on Pathfinding Demystified
> # If we just got to the goal node, build and return the path.

  if adjacent == goal_node: 
    return build_path(goal_node)
If you want to ensure the path is optimal, you'll have to wait until you 'expand' the goal node, as there might exist goal states in the open set with lower costs.
ichinaski··on Abstract Libraries in Go
In order to catch up with language, I also decided to write a Graph library in Go[1]. Since this seems to be a quite common application, is there any more mature, bigger project implementing these same ideas? A similar concept in the Python community is python-graph[2].

[1] https://github.com/ichinaski/grapho

[2] https://code.google.com/p/python-graph/

ichinaski··on A mobile friendly Vim cheat sheet
"c$ - change (replace) to the end of line"

I find 'C' simpler for that command.

ichinaski··on What is Happening in Istanbul?
Some images: http://onedio.com/haber/gezi-parki-eyleminden-dehset-veren-f...
ichinaski··on Now they have two problems
In order to understand recursion, one must first understand recursion.
ichinaski··on Lisp Prolog and Evolution
AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and Java: http://wps.aw.com/wps/media/objects/5771/5909832/PDF/Luger_0...
ichinaski··on Introducing Android Studio
Now I only need a VI plugin for this IDE.
ichinaski··on Vim Adventures
Same here with Chrome's Vimium. Once the URL is excluded, it works fine.
ichinaski··on Ask HN: What is your daily reading list?
Articles:

http://www.reddit.com/r/programming

http://www.altdevblogaday.com/

http://www.genbetadev.com/ (Spanish)

http://android-developers.blogspot.com

Webcomics:

http://xkcd.com/ (Monday, Wednesday & Friday)

http://explosm.net/comics/new

http://mountsaintawesome.com/index.php

http://abstrusegoose.com/

Above all, obviously, Hacker News. I spend even more time than all others summed up.

ichinaski··on A lot of free ebooks
This one is brilliant: Mathematics for Computer Science.

http://www.cs.princeton.edu/courses/archive/spr10/cos433/mat...

ichinaski··on Announcing the Netflix Cloud Prize
After the Python at Netflix post, http://techblog.netflix.com/2013/03/python-at-netflix.html, I was expecting some Python repos on GitHub. It seems that all the open source projects they have use Java mainly. https://github.com/Netflix
ichinaski··on Physicists Say They Have Found A Higgs Boson
Yet still all the newspapers worldwide have a Pope in their frontpage. What a frustrating coincidence.
ichinaski··on The best programmers are the quickest to Google
Many of the best programmers I've seen google stuff. So do many of the worst I've seen.

The difference is the former won't type a single statement without knowing what it does first, while the latter will just copy and paste something that seems to work, regardless they understand it or not.

The last time I came across some copy-pasted code that was giving some troubles, and after asking the owner of that code what some stuff did, he was unable to tell me, after claiming it was just fine, because the code he copied was from a trustworthy source. This, I guess, is a bad practice of how googling things should work.

ichinaski··on Vim After 11 Years
My favourite ones:

" Make Y behave like other capitals

nnoremap Y y$

" Reselect visual block after indent/outdent

vnoremap < <gv

vnoremap > >gv

ichinaski··on How To Design For Android Devices
I wish the designer in my company could be interested in these kind of articles. Is quite frustrating to receive time and again all the wireframes focused on an iPhone-like look, no matter what.
ichinaski··on Dogs learn to drive in New Zealand
That´s not a dog. That´s an ewok.
ichinaski··on Coursera course on game development using Python (first homework due tomorrow)
Great. Just signed up. Anyone knows of a similar courses/tutorials for C++ Game dev?
ichinaski··on How to Ace a Startup Engineering Interview Part 1
I really appreciate this post. As a job seeker, I like reading this kind of tips. What is more, it has told me that all the things that I'm doing just for fun and for the passion that learning new things give, is being useful also for this purpose. Indeed, I think that the opposite direction is the weird one, since I can't see the point of learning C, algorithms,... just for the job seeking intention. You really need to enjoy that stuff.
ichinaski··on Weekly Vim Focus
For a long time user, usage of up/down/left/right should be punished!
ichinaski··on Show HN: Mouin, a sane way to create native mobile apps
Looks good. Gonna try it!