Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
linkdd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
121.
▲
VueJS and Gleam (Experimental)
(github.com)
2 points
by
linkdd
2y ago
|
0 comments
122.
▲
by
linkdd
2y ago
The account thing is really a no go for me. My inbox is already full enough as it is :P For scanning, I use OpenFoodFacts, it's a collaborative/opensource project: https://github.com/openfoodfacts
123.
▲
by
linkdd
2y ago
Thanks for the links, I'll check them out. The Jupyter Notebook idea is actually quite nice, I might do that as well. I have an app called OpenFoodFacts that allow me to scan the barcode of the food I buy to check for many things, incl
124.
▲
Ask HN: Any calory-tracking app without the need for an account?
3 points
by
linkdd
2y ago
|
8 comments
125.
▲
by
linkdd
2y ago
Yes, njs. My dumb mind expanded the "n" to "node".
126.
▲
by
linkdd
2y ago
IIRC, Lua in Nginx is deprecated in favor of the NodeJS module. I see more and more Nginx extensions written in JS, for SAML authentication, HTTP ACME challenge, etc...
127.
▲
Explaining C Pointers until I go insane [video]
(youtube.com)
1 points
by
linkdd
2y ago
|
1 comments
128.
▲
by
linkdd
2y ago
There is https://pyinfra.com/ As a sidenote, I also made a small experiment a while ago : https://github.com/linkdd/tricorder/ But it's a bit of a chicken-and-egg problem. Without users, I do
129.
▲
Show HN: DocEaser – Interactive documentation with Markdown and Htmx made easier
(github.com)
3 points
by
linkdd
2y ago
|
0 comments
130.
▲
by
linkdd
3y ago
Which is good for 100% of my use cases, since I don't deal with real time systems, or performance intensive applications, or memory/allocation constrained environments. No need to use the bazooka to kill an ant.
131.
▲
by
linkdd
3y ago
Which my library propose with the very simple concept `as_string_trait` that requires the presence of a method `std::string as_string() const`. It's good enough for 100% of my use cases.
132.
▲
by
linkdd
3y ago
debug/info/warn/error methods are coming. For the latter, since I use a pack expansion ( `...` ) of `field<T>`, maybe it is already possible to omit the type name. I shall put that in a test case and update the README :
133.
▲
by
linkdd
3y ago
How is it dated? That's how the Python logging library works, that's how Go's `slog` package works, that's how most of Rust's structured logging crates works. I guess the definition of "effortless" varies
134.
▲
by
linkdd
3y ago
> Most libraries focus on silly things like formatting and filtering which are all trivial problems. I wanted to print structured data on stdout, without any fuss. All the other libraries that try to tackle the non trivial problems you m
135.
▲
by
linkdd
3y ago
Here are a few reasons: - boredom - DIY - fun - practicing concepts, type traits, if constexprs, ... - spdlog has too many features, I just need one - why not?
136.
▲
by
linkdd
3y ago
Agree, but I don't have enough experience yet with modules (I find them confusing). Maybe for later, PRs are welcome :)
137.
▲
by
linkdd
3y ago
I'm using `std::function` and `std::vector` in the implementation, which allocates. I haven't written any benchmark, but I assume this would be the bottleneck. I made this tool for a small CLI utility not concerned about performan
138.
▲
Show HN: Logfmtxx – Header only C++23 structured logging library using logfmt
(github.com)
24 points
by
linkdd
3y ago
|
42 comments
139.
▲
by
linkdd
3y ago
> a computer system generally as smart and capable as a median human This implies: 1. a median human is somehow smart 2. a system that behaves like a human is desirable For (1), I think it's highly debatable regarding the a
140.
▲
Regex and Chess Combined – An Outrageous Solution to Find If a King Is in Check [video]
(youtube.com)
3 points
by
linkdd
3y ago
|
0 comments
141.
▲
by
linkdd
3y ago
March 08, 2024. News from the future? Who cares about causality?
142.
▲
by
linkdd
3y ago
Author here, I just posted a link to an article mentioning this project --> https://david-delassus.medium.com/writing-python-like-its-el... (friend link to bypass paywall, HN seems to remove the auth token). Ask me anyth
143.
▲
Writing Python like it's Elixir (or Erlang)
(david-delassus.medium.com)
3 points
by
linkdd
3y ago
|
0 comments
144.
▲
by
linkdd
3y ago
FYI: HN seems to remove the query string, which contained an auth token to bypass the paywall, so here you go, full link: https://david-delassus.medium.com/letlang-specification-fina...
145.
▲
by
linkdd
3y ago
For Django projects, I made a gist as a template of what I use: https://gist.github.com/linkdd/4aac2c2efc4a51af6ca4b05f395de... In there, you'll find the settings.py split by environment (like you would have in th
146.
▲
by
linkdd
3y ago
I don't know about pipfile.lock nor pip-compile, once I tested poetry I stuck to it without rethinking it (because I have better things to do than test all the package managers out there). But the poetry.lock contains hashes as well.
147.
▲
by
linkdd
3y ago
Of this specific solution yes, of the "ecosystem" no. This has been solved by many other solutions (pipenv, poetry, pdm, etc...).
148.
▲
Show HN: Letlang, written in Rust, targeting Rust, now has a specification
(david-delassus.medium.com)
8 points
by
linkdd
3y ago
|
1 comments
149.
▲
by
linkdd
3y ago
Chaotic means "small change in initial conditions lead to big changes in long term behavior". Best examples of this are double pendulums. It is still fully deterministic.
150.
▲
by
linkdd
3y ago
The video is already 1 day old. Where is the DOOM port?
More ›