HN user

rs86

186 karma
Posts21
Comments190
View on HN
news.ycombinator.com 6y ago

Ask HN: Python Weekly Newsletters?

rs86
1pts2
youtu.be 6y ago

Philip Wadler talk on why people use FP

rs86
1pts0
gist.github.com 7y ago

A very simple example of verification in Idris

rs86
1pts0
jaseemabid.github.io 7y ago

Lessons learned building a toy compiler (2017)

rs86
1pts0
t3x.org 7y ago

Compiling Lambda Calculus

rs86
3pts1
news.ycombinator.com 8y ago

Ask HN: Are you using generative testing?

rs86
1pts0
news.ycombinator.com 8y ago

Ask HN: Android app to read source code on GitHub?

rs86
2pts1
news.ycombinator.com 8y ago

Valuing ICOs from fundamentals – ideas?

rs86
3pts3
news.ycombinator.com 8y ago

Ask HN: Would you pay for an ad free Facebook account?

rs86
4pts12
news.ycombinator.com 8y ago

Ask HN: How to get acquainted with an open source​ code base?

rs86
3pts1
news.ycombinator.com 8y ago

Ask HN: How low can Facebook stock go?

rs86
5pts10
news.ycombinator.com 8y ago

Ask HN: Are programmers afraid of new syntax?

rs86
9pts17
news.ycombinator.com 8y ago

Ask HN: Vulnerabilities in ML frameworks

rs86
9pts7
news.ycombinator.com 8y ago

Ask HN: Best way to learn emacs?

rs86
6pts6
blue-dinosaur.github.io 8y ago

Why are types so cool, Part I: Result types

rs86
3pts0
news.ycombinator.com 8y ago

Ask HN: Back end analogue for Elm?

rs86
3pts0
en.wikipedia.org 8y ago

Set

rs86
4pts0
medium.com 8y ago

A quick look at self-information

rs86
1pts0
medium.com 8y ago

Why bind has signature a → m b

rs86
1pts0
news.ycombinator.com 9y ago

Ask HN: What libraries are a joy to work with?

rs86
5pts12
news.ycombinator.com 9y ago

Ask HN: Does anyone dream of code?

rs86
104pts139

I don't think those kinds of exercises will teach you about functional programming... Here's why. You can understand imperative programming as a sequence of operations. But functional programming is more like a composition of transformations. It really requires study because you need to think differently.

I would suggest rewriting the standard library of a functional language.... Read the standard functions on lists, maps, tuples, folds, maps, and reimplement them...

Elm is quite different from purescript or Haskell... It shares syntax and the purity semantics but its type system is much less expressive (no type classes); no do notation; no monads...

Elm has managed effects and purity, and I had immense satisfaction in using it... Managed effects means that doing http requests and working with DOM events are managed from a runtime and from the point of view of the programmer they are just returning values that describe the effectful actions they want to perform, and any changes to programming state from those actions are apparently as function arguments...

The language has its warts, but I would use it if it were not for the poor project management and support.

Theorems are strings of symbols and can thus be encoded as numbers, and statements about numbers become statements about theorems. That's why the theorem applies to systems at least as strong as arithmetics

This is about the possibility of proving certain things about the model, not about properties of any implementation. Properties include for example the relation between the amount and quality of data available for training and the accuracy of the model. If a model is proven to learn too slowly it costs more to train it. And some models might never approximate a target function.

I have mixed feelings about using Elixir (or Erlang); as far as I understand the platform, it is about building fault tolerant systems/high availability, specially in the presence of hardware failure. I think those are handled well by cloud service providers; they didn't exist during the 80s.

I think performance is better compared to Ruby and Python, but then again my experience with web applications is that the domains are best modeled using classes.

For writing networking code and protocols, the binary pattern matching is amazing, though. The Plug libraries are a pleasure to use also.

Sketches of Elixir 8 years ago

Noooooooo it's erlang with Ruby syntax, powerful meta programming, ad-hoc polymorphism and many other things...

As others have pointed out there is no silver bullet. I have only very mild depression and anxiety sometimes, I mean it bothers me a lot but it's far from serious clinically. But I guess it would be worse without treatment.

- taking care of my health - taking care of my looks - anti depressants (cipramil) - writing down my to-dos so I don't obsess over them and generally organizing my week, not only work - avoiding drugs and alcohol - seeing my friends and family often. Can't stress this enough. I'm blessed with many friends and a loving family - seing something really painful once in a while to keep me in perspective. Can be as simple as watching hardcore documentaries about Africa. - doing good to others - keeping busy - an empty mind is the devil's office or so we say I'm Portuguese

Should PLT be included? There's the Backus lecture on why functional programming matters, the ML language and hindley milner type inference, object oriented programming, polymorphism, dependent types, lambda calculus, curry howard isomorphism, Martin lof type theory, Automath, coq...

Haskell to Perl 6 8 years ago

Perl 6 feels a bit "ad hoc" to me... It looks like it has very interesting features but it lacks the uniformity present in most languages...

Agreed. I think tech valuations for single-product start-ups underestimate the competition and risk if substitution. I mean valuations imply too much top line growth and margins on businesses that might see their revenues drop or fail to grow and have poor cash flow. For example: Twitter, Snap. I also know first hand that valuations for urban mobility and real estate tech companies are really wild.

Yep, it is a weird deal. Any company worth 1,5bn should be able to generate cash or raise debt instead of going for expensive equity. Looks like the valuation is well out of sync with their actual financial health.