Better HN
topnewbestaskshowjobs
Log inSign up

beckford

264 karma · joined Jun 6, 2021 (5y ago) · 51 submissions

jonah AT diskuv DOT com; its founder. Created the DkML Windows OCaml distribution. An eon ago, when AI was still called deep learning, I was the Principal Engineer for Research at Amazon Go. And many eons ago I did fraud analytics, big data and data security.
Submissions

comment 1w ago · link · parent

Finally getting email that was queued up for the day. Then I searched for coverage of the news outage and was led to https://www.newsweek.com/microsofts-outage-cut-quarter-workf...:

> ...

> Newsweek contacted Microsoft for comment via email.

I hope that was biting sarcasm so that those of us who are getting up with restored emails can have something small to smile about.

comment 1mo ago · link · parent

Docker Agent could be beneficial for research studies. For example, while writing a ML paper about agents I need to rerun experiments so that: - others can repeat my results - validate that variability from LLMs is not causing overconfidence in the results

But currently uv is good enough to create isolated, repeatable environments. And it isn't limited to Linux like standard Docker. So when I want to test small samples on my local PC's GPU (Windows or mac) before running on beefier hardware, I can do that easily.

3.

Rewriting Tailwind CSS in OCaml: Is It (Pixel-)Correct?(gazagnaire.org ↗)

3 points · by beckford · 1mo ago · discuss

4.

Laya vs Jev head-to-head on identical inputs(github.com ↗)

1 points · by beckford · 2mo ago · discuss

comment 2mo ago · link · parent

As mentioned in the sibling comments, Andrew Gelman has covered this elsewhere. In particular, Gelman et al have a "Model Checking" chapter in their Bayesian Data Analysis book https://sites.stat.columbia.edu/gelman/book/BDA3.pdf . A popular intro Bayesian book Statistical Rethinking has a similar "Sampling from the Imaginary" chapter (https://civil.colorado.edu/~balajir/CVEN6833/bayes-resources...). Both books introduce the topic early (the latter book deals with it in the third chapter) if you are willing to do a bit of reading.

comment 2mo ago · link · parent

The part about being hardware-agnostic sounds something like ROS 2, but maybe at a higher level. I would love to see a post about that (with a bit of explainers for people like me who only lightly dabble with robotics).

But I'm also curious to know if the "Salem" name was searched first. When I first saw the title I thought it was talking about Agility Robotics, which is based in Salem, Oregon and is currently 3rd spot on Google search for "Salem Robotics" (and 4 of the top 5 results on YouTube).

comment 3mo ago · link · parent

The most important lines to me are the CFTC Chairman's quote:

> These are financial exchanges that offer financial instruments and operate across state lines. They match the bid from a resident of one state with the offer of a resident from another state and submit the trade to a clearinghouse that backstops the transactions of customers throughout the country. New York has no business regulating these interstate financial markets.

If true, it seems quite irrelevant that NY is limiting its suit to NY customers. NY would be restricting trade to people in other states. (I am not a fan or user of Kalshi)

comment 3mo ago · link · parent

They did the same for a Samsung Fold phone delivered to me last month (in the US).

comment 3mo ago · link · parent

Awesome! How did you find that out?

10.

SFC vs. Vizio Ruling on General Public License Compliance(dlapiper.com ↗)

2 points · by beckford · 6mo ago · discuss

comment 7mo ago · link · parent

Using fragments for secure data has been discussed before on hn: https://news.ycombinator.com/item?id=23036515. Tldr: it may not go directly to the server (unless you are using a buggy browser or web client) but the fragment is captured in several places.

comment 7mo ago · link · parent

That hasn't been true for a few years at least. https://www.jetbrains.com/help/clion/cmake-debug.html is has had CMake debugging since cmake 3.27. Ditto for vscode and probably other C IDEs I am not familiar with. So does Gradle for Java. GNU make is hardly exclusive.

13.

GPLv2 and Installation Requirements(lwn.net ↗)

2 points · by beckford · 9mo ago · discuss

comment 10mo ago · link · parent

> One reason is that far more of their students actually applied than would be expected.

This sentence is buried midway through the article. It would be good for a future post to expand on this ... how much is explained by students simply applying more frequently to their local schools. This explanation was the only plausible explanation in the article I saw answer "why".

comment 10mo ago · link · parent

If you were looking at the parse link in the author's comment, you were looking at a spec (called a module interface in OCaml/OxCaml, similar to an interface in Java). The parse implementation is at https://github.com/avsm/httpz/blob/240051dd5f00281b09984a14a...

