Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eslaught
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
eslaught
1y ago
Conda doesn't do lock files. If you look into it, the best you can do is freeze your entire environment. Aside from this being an entirely manual process, and thus having all the issues that manual processes bring, this comes with a fe
32.
▲
by
eslaught
1y ago
If you're going to do this, why not generate Pandoc ASTs directly? You can do so from a number of languages and they support (by definition) a superset of any given markup's features, with blocks to call out directly for things yo
33.
▲
by
eslaught
1y ago
I'd try to find ways to stack everything else in your favor as much as possible. If X is difficult, you try to optimize Y, Z, etc. so that at least you're not coping with multiple adverse environmental factors at the same time. Fo
34.
▲
by
eslaught
1y ago
Recently I was introduced to the distinction between anxiety and dread. Anxiety is, essentially, a form of fear. You fear a worst-case consequence that isn't actually that likely. If you put up with your anxiety and just go and do the
35.
▲
by
eslaught
1y ago
One thing I've always wondered is what fraction of c is actually realistically achievable with current technologies? (Maybe with scenarios for manned/unmanned spacecraft.) Like are we at 0.1% or 0.01% or more orders of magnitude o
36.
▲
by
eslaught
1y ago
Or any company in its first 5 years of operation. (Or any company, period, within the first 5 years of the law being introduced.) It takes 5 years to fill the pipeline, so even if the steady state would be fine, getting to that state migh
37.
▲
by
eslaught
1y ago
The difference is that the abstraction provided by compilers is much more robust. Not perfect: sometimes programmers legitimately need to drop into assembly to do various things. But those instances have been rare for decades and to a first
38.
▲
by
eslaught
1y ago
Async vs. non-async is the main example today. There are libraries that support one or the other, or sometimes one library will have two usage modes (effectively two different code bases) because you can't really mix them. In the futur
39.
▲
by
eslaught
1y ago
How do you not completely destroy your concentration when you do this though? I normally build things bottom up so that I understand all the pieces intimately and when I get to the next level of abstraction up, I know exactly how to put the
40.
▲
by
eslaught
1y ago
I'm not sure what the author intended, but one way to implement atomics at the microarchitectural level is via a load-linked/store-conditional pair of instructions, which often involves tracking the cache line for modification. h
41.
▲
by
eslaught
1y ago
There has been talk of new language frontends for C++: Cpp2 (Herb Sutter's brainchild): https://hsutter.github.io/cppfront/ Carbon (from Google): https://github.com/carbon-language/carbon-lang
42.
▲
by
eslaught
2y ago
How do you even get 5.2 billion unique users when the total population on the internet is 5.5 billion? https://www.statista.com/statistics/617136/digital-populatio...
43.
▲
by
eslaught
2y ago
Signal is distributed as an app. Furthermore, the client is open source, you can see the repositories here: https://github.com/signalapp I don't know the latest details about Android/iOS app signing, but presumabl
44.
▲
by
eslaught
2y ago
Maybe not fully ergonomic yet, but this exists today (at least for max): https://docs.rs/nonmax/latest/nonmax/ If you're really attached to it being min you'd have to copy that library. Edit to add:
45.
▲
by
eslaught
2y ago
Confidence hijacks the human brain. Without direct, personal expertise or experience to the contrary, spending time around your hypothetical "friend who's very well-read and talkative but is also extremely confident and loves the
46.
▲
by
eslaught
2y ago
Surely this is not the first case of a president not enforcing a law. So then presumably this goes back into court, and then what?
47.
▲
by
eslaught
2y ago
> I started programming right when they got started. Then let me tell you about SourceForge. SourceForge, around the time that GitHub started, had a lot of these features (or at least, the ones that were standard practice at the time). I
48.
▲
by
eslaught
2y ago
Other siblings have piled on this, but let me just add: Your source of truth for a static site will never be the deployed contents of the server (even if you do go that route). It will be your local Git repo or possibly your upstream Git fo
49.
▲
by
eslaught
2y ago
I should probably clarify. Yes, the websites objectively suck. They suck in usability and also in design. But they also suck in content. When you're an author looking for agents, you're basically looking for three things: 1. What
50.
▲
by
eslaught
2y ago
As someone who was in the query trenches not too long ago, I feel like this website paints an overly rosy picture of what a typical agent website looks like. The fact is that a shocking number of agent websites are awful. These are legitima
51.
▲
by
eslaught
2y ago
I would pick the number of non-zeros first, assert that it's non-zero, then continue filling in the values themselves. And probably not with a uniform distribution. Any algorithm that cares about the number of non-zeros could have non-
52.
▲
by
eslaught
2y ago
If you're embedding, say, a C library inside of Rust, you can do so via a so-called "build.rs" script [1]. These run at build time so you can do pretty much whatever you want. They're not necessarily pretty, but given th
53.
▲
by
eslaught
2y ago
I could be wrong but I believe the idea is that the growth mindset has measurable consequences. I.e., if you believe you can grow, you will learn/adapt more effectively to new situations and ultimately achieve more. It's an empiri
54.
▲
by
eslaught
2y ago
I never get this argument. I've seen a deer on a road maybe once. I've seen a rabbit on a road zero times. But I know what to do if I see one. Is that because the "video" of my perception has many "frames"? Eve
55.
▲
by
eslaught
2y ago
I wrote a small program in Algol 68 once. It was horrible because it didn't even have heap allocation in the language, so things you'd think of doing in C (e.g., tree data structures) just didn't work. That and all the compil
56.
▲
by
eslaught
2y ago
> It's probably too much to ask corporations to dump money into it as it would not be a legitimate business expense. Um, excuse me? Ok, let's suppose you've got a product that depends on open source project X. For simplici
57.
▲
by
eslaught
2y ago
Because the usage modes are entirely different? If you could only drive electric-based cars around your own neighborhood, the usage modes would also be entirely different and they never would have taken off either. (As, case in point, did e
58.
▲
by
eslaught
2y ago
You don't trust your own phone's airplane mode to shut the cell modem off?
59.
▲
by
eslaught
2y ago
I guess I got turned off by the visually loud Akamai branding on their landing page, and the talk of "cloud" on that page made me think they'd done away with the old Linode VPS product entirely. But it's good to know it
60.
▲
by
eslaught
2y ago
Yeah, the static portion is trivial. The trouble with the dynamic portion is that I use a proprietary C/C++ library that I'd have to replace. I suppose in this day and age I ought to be able to do better with some of the modern de
More ›