Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ar-nelson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
ar-nelson
4y ago
I can think of at least three times I've had to do this, across ~7 years of working with Node. It's an awful hack, but when you need it, you need it.
32.
▲
by
ar-nelson
4y ago
Cross-platform user interface libraries, including desktop<->mobile. GTK and QT work for desktop-only apps, but once you include mobile there's no good, solid solution for this except a web view.
33.
▲
by
ar-nelson
4y ago
In the same vein, shameless plug for my own library, Spartan Schema: https://github.com/ar-nelson/spartan-schema It does the same thing as Zod, but is much smaller/simpler and its types always have a JSON represen
34.
▲
by
ar-nelson
4y ago
That's true, but AI models trained on copyrighted images already exist and can't just be removed from the internet, and their output will often be indistinguishable from that of "clean" models. What I fear is a kind of l
35.
▲
by
ar-nelson
4y ago
I've seen a lot of confidence on HN and other tech communities that a court would never rule that training an AI on copyrighted images is infringement, but I'm not so sure. To be clear, I hope that training AI on copyrighted image
36.
▲
by
ar-nelson
4y ago
Worth noting: I also reported a few thousand in trading profits, which were part of the same forms. So I couldn't just ignore crypto entirely on my taxes, and I used TaxBit to autogenerate the forms; it required everything in my transa
37.
▲
by
ar-nelson
4y ago
That's what I thought too. It didn't make sense at the time, and still doesn't, but the TaxBit forms showed a tax on both the payouts and the BTC->USD transaction. There was probably something I could have done to remove o
38.
▲
by
ar-nelson
4y ago
Yes, I was making a very small marginal profit after electricity. And the tax rate was around 30% once you combine federal and Massachusetts taxes, I don't remember exactly what it was. And anything I cashed out was double-taxed: first
39.
▲
by
ar-nelson
4y ago
There was probably a way I could have figured out how to keep the profits, but because I only made a few hundred from mining, and I had other capital gains (from stocks) that made that whole part of my taxes complicated, it just wasn't
40.
▲
by
ar-nelson
4y ago
I got one of these cheap RX580s in 2019, and, after not really using it for much, proceeded to use it to mine ETH throughout 2021. I was shocked that such an affordable GPU could mine (somewhat) profitably; I did the math, and it seemed lik
41.
▲
Show HN: Spartan Schema - Ultra-minimal JSON schemas with Typescript inference
(github.com)
3 points
by
ar-nelson
4y ago
|
0 comments
42.
▲
by
ar-nelson
5y ago
I've been trying to invent a JSON-Lisp language like this for a long time. My first attempt was Jaspr ( https://github.com/ar-nelson/jaspr ), which has its own syntax that compiles to JSON. But I'm working on a
43.
▲
The only good open-source software is for software developers
(pepijndevos.nl)
2 points
by
ar-nelson
5y ago
|
0 comments
44.
▲
by
ar-nelson
6y ago
Take Java as an example. In Java, there are no free functions. Every method belongs to an object or a class. So you couldn't write `f(a, b, c)` as `a.f(b, c)`, because `f` as a free function couldn't exist to begin with. Either it
45.
▲
by
ar-nelson
6y ago
Given a static type system that constrains the kinds of messages you can send, their arguments, and their response types, how is this meaningfully different from normal method calls? My understanding is that message-passing only starts to h
46.
▲
by
ar-nelson
6y ago
Author here: unified function call syntax is awesome but sadly out of scope for what I was trying to do with this language. I mention this in the "Class-based discoverability" section: for the sake of uniformity and IDE discoverab
47.
▲
by
ar-nelson
6y ago
How does message passing work with a statically-typed language? (Genuine question, not criticism.) My understanding is that Smalltalk-style message passing's main advantage is that it allows handing or proxying unknown method calls, bu
48.
▲
by
ar-nelson
6y ago
I didn't really think about variance while writing the examples; I assumed it would just work the way it does in Scala and Kotlin (explicit variance annotations). I do wonder if that's necessary, though--in theory, the compiler co
49.
▲
An Object-Oriented Language for the '20s
(adam.nels.onl)
179 points
by
ar-nelson
6y ago
|
329 comments
50.
▲
RectCut for dead simple UI layouts
(halt.software)
1 points
by
ar-nelson
6y ago
|
0 comments
51.
▲
by
ar-nelson
6y ago
Zero Wing Zero Hour is here at last. https://xkcd.com/286/
52.
▲
by
ar-nelson
6y ago
A link aggregator that only accepts GitHub links is a great idea, though I agree with other posters that it would help to add support for other Git hosts. Feature request: comment replies. As far as I can tell, comments don't allow rep
53.
▲
by
ar-nelson
6y ago
Tried installing via pip3 on Debian Buster, and it segfaults immediately. I'm sure it's an issue with my system, but I can't figure out what; there's no useful debug information, even though it tries to open KDE's b
54.
▲
by
ar-nelson
6y ago
Here's the biscuit recipe. I originally adapted it from a paleo recipe that I can't seem to find again, but I've made enough changes to make it my own. (Because of the aquafaba, and arguably the potato starch, it's not p
55.
▲
by
ar-nelson
6y ago
It's a matter of taste and how much thickness you want. It's a tradeoff between thickness and amount of burnt-chickpea taste that you can tolerate. And it's fine if you don't cook it down at all. For 2 cups dry chickpeas
56.
▲
by
ar-nelson
6y ago
A peer-to-peer data sync library for native apps, based on UDP discovery and CRDTs. It's nowhere near done, but the GitHub README describes it thoroughly: https://github.com/ar-nelson/osmosis-js
57.
▲
by
ar-nelson
6y ago
This is a misconception about what aquafaba is. Aquafaba is not the soaking water, it's the cooking water. My usual process for cooking chickpeas is: - Soak overnight in a bowl. Throw this water out. - Boil for several hours in new wat
58.
▲
by
ar-nelson
6y ago
Maybe it depends on the severity. My peanut allergy is very unpleasant, but not anaphylactic as far as I know; I can deal with it with just Benadryl.
59.
▲
by
ar-nelson
6y ago
I have two recipes that use aquafaba: a grain-free biscuit recipe and a grain-free flatbread recipe. A lot of gluten-free breads use eggs because they need a binder to replace the gluten, but the eggs taste, well, eggy. The aquafaba makes i
60.
▲
by
ar-nelson
6y ago
Strange... is it common for peanut allergies to be triggered by other legumes, like chickpeas? I'm allergic to peanuts but have never had problems with other legumes, or aquafaba.
More ›