HNHacker News
TopNewBestAskShowJobs

KurtMueller

533 karma · joined November 18, 2012

submissionscomments
KurtMueller··on F# is gaining independence from .NET
Both BuckleScript and Reason target javascript and Reason Native targets mobile as well.

F# targets .net, javascript, and the Xamarin library targets mobile (although I haven't tried it yet).

They're all typed ml languages.

KurtMueller··on F# is gaining independence from .NET
Well, now it's also a "nice-ish ML" for javascript, thanks to Fable.
KurtMueller··on F# is gaining independence from .NET
F# For Fun and Profit has a lot of blog posts on how to think functionally and how to use F# for domain modeling.

Compositional IT has a lot of good blog posts on how they use F# to solve real world problems.

Kit Eason's Stylish F# is a good book.

KurtMueller··on F# is gaining independence from .NET
Me too :). I think it hits the sweet spot for me between being as readable, expressive, and low ceremony as Ruby/Python but also type safe.
KurtMueller··on F# is gaining independence from .NET
I mean, `List.map` is often used in a partially applied manner and, used in conjunction with the pipe operator, results in, imho, readable code:

[1;2;3;4] |> List.map ((*) 2) |> List.reduce (+)

KurtMueller··on F# is gaining independence from .NET
I've been using F# 5.0's new features with dotnet interactive notebooks and the experience, when working correctly, is pretty nice. Dotnet interactive notebooks still has some rough edges to smooth out (and it's currently only available to VS Code Insiders) but, eventually, I think the new syntax coupled with dotnet interactive notebooks will make it a lot easier for people to try out F# and work through some problems/examples.
KurtMueller··on F# is gaining independence from .NET
I've spent the past 3 months or so working with F# with zero .net experience - I love the language alot but yeah, you will eventually end up learning C# (not that that's a bad thing) if you want to use its extensive and powerful ecosystem.

If you look at the MS documentation for .net, none of the examples are in F#. I guess that's okay since it probably wouldn't be idiomatic F#... but still, the docs have examples in C#, VBA, and one other language (I think it might be C) but no examples in F#.

KurtMueller··on F# is gaining independence from .NET
There are plenty of well-known functional language paradigms that have been discussed (and satirized) for decades.
KurtMueller··on .NET NanoFramework
Because it's a stock photo :D

Also, I've been using .net core on my Macbook and it works great :)

KurtMueller··on 20% of LAPD officers, civilian employees say they won’t take Covid-19 vaccine
In 2020, COVID-19 was the 3rd leading cause of death in the United Staes - behind heart disease and cancer. It's the only cause of death in the top 5 that's transmissible from person to person.

People watch what they eat to avoid heart disease and wear seatbelts to prevent dying in car accidents. Why not wear PPE to prevent COVID-19?

KurtMueller··on Haskell is a Bad Programming Language (2020)
https://github.com/ghcjs/ghcjs
KurtMueller··on Haskell is a Bad Programming Language (2020)
I was introduced to OCaml through Elm - a deeply-opinionated language with strict guard rails. In Elm, there is either a happy path or there is no path. As a newcomer, you're not overwhelmed or paralyzed with a plethora of choices on how to get things done simply because Elm limits your choices. Each tool in your toolbox is documented with simple examples how to use that tool.

After finally jumping the fence and exploring/devving with other OCaml languages (specifically F#), I still come back to Elm to see how it and the community does things: namely their best practices and explanation of fp concepts.

KurtMueller··on F# for fun and profit: Terms and Conditions
If you're seeing F# in a project at work (and in production), isn't that real world use?

Anyway, I just sat in a Mathematical Planning seminar with a guy from Quicken Loans who uses F# in production at work (Matthew Crews). He is also an author behind the Flips F# library.

A quick list of F# libs for real world, everyday uses:

* Pulumi / Farmer - code as infrastructure

* FAKE - build tool

* Fable - javascript transpiler

* Feliz - react elements

* FSharp.Data - parsing csvs, html pages

* Http.fs - making http calls

I've been using F# to parse CSVs at work and using result types and a ton of F# active patterns.

KurtMueller··on Leading someone with more years of experience than my age
I wouldn't think of it as a leaders / follower relationship - it's more so a partnership / fellow colleagues relationship. I'll gladly report to younger people if their perceived nature of our relationship is more flat / equitable than it is hierarchical.
KurtMueller··on Ditching Excel for Python in a legacy industry
F# is a better Python - especially with Units of Measure
KurtMueller··on Fable 3: F# to JavaScript compiler
I've been writing code with f# and dotnet core 5.0 on MacOS. Works great!
KurtMueller··on Stimulus.js 2.0
StimulusJS is one step up from JQuery and formalizes a lot of jQuery patterns that I'd come across - data-target, data-event attributes, etc.
KurtMueller··on Fable 3: F# to JavaScript compiler
Hopefully F# gets big enough that people will write those libraries - I think people deserve a better Python.
KurtMueller··on Fable 3: F# to JavaScript compiler
Computation expressions seem like one of F#'s unique features. I assume there are corollaries in other languages - but damn do they make code readable.
KurtMueller··on Fable 3: F# to JavaScript compiler
F# is your strongly typed contender to Python.
KurtMueller··on Ask HN: Is D3 still king for JavaScript visualisation?
I think Mike Bostock is on Hacker News and is definitely on Twitter - you can tell him yourself :D
KurtMueller··on The Fungus in Your Cheese Is Having Weird Sex
Well at least somebody in my household is.
KurtMueller··on .NET Orleans
That freedom is/was overwhelming for me. With Rails, you can choose the relational database and the frontend libraries you want to use - that's really about it. There's a default path I can take if I want to get up and running quickly - it comes with strong opinions and sane set of defaults.

I think Microsoft is moving in the right direction though. Scott Hanselman has some .net core 101 videos out on Youtube that are good to get up and running.

KurtMueller··on .NET Orleans
I guess I'm being selfish as a developer and thinking about my own ergonomics and dev experience. Is Rails as fast as .NET? Probably not, but if it can serve web pages in under 200ms, it's fast enough.
KurtMueller··on .NET Orleans
Is it as good as rails? When I run a rails new command, I can setup my postgres connection, nodejs and webpack libraries, rails core library in one command. Rails has database migrations with conventions i like - the timestamp and a file name that represents the action to be performed against the database (e.g. AddNameToBlogs) which that can also be rolled back.

I also really like the Rails restful router which is strongly tied to its controllers.

I could go on. I really like that Rails gives me strong, opinionated conventions but also allows me to configure things to be liking if needed.

I want to love .net core - I really like F#. Any other rails dev out there make the transition to .net core?

KurtMueller··on MIT OCW: Statistics for Applications (2016)
Anybody have a recommendation for courses geared toward absolute beginners? Maybe one that would be a good segue to this course?
KurtMueller··on Ask HN: Have you ever gone without a computer or phone for an extended period?
You can't really give up computers without giving up driving, possibly using a thermostat, a coffee machine, etc.
KurtMueller··on Strava cuts off leaderboard for free users, reduces third party apps
Cycling on the other hand - an activity I really enjoy - can get suuuper expensive.

I enjoyed challenging my friends to Strava segments, even if I was mostly slower than any of them.

KurtMueller··on The NSA called me after midnight and requested my source code (2018)
Isn't it always after midnight?
KurtMueller··on Redwood: An integrated, full-stack, JavaScript web framework for the JAMstack
Or you don't really know the problem space quit yet and an application that helps you get up and running quickly allows you to figure it out in a short amount of time. Maybe you find out that your preferred tech stack is not adequate, at which time you can change it.
← PreviousPage 2 of 11Next →