Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
majoe
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
majoe
1mo ago
> C++ is also surprisingly good, but you pretty much have to tell the LLMs to treat it like Go and don't use any of the dangerous features for normal code. For existing codebases I made the experience, that LLMs are very good at rep
2.
▲
by
majoe
1mo ago
I stumbled upon the very experimental nix-ninja [0] recently. They seem to create a dynamic nix derivation per compilation unit, which would be very similar to what you describe as manifests in your post as it also creates a hash of all inp
3.
▲
by
majoe
2mo ago
Your post sounds like there is some strange rule regarding taxation of solar installations, but it is (or rather was) just treated as any other income from commercial operation. - If you have any income from commercial operation (selling s
4.
▲
by
majoe
6mo ago
Some thoughts on why I think this is wrong: If no one needs it during the day, they can't sell it. That's not how markets work. Energy that is generated, needs to be consumed or else the grid breaks down. These two facts together
5.
▲
by
majoe
6mo ago
> I've seen some examples of C++ contracts replacing CRTP, but it used templates, which again, not a fan of. I think you meant concepts. C++ Concepts are the right answer in my opinion, if you want compile time polymorphism against
6.
▲
by
majoe
6mo ago
I recently read about Aptera, a company building a commercial solar car: https://aptera.us/first-vehicle-off-validation-line/ I think it is quite interesting, because it also tries to be maximal efficient, which increa
7.
▲
by
majoe
6mo ago
> Yes, that's drive me insane, west which is biggest advocator of climate change and preaches renewable energy has not done as much as a poor country like Pakistan has done. The "west" is not a single place and I hate that
8.
▲
by
majoe
6mo ago
Had a self hosted nextcloud instance runnning on my homeserver, but migrated away two years ago to a Hetzner Storage share. All in all I'm quite happy with that. There are some downsides, though: - No support for collabora online,
9.
▲
by
majoe
7mo ago
Probably true, but one unique thing about Julia is, that exposes almost all stages of the compilation to the user. From typed IR to native code generation you can customise the compilation in many ways. Together with the power of LISP'
10.
▲
by
majoe
7mo ago
Nix devShells works quite well for Python development (don't know about JS) Nixpkgs is also quite up to date. I haven't looked back, since adopting Nix for my dev environments.
11.
▲
by
majoe
8mo ago
I struggled with remote deployment + secret management, too. Like a lot of folks, my nix-config grew over the years as I added secrets management, user management etc ad hoc. I recently found clan.nix [1] and am quite pleased. It's kin
12.
▲
by
majoe
8mo ago
Kartoffel is the standard German word. Erdäpfel is used in many dialects and has plenty of variants. Actually the various different words for potatoe and their distribution across Germany, Swiss and Austria is linguistically quite interesti
13.
▲
by
majoe
8mo ago
I tried different LLMs with various languages so far: Python, C++, Julia, Elixir and JavaScript. The SOTA models come do a great job for all of them, but if I had to rank the capabilities for each language it would look like this: JavaScrip
14.
▲
by
majoe
9mo ago
> nowadays Element is actually on a more economically sustainable path Good to hear. Keep up the good work.
15.
▲
by
majoe
9mo ago
That's not correct. For ordinary computers there is Landauer's principle, which gives a theoretical lower limit for the energy needed for computation [0]. I say "ordinary computers" because other comments mentioned "
16.
▲
by
majoe
9mo ago
I came to like auto over the years, although I also use it sparingly. Sometimes the concrete types only add visual noise and not much helpful information, e.g. iterators: auto it = some_container.begin(); Not even once have I wished to know
17.
▲
by
majoe
9mo ago
Damn, I always thought Fuchsia is just a colour, but today I learned - Fuchsia is a flower - which is named after a German botanist (Leonhart Fuchs) - Fuchsia in English is pronounced completely different than in German. - Google
18.
▲
by
majoe
11mo ago
> Thing is that you need a complex JIT like Julia's or stuff like https://github.com/marcoheisig/fast-generic-functions to offset the cost of constant dynamic dispatch. Julia is always the odd one out, when tal
19.
▲
by
majoe
11mo ago
> V2G is a pipe dream. Seems a bit early to come to this conclusion, but I would also suspect, that the value of a parking garage full of EVs is not in providing energy to the grid but as a large scale consumer for load shaping.
20.
▲
by
majoe
11mo ago
I went through a similar journey recently for the local development environment of my team. I couldn't figure out yet, whether there is a reasonable and safe way to authenticate at an AD inside a GitHub Action. Anyone done that?
21.
▲
by
majoe
11mo ago
Counterintuitively Julia recommends the use of immutable data types for performance reasons, because immutability enables more flexible compiler optimisations An immutable variable can be savely shared across functions or even threads witho
22.
▲
by
majoe
11mo ago
> Most of Europe became rich under imperialist, authoritarian governments not with their current system Europe prospered under democratic governments after the second world war. My particular region of Germany was rural, agrarian and pis
23.
▲
by
majoe
11mo ago
This lead me done a rabbit hole on wikipedia: Advent calendars in their earliest forms were invented approx. 80 years ago. The four week advent period goes back to the 7th century and was introduced by pope Gregory I..
24.
▲
by
majoe
11mo ago
I was pleasantly surprised, that a recent update for plasma fixed the fingerprint reader for my thinkpad t15. It previously had an issue, where it didn't work after waking from suspend.
25.
▲
by
majoe
1y ago
I disagree for Julia, but that probably depends on the definition of static typing. For the average Julia package I would guess, that most types are statically known at compile time, because dynamic dispatch is detrimental for performance.
26.
▲
by
majoe
1y ago
You can define your own concepts. What is your point? I haven't seen an example yet, where concepts weren't simpler and easier to read/understand than SFINAE shenanigans.
27.
▲
by
majoe
1y ago
"Just read the scripture" is not enough. Catholics are supposed to use the historical critical method, when interpreting texts from the bible. There are other Christian groups, which take the bible verbatim, but Catholicism is non
28.
▲
by
majoe
1y ago
If time were running against the arrow of entropy, nobody could perceive or measure it, right? Remembering something is per se an increase in entropy, so the universe could run in negative time direction, but we would simply forget, what ha
29.
▲
by
majoe
1y ago
Reasons I can think of: - Wrapping all objects in shared pointer is annoying. - If you stick to that convention, you have to do it on every call side, while you only have to implement RAII once. - You can enforce invariants of your class wi
30.
▲
by
majoe
1y ago
This is the answer. Interestingly, wind/storm loads are oftentimes the limiting factor for the configuration height of a crane. This is because, when adding another tower segment, not only the total area increases but also the wind for
More ›