Better HN
topnewbestaskshowjobs
Log inSign up

dsun180

376 karma · joined Dec 22, 2016 (9y ago) · 46 submissions

Submissions

comment 5y ago · link · parent

What a garbage website with garbage information without sources.

comment 5y ago · link · parent

You should add "user-select: none;" so it looks better on touch devices without the blue selection box.

comment 5y ago · link · parent

And then somewhere in 2019 it suddenly became a racist word against people of color in northern amerika.

comment 5y ago · link · parent

Same here in germany. When we hear the word master, most people think of the master in karate kid or the master degree of a university. I think only in the usa people are so full of hate that they directly think of bad stuff.

comment 5y ago · link · parent

The value of everything is negative when you measure by these standards. We should stop laughing to emit less CO2.

comment 6y ago · link · parent

Its mostly about having secure transactions between state transitions. If you do not need them, you have often better performance when you run multiple instances with a load balancer.

comment 6y ago · link · parent

From the docs it does not look like that every http tx is stored onchain. It is more like an ssl-alternative where you sign stuff with bitcoin crypto and therefore not need to trust the sender.

comment 6y ago · link · parent

If you do not need a database at all, of course you can just use the plain programming language.

comment 6y ago · link · parent

I would be able to document websockets side by side with "normal" requests and then use the same tooling for code generation or validation.

comment 6y ago · link · parent

I would love if the definition of websockets would be added to OpenAPI https://github.com/OAI/OpenAPI-Specification/issues/523

comment 6y ago · link · parent

Please add a screenshot of code to the readme and also fill your online editor with a block of example code.

comment 6y ago · link · parent

Also we have some disadvantages we didn't had 1918. Like most people living in dense cities. Or it is harder to force people into quarantine.

comment 6y ago · link · parent

Yes. GPUs also do not have tires. Who cares?

comment 6y ago · link · parent

You should learn to code because it is fun. If you do not like coding for the sake of coding, choose another profession.

comment 6y ago · link · parent

This is BS-statistics. Everyone I know who drinks low-fat-milk is also the one watching his diet and making sports daily.

The "study" didn't even connect the fat-milk to some biological behavior of our DNA. They just counted humans and the milk they drink.

comment 6y ago · link · parent

If you want to have PouchDB without being tied to the CouchDB-backend, check out RxDB. It supports replication via GraphQL.

https://github.com/pubkey/rxdb

comment 6y ago · link · parent

This is not even true. Firebase Realtime Database supports offline-first while SapphireDB is just streaming results to the client, like RethinkDB or Meteor.

comment 7y ago · link · parent

So someone upload many videos generated with this tool to youtube. I was really impressed when I stumpled upon it.

https://www.youtube.com/watch?v=s_mSedHiTk0

comment 7y ago · link · parent

I also miss that in GraphQL. With swagger I can exactly define how an object looks like. Not only if something is null or string, but also what the minLength the string is or what enum-values it can have.

comment 7y ago · link · parent

RxDB is offline first. You can still query your data even when the user has no internet. Hasura will not make your app workable without a stable connection to the server.

comment 7y ago · link · parent

I do not think that meteor will scale better then your GraphQL server with whatever database you want to have. With meteor you are bound to a specific ecosystem which is often a pain. RxDB does only one thing, it is a client side database. Everything else in your stack is free to choose.

comment 7y ago · link · parent

No you normally do not send the password to the server. You can ask the user to enter the password when the application is openend.

Authentication is much easier when you use the GraphQL replication. There you are much more flexible on which data you return depending on which user is asking for it.

comment 7y ago · link · parent

I think you have not understood what RxDB is. It is a client side database. It works also when the client is offline. It does not need a stable internet connection over a websocket.

Your example is similar to RethinkDB and others. A websocket streaming json.

comment 7y ago · link · parent

The definition of realtime is vague so saying that something is "not really realtime" just because it is not "realtime computing" is wrong.

comment 7y ago · link · parent

I tried several times to understand what GUNdb does and how its different or which features it has. I have given up. As far as I can tell it is something between Blockchain, graph-database and sync.

I also tried to understand the codebase which is impossible with obfuscated code like this one: https://github.com/amark/gun/blob/master/lib/store.js#L16

comment 7y ago · link · parent

There is a big difference between the changestream of many SQL and noSQL databases, and what RxDB does. Having a stream of changes is useful but not the whole solution. RxDB is capable of using single document changes of a stream and recalculate the new results of an existing query. This saves you not only much IO performance but makes developing much easier. See https://rxdb.info/query-change-detection.html

comment 7y ago · link · parent

Depends on your definition of realtime. Realtime with RxDB is not like "Real-time Computing" but like realtime synchronisation how it is described by firebase https://firebase.google.com/docs/database

comment 7y ago · link · parent

There is a big difference between the changestream of many SQL and noSQL databases, and what RxDB does. See https://news.ycombinator.com/item?id=21353971
12