Dave's Notebook

Data Science, Machine Learning, Artificial Intelligence, Visualization, and Complex Systems.

Still reading about AI and GPT and what's next in this space

March 23, 2023
  • Let's cool dow a bit- A very "food for thought" essay where the euphoria about transformers technology (read GPTs) is brought to sane levels, exposing some of its bias, mistakes, and highlighting the ontological differences between what they are and people's expectations of them.
  • Open AI and Reproducible science Open AI is decommissioning Codex (the one that powers Copilot for example), and this creates a serious problem: What happens to the science produced with / based on Codex? How will someone be able to reproduce the scientific results?
  • Tabnine - This is a code completion / assistant a la Copilot. Just trying this out now and ... well as Copilot, I'm really amazed how AI will transform programming if you keep a human in the AI loop. Tabnine and Copilot are not the only ones and are in what might be called gen. 1 AI assistants. I can't imagine what these space will be in 5 years. But Wow. I want in.

The AI Races for March 22:

March 22, 2023
  • Bill Gates published an extensive article on is blog about how he thinks this is a totally game changer technology. The Age of AI has begun is a must read for anyone interested in these subjects.
  • Mozilla presented the Moz://a.ai, a startup community aiming at building trustworthy and open-source AI. With the rapid advances in the field this will become a must if we don't want some kind of violent reaction to it.

Two main developments in the AI generators world

March 21, 2023

Bard is entering public beta, although not globally. > It sucks big time.

Adobe is entering this crazy world with Firefly. Goodbye Designers, Hello cousin with an internet connection and an Adobe subscription.

And it goes dark

March 20, 2023

:root{color-scheme:only dark}

fuzzy logic shell alias

March 20, 2023

I've used fzf for a long time now. It works great and I'd recommend every power user to use fzf (or any other fuzzy logic search tool)

One of the things I like about using it is to go to the folder of some file I'm working on. For example I use this alias cdf to cd into the file directory.

Just put the following alias in your shell

alias cdf='cd `dirname $(fzf)`'

Then you can cdf, search, press enter and cd into the file's directory. (Well, there's also ALT-C, but who cares)

You migth want to check this blog post about fzf.

Svelte link dump.

March 15, 2023
  • Svelte - The App Framework
  • Sveltekit - The UI Framework (provides routers, etc...)
  • Threlte - The ThreeJS bit that makes this great.

Senhor Clemente, que oportunidade perdida para o arrependimento.

March 06, 2023

A igreja deixou andar a comissão, e agora fez aquilo que já se esperava de uma organização podre até ao tutano. Matou os resultados de uma assentada. Cuspiu na cara das vítimas e ainda se riu. E o pior é que o fez não por uma razão de fé, ou de crença ou qualquer outra coisa, refugiou-se numa artimanha de um estado de direito que é a "produção de prova".

"Se essa lista de nomes for preenchida por factos, tanto nós como as autoridades civis podemos actuar"

O Sr cardeal-patriarca de Lisboa decidiu matar o processo de investigação aos pedófilos da igreja e argumentando que na justiça civil só o é o que se prova. Criou um artefacto para salvar a pele aos amigos pedófilos e predadores sexuais que a igreja portuguesa acoita.

Sr cardeal-patriarca, por vezes sabem-se coisas que não se podem provar.

Ou isso ou então está com medo de PAGAR. Lembre-se que nos estados unidos a igreja terá pago mais de 4 mil milhões (uma tapezinha) desde 1980 a cerca de 17000 vítimas. Será que o este "shutdown" procura servir quem? os cofres da igreja portuguesa? Algumas dioceses nos EUA tiveram que pedir falência por causa dos escândalos, será que por cá já se estão a fazer as contas? é o que parece.

As vítimas sabem coisas que não podem provar e lá porque não se podem provar não quer dizer que não tenham acontecido e que os nomes... sim os nomes que o Sr quer esconder não passam de criminosos que a Igreja, abusando da lei do estado, procura esconder. Talvez, tal como noutros países não se consigam provar todos actos a ponto de condenar, mas talvez como noutros países se possam condenar pelo encobrimento os bispos, arcebispos ou cardeais que o praticam. E se não for possível pela justiça laica de que abusam, pelo menos da justiça divina da sua igreja não escaparão.

Toggling Light Bulb Problem

February 28, 2023

The video published by numberphile a few days ago about the Toggling Light Bulb Problem is very interesting. Here's some code to visualize it in the console.

lights = [0]*100 print("".join(map(str,lights))) for person in range(1,101): prt = [chr(32)]*100 for l in range(1,101): if l % person == 0: lights[l-1]=1-lights[l-1] if lights[l-1]==1: prt[l-1] = chr(9608) print("".join(prt))

No arrendamento, quem se lixa é quem cumpre e já aluga

February 27, 2023
  • Quem converter AL em arrendamento tem benefícios e isenções
  • Off-shores que venderem casas ao estado tem isenções

Esta salganhada do arrendamento que o governo se prepara para criar mostra claramente que vai haver quem vai pagar a fatura, e esse alguém parecem ser os actuais senhorios que já alugam as casas. Então agora se um AL se converter em arrendamento do estado fica com isenção de IRS até 2030? Então alguém que está num mercado competitivo vai ficar com uma vantagem comercial de 25%? A lei da concorrência fica completamente desvirtuada. Os que já fazem aquilo que o estado pretende, pelos vistos podem ser sacrificados pelo estado e pagar a fatura. Vamos bem.

In the slow movement you find great pearls of wisdom.

February 16, 2023

I'm really impressed how much love some people put into small works that are really well crafted. Two websites that have impressed me lately are the Low<–Tech Magazine, a really well thought website with long reads that are inspiring and well written. More, it is powered by solar power! The second website that really impressed me recently is Sloum's, mainly because of the little software utilities he has coded and published. If you have time (and you should have time, or get time) take a look at these.

Beja e Alverca

January 28, 2023

Se cada um destes locais demorar 6 meses a avaliar, lá vai a comissão de avaliação ter que trabalhar mais um ano. Que chatice dirá a comissão. Já ninguém acredita que haja aeroporto novo de Lisboa, agora se calhar já niguém vai acretidar que a comissão consiga acabar o trabalho.

Websites que funcionam apenas em modo texto

January 27, 2023

Já tinha uma lista de websites que funcionam com o JavaScript desligado, e portanto muito mais rápidas.

Agora encontrei uma lista do Sijmen Mulder que tem ainda mais recursos. Alguns já eram conhecidos mas é interessante explorar as novidades.

Small is beautiful

January 27, 2023

I've been around for a long time to remember...

-- Dave, are you going to write that?

... as I was saying, to remember when all we had was small things. Code compiled to small sizes, websites were a few kB, computers were slow, but the slownness didn't come from size of code, slow was just because of lack of chip power. These days we are all spoiled by the abundance of processing power.

That is why this text rings so many rights in a world full of wrongs.

Tools for Modern Research

January 24, 2023

With all the ChatGPT Buzz out there the truth is that there are many very interesting tools to help us write/do better science. Here's a short list:

https://elicit.org/

https://chat.openai.com/chat

https://typeset.io/

https://app.wordtune.com/account/signup?product=read

https://www.explainpaper.com/

https://www.perplexity.ai/

https://www.copy.ai/

https://originality.ai/

https://openai-openai-detector.hf.space/

https://gptzero.me/

And we are in 2023

January 24, 2023

And as usual I change things, this time went with something even simpler.

The old blog still exists and you can read it here.

2023 has to be the year of simplicity and minimalism. Sorry. No time for complex stuff. Life is changing quickly and this blog will be more of a refence point of things that interest me, or that I'll need in the