Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbid
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
mbid
2mo ago
That's pretty much the flow I formalized here: https://github.com/nvidia/rumpelpod Instead of generating patches, this exposes the agent's checkout as a git remote though. Most similar tools (and I believe yo
2.
▲
by
mbid
3mo ago
Yeah I should add a video to the README. Have you tried running `rumpel codex foo123` in one of your repositories, asking it to commit something, then `rumpel merge foo123` to get the changes back to your local checkout? Use a different ter
3.
▲
by
mbid
3mo ago
I recently got the tool I use to orchestrate agents in (remote/secure) devcontainers open-sourced at work to solve this properly: https://github.com/nvidia/rumpelpod As others here have pointed out, it's exce
4.
▲
by
mbid
4mo ago
What's the point? Sweden has lots of potential for long-term energy storage as hydro power, which makes wind power viable. Northern Germany is mostly flat and there's not even close to enough storage capacity (on the order of ~wee
5.
▲
by
mbid
4mo ago
How many solar panels does the UK produce?
6.
▲
by
mbid
4mo ago
> similar as in Sweden Sweden's electricity is ~40% hydro, ~27% nuclear and ~23% wind. How is this in any way comparable to Northern Germany?
7.
▲
by
mbid
4mo ago
Not sure if you're serious, but this was not viable in the 2010s, or even today in Germany at all because of Germany's high latitude: No matter how efficient solar panels become, they will always be more economical to operate clos
8.
▲
by
mbid
4mo ago
Solar panel production is extremely energy intensive. Germany has one of the highest energy costs in the world. So there was no way for Germany to maintain a competitive solar panel industry.
9.
▲
by
mbid
5mo ago
Relevant prior work: https://github.com/jimblandy/context-switch
10.
▲
by
mbid
5mo ago
This is outside of my expertise, but wouldn't multiple threads each submitting a single operation in parallel have the same effect?
11.
▲
by
mbid
5mo ago
Right, I think the argument should be that transitioning from a synchronous to asynchronous programming model can improve the performance of a previously CPU/Memory-bound system so that it saturates the IO interface.
12.
▲
by
mbid
5mo ago
I read this argument ("async is for I/O-bound applications") often, but it makes no sense to me. If your app is I/O bound, how does reducing the work the (already idling!) CPU has to spend on context switching improve th
13.
▲
by
mbid
5mo ago
How many systems are there that can't just spawn a thread for each task they have to work on concurrently? This has to be a system that is A) CPU or memory bound (since async doesn't make disk or network IO faster) and B) must wor
14.
▲
by
mbid
5mo ago
I believe these ideas are much more mature and better explored for code gen, but similar techniques are useful also in the frontend of compilers, in the type checker. There's a blog post [1] by Niko Matsakis where he writes about addin
15.
▲
by
mbid
2y ago
If you're interested in the details, you might want to have a look at papers [1] or [2]. You can add existentials in this framework, which basically means that the lifting problems mentioned above don't need to have unique solut
16.
▲
by
mbid
2y ago
I actually started working on Eqlog because I wanted to use it to implement a type checker. You might want to skim the posts in my series on implementing a Hindley-Milner type system using Eqlog, starting here [1]. The meat is in posts 3 -
17.
▲
by
mbid
2y ago
The post mentions the idea that querying a database D can be understood algebraically as enumerating all morphisms Q -> D, where Q is the "classifying" database of the query, i.e. a minimal database instance that admits a singl
18.
▲
Stop using REST for state synchronization (2024)
(mbid.me)
2 points
by
mbid
2y ago
|
1 comments
19.
▲
by
mbid
3y ago
For me, the main problem with most tools that render to HTML was that they don't support all math typesetting libraries that latex supports. I used to work with category theory, where it's common to use the tikz-cd library to type
20.
▲
by
mbid
3y ago
If you're going to send out math as SVGs anyway, you can also just use your normal latex to PDF renderer (e.g. pdflatex) on each formula, and then convert the output PDFs to SVGs. That way, you get the same output you'd get with l
21.
▲
by
mbid
3y ago
> using KaTeX [...] switched to server-side rendering with MathJax I've been meaning to look into KaTex. Could you elaborate on why you switched away from it? KaTeX appears to support server-side rendering already, in the sense that
22.
▲
by
mbid
3y ago
>what does he mean when he says rename isn't atomic if there's a crash? Not sure. One of the papers he cites [1] has this to say about rename atomicity: > Directory operations such as rename() and link() are seemingly atomic
23.
▲
by
mbid
3y ago
The rename system call is not quite atomic. From https://linux.die.net/man/2/rename : > However, when overwriting there will probably be a window in which both oldpath and newpath refer to the file being rename
24.
▲
by
mbid
3y ago
This is also the natural solution when you're using Datalog to compute with the AST: Datalog operates on relations/tables, so associating types to AST nodes can be accomplished using a table with two columns: One for the ID repres
25.
▲
by
mbid
5y ago
>Pompom is an attractive implementation of an extensional (!) dependently typed language >Pompom provides [...] a strong normalization system How is this possible? Extensional dependent type theory has undecidable term/type e
26.
▲
by
mbid
7y ago
Just to add to the confusion: Monoidal categories are the appropriate notion of "monoid object" in the category of categories; unit and associativity law are replaced by coherent natural isomorphisms (see "categorification&qu
27.
▲
by
mbid
8y ago
I didn't mean to critize all axiomatization but the concrete axiomatizations arrived at by PL research. In my opinion, one should start with a thorough understanding of the problem domain, and then try to come up with a syntax that all
28.
▲
by
mbid
8y ago
Kind of, from what I (complete physics noob) hear.
29.
▲
by
mbid
8y ago
You're describing my pet peeve with research in programming languages, or more generally use of abstractions in CS. What you're writing makes sense: Understand the structure of your problem, then think of similar problems you'
30.
▲
by
mbid
8y ago
However, using a Hilbert Curve for sharding doesn't seem like the best approach. Yes, that's also what I thought. Searching for "same size k-means" yields a simple postprocessing step to even out the clusters produced
More ›