Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
AgentME
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
721.
▲
by
AgentME
7y ago
This completely matches my experience. I've worked on a 200k+ line javascript codebase that originally used just vanilla HTML DOM management and jQuery for everything, and I've helped introduce React into it over the years. Every
722.
▲
by
AgentME
7y ago
Looking at the example code in the readme, it looks like it doesn't even bother freeing memory. This project looks like it's just "write (a memory-leaking subset of) C++ in Typescript syntax". Maybe neat for educational
723.
▲
by
AgentME
7y ago
Yes, they don't have IPNS's slowness problems. (Well, I can speak about ENS. I don't know anything specifically about ZNS, but I'm going to assume it works similarly.) The problem with IPNS is that the holder of the priv
724.
▲
by
AgentME
7y ago
Plain IPFS (without the IPNS part) lets you create links to files (or directories) where the link is based on the hash of the files, and when someone visits the link, their IPFS node will automatically look through the peer-to-peer IPFS swa
725.
▲
by
AgentME
7y ago
My new meditation strategy is to visualize myself as a process with no memory waiting in uninterruptible sleep.
726.
▲
by
AgentME
7y ago
Chrome is open-source, cross-platform, built on open standards, securely sandboxes code run inside it, and it's interoperable with other web browsers. Considering operating systems and web browsers as app platforms, I think it's b
727.
▲
by
AgentME
7y ago
I'm confused why the author keeps associating containers with total insecurity. Docker's approach to whitelisting access to the filesystem has been great in my experience. I've managed classic multi-tenant Linux servers befor
728.
▲
by
AgentME
7y ago
It counts whether the platform makes it easy to use and promotes it in a way so that average users actually use it. If I create a native Windows app and link people the .exe to try it out, approximately 0% of people who run it are going to
729.
▲
by
AgentME
7y ago
I think it's great that they don't do a good job there, because it gives a big advantage to a cross-platform open-source open-standards alternative. Though Android does try to address this with Google Play Instant ( https:/&#
730.
▲
by
AgentME
7y ago
My point is that if the web didn't evolve, then Windows would have further cemented its position. If people made Windows apps instead of websites, then other operating systems and mobile wouldn't have taken off as much because few
731.
▲
by
AgentME
7y ago
I agree, though I think containers are a very useful incremental approach towards solving the problem. Declare bankruptcy on fixing the current OS, stick it in a tar, and surround it in a new encapsulating system (Docker/k8s) that has
732.
▲
by
AgentME
7y ago
I have to admit I was being facetious; my point was that anything solving this problem is going to have the same scope of web browsers and is more directly solved by them. If you imagine your setup was in-place, and pretty much everyone def
733.
▲
by
AgentME
7y ago
Would it really be better if we didn't evolve the web, and we had more OS-specific unsandboxed applications and greater fragmentation between OSes (and a stronger incentive for everyone to stick to one OS, like Windows) instead?
734.
▲
by
AgentME
7y ago
What specific standards would a user-respecting browser not implement? I can't really think of anything besides maybe EME and third-party cookies, though it's not like those are really core features.
735.
▲
by
AgentME
7y ago
We already trust our auth cookies and the actual content of the connections to our browsers. Having them be more in charge of the auth process makes a lot of sense. Especially given that modern browsers have a lot more security hardening (s
736.
▲
by
AgentME
7y ago
What platform would the protocol handlers be built for? Would they have full access to the system like most native programs, or run through a sandbox? I think it would be ideal if the handlers were able to run on a platform that was defined
737.
▲
by
AgentME
7y ago
I would think it would be better to have a bunch of servers in a single datacenter if low-latency between them is important. Fly.io sounds great for the case where you're willing to sacrifice low-latency between your own servers to get
738.
▲
by
AgentME
7y ago
What operating systems are you talking about? I'm considering popular operating systems as they're used by end users that are downloading and running applications on their own machines, and I was mostly considering ones that exist
739.
▲
by
AgentME
7y ago
Are you going to press the rerun tests button on every project every day in perpetuity? No one does that. If you're going to automate something to deal with this (that either reruns on dependency updates or just every day), then you ca
740.
▲
by
AgentME
7y ago
"Closed" as in ignored, or solved with actions taken? Asking legitimately, because the stuff I'd read previously didn't fill me with confidence.
741.
▲
by
AgentME
7y ago
Macros let you do work at compile-time like inspect the types of their parameters. A macro can do things like automatically generating code that converts function's return type into a JSON string. If you need that, use a macro, but oth
742.
▲
by
AgentME
7y ago
But with great security sandboxing by default, with multiple interoperable open-source implementations, built on open standards, and cross-platform and not bound to any specific machine architecture. Imagine downloading dozens of different
743.
▲
by
AgentME
7y ago
I think they meant that no one will ever build a site using WebComponents and NPAPI together, since NPAPI has already been discontinued before WebComponents has taken off.
744.
▲
by
AgentME
7y ago
I agree. I have a bunch of little modules published on npm, and for all of them, I have a yarn.lock (or package-lock.json) lockfile committed in the git repo, but also listed in .npmignore so it's not part of the package published on n
745.
▲
by
AgentME
7y ago
The new `getServerSideProps` function addresses my biggest pain point with Next.js. I found it super awkward that if you wanted to make a website with data from a database, you basically needed two webservers: one to access the database and
746.
▲
by
AgentME
7y ago
No one would self-impose the limit on themselves, because you could profit if you trade while everyone else isn't trading.
747.
▲
by
AgentME
7y ago
Without this scheme, the government or the host alone could inspect my VPS. With this scheme, the host acting alone is no longer able to inspect my VPS. That seems like a solid win.
748.
▲
by
AgentME
7y ago
There's benefits to a system where you have full control and visibility into everything that executes, and there's benefits to systems where that isn't true. I hope 100% open CPUs exist and that there continues to be a strong
749.
▲
by
AgentME
7y ago
Yeah, that generally applies to content-addressable systems like it (and torrents). An updated version of the page would have a new hash and a separate IPFS link. To make a URL for content that can change, you would need to use a system tha
750.
▲
by
AgentME
7y ago
If a page is available on IPFS, then the page would be accessible under a URL based on the page's hash, and anyone with a cached/saved copy of the page would be able to help host it at that URL. (IPFS works very similar to torrent
More ›