Better HN
topnewbestaskshowjobs
Log inSign up

thomasvarney723

33 karma · joined Jan 20, 2014 (12y ago) · 36 submissions

Submissions

comment 9y ago · link · parent

Why do you think the C was easier to write?

comment 9y ago · link · parent

I see what you mean and although the definition of a from-scratch transducer looks a bit ugly to me, the idea of composing existing transducers together seems rather elegant.

comment 9y ago · link · parent

Though I likely haven't completely understood each of the authors gripes, each problem to me seems to have a notable solution provided by Clojure (with the exception of tail-call optimization).

Clojure:

is compiled to JVM byte-code and is fast.

has a good parallelism story (parallel map, parallel fold, channels)

is almost completely backwards compatible.

has a sequence abstraction that leverages the same operations over many different types (string, vecctor, list, set, map, etc.).

has a standard compose function.

has reduce, map and filter in the standard library. Transducers (also first class) further extend their usefulness.

's closures allow statements and there's even sugar for annonymous functions.

has macros to reduce boilerpate.

has a conditional macro.

I'm sure this list isn't unique to Clojure but I'm most familiar with it.

comment 9y ago · link · parent

I recommend Peter Attia's (currently unfinished) series, "The straight dope on cholesterol". He's a surgeon interested in health and fitness. http://eatingacademy.com/?s=cholesterol

comment 9y ago · link · parent

Very well said. The advent of transducers in Clojure has made this 'orthogonality' especially true.

comment 9y ago · link · parent

Doesn't California City have something to do with Los Angeles's water infrastructure history?

comment 10y ago · link · parent

Would you care to share that story?

comment 10y ago · link · parent

I've heard it said that Clojure's macro system is most similar to Common Lisp's macro system and that Racket (and Scheme) style macros are more powerful. Can anyone compare the differing approaches?

9.

Object-Oriented Programming is Bad(youtube.com ↗)

3 points · by thomasvarney723 · 10y ago · discuss

comment 11y ago · link · parent

It seems to me that Apple has had a rich history of interesting languages: Squeak, Dylan, Hypertalk, AppleScript and Swift. Those are just the ones I know of.

comment 11y ago · link · parent

I recognize destructuring from Clojure. Did it origniate there? Or is this a specific case of pattern matching?

comment 11y ago · link · parent

Are there any prominent applications built with REBOL or Red?

comment 11y ago · link · parent

I agree "they"/"them" sounds cleaner than "he or she"/"him or her" but isn't it officially incorrect? I do like that Facebook has started using "they"/"them".

comment 11y ago · link · parent

That's hilarious and terrible.

comment 11y ago · link · parent

What's corrupt about FIFA? Genuinely curious as I don't really watch soccer.

comment 11y ago · link · parent

Except for special occasions: no vegetable oil, no wheat, less sugar.

I agree with much of the paleo, keto, weight lifting and meditation submissions on here. I would add that I think there isn't much better for you than saturated and monounsaturated fat and that there isn't much worse for you than "vegetable" (industrial seed) oils because of their high (especially omega-6) polyunsaturated fat content.

Two books I would really recommend are "Perfect Health Diet" by the Jaminets and "The Paleo Manifesto" by John Durant. "The Paleo Manifesto" is a 30,000ft view of health from an ancestral perspective. The "Perfect Health Diet" delves into the chemistry of metabolism and is very interesting in it's own right if you're into that kind of thing.

comment 11y ago · link · parent

What were the other 3?

comment 11y ago · link · parent

Here's a good video showing the difference between underscore and lodash: https://www.youtube.com/watch?v=m3svKOdZijA

comment 11y ago · link · parent

What do you mean?

comment 11y ago · link · parent

Did you write your own scraper or use a library? If so, which?

comment 12y ago · link · parent

Headspace is an app I've tried and thought was interesting.

comment 12y ago · link · parent

What is the gun?

comment 12y ago · link · parent

I find I have the same problem explaining computer technologies to people.

comment 12y ago · link · parent

Using locations instead of names for data seems like what Rich Hickey means when he talks about Place Oriented Programming.

comment 12y ago · link · parent

I can't recommend LastPass enough. Also, PIA for VPN. I put a little cash and my credit card in my phone case so that I have only one thing to carry and always have money on me. I really liked f.lux when I used windows, if only I had a decent replacement for ChromeOS.

comment 12y ago · link · parent

What were the technologies the author references when he mentions Eric Meijer and Alan Kay?

comment 12y ago · link · parent

I don't mean to sound like I know the best pricing scheme for ISPs but it has always seemed to me that the pricing model used for home internet makes the most sense. Once you have an infrastructure in place, the cost to send data over it is minimal, right? So, to me, paying for speed instead of an amount of data makes the most sense.
12