all repos — gemini-redirect @ 920dbf76a2de03bdf23db741d4ca79433c7e3b7e

blog/ribw/index.html (view raw)

 1<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta name=description content="Official Lonami's website"><meta name=viewport content="width=device-width, initial-scale=1.0, user-scalable=yes"><title> Lonami's Blog </title><link rel=stylesheet href=/style.css><body><article><nav class=sections><ul class=left><li><a href=/>lonami's site</a><li><a href=/blog class=selected>blog</a><li><a href=/golb>golb</a></ul><div class=right><a href=https://github.com/LonamiWebs><img src=/img/github.svg alt=github></a><a href=/blog/atom.xml><img src=/img/rss.svg alt=rss></a></div></nav><main><h1 class=title>Information Retrieval and Web Search</h1><p id=welcome onclick=pls_stop()>Welcome to my blog!<p>Here I occasionally post new entries, mostly tech related. Perhaps it's tips for a new game I'm playing, perhaps it has something to do with FFI, or perhaps I'm fighting the borrow checker (just kidding, I'm over that. Mostly).<hr><ul><li><a href=https://lonami.dev/blog/ribw/final-nosql-evaluation/>Privado: Final NoSQL evaluation</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/a-practical-example-with-hadoop/>A practical example with Hadoop</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/introduction-to-hadoop-and-its-mapreduce/>Introduction to Hadoop and its MapReduce</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/googles-bigtable/>Google’s BigTable</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/developing-a-python-application-for-mongodb/>Developing a Python application for MongoDB</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/what-is-elasticsearch-and-why-should-you-care/>What is ElasticSearch and why should you care?</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/how-does-googles-search-engine-work/>How does Google’s Search Engine work?</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/integrating-apache-tika-into-our-crawler/>Integrating Apache Tika into our Crawler</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/pc-crawler-evaluation-2/>Privado: PC-Crawler evaluation 2</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/nosql-evaluation/>Privado: NoSQL evaluation</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/upgrading-our-baby-crawler/>Upgrading our Baby Crawler</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/mongodb-basic-operations-and-architecture/>MongoDB: Basic Operations and Architecture</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/nosql-databases-basic-operations-and-architecture/>Cassandra: Basic Operations and Architecture</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/mongodb-an-introduction/>MongoDB: an Introduction</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/cassandra-an-introduction/>Cassandra: an Introduction</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/pc-crawler-evaluation/>Privado: PC-Crawler evaluation</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/build-your-own-pc/>Build your own PC</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/introduction-to-nosql/>Introduction to NoSQL</a><span class=dim> </span><li><a href=https://lonami.dev/blog/ribw/about-boolean-retrieval/>About Boolean Retrieval</a><span class=dim> </span></ul><script>
 2    const WELCOME_EN = 'Welcome to my blog!'
 3    const WELCOME_ES = '¡Bienvenido a mi blog!'
 4    const APOLOGIES = "ok sorry i'll stop"
 5    const REWRITE_DELAY = 5000
 6    const CHAR_DELAY = 30
 7    const welcome = document.getElementById('welcome')
 8
 9    let deleting = true
10    let english = false
11    let stopped = false
12
13    const pls_stop = () => {
14        stopped = true
15        welcome.innerHTML = APOLOGIES
16    }
17
18    const begin_rewrite = () => {
19        if (stopped) {
20            // now our visitor is angry :(
21        } else if (deleting) {
22            if (welcome.innerHTML == '…') {
23                deleting = false
24            } else {
25                welcome.innerHTML = welcome.innerHTML.slice(0, -1) || '…'
26            }
27            setTimeout(begin_rewrite, CHAR_DELAY)
28        } else {
29            let text = english ? WELCOME_EN : WELCOME_ES
30            welcome.innerHTML = text.slice(0, welcome.innerHTML.length + 1)
31            deleting = welcome.innerHTML.length == text.length
32            english = deleting - english
33            setTimeout(begin_rewrite, deleting ? REWRITE_DELAY : CHAR_DELAY)
34        }
35    }
36
37    setTimeout(begin_rewrite, REWRITE_DELAY)
38</script></main><footer><div><p>Share your thoughts, or simply come hang with me <a href=https://t.me/LonamiWebs><img src=/img/telegram.svg alt=Telegram></a> <a href=mailto:totufals@hotmail.com><img src=/img/mail.svg alt=Mail></a></div></footer></article><p class=abyss>Glaze into the abyss… Oh hi there!