That said, I would be happy if all I needed to type in was a spec.

comment 1y ago · link · parent

Since the link is paywalled, the TLDR paragraph is:

> Boasberg said in the ruling that the FTC had incorrectly excluded YouTube and TikTok from the market where it challenged Meta's dominance. "Even if YouTube is out, including TikTok alone defeats the FTC’s case," the judge said.

I agree. Meta does not have a monopoly since they compete with TikTok.

comment 1y ago · link · parent

> The first main disadvantage is that they require the kernel to support syscall tracing, which essentially means they only work on Linux. I have Ideas™ for how to get this working on macOS without disabling SIP, but they're still incomplete and not fully general; I may write a follow-up post about that. I don't yet have ideas for how this could work on Windows, but it seems possible.

On Windows, Linux, and also macOS with SIP disabled (as implied, disabling is a bad idea), the https://github.com/jacereda/fsatrace executable exists today and can trace filesystem access. It is used by the Shake build system.

In particular, https://neilmitchell.blogspot.com/2020/05/file-tracing.html mentions that Shake copies system binaries to temporary folders to workaround the SIP protection. That blogpost also mentions other problems and solutions (like library preloading).

comment 1y ago · link · parent

Good advice but still:

> investors warn the good times won’t last forever

Umm ... these aren't short-term investors. They are investing because they think at least one of their bets will pay-off.

19.

An Overview of Attestations in CI(github.com ↗)

1 points · by beckford · 1y ago · discuss

comment 1y ago · link · parent

Introduction paragraph:

Metalang99 is a firm foundation for writing reliable and maintainable metaprograms in pure C99. It is implemented as an interpreted FP language atop of preprocessor macros: just #include <metalang99.h> and you are ready to go. Metalang99 features algebraic data types, pattern matching, recursion, currying, and collections; in addition, it provides means for compile-time error reporting and debugging. With our built-in syntax checker, macro errors should be perfectly comprehensible, enabling you for convenient development.

21.

Writing reliable and maintainable metaprograms in pure C99(github.com ↗)

9 points · by beckford · 1y ago · 1 comment

22.

Using AI to stop tech support scams in Chrome(security.googleblog.com ↗)

1 points · by beckford · 1y ago · discuss

23.

Justin Cormack – A decade of containers [video](youtube.com ↗)

3 points · by beckford · 1y ago · 1 comment

24.

Current State and Future of KCL(github.com ↗)

1 points · by beckford · 1y ago · discuss

25.

A beginner's guide to deploying LLMs with AMD on Windows using PyTorch(gpuopen.com ↗)

128 points · by beckford · 1y ago · 47 comments

26.

Traefik's 10-year anniversary(traefik.io ↗)

253 points · by beckford · 1y ago · 147 comments

comment 1y ago · link · parent

Yeah, I don't disagree. I'd go further and say the examples are on-point for a "human oriented" language. But the formal spec reveals how simple or complicated this language is. (And I'm also writing this from the perspective of someone who uses a programming language that does not have a HOML implementation).

comment 1y ago · link · parent

Not OP, but I think it does run Postgres as a process. However, IMHO the general use case for SQL is for external actors (humans, machines) to get access to the underlying data in a structured way. So I see a benefit for a true in-process embedding of Postgres if the process exposed a Postgres TCP/IP port 5432, etc. (Hook your software up to a query tool, a reporting interface, etc.)

Beyond that, why care whether the "embedding" involves a spawned process? It still works great for integration tests which I suspect is the main use case, and for specialized data analysis software where a spawned process is no big deal.

comment 1y ago · link · parent

For something like this I would love to see a formal spec to go along with the examples.

comment 1y ago · link · parent

Disclaimer: I took over maintenance of the Cap'n Proto C bindings a couple years ago.

That makes sense. There is some opportunity though since the Cap'n Proto RPC had always lacked a JavaScript RPC implementation. For example, I had always been planning on using the Cap'n Proto OCaml implementation (which had full RPC) and using one of the two mature OCaml->JavaScript frameworks to get a JavaScript implementation. Long story short: Not now, but I'd be interested in seeing if Cap'n Web can be ported to OCaml. I suspect other language communities may be interested. Promise chaining is a killer feature and was (previously) difficult to implement. Aside: Promise chaining is quite undersold on your blog post; it is co-equal to capabilities in my estimation.

12