HNHacker News
TopNewBestAskShowJobs

fshen

105 karma · joined June 29, 2012

Developer at kanzhun.com

blog: http://shenfeng.me

submissionscomments
fshen··on Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model
I use the same computer as you do. m5 can run faster:

pip install mlx_lm

python -m mlx_vlm.convert --hf-path Qwen/Qwen3.6-27B --mlx-path ~/.mlx/models/Qwen3.6-27B-mxfp4 --quantize --q-mode mxfp4 --trust-remote-code

mlx_lm.generate --model ~/.mlx/models/Qwen3.6-27B-mxfp4 -p 'how cpu works' --max-tokens 300

Prompt: 13 tokens, 51.448 tokens-per-sec Generation: 300 tokens, 35.469 tokens-per-sec Peak memory: 14.531 GB

fshen··on Google announces Android for Work
Four years of android user. Just switch to iphone6 2 month ago.

Almost every app requests too many permissions. Almost every app starts a background process to receive notifications. which are very bad.

fshen··on Why is Golang popular in China?
compiled fast is quite helpful. The standard lib is a also +1, very useful for network services.
fshen··on Why is Golang popular in China?
Come from china, a golang user, for 2 years now.

golang.org and Google is blocked in china by government, so, Google trends and golang.org traffic from China maybe miss leading.

Go is quite popular in china, the reasons can be:

1. A few companies is based on Golang, like qiniu.com. 2. More and more companies are adopting Golang, since it's very powerful for writing network servers. These companies are facing very fast traffic growth. Golang's efficiency and expressiveness are well known. It just fills the gap. 3. China has many software developers spread in a few cities(Beijing, Shanhai, Hangzhou, etc). News spread quite effective among them.

fshen··on Ask HN: Freelancer? Seeking freelancer? (January 2014)
SEEKING WORK - Remote, I'm based in China

Full stack developers, specialized in web development, both front end and backend: fluent in Javascript, Java, Clojure, Python, C++, MySQL, Redis.

Github: shenfeng & http-kit Resume: http://shenfeng.me/resume/index.html Blog: http://shenfeng.me (most in Chinese).

Contact: shenedu at gmail dot com

fshen··on Show HN: My nodejs-supervisor like tool, written in Go
I did one using golang too. https://github.com/shenfeng/http-watcher

It monitors a directory for change (using notify facility provided by the OS), upon change, will execute a given command given by command line arg `-command`. If any browser connected, it will try to refresh the browser too.

fshen··on Show HN: My Github résumé
very nice, Thanks. I love it.
fshen··on Why you should not be displaying relative dates.
I agree with the author. And Absolute are cacheable. It's readable. what's wrong with 2012-08-24 10:16:59?
fshen··on Go is boring
I am downloading IntelliJ. I've use Eclipse for years, It works for me.

I will give Eclipse a try.

fshen··on Go is boring
Yes. I can't agree more. One example to backup: Eclipse makes Java fun.
fshen··on Lua to Javascript translator
Javascript is an usable language, just need an open mind to learn it.

Javascript is a simple language. Compile(translate) other language seems good. But complicated things.

fshen··on Show HN: Moqups - Vectorial mockups with HTML5 and SVG
Impressive.
fshen··on Why is Clojure so slow?
Clojure startup time is slow. AOT helps a little. http://clojure.org/compilation

Clojure runs quite fast, in my experience. I have written an web app http://rssminer.net, in Clojure (and some Java). On a small VPS(512M RAM, 1 core CPU), It can handle about 300 request per second, On my desktop, about 2000 req/s. Which is not slow, at least.

The persistent data structures Clojure use is fast too. I did some test a long ago, It's roughly the same speed as Java collections.

fshen··on Open Letter to Web Designers and Developers: Max CSS
Compress/minify everything: HTML, CSS, JS, Images. Less is more. Anyway, There are tools to help you understand the code if you take time to find it.
fshen··on Open Letter to Web Designers and Developers: Max CSS
Try using Chrome developer tools or firebug to inspect css. Its's better.
fshen··on How to move from Windows to Linux?
I learn a lot from reading it. I am a Linux(Debian) user.
fshen··on Another year of Clojure
Why write an OS with clojure. It's not designed to do that. Clojure is better suited to write application, low level system software does not fit.
fshen··on Shall We Use Clojure?
There are quite some interesting web apps implemented in clojure. Build web app with clojure is where clojure shines. I've built a few, some are for the company which pay me. One for myself, the source code https://github.com/shenfeng/rssminer. You can have a look, It did the things you mentioned
fshen··on Shall We Use Clojure?
I can't agree with you more. I love clojure. We have done some projects with clojure. But clojure start slow, which make scriting with it a very bad idea. As an example one of our team member write this: https://github.com/killme2008/clojure-control. we use it to manage many machines remotely, wich is a pain. We used to use fabfile to manage them, with is much better.
fshen··on Single page apps in depth (new free book)
I'v did some single apps. * https://trakrapp.com/ (server's certificate has expired) an issue tracking app. with Backbone, Jquery. * http://mei.fm/create Wwn's online stack editing app. (need to signin to get full functionality). A team structure the code with the help of Jquery, Mustache.js, Underscore. * http://rssminer.net/demo .yet another RSS reader. I write it with Jquery, Mustache.js, Underscore.