Better HN
topnewbestaskshowjobs
Log inSign up

fredyr

172 karma · joined Jan 2, 2013 (13y ago) · 28 submissions

www.lexicallyscoped.com
Submissions

comment 7mo ago · link · parent

Thanks!

comment 7mo ago · link · parent

This sounds interesting to me - could you elaborate a little on what things are in those proposals?

comment 2y ago · link · parent

I've done a lot of CFFI with Python for this kind of testing in the past. But nowadays I'm also looking at Zig for this.

comment 10y ago · link · parent

I'd be very interested if you could elaborate a little on what tools and how you applied formal methods on that old code?

comment 10y ago · link · parent

Not to mention that you need to find a product idea that you both are equally excited about.

Most of the times I've been approached, even though resonable ideas, haven't been projects that I've been interested in working on.

comment 10y ago · link · parent

When the Swish service launched (2012) it was only consumer-to-consumer and no fees. Last year they added businesses and charge similarly to credit cards, fee on the creditor side.

7.

Parsing EDIFACT with Clojure's Instaparse(lexicallyscoped.com ↗)

16 points · by fredyr · 11y ago · discuss

comment 11y ago · link · parent

Yes, every time I use Haskell, I miss them. Purescript also have them. Row-polymorphism ftw.

comment 11y ago · link · parent

I changed from the ternary representation to the function, because I didn't think the generated code was very readable. In hindsight I'm not sure it's that much improvement. From a performance view it's probably worse off.

10.

OCaml – Compiling Mini-ML to JavaScript(lexicallyscoped.com ↗)

40 points · by fredyr · 11y ago · 4 comments

comment 11y ago · link · parent

The Erlang Vm (BEAM), is another one at least.

comment 11y ago · link · parent

That's a good point. I'll add a note to explicitly say that the examples doesn't use Core.

comment 11y ago · link · parent

The code examples doesn't use Jane Streets Core as the primary standard library. If you do, for example by adding `open Core.Std` to your .ocamlinit, you'll get the behaviour you're describing.

It is probably a good idea to use Core, but for this introduction I wanted as little requirements as possible.

edit: spelling

14.

A brief introduction to OCaml(lexicallyscoped.com ↗)

136 points · by fredyr · 11y ago · 36 comments

comment 12y ago · link · parent

Richard Bird, Philip Wadler - Introduction to Functional Programming http://www.amazon.com/Introduction-Functional-Programming-In...

Richard Bird - Pearls of Functional Algorithm Design http://www.amazon.com/Pearls-Functional-Algorithm-Design-Ric...

Christian Queinnec - Lisp in Small Pieces http://www.amazon.com/Lisp-Small-Pieces-Christian-Queinnec/d...

comment 12y ago · link · parent

Here's two examples I've found to be very interesting:

https://github.com/clojure/core.async Timothy Baldridge has a couple of videos on the go macro internals https://www.youtube.com/channel/UCLxWPHbkxjR-G-y6CVoEHOw

https://github.com/swannodette/om https://www.youtube.com/watch?v=DMtwq3QtddY&index=7&list=PLZ...

comment 12y ago · link · parent

What is it that's missing in just using plain React (with Mori or any alternative)?

In my mind, what Om is bringing to React is idiomatic state management with Clojure semantics. In js I think the local state model promoted by React is reasonable.

18.

A slice of React, Clojurescript and Om(lexicallyscoped.com ↗)

2 points · by fredyr · 12y ago · discuss

comment 12y ago · link · parent

Can't you negotiate the terms with your clients? I know that at least my clients have been open to that.

Perhaps not what you want to hear, but other that getting paid more quickly, the most obvious solution to cash flow problems is having a large enough buffer.

comment 13y ago · link · parent

Incidentally I just finished listening to the Russian police cover of the same. Something about this really cracks me up. http://www.youtube.com/watch?v=P08B_lBUL0E&sns=tw

comment 13y ago · link · parent

I'm doing a Neal Stephenson marathon, just started with Quicksilver last night, after finishing Snow Crash and Reamde back to back.

comment 13y ago · link · parent

Oh, lispers use macros all the time. It's just that you're not going to solve every problem by writing a new one.

For example in Clojure, or, and, fn and cond are macros you typically use all the time.

comment 13y ago · link · parent

I've switched to using Ansible for this very reason (after getting frustated with Puppet) - I like it a lot. Also I just want to join the choir: Vagrant is awesome!

comment 13y ago · link · parent

SEEKING WORK - Sweden or Remote

I'm a full stack developer with over 10 years experience of analysing and solving business problems. My areas of expertise include

- Business to business integration, with domain expertise in e-invoicing, e-payments and EDI.

- Web application development and Software as a service

For more information about my previous work, please visit my LinkedIn profile.

Preferred stack:

- Python, Django

- Front-end dev, HTML5, Javascript/CoffeeScript, Backbone.js

- JVM, Java/Clojure/Android

Contact: fredrik.dyrkell@gmail.com

Web site: http://www.lexicallyscoped.com

LinkedIn: http://se.linkedin.com/pub/fredrik-dyrkell/1/605/509

Please drop me an email to discuss whether I can help you.

comment 13y ago · link · parent

I was experiencing the exact same thing! I hope that trend doesn't stick.

26.

Simple example of transients in Clojure(lexicallyscoped.com ↗)

3 points · by fredyr · 13y ago · discuss

comment 13y ago · link · parent

SEEKING WORK - Sweden or Remote

I'm a full stack developer with over 10 years experience of analysing and solving business problems. My areas of expertise include

- Business to business integration, with domain expertise in e-invoicing, e-payments and EDI.

- Web application development and Software as a service

For more information about my previous work, please visit my LinkedIn profile.

Preferred stack:

- Python, Django

- Front-end dev, HTML5, Javascript/CoffeeScript, Backbone.js

- JVM, Java/Clojure/Android

Contact: fredrik.dyrkell@gmail.com

Web site: http://www.lexicallyscoped.com

LinkedIn: http://se.linkedin.com/pub/fredrik-dyrkell/1/605/509

Please drop me an email to discuss whether I can help you.

comment 13y ago · link · parent

This is really a good set of resources for learning Javascript. In addition I want to add the "Learning to love Javascript" presentation by Alex Russell from Google Code 2011, http://www.youtube.com/watch?v=seX7jYI96GE that I felt really boosted my learning curve (or at the very least kept me passionate about JS to continue learning as much as I possible could)