oliviersm199/Tweet-Generator
The Tweet Generator uses a Markov chain to generate random tweet based off of past tweets. It uses Python and the Twitter API to obtain the last 200 tweets from a particular user, organizes them into a JSON tree structure and then executes a random walk on that tree structure. This results in sometimes hilarious sometimes nonsense tweets that mimic the Twitter user’s past tweets.
Language: Py … ⌘ Read more
How Docker Desktop Networking Works Under the Hood
Modern applications make extensive use of networks. At build time it’s common to apt-get/dnf/yum/apk install a package from a Linux distribution’s package repository. At runtime an application may wish to connect() to an internal postgres or mysql database to persist some state, while also calling listen() and accept() to expose APIs and UIs over TCP […]
The post [How Docker Desktop Networking Works Under the Hood](https://www.docker.com … ⌘ Read more
GoCN 每日新闻 (2022-01-09)
- 带你探究 Go 语言的 iotahttps://mp.weixin.qq.com/s/V5iJgcLhCYMZd5l8akfbVQ
- 项目实战:使用 Fiber + Gorm 构建 REST APIhttps://mp.weixin.qq.com/s/RqUOLP-OG_wOpCzxVTAl6w
- Effective Error Handling in Golanghttps://earthly.dev/blog/golang-errors/
- 为什么不在 golang 中构建一个 redis 客户端[https://mauricio.github.io/2022/0 … ⌘ Read more
GoCN 每日新闻 (2022-01-06)
- Golang profiler 笔记https://github.com/DataDog/go-profiler-notes/blob/main/README.md
- Bundling templates with embedhttps://osinet.fr/go/en/articles/bundling-templates-with-embed/
- Go 通过 Map/Filter/ForEach 等流式 API 高效处理数据https://gocn.vip/topics/20922
- 滴滴夜莺监控发布 v5 正式版,定位 Promet … ⌘ Read more
GoCN 每日新闻(2022-01-04)
GoCN 每日新闻(2022-01-04)- 「GoCN 酷 Go 推荐」go 语言位操作库 — bitsethttps://mp.weixin.qq.com/s/UcuKgKnt4fwrg3c-UHc3sw
- Go 通过 Map/Filter/ForEach 等流式 API 高效处理数据https://mp.weixin.qq.com/s/7ATm_Zu7ib9MXf8ugy3RcA
- 优化 Go 二进制文件的大小[https://prog.world/optimizing-the-size-of-the-go-binary](https://prog.world/optimizing-the-si … ⌘ Read more
What’s new in dubbo-go-pixiu 0.4.0
Dubbo-go-pixiu 是一款高性能 API 网关,支持 Dubbo 和 Http 等多种协议。具体介绍文章可以参考 《Dubbo 跨语言调用神兽:dubbo-go-pixiu》。
近期社区发布了 0.4.0 版本,具体请查看 v0.4.0。相关改进实在太多,本文只列出相关重大 feature、bugfix 、 性能提升项。
1 动态从 Spring Cloud 和 Dubbo 注册中心拉取路由和集群配置数据Pixiu 原本依赖本� … ⌘ Read more
Go 通过 Map/Filter/ForEach 等流式 API 高效处理数据
什么是流处理如果有 java 使用经验的同学一定会对 java8 的 Stream 赞不绝口,极大的提高了们对于集合类型数据的处理能力。
”`
int sum = widgets.stream()
<span class="o">.</span><span class="na">filter</span><span class="o">(</span><span class= ... ⌘ [Read more](https://gocn.vip/topics/20922)```
喜报!GoFrame 开源项目获得,2021 年度开源中国最受欢迎开源项目奖!
喜报!GoFrame 开源项目获得,2021 年度开源中国最受欢迎开源项目奖!
感谢感谢所有社区团队小伙伴的辛勤付出!
… ⌘ Read moreGoCN 每日新闻(2021-12-22)
GoCN 每日新闻(2021-12-22)- 使用 Go 和 SQLite 构建生产应用程序
- 使用 context.Context 模拟 API 客户端https://incident.io/blog/golang-client-mocks
- 一种可嵌入的 Go 脚本语言,实现了逻辑编程语言 Prologhttps://github.com/ichiban/prolog
- SSA:终于知道编译器偷摸做了哪些事[https://mp.weixin.qq.com/s/nOhMsMeP1pUFEXKAMUzbWg](https://mp.weixin.qq.com/ … ⌘ Read more
Instead of banging my head on Advent of Code, I coded something useful today: Text-to-Speech for GoBlog using the official Google Text-to-Speech API. When posting, an audio file is generated automatically from the post content. And, I have to praise myself for this, I documented the feature as well! 😄 ⌘ Read more
GoCN 每日新闻 (2021-12-16)
GoCN 每日新闻 (2021-12-16)
Go1.18 泛型初体验https://gocn.vip/topics/20855
Ingress API 的增强属性https://github.com/ksrichard/easyraft
使用 eBPF 代替 iptables 优化服务网格数据面性能https://mp.weixin.qq.com/s/r7Yomt1u_EWrngAEPiBJiA
Go Modules 的前世今生与基本使用[https://mp.weixin.qq.com/s/mTQbKcNFXu7Fqcr5SDX2qA](http … ⌘ Read more
PEP 674: Disallow using macros as l-value
Incompatible C API change disallowing using macros as l-value to allow
evolving CPython internals and to ease the C API implementation on other
Python implementation. ⌘ Read more
👋 Q&A: Let’s discuss the removal of Editing and Deleting your last Twt. This is something @fastidious@twtxt.net has raised to me on IRC and something I find quite a valid approach to this. Over time I believe the utility and value of “Editing” and “Deleting” one’s last Twt isn’t as valuable as we’d like and increased complexity and introduces all kinds of side-effects that are hard to manage correctly. I vote for the removal of this feature from yarnd, the mobile app nor API support this anyway…
NewsCatcher News API ⌘ Read more
PEP 670: Convert macros to functions in the Python C API
Convert macros to static inline functions or regular functions. ⌘ Read more
Paul Schaub: A Simple OpenPGP API
In this post I want to share how easy it is to use OpenPGP using the Stateless OpenPGP Protocol (SOP).
I talked about the SOP specification and its purpose and benefits already in past blog posts. This time I want to give some in-depth examples of how the API can be used in your application.
There are SOP API implementations available in different languages like Java and Rust. They have in common, that they are based around the [State … ⌘ Read more
Gajim: Gajim 1.3.3
This release features improved Ad-Hoc Commands and brings back spell checking. Gajim 1.3.3 includes many bug fixes and improvements. Thanks everyone for reporting issues!
The Ad-Hoc Commands window has been ported to Gajim’s new Assistant. This unifies the look and feel with other actions using an Assistant and it also fixes some issues.
More Changes New- Profile: A NOTE entry has been added
- API JID for search.jab … ⌘ Read more
GitHub Availability Report: August 2021
In August, we experienced two distinct incidents resulting in significant impact and degraded state of availability for Git operations, API requests, webhooks, issues, pull requests, GitHub Pages, GitHub Packages, and GitHub Actions services. ⌘ Read more
GitHub Discussions is out of beta
GitHub Discussions is now out of beta, with features that include labels, Discussions GraphQL API and webhooks, and mobile functionality. ⌘ Read more
New repository: aquilax/temporal-api - Go implementation of ECMAScript’s Temporal API
PEP 658: Static Distribution Metadata in the Simple Repository API ⌘ Read more…
Is there a usable API for language translation? Non-Google preferable.
Is there a usable API for language translation? Non-Google preferable.
How we scaled the GitHub API with a sharded, replicated rate limiter in Redis ⌘ Read more…
Documentation on i2c devices is so-so. Lots of good documentation on higher-level APIs, but not a lot of “this register does this” stuff.
Learn about ghapi, a new third-party Python client for the GitHub API ⌘ https://github.blog/2020-12-18-learn-about-ghapi-a-new-third-party-python-client-for-the-github-api/
Google and Apple’s Contact-Tracing API Doesn’t Work on Public Transport, Study Finds ⌘ http://rss.slashdot.org/~r/Slashdot/slashdot/~3/ybZ7PwoWVRs/google-and-apples-contact-tracing-api-doesnt-work-on-public-transport-study-finds
Token authentication requirements for API and Git operations ⌘ https://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/
Podman v2 : API REST ⌘ https://www.grottedubarbu.fr/podman-v2-api-rest/
PEP 629: Versioning PyPI’s Simple API ⌘ http://www.python.org/dev/peps/pep-0629
PEP 620: Hide implementation details from the C API ⌘ http://www.python.org/dev/peps/pep-0620
PEP 624: Remove Py_UNICODE encoder APIs ⌘ http://www.python.org/dev/peps/pep-0624
Working on the twtxt api…
GitHub’s API access still flakey or is it my connection?
GitHub’s API access still flakey or is it my connection?
The nice API makes me wonder how hard it would be to put together a lightweight twtxt desktop client; maybe I’ll look at that next week.
JSON Web Tokens: Authenticating your API ⌘ Read more…
MPEG1 Single file C library
If you want to play videos in a native app or game you basically have three options:
Almost all the content I post to social media is posted by a small shell script that simultaneously posts to several services or through IFTTT duplicating those posts to services for which I lack an API key. When facebook broke automated posting, it meant my account went dark. I didn’t notice.
Having a fun day trying to sort out why my code isn’t working. Only to find out the API server I’m calling is borked.
…when you realize that the automated API you’re using is really just sending an email to someone who will perform the task.
> when your thoughts are regularly interrupted by captchas because your implant’s subscription expired a month ago and you have to use the ratelimited public APIs
Impact Is Now Free & Open Source
My HTML5 Game Engine Impact launched almost 8 years ago. The last update was published in 2014. While Impact still works nicely in modern browsers, it lacks support for better graphic and sound APIs that are now available. I felt increasingly bad for selling a product that is hardly maintained or improved.
So as of today Impact will be available completely for free, published under the permissive MIT License.
Impact’s source is available on [gith … ⌘ Read more
GitHub - geophile/osh: Osh (Object SHell) is a command-line and API toolkit combining cluster access, database access, and data slicing and dicing. Sort of like awk and cssh morsels wrapped up in a Python crust. https://github.com/geophile/osh
APIs as infrastructure: future-proofing Stripe with versioning https://stripe.com/blog/api-versioning
New repository: aquilax/skyscanner-go - SkyScanner API Client
random bad idea: fullcircle, a linker for (micro)services that takes in a number of API specs and produces a spec for the composite system
Quake for Oculus Rift
My Oculus Rift CV1 finally arrived last week, so of course I had to update my fork of the excellent Quakespasm engine for the new Oculus 1.4 API.
While I was at it, I also fixed a number of bugs, included support for the Rift’s headphones and the XBox One controller – I’d still recommend you play with mouse & keyboard, though. Controls are set up with reasonable defaults, but you can of course change everything in the options menu. There’s also … ⌘ Read more
Or do you ask because you want to implement a client or server? I can probably write something up, it’s a very minimal api.
Or do you ask because you want to implement a client or server? I can probably write something up, it’s a very minimal api.
It’s running since last night, supports the twtxt registry api and crawls the feed for new urls. #roster
It’s running since last night, supports the twtxt registry api and crawls the feed for new urls. #roster
Already registered with ?
Already registered with ?
New repository: aquilax/release-test - Test the releases API
New repository: aquilax/dirble-cli - Command line tool for accessing https://dirble.com API
New repository: aquilax/go-dirble - Go library for accessing the Dirble.com API
New repository: aquilax/go-wakatime - Go library for accessing WakaTime API
New repository: aquilax/go-fyndiq - Go library for accessing Fyndiq’s API
New repository: aquilax/go-wikia - Go library to access Wikia’s public API
TDD your API http://t.co/mljnStKLac
New repository: aquilax/tictail-go - Go library for accessing the Tictail.com API
New repository: aquilax/novigeroi-go - Go API server for novigeroi.com