HNHacker News
TopNewBestAskShowJobs

thelastbender12

181 karma · joined January 9, 2017

Hi! I'm an engineering grad wrestling to learn technology and business and markets and investing.

https://ananis.in

submissionscomments
thelastbender12··on Autodidax: JAX core from scratch
But seriously, for open source projects actually looking for contributors (vis-a-vis companies with a developer product they just make open source), there is no better resource.

To understand a framework, you need a mental model of it. Good documentation is helpful, but it seldom walks through why specific design choices were necessary.

thelastbender12··on The Origin of the “MIT License” (2020)
Neat to know MIT License did actually originate at the eponymous institution.

When I first got access to the internet, MIT seemed awfully productive in producing code. Before I found out that MIT License doesn't imply the work was done by a person at MIT!

thelastbender12··on Show HN: We built a developer-first open-source Zapier alternative
Windmill looks cool! I've always wanted to write something like Huginn [1] available as a single binary.

Can I ask, what were the benefits of writing a new workflow engine instead of building around Temporal?

1 - https://github.com/huginn/huginn

thelastbender12··on Show HN: UpTrain – Open-source ML observability and refinement tool
Online detection of problematic inputs seems plenty interesting! I am curious, does your framework run the detection logic in process or as a daemon the library is shipping over data to?
thelastbender12··on WTF with high school questions?
> They may not know your terminology even though they are familiar with the concepts

Would that not imply they aren't a good fit for the OP's workplace? And presumably, a lot of larger tech companies, since communication must be a large part of your job.

I am admittedly not good at talking on the fly if I haven't prepped for it. I try to make up for it by trying to focus on writing well.

thelastbender12··on Writing a Python SQL engine from scratch
Sqlglot is fantastic, and a super readable codebase to learn from! Thanks @captaintobs.

With the comparisons to calcite, I was curious if you've considered implementing sqlglot in a native language too? Something compiling down to a small wasm extension would make it accessible to web apps.

thelastbender12··on PRQL: a simple, powerful, pipelined SQL replacement
You might enjoy the FunSQL library; SQL verbs are represented using regular Julia objects and you pipeline them together to build bigger queries. A key difference to other SQL builders is that you assemble a tree of "tabular operations" instead of a SQL syntax tree.

https://github.com/MechanicalRabbit/FunSQL.jl

thelastbender12··on FTX investor Sequoia removed its glowing profile of Sam Bankman-Fried
Sam already had a boy genius profile, and more positive coverage of him would plausibly have translated to better returns on their investment in FTX.
thelastbender12··on Plane: Per-user backends for web apps
This looks super cool! Typically, products/projects claiming "browser is the new OS" either,

* run a full blown browser in the cloud and stream back pixels

* emulate a native application in the browser (like, github.dev)

Both are okay but per user backends feel like a nicer primitive to build applications with. Apps that run locally in the browser but can access cloud compute/storage on demand.

thelastbender12··on Preact Signals
If you are posing the question, "why does Preact not make hooks behave like signals?", it very likely is to retain similarity with React where you only have hooks. For better or worse, Preact is known to most folks as an alternate implementation of React with the same API.

SolidJs shows you can get most of the functionality of hooks using signals. Who knows, if someday most Preact users converge to using signals for state management, maybe they will throw out hooks altogether. But in their current context, supporting both hooks and signals feels a reasonable choice to me.

thelastbender12··on Preact Signals
Sorry, you seem to hint at knowing this already. But, to clarify,

* Hooks - `setState` reruns the full code for your component.

* Signals - only the dependent effects/computed/JSX is run.

thelastbender12··on Copilot sells code other people wrote
This is a good thought exercise. I wouldn't call it stealing, though I am not sure how legal liability is assessed, say if they picked up GPL code unknown to the company, and the company is later sued over it.

This isn't derived from principled reasoning, but I think of it as similar to community norms. Not the best example, but you wouldn't mind someone subletting their homes to Airbnb, but if all of your apartment complex does it, it invites regulation. A product like copilot enables copying code (even if inspired, and not verbatim) at a scale that individual developers can't. So respecting software licenses needs to be codified (legally?) while previously it was left unmonitored.

thelastbender12··on Copilot sells code other people wrote
Sorry, to be clear, I meant even if a Github user asserts their code is public-domain/no-attribution/unlicensed, they could have lifted it off a codebase that doesn't allow it. It would be tricky for Github to establish the code was indeed original and hence their agreement with the user allows them to train their models on it.
thelastbender12··on Copilot sells code other people wrote
It is hard to see how verifying licenses is a solvable problem, when licensing for code dependencies can be transitive. For ex - if I copy code from a GPL codebase like Linux and create a Github repository with an MIT license.
thelastbender12··on Python Language Summit: Python Without the GIL
>Because it's not a huge game changer.

That is just not true.

1 - This helps parallelize regular python code too, like the kind that goes into writing web services.

