KayeMenner, to photography
@KayeMenner@mastodon.social avatar
Celrunia_QT, to Blog
@Celrunia_QT@net4sw.com avatar

Personal update!

https://youtu.be/s2xblMGwDq8

Hewwo! Just wanted to update everyone on what has been going on since I have been gone for a while, and what's new!

JenniferJorgenson, to pics
@JenniferJorgenson@mstdn.social avatar
kohane, to Stoicism
@kohane@cupoftea.social avatar
ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

Yet another plea for information:
Are there any resources out there that deal with writing data to multiple tables?

I have several tables, and need to both insert and update them with data from my UI/Domain Layer.
e.g. a new Scoundrel needs to Insert ScoundrelEntity, and maybe Insert new CrewEntity, and update CrewScoundrelCrossRef.
I need to do this for several Relationships.
I will also need to edit/delete
Is there any info on this?

ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

Latest problem:
Special Abilities are stored as List<String>
Hand-knitted TypeConverter is splitting on comma when retrieved from database (as that is how Lists are stored)
Solutions?

  • convert using JSON or some other library
  • rewrite Converter
  • rebuild schema to make Abilities their own table, linked Many-to-Many (scoundrels have Many Abilities, Abilities can be had by Many Scoundrels). This is probably the better way, long term, but introduces a new layer of complexity...
ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

Whelp, I'm being dumb again, but aren't tutorials meant to assume I'm dumb?
I have my 2 Entity tables, plus a CrossRef table (Scoundrels, Contacts, ScoundrelContactCrossRef)
I can read and write the 2 main tables.
How do I write a new "Scoundrel with associated Contacts" to the 3 tables? I've got it defined in my UI/Domain, and I click SAVE, and... what do I tell ROOM/SQL?

ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

Am I being a bit dumb, or is making a database that has more than 1 table a Herculean Labour?
Scoundrels, Crews and Contacts.
A Scoundrel is in 1 Crew.
A Crew has 0+ Scoundrels.
Contacts are known to individual Scoundrels and/or Crews. A Contact has a Rating (Friend/Neutral/Hostile) with each Scoundrel/Crew.
I need to call each and every combination.
How complicated is this meant to be, as I seem to be making a pig's ear of the whole thing!

Help!

ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

...and I've run into the same problem I hit before...
I have 3 Entities (Scoundrels, Crews, Contacts)
I have "Scoundrel with Crew" working (Each scoundrel is in exactly 1 Crew. A Crew can have 0+ Scoundrels)
I need to add Contacts. Each Contact can be known to many Scoundrels, and Many Crews.
Each Contact also has a Rating ("Friend", "Neutral" or "Hostile") with each relationship.
I'd like to start by building adding Scoundrels/Contacts relationships

gbraad, to random
@gbraad@mastodon.social avatar

I shared an Excalidraw for the Podman Machine, Podman Desktop team. You're free to add greetings and wishes to the team: https://excalidraw.com/#room=18c4069fe98a6808559d,vsDR9zoeUBt6-ZOTQYdHww

Thank you all for the great contributions and requests you have made so far. See you next year!

Please share!

shonin, to random
@shonin@mastodon.world avatar

Himalayan Permaculture Centre on Vimeo

https://vimeo.com/825822148

Lobster,

@shonin
I likes , it suits my needs for perms and hair beading, raised and other / .

So many from to by . . Indoor .

