Show newer

Need emojis for a project?

OpenMoji is a collection of free open source emojis. 🥳

openmoji.org/

#opensource #foss #developers #developer #webdesign

Further while trying to extract and format data from PDFs using .

I was trying to create a perfect chain of functions that would format all the edge cases into the final desired format. This is where I quickly realized running every tweaked version of the functions on the 100 page PDF is quite time consuming.

Instead I can run it once and save the results in a database. Then create queries to do post processing on the edge cases while having a good enough way to observe the contents of each page over the pervious method of posting the output into the and scrolling to the desired page. And in the end, I am one step closer of having the data in a file, which is easily exported with .

Show thread

Currently trying to extract and format data from PDFs using .

Initially used the `get_text(value)` method with the `"text"` value, only to learn that I could have potentially saved time directly using the `"html"` value, since I have been creating pattern matchers to format the text into .

After investigation, although the html option exists, the post processing is more strenuous than the initial approach.

My fascination with the `get_text(value)` method is that each value packages the data differently. Where as `"html"` puts the text in `<p><span>text</span></p>`, `"xhtml"` puts it instead in `<h1>text</h1>`.

When starting a new project my preferred methods are 'cowboy coding' and 'jumping in deep end'. This way I can get a feel for the ecosystem and learn all the ways not to do it.

The initial goal is to get it to work and make it maintainable. Later one can always improve it and automate lots of processes.

The downside of such approach, especially if one already knows another language, is that one is more likely than not, not going to follow the best practices and thereby create a Frankenstein project.

This is where documentation should be added, so that if one comes back to the project, one can more easily pick up where one left off.

I'm afraid of a world where we effectively lost democracy and individual agency.

There is enough to go around to allow everyone to live a good life. And AI has the opportunity to add even more value to the world. But this will go with huge disruptions. How we distribute the wealth, value and power in the world is going to be one of the major questions of the 21st century. Again.

#ai #economics

7/7

Show thread

Further it seems that lots of are not familiar of the unmaintained nature of the packaging tool, thus when asking questions regarding how to setup within it will try to resolve the question using .

Show thread

Just realized that is unmaintained since August 2023 and it suggests to use either or . Thus went with the prior and could have potentially resolved a lot of headaches of the past couple of months dealing with breaking plugins.

After backing up and tagging the final packer config version, took the opportunity to set up the starter bundle in the existing git repo.

What astonished me is how similar the starter config aligned with the previous config, especially the keymapping.

Sabot in the Age of AI

Here is a curated list of strategies, offensive methods, and tactics for (algorithmic) sabotage, disruption, and deliberate poisoning.

🔻 iocaine
The deadliest AI poison—iocaine generates garbage rather than slowing crawlers.
🔗 git.madhouse-project.org/alger

🔻 Nepenthes
A tarpit designed to catch web crawlers, especially those scraping for LLMs. It devours anything that gets too close. @aaron
🔗 zadzmo.org/code/nepenthes/

🔻 Quixotic
Feeds fake content to bots and robots.txt-ignoring #LLM scrapers. @marcusb
🔗 marcusb.org/hacks/quixotic.htm

🔻 Poison the WeLLMs
A reverse-proxy that serves diassociated-press style reimaginings of your upstream pages, poisoning any LLMs that scrape your content. @mike
🔗 codeberg.org/MikeCoats/poison-

🔻 Django-llm-poison
A django app that poisons content when served to #AI bots. @Fingel
🔗 github.com/Fingel/django-llm-p

🔻 KonterfAI
A model poisoner that generates nonsense content to degenerate LLMs.
🔗 codeberg.org/konterfai/konterf

While looking into how to drop a commit, I have realized that rewriting the history might be a better option. This option is typically used if one wants to change the email or name of the author.

git-scm.com/book/en/v2/Git-Too

The example code from the site is

```
$ git filter-branch --commit-filter '
if [ "$GIT_AUTHOR_EMAIL" = "schacon@localhost" ];
then
GIT_AUTHOR_NAME="Scott Chacon";
GIT_AUTHOR_EMAIL="schacon@example.com";
git commit-tree "$@";
else
git commit-tree "$@";
fi' HEAD
```

One might need to force the function if one decides to run it multiple times for various `$GIT_AUTHOR_EMAIL`. Alternately, one could append the other emails with the OR operator.

TIL big specialized forums have started backdating millions of LLM-generated posts. Now you cannot be sure a reply from 2009 on some forum for physics or maps or flower or drill enthusiasts haven't been machine-generated and totally wrong.

hallofdreams.org/posts/physics

The idea of using just to fingerprint email clients and browsers is wild. The approach suggested in this repo

github.com/cispa/cascading-spy

and further paper

publications.cispa.de/articles

explain the technique that works even if is disabled.

They further explain that they reached out both to and where such exploits should be mitigated.

One example where such an exploit can cause even more precision is when it is incorporated into attacks. Since the exploit was also able to depict the operating system, meaning one could combine existing exploits for a more targeted attack.

Digital-free is something we should all enjoy more often. Especially in today's current society constantly being bombarded with information. Taking a couple hours of being in the present will question after the situation of how much time we put into distractions just because one doesn't want to be with one's own thoughts and/or doesn't like being bored.

And for those that need to track the fitness activity, one just needs to remember the start and end times plus the route.

After programming a good 2 months in finally found the tool which is quite similar to how bundles libraries into a directory either locally or globally in the cache directory.

I have tried the other tools from to and/or . Where I thought they were used to deal with library dependency management only to realize that they are more like .

I did use for some time, though preferred a python only solution. I do realize that poetry won't resolve all issues and might need to look into to containerization later on, though for the time period it looks like a good solution.

After programming a good 2 months in finally found the tool which is quite similar to how bundles libraries into a directory either locally or globally in the cache directory.

I have tried the other tools from to and/or . Where I thought they were used to deal with library dependency management only to realize that they are more like .

I did use for some time, though preferred a python only solution. I do realize that poetry won't resolve all issues and might need to look into to containerization later on, though for the time period it looks like a good solution.

I've been a full-time developer for over 10 years, and blindly copy-pasting shell commands from the internet is still my go-to mechanism for solving new problems 💪

To this day I still don't know a single character of awk or sed syntax, and I'd like to thank the community for letting me keep it that way.

#linux #dev

Raising $400K in under 48 hours has been absolutely unreal—thank you so much for the support! We’ve added new stretch goals: new colors and transparent cases for both Pilet 5 and Pilet 7, and a detachable keyboard/gamepad module for Pilet 7. Let’s make it happen. kickstarter.com/projects/souls

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.