HN user

ant_sz

33 karma

An indie Mac and Web Developer

Posts2
Comments29
View on HN

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 :)

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.

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.

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?

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.

How Apple Cheats 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.

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.

I love this invention. Imagine put one in your back yard and the next time you are holding a party, you can take out your beer like a magic.

But I think compared with the CO2 that comes out from your beer, the CO2 release reduced by saving electricity isn't that much...

Killing Surface may not be a good idea. Microsoft can not afford losing the tablet market, and I think this time this giant software company have to rely on itself.

On the other hand, I have to admit that the new Surface 3 makes me a little disappoint because Microsoft insist that a tablet not only should be used on work but also should even take the place of notebook.

hmmm.... It's always hard to say what things will be like in the future, but I think I will prefer a notebook for work.

I found in current version of Safari, the rendering of webGL still have some issues on Retina display, It also cost too much energy.

So I will be satisfied even if Apple can only solve the most of these problems on desktop platform and make it on by default.

I think the age of 17 is impressive, but now not as impressive as a few years ago because more and more young people are able to do the same at such an young age.

But a young man that can achieve such an accomplishment should always be admired because he really did something wonderful!

Every time I read such a news I wish I could be younger again.... sigh..... T_T

I think even windows 8 is banned, the government may still keep buying win7 PCs.

Although there are many company in this country are developing linux distribution such as Deepin, the products are still far from easy to use.

But as a Chinese I support this action because this may contribute to free this country of a heavy dependence of MicroSoft's products. Let the younger generation knows there exists not only one operating system in the world will help improve this countries' average computer knowledge.

hmmm... before Snowden said it out we didn't know anything about what NSA is doing, but at that time, the US government was always saying China is doing what NSA is doing.

I was not accusing anything, but you see, the announcement is lack of persuasion.

The spying game seems to be a zero-sum game. After charged china for spying for business, the US government may find it won't have any effect, then the best strategy will turns out to be doing the same. Think about the billions of the dollars companies spend as political contribution.

After the war begins, It really doesn't matter who shot the first bullet.

Chrome Cube Lab 12 years ago

Cool! It seems that other than WebGL, this experiment uses only CSS3 transform. I never thought such a complicated thing can be done by CSS.

But...The faces wink a little on my firefox

I don't understand you too. I was not making fun of the speed of ruby at all! Indeed just because it's becoming faster and faster I was quite happy.

I just can't wait to see how faster the new version....

err...It's a tradeoff.

I think when the first dynamic programing language was invented, the loose typing system must be thought as a big advantage.

Type checking is necessary in some cases, but I really enjoy dynamic typing a lot. So I think a bit tradeoff like this is acceptable. After all, we have to tradeoff everywhere when it comes to computer science such as the time-space tradeoff of an algorithm.

As a Chinese I have to say baidu dose have a bad reputation even in this country. Even my friends that works at baidu feels confused after heard this.

Baidu devotes a lot in algorithm and machine learning. But when it comes to Chinese market we can see that technology does not even play an important role in one companies' success (marketing and government relations plays a more important role).

I am wondering how long will baidu keep investing in deep learning as it has so many troubles in international market (where technology really matters).