For example as our side streets in are cleared of central areas (aka side roads. We have for and other street to feed our need for food, home and etc.

The better world is calling us from the future feature

Nonog, to egypt

Hidden Chambers Found in Crumbling Pyramid 200 Years After Prediction
In 1836, Egyptologist John Shae Perring was excavating the Pyramid of Sahure (also known as Sahura) when he noticed a debris-filled passageway.
An expert on floor plans for these types of structures, he surmised there might be storage rooms beyond.
But it would take another nearly 200 years to finally confirm his suspicions.
https://www.sciencealert.com/hidden-chambers-found-in-crumbling-pyramid-200-years-after-prediction

bocops, to android
@bocops@fosstodon.org avatar

Why does complain that it "cannot figure out how to save this field into database" if all I did was to migrate the library from kapt to KSP?

dreamimaginations, to home
@dreamimaginations@mastodon.social avatar
lainout, (edited ) to pixelart

New attempt at isometric pixelart 💖

ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

Big Database Post:

I have my basic App. It allows Users to record details of Quests for .
It uses a single table, with mostly String fields.
I would like to expand, so that each field could hold more data.
e.g. Location ("The Swamp of Doom", "Wizard's Tower") could be it's own table, with each entry having more info.
I could write a sprawling SQL-Helper class to convert everything back and forth to the DTOs used by UI, but isn't Room meant to help?
more...

ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

Oh. There are these things called "Views" in a database.
Should I be using them? They look useful...

strypey, (edited ) to chat
@strypey@mastodon.nzoss.nz avatar

I've been using @matrix for 4-5 years, and it took me a while to get my head around exactly how matrix rooms work.

Here's my attempt to explain it using a classic Alice and Bob story.

(1/?)

strypey, (edited )
@strypey@mastodon.nzoss.nz avatar

Alice starts a new room called :server.foo on her hobby homeserver.

Bob joins with his account, @bob:otherserver.bla, and adds a local address, which Alice publishes.

A week later, Alice decides she can't be bothered with server.foo and shuts it down.

She rejoins the room with her new matrix account using :otherserver.bla.

The experiences of joining and using the room is just the same as if server.foo was still alive, and she'd used :server.foo.

Does that make sense?

(2/?)

strypey,
@strypey@mastodon.nzoss.nz avatar

Now that you've got your head around that, let's go deeper.

For a start, any room member can add a local address for the homeserver of their account. Even if someone already has. Because :[my homeserver] - as in the example above - is not the only local address you can add. Oh no.

You can add any name. I can join Alice and Bob's room and add the address :myserver.nz. If anyone with mod powers in the room publishes that name, it can now be used to join the room.

(3/?)

Tyjos84, to Happy
@Tyjos84@mastodon.world avatar

Got plenty of great things here in this #room and finding whenever I'm at my computer looking around I'm #happy with this #collection

#StarTrek #GiJoe #StarWars #Gundam #Macross #Batman #Ghostbusters #Anime #Scifi #toys #collecting #hobby

mywildlens, to space
cnx, to random
@cnx@larkspur.one avatar

PSA: The Matrix URI scheme has been supported by all mainstream web engines, namely Blink, Gecko and WebKit, so instead of throwing around clownflared URLs like https://matrix.to/#/#room:server.example and https://matrix.to/#/#user:server.example, use matrix:r/room:server.example and matrix:u/user:server.example.

Studio_Gal, to indonesia
@Studio_Gal@mastodon.social avatar
liztai, to random
@liztai@hachyderm.io avatar

I turned my spare room turned store room into an exercise/yoga/dressing room that can be turned into a guest room. It was easier than I thought. For months I felt that it was such a waste to let a pretty room lie fallow, so am happy it finally has a use. It is a little bare now, but I plan to get some equipment like weights and maybe even a plant or two.

A minimalist room with a yoga mat

min_fapper, to fediverse in The migration of large communities from Reddit to Lemmy is like a world-renowned band performing an acoustic set in a library for 50 people.

So, matrix has the concept of aliases for channels/rooms. ActivityPub should do something similar for communities.

spec.matrix.org/latest/-aliases

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • khanakhh
  • mdbf
  • InstantRegret
  • magazineikmin
  • everett
  • cubers
  • rosin
  • Youngstown
  • slotface
  • ngwrru68w68
  • tacticalgear
  • megavids
  • thenastyranch
  • modclub
  • Durango
  • GTA5RPClips
  • cisconetworking
  • osvaldo12
  • ethstaker
  • Leos
  • tester
  • anitta
  • normalnudes
  • provamag3
  • lostlight
  • All magazines