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 10y ago · link · parent

I'm curious what aspects of Haskell have changed to cause this book to be dated, i.e. are there examples in this book which would be done differently now?

comment 10y ago · link · parent

This 80-line solution sounds very interesting. I'd love to see more examples of this particular strength of Haskell. Are there similar parsing projects that you can point to that are open source and worth looking at to better understand this use case of Haskell?

comment 10y ago · link · parent

13% for the state tax is huge, now add that to the U.S. Federal income tax as well, and see what your actual tax percentage is.

comment 10y ago · link · parent

Income tax for a California resident is quite a bit higher than Dutch income tax for most income brackets.

Dutch income tax more closely resembles the tax bracket in midwest America.

My income tax percent in Holland is slightly lower than it was in the U.S. and my pay is a bit higher than it was in the U.S.

comment 10y ago · link · parent

One of those URLs you've posted results in a banned security error in Chrome, with the strong recommendation not to visit it due to malicious activity on that site.

comment 10y ago · link · parent

I agree, the quality of Dutch cheese is excellent and can often suffice for a sandwich.

But there are many more elaborate ways the Dutch make sandwiches that continue to please me.

comment 10y ago · link · parent

Yes, but they are the best sandwiches I've ever had anywhere. The Dutch treat every sandwich like a little work of art, I've had countless since visiting the Netherlands that made me wish other countries knew what they were doing!

The strong emphasis on fresh fruits and vegetables (and fresh mint tea, which is as common as water in Holland) is also really nice compared to the greasy, messy, fatty foods of the U.S. and Germany.

comment 10y ago · link · parent

If you honestly think that living a real human life, with all the concurrent decisions that are simultaneously and relentlessly made on a micro and macro level throughout every second, every day is the same as a single game of chess, then by all means, go trade the stock market and show us how it's done.

comment 10y ago · link · parent

Before you jump in try to make your millions, a fairly well-known and accepted statistic is that at least 95% of day traders (using any method) lose money.

All the very successful day traders I know lost lots of money in the beginning before learning how to do it properly. You need to have a solid source of funds to fuel your learning, and tremendous patience.

comment 10y ago · link · parent

You vastly underestimate the complexity of a discretionary trader's intuition and experience. You cannot just replicate years of human experience with computer code so easily.

comment 10y ago · link · parent

It's the trendiness that is new, not FP itself. And, it appears to be new to a majority of the working developers in the world.

comment 10y ago · link · parent

Well, is not all the new trendiness in functional programming some evidence of the answer to this?

comment 10y ago · link · parent

That logo does not even remotely resemble the Java logo.

There are literally thousands of companies in the world using a bird in their logo, but they are not all the same company/organization/concept.

comment 10y ago · link · parent

Sorry, but this is just lame. A manager has a job to do, too, and whether or not they do it well, it is within their prerogative to add comments or suggestions, even if small, if they think it will improve a product.

Put yourself in the manager's position (which ironically this article seems to attempt to do). Go further, suppose it is your company, not just your department. Are you going to let a product ship when something minor could be improved to make it even better? A sloppy manager might. Or one who doesn't care. This article almost seems to suggest that managers should care less.

Attention to detail is what often separates good from excellent.

comment 10y ago · link · parent

Excellent talk. Nice to see it a Clojure conference. The points near the end about contracts vs. types was enlightening.

comment 10y ago · link · parent

Indeed, I was noticing after my comment that the automatic access of globals is a different behavior than the access to other variables outside the lambda's scope, but not globals.

Thanks for the example.

comment 10y ago · link · parent

I see that static typing is become a high priority development goal now, even in traditionally dynamic lisps. I see this as a positive for sure.

comment 10y ago · link · parent

C++ and recently, Haskell.

A lot of what I learned in Clojure I can now use in C++ since the C++14 version of the languages supports a lot of functional programming techniques (though not thoroughly). C++ today is not the language it used to be, and the ability to write and use standard library higher-order functions with my own simple anonymous functions is really nice.

comment 10y ago · link · parent

Awesome, thanks.

2360.

Distributed Programmng in Haskell(reddit.com ↗)

2 points · by hellofunk · 10y ago · discuss

comment 10y ago · link · parent

How would this UI library work on an iOS OpenGL project? I would expect it to display fine, but maybe lining up the touches with the buttons could require some extra thought.

comment 10y ago · link · parent

I have been testing this, and I'm not convinced. A lambda with no capture at all (just []) will not compile if it accesses any variable in the scope of the lambda definition (including globals). I must add [=] or similar to get access to them. What were you referring to?

The compiler error is clear: "variable 'lam' cannot be implicitly captured in a lambda with no capture-default specified"

comment 10y ago · link · parent

What do you consider weird about this code? This is fairly straightforward C++, as far as syntax and language use. Do you mean the logic of what it is doing seems weird to you?

2364.

Islamic State's favorite technologies outlined by study(cnbc.com ↗)

2 points · by hellofunk · 10y ago · discuss

comment 10y ago · link · parent

Articles like this certainly don't help spread false rumors: http://thenextweb.com/dd/2016/04/07/google-facebook-uber-swi...

comment 10y ago · link · parent

You're not searching very hard. Here's one, with some comments from me: https://news.ycombinator.com/item?id=11938405

comment 10y ago · link · parent

There have been several discussions here on HN recently about some of the particular features of Fortran that I'm referring to.

comment 10y ago · link · parent

No reason it should blow your mind. Aside from the fact that Fortran has been around decades longer than Elixir, it is still the language of choice for vast areas of the scientific and technical industries, because of certain ways it works that no other language offers for high-speed computation.

comment 10y ago · link · parent

I've heard that Swift is getting serious attention from the Android team as a first-class language there.

comment 10y ago · link · parent

Full time Clojure dev here who has been transitioning to non-Clojure projects recently, for two main reaons:

1) I've decided that static typing is the world I want to program in, for a wide range of reasons.

2) The JVM (and JS) have their limits, and Clojure is just not as portable as I'd prefer.

Otherwise, I learned a lot from working with Clojure over many hundreds of programming hours, and it is an impressive feat of engineering, but it's limitations are insurmountable at this point.

1
787980
110