Better HN
topnewbestaskshowjobs
Log inSign up

coding4all

434 karma · joined Sep 13, 2014 (12y ago) · 140 submissions

Submissions

comment 11y ago · link · parent

This can be done in Clojure with core.async [1] and transducers [2]

[1] http://clojure.com/blog/2013/06/28/clojure-core-async-channe...

[2] https://www.youtube.com/watch?v=6mTbuzafcII

comment 11y ago · link · parent

Did you read the last two paragraphs?

1. >"It is based on Clojure because Clojure comes with a set of attractive properties."

2. >"Clojure also combines an exciting mindset around simplicity with enough pragmatism to make it a successful system for real-world projects."

3. >"Additionally, Clojure's strong view on how state is handled, the distinction between identities and values and focus on immutability make it easier to deal with the complexities that come with "live programming"."

That sounds pretty language specific to me.

comment 11y ago · link · parent

Clojure for the win yet again.

comment 11y ago · link · parent

>"They don't see what I see,"

No shit. You haven't showed us anything.

comment 11y ago · link · parent

Since when did innovation and skill become a characteristic of being young? What's the new age ceiling for when skill meets opportunity? Does this have anything to do with adults working jobs that would have been occupied by minors just 20 years ago?

comment 11y ago · link · parent

Ghostery + NoScript does just fine. Apparently people don't know but, NoScript also blocks flash, silverlight, and html5 videos/storage. I didn't even know Youtube had Ads until I went to a friend's house.

Adblock is one of the worst plugins you can ever install if you still wish to use your browser without hogging resources.

comment 11y ago · link · parent

Thank god for Minitube [1] and youtube-dl [2] . youtube-dl can download videos from not only YouTube, but over 500 different services.

[1] http://flavio.tordini.org/minitube

[2] https://rg3.github.io/youtube-dl/

comment 11y ago · link · parent

It's only January and my ISP merger prediction for 2015 is almost true => https://news.ycombinator.com/item?id=8823319

69.

EDI v. 2(github.com ↗)

1 points · by coding4all · 11y ago · discuss

70.

EDI 2(github.com ↗)

1 points · by coding4all · 11y ago · discuss

comment 11y ago · link · parent

Read the source of your target language, mature projects, and find some style guides. There's going to be some contradictions in style, but you'll figure out what works best sooner than you might think.

comment 11y ago · link · parent

Because Google, Apple, and Microsoft decided profit was better than true choice and freedom. Their products are almost malware at this point.

comment 11y ago · link · parent

The reason why the word depression is too general is because depression is a normal conceptial state that everyone will endure at least once in life. Real, debilitating, actual depression, is life-long and persist regardless of any one event. It's not just a function of the mind or an emotional relationship related to life, but an absence that can only be described as emotionally detached, sociopathic, and even as an obligation of guilt and doubt simply for existing in a time you can't accept.

comment 11y ago · link · parent

I don't know if they're any that have been open-source but I've made a few with ease. Cordova has a nice plugin repository so you can use pretty much the entire device with nothing but JavaScript calls via ClojureScript => http://plugins.cordova.io

comment 11y ago · link · parent

Tom Marble is a great guy. Thanks for making this!

76.

Clojurified AtomShell(github.com ↗)

2 points · by coding4all · 11y ago · discuss

77.

Clojure Om Cookbook(github.com ↗)

2 points · by coding4all · 11y ago · discuss

comment 11y ago · link · parent

Core.async is an official Clojure and ClojureScript library that takes channels from the Go language and adds them to Clojure in a much nicer way.

http://clojure.com/blog/2013/06/28/clojure-core-async-channe...

All of the operations are expressions (not statements)

This is a library, not syntax

alts! is a function (and supports a runtime-variable number of operations)

Priority is supported in alt

--

Quil is a Clojure and ClojureScript library for creating interactive drawings and animations using Processing (https://en.wikipedia.org/wiki/Processing_%28programming_lang...).

--

Om is actually an interface to Facebook's React. Ironically, the terminology, and the feature set of Om has little, if any, resemblance to React. Om specifically transforms Clojure data so that it can be represented in a way that React can uderstand.

In the Clojure world, we build on top of React and stay away from anything that resembles JavaScript and it's behavior. React provides a virtual DOM and we just use Clojure to talk to the rendering engine.

https://gist.github.com/runexec/6efb322f29fc790a98a1

--

Chestnut allows live coding in the browser. This means all changes are visible without having to reload the page.

2 Minute video of Om using Chestnut. https://www.youtube.com/watch?v=gI3fJKmvgq4

https://github.com/om-cookbook/om-cookbook

--

Apache Cordova is the Apache License version of Adobe PhoneGap. ClojureScript compiles to highly optimized JavaScript already, so you can make mobile apps using ClojureScript and Apache Cordova.

comment 11y ago · link · parent

I've been writing Clojure almost exclusively for 3 or 4 years and it's just amazing. Core.async, Quil, Om, Chestnut, ClojureScript, ClojureScript + Apache Cordova, and I could go on forever.

comment 11y ago · link · parent

- Flat design will evolve into thin design

- Facebook will lobby for a national voting system that requires a Facebook account.

- ISPs will either merge with or be bought up by some of the world's largest media companies.

- Instead of phones getting thinner or having bigger screens, they'll start having multiple screens.

- The next big thing in the mobile software world will probably come out of Africa or India.

- Cooking and food related devices will become popular in the hacking community.

- Clojure and Rust will gain a great amount of new adopters.

comment 11y ago · link · parent

This is great! I can barely remember my editor/IDE days before Emacs. I mean there was nano, pico, vi, vim, Gedit, and on to Eclipse, but Emacs was the only one that allowed me to work the way that I think.

comment 11y ago · link · parent

Easier to learn doesn't quite mean "simple". I prefer Om not just because I took the time to learn it, but because it makes more sense once you do.

comment 11y ago · link · parent

https://gist.github.com/runexec/6efb322f29fc790a98a1

comment 11y ago · link · parent

Clearly the author has never heard of ClojureScript's Om.

comment 11y ago · link · parent

1) My system breaks once every year. Literally just once.

2) NixOS package management is similar to the Arch system because binary installs come first, and AUR installs (source builds) come second.

3) NixOS has an easier/simpler rollback and configuration system than Arch.

4) Manjaro, a more stable Arch distro, doesn't fit me without having to build a custom Linux image. It's been a while, so this might have changed since I've last checked it out.

5) FreeBSD is enticing, but if I have to go BSD, it's OpenBSD or DragonFly. I've been thinking *BSD ever since the switch to systemd...

comment 11y ago · link · parent

This is great! Hopefully I can ditch Arch soon.

comment 11y ago · link · parent

"Under the new infrastructure all the builtin REPLs are capable of booting on modern hardware in a second or less." - https://github.com/clojure/clojurescript/wiki/Custom-REPLs

comment 11y ago · link · parent

I wonder how people are measuring this "skill shortage"?

comment 11y ago · link · parent

Free labor from African, Asian, and Native American slavery.
12345