Better HN
topnewbestaskshowjobs
Log inSign up

ichinaski

29 karma · joined Oct 3, 2011 (15y ago) · 24 submissions

Submissions

comment 12y ago · link · parent

> # 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.

comment 12y ago · link · parent

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/

comment 13y ago · link · parent

"c$ - change (replace) to the end of line"

I find 'C' simpler for that command.

comment 13y ago · link · parent

Some images: http://onedio.com/haber/gezi-parki-eyleminden-dehset-veren-f...

comment 13y ago · link · parent

In order to understand recursion, one must first understand recursion.

comment 13y ago · link · parent

AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and Java: http://wps.aw.com/wps/media/objects/5771/5909832/PDF/Luger_0...

comment 13y ago · link · parent

Now I only need a VI plugin for this IDE.

comment 13y ago · link · parent

Same here with Chrome's Vimium. Once the URL is excluded, it works fine.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

This one is brilliant: Mathematics for Computer Science.

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

comment 13y ago · link · parent

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

comment 13y ago · link · parent

Yet still all the newspapers worldwide have a Pope in their frontpage. What a frustrating coincidence.

13.

The BK-Tree – A Data Structure for Spell Checking(nullwords.wordpress.com ↗)

2 points · by ichinaski · 13y ago · discuss

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

My favourite ones:

" Make Y behave like other capitals

nnoremap Y y$

" Reselect visual block after indent/outdent

vnoremap < <gv

vnoremap > >gv

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

That´s not a dog. That´s an ewok.

comment 14y ago · link · parent

Great. Just signed up. Anyone knows of a similar courses/tutorials for C++ Game dev?

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

For a long time user, usage of up/down/left/right should be punished!

comment 15y ago · link · parent

Looks good. Gonna try it!

22.

Is It Friday? - Android Market(market.android.com ↗)

1 points · by ichinaski · 15y ago · discuss