daliwali

Joined 14 years ago

Karma
653
Submissions
249
Member since
Jun 6
sperging out online

https://daliwali.neocities.org

View on Hacker News

Recent submissions

Comment · 3 years ago
At my work, I have a somewhat clever (or idiotic) technical solution to the problems of feature flags: they are actually implemented as feature modules that monkey-patch the base application in runtime.

There are a few benefits: removing features is dead simple, just delete the whole feature module, and there's no conditional branching in the base application.

There are some drawbacks too: the base application must have entry points for the feature modules to overwrite. Usually the default values are no-op or some default behavior. Features also must implement setup and teardown, which can take longer to write than a conditional.

Comment · 3 years ago
Comment · 4 years ago
If I had to guess, it's because the WebAssembly Text Format is S-Expressions, similar to the target language, Scheme. Also, less tooling involved to build the binary, since the text format is pretty close to the binary format.

In practice though, it looks closer to C/ASM. The author even wrote comments in C. This is the first time I've looked at an actual program written in the wasm text format and it's pretty interesting to see how one would actually use it. Very neat.

Comment · 5 years ago
Comment · 5 years ago
Open source is not a business model, and I think the expectation to get paid for open source is a bit disingenuous. There is also the ideological aspect of free as in freedom licensing, while it doesn't exclude monetization, often detracts from the incentive to pay for software.

To play the devil's advocate, I would suggest that there is price discovery at play here and people + corporations are willing to pay for what they get value out of. Which is suggesting that many companies don't get much value out of Babel or it is one of many tools utilized in a toolchain. The value proposition is to be able to run new JS in old JS runtime, which may be less valuable now than it was 5 years ago, since evergreen browsers exist and outside of stale corporate environments, most browsers are auto-updating now.

Comment · 5 years ago
the root template references the other one with data-template=“#countbox”. this allows for composition and re-use of templates.
Comment · 5 years ago
It is pretty much feature complete already, there are only so many fundamental operations and DOM attributes. besides, I would like to keep it around 2kb ;)
Comment · 6 years ago
Hahaha this will never work for an obvious reason that isn't socially acceptable to state. As soon as looks get involved, it's over.
Comment · 7 years ago
I think concurrent mode and fibers are kludgy hacks that arise from the problem that only the main thread has access to the DOM. As far as I know and I may be ignorant but few, if any, other frameworks are scheduling DOM updates as aggressively as React is, and are simpler to understand as a result.

Hopefully the standards folks can come up with a decent DOM API for WebAssembly.

Comment · 8 years ago
I made something almost exactly like this: https://simulacra.js.org/

This actually uses object getters/setters, has full support for arrays, and nested arrays of objects. There is no API beyond the initial binding, everything beyond that is just mutations on an object.

Comment · 8 years ago
This is my first time reading about Edsu, it seems very similar to the Solid Platform in one important aspect: it keeps data in the control of the user, separate from applications.

I like how low-level and simplified the protocol is, being limited to only 9 types of messages. Compared to Solid which carries baggage from RDF, this seems far easier for third parties to implement.

The note-taking app is really under-selling the protocol beneath it. What could help sell it better is by doing something better than a centralized platform can.

Comment · 8 years ago
There is no way this isn’t well done satire. Facebook might as well hire people to work on their open source just to keep them away from being productive at other companies, and that has more value to them than whatever bullshit monetary value their open source may have.
Comment · 8 years ago
From what I understand, it installs a bunch of opinionated packages and then you're on your own. This isn't the same as "create a useful app in 30 seconds".

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton