Hacker News new | past | comments | ask | show | jobs | submit | GutenYe's comments login

For anyone who is looking for how to share. This feature is not General Available. https://help.openai.com/en/articles/7943611-how-do-i-create-...


It’s surprised nobody mentioned Beekeeper Studio. I love it. It does not have the visualize the data feature. But it’s open source and free


Phosphor Icons[1] is also a good one, with 1000+ icons

[1] https://phosphoricons.com


Can not open in Firefox :( but works fine with Chrome.

> ReferenceError: requireLazy is not defined


I guess, you might have enabled "Facebook Container" add-on while browsing this site. It is very restrictive in terms of blocking content that comes from Facebook Inc. addresses.

[0]: https://addons.mozilla.org/en-US/firefox/addon/facebook-cont...


Are you blocking some Facebook CDN domains perhaps?


Found the problem, Facebook Container extension blocked the js file.


Works for me using Firefox for Android, version 67.0.2


But both Flow and Jest are both developed by the Facebook team. First of all, like the author, I didn't say Flow is bad than TypeScript. Secondly, I moved from Flow to TypeScript last year. Anyway, this going to have a huge impact on Flow ecosystem.


FB devs show that there are no dogmas, only different solutions to different problems. Flow has its merits and was a good start as an experiment back then.


From last few months react community is embracing Typescript. create-react-app added support for typescript.


Looks like uses some same techs as Monero. (Confidential Transactions, no amount, no address)


It's mathematically different from Monero, and is thought to be significantly more secure. It also has some very interesting properties like allowing the blockchain to be represented in a totally different way, using only a tiny amount of data.


It is not thought to be significantly more secure. It runs on the same cryptographic assumptions as monero, but with a de novo implementation that hasn’t received very much review.


It's thought to be less susceptible to tracability analysis than Monero.

[1] https://arxiv.org/pdf/1704.04299/

[2] https://eprint.iacr.org/2017/338.pdf


I am a bit lost here. Is the UEFI boot same concept as Linux UEFI boot? How will it elvove and help Linux in the future?


Is `no JavaScript` a thing now?


It draws a comparison between electron, probably the leading contemporary approach for cross platform (albeit not for mobile)


And ReactNative and Cordova which are probably the leading contemporary approaches for cross platform mobile.


I think it's written for ReactNative as no javascript is a strange wording. I don't care as much for javascript as that for much less responsive webview.


This would be an unpopular opinion but no-javascript should be a thing everywhere excluding browsers. And hopefully with webasm, it can be a thing on web too


Looks like it's just an ORM for SQLite. Isn't SQLite too large to be included in the web?


In WatermelonDB's case, I bet most people will run it using React Native (ie mobile apps for iOS and Android), so that wouldn't really be an issue.

On the other hand, sql.js (https://github.com/kripken/sql.js/) packs to about 2,6MB (see http://kripken.github.io/sql.js/js/worker.sql.js). I don't know about performance under heavy use of that. I don't know what SQLite backend WatermelonDB uses from ReactJS either.


Yeah :/ There used to be this thing called Web SQL (which really… was SQLite)… but… people didn't like it and it didn't catch on. So on the web, Watermelon uses LokiJS, which isn't perfect, but still works well.


WebSQL was killed by Mozilla and Microsoft. A huge idiotic mistake, probably related to the anti RDBMS NOSQL sentiment and fashion at that time. Browsers should ignore this crazy decision and keep (or add) SQLite in the browser - is still in Chrome but deprecated. SQLite is faster and way more capable than Indexdb and free and open source and runs on all platforms and devices - at least keep it as an option.


Mozilla and Microsoft both agreed that the web needs standards that are easy to implement multiple times, otherwise you wind up with another IE6 compatibility nightmare situation. Even though SQLite is open source, there's still only one SQLite. If browsers had to embed SQLite, then the web would have to deal with compatibility issues from SQLite bugs for decades.

It doesn't matter that IndexedDB is less capable than SQLite, it matters that IndexedDB is a well defined standard that can be easily implemented and optimized independently by each browser. It was polyfillable on day one on Chrome's SQLite install, and the other browsers were free to choose where and how to implement IndexedDB.

Also, IndexedDB has gotten quite fast in recent browser versions and is only getting faster, thanks to the browsers being able to compete on how they optimize it (versus all of them trying to pass competing PRs to SQLite, or working on increasingly divergent forks of it).

A goal for IndexedDB was that it might be low level enough that you could build RDBMS database APIs on top of it (whereas you're hard pressed to build certain types of key/value stores or document stores more directly on top of SQLite). The Browsers weren't anti-RDBMS, they were anti-lock-in to a single vendor's bugs. Microsoft learned from their IE mistakes, and don't want Chrome to repeat them (as hard as Google sometimes seems to be trying to make the same mistakes).


Yes standards are great and SQL is a fine example of this, but the standards don’t make anything - developers make stuff from tools and the software they write or build upon. It is stupid to handicap a browser, to throw away an incredibly useful, already made, battle tested piece of software (SQLite) just for the sake if the almighty standard! And to replace it with a feeble slow key value db. So we now have the ridiculous situation of umpteen man hours being wasted reinventing the wheel, trying to build relational databases on top of IDB, it’s crazy.


SQL is a terrible example of a standard. Half the major databases that support the "standard" can't even agree with each other on what the syntax is to window the number of returned results.

SQLite is partly so battle tested simply because once you start down the path of relying on it, it becomes tough to shift to another SQL "standard" database, because of tiny differences in dialect, and sometimes huge differences in performance characteristics.

MySQL/MariaDB and PostgreSQL are also, open source, battle tested pieces of software. Why would a browser stop at SQLite and not allow developers the power of an equally tuned, "full" SQL database, with additional power/capabilities/storage management capabilities? Would a browser have to reimplement SQLite's dialect on top of it to support that as an option? Would a browser need to implement SQLite bugs on top of PostgreSQL? Would you want to write a website that does feature checking to see if WebSQL is backed by SQLite or MariaDB on the user's machine and adjust its SQL queries for the different query engines?

Meanwhile, you can look at Redis, Cassandra, Riak, BigTable, etc: we have the technology to build really scalable key/value stores that can scale and perform incredibly well. We also have the knowledge of building higher level APIs on top of that and getting those to scale and perform well. IndexedDB's slow period was a brief adjustment period, and benchmarks indicate that calling it "slow" or "feeble" today isn't accurate. We're certainly on the path where IndexedDB's performance is only steadily improving, and again, we have the technology to insure that it can scale and perform extremely well given the investment.

IndexedDB is a more than adequate compromise to the tar pit that is decades of weirdly incompatible SQL dialects and database engines, and to the security nightmare implications that if there was a 0-day bug found in SQLite code you could take down every browser on the web with it had SQLite been blessed to be such a "standard" that every browser just integrated it directly.


On the security question of using only a single dependency for all browsers, an infinite loop exploit in SQLite appears: https://news.ycombinator.com/item?id=17964243


There's a very promising attempt to get WebSQL-like features to browsers: Relational Database Proposal. Proposal tries to solve limitations Lovefield library authors had to deal with. (Lovefield powers GMail Inbox if I'm not mistaken.)

https://github.com/arthurhsu/rdb

https://github.com/google/lovefield


> but… people didn't like it and it didn't catch on.

Mozilla didn't like, developers liked it. Mozilla's excuse was "which SQL spec?" which could have been solved with a bit of work. Same as the File System API proposals by google. I'm sorry but indexed-db is not a replacement for these 2. indexed-db is slow and inefficient when it comes to data storage and is horrible to query.


IndexedDB used to be slow, but is it still yet? Not so sure, performance does not seem that bad (see http://reyesr.github.io/html5-storage-benchmark/ ) Do you have some benchmark that shows it is indeed slow as of today?


Agreed! IDB is simpler in some ways, but having a real relational database is a lot better for many advanced applications — and also can be more easily used for porting to different platforms, since you can run SQLite on any native platform


Wanting a specified query language for a database API isn't really an excuse IMHO. (and if it really were just "a bit of work", one has to ask why the proposers then didn't bother to just do that. As cool as sqlite is, tying browsers to a specific version of it seems questionable)


I worked on an application which was essentially a multi master, offline capable, synchronizing app that utilized websql heavily. Websql wasn't perfect (it was essentially an old version of sqlite, I think), but as a whole it worked pretty well. Was sad to see it die.


Switched to GNOME means GNOME will have more developers working on it, and developer matters. Compare to tons of full-paid developers in MacOS, Android and Windows.

At the moment, linux still needs more and more High-Quality Desktop Applications.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: