Skip to content

Commit

Permalink
wrote something
Browse files Browse the repository at this point in the history
  • Loading branch information
anaclumos committed Dec 25, 2023
1 parent 24dae92 commit 18e83c0
Show file tree
Hide file tree
Showing 31 changed files with 52 additions and 22 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ everything I know! [Dive down the rabbit hole now](https://cho.sh/random)!

## Last updated

Sun Dec 24 02:44:04 PST 2023
Mon Dec 25 00:53:17 PST 2023

## Stats

```
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Language Files Lines Blanks Comments Code Complexity
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Markdown 2300 58236 15150 0 43086 0
Markdown 2301 58252 15153 0 43099 0
CSS 70 20359 792 36 19531 0
TypeScript 59 18925 178 49 18698 166
TypeScript 59 18936 178 49 18709 166
JSON 16 1662 0 0 1662 0
YAML 11 147 0 3 144 0
SVG 9 9 0 0 9 0
Expand All @@ -47,13 +47,13 @@ TypeScript Typings 2 15 1 4 10 0
gitignore 2 296 69 69 158 0
JavaScript 1 19 3 12 4 0
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Total 2482 100643 16263 203 84177 249
Total 2483 100670 16266 203 84201 249
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Estimated Cost to Develop (organic) $2,838,235
Estimated Schedule Effort (organic) 20.44 months
Estimated People Required (organic) 12.33
Estimated Cost to Develop (organic) $2,839,085
Estimated Schedule Effort (organic) 20.45 months
Estimated People Required (organic) 12.34
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Processed 4965568 bytes, 4.966 megabytes (SI)
Processed 4966109 bytes, 4.966 megabytes (SI)
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
```
Binary file modified Research/assets/1A19E9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/1CE231.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/1CE345.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/1E26DF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Research/assets/2AEC71.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/2FB6F8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/3B51C9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/3B92E6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/3F9675.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/4BE73D.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/4CD57A.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/4DEA85.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/4E18FE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/4F573F.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/5B74BE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/5B8DF9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/5DBEEF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/6A21D1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/6B42A0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/6DF84D.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/7BA380.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/7C2C28.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/7F1E52.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/8A52BA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Research/assets/8CC453.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Research/assets/8CE3E2.png
7 changes: 7 additions & 0 deletions Research/journals/2023-12-25.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
date: '2023-12-25'
lang: 'en'
slug: '/2023-12-25'
---

[[Project Ganymede|Ganymede]]
34 changes: 23 additions & 11 deletions Research/pages/Project Ganymede.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
---
lang: 'en'
slug: /9C24C1
aliases: ['Ganymede']
aliases:
- Ganymede
---

import DisplayFlex from '@site/src/components/DisplayFlex'

- [[The Paradoxical Moon Philosophy]]
- [[Send Separately]]
- Callisto is the code name for MessagesExtension
- Europa is the code name for Encryption Key Exchange Server

## [[2023-12-25]]

<DisplayFlex>

![[8CE3E2.png]]
![[2AEC71.png]]

</DisplayFlex>

## [[2023-12-15]]

![[EEDDA7.gif]]

## [[2023-11-22]]

- There was a property in `MSMessage` of [shouldExpire](https://developer.apple.com/documentation/messages/msmessage/1649741-shouldexpire). The problem is, the recipient can override to keep the message, what we don't want.
- There was a property in `MSMessage` of [shouldExpire](https://developer.apple.com/documentation/messages/msmessage/1649741-shouldexpire). The problem is that the recipient can override to keep the message, which we don't want.
- Implemented Message Reading Functionality
- Implemented Proper Loading View features, with fade in and fade out.
- I implemented proper loading view features, with fade-in and fade-out.

![[D7D1B8.gif]]

Expand All @@ -44,10 +56,10 @@ Callisto
## [[2023-11-18]]

- Linked the client side to
- make request to server
- request server
- pack it as `MSMessage`
- send the message
- dismiss keyboard & request compact presentation style
- dismiss the keyboard & request a compact presentation style
- Pink Bubble?

![[61B318.jpg]]
Expand Down Expand Up @@ -76,7 +88,7 @@ Callisto

## [[2023-11-11]]

Used [[Prisma]], [[Prisma Accelerate]], [[PlanetScale]], and [[Cloudflare Worker|Cloudflare Workers]] to create a simple server for the [[Ganymede Table Structure]]. [[Prisma]] layer makes 3 requests to the [[Database|DB]] per 1 request to the server, albeit it probably would hit the [[Prisma Accelerate]] Layer, we can later optimize it with [this document.](https://planetscale.com/blog/integrate-cloudflare-workers-with-planetscale)
Used [[Prisma]], [[Prisma Accelerate]], [[PlanetScale]], and [[Cloudflare Worker|Cloudflare Workers]] to create a simple server for the [[Ganymede Table Structure]]. [[Prisma]] layer makes three requests to the [[Database|DB]] per 1 request to the server, albeit it probably would hit the [[Prisma Accelerate]] Layer, we can later optimize it with [this document.](https://planetscale.com/blog/integrate-cloudflare-workers-with-planetscale)

### Composing Messages with 3 People Group Chat (Writer, Reader 1, Reader 2)

Expand Down Expand Up @@ -116,17 +128,17 @@ Used [[Prisma]], [[Prisma Accelerate]], [[PlanetScale]], and [[Cloudflare Worker
- It is **possible** to limit [[iMessage]] forwarding for [[iMessage App|iMessage Extensions]]
- It is **possible** to mark the iMessage with `LocalParticipantIdentifier`
- `LocalParticipantIdentifier` is different on all devices
- The simplest way would be marking:
- The most straightforward way would be marking:
- Set `LocalParticipantIdentifier` to `true` on reading (on the server)
- Reject if `LocalParticipantIdentifier` is already `true`
- Reject if `LocalParticipantIdentifier` is already `true.`
- Problem: If the user deletes and reinstalls the app, `LocalParticipantIdentifier` changes. So the user can read unlimited times if the uninstall & reinstall
- Mitigation: Assign UUID for each message. Each message will have `LocalParticipantIdentifier + RemoteParticipantIdentifiers` count as the `maxRead`. This will at least 'limit' the max read count.
- Problem: on a Group Chat setting, a user can read unlimited times instead of another participant.
- Solution: [[Sign in with Apple]]?!

## [[2023-10-20]]

Can attach many images
I can attach many images

![[8A52BA.png]]

Expand All @@ -145,7 +157,7 @@ Can attach many images

## [[2023-10-13]]

I figured out that in iOS 17, [[Shortcuts]] can send [[Text Message|messages]] without confirmation. Can we use this for [[Send Separately]] or Ganymede?
In iOS 17, [[Shortcuts]] can send [[Text Message|messages]] without confirmation. Can we use this for [[Send Separately]] or Ganymede?

## [[2023-10-12]]

Expand All @@ -171,7 +183,7 @@ I don't want to store any encrypted or decrypted [[Text Message|messages]] on th
- When reading the [[Text Message|message]]
- extract [[UUID]] and encrypted [[Text Message|message]]
- read KV with [[UUID]] and delete the `DecryptKey` if any necessary condition is met
- once it expired, the user cannot read the [[Text Message|message]] again
- once it expires, the user cannot read the [[Text Message|message]] again

### Considerations

Expand Down
16 changes: 13 additions & 3 deletions src/data/backlinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,9 @@ export const backlinks = {
"2020-04-01": {
"ํ”„๋กœ์ ํŠธ ์–ด๋•ํ–‰๋•": "- [[2020-04-01]]"
},
"2023-12-25": {
"Project Ganymede": "## [[2023-12-25]]"
},
"2023-07-16": {
"Project Naroo": "## [[2023-07-16]]"
},
Expand Down Expand Up @@ -4094,6 +4097,7 @@ export const backlinks = {
"2023-11-18": "- [[Project Ganymede|Ganymede]]",
"2023-11-22": "- [[Project Ganymede]]",
"2023-12-15": "- [[Project Ganymede|Ganymede]]",
"2023-12-25": "[[Project Ganymede|Ganymede]]",
"Person 4460DA": "... about a new messaging app ([[Project Ganymede]])",
"Project": "- [[Project Ganymede]]",
"The Paradoxical Moon Philosophy": "I am building [[Project Ganymede]]. It's a social app, but ..."
Expand Down Expand Up @@ -6818,7 +6822,7 @@ export const backlinks = {
"Autosave Everything": "... autosave intervals or setting different [[shortcuts]] for each app.",
"ChatGPT": "... voice assistant built entirely with [[Shortcuts]]",
"Locking your Mac with Command+L": "2. Go to Keyboard โ†’ [[Shortcuts]] โ†’ App Shortcuts and press ...",
"Project Ganymede": "... out that in iOS 17, [[Shortcuts]] can send [[Text Message|messages]] without ...",
"Project Ganymede": "In iOS 17, [[Shortcuts]] can send [[Text Message|messages]] without ...",
"Visual Studio Code": "... can change the theme, keyboard [[shortcuts]], preferences, and install extensions that ...",
"sssss": "Supersedes [[Shortcuts]]"
},
Expand Down Expand Up @@ -8549,7 +8553,7 @@ export const backlinks = {
},
"Ganymede Table Structure": {
"2023-11-11": "- [[Ganymede Table Structure]]",
"Project Ganymede": "... a simple server for the [[Ganymede Table Structure]]. Prisma layer makes 3 requests ..."
"Project Ganymede": "... a simple server for the [[Ganymede Table Structure]]. Prisma layer makes three requests ..."
},
"๋‚จ์ด์‚ฌ": {
"2023-09-10": "[[๋‚จ์ด์‚ฌ]]์ด์ง€๋งŒ์„œ๋„ ์–ผ๋งˆ๋‚˜ ํž˜๋“ค์—ˆ๊ธธ๋ž˜... ํ•˜๋Š” ์•ˆํƒ€๊นŒ์šด ๋งˆ์Œ์ด ..."
Expand Down Expand Up @@ -11091,7 +11095,7 @@ export const backlinks = {
"Now Page": "... rather keep improving my back-end [[database]] work.\"",
"Prisma": "Prisma is an open-source [[database]] toolkit developed to make it ...",
"Prisma Accelerate": "... Platform that provides a global [[database]] cache across over 280 locations, ...",
"Project Ganymede": "... makes 3 requests to the [[Database|DB]] per 1 request to the ...",
"Project Ganymede": "... makes three requests to the [[Database|DB]] per 1 request to the ...",
"Proposal of Research 2023-01-10": "... the pixel combinations on the [[database]]. So, I explored clamping the ...",
"Qiang Yang et al. Federated Machine Learning Concept and Applications": "### Federated [[Database]] Systems",
"React": "... functionality from UIUX|UI to the [[database]], with extra features such as ...",
Expand Down Expand Up @@ -12471,6 +12475,12 @@ export const backlinks = {
"7EF8EE.png": {
"Everyprompt": "![[7EF8EE.png]]"
},
"8CE3E2.png": {
"Project Ganymede": "![[8CE3E2.png]]"
},
"2AEC71.png": {
"Project Ganymede": "![[2AEC71.png]]"
},
"D7D1B8.gif": {
"Project Ganymede": "![[D7D1B8.gif]]"
},
Expand Down
1 change: 1 addition & 0 deletions src/data/filenames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ export const filenames = {
"2023-12-16": "2023-12-16",
"2023-12-17": "2023-12-17",
"2023-12-24": "2023-12-24",
"2023-12-25": "2023-12-25",
"3-SAT": "DCB869",
"30-Day Tweet Test (Harry Stebbings)": "18728A",
"3D": "82C83C",
Expand Down

0 comments on commit 18e83c0

Please sign in to comment.