| Discord | Nuno#8658 |
| Date of birth | 22.05.2002 |
| Telegram | @Nuno69a |
| E-Mail address | [email protected] |
| Discord | Nuno#8658 |
| Date of birth | 22.05.2002 |
| Telegram | @Nuno69a |
| E-Mail address | [email protected] |
I am playing with the NaturalLanguage framework in #Swift and I am having some interesting results. Here are the most similar words to the word „Dictatorship”. The left column are the words, the right is the distance. The more distant, the less similar the word is.
dictator 0.7791867852210999
autocracy 0.7871801853179932
dictatorial 0.7904724478721619
regime 0.7980139851570129
democracy 0.8397299647331238
totalitarian 0.845069408416748
repressive 0.8523193001747131
oligarchy 0.8619794845581055
despotism 0.8681145310401917
despot 0.8691430687904358
Here is the code I used.
import NaturalLanguage
guard let embedding = NLEmbedding.wordEmbedding(for: .english) else {
print("Nic z tego nie będzie.")
fatalError()
}
let words = embedding.neighbors(for: "dictatorship", maximumCount: 10)
for word in words {
print("\(word.0)\t\(word.1)")
}
#apple #swift #programming #CodingFun #iOS #macOS
I think I have made something actually useful this time lol. A little backstory though: when I was younger and I was speaking with my friends and playing games I was screaming a lot. This was due to me wanting to scream over the chaos in my headphones. That annoyed everyone in my house so I put headphones and lower and lower volume overtime. When I grown up, the games I played were much calmer and so the problem solved itself. But, after returning to my family house after six months of apsence I discovered that my younger brother is doing an exact same thing! So I have build a session with #AudioHijack from @RogueAmoeba that automatically ducks the whole system when a signal is detected from the microphone. Oh boy, neighbors will thank me hopefully. Here's the download link
https://www.icloud.com/iclouddrive/08aAQh5ngXmEVoNJykK99r5SQ#Microphone_Ducking
CC @devontechnologies
DEVONThink: a document management solution for Mac I didn’t know I needed
I started using this tool a few days ago because I needed a new toy to play with. But it very quicly stopped being just a toy. For the last few days I am migrating all my stuff from many other apps to DT because its just amazing and, more importantly it just works. The databases are easy to backup and move which is pretty important in my setup as I move between two countries on a regular basis. Searches are fast, and I mean it, corcondance mode helps in my dirty writing, and countless organizational tools make my huge amount of papers organized.
But what do I organize so eagerly?
1. My journal: I previously used Ulysses for this, but some accessibility quirks made me angry with this tool, plus the subscription. Eh, I have setapp but sometimes, just sometimes I have no Internet and grace periods of Setapp are nonexistent. The problem I had with Ulysses was that it required me to *think* of making a journal entry, whereas in DT I made a simple script, I press CTRL+E and I can just type away insults at whoever annoyed me. A nice advantage is that those are pure MD files, I can force them out of DT without DT itself if that makes sense. I also keep some kind of encyclopedia of people I have met (don't call me out but I love writing every fact about people I met). With DT's wiki features I see myself using that more. It will require huge amount of work to convert my current setup but it can definitely be done.
2. University notes: I study Chinese at the university. I record classes and transcribe them with Audio Hijack. DevonThink can play audio, DevonThink can add so called annotations co audio which are separate documents but linked to the audio. What does that mean? It means I can read my classes, and play a given fragment only when I actually need to hear. I don't get distracted by teacher's slow speech, I read fast and listen only when I forgot how to pronounce a word. How I did it I made a simple conversion script that converts the transcript made by. audio hijack into MD link that DT can recognize and play my audio in a given time. I don't have any idea about AI, but if GPT is as good as people say it should be able to do it pretty easily.
3. RPG planning: believe it or not, I am still working on my game. If I have time, I can convert my mess of TXTs, XLSXs and other data into DT. By combining Wiki features, custom metadata, crossreferences, concordance mode I can very easily have a grant perspective (pun intended, this tool aint worth your trouble though since its inaccessible) over my story, characters and balance. The thing I see it helping the most is the balance, since I can very easily see quests in a given chapter giving what rewards, then I can pretty easily foresee what level the player might reach upon reaching a given spot in the game. (1/2)
#Music #Appreciation
Slava, $russian brothers!
https://www.youtube.com/watch?v=o7aqxxt0e68&list=RDkD4SiKnEGO0&index=6