Better HN
topnewbestaskshowjobs
Log inSign up

hellofunk

9,428 karma · joined Jul 10, 2015 (11y ago) · 3,276 submissions

John Bellick, Mexico City
Submissions

comment 9y ago · link · parent

Dah, that's nothing. We have models that we built specifically to determine the best way to train other models. After 2 years of tweaking these models, we learned that the best way to optimize our learning was to build new models that train these models for determining how to train our other models.

comment 9y ago · link · parent

Notice I said "typically" because, typically it is true that a native language runs faster than Clojure, which is what my comment was referring to.

comment 9y ago · link · parent

Is there a US version of Humans? It's a recent show and on BBC, I wouldn't think a US version existed yet.

comment 9y ago · link · parent

I'm saying that a DB's organization is not the same as that of source code, and that surrounding context is a fundamental part of working with a DB and reading its layout, so perhaps the naming rules can be relaxed a bit in some cases.

comment 9y ago · link · parent

FP is not a methodology alone. It requires language support.

Some languages support it better than others. Some are clearly and only functional, others offer many functional features but not the whole package.

Also, the degree that a language needs to support certain features to be called functional varies among developers. Some languages are very clearly not functional in any way, while others, like C++ since 2011, offer a lot of functional features but do not offer the same paradigms that languages like Clojure and Haskell offer. That's because the other "primitive" a language should support to be fully functional are persistent data structures that can be bashed on by numerous functions without performance cost. Such structures don't exist yet for C++ (though many have tried, and they might eventually), but are the core of Haskell and Clojure.

comment 9y ago · link · parent

A DB has a lot more obvious and strict context than a file of source code, and the law of demeter typically doesn't affect DB contexts as much as it does code, in practice.

In real code, it's unwise to expect the reader to study context just to parse a name.

comment 9y ago · link · parent

So many unreadable and confusing code bases exist precisely because people made that assumption.

For example, in the case of "name" there are typically many different things that need a "name" in the same context. First name, last name, etc. "name" by itself (and other short names) is honestly asking for lots of headaches in the long run.

comment 9y ago · link · parent

> whose output only depends on the arguments provided to that function, and nothing else, then you have yourself a functional program

You can choose to do this in any language, but that does not make any language conducive to FP. The other main ingredient is that a function should be a primitive data type in the language, and can be stored, re-assigned at run-time, passed to other functions, and returned from functions. Without this, you definitely cannot have a functional language.

comment 9y ago · link · parent

I would argue that "name" by itself is actually quite a bad name. What is it naming? It should "firstName" or "databaseName", etc.

I have learned over many years that longer, highly readable and descriptive names make life extremely easier in the long run, at the expense of a few extra characters to type.

comment 9y ago · link · parent

> very,very high performance if you really need it

But not as high performance as Java directly. And typically not as high performance as native languages, which the author addresses.

comment 9y ago · link · parent

> Somehow I could not shake the feeling that homoiconic macros were intimately tied to the very essence of functional programming

That's the first time I've heard anything like this. Lots of great FP languages exist that are not dynamic or offer such macros, why would they be a requirement for FP?

comment 9y ago · link · parent

There is really only one good browser, and that's Lynx.

comment 9y ago · link · parent

Personally I found the recent season of Humans a lot more interesting than Westworld, which (to my taste) tried too hard to be philosophical, while Humans managed to tell a similar philosophy more subtly without being on-the-nose.

But we're all critics, so YMMV.

comment 9y ago · link · parent

I can't figure out what mkfont_bdf is doing. Converting TTF to what kind of glyph?

comment 9y ago · link · parent

Please explain.

comment 9y ago · link · parent

Actually, historical evidence suggests the opposite of your argument: multiple implementations of a language typically mean it is succeeding, not failing.

comment 9y ago · link · parent

I've been using Dropbox as a real handy remote git host using the fantastic git-remote-dropbox utility. It's really great to create a remote repo right from the command line and immediately push to it without the hassle of going to a site like GH or BB and setting up the repo first and all that jazz. Make DB worth the money I spend (and unlimited private repos, of course, and with easy sharing by many developers with Dropbox's shared folders).

https://github.com/anishathalye/git-remote-dropbox

comment 9y ago · link · parent

Forgive my ignorance but what is a Luma? I tried googling it but seems to be a common term.

comment 9y ago · link · parent

Can I just say.. Holy cow!

comment 9y ago · link · parent

I still use my iPhone 4S every day as my main phone and it is well over 5 years old now. It still works great for me!

comment 9y ago · link · parent

As a counter to just one of your points, you can also run apps concurrently on iOS, in fact you can have them side-by-side, and for audio apps, multiple separate apps can generate synthesizers and other music simultaneously while another app mixes and records them. It's pretty neat stuff.

comment 9y ago · link · parent

They would be deprecated only if the features you are missing are actually on their way into the language. Are they? I agree those features would be nice, but I've never seen any mention of them actually planned.

comment 9y ago · link · parent

I had no idea there was such a widespread difference in the source of electricity a among citizens of countries in Europe, even neighbouring countries. Look at how most of France is nuclear powered (!) compared to coal for Germany and gas for Netherlands. Such differences in a very small space!

I'm kinda amazed by this!

comment 9y ago · link · parent

That's certainly not true at all. Clojure has a rich string library where you can do all sorts of manipulation. Clojure's strings are also native data sequences so you can use the entire Clojure standard library's tools for manipulating data right on strings naturally.

I wrote full-time Clojure for two years, and did all of last year's Advent of Code in Clojure. In my entire life, I have never once written a line of Java and I have no idea the details of its standard library. That's how well-encapsulated Clojure is.

comment 9y ago · link · parent

Python. Not sure where to start. Python 2? 3?

comment 9y ago · link · parent

I would expect Clojure's standard library to be just as useful as Python. I did last years contest in Clojure and it was quite straightforward and fairly little code.

Clojure is much much more usable than CL.

comment 9y ago · link · parent

With Russia, you were talking about orthodox Christmas, which is a slightly different holiday with a slightly different tradition. The word "Orthodox" should be part of the description.

comment 9y ago · link · parent

Scheme is a lisp, so this is a rather confusing statement.

In fact as lisp dialects go, Scheme is typically more functional than Common Lisp.

comment 9y ago · link · parent

Today is a very popular holiday in many parts of the world. It's called Christmas, and always occurs on December 25. Red is a common color for that holiday.
1
646566
110