I had this schema in bot database but I think it sucks
object AccessRequests: IntIdTable() { val userId = long("userId") val processed = bool("processed").default(false) val processedAt = long("processedAt").nullable() val processedBy = varchar("processedBy", 255).nullable() val createdAt = long("createdAt") val granted = bool("granted").nullable() val revoked = bool("revoked").nullable() val shouldMonitor = bool("shouldMonitor").default(false) }
I was thinking at least the monitor prop should be extracted
@TimCastelijns it is customary to have atomic schemas on each table (User => stuff related to users only), then depending on the queries you wanna do create other entities with foreign keys
It looks okay for the moment, but for future proofing, I would like do something like this:
1. Access actions table : userID_fk, access_given (revoked, read, write, no special), time, commanding_ro, should_monitor 2. Users table: User ID, some stats like number requested, etc.
You can then add future extensions based on the user table as a source of truth
As in, graph stats for users over time by adding a stats table that logs rep etc.
Add more data regarding access requests, re requests, users that actually improve and come back etc.
But for the current functionality, a single table is fine
Table 1 is one row per request resolution. Table 2 is a list of users. Table 3 can be a requests table that stores req_id, user_id_fk, time, actioned, etc.
Then table 1 can have a foreign key to table 2 and table 3
> ‘personal data’ means any information relating to an identified or identifiable natural person (‘data subject’); an identifiable natural person is one who can be identified, directly or indirectly, in particular by reference to an identifier such as a name, an identification number, location data, an online identifier or to one or more factors specific to the physical, physiological, genetic, mental, economic, cultural or social identity of that natural person;
so the CEO of my company went to a Idaho Technology Council meeting that he says was marketed as "how to find money for your business in Idaho". His take away: "marry a rich man"
@OcuS sorry! Credits to you, I have no idea who makes the memes, I just save and repost them
Just a heads up, it's #BellLetsTalk day in Canada where they're trying to remove the stigma with mental health. A fantastic campaign where they're putting money for every tweet with the hashtag and for every time their video is watched towards mental health initiatives. For more info: letstalk.bell.ca/en
I don't think we talk about mental health much here but if you are struggling with anything, you're not alone, please reach out for help! I very nearly lost one of my best friends due to depression but thankfully he's in a better place after getting help.
I care about this community don't want people here to be secretly hurting and afraid to speak out and seek help, which is why I wanted to post about it
@Graeme if it's yourself, I hope you're in a much better place Graeme!
Yeah i've been told it's a rollercoaster, can have real ups and downs and pretty unpredictable but there's things which can help. I think hearing from other people's experience with mental health has helped me be more aware of my own mental health and more aware of people around me and why they might be acting differently
Have fun with the espresso training! Bonus points if you teach it while drinking espresso :D
The Hyper Text Coffee Pot Control Protocol (HTCPCP) is a facetious communication protocol for controlling, monitoring, and diagnosing coffee pots. It is specified in RFC 2324, published on 1 April 1998 as an April Fools' Day RFC, as part of an April Fools prank. An extension, HTCPCP-TEA, was published as RFC 7168 on 1 April 2014 to support brewing teas, which is also an April Fools' Day RFC.
== Protocol ==
RFC 2324 was written by Larry Masinter, who describes it as a satire, saying "This has a serious purpose – it identifies many of the ways in which HTTP has been extended inappropriately." The...
I mean: I love spending 2 entire days trying to fix an issue or to achieve something I've never done, but when I work just to cover easily implementable features, I start feeling extra lazy
So I assume you've all heard of Fyre Festival and the netflix documentary etc?
Our Fyresite instagram account has gained 5k+ followers since that came out because people are thinking we are related, and not all them are nice people
so we've had to run a meme campaign disassociating ourselves
> - If I go every other day I will be at the gym 4-5 times a week - That makes no sense. There are only 7 days in a week. If you go every other day that is 3.5 times a week.
this is so dumb but been laughing at this for 2min XD