seri's comments

seri | 10 years ago | on: The Art of Command Line

Unix tools are very powerful, but they are not as intuitive as I would like. It would be nice if we can have an httpie for process management, one for text manipulation, another for system stats, and so on.

seri | 10 years ago | on: The real scars of Korean gaming

I still hold that grief. If not for SC2, we could still be watching another Flash vs Jaedong today. So SC2 basically killed a source of entertainment for me.

seri | 11 years ago | on: Project Fi by Google

> Seems Larry decided he knew better.

Apparently he did. In the same biography, Isaacson wrote that "asking for advice to run a company" was just a clever way for Larry to visit Jobs in peace, playing to his ego, so to speak, as Jobs still held a grudge against Android.

Google is a very different company from Apple anyway. At Apple, innovation runs top-down, from the likes of Jobs and Ive to Foxconn workers. At Google, innovation runs bottom-up.

seri | 11 years ago | on: New Hacker News Guideline: Avoid Gratuitous Negativity

I like advantages (1) and (3). I have a bad feeling about (2), however. And there is one immediate disadvantage I can think of: the required comments for down-voting would dilute the average karma, which is important for some people.

One solution is to treat comments that explain down-votes differently than normal comments. That would complicate the system a bit but maybe it will be worth it.

seri | 11 years ago | on: How To Think About Chess

Huge opening theory and high draw rate are primarily the reasons why I switched to another mind game called Gomoku. Gomoku, when played at a high level, requires as much depth as Chess. Go is a also good choice but I find Gomoku much easier to keep in my life.

seri | 11 years ago | on: Binomial Heap in OCaml

I am still patiently waiting for a more up-to-date of Okasaki's classic with examples written in Haskell.

seri | 11 years ago | on: Why didn't you back me up?

Seeing how down-voted you are makes me scared of the US work environment. Looks like the only way to avoid any potential trouble is to act like a robot not just at work but also at company outings.

seri | 12 years ago | on: Ultimate Tic Tac Toe

Under free opening rules, Gomoku has been proved to be sure-win for black, aka the first player. This work done by Victor Allis could be part of the reason why Gomoku is undeservedly treated as a toy board game.

We have to remember, however, that this proof is computer search based. There was never an algorithm to find the best move given a random position. In other words, it only proves that these certain openings will guarantee black a win.

Those who loved the game came up with new opening rules. The world championships in 1989 and 1991 used the pro rule. After some evolutions, swap2 now became the standard. Under Gomoku swap2, the first player puts two black stones and one white stone on the board, and the second player can either pick one color, or puts two more stones and gives back the power to choose color to the first player.

I know about Connect6, and also a branch called Renju. But I find Gomoku more attractive. You should totally try it sometimes.

seri | 12 years ago | on: Ultimate Tic Tac Toe

Yup, Gomoku is a much more difficult game than it looks. Indeed, the game is challenging enough that there is a world championship every odd year. You can find the games from the last world championship here: http://renju.net/media/games.php?gameid=45016

I am amazed by the fact that Gomoku can be so hard to master with rules so simple you can explain to a five year old. And unlike Chess where there are a hundred year of theories to learn from before you can get going, Gomoku is still new. After a few weeks studying the standard surewin openings, you can expect to see things in a very different light and the game will get much more interesting.

Perhaps Gomoku is best known for programmers as a problem to solve. But it is nowhere near being solved. In fact, the best software are weaker than many top players.

I find Gomoku hits the sweet spot when it comes to my desire to play board games. It doesn't consume much of my time. I am always excited to find those long and obscure wins. I think the game needs more love from programmers like me.

Facebook page: https://www.facebook.com/GomokuWorld Play here: http://www.playok.com/en/gomoku/ Or here: http://fumind.com

seri | 14 years ago | on: I was once a Facebook fool

    There's a reason these guys don't call themselves a 
    "social utility" anymore... But anyway, that's a whole    
    'nother subject
I am reposting my comment on Google+ as it seems relevant to the point raised here:

"""Social networking has two vital utilities. First, it connects people of different geographical locations but of similar interests. The graph of people connected by shared interests is called the interest graph.

Secondly, it enriches existing real life relationships. This is best described within the pre-Facebook era, the era of blogging. At that point, whenever I read a friend's blog, I was always amazed by how much I don't know about him or her. A blog captures something very different about a person, something one can't comprehend even through face to face conversation. In this sense, online social networking is complementing real life social interaction.

In my vision, social networks of the future will continue to push to the limit on each of these fronts. The interest graph is apparently nowhere near complete, and there are opportunities to look for in what is missing through face to face communication, and how software can help with that.

But what Facebook has been doing is much more pervasive than that. They are partly replacing real life interaction. There are less questions to ask of a person as Facebook already shows you whether she has a boyfriend and which bar she went to last night. They are exploiting the narcissism in each and every of us. Every other social network solves a problem and then stays out of our ways. Facebook is trying to become the social life itself."""

