ant_sz

Joined 12 years ago

Karma
33
Submissions
35
Member since
May 16
An indie Mac and Web Developer
View on Hacker News

Recent submissions

Comment · 10 years ago
Aha, seems I reinvented a wheel again. But I think the simplicity might be an advantage of wu. modd seems to be too complex for someone to getting started at the first glance.
Comment · 10 years ago
I write it because many of Go's web server are very lightweight so that they do not have the auto reloading function. It will be more convenient that we have a tool to stop the old process and start a new one after we saved some source code.

After searched and reviewed some similar solutions like that of Gulp and Grunt (many solutions are from NodeJS community), I think writing a universal command line tool with Go might be cool.

The advantages of this command is that it does not need any external dependencies and the precompiled binary can run directly on linux and macOS. It is useful not only for running dev server with `go run server.go` or `python server.py` but also when you want to rebuild your go project after any changes of source code. It is designed to be extremely simple and I have already been enjoying it during the development of itself!

Although it is lack of unit tests yet, I think it might be good for you to try it out now :)

Comment · 12 years ago
I'm from Chinese mainland, a student at Shanghai.there is not even a piece of information about this leaked to the mainstream media. many of my classmates managed to get information from multiple sources but more have no idea what happened.

it's quite strange that the blocking turns a political event into a technical one.

I'm not a 100% supporter for the protest, but I extremely dislike the government's passion of blocking everying. it makes me feel hopeless in the country knowing more and more interesting things are becoming far away from us.

Comment · 12 years ago
As for the GUI problem mentioned in the article, we now have https://github.com/andlabs/ui

I haven't yet tried this lib, It may not as good as something as Qt, but I think it is a good beginning.

Comment · 12 years ago
I am a Chinese student, some of my friends and I hold something like a hangout every year about June 4th to in memory of this event. But most of students nowadays in Chinese university have no idea what happened at 1989.

What's more, It is very hard to figure out what happened exactly because although many articles like this provide some limited information, many of the statements have no hard backing evidence and are not persuasive.

But I think the action GFW blocks google every year about this time contribute conversely to making many young people with high education get to know the Tiananmen because many of them would like to know why the government is doing this.

Comment · 12 years ago
Comment · 12 years ago
After read some documents I think swift is a little like coffeescript but still contains some Go syntax.

It's like a scripting language very much. Quite amazing isn't it?

Comment · 12 years ago
The objective-c with ARC support really enjoys some advantages script programing languages enjoy. Apple added many syntax sugar such as `@[]` to build array and `@{}` to build dictionary, which makes it easy to write.

So I am not surprised someone is trying to use it as a so-called shell script. The cocoa frameworks really contains a lot of convenient API (ex. when it comes to python, you have to install PIL or something else to process images). But on the other hand the objective-c shell scripting can not be used on platform other than OSX. That is a disadvantage.

Comment · 12 years ago
It is strange that Apple allows this API on iPad but not iPhone. What if you want to write an iPad/iPhone universal app? Although there are many 3rd party replacement, I prefer a native API anyway.

As for this popover API, I don't think it's a trick of anti-competive, It matters not so much. But there are no official explanation at all, the same as many other questions about Apple. It will be better if Apple becomes more open-----not nessesary open source, but be open to these questions to avoid guesses.

Comment · 12 years ago
Comment · 12 years ago
Programing is easy for who has already learned it. The second language is easier to learn than the first one. I think that's why programers keep telling programing is easy.

I admit that the learning curve of programing is a little steep. But isn't every skills in the world the same? Think about the first time a child learn to walk, the first time a child learn to speak. No healthy adults think these things hard to do now.

The conclusion: the programing is just like any skills in the world, they are always hard for the new beginners but become easier and easier while you are getting familiar with them. Saying if it is statically hard or not isn't an accuracy statement.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton