Working with the Mastodon API in BoxLang / / No Comments So remember a long time ago (Tuesday), when I blogged about using the Bluesky API with BoxLang? As expected, I’m following that up today with a look at using the Mastodon APIs. Personally, I’m down to just two social networks, Bluesky and Mastodon. Originally I was using Mastodon a lot more, but I’ve been vibing with Bluesky more lately so I tend to check it more often. That being said, whenever I release a new blog post, I’ve got an automated process to post to both, so I thought I should cover both for BoxLang as well. Even better… I already did this in ColdFusion! Way back in October 2023, I blogged about the topic and even shared a simple ColdFusion component... more → Posted in: JavaScript Tagged with: BoxLang, Mastodon, working
Working with the Bluesky API in BoxLang / / No Comments I’ve built multiple integrations with the Bluesky API, all making use of either the Node or Python SDK, but I thought I’d take a quick look at what it would take to build a BoxLang integration using the REST API. Turns out it’s pretty easy (with some caveats I’ll explain at the end) – here’s what I built. Authentication To authenticate, you’ll need your username and password for your account. I’m picking this up via environment variables and doing a bit of validations: BS_HANDLE = server.system.environment?.BLUESKY_HANDLE ?: ''; BS_PASSWORD = server.system.environment?.BLUESKY_PASSWORD ?: ''; if(BS_HANDLE == "" || BS_PASSWORD == "")... more → Posted in: JavaScript Tagged with: Bluesky, BoxLang, working
Parsing Markdown in BoxLang – Take 3 / / No Comments Ok, so I promise this will be my last post on using Markdown with BoxLang. At least the last one this month. 😉 I first covered the topic last month, "Parsing Markdown in BoxLang" where I demonstrated using the Flexmark Java library in BoxLang code. I then followed up with a revised edition that used BoxLang’s Java integration a bit nicer. So, those posts are still very valid, still useful for showing you how to make use of the JVM from BoxLang, and with the vast library of open-source Java stuff out there, that’s a good thing. But… you don’t need to do any of that for Markdown, because now it’s even easier! If you prefer to consume this post while listening... more → Posted in: JavaScript Tagged with: BoxLang, Markdown, Parsing, take
Code Break Tomorrow / / No Comments Just a quick note to let my subscribers know that my next Code Break session will be tomorrow, May 19th, at 12PM CST. I plan on continuing my look at Tauri, a platform for using the web platform to build desktop apps. Depending on how much time I’ve got, I may also start playing with a Python platform as well. You can RSVP, or just watch, here: https://cfe.dev/talkshows/codebreak-05192025/. Raymond Camden… more → Posted in: JavaScript Tagged with: Break, code, Tomorrow
Links For You (5/25/25) / / No Comments I missed posting my links post last weekend but I had an absolutely good reason. This previous week was my first week at Foxit and while I’ve only had three days so far, I’m incredibly excited about this new role and being able to introduce a whole suite of new offerings to developers. The next few months are going to be pretty busy and I’m really happy about that. My new job also coincided with a little vacation my wife and I are taking in Saint Louis. While I’ve been in Louisiana for sometime now, I grew up in Saint Louis and love visiting here. (My mom still lives up here.) Yesterday we visited the Missouri Botanical Garden which was beautiful. This isn’t a pretty... more → Posted in: JavaScript Tagged with: 5/25/25, links
Multimodal Support in Chrome’s Built-in AI / / No Comments It’s been a few weeks since I blogged about Chrome’s built-in AI efforts, but with Google IO going this week there’s been a lot of announcements and updates. You can find a great writeup of recent changes on the Chrome blog: "AI APIs are in stable and origin trials, with new Early Preview Program APIs". One feature that I’ve been excited the most about has finally been made available, multimodal prompting. This lets you use both image and audio data for prompts. Now, remember, this is all still early preview and will likely change before release, but it’s pretty promising. As I’ve mentioned before, the Chrome team is asking folks to join the EPP (early... more → Posted in: JavaScript Tagged with: Builtin, Chrome's, MultiModal, Support
My New Role – API Evangelist at Foxit / / No Comments As I mentioned on the blog a few weeks ago, I (finally) landed a new job. The market is beyond tough right now, so I’m very happy that I was able to land a new role, especially one that’s going to be just about perfect for me – API Evangelist for Foxit. I’ll be talking more about my role and what I’m covering later (we’ve got some really cool stuff brewing!) but for now, I can’t wait to get busy again! Raymond Camden… more → Posted in: JavaScript Tagged with: Evangelist, Foxit, Role
JavaScript in the morning, JavaScript in the evening… / / No Comments I’ve been a huge fan of the Intl spec for sometime, having done multiple presentations and blog posts on the topic. Every time I think I’ve explored it completely, I come across another interesting gem. Today I’m going to share one that is possibly not something you would use, but it’s a curious feature of the spec I wanted to dig more into. When formatting dates with Intl.DateTimeFormat, you’ve got a large set of customizations you can use to display dates exactly as you want. I recently came across an interesting part of the formatting options, dayPeriod. According to MDN, this specifies: The formatting style used for day periods like “in the morning”,... more → Posted in: JavaScript Tagged with: Evening, JavaScript, morning