HNHacker News
TopNewBestAskShowJobs

huahaiy

351 karma · joined November 7, 2011

I am a technologist, with an academic background in psychology and computer science.
submissionscomments
huahaiy··on How much can a Clojure developer do alone?
I don't know about REBOL, but I did program TCL extensively in my graduate school years. I agree TCL has a lot of similarity in term of treating code as data like in Lisp, but I do not think it has such an emphasis on data oriented programming like in Clojure. That's just not true.
huahaiy··on How much can a Clojure developer do alone?
Nobody said you "need" REPL. Doing REPL driven programming is just more productive, hence it is considered the right way in the Clojure community. Heck, you don't even "need" any higher level languages, you can write code in machine code, but that's besides the point.

Your boast about your Lisp credentials is exactly the kind of things I caution against in the article. Your pride has prevented you from properly learning Clojure, which has a very different programming style from other Lisps.

You are basically illustrating my point live, again.

huahaiy··on How much can a Clojure developer do alone?
Author here. I started programming in 80s (yes I am old), so I probably know more languages than people who are younger than me. I also taught programming in universities in my previous life as a professor. Like I said in my article, I won't gave up my corporate research scientist job in my 40s to start a company if I had not known Clojure, knowing that I would be the only one writing code at the beginning.
huahaiy··on How much can a Clojure developer do alone?
It depends on what you mean by "worthing" it. To become a better programmer? Definitely worth it to know Clojure, as it does provide a new programming style that has inspired some other ecosystems. To find a job? Probably not. Clojure is not a popular language.

On the other hand, nowadays you probably can get away with not knowing Java when doing Clojure. There are also Clojures that are not on the JVM. For example, if you do Clojurescript, then you probably need to know some Javascript. There are also natively compiled Clojures for shell scripting, e.g. babashka, etc.

huahaiy··on How much can a Clojure developer do alone?
You are contradicting what your parent post is saying and agreeing with the OP. So you agree that Clojure is the most data-oriented programming language, but you feel like it is too extreme?
huahaiy··on How much can a Clojure developer do alone?
If you write your code the correct way, there wouldn't be any states in your namespaces for you to keep track in your head. That only happens if your code is full of `(def some-state (atom {}))` or something like that.

You are basically illustrating my point about "You probably cannot learn Clojure all by yourself". You need a mentor to show you how to do Clojure correctly, or you have the humility to learn the proper Clojure way. Sadly, most people would rather just try something and jump onto conclusions immediately.

huahaiy··on The Future of Clojure
As a programmer with decades of experience, it took me half a year to get Clojure, and I had to unlearn a lot. Reading books is not enough, one has to do programming exercises with the language.

So I agree that it is harder for experienced people than for young kids fresh from school.

huahaiy··on The Future of Clojure
Yes, you can, if the new hire is fresh from school and is smart.

In my startup, our onboarding time is two weeks. I would say nine out of ten fresh graduates we hired picked up Clojure and were able to do something useful after two weeks. But we did have one or two persons who were not able to and they ended up in one of FAAG (yes, we did do leetcode style interviews, but only asked medium level questions).

huahaiy··on The Future of Clojure
I think the ratio of people using functional language that work on "hard" problems should be a lot higher than the mainstream language users.

From my personal experience, before I become a Clojure user, I wouldn't dare to write "hard" software such as compiler, database, and such, all by myself. Now I have done all that, I would credit part of that to the productivity of the language. That's why with such a small community, Clojure ecosystem has produced so many first of its kind innovative systems, e.g. Storm, Datomic, etc.

huahaiy··on The Future of Clojure
Cutting edge CS papers are written by Ph.D students who have not had any industrial experience yet. Of course, the code they wrote for those papers would certainly use languages that they learned in school, which would be C/C++/Java if the papers are system papers, python if the papers are ML/DL papers. That tells you nothing about the merit of functional programming language vs. other mainstream language.

If anything, as someone who has a Ph.D. and a career spanning both academia and industry, I can assure you that functional programming languages like Clojure is much more productive than the mainstream languages, even for implementing cutting edge CS research.

