Better HN
topnewbestaskshowjobs
Log inSign up

fshen

105 karma · joined Jun 29, 2012 (14y ago) · 28 submissions

Developer at kanzhun.com

blog: http://shenfeng.me

Submissions

comment 7mo ago · link · parent

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

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

compiled fast is quite helpful. The standard lib is a also +1, very useful for network services.

comment 11y ago · link · parent

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.

5.

A small self-contained alternative to readline and libedit(github.com ↗)

3 points · by fshen · 12y ago · 2 comments

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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.

8.

Unified API of WebSocket and HTTP long polling/streaming for Clojure(http-kit.org ↗)

58 points · by fshen · 13y ago · 10 comments

9.

Http-watcher, reload browsers when file changed, automatically, written in go(github.com ↗)

1 points · by fshen · 13y ago · discuss

10.

Show HN: I make my Clojure web app restarts faster(shenfeng.me ↗)

1 points · by fshen · 13y ago · discuss

11.

Startup Precog says big data doesn’t need to be so complex(gigaom.com ↗)

1 points · by fshen · 14y ago · discuss

12.

Why Data Mining is (almost) Dead(emcien.com ↗)

1 points · by fshen · 14y ago · discuss

comment 14y ago · link · parent

very nice, Thanks. I love it.

comment 14y ago · link · parent

I agree with the author. And Absolute are cacheable. It's readable. what's wrong with 2012-08-24 10:16:59?

comment 14y ago · link · parent

I am downloading IntelliJ. I've use Eclipse for years, It works for me.

I will give Eclipse a try.

comment 14y ago · link · parent

Yes. I can't agree more. One example to backup: Eclipse makes Java fun.

comment 14y ago · link · parent

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.

18.

Fibonacci game, C/Clojure/go/python/nodejs/JAVA(shenfeng.me ↗)

2 points · by fshen · 14y ago · discuss

comment 14y ago · link · parent

Impressive.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

Try using Chrome developer tools or firebug to inspect css. Its's better.

comment 14y ago · link · parent

I learn a lot from reading it. I am a Linux(Debian) user.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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

comment 14y ago · link · parent

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.

27.

How far epoll can push concurrent socket connection(shenfeng.me ↗)

1 points · by fshen · 14y ago · discuss

comment 14y ago · link · parent

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.