Skip to main content

Search

Items tagged with: Ruby


We are looking for a new member for our #Mastodon core team to work with @Gargron, @renchap and @Claire on building the Mastodon #backend and web app!

This is a #remote #fulltime position and requires an overlap with the CET timezone.

Ideally:

- You are a #Ruby expert
- With prior experience in maintaining #opensource projects
- Prior knowledge of #ActivityPub is a big plus!

For more info and to apply:

https://jobs.ashbyhq.com/mastodon/de1e4d8a-5639-4b6a-86d7-97bd9c768b02

#FediHire #GetFediHired #hiring


A cybersecurity researcher finds that 20% of software packages recommended by GPT-4 are fake, so he builds one that 15,000 code bases already depend on, to prevent some hacker from writing a malware version.

Disaster averted in this case, but there aren't enough fingers to plug all the AI-generated holes 😬

https://it.slashdot.org/story/24/03/30/1744209/ai-hallucinated-a-dependency-so-a-cybersecurity-researcher-built-it-as-proof-of-concept-malware

#AIethics #Cybersecurity #GPT #OpenAI #LLM #GenAI #GenerativeAI #Python #NodeJS #Ruby #Golang


Anyway, I've now completed a full “solitaire” game of the #Python reimplementation of my #Ruby #IRC #bot #Machiavelli plugin (hashtag galore yeah), so I believe the logic itself to be robust enough. The next step would be to start interfacing it with Mastodon. One thing that worries me is that the table can get rather largish, which may trip the character limit.


So I've started porting my #Machiavelli #Ruby #IRC #bot #plugin (how's that for hashtags, uh?) to #Python, which has been a rather frustrating experience so far. I'm much more comfortable with Ruby than Python, but the languages are similar enough that the differences fall into that grating #uncannyValley experience. Also lots of bugs due to syntactical and behavioral differences (e.g. index() raising an exception instead of returning the null type). But things are moving forward.


Meanwhile I've discovered @halcy has written a #Python library for interfacing with Mastodon
https://github.com/halcy/Mastodon.py
that looks like a *much* better fit for writing the bot, especially since it supports the streaming API which is rather essential in this case. So I'm guessing it's time to start porting my #Ruby code to Python …


I've been thinking that something like @ihabunek `toot` could work as a basis for the bot. I haven't checked yet if it can be used as a #Python library, but worst case scenario I can probably shell out to it and use it literally as just I would any other CLI tool (bonus: I wouldn't have to port the #Ruby code of my #Machiavelli #IRC‌ #bot to Python 8-D).

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.