Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
linkdd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
811.
▲
by
linkdd
6y ago
I have 100% code coverage in my unit tests + behavioral tests (with cucumber). And yet, problems still happen. Programming is the art of adding bugs to an empty text file.
812.
▲
by
linkdd
6y ago
FWIW, a possible solution would be to build a small go/rust/whatever binary reading JSON from stdin and writing JSON to stdout. Then call this binary from Elixir with "System.cmd". A bit like a microservice without the n
813.
▲
by
linkdd
6y ago
When you work on weekends too, a friday is just like any other days.
814.
▲
by
linkdd
6y ago
> I personally feel that Elixir is wicked "wicked" as in "great" (I agree) or as in "bad" (I disagree) ? > Lack of project updates does not necessarily alarm me. > it does not necessarily need to be al
815.
▲
Ask HN: Is Elixir Still Relevant?
23 points
by
linkdd
6y ago
|
32 comments
816.
▲
by
linkdd
6y ago
F#ckernetes maybe?
817.
▲
by
linkdd
6y ago
It's a shame that looping and parsing is so tightly coupled. Also you should add an ELK stack to centralize your logs and add some correlation ID to your instructions if anything goes wrong.
818.
▲
by
linkdd
6y ago
Neat! Reminds me of: - Pacman in Factorio: https://www.youtube.com/watch?v=_VR_b9YwqH8 - Raycasting 3D engine in Factorio: https://www.youtube.com/watch?v=28UzqVz1r24 My main questions are: - how l
819.
▲
by
linkdd
6y ago
Same here with Docker Desktop for Windows. Unless you have a Linux-based operating system, Docker behaves very poorly. NB: The Hyper-V backend behave a bit less poorly than the WSL backend. I've found that Docker Desktop uses a lot of
820.
▲
by
linkdd
6y ago
Maybe because Result is a monad, an Either monad to be precise. Monads have been implemented in many languages without the developer even knowing, the best example IMHO are Javascript's Promise which are Continuation Monads.
821.
▲
by
linkdd
6y ago
An exception breaks the "instruction flow". While a Result type can be chained with functions like `map` and `map_or`. This allows you to write your full algorithm/computation, and handle the final result afterwards.
822.
▲
by
linkdd
6y ago
Take a look at k0s and k0sctl, buy a cheap server and install a single node k8s on it. https://docs.k0sproject.io/latest/install/ https://docs.k0sproject.io/latest/k0sctl-install/
823.
▲
by
linkdd
6y ago
> Helm charts are a bit of an antipattern themselves True, but in the meantime, it's still better than a static YAML file, because what we want is the versioning of the resources that are deployed.
824.
▲
Ask HN: Any tool to convert a Kubernetes manifest to an Helm chart?
1 points
by
linkdd
6y ago
|
2 comments
825.
▲
by
linkdd
6y ago
Debian in the WSL and Docker are plenty enough for work. I spent too many years installing/testing distros, and I'm tired of having to maintain my system (I was a Gentoo user for 2 years, and I built an LFS that I used for 8 month
826.
▲
by
linkdd
6y ago
I miss the card games without ads.
827.
▲
by
linkdd
6y ago
javac produces Java bytecode, not LLVM IR. javac exists since at least 15 years, Crystal "only" 6 years. Maybe things will get better with time?
828.
▲
by
linkdd
6y ago
> [...] it was mostly absurd press releases [...] Makes me thing about the april fools on LinuxFR[1] [1] - https://linuxfr.org/news/mise-en-place-du-port-du-masque-ave... TL;DR: Since the government authorized facia
829.
▲
by
linkdd
6y ago
Went back to my folks during the lockdown because staying alone was not an option anymore, did not use Deliveroo for a few months now. During the first and second lockdown, they shutdown their "help" chat, so no way to complain wh
830.
▲
by
linkdd
6y ago
Awesome website! Well written and crystal clear. It's truly a feat to explain simply such a complex topic.
831.
▲
by
linkdd
6y ago
https://www.nomadproject.io/docs/nomad-vs-kubernetes > Kubernetes aims to provide all the features needed to run Docker-based applications including cluster management, scheduling, service discovery, monitoring, sec
832.
▲
by
linkdd
6y ago
> And then there's also Nomad, which is drastically simpler than k8s That's normal, since Nomad is only about deployment, where k8s is about full cluster management.
833.
▲
by
linkdd
6y ago
Updating a backend API consumed by a frontend: - in 2 repos -> 2 PRs -> 2 test suites -> 2 code reviews - in a monorepo -> 1 PR -> 1 test suite -> 1 code review When your project grows in complexity, there are som
834.
▲
by
linkdd
6y ago
Obviously, you never spent a minute trying to configure Vim. Vim is a fully featured IDE, learning to use it efficiently can greatly increase your productivity, and most important: it's also fun. > VIM, oh please... time to have a n
835.
▲
by
linkdd
6y ago
CMake, SCons, Autotools, Meson, Premake, to quote only them. They are build systems alright, but they miss the most crucial point: dependency managment. On the other side we have: - cargo for Rust - buck and buckaroo for C++ which see
836.
▲
by
linkdd
6y ago
Even with the cookbook, I find it hard to see what it does. If I understood correctly, it is an ORM over any Promise resolving data?
837.
▲
by
linkdd
6y ago
You can claim whatever you want to claim, we unfortunately have no way to ensure that this is true. This is a security hazard, period. While the feature is nice, and I like the design of the notification dropdown, this is a risk I (and prob
838.
▲
by
linkdd
6y ago
LayerCI[1] maybe? [1] - https://layerci.com/
839.
▲
by
linkdd
6y ago
I discovered Netlify through Netlify CMS. I had a pretty bad opinion about Netlify CMS, so I was pretty sure Netlify was going to be at least as bad. Damn, I have never been so wrong: - the interface is so intuitive I never opened the d
840.
▲
by
linkdd
6y ago
Erlang/Elixir is a bad example because much of the microservice best practices come from (IMHO) the actor model implemented with OTP. Put your microservices in a mono-repo, replace "microservice" by "erlang process"
More ›