HN user

postdb

32 karma
Posts0
Comments35
View on HN
No posts found.

The figure is clear. There is NOTHING even comes close to replace $ in terms of volume. Remeber, also took US Dollar a long time to replace the Pound as the reserve currency.

Whenever country like Japan stops using dollar to settle oil purchase, it is another step. With currently development around the multi-polar world, it is likely not one single currency, rather several regional block reserve currencies will arise to replace the Dollar.

I used to rant against using socket.io at every possible opportunity. The library has (had) crazy bugs in its reconnection code. In the right circumstances the library would violate ordering and delivery guarantees, or it would lie about messages being received when they hadn't been. But no matter how much I ranted about it, and no matter how many hundreds of issues there were on github, far more people used socket.io than the (much more reliable) alternatives because socket.io had a pretty website, good documentation and it was taught at coding bootcamps. I think the only reason its not as popular now is that you don't need it now that websockets are available everywhere.

That is true. So with the modern browsers now days latest Chrome/Firefox (both desktop and mobile) can support websocket seamlessly? I guess socket.io is kinda like the jquery of ws then? It will take some time to phase out.

Crimes are committed all the time using phones and yet, we do not allow phone companies to monitor, record and report the content of pur phone conversations. And they can't just add a line in a terms of service, they have no legal right to do it. (Ignore the issue of Metadata, I mean the audio portions of our calls)

Are you sure about that? It is my understanding all telco traffic are monitored. Some countries may have laws that prevent real time conversation/sms to be look at for a few months.

The Old (2018) 3 years ago

we don't really have a over population issue, unless some how we figured prolong the life span of all people in the next few decade. Countries like China will have population deflation problem in the coming decades.

For sure, it doesn't matter where you put it if it is in one place. If one look at company like superbase, and their product like PostgresREST. It is just way faster way to develop API, and it will scale too. Often it is about how one 'horizontally' scale.

This comes a lot from people who want to "horizontal" scaling. The camp that thinks everything should be in the middle tier (Java/C#/). Also cost on AWS is cheap for those, and expensive for RDS. In the end db will be bottle neck. Of course DevOp ppl will can also create cache layer etc to lessen the stress to the db.

Glad someone mentioned this!!! It is one of good reason to self-host! And only send sneak peek to social media sites. Stallman has a recommendation similar to that on what to post to FB.

Only use social media as a notification/publishing/advertising system, post important stuff on your own site.

I started with mysql in late 90's, switched to postgre and would prefer that instead of MySQL if it is my decision. MySQL is faster than postgres is a myth. Please see this https://arctype.com/blog/performance-difference-between-post...

One thing mysql is better than postgres is that mysql can fast replicate across different data centers. See this blog: https://www.uber.com/en-DK/blog/postgres-to-mysql-migration/

However what Uber is doing may not be what you doing. So do some research and hire qualified db admin or devop people to make the informed choice.

If it's all through a relay it probably isn't very censorship resistant at all. My messages may be signed locally but if the network trends towards mob-based bans and censorship like Mastodon as soon as I get on the wrong side of the network I'll be the only one seeing my signed posts

Well on their page they said" To publish something, you write a post, sign it with your key and send it to multiple relays (servers hosted by someone else, or yourself)."

If you really want to prevent that then it is to also selfhost.

Good question. Not sure about Nostra, but that is how WebRTC is doing it. If there is only 2 people then it is peer to peer, more parties require some sort 'relay' to facilitate the chats.

However the main issue with peer to peer is not everyone is going to be online all the time, relay serves as a temporary storage place until one of the user/client goes online and get the message.

Just wait for the day when airlines buy hotel booking data and increase your price because you already booked a non-refundable room. Or they look into your messaging service or social network for clues in how determined you are to go (e.g., to a funeral or job interview). Privacy is valuable, indeed. Even in hard cash.

Glad someone mentioned it, one of reasons to NOT use any social media. Pretty sure, this is already in the plans for all the big social media companies.

Most people use social media platform, or messenger owned by those companies to communicate between friends and family not realising the side effects. Please, use some kind of E2E app and make sure the people who are running the server doesn't have access to your data and meta data.

"the value of everything" This is kind of mentality that lead to currently securitising of the planet. Buying up land and evaluate whatever that can be evaluated. Much of these comes from the cheap free money comes from Feds. I mean if I can print free money and buy real asset, I'll do it too. In general it exposes the mentality that we humans like to predict the future to avoid risk. Reality is that we can't some times no matter how much risk management we do. . Instead of try to predict the future, just prepare ourselves for whatever will happens.

TypeScript 5.0 3 years ago

Not saying it's your case, but I noticed that a lot of people who hate TS like to use techniques and patterns that are usually considered bad practices, which often trigger errors in TS. Mutating an object to add a new property, mutating an array to add an element of a different type, processing apples and oranges in the same function without using generics or the correct union type, etc. Code works but TS doesn't like it and forces them to rewrite it properly and it feels like a hassle with no benefits.

Not sure, people who like TS are usually for large corporate projects with OOP background. Most functional lispish type developer would be fine just using ES6 and above.

TypeScript 5.0 3 years ago

Deno supports vastly superior threading model (such as green threads). Again depending on what you are coding, threading may not be the best model. Look at Ngnix vs Apache (event driven vs threading).

TypeScript 5.0 3 years ago

Also C# is really meant to run on MS servers (Azur). Yes you can compile C# asp core projects on Linux, but the hell of dll when the there are many projects in a solution is quit annoying. Development experience in C# without Visual Studio is quite cumbersome.