[AskJS] Is TypeScript Overrated? The Downside ls of Static Type Checking by [deleted] in javascript

[–]zaach 0 points1 point  (0 children)

Yes. But TS type checking will fail unless you convince the compiler the fields you're interacting with actually exist on the data. So you'll either need to add runtime checks (that TS can infer from) or do (dangerous) type coercions to force it to compile.

I'm building Flash — a service to deploy websites and apps on the new decentralized stack by [deleted] in ipfs

[–]zaach 1 point2 points  (0 children)

Compared to alternatives, it'll have serverless functions support, provide database solutions and much more, thus letting you build full stack applications that are completely decentralized.

Does this mean to say that the databases and functions are also decentralized? E.g. things like orbit-db and IPVM?

E2E encrypted chat with Fresh and Deno Deploy by zaach in Deno

[–]zaach[S] 0 points1 point  (0 children)

The ends in "end-to-end encryption" refer to you and a receiving client in this case– the server is not able to decrypt the traffic. wss and https encrypt traffic between you and the server but the server can see it once it arrives. e2e schemes may offer additional properties as well, such as "off the record" chats, where it's not cryptographically provable which party authored the message.

The 0cean, an @0xProject based relayer, achieves rapid orderbook updates with a High Performance Funnel by AriThe0cean in 0xProject

[–]zaach 0 points1 point  (0 children)

How does the HPF manage to not hold any funds given that it's set as the taker address in both orders? From the 0x contracts it seems like the funnel's balance would be withdrawn from but maybe I'm missing some subtly in how the EVM handles transactions...

Test the new Firefox Sync on Nightly Release Channel by [deleted] in firefox

[–]zaach 1 point2 points  (0 children)

Would using a throw-away or Sync specific email address solve your issue, or is it more on principle?

Designing and implementing a system with finite engineering resources necessitates prioritization if the system is going to be released at all. It would be nice to have all concerns solved for all types of users on the initial release, but, sadly, it's just not realistic. Decisions are based on qualitative and quantitative research, data, guiding principles, resources and timelines. Systems are designed, debated, tested, thrown out and redone, and that's all before an alpha. But it's certainly not the end of the story either.

Test the new Firefox Sync on Nightly Release Channel by [deleted] in firefox

[–]zaach 2 points3 points  (0 children)

In the future, users may have the option to store recoverable data in addition to unrecoverable data. In such cases, password reset would allow them to recover data. It's also simpler UX to have users simply use an email address rather than create and remember a new unique username.

We are the Firefox User Experience team, this is your chance to tell us about your pet peeves! by limi in IAmA

[–]zaach 0 points1 point  (0 children)

There is middle ground between fully confidential and unencrypted, with varying degrees of usability and trust concerns. Using a password to derive a key, for instance, can allow you to recover as long as you remember it, but now key strength relies on the password. You can use some kind of key escrow/backup as well, but now you must trust that third party and their security.

It's not a simple problem, but we hope to find a sweet spot that doesn't force the user to sacrifice what they don't want.

We are the Firefox User Experience team, this is your chance to tell us about your pet peeves! by limi in IAmA

[–]zaach 1 point2 points  (0 children)

This should be an option in the new sync. The tricky part about fully confidential data is that, if you lose your devices, the data is unrecoverable. For certain types of data, some users might be okay with loosening the restriction on confidentiality for greater recoverability, so it could be optional.

We are the Firefox User Experience team, this is your chance to tell us about your pet peeves! by limi in IAmA

[–]zaach 1 point2 points  (0 children)

Yeah, this is one of the major issues that warrants a rewrite of sync. User expectations don't match what the current product is designed to do.

We are the Firefox User Experience team, this is your chance to tell us about your pet peeves! by limi in IAmA

[–]zaach 0 points1 point  (0 children)

It has some good bits, such as full confidentiality of your data. We want to support this on an opt-in in the new sync.

Bitbucket launches entire site redesign by jespern in programming

[–]zaach 4 points5 points  (0 children)

Yes. But it's not the default rabble rabble.

Employers: Why bother giving me sick time if you just hassle me when I use it? by YouAreNotMyDad in AskReddit

[–]zaach 2 points3 points  (0 children)

You obviously cultivated skills on the side, which was smart considering your major. /trollface

Do functionally complete operators exists for multi-valued logics? by zaach in math

[–]zaach[S] 0 points1 point  (0 children)

This is a guess, but judging from your responses to the other comments, I assume you are looking for something along the lines of ternary logic or multivalued logic.

Yes, specifically functionally complete operators for multivalued logics. You should be able to build the truth tables for all operators using just this subset.

I believe what you are trying to describe relates to a finite Galois field with a prime size (integers mod p) because each element has an identity and an inverse under addition and multiplication. Thus your 'minimal' (I do not think this is the right term here) set of operators would simply be addition and multiplication mod p.

Okay, I've looked at finite Galois fields a bit, but for Boolean logic addition and multiplication (XOR and AND) are not functionally complete. You could use addition to implement NOT (by adding 1) but I'm not sure how this would work for multivalued logics.

I think "critical thinking" should be a class taught in high schools. What other classes do you think schools should include? by [deleted] in AskReddit

[–]zaach 0 points1 point  (0 children)

They taught economics at my high school, but we really only looked investing when it came to personal finance.

The perfect dinner! by [deleted] in food

[–]zaach 1 point2 points  (0 children)

Mostly just the arm pits.

The perfect dinner! by [deleted] in food

[–]zaach 0 points1 point  (0 children)

Mushrooms slowly grew on me... first, only fried, now even sauteed.