介紹 Agency: 使 AI 與 Go 語言無縫對接
在當今應用開發領域,類似 OpenAI API 等生成式 AI 技術的蓬勃發展正在徹底改變着應用開發的格局。Python 和 JavaScript 等語言已經擁有豐富的資源來支持這些技術,其中 LangChain 就是一個顯著的例子。然而,Go 語言開發者面臨的選擇卻相對有限。LangChainGo,作爲 LangChain 的 Go 語言版本,一直在努力與 Go 的編程理念保持一致,而 Lang ⌘ Read more
Remote community strives to improve health by growing their own fruit and veg in APY Lands
A Central Australian Aboriginal community hopes to improve the health of residents and increase food security by re-establishing a once plentiful orchard that has fallen into disrepair. ⌘ Read more
PEP 737: Unify type name formatting
Add new convenient APIs to format type names the same way in Python and in C. No longer format type names differently depending on how types are implemented. Also, put an end to truncating type names in C. The new C API is compatible with the limited C API. ⌘ Read more
Ignite Realtime Blog: REST API Openfire plugin 1.10.2 released!
Earlier today, we have have performed a maintenance release for the REST API plugin for Openfire. In this release, version 1.10.2, we have made a warning in documentation more visible. This is aimed at reducing confusion around installation with Openfire 4.7.5.
Also in this release a translation into Ukrainian, gracefully provided by community member Yurii Savchuk (svais) and his son Vladislav Savchuk (Bruhmozavr)!
Th … ⌘ Read more
I quickly played with OpenAI’s new Text-To-Speech model to check if it’s an alternative to Google’s API. And wow! English is fantastic and even German is not bad. Just some syllables in German have a weird English accent. But even then, it’s still good. But sadly, it’s also a bit costly. Let’s wait a few months until it gets cheaper and better, and you can enjoy my blog’s “Read aloud” feature even more. 😉 ⌘ Read more
Get Started with the Microcks Docker Extension for API Mocking and Testing
Read how running Microcks as a Docker extension enables developers to swiftly create, test, and iterate on APIs without leaving the Docker environment. ⌘ Read more
more than 90% of all AWS service API endpoints do not support IPv6
Sounds like AWS is instituting an IPv4 tax soon.
ChatGPT Plus?
It’s been a while since ChatGPT was introduced to the world, and after the initial excitement, things seem to have settled down. While there’s still daily news about various services and companies integrating the GPT API into their products, the buzz around it has quieted. At least, that’s how it appears to me. ⌘ Read more
Release Radar · July 2023 Edition
After the last Release Radar, I promised the next one wouldn’t be far away, so here it is. This is the low down on some of the best open source projects that shipped major version updates in July. There’s lots of cool stuff from natural language processing, to APIs, money, and SDKs. I won’t spoil […]
The post Release Radar · July 2023 Edition appeared first on The GitHub Blog. ⌘ Read more
podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.
@prologic@twtxt.net what do you mean when you say “Docker API”? There are multiple possible meanings for that. podman conforms to some of Docker’s APIs and it’s unclear to me which one you say it’s not conforming to.
You just have to Google “podman Docker API” and you find stuff like this: https://www.redhat.com/sysadmin/podman-rest-api
What is Podman’s REST API?Podman’s REST API consists of two components:
- A Docker-compatible portion called Compat API
- A native portion called Libpod API that provides access to additional features not available in Docker, including pods
Or this: https://docs.podman.io/en/latest/markdown/podman-system-service.1.html
The REST API provided by podman system service is split into two parts: a compatibility layer offering support for the Docker v1.40 API, and a Podman-native Libpod layer.
@prologic@twtxt.net My understanding is that podman can talk to the Docker Engine API. It’s just that the commands sometimes have different names in the podmanverse. I think–never used those features.
Advice for Operating a Public-Facing API ⌘ Read more
How to add basic authentication in Iris
Iris is a fast, simple yet fully featured and very efficient web framework for Go. It provides a beautifully expressive and easy to use foundation for your next website or API. One of the features that Iris offers the middleware/basicauth sub-package, which allows you to implement basic authentication for your web applications. 1 points posted by iris-go ⌘ Read more
Social media trap
reddit going dark (a protest action by many subreddit moderators over some planned API changes) reminds me that I should probably stop scrolling through Reddit so much. Reddit is a social network, and as such it attracts you with new content almost every time you visit. Which can be addictive. I once had a profile that I deleted because I wanted to leave all social media. But I fell into the same trap again. ⌘ Read more
PEP 714: Rename dist-info-metadata in the Simple API
This PEP renames the metadata provided by PEP 658 in both HTML and JSON formats of the Simple API and provides guidelines for both clients and servers in how to handle the renaming. ⌘ Read more
gateboard provides autodiscovery for API IDs in AWS API Gateway private APIs.
1 points posted by Everton Marques ⌘ Read more
Announcing GitHub Actions Deployment Protection Rules, now in public beta
Create and share your own deployment protection rules, or use the rules from our great partners, like Datadog, Honeycomb, New Relic, NodeSource, Sentry, and ServiceNow, to control your deployments with more confidence. And the API is open for the community to build their own rules to make GitHub Enterprise Cloud even better. ⌘ Read more
Excelize 2.7.1 Released - Go language API for spreadsheets (Excel) files. #Golang #Excelize href=”https://we.loveprivacy.club/search?q=%23Excel”>#Excel**
1 points posted by xuri ⌘ Read more
On my blog: Mastodon’s API (The Pitfalls) https://john.colagioia.net/blog/2023/03/29/mastodon-api.html #mastodon #programming #techtips
🌠 Improved Community Updates & Task Searching
New folder plugins, LLM powered plugins, plugin APIs, improved audio notes support, and some neat new public vaults. ⌘ Read more
Alexander Gnauck: XmppDotNet announcement
I want to announce the availability of the XmppDotNet XMPP library.
XmppDotNet is the new name and next generation of our MatriX vNext XMPP library.
Why changing the name?
It was never intended to keep vNext in the name forever. And there is a lot of confusion between MatriX and MatriX vNext at some of our existing customers. Most of them expect both libraries to be fully API compati … ⌘ Read more
Alexander Gnauck: XmppDotNet announcement
I want to announce the availability of the XmppDotNet XMPP library.
XmppDotNet is the new name and next generation of our MatriX vNext XMPP library.
Why changing the name?
It was never intended to keep vNext in the name forever. And there is a lot of confusion between MatriX and MatriX vNext at some of our existing customers. Most of them expect both libraries to be fully API compati … ⌘ Read more
I documented how I’ve been using the #Plume API to create posts, hopefully somebody might find it useful https://ouvaton.link/bGTcdV
I’m currently validating the use of the OpenAI API as a cheaper and more powerful alternative to the Google Translate API. I hope my plans succeed and there will be a new GoBlog plugin with some AI power soon. ✨ So far the OpenAI API is quite easy to use, I thought it would be more complicated. Philipp is already using the API for his diary, another cool idea (which I may copy someday). ⌘ Read more
🌠 New APIs, + Curated Lists for Vim Users & Interoperability Fans
Digital Decluttering, GitHub Auto Scans, Obsidian on e-ink devices, & a handy autohotkey script for folks who want to control youtube in the background. ⌘ Read more
Lindypress Bug Fix
Just a brief note that for the past couple of days, you might’ve been unable to buy books on LindyPress.net if you are in the United States, Canada or Australia (which is a lot of you). This has now been fixed, so you can place your orders now!
The issue was that there was a silent API update that kept addresses from validating states and provinces. Note that if your order placed, it’s all okay, this is only for people for whom the site would not let place an order.
… ⌘ Read more
Lindypress Bug Fix
Just a brief note that for the past couple of days, you might’ve been unable to buy books on LindyPress.net if you are in the United States, Canada or Australia (which is a lot of you). This has now been fixed, so you can place your orders now!
The issue was that there was a silent API update that kept addresses from validating states and provinces. Note that if your order placed, it’s all okay, this is only for people for whom the site would not let place an order.
… ⌘ Read more
Prosodical Thoughts: Prosody 0.12.3 released
We are pleased to announce a new minor release from our stable branch.
This is a bugfix release for our stable 0.12 series. Most notably, it fixes a
regression for SQL users introduced in 0.12.2, and a separate long-standing
compatibility issue with archive stores on certain MySQL/MariaDB versions.
It also fixes an issue with websockets discovered by the Jitsi team, some
issues with our internal HTTP client API, and we’ve improved the accuracy of
‘prosodyctl check dns’ in … ⌘ Read more
PEP 708: Extending the Repository API to Mitigate Dependency Confusion Attacks
Dependency confusion attacks, in which a malicious package is installed instead of the one the user expected, are an increasingly common supply chain threat. Most such attacks against Python dependencies, including the recent PyTorch incident, occur with multiple package repositories, where a dependency expected to come from one repository (e.g. a custom index) is installed from another (e.g. PyPI). ⌘ Read more
Yet another AI application
AI is currently finding its way more and more into various software. There is ChatGPT, which sometimes feels like an all-knowing human, DeepL uses artificial intelligence not only for its translator, but also for its new tool that improves written text, or Bunny.net provides an API to generate images “on the edge”. ⌘ Read more
RT by @mind_booster: O Twitter vai agora cobrar pelo uso da sua API, o que entre outras coisas significa que é preciso pagar para ter bots a rolar. Por isso devemos encerrar brevemente o @PureDeNoticias aqui; ele continuará a distribuir combinações insólitas no fediverso: https://ciberlandia.pt/@puredenoticias
O Twitter vai agora cobrar pelo uso da sua API, o que entre outras coisas significa que é preciso pagar para ter bots a rolar. Por isso devemos encerrar brevemente o [@PureDeNoticias](https://nitter.net/PureD … ⌘ Read more
@abucci@anthony.buc.ci see here in the okta docs: https://developer.okta.com/docs/reference/api/webfinger/ they are adding a prefix to the acct
Excelize 2.7.0 Released – Go API for spreadsheet (Excel) #golang #Excel #excelize href=”https://we.loveprivacy.club/search?q=%23spreadsheet”>#spreadsheet**
1 points posted by xuri ⌘ Read more
December Extensions Roundup: Improving Visibility for Your APIs and Images
Check out the new Akita and Dive-In Docker Extensions released in December. ⌘ Read more
Erlang Solutions: GraphQL interfaces in MongooseIM 6.0
MongooseIM is a robust, scalable and highly extensible instant messaging server. Recent releases have improved its configurability and opened new use cases, and the latest version 6.0 continues that trend. By introducing the brand new GraphQL API, we made MongooseIM much easier to integrate with external web services. The entry barrier is also lower than ever because of the automatically generated API documentation, interactive web UI, an … ⌘ Read more
November Extensions Roundup: Kubernetes Observability, API Testing, and More
Find out what’s new this month in the Docker Extension Marketplace! ⌘ Read more
To infinity and beyond: enabling the future of GitHub’s REST API with API versioning
We’re introducing calendar-based versioning for our REST API, so we can keep evolving our API, whilst still giving integrators a smooth migration path and plenty of time to update their integrations. ⌘ Read more
🌠 Doom! & Scrollable Daily Notes
A request for python devs to help out with the community hub vault, a new comprehensive tutorial for beginners, & discussion of YAML APIs. ⌘ Read more
Automate API Tests and Debug in Docker With Postman’s Newman Extension
Postman’s Newman Docker Extension helps you run, test, debug, and visualize Postman API calls. Learn how to use this powerful new extension and run collections in Docker Desktop. ⌘ Read more
Ignite Realtime Blog: REST API Openfire plugin 1.10.1 released!
We are happy to announce the immediate availability of version 1.10.1 of the REST API plugin for Openfire!
This is a bugfix release, that will improve the endpoints that make modifications to MUC rooms.
The updated plugin should become available for download in your Openfire admin console in the course of the next few hours. Alternatively, you can download the plugin directly, from [the plugin’s archive page](https:// … ⌘ Read more
Creating an API using Go and sqlc
1 points posted by Elton Minetto ⌘ Read more
PEP 700: Additional Fields for the Simple API for Package Indexes
PEP 691 defined a JSON form for the “Simple Repository API”. This allowed clients to more easily query the data that was previously only available in HTML, as defined in PEP 503. ⌘ Read more
Ignite Realtime Blog: REST API Openfire plugin 1.10.0 released!
We are happy to announce the immediate availability of version 1.10.0 of the REST API plugin for Openfire!
This release will see the performance on lookups of MUC rooms based on case-insensitive room names, or non-existing rooms. This will be particularly notable in systems that hold many chat rooms.
Another feature that is added is that basic statistics on REST endpoint usage are now exposed. These can be viewed thro … ⌘ Read more
Tigase Blog: Tigase XMPP Libraries
Our software philosophyActually nothing new and nothing surprising here. We want to have as much of a reusable code as possible. And this
reusable code should have a simple but powerful API to be useful for quickly creating software.
That’s it.
And this is how we design and develop our XMPP libraries. Check them out.
Documentation to all our projects is available online and sample codes? Take a look at our XMPP Chat apps which are
open source too. ⌘ Read more
September Extensions Roundup: Test APIs, Use Oracle SQLcl, and More
Find out what’s new this month in the Docker Extension Marketplace! Access InterSystems, test APIs, use Oracle SQLcl, and backup/share volumes — right from Docker Desktop. ⌘ Read more
PEP 697: C API for Extending Opaque Types
Add limited C API for extending types whose struct is opaque, by allowing code to only deal with data specific to a particular (sub)class. ⌘ Read more
Excelize 2.6.1 Released - Go language API for spreadsheets (Excel) files #golang href=”https://we.loveprivacy.club/search?q=%23excelize”>#excelize**
1 points posted by xuri ⌘ Read more
Progress! so i have moved into working on aggregates. Which are a grouping of events that replayed on an object set the current state of the object. I came up with this little bit of generic wonder.
type PA[T any] interface {
event.Aggregate
*T
}
// Create uses fn to create a new aggregate and store in db.
func Create[A any, T PA[A]](ctx context.Context, es *EventStore, streamID string, fn func(context.Context, T) error) (agg T, err error) {
ctx, span := logz.Span(ctx)
defer span.End()
agg = new(A)
agg.SetStreamID(streamID)
if err = es.Load(ctx, agg); err != nil {
return
}
if err = event.NotExists(agg); err != nil {
return
}
if err = fn(ctx, agg); err != nil {
return
}
var i uint64
if i, err = es.Save(ctx, agg); err != nil {
return
}
span.AddEvent(fmt.Sprint("wrote events = ", i))
return
}
This lets me do something like this:
a, err := es.Create(ctx, r.es, streamID, func(ctx context.Context, agg *domain.SaltyUser) error {
return agg.OnUserRegister(nick, key)
})
I can tell the function the type being modified and returned using the function argument that is passed in. pretty cray cray.
Ignite Realtime Blog: REST API Openfire plugin 1.9.1 released!
Woopsie doodle! It turns out that a rather annoying bug was introduced in version 1.9.0 of the REST API plugin for Openfire, that we released earlier today!
To avoid unnecessary issues, we’ve decided to follow up with an immediate new release that addresses this issue. … ⌘ Read more
Ignite Realtime Blog: REST API Openfire plugin 1.9.0 released!
We have released version 1.9.0 of the Openfire REST API plugin! This version adds functionality and provides some bug fixes that relates to multi-user chat rooms.
The updated plugin should become available for download in your Openfire admin console in the course of the next few hours. Alternatively, you can download the plugin directly, from [the plugin’s archive page](https://www.igniterealtime.org/projects/openfire/pl … ⌘ Read more