Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
achou
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
achou
8mo ago
Y'all are sleeping on custom lint rules. Every time you find a runtime bug, ask the LLM if a static lint rule could be turned on to prevent it, or have it write a custom rule for you . Very few of us have time to deep dive into esoter
2.
▲
by
achou
1y ago
One thing to watch out for when using debounce/throttle is the poor interaction with async functions. Debounced/throttled async functions can easily lead to unexpected behavior because they typically return the last result they ha
3.
▲
by
achou
2y ago
Sure, I think what I noticed was that even idiomatic OCaml code was relatively fast, maybe 2-3x slower than C, but plenty fast enough. Whereas I was under the impression that idiomatic Haskell was far more likely to have unexpected and hard
4.
▲
by
achou
2y ago
What about performance? I wrote my thesis in OCaml and my recollection was that it had an amazing native code generating compiler that not infrequently output code that was almost as fast as C if you wrote it the right way. The story I hear
5.
▲
by
achou
4y ago
David Humbird's 2021 paper "Scale-up economics for cultured meat"[1] is a pretty damning study of the problems with lab-grown meat. His core conclusion: "Capital- and operating-cost analyses of conceptual cell-mass produ
6.
▲
by
achou
4y ago
Keep in mind that "avoidance" in this context refers to not confronting one's own feelings and intuition. After grappling with that feeling explicitly, avoiding overt conflict can certainly be an adult decision to make.
7.
▲
by
achou
4y ago
This is a useful analysis of what "being an adult" means. I've noticed that the moment when I feel like avoiding social discomfort or potential conflict as the precise moment when I have a choice: either be an adult and under
8.
▲
by
achou
5y ago
How does this culture work at the boundary? How does it work when meeting with people outside Amazon? I'm all for this idea but I can see it quickly breaking down for certain key roles, like product managers, who often interface with c
9.
▲
Loom Raises $130m Series C to Unlock the Potential of Video for Hybrid Work
(loom.com)
2 points
by
achou
5y ago
|
0 comments
10.
▲
Researchers chart path to drastically lower administrative costs of health care
(med.stanford.edu)
138 points
by
achou
5y ago
|
215 comments
11.
▲
by
achou
6y ago
How do CodeTours handle drift as the code base changes?
12.
▲
by
achou
6y ago
In the last 18 months I've lived with 2 kids in a condo in SF with a car, a downtown condo in an Asian megacity without a car, and in suburban silicon valley with a car and large yard. For us, by FAR the best quality of life has been i
13.
▲
by
achou
6y ago
Linux isn’t all of open source, nor likely to be the most attractive vector of infiltration for any given target, and not all of even Linux is examined with the same level of scrutiny.
14.
▲
by
achou
6y ago
Three points: (1) This issue isn't going away, no matter who wins the next election. (2) Data collection is not the only goal or threat. The article mentions other critical systems: energy, financial, healthcare, transportation, milita
15.
▲
by
achou
7y ago
See also IxJS, which is a pull-based version of RxJS: https://github.com/ReactiveX/IxJS
16.
▲
by
achou
7y ago
In type systems there's a tension between expressiveness, soundness, and comprehensibility. A sound type system must exclude all programs that have runtime issues, and, holding that constant, try its best to maximize expressiveness a
17.
▲
by
achou
7y ago
The first example can happen in TypeScript; foo has type (() => Promise<void>) | undefined admittedly it may not be all that common to have a function-valued variable that may be undefined, but it happened in the code base I
18.
▲
by
achou
7y ago
I just did some refactoring on a medium size code base and here are a few things to watch out for when adopting optional chaining and the new null coalescing operator: foo && await foo(); is not the same as await foo?.();
19.
▲
by
achou
7y ago
I think the best single observation about cognitive load is in Ousterhout's book A Philosophy of Software Design[1]. In the book he promotes the idea that classes should be "deep", such that their top-level surface API is sma
20.
▲
by
achou
7y ago
Contact me via DM on twitter, or on linkedin
21.
▲
by
achou
7y ago
I'd love to add Azure support but I'm not super familiar with it. Would be great to chat about it sometime.
22.
▲
by
achou
7y ago
The serialization/deserialization is just JSON for now, though I plan on adding some configurability and perhaps changing the implementation at some point. There is some runtime checking to make sure the arguments are correctly seriali
23.
▲
by
achou
7y ago
Functions need to be idempotent, so you have to assume they will be retried. Faast.js will proactively do retries in some cases where it thinks a function is slow, to reduce tail latency. If a function fails to execute for transient reasons
24.
▲
by
achou
7y ago
Indeed, I've put together a simple example of using puppeteer with faast.js in this repo: https://github.com/faastjs/examples/tree/master/aws-puppetee...
25.
▲
by
achou
7y ago
You're basically correct, and thanks for the suggestion to add documentation about deployment in production. One special case is if your functions return a lot of data; outbound data charges can get expensive fast, and you'll be l
26.
▲
by
achou
7y ago
Good idea. Any specific example you have in mind?
27.
▲
by
achou
7y ago
Very cool. What kind of data was it, if you don't mind sharing? Faast.js can be used with multi-core, just use the "local" mode and run it on a large box. I'm billing this as a way to test locally before running in the c
28.
▲
by
achou
7y ago
It depends on the specific use case. Some of the use cases I envision have sharp spikes in demand, and serverless can provide better service and price/performance. Part of faast.js is a cost analyzer that can tell you in real time how
29.
▲
by
achou
7y ago
Hi everyone, faast.js is a library that allows you to use serverless to run batch processing jobs. It makes it super easy to run regular functions as serverless functions. This is one of my first open source projects and I'd be happy t
30.
▲
Show HN: Faast.js – Serverless Batch Computing Made Simple
(faastjs.org)
202 points
by
achou
7y ago
|
31 comments
More ›