Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chusk3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
chusk3
7y ago
For me the right way is never to allow non-ff merges and instead require all changes to be integrated into your branch (either via rebase or merge from base into your branch) before merging. GitLab supports this flow nicely and it has been
32.
▲
by
chusk3
8y ago
Don't forget Fable - F# - https://fable.io
33.
▲
by
chusk3
8y ago
You don't have to have separate dockerfiles. If you use multistage builds, you can name the specific terminal stages and then invoke them with 'docker build -t stagename', which will reuse the build cache as you'd expect
34.
▲
by
chusk3
8y ago
Promise liveview is such a cool concept. I'm keeping an eye on the repo to try to translate the concepts to my languages Pheonix-clone, Saturn.
35.
▲
by
chusk3
8y ago
paraphrasing from the main site( https://fsprojects.github.io/Paket/ ): > Paket is a dependency manager for .NET and mono projects, which is designed to work well with NuGet packages and also enables referencing files
36.
▲
by
chusk3
8y ago
If you build with 'msbuild publish -r debian8.x64' or any of the other valid 'runtime identifiers', the output of the build is an xcooy-deployable folder that contains your binary and all it's dependencies including
37.
▲
by
chusk3
8y ago
Yep, almost all of my side stuff and an ever-increasing proportion of my work stuff is in SAFE. It's actually built on Dustin's Giraffe library, which itself is built on top of Asp.Net Core. Cross platform, great ergonomics due to
38.
▲
by
chusk3
8y ago
No you're correct, C# async/await synchronously executes up to the first yield point. In general the tasks are 'hot' in C#, as opposed to F#'s 'cold' Async type.
39.
▲
by
chusk3
8y ago
I can echo this comment. Protecting websites with lua-resty-openidc was very easy and required no changes to the actual application code.
40.
▲
by
chusk3
8y ago
`figure` here is just an instance of Shape that was previously in scope. You've got to match on an instance of an object in this syntax.
41.
▲
by
chusk3
8y ago
This library is what I do all my new web services development in (or it's child Saturn). I'm actively working to migrate my legacy codebases to it. It feels pretty good given the host platform, and is easy to mix and match with no
42.
▲
by
chusk3
8y ago
The author mentions that the recursive way is harder to code in .net, but I wonder if this were reimplemented in F# which supports tail-recursion if that caveat would disappear. Also be interesting to see how this implementation compares&#x
43.
▲
by
chusk3
8y ago
I get there mostly with a pinned terminal and 'dotnet watch test' in my tests directory
44.
▲
by
chusk3
9y ago
You should look at the all-F# SAFE Stack, then. It uses F# and .net core for the whole application and supports elm-style UI programming on the client side with react and server side rendering: https://github.com/fable-comp
45.
▲
by
chusk3
9y ago
The alternative is a package manager like yarn or paket where even your transitive dependencies are pinned in a lockfile. I don't see how someone can look at a version spec made of only top level dependencies and call themselves immuta
46.
▲
by
chusk3
9y ago
F# records and tuples implement equality and comparison based on their members automatically, which handles the part that you mention that you're supported to do in C#. It's not reflection so much as at compile-time the compiler e
47.
▲
by
chusk3
9y ago
Holy smokes I feel you on the cronjob thing. They just went to beta with it in k8s 1.8, so now I'm waiting for that to get stable on GKE. That plus a managed Redis/memcached would be all that I need right now.
48.
▲
by
chusk3
9y ago
yeah, take a look at https://hub.docker.com/_/fsharp/ for the official images.