Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SigmundA
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
77 ms
·
961.
▲
by
SigmundA
6y ago
Because thats whats happens when you don't have a government, either one will come in and become your government through force, or you become a government with enough force to prevent take over. Some entity (state) has to have the mono
962.
▲
by
SigmundA
6y ago
The browser has no way to send anything directly to the printer through javascript and probably not the best idea to let it either from a security perspective, especially PDF's. It's up to the browser to render the page to the pri
963.
▲
by
SigmundA
6y ago
It renders to canvas to draw the pdf so all it has is a bitmap, hence the bitmap printing. To get decent quality with bitmap printing you have to do really high res which eats memory and is slow. They were working on an SVG renderer to supp
964.
▲
by
SigmundA
6y ago
Ah so that's where the train station is...
965.
▲
by
SigmundA
6y ago
Ah so that's where the train station is.
966.
▲
by
SigmundA
6y ago
Right so one share does not become two and "sythenic shares" is as much a thing as "synthetic money" that is money you loaned out.
967.
▲
by
SigmundA
6y ago
"Synthetic Shares" just sounds like a fancy way of saying you have a loan on the books. Its like if I loan you money and saying now I have "Synthetic Money" in the form of the loan you owe me. Money people seem to love t
968.
▲
by
SigmundA
6y ago
So fractional reserve banking, once they hit reserve fraction they can't legally lend more cash out right? This also doesn't occur with shares, you either own the share to lend or you don't? There are no new shares created on
969.
▲
by
SigmundA
6y ago
That asset has associated risk vs cash that for the most part doesn’t. The risk being you don’t get the cash back. One dollar did not become two. If you sell the asset you get your cash back from whoever bought it, and it comes out of thei
970.
▲
by
SigmundA
6y ago
Again one cow does not become two, you just may owe two cows when there is actually only one in circulation because you sold the same one twice. I guess the talk of creating new shares threw me off this is just IOU’s
971.
▲
by
SigmundA
6y ago
Right but the bank no longer has the money in their account they let you borrow, so one dollar does not become two.
972.
▲
by
SigmundA
6y ago
What makes no sense to me as a layman is how can you sell something you don’t own legally? If I borrow your cow and sell it that’s illegal without consent, if you give me consent to sell the cow, there is still only one cow and ownership ch
973.
▲
by
SigmundA
6y ago
Yeah movie collection not growing, thats all streaming now, for new stuff. Photos in iCloud so on multiple devices, but may go to Synology backup with new one. Documents are nothing. Main thing I will use more capacity for will be more surv
974.
▲
by
SigmundA
6y ago
So you are just recommending a NAS with at least 4 drive bays, not necessarily 4 drives, I read this and interpreted it as 4 drive minimum for data redundancy: "Consider getting a NAS that has 4 or more drives to offer redundancy and s
975.
▲
by
SigmundA
6y ago
So why the recommendation for 4 or more drives? Aren't 2 drives enough in a mirror or are you recommending minimum 2 drive redundancy RAID-6 / SHR2? Getting close to upgrading my old 2 drive Synology at home that has been running
976.
▲
by
SigmundA
6y ago
https://en.wikipedia.org/wiki/Carbon_cycle
977.
▲
by
SigmundA
6y ago
>uuids and using the more compact enconding (base what ever). And at the same time I'll safe countless of debugging hours, because everybody is aligned what kind of ids we are talking about. Will never be as compact as 16 byte binar
978.
▲
by
SigmundA
6y ago
Yes redundantly encoding type everywhere in your id will be easier for a specific kind of bug yet you're adding that overhead all the time in both your db mapper and extra bytes everywhere. Or we are getting reports of invalid order ID
979.
▲
by
SigmundA
6y ago
So it all comes down to less mistakes made with: order:"order-550e8400-e29b-11d4-a716-446655440000" vs order:"550e8400-e29b-11d4-a716-446655440000" Either one will error in a sane system that checks to make sure the UUID
980.
▲
by
SigmundA
6y ago
Just putting "order-550e8400-e29b-11d4-a716-446655440000" does not make it an order id either, thats what foreign keys are for, mistakes can be made either way. If your sending id via json you should be using json to encode type e
981.
▲
by
SigmundA
6y ago
>> You can store UUIDs as bytes if you wish but when you are looking at it in a human readable form it will be still a UUID. I think storing UUID as text in 2021 is not that hard. Not going to store a text type prefix + UUID in a 16by
982.
▲
by
SigmundA
6y ago
Not just disk space, larger index size mean less fits in caches and memory, more I/O etc. These are keys which are typically used constantly by an app in the db with joins etc. They are some of the hottest data typically and you want t
983.
▲
by
SigmundA
6y ago
This is why you have column headers? If you just want it to look that way in a text log, then sure prepend the type with the id wasting some space there, but to use it throughout your db eats up tons of space from both text encoding the id
984.
▲
by
SigmundA
6y ago
Seems like this point is not understood very well by many. Ordered keys can create hot spots on insert and read, this can be good or bad depending on backend.
985.
▲
by
SigmundA
6y ago
looks like its almost twice the size of a UUID at 30 bytes in this case with a short prefix, I'm assuming your storing this as a ascii string? That's a lot of extra bytes from some convenience when viewing logs or raw data etc. UU
986.
▲
by
SigmundA
6y ago
In every dbms I have used count(*) is optimized to just count rows a fast as possible. count(column name) might actually be slower as it has to check for null values. Same goes for EXISTS(select * from table) I have seen many use count(1) a
987.
▲
by
SigmundA
6y ago
My understanding is it doesn't matter in Haskell since it lacks reflection, they are real because you can't reflect and see they have been type erased at runtime. In C# and Java reflection is used extensively and the generics stil
988.
▲
by
SigmundA
6y ago
Tesla consistently annoys me with the "Musk Math" hyperbole. Solar is a simple ROI calculation, you are not "printing money" until you payback your initial investment, your basically making a lump sum payment for electri
989.
▲
by
SigmundA
6y ago
Being into motorhomes I always have this dream of a future where there is a bridge across the Bering Strait and one can drive from the US to Europe through a friendly and welcoming Russia on a well maintained highway system. This would of c
990.
▲
by
SigmundA
6y ago
This, I want an alternative, high interest savings accounts and CD used to be a good safe place for some savings, now your losing value relative to inflation. A mixed portfolio makes no sense. Nobody has a pension, everyones retirement is i
More ›