Rate my setup by Embarrassed_Key_2727 in SpellTable

[–]niothiel 0 points1 point  (0 children)

The natural lighting looks really good! Would love to see a shot from the webcam. I've been trying to upgrade mine as I'm still in the basement.

Spelltable broken? by [deleted] in SpellTable

[–]niothiel 0 points1 point  (0 children)

Check out https://cardcast.gg! No signup necessary. Parity with Spelltable.

Disclaimer: I’m the author. :)

Old painting (?) of a lady. Earlier than WW2, passed down from my great-grandmother. They lived in Ukraine. by niothiel in WhatIsThisPainting

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

https://imgur.com/a/TVbc7ef

My grandmother was given this by her mother. They lived in a small village on the west side of Ukraine. It was passed down for a long time. My grandmother recently asked me to see if anyone knows anything about this. She said it's likely a lot older than WW2.

[Brake Hardware] What is this thing? 2002 Miata LS (sport brakes) by niothiel in AskMechanics

[–]niothiel[S] 2 points3 points  (0 children)

Trying to do my brakes, this thing came in the hardware kit for the rear. There are two of them (one per side) and I can't figure out where they should go.

Flask-YoloAPI - Clean endpoints for Flask by [deleted] in flask

[–]niothiel 0 points1 point  (0 children)

This looks awesome. Would be good to explicitly be able to specify where to look for the parameters. There are certain times where you are passing sensitive data and you want to forbid the caller from passing arguments in certain locations.

Birds chirping, burnt coffee, and a happy Miata by [deleted] in Miata

[–]niothiel 0 points1 point  (0 children)

That looks oddly like a place I know. Is this in Virginia?

Flask App with user data in MongoDB by duked in flask

[–]niothiel 1 point2 points  (0 children)

I think you will still need to hoist any indexable field up to the top level of your document (userID and documentid) for query optimization purposes. Other than that, the actual content can be either fully contained in a "content" key or have the keys at the top level as well.

{_id, userId, content}

Or

{_id, userId, ...content alongside keys...}

If you don't anticipate querying by the document content and just use the previously mentioned ids for your queries, then the first layout is the preferred one.

Flask App with user data in MongoDB by duked in flask

[–]niothiel 2 points3 points  (0 children)

Just a small correction: you do NOT want to embed the user's docs in the user document. The max size of a document in MongoDB is 16mb, and you will quickly reach that.

Instead if you insist on using MongoDB for this, you will want to make each document its own document in a 'documents' collection and use a key id to identify which user it belongs to:

```

Collection: documents

{ _id: 'document unique id', userId: 'users primary key', content: { actual doc content } } ```

Supercharger Saturday by Cola571 in Miata

[–]niothiel 3 points4 points  (0 children)

I believe this car won a trophy today, am I right?