971 karma · joined Jun 30, 2023 (3y ago) · 477 submissions
comment 2y ago · link · parent
I found the take on attributes for default configuration to be an odd take. Think about "class" attribute for example. If it only ever showed the default, toggling classes would look really odd in the dom inspector / stringified html, either not showing an active class or showing an inactive one.
comment 2y ago · link · parent
That being said they would still need a plugin system (probably using wasm as compile target for plugins) for this to be feasible.
comment 2y ago · link · parent
It makes those linters virtually impossible for many projects to adopt.
Seems like it's part of some larger anti composable tools trend that I really don't understand.
comment 2y ago · link · parent
This is a good thing to remember. I'd also add that at best the prototype ends up as the Ship of Theseus, it may gradually be replaced piece by piece. The idea that you'll have a chance to re-build the entire thing starting at 0 is a myth. True prototypes are possible within the product, but not the product itself.
Anyone considering joining or starting a start-up (business and technical side) should be aware of that and plan accordingly.
comment 2y ago · link · parent
comment 2y ago · link · parent
As for why some libraries choose the `[thing, setThing] = signal()` API (like solid.js) that's often referred to as read write segregation. Which essentially encourages the practice of passing read only values by default, and opting in to allowing consumer writes on a value by explicitly passing it's setter function. This is something that was popularized by React hooks.
Either way this proposal isn't limiting the API choice of libraries since you can create whatever kind of wrappers around the primitive that you want.
comment 2y ago · link · parent
Node compatibility is not something that will get me to switch to Deno. I will switch once I'm not restricted to the bundled TSC version, and there is a well supported bundler for client code.
comment 2y ago · link · parent
For clarity is not really acknowledging it made a mistake. "Calling out" an LLM's mistake just leads to the next most likely text to be something that sounds like an acknowledgement of a mistake, but the same is likely to happen if the LLM generated a correct response and you respond claiming that it's incorrect.
comment 2y ago · link · parent
In my experience if you want to be cost effective you need both. A decent amount of vertical scaling to have headroom for baseline and some amount of unpredictable spikes, horizontal scaling for the valleys of traffic that match your primary markets day/night cycle.
comment 2y ago · link · parent
Push often leads to wasted computations via updated values that don't end up getting used downstream either due to later updates affecting the same downstream nodes or simply because a value isn't being actively observed. Batching changes to signals can avoid the first cause (and it seems their execution model is implicitly batched by default?), but it doesn't solve the second.
Push-Pull systems (which don't seem to be mentioned) solve this by pushing invalidation of signals down the graph, then on pull any signal that is invalid gets recomputed. Handling cycles in the reactive graph is also easier with this approach, rather than getting stuck in an infinite update loop, if something is invalidated it's consumers do not need to be invalidated again.
I think the effort of creating RP languages is definitely a worth-while endeavor, but I'm not sure that they should have no imperative code, as seen with the recursive example taking things to the imperative or functional code level can have benefits. It would be interesting to see a language that is by default reactive, but has an escape hatch for imperative/functional logic.
comment 2y ago · link · parent
That is basically what it is though. Google is not the 40%, it's Google, Samsung, LG, Motorola, etc. Yes Google Play Store is on 40% of those devices, but they can ship with other stores and some do.
comment 2y ago · link · parent
Apple App Store is $99 annually + cost of owning a Mac, compared to a one time $25 Google Play Store (develop on PC or Mac, with the possibility to avoid the Play Store). More people own PCs (even within the developer community) so this leads to more apps in the PC and Android ecosystem. More competition, means lower prices.
I've also heard Apple is much more strict about what they allow on their App store, which further restricts supply and keeps prices high. I don't think this is an accident, Apple intentionally wants high prices on their platform, because it keeps the illusion alive that Apple devices are luxury devices and a status symbol.
comment 2y ago · link · parent
Very confused by this statement. There's lots of options that affect emit. And what do you mean a subset has been settled on? Take any 2 TypeScript projects and I'd wager there's a high chance they have options that emit code differently.
Config aside TS emits .d.ts that is not always backwards compatible with older TS versions. Does jsr support typeVersions for such situations?
comment 2y ago · link · parent
Having less data embedded also means that the model is more generally usable outside the realm of chat assistants, where you only want the model to be aware about data you provide it. One example could be in games where you might have a medieval fantasy setting, it would be really weird if you could get a character to start talking to you about US politics. That probably still wouldn't work with Phi-2 without fine-tuning (as I imagine it does have some data of US politics embedded), but I hope it illustrates the point.
comment 2y ago · link · parent
You can report them: https://ised-isde.canada.ca/site/canada-anti-spam-legislatio...
comment 2y ago · link · parent
Have you ever watched the iPhone keynote? Either way I suggest you watch or rewatch, because it was marketed as a computer.
The reason people didn't care about the restrictions (compared to a general purpose computer) at the time was because it was such a leap forward in mobile devices.
comment 2y ago · link · parent
comment 2y ago · link · parent
ActivityPub has some big flaws. We need something better, but I don't think I trust the Bluesky team to deliver that anymore.
comment 2y ago · link · parent
Without federation it's basically Twitter with less users. And even after federation it might be Mastodon/ActivityPub with less users.
Very disappointed in the direction they took to launch. Exclusive beta, no focus on decentralization despite that being the major selling point.
comment 2y ago · link · parent
"runArgs": [
"--userns=keep-id",
"--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z"
],
I'm not sure if this is still necessary, or if it's necessary on all platforms.comment 2y ago · link · parent
If anything I think reduction in distributed intelligence would and has made the situation far worse.
comment 2y ago · link · parent
The answer is undoubtedly yes IF that intelligence is distributed rather than concentrated. Further concentration of intelligence (power) would be detrimental.
Edit to clarify: I mean distributed in the individual sense, not regional or governmental which fall into the detrimental outcome.
comment 2y ago · link · parent
Ads are Google's main businesses, they should be responsible for vetting. Saying it's a scaling issue is a poor excuse, and if that is their legitimate stance then it should be used as evidence that the government needs to step in.