My experience of implementing algorithms from papers is that, in Clojure, the implementation is much more straightforward, always almost a direct translation from pseudo code in the paper to actual working code, even the pseudo code is inevitably written in an imperative style. However, the original author's code implemented in c/c++/java is always much more convoluted and bears no resemblance to their pseudo code in the paper. That should tell you one thing: that is functional languages often capture the bare essence of computer science, whereas mainstream language often have too much incidental complexity imposed by the languages themselves.

huahaiy··on WeChat ban would be a devastating blow to Chinese families in the US
People survived fine without automobile. Taking away their automobiles is “devastating” seems rather hyperbolic. There are multiple alternatives to automobiles, such as bicycles. “Inconvenience” would be a better term.
huahaiy··on Unofficial Guide to Datomic Internals (2014)
FYI, Datalevin has faster queries than Datascript, for Datalevin has given up "database as a value" doctrine that both Datomic and Datascript share, so Datalevin can cache aggressively to achieve better performance.
huahaiy··on Unofficial Guide to Datomic Internals (2014)
Datalevin may have what you like https://github.com/juji-io/datalevin, has no history, no "database as a value" etc, and focus on performance instead.
huahaiy··on Nubank acquires Cognitect
Congratulations! Does this mean that there is a chance for Datomic to be open sourced?
huahaiy··on A History of Clojure [pdf]
I am confused. If I remember correctly, go's runtime uses a thread pool as well. It's not like go somehow invented a runtime that does not rely on OS threads. So in the end of the day, what difference does it make?

If you ask me, java.util.concurrent is a much better and battle tested concurrent infrastructure than the simplistic implementation in go, because java.util.concurrent is actually written by the world's foremost concurrency expert, Doug Lee. I will take that over someone else's hand rolling concurrent runtime any day. God knows how many bugs there are in your home grown concurrency code.

huahaiy··on State of Clojure Survey 2019 Analysis
Google Godel's incompleteness theorem.

In a nutshell, if you can mathematically prove a certain degree of soundness of your code, you have not done anything to show your code does what it is supposed to do.

Basically, you could be doing wasted work to satisfy your compiler, and have made zero progress in solving your problem, because that's not what the type system does.

Dynamical languages focuses on solving problems of human beings. The human beings' requirements are often inherently arbitrary, logically unsound, or even self-contradictory. Shoehorning a type system in there often serves to make solving human's problem harder. Consequently, in practice, most popular programming languages are dynamic. The current craze with types is just a fad, in my opinion.

huahaiy··on State of Clojure Survey 2019 Analysis
The reason why Clojure is easy to teach on the job is that Clojure code base is small and code are very localized.

It's impossible to be productive in a large Java code base within a month even if you joined as a seasoned Java developer. But it is routine for a programmer who has not even heard of Clojure before to become productive in a production Clojure code base in two weeks. We do this all the time with our interns.

