316 karma · joined Oct 7, 2014 (12y ago) · 177 submissions
<https://hydejack.com>
<https://sqliteviewer.app>
<https://workers.tools>
<https://news.workers.tools>
comment 2y ago · link · parent
Since it's OPFS-based instead of in-memory, it can open much larger sqlite files, up to the browser-determined size limit.
comment 3y ago · link · parent
The fact these state machines aren't the mathematical constructs from CS, but "extended" versions with "context" (this is where all the actual app state goes), should be the giveaway that they aren't a sufficiently capable model for the demands of UI programming. After you add extensions for every possible need, what do you end up with?
I understand the appeal though. UI development is a complicated mess, and people want a formula to make sense of it all. I've went through several iterations of these cookie cutter patterns form MVC to MVVMC++ to flux to redux to redux-saga to immutable.js to Recoil and so on. At best these marginally improve the situation, at worst they end up adding complexity on top of the inherent mess.
At the risk of missing out on the One True Way of doing UI development, I'll pass on this latest installment. I keep open the possibility that state machines "marginally improve the situation" though.
comment 3y ago · link · parent
comment 3y ago · link · parent
It offers nothing in way of ensuring that custom elements behave like builtin HTML elements. Half the elements I've come across will break or perform no-ops when you update an attribute or set a propety after it was attached to the DOM. Nevermind detaching and reattaching to the DOM, which will break virtually all of them (including my own sad contributions to this space).
The exception to this are those built using a 3rd party library like lit-element or stenciljs, which fill in the obvious omissions of these specs. Perhaps in another 10 years, a mangled version of half of one of them can be standardized? In the meantime, each component shipping its own frontend library or inlining the same core functions over and over again does nothing in the way of interoperability. You can bundle every popular JS framework and mix their components today. The reason you don't do it then or now is bloat, not the lack of a minimally viable shared component interface.
Besides, if you're going to use a 3rd party library and associated bundler/compiler, you might as well pick a good one such as React, Vue, Svelete, Solid or even jQuery UI. Using any of these, you can design and build an entire app faster than the bikeshedding commissars from goog and aapl can agree on whether "open" or "closed" should be the default for attaching a shadow DOM (at the risk of ruining the joke: there was no agreement; the developer has to provide a value in each instance...)
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
It would be even better if it allowed partial reads/writes with offsets, but alas, security concerns seem to block that.
I'm looking at the File Handling API[1] next to let the (installed) web app open .sqlite lite files from the OS file explorer.
comment 5y ago · link · parent
My CS knowledge got really rusty, but I think it should be possible to put tight bounds on the computational cost of these, as well as statically guarantee that certain states cannot be reached, both of which would be very valuable in this case.
comment 5y ago · link · parent
comment 5y ago · link · parent
It's no wonder that Facebook gobbled it up years ago. Any Quest competitor that comes without Beat Saber is going to be though sell, and I assume that it would be strategically missing from any future Apple VR Store...
comment 5y ago · link · parent
--disable-web-security --user-data-dir=tmp
This disables almost everything that's annoying during development.Of course you have to remember not to use this browser for browsing during and after development, which is easier said than done.
21.
Ask HN: Why aren't more people using S/MIME email encryption?
2 points · by qwtel · 5y ago · 3 comments
comment 6y ago · link · parent
comment 6y ago · link · parent
Singling out Facebook as the privacy nemesis while giving a free pass to "cute" conglomerates like Google reeks of class hatred and flavor-of-the-month-style pseudo journalism.
Opening vice.com link will send data to Google.
comment 6y ago · link · parent
* Fixation with tesla bankruptcy morphs into fixation with tesla breakup as it becomes the most valuable company in the world.
* SpaceX is a telecommunications giant, making Elon the richest man alive by a factor of 2.
* More than his wealth, Elon's cult of personality starts to raise eyebrows in washington and beyond.
* Elon is forced to move into politics, as a) he can't defend his businesses otherwise, b) it becomes evident that he can't realise his visions without state power.
* Elon continues the trend of his predecessors (trump and some unknown populist in 2024) to wreck havoc on the American system.
* However, he does succeed in reuniting the US, as his brand of green techno evangelism and cosmic evolution speaks to both rust belt and hyperliberal cities.
* His primary focus then becomes destroying American elites as he rationally and correctly identifies that they are the main obstacles to his vision (the joke goes around that Elon is the AI he warned us about)
* Elon remains the de-facto leader after his 2 terms in office and Shotwell becomes the first female president.
Other notes:
* Elon indirectly commands a private militia of mostly 20 year olds, who found each other and organize via the internet. By 2026, this is not unheard of. They frequently clash with other militias.
* NY and SF have a social credit system (implemented by the same companies that built it in China). Spying on neighbours is commonplace, as is being sent to reeducation at a former collage campus. Anyone who wants a career accepts this as cost of doing business. Many careers are ended by false allegations.
* Events in China will change everything above.
Comic relief:
* Joe Rogan serves in a communication role in the Musk government.
* Alex Jones is the only one who warns early about a Musk dictatorship. He is ridiculed by everyone. It doesn't help that he thinks Musk is a literal alien.