seri | 14 years ago | on: Comparing Go with Lua

I independently ended up with the same impression with the OP. Go feels just like a statically typed Lua. Not only does Go inherits Lua in some specific language features as pointed out by the OP, but it also learns from Lua's design philosophy: be minimal.

When I was going through my journey with Go discovery, I noticed that the Go authors obsessively tried to keep the syntax size small. There is only one looping construct. The only polymorphism mechanism is interface, but interfaces are both very simple and flexible. This is like what Lua does with tables.

This also means that when a feature introduces complexity into the language, the Go authors choose to discard it. There are advantages and disadvantages with exceptions, but I think what ultimately motivated the Go authors to leave exceptions behind is that it may complicate things. And Go also doesn't have any kind of compile-time generic, so one can't write functions like append() and copy() in pure Go.

seri | 14 years ago | on: Writing Vim Plugins

First of all, I should state more clearly that I am describing my view of a dream editor rather than what I think should be done right in the Vim community. That editor will keep the core functionality of Vim, and probably the core code base, but it will have to rewrite the interface from scratch, with Lua being chosen as the only embedding language.

I am not too unhappy with the current situation by any means, but it's precisely because I have a biased relationship with Vim that I feel uneasy seeing how civilized it is to write extensions for other editors.

That said, while my dream editor probably won't be Vim 8.0, it may be in the form of a brand new fork. I do think that sounds practical.

About your first concern, historically speaking, programmers as a community don't seem to mind porting things from one platform to another. It's actually quite a fun thing to do, especially if the new platform is polishedly designed.

Your second point is interesting. I admit it's something I haven't thought of and only sounds obvious now that you say it. I would say my dream editor will have to sacrifice the command mode altogether. If there is something you type in the command mode very often, you write it as a Lua function and bind to a key.

seri | 14 years ago | on: Writing Vim Plugins

Likewise. Although the API documentation for ST2 is not yet mature as the API itself is changing, having written against ST1, I must say the experience feels much more intuitive and modular than writing for Vim.

Pathogen is great, but I would love to see a near-complete rewrite for the Vim ecosystem. This rewrite will inherit the bundle structure from modern editors like Sublime Text and Textadept. Sorry Vimscript, you just have to go. And I would pick Lua rather than Python as the interfacing language.

I'm saying all this because I still prefer using Vim to anything else.

seri | 14 years ago | on: Game theory article from a professional Starcraft player/caster.

I was less impressed with Microsoft's performance than their team spirit. After all, the mere fact that MSFT has way more employees than the other teams already means that they should be stronger. However, I was surprised that they set up an internal league to select who will get to play, and that there were many MSFT people watching together live on the grand finals day. It just seems like they take fun seriously (to quote Day9 himself), and that's pretty cool IMO.

seri | 14 years ago | on: Game theory article from a professional Starcraft player/caster.

That was awesome, sir. I love the attention to details in the scenario you described and your analysis. I only picked up the hobby of watching Starcraft about 6 months ago (I watch more Broodwar than Starcraft II), but I used to play a lot, albeit at an amateur level. I watched popular casters like diggity, Klazart, Nuke, and moletrap. However, sometimes I don't quite understand why the winner wins even though I have consumed a lot of theories in advance, perhaps for the exact reason you just pointed out. There are good comments on Team Liquid every now and then but the site is hard to browse with 100 pages on average for a popular game.

Do you write game analysis like this somewhere, or do you know where I can read something similar?

seri | 14 years ago | on: Game theory article from a professional Starcraft player/caster.

Day9 hosted an event called The After Hours Gaming League in which eight tech companies will compete each other for charity. The event has just finished its first season with team Microsoft crushing everyone else. Zynga is the runner up and Google claimed third place.

Games: http://www.youtube.com/results?search_query=ahgl Homepage: http://afterhoursgaming.tv/

There are a number of interesting game theory articles on competitive Starcraft. This is one: http://www.teamliquid.net/forum/viewmessage.php?topic_id=258... (and my comment to it: https://plus.google.com/116918963723558831013/posts/A8DRTY11...).

page 1