huahaiy··on State of Clojure Survey 2019 Analysis
There's no need to hire Clojure programmers, just hire good programmers, and get them to work on Clojure. Our experience is that new people can start producing something useful in two weeks at most. There's not really a lot to learn to become useful. Most of beginner's hurdles are on environment setup, coding habits, etc, these are not problems at all if they join a team .
huahaiy··on State of Clojure 2019 Survey Results
If they have left, why are they responding to the survey? Interesting.
huahaiy··on Canada has arrested Huawei’s global chief financial officer in Vancouver
Coincidentally, a Stanford Chinese American scientist, Prof. Shoucheng Zhang (https://en.wikipedia.org/wiki/Shoucheng_Zhang), who discovered the Quantum Spin Hall effect that plays a big part in the recent Intel announcement of the next generation of chip design, was found dead on Stanford campus on Dec. 1st. Before he's death, Prof. Zhang went together with Huawei's CFO to attend a dinner in Argentina on Dec. 1st.

Basically, after that dinner in Argentina, one of them is dead, another is arrested.

huahaiy··on Emotion Science Keeps Getting More Complicated. Can AI Keep Up?
You were talking about OCEAN being not empirical based, that simply was false, because OCEAN was replicated everywhere, including the one study you cited. The study you found and cited was dealing with clinical diagnosis of psychosis, which was not OCEAN for and about. Nobody knew anything in the field would use OCEAN for diagnosis, because there are many other tools for that purpose. You simply don’t know the field enough to speak intelligently. Do not spread false beliefs about a subject you know little about.
huahaiy··on Emotion Science Keeps Getting More Complicated. Can AI Keep Up?
You may not realize, OCEAN is precisely the outcome of approach you seems to suggest. It’s called psychometrics. If you open a textbook on that subject, you will feel at home if you are a statistitian. If you believe anything else can perform better, you are welcome to try. I predict you will be humbled in the process.
huahaiy··on Ask HN: Who is hiring? (December 2018)
Juji Inc. (https://juji.io) | Front-end Software Engineer | San Jose, CA | Onsite

Juji develops a state of art AI chatbot creation platform. We work with companies such as Google, Robinhood, Barnes and Noble, and universities such as UIUC, Arburn, and Air Force Academy. See https://venturebeat.com/2018/10/18/juji-is-an-empathetic-ai-... for a general description.

We are a Clojure shop. The backend is in Clojure and the frontend is in Clojurescript, with Re-frame and Rum on top of ReactJS. We also leverage python for machine learning and tensorflow for deep learning. Watch https://youtu.be/phA4bMjKvCY for our recent talk in the main Clojure conference.

For details of the position, see https://juji.io/careers#frontend

huahaiy··on The deepest problem with deep learning
Here is an attempt in Clojure https://m.youtube.com/watch?v=phA4bMjKvCY
huahaiy··on Ask HN: Who is hiring? (February 2018)
Juji | https://juji.io | Front-end Software Engineer | San Jose, CA | Onsite | Full time

We are building an advanced artificial intelligence platform that aims to understanding individuals. Funded by the US government and VC, we aims to democratize marketing research.

We are looking for talented front end developers who are passionate about usability and user interfaces. You should have great sense of aesthetics and attention to details.

We use ClojureScript at the frontend and talk to our Clojure based APIs in GraphQL. If you love learning new technology, we are the right company for you.

To apply, email jobs@juji-inc.com with your resume and links to your portfolio.

huahaiy··on How to Learn Vim: A Four Week Plan
Not really. All browsers have extension to enable vim key binding, so you don't need a mouse to navigate the internet.
huahaiy··on Ask HN: Who is hiring? (October 2017)
Juji | Fullstack engineer | San Jose, CA |Full-time, onsite | https://juji.io/fullstack

Juji is building an AI platform at focus on understanding individuals. We are funded by both US government and VC. We have repeating paying customers who rave about our product.

We are looking for talented individuals to join us. Our technology stack consists of Clojure/Clojurescript, Datomic, Postgresql, Kafka, Docker, AWS. Send your resume to jobs@juji-inc.com to apply.

huahaiy··on Ask HN: Who is hiring? (September 2017)
Juji | San Jose, CA | Full-Time | Onsite | https://juji.io/fullstack

We are building a platform to power next generation of AI. VC and US government funded. Have paying customers. Looking for brilliant developers to change the technology landscape of the world. We love Clojure and do everything with the language. New graduates and seasoned professionals are both welcome.

huahaiy··on Ask HN: Who is hiring? (August 2017)
Juji | San Jose, CA | Fulltime | Onsite | https://juji.io/fullstack

Juji, Inc. is building an AI platform that focuses on understanding and helping individuals. We are funded by both US government and VC, with repeating paying customers. We are looking for talented software engineers to join our engineering team. Our stack includes Clojure/Clojurescript, Datomic, Postgres, Kafka, Docker, AWS.

huahaiy··on Ask HN: Who is hiring? (July 2017)
Juji, Inc.| Full Stack Engineer - Clojure| San Jose, CA | Fulltime, ONSITE | https://juji.io/fullstack

Juji builds advanced AI platform to help people. We are funded both by VC and US government, and have paying customers. Join our growing small team to change the world with world class computer scientists, experienced clojure hackers, and brilliant colleagues graduated from top universities.

← PreviousPage 4 of 7Next →