HNHacker News
TopNewBestAskShowJobs

jiyinyiyong

287 karma · joined March 9, 2011

/chenyong/, 1991, dreamer, coder

http://tiye.me

submissionscomments
jiyinyiyong··on Show HN: Pakhi – Bangla Programming Language
my toy for programming in Chinese http://jiuzhang.cirru.org/ .
jiyinyiyong··on PureScript and Haskell
> However, It can lead to hard to debug errors (as the error will not necessarily surface at the call site), and make it hard to reason about the performance and memory usage of code.

Agreed. Clojure uses lazy sequence by default. After ClojureScript is compiled to js, sometimes it's crazily hard to figure out why the error happened due to the obscure call site in the code.

jiyinyiyong··on Elm vs. PureScript
Find us on https://clojureverse.org/
jiyinyiyong··on Mozilla lays off 250 employees while it refocuses on commercial products
Nice discussion... (saw this via http://repo.memkits.org/hn-reader/?id=24120336 )
jiyinyiyong··on Haskell for a New Decade [pdf]
> Haskell is what happens when you go full lambda calculus, and the dedication to referential transparency really forces you down some interesting paths/abstractions. It's also worth noting that other functional languages like OCaml and lisp do not force purity so the idioms are not as extreme.

Clojure does, in some degree.

jiyinyiyong··on The original .NET garbage collector was written in Common Lisp
Try Elixir, it supports macros. Also Rust has Macros too. Although Lisp macros is different and may be more old fashion in some aspects, but it won't be hard to get the idea of code generating language, just pick one and try it.
jiyinyiyong··on Running Lisp in Production (2015)
See S-expressions in another way like this http://cirru.org/ .
jiyinyiyong··on Coming to Chrome: a new way to use tabs
I built a simple Chrome extension for my own before. Not sure if that helps though. https://chrome.google.com/webstore/detail/tab-searching/mghf...
jiyinyiyong··on Show HN: Hackeroo the Better UI for Hacker News
How about mine http://repo.memkits.org/hn-reader/?id=23122813 .
jiyinyiyong··on ClojureScript 1.10.741
Probably not. I'm not an expert either but have some basic experience on transforming my own [script](https://github.com/Cirru/cirru-script-loader) with a loader of webpack.

Normally Webpack loader transforms a single file to another file, like CoffeeScript to JavaScript, mapping one to one. So when it's processing a single file, the loader probably has no knowledge on other files. When it's importing another module, it's Webpack detecting there's a `require` or `import` and revolsing that file.

This solution is not working for ClojureScript. I thought it was thheller told me that ClojureScript has macros, it's not just transforming files one by one, which is not how I was taught to write a loader...

There might be some solution but could be tricky. At least we still need a ClojureScript provided by JVM, which is already a lot more sophistached than a normal Webpack loader.

(I was told WISP has macros like Clojure but transforms with Webpack loader. Didn't investigate into that: https://github.com/girvo/wisp-loader/blob/master/index.js#L1...) .

jiyinyiyong··on Valtan: Common Lisp to JavaScript Compiler
I do, in ClojureScript. Here are two of my main projects:

* https://github.com/Cirru/calcit-editor * https://github.com/Respo/respo

jiyinyiyong··on Wenyan-lang: Classical Chinese Programming Language
I got a tiny projected inspired by Wenyan https://github.com/Cirru/jiuzhang-lang if anyone is interested.
jiyinyiyong··on SwiftUI
Watched several short videos, it seems they are already doing that by dragging component to generate code, by configuring parameters in the code with panels. It's very approaching.
jiyinyiyong··on SwiftUI
If Apple is willing to create a GUI tool for generating the DSL used in SwiftUI, it's not far from enabling UI designers to generate UI by themselves. We may need a lower-level representation for the DSL though. I think it's not a problem that we go one step further and make it happen in the next few years.
jiyinyiyong··on Lisp in Web-Based Applications (2001)
ClojureScript and Node.js now even a junior JavaScript can do that without learning obscure syntaxes from Lisp.
jiyinyiyong··on Why I Switched from Python to Clojure (2016)
You would be interested in my old project using `$` as a way for reducing parentheses: http://text.cirru.org/ .
jiyinyiyong··on Replete 2.0: ClojureScript REPL for iOS and Android
I'm maintaining the site(https://github.com/shadow-cljs/shadow-cljs.org). It contains a JavaScript file but doing nothing but handling the click, although its size is large, it should do very little thing on your browser. I also installed a Firefox on my Phone(MIX2S) and it looks fine.
jiyinyiyong··on Stack Overflow is 10
Stack Overflow helped me a lot. It's so great.

P.S. I also wish Stack Overflow spending more time designing the UI. The blog looks much prettier. I want the site to be prettier and clean too. I would nearly visit the site everyday.

jiyinyiyong··on ClojureScript beginners' home page
JVM exceptions, I hated.
jiyinyiyong··on Show HN: Lisp Shell
I figured out a way to combine indentation-based syntax with S-expressions too http://text.cirru.org/
jiyinyiyong··on ClojureScript beginners' home page
Hard question for me. Trying to reach for help https://clojureverse.org/t/how-do-you-introduce-clojurescrip...
jiyinyiyong··on ClojureScript beginners' home page
Can't disagree. I didn't see the page in that way before. At first I just want to paste some code there. If a new user came, he/she knows nothing about Clojure and he/she does not read it. He/she gets the impression that Clojure is a Lisp with so many garish features, nice. If a experienced Clojure user same, he just recognized the code and thought "yes that is Clojure".

If a new user tries to read the code, there can be confusions. True. There's still quite a gap in in front of new users who want to know ClojureScript better. Any examples you have seen that solves the problem while we still have so many snippets in the first screen?

jiyinyiyong··on ClojureScript beginners' home page
Not many jobs here. We recently see a company starting meeups in Shengzhen, which can be found on http://clojure-china.org/ . Situation is getting better very slowly.

And we have WeChat group with 200+ people. There are many people interested in Clojure and some of them like me would love to try Clojure(Script) in our own projects.

jiyinyiyong··on ClojureScript beginners' home page
The official team does value Windows users.

For me, I'm a web developer. And we all know how web developers hate Internet Explorers. I was a Ubuntu users in my first years learning programming before I got a macbook. There are always reasons for me to hate Windows, even though Windows has majority of the users.

jiyinyiyong··on ClojureScript beginners' home page
Configuring lein scripts. Debugging JVM problems. Guess how JavaScript developers hate JVM exceptions.
jiyinyiyong··on ClojureScript beginners' home page
State your backgrounds please~ ClojureScript users? Non-Clojure programmer? Known Lisp?

Showing code is most direct way of telling people what ClojureScript is. The official side gave thousands of words but people with less knowledge just don't read. Code just tells, even audience don't get the whole ideas, they are impressed.

Also the page listed quite some projects which are important to the community, which the official one did not offer.

I made this page and collected feedbacks from ClojureVerse and WeChat group mainly. Definitely I need to serve wider audience. Please tell me more details what you feel confused on this page.

jiyinyiyong··on ClojureScript beginners' home page
I don't know jinyang? Who?
jiyinyiyong··on ClojureScript beginners' home page
Feeling difficult to understand your reply as a non-English developer. Anyway it's my personal opinion and I'm not official ClojureScript maintainer. The lead maintainer do care about Windows users.
jiyinyiyong··on ClojureScript beginners' home page
> ClojureScript(Unofficial)

Fine... Updated.

jiyinyiyong··on ClojureScript beginners' home page
Thanks. The official sites might be the better place doing that. I'll see what I can do on my side as well.
← PreviousPage 2 of 7Next →