Better HN
topnewbestaskshowjobs
Log inSign up

danielszm

199 karma · joined Oct 25, 2012 (14y ago) · 32 submissions

[ my public key: https://keybase.io/danielsz; my proof: https://keybase.io/danielsz/sigs/f1JRnqMaHzfp8RllsEmqP0md38xJL1aw29pan8BfqAY ]
Submissions

comment 3mo ago · link · parent

I appreciate this very much. Thank you. Will do.

comment 3mo ago · link · parent

Yes and yes. The source language is a subset of Clojure, a small Lisp. And yes, it is also a library for Clojure. On top of it being a standalone compiler.

comment 3mo ago · link · parent

The paper can be found in the Bioscoop repo at https://github.com/danielsz/bioscoop. Direct link to the PDF: https://github.com/danielsz/bioscoop/blob/master/paper/progr...

4.

FFmpeg Compiler?

3 points · by danielszm · 3mo ago · 5 comments

comment 2y ago · link · parent

It is Friedman and Felleisen's belief "that writing programs recursively in Scheme is essentially simple pattern recognition". (The Little Schemer, Fourth Edition)

I think this sits well with what we know about cognition. Skill acquisition can be treated as a continuum with analytical reasoning lies at one end, and pattern recognition at the other. The more we practice a skill, the less any kind of reasoning is taking place, replaced by heuristics that the brain is excellent at (of which pattern recognition is but one example).

See also Daniel Kahnemann's System 1 and System 2 Thinking.

6.

Lisp's Grandfather Paradox(danielsz.github.io ↗)

28 points · by danielszm · 2y ago · 3 comments

comment 2y ago · link · parent

Greetings fellow developers,

A whirlwind tour that sheds light on the design of web frameworks that emerged in all language communities (Servlets, WSGI or Rack), reflecting the need to standardize around a portable interface abstracting HTTP.

This is a hands-on post via a take on Ring, the standard framework in Clojure. I went to great length documenting the experience of living and breathing at the REPL.

comment 3y ago · link · parent

README contains rough examples for a coding assistant, sentiment analysis, spam filters, conversational ai, etc.

9.

Cohere Clojure SDK(github.com ↗)

1 points · by danielszm · 3y ago · 1 comment

10.

Revisiting the “Whoops” Video in Clojure(youtube.com ↗)

2 points · by danielszm · 6y ago · discuss

comment 7y ago · link · parent

This is excellent. Thank you!

John McCarthy said that he never had the intention to realize the lambda calculus, but he followed that statement with the corollary that had someone "started out with that intention, he might have ended with something like LISP." Peter Landin was a pioneer in that regard. See "The Mechanical Evaluation of Expressions", published in 1964, and the SECD virtual machine. Machine interpreters like SECD and CEK may come close to a "realization" of the lambda calculus. Their design is directly inspired by its semantics. You don't necessarily end up with something like LISP, but you can, see Lispkit and LispMe.

12.

Lisp is not based on the Lambda Calculus(danielsz.github.io ↗)

285 points · by danielszm · 7y ago · 133 comments

comment 8y ago · link · parent

These are really good points. Thank you. Currently, Caonima is optimized for China, so our VPS is located in Japan and the use of the obfuscation plugin is required. After registering, users get a link with their client configuration. Users can connect with any device on which they managed to install the Shadowsocks client and the obfuscation plugin. This seems to be a pain point. Some users do not get past that stage.

Caonima provides a ready-to-use server connection. For client installation, we refer our users to the official Shadowsocks channels. Caonima is compatible with the subset of Shadowsocks clients that support the SIP003 plugins (https://shadowsocks.org/en/spec/Plugin.html). In other words, the better maintained ones, like the C libev implementation. Shadowsocks has a good installation story on Android, too, with the app store and configuration via QR code or paste link. Last time I checked, Potatso on iOS was not supporting the SIP003 plugins.

With Caonima, I was able to watch Youtube videos in China without lag. If there will be demand, we will provide kcptun connections for further optimization.

So here are some questions to which I have no answers yet. Who needs Shadowsocks as a service? People who travel to destinations where the Internet is restricted, and for which the installation and maintenance of a Shadowsocks server is overkill? Expats who expect the best speed and performance from their proxy? ISP customers who suffer from net neutrality violations? Organisations that do business with China, whose employees travel to China, and who might benefit from a lightweight solution?

Ultimately, I hope that the service can prove beneficial to its target audience. It's true that I don't know yet who that is, but I do know that it grows everyday, unfortunately. We live in a world where open, unfettered access to the Internet is becoming less rather than more self-evident.

comment 8y ago · link · parent

Via special purpose plugins.

Simple obfuscation: https://github.com/shadowsocks/simple-obfs Or GoQuiet: https://github.com/cbeuw/GoQuiet

comment 8y ago · link · parent

Caonima provides Shadowsocks as a service. You can think of Shadowsocks as a SOCKS5-based proxy implementation with an extension mechanism. In China, for example, you will want to install and enable the obfuscation plugin to avoid being flagged by the Great Firewall. Like a VPN, a Shadowsocks installation is your gateway to the open Internet in places where access to the network is restricted, whether due to censorship or net neutrality violations. Caonima grew out of my needs as a frequent China traveler. Current status is a minimally viable prototype servicing a handful of users. At this stage I'm interested in collecting feedback and assessing the service's ability to answer the needs of a broader audience. In return, and for the time being, the service is provided for free.

16.

Show HN: Caonima – A Proxy in the Party(caonima.io ↗)

4 points · by danielszm · 8y ago · 5 comments

17.

Timed idempotence with side-effects in Lisp style(danielsz.github.io ↗)

2 points · by danielszm · 9y ago · discuss

comment 10y ago · link · parent

And soon the de facto build system for Clojure. :-)

19.

Ghosts in the machine(medium.com ↗)

1 points · by danielszm · 10y ago · discuss

20.

Ghosts in the machine: an in-depth exploration of code reloading in Clojure(danielsz.github.io ↗)

2 points · by danielszm · 10y ago · discuss

21.

System 0.1.9 release(groups.google.com ↗)

1 points · by danielszm · 11y ago · discuss

22.

Om in the Real World, a Case Study(danielsz.github.io ↗)

1 points · by danielszm · 11y ago · discuss

23.

The pleasantness of Om(danielsz.github.io ↗)

63 points · by danielszm · 12y ago · 22 comments

24.

Live coding with Clojure and Emacs(danielsz.github.io ↗)

2 points · by danielszm · 12y ago · discuss

25.

Lisp's nested syntax(danielsz.github.io ↗)

2 points · by danielszm · 12y ago · discuss

comment 14y ago · link · parent

Correct, and for those interested in approaching Celluloid, here is post that demonstrates a concurrent "Hello, world" program: http://danielsz.posterous.com/167870244
12