2 - While you'd still write native extensions to get optimum performance for single threaded code, having the thread dispatch layer in python makes parallelizing execution convenient and robust. For example, see the comment from people who maintain scikit-learn below. I'd love to see python get composable task parallelism like Julia where you can freely spawn threads within threads without worrying about their lifetimes.

link: https://github.com/colesbury/nogil/issues/36#issuecomment-10...

thelastbender12··on WebAssembly: The New Kubernetes?
This was comprehensive, thanks! Lightweight deployment and better security (than configuring seccomp) are both interesting features. Could you please link to the product/project you're building (of course if it is open)?
thelastbender12··on WebAssembly: The New Kubernetes?
That would indeed be super useful to extend self hosted automation tools like Huginn. From what I understand, wasm/wasi modules don't have full networking or filesystem access support yet. So you probably have to rely on specific runtimes to provide hooks for doing that, and regular code won't work out of the box.

1. https://github.com/suborbital/reactr 2. https://wasmedge.org/

thelastbender12··on Pg_GraphQL: A GraphQL Extension for PostgreSQL
> After tallying the resources reserved for PostgreSQL, PostgREST, Kong, GoTrue, and a handful of smaller services, we were left with a total memory budget of ... 0 MB

This was a really interesting bit to me, could you give detail on how the memory usage gets split up across these? Thank you.

thelastbender12··on Realtime Postgres Row Level Security
I have the same question. Since Supabase still exposes the connection parameters to the database, we could spin up another Flask server to deal with routes that are not expressible as simple CRUD operations. The JWT secret shared by the auth service (GoTrue) with Postgrest is available too, so I could also use it to authenticate the users myself.

@supabase developers, is this a reasonable way to do things or am I missing something?

thelastbender12··on Statistics as algorithmic summarization
>Why would we select a subset at random? Why shouldn't we try to select a representative subset?

Isn't this similar to the point this article is trying to make? Looking at statistics as a collection of algorithmic recipes shifts attention to how those procedures are designed, and when do they yield us useful summaries. When you want a "representative mean" rather than the population average, you'd just tweak your algorithm.

thelastbender12··on The SEC has told us it wants to sue us over Lend. We don’t know why
For cryptocurrency to flourish, the end goal would be to have everyone as a stakeholder (not intended as an indictment), so additions/changes to the laws that are favorable to the industry have public support.

As others point out, Coinbase must know the current legality of the lending offering. The likely objective of this piece is to gain support of those invested in the industry, and for them to push their legislators to reformulate laws.

thelastbender12··on Differential Dataflow for Mere Mortals
That is because doing incremental computation efficiently is complicated!

I'd think the project idea is that differential dataflow is too useful a technology to only be understood by a few people. By writing it a second time around, it might be feasible to trade off some of its power for a more lean and accessible implementation.

thelastbender12··on Cue, an open-source data validation language
Thank you for the answer! Think I missed the grafana related context, but the design document is really instructive.
thelastbender12··on Cue, an open-source data validation language
Yep, this was the one! It looks great though I hadn't got around to trying it. Do you think something like Cue makes for a better representation for lowdefy apps than YAML, since it seems to offer better abstraction ability and hence easier to compose?
thelastbender12··on Cue, an open-source data validation language
This seems really exciting. I haven't had the chance to use Grafana yet; from the linked issue, am I understanding correctly that you'll be able to serialize dashboards to Cue schema, and hence get all the niceties of a structured representation - versioning, non-visual editing, and reproducibility?

I recall seeing another project HN which created dashboards out of a yaml description. This seems like a fantastic idea, given that a lot of business panels and dashboard apps can be implemented with a limited set of UI interactions.

thelastbender12··on I want to learn D3. I don’t want to learn Observable. Is that ok?
This remark is really unkind. D3 precedes Observable, and the development path is exactly what someone would take if they wanted to make data visualization accessible - create a base library, and later opinionated tools to work with it.

The harshest way to interpret unavailability of regular JS tutorials should be that the primary authors don't have enough bandwidth or the inclination to work on it, and the community hasn't picked up the slack to make it more accessible to beginners. The authors deserve nothing other than gratitude.

thelastbender12··on Why isn't differential dataflow more popular?
A possible reason not mentioned in the post is that writing efficient incremental algorithms is just fundamentally hard, despite the primitives and tooling afforded by the differential dataflow library. For example, even with a lot of machine learning libraries targeting python, there are only a couple that really implement online algorithms.
thelastbender12··on Cosmopolitan Libc: build-once run-anywhere C library
I thought this implementation was meant for compile-once-run-everywhere usage, so I can't see how a compiler would do away with a this if-statement. Could you please say more?
thelastbender12··on Cosmopolitan Libc: build-once run-anywhere C library
Would this not make the implementation inefficient?
thelastbender12··on Ask HN: What are you surprised isn’t being worked on more?
The webview project fills some of this need, correct? I didn't start using one yet but there were multiple GUI projects leveraging it to create cross-platform application binaries.

Link - https://github.com/webview/webview

← PreviousPage 2 of 4Next →