fshen
fshen on Hacker News
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
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.
compiled fast is quite helpful.
The standard lib is a also +1, very useful for network services.
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.
Posted by
fshen on Monday September 01, 2014 @05:29AM
from the github.com dept.
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
I did one using golang too.
https://github.com/shenfeng/http-watcherIt 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.
Posted by
fshen on Friday March 29, 2013 @03:51AM
from the http-kit.org dept.
Posted by
fshen on Tuesday January 08, 2013 @05:24AM
from the github.com dept.
Posted by
fshen on Saturday December 08, 2012 @05:33AM
from the show-hn dept.
Posted by
fshen on Friday September 28, 2012 @04:50AM
from the gigaom.com dept.
Posted by
fshen on Friday September 21, 2012 @02:54AM
from the emcien.com dept.
very nice, Thanks. I love it.
I agree with the author.
And Absolute are cacheable.
It's readable. what's wrong with 2012-08-24 10:16:59?
I am downloading IntelliJ. I've use Eclipse for years, It works for me.
I will give Eclipse a try.
Yes. I can't agree more.
One example to backup:
Eclipse makes Java fun.
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.
Posted by
fshen on Friday July 13, 2012 @08:32PM
from the shenfeng.me dept.
Clojure startup time is slow. AOT helps a little.
http://clojure.org/compilationClojure 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.
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.
Try using Chrome developer tools or firebug to inspect css. Its's better.
I learn a lot from reading it. I am a Linux(Debian) user.
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.
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
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.
Posted by
fshen on Monday July 02, 2012 @04:29AM
from the shenfeng.me dept.
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.