Hacker Timesnew | past | comments | ask | show | jobs | submit | munawwar's commentslogin

BTW preact + hooks + router (preact-iso) is 10 kb. It's a good starting point.

And SVG icons should use svg `<use>` tag and shouldn't be counted in code size.


Yes. In the case mentioned binaries written in Go (goaws). I can add all the goaws binaries into my git repo, and have a single cross platform entry point devs can call without figuring out which one is for their OS.


AWS lambda and fly.io uses firecracker VMs internally. So I think it can replace containers to some extent.


I took a shot at the math behind this at https://www.codepasta.com/databases/2020/09/10/shorter-uniqu...

Using the equation listed in the article I couldn't generate a collision so far. Yet, I still check (in code) for id collision, and pick new id, just to be 100% sure.


This article mostly just says: "If your data is small, then 56 bits is fine". Which is true. But if you are at 56 bits in your UUID, then just use an integer PK with 64 bits and you'll be fine a good deal longer. If your data might get large, an extra 64 bits to get a full 128bit UUID isn't expensive, and encoding in Base36 still yields 25 character UUIDs, which are pretty manageable: "abcdef-01234-56789-ghi-jklmno" (6-5-5-3-6, or max of a u16 for digits). I'm honestly shocked no UUID library makes it easy to export in Base36 with that grouping, it's very neat and tidy and easy to remember.


Why base36 in particular? That implies that you're worried you might lose case information but you're not worried about characters that look the same?


Its battery lasts for several weeks. So I never realize it's battery hitting close to zero. And unluckily its hit bottom several times at the beginning of a work day. It wouldn't have hurt if they made the thing useable while plugged in.


And the screen doesn't pop up a toast? It's an awkward fix but straightforward.


It does, but at the most inconvenient time always :D


planetscale (if I need rdbms) or firestore or dynamodb (if I need just document). I checked latency of planetscale and dynamodb from frankfurt,paris,singapore from DO/linode/scaleway to db in same region; these are low latency (mostly single digit).

For single server, I'd just use sqlite.


There is always places people can contribute. Look at some terrible softwares.. medical, insurance, 3pl logistics etc.. they don't need extraordinary brilliance to improve.. just UX, better systems, process and lots of area to cover.

If you can improve one industry a bit more than it is today, isn't that a sufficient place in the world?



No idea


Wonder what people here think of signal. I find it more user friendly than matrix. Any info about it's security vs matrix?


Signal is Moxie and I personally don't trust Moxie and have some issues with his attitude. Does this make signal unsafe, no of course not but I don't trust it even if the encryption is top notch.

Also remember you must have a phone number to use signal.


What specifically caused this distrust?


Signal hides metadata better however it's based in the US, you are required to use your phone number as an identifier and Moxie refuses to allow Signal to be decentralised. Security-wise they both use the double-ratchet algorithm to encrypt messages.


Matrix uses the same encryption as signal, one of their implementations can be found here: https://gitlab.matrix.org/matrix-org/olm


Signal as a network is controlled by a single individual, or small staff of individuals. There is a central server. Also there is no way to use signal anonymously.

It is useful for talking to people you know in real life, but that's it.

As to the user friendliness, I find more infuriating bugs (and "features") with signal these days, although that was not always the case. For example, if history is not restored on launch it is lost forever, this is a problem if you're e.g. going to a privacy hostile nation and need your history clean for the trio but want to restore it when you get back. Another particularly heinous violation is that the signal app has code in it that slows it's functionality if the version is out of date, pressuring you to update.


> Another particularly heinous violation is that the signal app has code in it that slows it's functionality if the version is out of date, pressuring you to update.

Can you show me more info or the offending code?


What about Briar? https://briarproject.org/

Seems like it's decentralized and uses Tor natively.


I agree Briar always has seemed even more decentralized and security conscious than Matrix. I tried to use Briar with my family for awhile and it worked well but its always on function was a bit difficult on mobile (it seems like something that would be worthwhile for some circumstances but maybe not worth the cost for just chatting about groceries).

However, in reading the article, they discussed group communication functions in Matrix, which were absent from Briar for awhile.

They also mention that Matrix is planing on introducing mesh networking, which is very similar to Briar. I found this extremely interesting. It seems like Briar and Matrix are sort of coming full circle to each other. I'd love to see either or both take off.


There's also another obscure and less well known messaging app called CWTCH https://cwtch.im/ It's still in development though...


My issue with Matrix is the philsophy attached to it. The founders and its most vitriolic supports are activists, through and through, and view Signal as a messaging app for activists.

When the Cellebrite malware was added to Signal by the developer(s) I mentioned that Cellebrite was used by legitimate phone carriers to transfer data between an old phone and a new phone.

I asked why my elderly mother, with whom I speak to over Signal, should be liable for a potentially broken Cellebrite machine (costing thousands) if the Signal malware were to break it. There's no precedent on whether or not she'd be liable, so there's a possibility she would be.

She never consented to her phone being used as a weapon. She doesn't understand the stuff going on. She uses Signal because it's simple, easy to understand, I'm just a few button presses away (we don't live near each other) and the call quality is unmatched.

I got a few very angry responses, telling me to uninstall Signal if I wasn't willing to be an activist for their agenda. They were perfectly okay with their philosophy being projected onto their users and didn't see any issue in the fact that users did not consent to it.

Which is strange, because they're annoyed with other Big Tech firms doing... well, the same exact thing.

I really hope Matrix improves its UX since I would immediately switch my family over to it if they could just understand how it worked.


> My issue with Matrix is the philsophy attached to it.

Did you mean to say Signal here instead of Matrix?


Indeed, went back to edit and noprocrast hit :| Matrix is fine.


The simplicity goes away when supporting SSR. You have to depend on multiple stores (one per request) being injected "from the top" (e.g via Context Provider).

This is my take on the problem -> https://github.com/Munawwar/react-global-states/tree/ssr


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

Search: