Live data from Hacker News

Show HN: Booleans as a Service (BaaS)

booleans.io

121–130 of 132 posts

Re: Show HN: Booleans as a Service (BaaS)

#122

Earlier quoted context omitted.

Sure saving the 128 bit (even longer when encoded) UUID for one value is so much better then saving 1 bit! Now seriously how is this any good since you can only save one bit. MongoDB as a service is probably what you're looking for...

Sure but what if you want that boolean backed up somewhere?

And where would you suggest backing up the UUID for that bool?

It only makes sense to back bools up this way if len(n) > backup key.

If you could backup 129 bools it would make sense because you'd only have to remember the key, 128 bit, to access the backup. If there are equal or less, just remember the bools directly.

Re: Show HN: Booleans as a Service (BaaS)

#123
post #45

What will you do when someone builds Byte as a service on top of your product ?

I'd like to take that one step further! Strings as a service (SaaS, a nice and unique acronym). You can post strings on the internet publicly and refer to them by Id, and... no, that's Twitter.

Re: Show HN: Booleans as a Service (BaaS)

#127
post #35

Earlier quoted context omitted.

I, too, would like to know the answer to this. If this solution scales, I have a wonderful idea for a service that can store arbitrary data using 8 boolean values per byte. Imagine all the power that this booleans service has brought to the boolean data type being available for arbitrary data types as well!

How will such a solution store the adress of the byte?

Using an additional byte for the size of the address and the specified number of bytes for the address itself. Then you will only need a few identifiers stored locally to access all the bits.

Re: Show HN: Booleans as a Service (BaaS)

#129

Earlier quoted context omitted.

Wow, not using a document store? I think we disagree about how predictably structured a boolean is.

Mongo didn't meet our strict security and performance requirements.

I guess you mean MariaDB when saying MySQL.

Re: Show HN: Booleans as a Service (BaaS)

#130
post #23

Ironically, the idea is more useful than intended. One could, for example, store on/off user's preferences in the cloud without the hassle of local storage, survey responses, or even control IoT devices remotely with just the switch of a boolean.

But then you'd still have to store their id somewhere.

unless you have some way of generating a key on the fly. Like a hash of some human readable id.
Post reply on HN