Merge branch 'master' into master

This commit is contained in:
Hamish MacDonald 2018-10-30 21:41:53 +13:00 committed by GitHub
commit da9a204ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 937 additions and 180 deletions

View File

@ -1,4 +1,6 @@
**Memex** is a bookmarks and notes application to help with storage and overview
**Memex** is a [personal knowledge base](https://scholar.colorado.edu/csci_techreports/931/).
A bookmarks and notes application to help with storage and overview.
[Live web version here](https://kormyen.github.io/memex/)

View File

@ -346,18 +346,22 @@ body {
}
/* TYPE */
.griditem-typecontainer {
position: absolute;
right: 0px;
top: 0px;
margin-right: var(--size-grid-gutter);
}
.griditem-type {
opacity: var(--alpha-idle);
width: calc(var(--size-font-bodytypes)*2 + var(--size-grid-gutter));
width: calc(var(--size-font-bodytypes)*2);
color: var(--color-item);
padding-bottom: var(--size-grid-gutter);
font-size: var(--size-font-bodytypes);
padding-top: var(--size-grid-gutter);
vertical-align: top;
text-align: center;
position: absolute;
right: 0px;
top: 0px;
float: right;
}
.griditem-typeicon {
opacity: var(--alpha-idleicon);
@ -384,7 +388,14 @@ body {
}
/* NOTE, QUOTE, TERM, TAGS, AUTH, PROG */
.griditem-note, .griditem-quote, .griditem-term, .griditem-tags, .griditem-auth, .griditem-prog {
.griditem-note,
.griditem-quote,
.griditem-term,
.griditem-tags,
.griditem-proj,
.griditem-auth,
.griditem-file,
.griditem-prog {
opacity: var(--alpha-idle);
padding-top: var(--size-item-elem-padding);
color: var(--color-item);
@ -396,7 +407,9 @@ body {
.griditem:hover .griditem-quote,
.griditem:hover .griditem-term,
.griditem:hover .griditem-tags,
.griditem:hover .griditem-proj,
.griditem:hover .griditem-auth,
.griditem:hover .griditem-file,
.griditem:hover .griditem-prog {
opacity: var(--alpha-enabled);
color: var(--color-item);
@ -406,11 +419,28 @@ body {
.griditem-image .griditem-quote,
.griditem-image .griditem-term,
.griditem-image .griditem-tags,
.griditem-image .griditem-proj,
.griditem-image .griditem-auth,
.griditem-image .griditem-file,
.griditem-image .griditem-prog {
color: var(--color-image);
}
.griditem-file {
word-break: break-all;
}
.griditem-file-link {
color: var(--color-item);
text-decoration: none;
}
.griditem-file-link:hover {
background-color: var(--color-itemascent);
color: var(--color-itembg);
word-break: break-all;
}
/* IMAGE */
.griditem-image .griditem-containerlower {
display: none;

View File

@ -2279,8 +2279,7 @@ THE WAY
& The ten thousand things rise and fall without cease,
& Creating, yet not possessing,
& Working, yet not taking credit.
& Working, yet not taking credit.
& Work i_____HERE_____orgotten.
& Work is done, then forgotten.
& Therefore it lasts forever.
LINK : http://peacefulrivers.homestead.com/laotzu.html
SEEN : true
@ -2733,7 +2732,7 @@ MURRAY BOOKCHIN
TERM
> Communalism: "a theory of government or a system of government in which independent communes participate in a federation", "the principles and practice of communal ownership."
Hypocognition
HYPERCOGNITION
DATE : 12018-08-21
PERS : alx
SRCE : Merveilles
@ -2879,7 +2878,6 @@ SUNBEAM CITY
> Solarpunk: Solarpunks cherish both nature and progress, the individual and the community.
& They believe in a world that is green, colourful, and bright. It can be described as a literary genre, an aesthetic, or a movement.
& The key points are:
&
- An emphasis on renewable energy, especially solar power.
- A demand for technology and society to re-centre around sustainability, longevity, and balance.
- A focus on decentralisation, community activism, social justice and civic empowerment.
@ -3016,7 +3014,7 @@ POMEGRANATES COLOR
DATE : 12018-09-06
TYPE : video
LINK : https://www.youtube.com/watch?v=8MXjUf05HVE
QOTE :
QOTE
> "The world is a window"
> "Stop asking 'what does this mean?', and start asking 'how does it make me feel?'"
> "There is always a new way to see."
@ -3041,16 +3039,22 @@ CLOUD ATLAS
QOTE : "Our lives are not our own. We are bound to others, past and present, and by each crime and every kindness, we birth our future"
AUTH : David Mitchell
THROUGH THE HEART
DATE : 12018-09-08
AUTH : Aleksandr Solzhenitsyn
TYPE : quote
QOTE
> “If only it were all so simple! If only there were evil people somewhere insidiously committing evil deeds, and it were necessary only to separate them from the rest of us and destroy them. But the line dividing good and evil cuts through the heart of every human being. And who is willing to destroy a piece of his own heart?”
& "During the life of any heart this line keeps changing place; sometimes it is squeezed one way by exuberant evil and sometimes it shifts to allow enough space for good to flourish. One and the same human being is, at various ages, under various circumstances, a totally different human being. At times he is close to being a devil, at times to sainthood. But his name doesn't change, and to that name we ascribe the whole lot, good and evil."
BEAUTY ENTHUSE, WORK RAISE
TYPE : quote
DATE : 12018-09-08
AUTH : Cyprian Norwid
QOTE : "Beauty is to enthuse us for work, and work is to raise us up"
BEAUTY SAVE
TYPE : quote
DATE : 12018-09-08
AUTH : Aleksandr Solzhenitsyn
QOTE : "Beauty will save the world"
@ -3091,101 +3095,29 @@ CONVENTIONAL MINDS
QOTE
> John Anthony West: "Few things in this world are more predictable that the reaction of conventional minds to unconventional ideas."
CRYPTO VOXELS
DATE : 12018-09-10
TYPE : game
LINK : https://www.cryptovoxels.com/play?coords=NE@53E,31S
PROGRAMMING TALKS
TYPE : list
DATE : 12018-09-10
LINK : https://github.com/hellerve/programming-talks
JAVASCRIPT
DATE : 12018-09-10
SNIP
> call(): allows for a function/method belonging to one object to be assigned and called for a different object
Imagine you woke up naked in a field, in the middle of nowhere. You have no idea where you are, or how you got there. What do you do? First, youd probably go into survival mode; youd look for the basic necessities to sustain life: water, food, and shelter from the elements.
Once you had everything you needed to stay alive, and you knew that, if nothing else, you could at least remain in your current location indefinitely, you might start to wonder what in the hell happened: one minute youre bouncing around Reddit, the next youre bare-ass in the middle of nowhere.
After you come to grips with the reality of the situation, youd probably want to try and figure out where in the hell you are. You might try and look for clues from your environment or maybe a constellation you recognize, or perhaps you decide to do a little exploring around the immediate area, to see if theres anything around that could give you some clue as to where in the hell you are.
Lets say that your efforts reveal that youre in the middle of Africa. Once youve figured out where you are, you only have two choices left: stay there and simply exist as long as you can, or attempt to get back to civilization; either option has its own risks.
If you chose to stay where you are, then thats essentially it for you, you now know how your future will play out: youll remain at your current location until you either die of old age, or your area becomes unable to sustain life. Either way, the game is over for you; your entire existence becomes about survival, and youre just running out the clock until, at some point in the future, you cease to exist.
Maybe you decide to try and leave a message for someone to find in the future, maybe youre content to simply fade off into oblivion, either way, your fate is sealed.
Now lets say you decided to try and get back to civilization. Since you know where you are, your logical next step is going to be to try and figure out someplace to go, and then of course, how to get there. Now you have a goal, something youre striving towards. Life ceases to be about mere survival and becomes an epic journey to get you where you want to go.
This is the timeline of humanity. We woke up with nothing, on a little rock, in the middle of nowhere. We figured out how to survive, and we struggled to come to grips with our own reality. Then we started exploring, trying to find out just exactly where we were in the Universe. Now were faced with the same choice: exist, or move on.
You ask if its something that a “regular guy REALLY needs to know”, to me its the most important thing he/she needs to know: that humanity chooses more than an existence of mere survival. That humanity chooses to move forward and keep exploring and expanding. To know that, even though we might never make it, at least were making the effort. That we have hope.
The alternative is to simply run out the clock and wait to fade off into oblivion.
https://www.reddit.com/r/YouShouldKnow/comments/20n1mz/ysk_that_a_newly_announced_measurement_of/cg52uxc/?context=2
https://embraceclarity.com/
https://github.com/nayafia/lemonade-stand
https://micro.blog/
https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/
https://github.com/OpenGenus/quark
https://blog.adafruit.com/2012/12/05/how-we-built-a-super-nintendo-out-of-a-wireless-keyboard-sifteo-sifteo/
http://vladimirslav.com/2018/08/scam-key-requests-on-steam-who-hides-behind-fake-emails/
http://libre.solar/
https://blog.hackster.io/the-zerophone-a-linux-smartphone-powered-by-the-raspberry-pi-zero-286f36a25fd4
https://blog.hackster.io/this-years-emf-camp-badge-is-a-working-cell-phone-c8f8a1a11e6d
https://microship.com/make-anywhere-mobile-lab/
http://craftinginterpreters.com/
http://www.newvillage.net/Journal/Issue3/3young2.html
https://news.ycombinator.com/item?id=16604251
http://www.debtdeflation.com/blogs/2009/01/31/therovingcavaliersofcredit/
https://www.youtube.com/watch?v=9bQkfN_pe44
https://github.com/nikitavoloboev/knowledge/blob/master/other/2do-tasks.md
https://dev.to/quii/the-web-i-want-43o
https://en.wikipedia.org/wiki/Houyhnhnm
sopaxorztaker.gitlab.io/furby/index.html
https://blog.cloudflare.com/the-languages-which-almost-became-css/
https://100r.co/blog.html#an+island+to+oneself
https://steamcommunity.com/games/221410/announcements/detail/1696055855739350561
http://catb.org/~esr/faqs/hacker-howto.html
http://catb.org/~esr/faqs/smart-questions.html
https://ipfs.io/ipfs/QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco/wiki/Exocortex.html
https://medium.com/swlh/deliberate-practice-makes-perfect-how-to-become-an-expert-in-anything-ec30e0c1314e
ELLIOT WAVE NOTES
JLCPCB
https://jlcpcb.com/
GreatScott!
YouTube
pcell: hmm, punk to me has always been not accepting the status quo : destroying
neauoire: "I guess I'm more on the side of ' not accepting the status quo : building "
"optimism should be the force of solarpunk"
"longtermism, long now, these sorts of ideas"
"sustainability, longevity, and balance"
"Were Solarpunks because the only other options are denial or despair."
https://hieroglyph.asu.edu/2014/09/Solarpunk-notes-toward-a-manifesto/
DENIAL OR DESPAIR ALTERNATIVE
QOTE : "Were Solarpunks because the only other options are denial or despair."
LINK : https://hieroglyph.asu.edu/2014/09/Solarpunk-notes-toward-a-manifesto/
TYPE : quote
IMPLOSION VS EXPLOSION
DATE : 12018-09-12
PROJ : Megamex
NOTE
> Implosion
& Blue
@ -3259,66 +3191,54 @@ IMPLOSION VS EXPLOSION
& Fast rotation
& Slow revolution
http://geocosmicrex.com/
http://www.sacred-geometry.com/
https://www.youtube.com/watch?v=ta_9na0-mwA
PROGRAM FOR HUMANS
QOTE : "Programs must be written for people to read, and only incidentally for machines to execute." - Abelson & Sussman, SICP, preface to the first edition
ENTHSIASM FOR HAPPINESS
QOTE : "We act as though comfort and luxury were the chief requirements of life, when all that we need to make us happy is something to be enthusiastic about." - Charles Kingsley
DON'T CHANGE MINDS
QOTE : "People don't change their minds. They die, and are replaced by people with different opinions." - Arturo Albergati
DATE : 12018-09-13
via: https://reading.supply/@jim/alpha-update-LrVis5
https://shapeofdesignbook.com/
https://dcurt.is/what-i-would-have-written
https://medium.com/obvious/building-medium-e74637f2fe22
https://medium.com/@ev/what-i-learned-building-medium-so-far-4191574378
https://a16z.com/2015/09/29/medium-3/
https://medium.learningbyshipping.com/writing-is-thinking-an-annotated-twitter-thread-2a75fe07fade
https://a16z.com/2012/10/03/why-andreessen-horowitz-is-investing-in-rap-genius/
https://www.travel-almanac.com/products/tta14-spring-summer-2019
http://www.paulgraham.com/articles.html
https://www.naibooksellers.nl/design-interior/design/designing-design-kenya-hara.html
https://www.lars-mueller-publishers.com/white
https://shop.nplusonemag.com/products/social-medium-artists-writing-2000-2015
SAYING NO
QOTE : "Focusing is about saying no." - Steve Jobs
FEAR STILL
QOTE : "Don't fear moving slowly. Fear standing still." - Chinese proverb
QOTE : "Programs must be written for people to read, and only incidentally for machines to execute." - Abelson & Sussman, SICP, preface to the first edition
QOTE : "We act as though comfort and luxury were the chief requirements of life, when all that we need to make us happy is something to be enthusiastic about." - Charles Kingsley
QOTE : "People don't change their minds. They die, and are replaced by people with different opinions." - Arturo Albergati
QOTE : "Focusing is about saying no." - Steve Jobs
QOTE : "Don't fear moving slowly. Fear standing still." - Chinese proverb
QOTE : "I think a life properly lived is just learn, learn, learn all the time." - Charlie Munger
flintknapping: the process of chipping away material from high silica stones like "flint" in a carefully controlled manner with special tools to produce sharp projectile points or tools.
Water hammer: pressure spike (potentially extreme) from quickly shutting valve (tap) on running water. Depends on celecity (medium elasticity), medium speed, shut speed. A water tower can be used to absorb the pressure change.
LEARN ALL THE TIME
QOTE : "I think a life properly lived is just learn, learn, learn all the time." - Charlie Munger
FLINTKNAPPING
TYPE : term
TERM
> flintknapping: the process of chipping away material from high silica stones like "flint" in a carefully controlled manner with special tools to produce sharp projectile points or tools.
PROJ : Megamex
WATER HAMMER
TYPE : term
TERM
> Water hammer: pressure spike (potentially extreme) from quickly shutting valve (tap) on running water. Depends on celecity (medium elasticity), medium speed, shut speed. A water tower can be used to absorb the pressure change.
PROJ : Megamex
COUSINS ACROSS THE SEA
DATE : 12018-09-14
TYPE : video
LINK : https://www.youtube.com/watch?v=E9nGHrLWlic
PROJ : Megamex
CULTURE MAGIC
TYPE : term
TERM
> Tohunga: (Maori) "an expert practitioner of any skill or art, either religious or otherwise. Tohunga include expert priests, healers, navigators, carvers, builders, teachers and advisors."
> Kahuna: (Hawaiian) "priest, sorcerer, magician, wizard, minister, expert in any profession"
PROJ : Megamex
Tohunga: (Maori) "an expert practitioner of any skill or art, either religious or otherwise. Tohunga include expert priests, healers, navigators, carvers, builders, teachers and advisors."
Kahuna: (Hawaiian) "priest, sorcerer, magician, wizard, minister, expert in any profession"
NEWEARTH MEGALYTHS.ORG
https://www.youtube.com/user/everhungriescatgang/videos?sort=p&flow=grid&view=0
http://www.megaliths.org/
https://www.nzonscreen.com/title/who-was-here-before-us-2000
MEGALYTHS.ORG
LINK
> https://www.youtube.com/user/everhungriescatgang/videos?sort=p&flow=grid&view=0
> http://www.megaliths.org/
PROJ : Megamex
LOG ATTRIBUTES
PROJ : Log
@ -3355,8 +3275,6 @@ CSS NAME CONVENTION
& .modulename-submodule
& .modulename-subcomponent
PROPANE BOX DIY
PROJ : Van
LINK : https://faroutride.com/propane-system/
@ -3366,6 +3284,8 @@ S CONTEX
> S as a spider snake kaleidoscope entry into a memory palace of a shaman who is trapped within his own mind
& Trailer would be a call to arms, a psychic plea for help
> Copy topography of megalith site
> Orion belt / star map as world map for megalith sites
> See underground cities for catacomb reference
STENOTYPE
DATE : 12018-09-14
@ -3394,4 +3314,644 @@ CYMATICS
TERM
> Cymatics: "the study of wave phenomena, esp sound, and their visual representations."
> Cymascope: a type of scientific instrument that makes sound visible.
NOTE : Mandala like
NOTE : Mandala like
NEUROPLASTICITY
TERM : Neuroplasticity: The brain's ability to reorganize itself by forming new neural connections throughout life. Neuroplasticity allows the neurons (nerve cells) in the brain to compensate for injury and disease and to adjust their activities in response to new situations or to changes in their environment.
NOTE : joe rogan 1171
LOOKING AT THE STARS
QOTE : Oscar Wilde: "We are all in the gutter, but some of us are looking at the stars."
SELL THE WHY
DATE : 12018-09-15
TYPE : quote
QOTE : Antoine de Saint-Exupéry: "If you wish to build a ship, do not divide the men into teams and send them to the forest to cut wood. Instead, teach them to long for the vast and endless sea."
PALE BLUE DOT
DATE : 12018-09-15
TYPE : quote
QOTE
> Carl Sagan: "Look again at that dot. That's here. That's home. That's us. On it everyone you love, everyone you know, everyone you ever heard of, every human being who ever was, lived out their lives. The aggregate of our joy and suffering, thousands of confident religions, ideologies, and economic doctrines, every hunter and forager, every hero and coward, every creator and destroyer of civilization, every king and peasant, every young couple in love, every mother and father, hopeful child, inventor and explorer, every teacher of morals, every corrupt politician, every 'superstar,' every 'supreme leader,' every saint and sinner in the history of our species lived there—on a mote of dust suspended in a sunbeam."
ORIGINAL THOUGHT
QOTE
> Diogenes: "One original thought is worth a thousand mindless quotings"
MAGIC
TERM
> Chakras
> Chi
> Prana
> Reike
> Orgon
> Vril
PROJ : Megamex
BLOND RED BLUE
PROJ : Megamex
NOTE
> Basque (Euskara)
& Berbers (Amazigh)
& Guanche (Canary Islands
& Gaelic (Celtic)
& "Ginger" (Egyptian mummy)
& Patupaiarehe (Maori)
& Ubermensch (Germany)
& Iceland
& Aryan
> Agharta And The Golden City Of Shambhala
> Swastika
- Ukraine
- Japan
- China
- Celt
- Hopi
- Aztec
- Jain
- Greek
- Tibet
- Rome
- Mongolian
- Iraq
- Iran
- Armenia
- Korea
- Anglo Saxon
- Navajo
- Russia
- etc
> Chariot (egypt and rome)
> "Half of European men share King Tut's DNA" ""
KATAKOMBY
PROJ : Megamex
LINK : https://translate.google.com/translate?hl=en&sl=ru&tl=en&u=http%3A%2F%2Fwww.katakomby.odessa.ua%2F
LINK : http://www.katakomby.odessa.ua/
NOTE : Ukraine and Paris catacombs "For 20 years, 240 kilometers of underground workings have been mapped"
FILE : 12018-09-16_katacomby.jpg
CELTIC NZ
PROJ : Megamex
LINK : http://www.celticnz.co.nz/articles.html
LEY-LINES
PROJ : Megamex
TERM
> Feng-Shui
> Chinese art/science meaning 'wind and water', 'that which cannot be seen and cannot be grasped'.
& "Recognized that certain powerful currents and lines of magnetism run invisible through the landscape over the whole surface of the Earth. The task of the geomancer was to detect these currents and interpret their influences on the land through which they passed."
& "It was the aim of the geomancer to place every structure precisely within the landscape in accordance with a magic system by which the laws of music and mathematics were expressed in the geometry of the earth's surface. The landscape itself may be manipulated in order to achieve the harmony sought through the placement or adjustment, or removal, of trees or rocks, or bodies of water. Every feature of the landscape may be contrived to produce an effect which ultimately is perceived as beautiful; indeed, perceived beauty in a landscape may in fact be simply when the lines of the dragon current are in balance.
& At the outset, a geomancer must locate the course of the major lines of the dragon current in his or her area. These days, it is claimed that such energy lines can be detected, and traced, through dowsing."
> Lung-Mei: Chinese Feng-Shui lines of magnetic force meaning 'dragon current'. "...existed in two forms: the yin, or negative, current represented by the white tiger, and the yang, or positive, current, represented by the blue dragon. The landscape will display both yin and yang features; gently undulating country is yin, or female, while sharp rocks and steep mountains are yang, or male."
> Luopan: A Feng-Shui circular magnetic compass. "which was marked off in rings containing data relating to astrology, directions, the elements, landscape forms, times of day, and so on."
> Ley Line: 're-dicovered' on 30th June 1921 by Alfred Watkins (1855-1935)
> Turingas: Aborigine "dream lines"
> Geomagnetic field (Earth's magnetic field)
> "The magnetic field that extends from the Earth's interior out into space, where it meets the solar wind, a stream of charged particles emanating from the Sun" "The magnetic field is generated by electric currents due to the motion of convection currents of molten iron in the Earth's outer core driven by heat escaping from the core, a natural process called a geodynamo." "Using magnetoreception various other organisms, ranging from some types of bacteria to pigeons, use the Earth's magnetic field for orientation and navigation."
> Crops like , Okra, Tomato and Eggplant plants which were exposed to EMF were observed with less number of insects and pests compared to those not exposed to EMF( International Journal of Scientific and Research Publications, Volume 3, Issue 10, October 2013 1 ISSN 2250-3153).
> "A magnetic field (MF) is an inescapable environmental factor for plants on the Earth. Krylov and Tarakonova (1960) were among the first to report on MF effects on plants. They proposed an auxin-like effect of the MF on germinating seeds, by calling this effect magnetotropism. The auxin-like effect of MF was also suggested to explain ripening of tomato fruits (Boe and Salunkhe, 1963The effect on magnetic field on plant growth has a different dimension than plant growth without magnetic field, including the pest and disease dynamics. Crops like , Okra, Tomato and Eggplant plants which were exposed to EMF were observed with less number of insects and pests compared to those not exposed to EMF( International Journal of Scientific and Research Publications, Volume 3, Issue 10, October 2013 1 ISSN 2250-3153)."
LINK
> http://www.britannia.com/wonder/geomancy.html
> https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4154392/
> https://pdfs.semanticscholar.org/0014/3d2beeb7ad0125e454279b1ac3652a5162c6.pdf
> https://scialert.net/fulltextmobile/?doi=ajcs.2013.286.294
FILE
> 2018-09-28_Magneticfield.pdf
COMMUNICATION PRIVACY
DATE : 12018-09-29
TYPE : quote
QOTE : "One of the problems there for a lot of people is identifying which you need requires understanding what your threat model is. Most humans have never heard that phrase, let alone had thoughts about it. So these decisions are then made for them and they choose based on usability, they choose based on where their friends are, they choose based on which chat messenger has inline gifs rather than which one has end to end encryption. People make poor choices, not because they don't care but because they don't know and they don't understand what they are necessarily giving up." - Amber Baldet, The Oslo Freedom Forum in New York: Why Decentralization Matters, Unchained: Big Ideas From The Worlds Of Blockchain And Cryptocurrency
LINK : http://unchainedpodcast.co/the-oslo-freedom-forum-in-new-york-why-decentralization-matters-ep85
BACK TO THINKING
DATE : 12018-09-29
QOTE : "We must do away with the absolutely specious notion that everybody has to earn a living. It is a fact today that one in ten thousand of us can make a technological breakthrough capable of supporting all the rest. The youth of today are absolutely right in recognizing this nonsense of earning a living. We keep inventing jobs because of this false idea that everybody has to be emploted at some kind of drudgery because, according to Malthusian-Darwinian theory, he must justify his right to exist. So we have inspectors of inspectors and people making instruments for inspectors to inspect inspectors. The true business of people should be to go back to school and think about whatever it was they were thinking about before somebody came along and told them they had to earn a living." - Richard Buckminster Fuller (1985 - 1983)
UDON SIN
DATE : 12018-09-30
QOTE : "Once you accept that we live (and can thrive) in a system of perpetual exploitation and generalized criminality, the whole world opens up. Most will end up as losers, that is the nature of it all."
CONTINUING CREATION
DATE : 12018-09-30
QOTE : “Memory is never a precise duplicate of the original… it is a continuing act of creation”
DANCE
DATE : 12018-09-30
QOTE : And those who were seen dancing were thought to be insane by those who could not hear the music.
AUTH : Friedrich Nietzsche
WARMTH
DATE : 12018-10-01
NOTE : Felt temperature affects feeling of trust. Eg: Hold hot cup of coffee for one second = significant feeling of trust toward target vs holding a ice cup of coffee for one second. Hypothetical origin: to baby human warmth = safty.
LINK : https://www.wnycstudios.org/story/91640-choice
FISH FRIENDS
DATE : 12018-10-01
PERS : Rekka Bell
QOTE : "Fish are more than aquatic automatons. They are quick learners, with strong memories, and can even out-perform primates at some mental tasks."
LINK : http://www.pbs.org/wgbh/nova/next/nature/fish-have-feelings-too/?utm_source=FBPAGE&utm_medium=social&utm_term=20180904&utm_content=1758065470&utm_campaign=NOVA%20Next&linkId=56417148
THE LISTENING SOCIETY
DATE : 12018-10-01
TYPE : book
AUTH : Hanzi Freinacht
RUSSEEL BRAND HELP
DATE : 12018-10-01
LINK : https://www.youtube.com/watch?v=4XqvddgtkGM
12 PERSPECTIVES ON JORDAN PETERSON
DATE : 12018-10-01
AUTH : Jonathan Rowson
TYPE : book
DOCUMENTATION
DATE : 12018-10-02
LINK : https://www.divio.com/blog/documentation/
QOTE : "There is a secret that needs to be understood in order to write good software documentation: there isnt one thing called documentation, there are four... tutorials, how-to guides, explanation and technical reference."
BEAUTIFUL PEOPLE
DATE : 12018-10-02
LINK
> https://www.youtube.com/playlist?list=PL_jxFaykzU8CT8n4yCGKwC1Ud4-UG-6hw
> https://www.youtube.com/playlist?list=PL_jxFaykzU8BItOwSPFFvyObWfW0pmsNY
> https://www.youtube.com/playlist?list=PL_jxFaykzU8A7mb6jDUP3vQ6YaJZBTkQB
> https://www.youtube.com/playlist?list=PL_jxFaykzU8BfyZc5XVuzotHpXyMmQSrW
SONDER
DATE : 12018-10-02
TYPE : term
TERM
> sonder: the realization that everyone has a story
LINK : https://www.youtube.com/watch?v=AkoML0_FiV4
NOTE : Dictionary of Obscure Sorrows
CUSTOM CONTROLLER
LINK : https://geekhack.org/index.php?topic=74463.350
HANDTOP
LINK : https://geekhack.org/index.php?topic=84603.0
REGENERATIVE ECONOMIC THEORY
DATE : 12018-10-05
TERM
> Regenerative economic theory: "an economic system that works to regenerate capital assets. A capital asset is an asset that provides goods and/or services that are required for, or contribute to, our well being. In standard economic theory, one can either “regenerate” one's capital assets or consume them until the point where the asset cannot produce a viable stream of goods and/or services. What sets regenerative economics apart from standard economic theory is that it takes into account and gives hard economic value to the principal or original capital assets — the earth and the sun. We cannot do much to affect the sun although we can value access to the sun in such areas where access can be influenced. Therefore, most of Regenerative Economics focuses on the earth and the goods and services it supplies.
& Regenerative economics is completely comfortable within the capitalist economic framework. Recognizing the earth as the original capital asset places the true value on the human support system known as the environment. Not having this original value properly recognized has created the unsustainable economic condition referred to as uneconomic growth, a phrase coined by leading ecological economist and steady-state theorist Herman Daly, as stated in the book Reshaping the Built Environment.[1] The authors of the regenerative economic theory believe that uneconomic growth is the opposite of regenerative economics."
QOTE : > "...What sets regenerative economics apart from standard economic theory is that it takes into account and gives hard economic value to the principal or original capital assets — the earth and the sun...."
LINK : https://www.youtube.com/watch?v=YMCcoKXh3K0
FILE : 12018-10-05_regencap.pdf
MEMEX SIXTY YEARS LATER
DATE : 12018-10-08
FILE : 12018-10-08_memexSurvey.pdf
NOTE : "Building the Memex Sixty Years Later: Trends and Directions in Personal Knowledge Bases"
PERS : neauoire
SRCE : mastodon
PROJ : Memex
TO BURN TO MEMORY
DATE : 12018-10-18
TYPE : game
AUTH : theneko
SRCE : Merveilles
PROG
> Safe - "The Requisitioned Terminal, Old Quarter"
& Safe - Principal Director's Office, Imperial Opera, Latin Quater
& Sun door - "Beneath Tower, Piazza Institute"
& Crystalline Gate - "Iron Gardens, Old Quarter"
& Locked door - Salandre Residence, Boulevard, Latin Quarter
OPPOSITES IN BALANCE
PROJ : Megamex
NOTE
> Sun and moon combined
> Opposites in balance
> Yang Yin
> Sun Moon
> Twin towers (sun and moon towers)
> Jachin Boaz
> Male Female
> Light Dark
> Right Left
> Sword Shield
> Pengala Ida (Yoga, Shakra, Taoism)
> hot cold
> light dark
QOTE
> "...the basic concept of the Maya religion (and that of Mesoamerica in general) is harmony of opposites..." - Mercedes de la Gazza, Maya
> "...the deeply rooted Egyptian tendency [is] to understand the world... as a series of pairs of contrasts balanced in unchanging equalibrium... Egyptian thought [is] that a totality comprises opposites." - Henri Frankfort, Kingship and the gods
> "The ability to see the harmony... is nowhere more prominent than in Indian theology. Transcending of all pairs of opposites is central to Hindu thought." - Steven Rosen, Essential Hinduism
TRINITY
PROJ : Megamex
NOTE
> Jachin Boaz Triangle
> Yang Yin Tao (the whole, circle, eternity)
> Ida Pingala Sushumna
> right left spiritual
> positive negative magnitism
> opposite opposite balance
> art science philosphy
> Male Female Unity
> Earth Moon Sun
> left-hemisphere right-hemisphere pineal
> Triptych doorways
DIKE
DATE : 12018-10-16
TYPE : term
TERM
> Dike: "To remove or disable a portion of something, as a wire from a computer or a subroutine from a program. A standard slogan is “When in doubt, dike it out”.
& The implication is that it is usually more effective to attack software problems by reducing complexity than by increasing it.
& The word dikes is widely used to mean diagonal cutters, a kind of wire cutter. To dike something out means to use such cutters to remove something.
& Indeed, the TMRC Dictionary defined dike as “to attack with dikes”. Among hackers this term has been metaphorically extended to informational objects such as sections of code."
LINK : http://www.catb.org/jargon/html/D/dike.html
NEONIOUS
DATE : 12018-10-16
TYPE : tool
TAGS : iot, web, nodejs
LINK : https://www.neonious.com/neoniousOne
NOAH BRADLEY LANDSCAPE PHOTOS
DATE : 12018-10-16
TYPE : resource
NOTE : "Noah Bradley's free photo reference megapack": Bucharest & London, Australia, New Zealand, American Southwest, Switzerland, Iceland, England & France, Yosemite, Caves, Scotland
LINK : https://gumroad.com/d/ca7dfa7a4ec36ba24fcd03575d5cbd7d
EBOOK FOUNDATION PROGRAMMING
DATE : 12018-10-16
TYPE : list
TAGS : code, web
LINK : https://github.com/EbookFoundation/free-programming-books/blob/master/free-programming-books.md
TALKING TO GOD
DATE : 12018-10-16
LINK : https://www.fullmoon.nu/pdfs/tal.pdf
UNJUST LAWS
DATE : 12018-10-16
LINK : https://reading.supply/post/ed63cf7d-c205-4255-9be9-11caaf55e017
CLIMATE VITAL SIGNS
DATE : 12018-10-16
TAGS : env
LINK
> https://climate.nasa.gov/vital-signs/global-temperature/
> https://xkcd.com/1732/
BABEL LIB
DATE : 12018-10-16
TYPE : book
NOTE : Borges' Library of Babel
PERS : neauoire
DES MAGICIENS
DATE : 12018-10-16
TYPE : book
NOTE : Le matin des magiciens: L. Pauwels & J. Bergier. 1960
PERS : neauoire
INVISIBILI
DATE : 12018-10-16
TYPE : book
NOTE : Le città invisibili: Italo Calvino. 1972
PERS : neauoire
FICCIONES
DATE : 12018-10-16
TYPE : book
NOTE : Ficciones: Jorge Luis Borges. 1941
PERS : neauoire
NUMBER 44
DATE : 12018-10-16
TYPE : book
NOTE : No.44: Mark Twain. 1916
PERS : neauoire
KYBALION
DATE : 12018-10-16
TYPE : book
NOTE : Kybalion: Three Initiates. 1908
PERS : neauoire
LINGUA PERFETTA
DATE : 12018-10-16
TYPE : book
NOTE : La ricerca della lingua perfetta: Umberto Eco. 1993
PERS : neauoire
THE HANDMAID'S TALE
DATE : 12018-10-16
TYPE : book
NOTE : The handmaid's tale: Margaret Atwood. 1985
PERS : neauoire
FLATLAND
DATE : 12018-10-16
TYPE : book
NOTE : Flatland: Edwin A. Abbott. 1884
PERS : neauoire
BLUMROCH
DATE : 12018-10-16
TYPE : book
NOTE : Blumroch l'admirable: Louis Pauwels. 1976
PERS : neauoire
CYBERIADA
DATE : 12018-10-16
TYPE : book
NOTE : Cyberiada: Stanisław Lem
PERS : neauoire
THE BOOK OF TEA
DATE : 12018-10-16
TYPE : book
NOTE : The book of tea: Okakura Kakuzō. 1906
PERS : neauoire
THOREAU JOURNALS
DATE : 12018-10-16
TYPE : book
NOTE : Journals: Henry David Thoreau. 1837
PERS : neauoire
ETIDORHPA
DATE : 12018-10-16
TYPE : book
NOTE : Etidorhpa: John Uri Lloyd. 1895
PERS : neauoire
EX NIHILO
DATE : 12018-10-17
TYPE : term
TERM
> Ex nihilo: a Latin phrase meaning "out of nothing"
LINK : https://en.wikipedia.org/wiki/Ex_nihilo
20 YEARS 20 QUESTIONS
DATE : 12018-10-17
NOTE
> Fighting against human nature is a losing battle
> Aesthetics matter
> Resonance is important
> Make use of piggybacking
> Don't confuse "interesting" with "fun"
> Understand what emotion your game is trying to evoke
> Allow the player the ability to make the game persona
> The details are where the players fall in love with the game
> Allow your players to have a sense of ownership
> Leave room for the player to explore
> If everyone likes your game, but no one loves it, it will fail
> Don't design to prove you can do something
> Make the fun part also the correct strategy to win
> Don't be afraid to be blunt
> Design the component for the audience it's intended for
> Be more afraid of boring your players than challenging them
> You don't have to change much to change everything
> Restrictions breed creativity
> Your audience is good at recognizing problems and bad at solving them
> All the lessons connect
FILE : 12018-10-17_20years20questions.jpg
TAGS : gamedev
NO CURE FOR CURIOSITY
DATE : 12018-10-17
NOTE : "The cure for boredom is curiosity... there is no cure for curiosity."
FILE : 12018-10-17_curiosity.jpg
TAGS : gamedev
MONEY OUT OF NOTHING
DATE : 12018-10-17
QOTE : "Thus it can now be said with confidence for the first time - possibly in the 5000 years' history of banking - that it has been empirically demonstrated that each individual bank creates credit and money out of nothing, when it extends what is called a bank loan. The bank does not loan any existing money, but instead creates new money. The money supply is created as fairy dust produced by the banks out of thin air. The implications are far-reaching."
FILE : 12018-10-17_moneyFromNothing.pdf
UNCONDITIONAL LOVE
DATE : 12018-10-17
QOTE : "I know the secret to happiness. It took years of introspection, observation, and comparison, analyzation, insecurity, but I finally figured it out. It feels like it was under my nose the whole time. All you have to do is learn to appreciate the world. Appreciate everything. Love everything for what it is. Embrace the fact that everything has a reason, don't try to deny anything for the sake of being right. And after all, hasn't true love always been thought of as complete appreciation for a partner with no thoughts or intentions to ever change them? Unconditional love. I understand that term now. Because you realize that no matter how horrible a person's decision might seem, he or she has a reason for it. Nobody is a bad person, some just have a little more weighing on their conscience."
AGM SEALED
DATE : 12018-10-20
NOTE
> Sealed batteries are not sealed
- aka "VRLA (valve-regulated lead-acid battery)"
PROJ : Solar, Van
TAGS : electronics
WHY WATER BATTERIES
DATE : 12018-10-20
NOTE : "When a charge current flows through a fully charged conventional lead acid cell, electrolysis of water occurs to produce hydrogen from the negative electrode and oxygen from the positive electrode. This means that water is lost from the cell and regular topping up is needed."
FILE : 12018-10-21_sbs.pdf
LINK : https://download.siliconexpert.com/pdfs/2013/7/7/8/20/13/16/ens_/manual/ensbs_pg_001_0203.pdf
PROJ : Solar, Van
TAGS : electronics, solar
SBS 100F
DATE : 12018-10-22
NOTE
> Recommended operating temperature range for optimum life and performance is 20°C to 25°C
- On constant voltage float charge systems the design life expectancy is 10+ years at 25°C and 15+ years at 20°C
- Can be operated in the temperature range -40°C to 50°C
- Battery capacity is affected by the discharge rate, end voltage, temperature and age.
- Battery life is reduced by 50% for every 10°C increase in temperature.
> Can be installed in any orientation except upside down (vents on the bottom)
> Flame retardant (UL94 V-0) case
> Gas emission is virtually negligible
> Constant voltage chargers are recommended. The acceptable float voltage range is 2.27-2.29Vpc at 20ºC and 2.25-2.27Vpc at 25ºC
- 13.62-13.74v float at 20ºC
- 13.50-13.62v float at 25ºC
- 2.27Vpc + 0.004 mV per cell per °C below 25°C
- 2.27Vpc 0.004 mV per cell per °C above 25°C
> Recommended float voltage temperature compensation is:
- 10ºC: 2.33 Vpc
- 15ºC: 2.31 Vpc
- 20ºC: 2.29 Vpc
- 25ºC: 2.27 Vpc
- 30ºC: 2.25 Vpc
- 35ºC: 2.23 Vpc
- 40ºC: 2.21 Vpc
- The minimum charging voltage, at any temperature, is 2.21Vpc
> Do not discharge the battery beyond the voltage cut-off limit for the given discharge rates:
- 1.80Vpc @ 10 hr rate
- 1.75Vpc @ 8 hr rate
- 1.75Vpc @ 5 hr rate
- 1.70Vpc @ 3 hr rate
- 1.60Vpc @ 1 hr rate
- 1.60Vpc @ 15 min rate
> Every six months maintenance
- Measure battery string voltage
- temperature
- float current
- inter-module resistances and internal ohmic values
- if necessary adjust the float voltage to the correct value
- The individual module voltages must be within ± 0.30V of the nominal float voltage
- Inspect for contamination by dust and loose or corroded connections
> The battery and ambient temperatures can be significantly different. Batteries have a large thermal mass, and there is a substantial time lag between changes in ambient and battery temperature. Sensors on the side of blocs should be insulated from ambient temperature. Place thermometer sensor:
- Front terminal models - in the centre of the side wall of a bloc, in the middle of the string
- Top terminal models - attached by a ring terminal to the terminal of a bloc in the middle of a string
> There is no limit on the charging current provided the float voltage is set at the recommended value as the battery itself will regulate the current, accepting only as much as is required to reach float voltage.
- Fast charge 2.38 volts per cell at 25°C (14.28v)
- However, it is recommended that this higher potential only be applied until the charging current remains constant for a period of two hours. The voltage should then be set at the recommended float voltage.
FILE
> 12018-10-21_sbs.pdf
> 12018-10-21_sbs2.pdf
PROJ : Solar, Van
TAGS : electronics, solar
WIRE SIZING
DATE : 12018-10-22
TYPE : tool
LINK : http://www.solar-wind.co.uk/cable-sizing-DC-cables.html
PROJ : Solar, Van
TAGS : electronics, solar
SOLAR FUZES
DATE : 12018-10-22
NOTE
> Why
- Fuzes are to protect the wiring from damage in the case of a short or surge.
- It acts as the weakpoint in the curcuit, so if something goes wrong it will break where you expect (the fuze) rather than heat up and melt/burn wires which can cause a hazard (fire).
- Fuse on positive wire for convension's sake.
- Fuse as close to power source as reasonable.
> Fuze requirements
- between PV and CC
- between CC and BB
- between BB and inverter
> Fuze sizing
- https://www.renogy.com/blog/how-to-fuse-your-solar-system/
- CC to BB - match amperage of CC.
- eg: 30a CC = 30a fuze.
- PV to CC - PV output + 25% rounded up to nearest fuze.
- eg: 24v 15a PV setup = 20a fuze.
- BB to inverter - see inverter's manual. General rule: “Continuous Watts / Battery Voltage times 1.25"
- eg: 1000W 12V inverter draws up 83~ continuous amps + 25% safety factor = 105 Amps, round up to 150a fuse.
PROJ : Solar, Van
TAGS : electronics, solar
LUGS (TERMINALS)
DATE : 12018-10-22
NOTE
> Battery Bank: ring terminal lug (depends on battery connection). Match thickness to BB wire thickness and hole size to battery connection.
- eg: 25mm2 BB wire and M6 battery connector = 25x6 ring terminal lug.
> Solar panels (PV): MC4 connectors must all be the same source/brand for certification.
PROJ : Solar, Van
TAGS : electronics, solar
TRACER BN COMMS
DATE : 12018-10-23
TYPE : tool
LINK
> https://github.com/danieloneill/EpsolarServer
> https://github.com/jaminNZx/Tracer-RS485-Modbus-Blynk
> https://github.com/toggio/PhpEpsolarTracer
PROJ : Solar, Van
TAGS : electronics, solar
SELF MASTO FEDI
DATE : 12018-10-23
LINK
> https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/
> https://github.com/wimvanderbauwhede/limited-systems/wiki/Mastodon-and-Pleroma-on-the-Raspberry-Pi-3
INUKTITUT SYLLABIC
DATE : 12018-10-24
NOTE : Inuktitut syllabics are brilliant. A writing system that's not an alphabet, but something really clever: an abugida, one designed from scratch for a language very unlike anything European. [Pull down the description!] Context and history:
LINK
> https://www.youtube.com/watch?v=xW4hI_METac
> https://www.noslangues-ourlanguages.gc.ca/collaborateurs-contributors/articles/inuk-eng.html
> https://thediscoverblog.com/2015/06/11/aboriginal-syllabic-scripts/
PROJ : Swordy
OGHAM
DATE : 12018-10-24
NOTE : Ogham is an old Irish script made by carving notches into stones. It fell out of use more than a millennium ago - but it's an interesting exception to a linguistics and computer-science rule that I'd never even realised existed. Let's talk about the Ogham Space Mark.
PROJ : Swordy
ALTERNATOR CHARGING OPTIONS
DATE : 12018-10-24
NOTE
- VSR (Voltage sensing relay)
- ACR (Automatic Charging Relay)
- B2B charger
- Manual switch
- Basic Relay (signal connected to van acc on)
- Diode Based Isolator
PROJ : Van
TAGS : electronics
VAN ELECTRICAL GUIDES
LINK
> https://faroutride.com/electrical-system/
> https://gnomadhome.com/van-build-solar-electrical-wiring/
> https://www.parkedinparadise.com/electrical/
PROJ : Van
TAGS : electronics
TYPE : list
BATTERY BANK WIRING
LINK : http://www.smartgauge.co.uk/batt_con.html
FILE : 12018-10-25_bbwire.pdf
PROJ : Van
TAGS : electronics
NCASE REMEMBER
LINK : https://ncase.me/remember/
NOTE : Anki style interactive comic
DESIGN PILLARS
DATE : 12018-10-28
TAGS : core
TYPE : term
TERM
> Design pillars: Narrowed focus core aspects to steer design and development toward to cohesive whole
NOTE
> Known by entire team.
> Established early and referenced (check project/decisions against) throughout development.
> Example: The Last of Us
- Crafting
- Story
- AI partners
- Stealth
LINK : https://www.youtube.com/watch?v=-Sq0nc5LxCc
LOG LINE
DATE : 12018-10-28
TAGS : core
TYPE : term
TERM
> Log line: "a one (or occasionally two) sentence description that boils the script down to its essential dramatic narrative in as succinct a manner as possible."
ANTI-FRAGILITY
DATE : 12018-10-29
TYPE : term
TERM : Antifragility: "a property of systems that increase in capability, resilience, or robustness as a result of stressors, shocks, volatility, noise, mistakes, faults, attacks, or failures."
LINK
> https://www.youtube.com/watch?v=uWYYbRxWS7Q&index=1&list=WL
> https://en.wikipedia.org/wiki/Antifragility
TAGS : antifragile
METAPHASES
DATE : 12018-10-30
TYPE : music
AUTH : kodedninja
LINK : https://0x22.bandcamp.com/album/metaphases
TAGS : ambient, calm
ORKL
DATE : 12018-10-29
TYPE : tool
AUTH : kodedninja
LINK : https://github.com/kodedninja/orkl
NOTE : reference for memex loading (spinner)
TAGS : p2p, dat, blog
WITH LOVE FROM VERY SMALL PLACES
DATE : 12018-10-30
TYPE : music
AUTH : kodedninja
TAGS : ambient, calm
LINK : https://0x22.bandcamp.com/album/with-love-from-very-small-places

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

View File

@ -52,8 +52,6 @@ function Main()
this.load = function(target)
{
console.log('main.load: ' + target)
document.activeElement.blur();
if (this.queryCur !== 'add')
{

View File

@ -20,11 +20,13 @@ function View()
SHOWLINK: true,
SHOWLOWER: true,
SHOWTAGS: true,
SHOWPROJ: true,
SHOWNOTE: true,
SHOWQOTE: true,
SHOWTERM: true,
SHOWPROG: true,
SHOWIMAG: true,
SHOWFILE: true,
SHOWOVERLAY: true
}
@ -50,22 +52,21 @@ function View()
this.display = function(db)
{
console.log('display ' + db)
if (window.showAdd !== undefined && window.showAdd)
{
main.add.setOverlay(false);
}
// BUILD
this.grid.innerHTML = '';
var dbKeys = Object.keys(db);
var i = 0;
let dbKeys = Object.keys(db);
let i = 0;
let contentHtml = '';
while (i < dbKeys.length)
{
this.buildEntry(db, dbKeys[i]);
contentHtml += this.buildEntry(db, dbKeys[i]);
i++;
}
this.grid.innerHTML = contentHtml;
// LAYOUT
if (SETTINGS.USEMASONRY)
@ -74,19 +75,23 @@ function View()
this.msnry.layout();
}
var imgLoad = imagesLoaded( container );
let imgLoad = imagesLoaded( container );
// When all images finish: redo mansonry layout
imgLoad.on( 'always', function() { parent.msnry.layout(); } );
}
this.isDefined = function(value)
{
return (typeof value !== 'undefined');
}
this.buildEntry = function(db, key)
{
let value = db[key];
let itemClass = "griditem";
if (SETTINGS.WIDEGRIDITEM)
{
if (typeof value.WIDE !== 'undefined' && value.WIDE)
if (this.isDefined(value.WIDE) && value.WIDE)
{
itemClass += " griditem-wide";
}
@ -111,8 +116,7 @@ function View()
// ITEM DIV
entry += `<div class="${itemClass}" id="${SETTINGS.GRIDITEMIDBASE + value.DIID}">`;
if (typeof value.LINK !== 'undefined')
if (this.isDefined(value.LINK))
{
var idUrl = "url";
if (typeof value.SEEN !== 'undefined' && value.SEEN === "true")
@ -123,7 +127,11 @@ function View()
// LINK START
if (SETTINGS.SHOWLINK)
{
entry += `<a class="griditem-link" href="${String(value.LINK)}" id="${idUrl}">`;
if (typeof value.LINK != 'object')
{
// If this item has only one link then make the whole title the link
entry += `<a class="griditem-link" href="${String(value.LINK)}" id="${idUrl}">`;
}
}
}
@ -199,6 +207,33 @@ function View()
entry += `</div>`;
}
// PROJECT
if (SETTINGS.SHOWPROJ)
{
if (this.isDefined(value.PROJ))
{
entry += `<div class="griditem-proj"><i class="fas fa-leaf textIcon"></i>`;
for (var i = 0; i < value.PROJ.length; i++)
{
entry += `<a class="griditem-taglink" href="#proj-${value.PROJ[i]}">${value.PROJ[i]}</a>`;
if (i + 1 != value.PROJ.length)
{
entry += `, `;
}
};
entry += `</div>`;
}
}
// TERM
if (SETTINGS.SHOWTERM)
{
if (this.isDefined(value.TERM))
{
entry += this.buildArrayElement(value.TERM, "griditem-term", "fas fa-ribbon textIcon");
}
}
// NOTE
if (SETTINGS.SHOWNOTE && typeof value.NOTE !== 'undefined')
{
@ -223,6 +258,26 @@ function View()
entry += `<div class="griditem-prog"><i class="fas fa-clock textIcon"></i>${value.PROG}</div>`;
}
// FILE
if (SETTINGS.SHOWFILE)
{
if (this.isDefined(value.FILE))
{
if (typeof value.FILE == 'object')
{
for (var i = 0; i < value.FILE.length; i++)
{
entry += `<div class="griditem-file"><i class="fas fa-folder-open textIcon"></i><a class="griditem-file-link" href="content/media/${value.FILE[i]}">${value.FILE[i]}</a></div>`;
}
}
else
{
// single
entry += `<div class="griditem-file"><i class="fas fa-folder-open textIcon"></i><a class="griditem-file-link" href="content/media/${value.FILE}">${value.FILE}</a></div>`;
}
}
}
// LOWER CONTENT END
entry += `</div>`;
}
@ -244,8 +299,56 @@ function View()
}
entry += `</div>`;
return entry;
}
this.grid.innerHTML += entry;
this.doTypeIcon = function(type, count)
{
let result = `<a class="griditem-type" href='#type-${String(type)}'>`;
switch (type)
{
case 'article':
result += `<i class="griditem-typeicon far fa-newspaper"></i>`;
break;
case 'podcast':
result += `<i class="griditem-typeicon fas fa-podcast"></i>`;
break;
case 'video':
result += `<i class="griditem-typeicon fas fa-tv"></i>`;
break;
case 'list':
result += `<i class="griditem-typeicon fas fa-file-alt"></i>`;
break;
case 'book':
result += `<i class="griditem-typeicon fas fa-book-open"></i>`;
break;
case 'game':
result += `<i class="griditem-typeicon fas fa-gamepad"></i>`;
break;
case 'service':
result += `<i class="griditem-typeicon fas fa-server"></i>`;
break;
case 'lecture':
result += `<i class="griditem-typeicon fas fa-chalkboard-teacher"></i>`;
break;
case 'quote':
result += `<i class="griditem-typeicon fas fa-comment"></i>`;
break;
case 'tool':
result += `<i class="griditem-typeicon fas fa-wrench"></i>`;
break;
case 'music':
result += `<i class="griditem-typeicon fas fa-music"></i>`;
break;
case 'image':
result += `<i class="griditem-typeicon fas fa-image"></i>`;
break;
case 'encyclopedia':
result += `<i class="griditem-typeicon fas fa-globe"></i>`;
break;
}
result += `</a>`;
return result;
}
this.stats = function(value)
@ -356,11 +459,7 @@ function View()
{
for (var i in data)
{
if (data[i] === "& ")
{
// blank line, do nothing
}
else if (data[i].substring(0, 2) === "> ")
if (data[i].substring(0, 2) == "> ")
{
// New item
if (data[i].includes(": "))
@ -382,6 +481,11 @@ function View()
// New line in current item
result += `<div class="${className}">${data[i].substring(2)}</div>`;
}
else if (data[i].substring(0, 2) == "- ")
{
// Bullet point
result += `<div class="${className}"><i class="fas fa-caret-right textIcon"></i>${data[i].substring(2)}</div>`;
}
else
{
// Handle unformatted

View File

@ -16,17 +16,32 @@ function Wrap()
{
let value = this.database[this.keys[i]];
// TAGS
if (typeof value.TAGS !== 'undefined')
this.database[this.keys[i]].TAGS = this.commaSplit(value.TAGS);
this.database[this.keys[i]].TYPE = this.commaSplit(value.TYPE);
this.database[this.keys[i]].PROJ = this.commaSplit(value.PROJ);
// LINK
if (typeof value.LINK == 'object')
{
var tags = value.TAGS.split(",");
for (var t = 0; t < tags.length; t++)
for (let l = 0; l < value.LINK.length; l++)
{
tags[t] = tags[t].trim().toLowerCase();
if (value.LINK[l].substr(0,2) == '> ')
{
value.LINK[l] = value.LINK[l].substr(2,value.LINK[l].length-1);
}
}
}
this.database[this.keys[i]].TAGS = tags;
// FILE
if (typeof value.FILE == 'object')
{
for (let f = 0; f < value.FILE.length; f++)
{
if (value.FILE[f].substr(0,2) == '> ')
{
value.FILE[f] = value.FILE[f].substr(2,value.FILE[f].length-1);
}
}
}
this.database[this.keys[i]].DIID = i;
@ -57,15 +72,34 @@ function Wrap()
if (splitTarget[0] == 'tag')
{
// TAG
var tagDecoded = decodeURI(splitTarget[1]);
for (let i = 0; i < this.keys.length; i++)
let tagRequest = decodeURI(splitTarget[1]);
for (let i = 0; i < this.keys.length; i++)
{
let value = this.database[this.keys[i]];
if (typeof value.TAGS !== 'undefined')
{
for (var t = 0; t < value.TAGS.length; t++)
for (let t = 0; t < value.TAGS.length; t++)
{
if (value.TAGS[t] == tagDecoded)
if (value.TAGS[t] == tagRequest)
{
tempDatabase[this.keys[i]] = this.database[this.keys[i]];
}
}
}
}
}
if (splitTarget[0] == 'proj')
{
// PROJECT
let projectRequest = decodeURI(splitTarget[1]);
for (let i = 0; i < this.keys.length; i++)
{
let value = this.database[this.keys[i]];
if (typeof value.PROJ !== 'undefined')
{
for (let p = 0; p < value.PROJ.length; p++)
{
if (value.PROJ[p] == projectRequest)
{
tempDatabase[this.keys[i]] = this.database[this.keys[i]];
}
@ -76,15 +110,30 @@ function Wrap()
else if (splitTarget[0] == 'type')
{
// TYPE
var tagDecoded = decodeURI(splitTarget[1]);
for (let i = 0; i < this.keys.length; i++)
{
let typeRequest = decodeURI(splitTarget[1]);
for (let i = 0; i < this.keys.length; i++)
{
let value = this.database[this.keys[i]];
if (typeof value.TYPE !== 'undefined')
{
if (value.TYPE == tagDecoded)
if (typeof value.TYPE == 'object')
{
tempDatabase[this.keys[i]] = this.database[this.keys[i]];
// This entry has multiple types
for (let t = 0; t < value.TYPE.length; t++)
{
if (value.TYPE[t] == typeRequest)
{
tempDatabase[this.keys[i]] = this.database[this.keys[i]];
}
}
}
else
{
// This entry has a single type
if (value.TYPE == typeRequest)
{
tempDatabase[this.keys[i]] = this.database[this.keys[i]];
}
}
}
}
@ -92,9 +141,9 @@ function Wrap()
else if (splitTarget[0] == 'done')
{
// DONE
var doneValue = decodeURI(splitTarget[1]);
for (let i = 0; i < this.keys.length; i++)
{
let doneValue = decodeURI(splitTarget[1]);
for (let i = 0; i < this.keys.length; i++)
{
let value = this.database[this.keys[i]];
if (doneValue == 'true')
{
@ -222,4 +271,18 @@ function Wrap()
return stats;
}
this.commaSplit = function(data)
{
if (data !== undefined)
{
var result = data.split(",");
for (var t = 0; t < result.length; t++)
{
result[t] = result[t].trim().toLowerCase();
}
return result;
}
return data;
}
}