Goravel,一个功能完备、具有良好扩展能力的 Golang Web 应用程序框架,致敬 Laravel
Goravel 是一个功能完备、具有良好扩展能力的 Web 应用程序框架。 作为一个起始脚手架帮助 Golang 开发者快速构建自己的应用。
项目地址: https://github.com/goravel/goravel
�� … ⌘ Read more
imagor - image processing server written in Go
Fast, Docker-ready image processing server written in Go and libvips, with Thumbor URL syntax 1 points posted by gopher ⌘ Read more
ProcessOne: ejabberd 21.12
This new ejabberd 21.12 release comes after five months of work, contains more than one hundred changes, many of them are major improvements or features, and several bug fixes.
When upgrading from previous versions, please notice: there’s a change in mod_register_web behaviour, and PosgreSQL database, please take a look if they affect your installation.
A more detailed expla … ⌘ Read more
ProcessOne: ejabberd 21.12
This new ejabberd 21.12 release comes after five months of work, contains more than one hundred changes, many of them are major improvements or features, and several bug fixes.
When upgrading from previous versions, please notice: there’s a change in mod_register_web behaviour, and PosgreSQL database, please take a look if they affect your installation.
A more detailed expla … ⌘ Read more
ProcessOne: ejabberd 21.12
This new ejabberd 21.12 release comes after five months of work, contains more than one hundred changes, many of them are major improvements or features, and several bug fixes.
When upgrading from previous versions, please notice: there’s a change in mod_register_web behaviour, and PosgreSQL database, please take a look if they affect your installation.
A more detailed expla … ⌘ Read more
Building Docker images in Drone CI using Docker-in-Docker
This evening I tried to improve the build process of GoBlog. GoBlog gets built using Drone CI and Docker. The problem was that two image variants are to be built, one based on the other, and the whole thing always took quite a long time. ⌘ Read more
聊聊 TokenBucket 限流器的基本原理及实现
限流器实现之 TokenBucket大家好,我是「Go 学堂」的渔夫子。上篇文章我们讲解了漏桶(LeakyBucket)的实现原理。本文我们介绍另外一种限流器 — 令牌桶(TokenBucket)。
令牌桶(TokenBucket)简介 令牌桶实现的基本思想令牌桶,顾名思�� … ⌘ Read more
Erlang Solutions: Blockchain Tech Deep Dive ¼
INTRODUCTIONBlockchain technology is transforming nearly every industry, whether it be banking, government, fashion or logistics. The benefits of using blockchain are substantial – businesses can lower transaction costs, free up capital, speed up processes, and enhance security and trust. So it’s no surprise that more and more companies and developers are interested in working with the technology and leveraging its potential than ev … ⌘ Read more
Deploy a Go API to AWS Lambda and API Gateway
In this article, I am going to describe the process of deploying an API coded with Go to AWS Lambda and Amazon API Gateway, a process that takes only a few minutes if you know how to do it. 1 points posted by Antonio ⌘ Read more
Blue-teaming for Exiv2, part 1: creating a security advisory process
This blog post is the first in a series about hardening the security of the Exiv2 project. My goal is to share tips that will help you harden the security of your own project. ⌘ Read more
@movq@www.uninformativ.de What do you think about this?
diff –git a/jenny b/jenny
index b47c78e..20cf659 100755
— a/jenny
+++ b/jenny
@@ -278,7 +278,8 @@ def prefill_for(email, reply_to_this, self_mentions):
def process_feed(config, nick, url, content, lasttwt):
nick_address, nick_desc = decide_nick(content, nick)
url_for_hash = decide_url_for_hash(content, url)
new_lasttwt = parse(‘1800-01-01T12:00:00+00:00’).timestamp()
# new_lasttwt = parse(‘1800-01-01T12:00:00+00:00’).timestamp()
new_lasttwt = None
for line in twt_lines_from_content(content):
res = twt_line_to_mail(@@ -296,7 +297,7 @@ def process_feed(config, nick, url, content, lasttwt):
twt_stamp = twt_date.timestamp() if lasttwt is not None and lasttwt >= twt_stamp: continueif twt_stamp > new_lasttwt:
if not new_lasttwt or twt_stamp > new_lasttwt:
new_lasttwt = twt_stamp mailname_new = join(config['maildir_target'], 'new', twt_hash)
Don’t miss step 0 (I should have made this a separate point): having a meta header promising appending twts with strictly monotonically increasing timestamps.
(Also, I’d first like to see the pagination thingy implemented.)
In jenny I would like to see “don’t process previously fetched twts” AKA “Allow the user to archive/delete old twts” feature implemented ;-)
My thoughts about range requests
Additionally to pagination also range request should be used to reduce traffic.
I understand that there are corner cases making this a complicated matter.
I would like to see a meta header saying that the given twtxt is append only with increasing timestamps so that a simple strategy can detect valid content fetched per range request.
- read meta part per range request
- read last fetched twt at expected range (as known from last fetch)
- if fetched content starts with expected twt then process rest of data
- if fetched content doesn’t start with expected twt discard all and fall back to fetching whole twtxt
Pagination (e.g. archiving old content in a different file) will lead to point 4.
Of course especially pods should support range requests, correct @prologic@twtxt.net?
@laz@tt.vltra.plus
How do you handle upgrades like this on your pod? Do you keep a diff of your customisations, or is it all a manual process?
@movq@www.uninformativ.de I am getting this when I run it on cron (extra lines in between becuase otherwise jenny will make them a mash):
Traceback (most recent call last):
File “/home/quark/jenny/jenny”, line 565, in
if not retrieve_all(config):
File “/home/quark/jenny/jenny”, line 373, in retrieve_all
refresh_self(config)
File “/home/quark/jenny/jenny”, line 294, in refresh_self
process_feed(config, config[‘self_nick’], config[‘self_url’], content)
File “/home/quark/jenny/jenny”, line 280, in process_feed
fp.write(mail_body)
File “/usr/lib/python3.8/encodings/iso8859_15.py”, line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: ‘charmap’ codec can’t encode character ‘\U0001f4e3’ in position 31: character maps to
@prologic@twtxt.net Excellent, nothing broke. I think what happened was you replied to a twt that I was in the process of editing.
#event Tomorrow, Saturday October 2nd, I’m gonna be hosting a workshop at Processing Community Day CPH about Live Coding Visuals in Improviz. Only 5 spots left, so sign up now at: https://pcdcph.com
An analysis on developer-security researcher interactions in the vulnerability disclosure process
We put out a call to open source developers and security researchers to talk about the security vulnerability disclosure process. Here’s what we found. ⌘ Read more
ProcessOne: ejabberd 21.07 ⌘ Read more…
When tragedy strikes unexpectedly we cannot just go on as if nothing happened. Our minds need to be given time to deal with the blow. So it is necessary to pause and allow ourselves to process and recover.
So voice processing is back on-device after a decade or so? Finally.
ProcessOne: Install and configure MariaDB with ejabberd ⌘ Read more…
The warped self ⌘ Read more…
https://github.com/learnbyexample/Command-line-text-processing/blob/master/ruby_one_liners.md oneliner ruby
ProcessOne: Install ejabberd on Windows 10 using Docker Desktop ⌘ Read more…
@movq@www.uninformativ.de “Random thought: Would be great if you could do for i in ...; do something "$i" & done ; wait in a Shell script, but with the Shell only spawning one process per CPU.” -> Interesting which annoyances stay in the back of the head – I’d never articulated this, but it’s absolutely true that this would be great.
ProcessOne: ejabberd 21.04 ⌘ Read more…
ProcessOne: ejabberd 21.01 ⌘ Read more…
ProcessOne: Install ejabberd on Windows 10 using Docker Desktop ⌘ Read more…
ProcessOne: Install ejabberd on Windows 7 using Docker Toolbox ⌘ Read more…
ProcessOne: Install ejabberd on Windows 10 using Docker Desktop ⌘ Read more…
ProcessOne: Install ejabberd on Windows 10 using Docker Desktop ⌘ Read more…
Urban Fish Ponds: Low-tech Sewage Treatment for Towns and Cities
In the mid 20th century, whole cities’ sewage systems safely and successfully used fish to treat and purify their water. Waste-fed fish ponds are a low-tech, cheap, and sustainable alternative to deal with our own shit — and to obtain high protein food in the process. ⌘ Read more
ProcessOne: Publish-Subscribe pattern and PubSub in ejabberd ⌘ Read more…
ProcessOne: Publish-Subscribe pattern and PubSub in ejabberd ⌘ Read more…
Belgium, Information processing vaccines – Tracing against corona ⌘ Read more…
New Docker and JFrog Partnership Designed to Improve the Speed and Quality of App Development Processes ⌘ Read more…
Baker is a high performance, composable and extendable data-processing pipeline for the big data era ⌘ https://github.com/adroll/baker
Improving the GHES release process: release candidates ⌘ https://github.blog/2020-12-03-improving-the-ghes-release-process-release-candidates/
box - 📦 A command-line utility for creating Linux containers, sandboxing a processes ⌘ https://github.com/prologic/box
Introducing the npm public roadmap and a new feedback process ⌘ https://github.blog/2020-10-22-introducing-the-npm-public-roadmap-and-a-new-feedback-process/
Processing TV schedules
other acceptable names:↵* monad↵* hypothesis↵* box↵* hub (processes called spokes, run by the wheel group)↵* poet↵* x∉∅↵* logOS
Bought some new pants and washed them. They’re hang-dry only, so I took them into my bedroom and pointed a fan at them to hurry the process along. Several hours later, my bedroom still smells like new pants.
weewiki uses a custom org markup parser written in ANSI C to render the HTML. No emacs needed! my hope is to introduce a user-defined callback that can process these to allow for custom meta-commands.
Part of the wisdom of meditation lies in the following: There is baggage we all carry, the self, this belief we’re the center of it all, the author of (and subservient to) our own thoughts. How do I stop doing what makes me unhappy, if that’s “who I am”? But, in reality, I can abandon “who I am” and find new processes of living and new ways of thinking about the world. A researcher on how to live a happy life | Hacker News
I’d say that 75% of the notes I take are never used again. Why spend so much time on the process of taking notes if they’re just going to disappear anyway?
right now, it’s a three step process for me to tweet and upload. gotta make it just one.