#messagepack — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #messagepack, aggregated by home.social.
-
Msgpack23 – A modern, header-only C++ library for MessagePack (de)serialization
https://github.com/rwindegger/msgpack23
#HackerNews #Msgpack23 #MessagePack #C++ #Serialization #HeaderOnlyLibrary
-
I have a worker process pool in my #Python app that's usually working ok. It's a custom implementation of
concurrent.futures.Executorthat provides a process pool with a bunch of my app's state synchronized with the workers.Messages are sent to the workers serialized in #messagepack, with custom types to represent functions to call. This usually works fine, but every now and then, the last two workers out of eight will import the module with the functions in it and not find the functions there. It's only ever been those last two.
Now, the modules with code in them can in fact change while the app is running, so I frequently reimport them, calling
importlib.invalidate_caches()when I do. But sometimes those last two workers still can't get the functions.Perhaps it's a file locking issue? I'm stumped otherwise. Help?
-
Как JSON может вас подвести
JSON - наш повседневный помощник, но его коварные стороны могут обернуться неприятностями: потеря точности чисел, гигантские файлы, путаница с датами. Рассказываю, как избежать проблем и повысить эффективность с помощью стриминга в Node.js, MessagePack и Protobuf. Узнайте, где подводные камни и как их обойти на практике!
https://habr.com/ru/articles/871616/
#json #nodejs #javascript #messagepack #protocol_buffers #api #сериализация #стриминг #большие_данные #производительность
-
Как JSON может вас подвести
JSON - наш повседневный помощник, но его коварные стороны могут обернуться неприятностями: потеря точности чисел, гигантские файлы, путаница с датами. Рассказываю, как избежать проблем и повысить эффективность с помощью стриминга в Node.js, MessagePack и Protobuf. Узнайте, где подводные камни и как их обойти на практике!
https://habr.com/ru/articles/871616/
#json #nodejs #javascript #messagepack #protocol_buffers #api #сериализация #стриминг #большие_данные #производительность
-
Как JSON может вас подвести
JSON - наш повседневный помощник, но его коварные стороны могут обернуться неприятностями: потеря точности чисел, гигантские файлы, путаница с датами. Рассказываю, как избежать проблем и повысить эффективность с помощью стриминга в Node.js, MessagePack и Protobuf. Узнайте, где подводные камни и как их обойти на практике!
https://habr.com/ru/articles/871616/
#json #nodejs #javascript #messagepack #protocol_buffers #api #сериализация #стриминг #большие_данные #производительность
-
Как JSON может вас подвести
JSON - наш повседневный помощник, но его коварные стороны могут обернуться неприятностями: потеря точности чисел, гигантские файлы, путаница с датами. Рассказываю, как избежать проблем и повысить эффективность с помощью стриминга в Node.js, MessagePack и Protobuf. Узнайте, где подводные камни и как их обойти на практике!
https://habr.com/ru/articles/871616/
#json #nodejs #javascript #messagepack #protocol_buffers #api #сериализация #стриминг #большие_данные #производительность
-
Streamlining Data Transfer: Dive into MessagePack for ActionScript 3
In the world of web and mobile development, efficient data serialization is crucial. MessagePack for ActionScript 3 offers a powerful solution to streamline binary data handling, making it a must-know...
https://news.lavx.hu/article/streamlining-data-transfer-dive-into-messagepack-for-actionscript-3
-
Since I won't really be able to hunt for work for the rest of the year, I'm thinking of working on the web frontend for #LiSE, and turn it into a #django module, rather than the current situation where it's a #cherryPy "app"
Are there best practices, or maybe even frameworks similar to the #djangoRestFramework, that would show me how to make LiSE produce its #messagepack for easy consumption by browsers or whatever?
-
Since I won't really be able to hunt for work for the rest of the year, I'm thinking of working on the web frontend for #LiSE, and turn it into a #django module, rather than the current situation where it's a #cherryPy "app"
Are there best practices, or maybe even frameworks similar to the #djangoRestFramework, that would show me how to make LiSE produce its #messagepack for easy consumption by browsers or whatever?
-
Since I won't really be able to hunt for work for the rest of the year, I'm thinking of working on the web frontend for #LiSE, and turn it into a #django module, rather than the current situation where it's a #cherryPy "app"
Are there best practices, or maybe even frameworks similar to the #djangoRestFramework, that would show me how to make LiSE produce its #messagepack for easy consumption by browsers or whatever?
-
Hey, I wanted to share my little project – a multiplayer Arkanoid game built in Rust. I was in the mood to try something cool in this language and also see what HTTP/3 and MessagePack are capable of.
Here’s the repo with the code -> https://github.com/ArtemkaKun/ping-pong-arkanoid
More details in the 🧵
(Oh, and the lag is in the video, not the game itself. I didn’t bother recording it again.)
#rustlang #gamedev #multiplayergame #WebTransport #http3 #messagepack #indiedev #opensource #coding #devcommunity
-
Кофе по SSH, сайты в zip-архивах. Чистый HTML лучше всего
Очень интересная штука — интернет-магазин в консоли . Он позволяет авторизоваться в магазине и заказать товар (кофе), не выходя из терминала. Говорят , кофе из командной строки даже вкуснее, чем обычное. Просто заходим в магазин по SSH: ssh terminal.shop или ssh 172.65.113.113
https://habr.com/ru/companies/ruvds/articles/821443/
#ruvds_статьи #трюки_HTML #CSS #JS #HTMX #SSH #HTMLредактор #htmz #HTML_Notepad #текстовый_интерфейс #TUI #MPA_Archive #Redbean #libwebsockets #ArT_DeCo #предсказание_текста #MessagePack #стриминг_HTML #Shadow_DOM #вебкольцо #Comet #Observable #генератор_статических_сайтов #SeaMonkey #KompoZer
-
Кофе по SSH, сайты в zip-архивах. Чистый HTML лучше всего
Очень интересная штука — интернет-магазин в консоли . Он позволяет авторизоваться в магазине и заказать товар (кофе), не выходя из терминала. Говорят , кофе из командной строки даже вкуснее, чем обычное. Просто заходим в магазин по SSH: ssh terminal.shop или ssh 172.65.113.113
https://habr.com/ru/companies/ruvds/articles/821443/
#ruvds_статьи #трюки_HTML #CSS #JS #HTMX #SSH #HTMLредактор #htmz #HTML_Notepad #текстовый_интерфейс #TUI #MPA_Archive #Redbean #libwebsockets #ArT_DeCo #предсказание_текста #MessagePack #стриминг_HTML #Shadow_DOM #вебкольцо #Comet #Observable #генератор_статических_сайтов #SeaMonkey #KompoZer
-
Кофе по SSH, сайты в zip-архивах. Чистый HTML лучше всего
Очень интересная штука — интернет-магазин в консоли . Он позволяет авторизоваться в магазине и заказать товар (кофе), не выходя из терминала. Говорят , кофе из командной строки даже вкуснее, чем обычное. Просто заходим в магазин по SSH: ssh terminal.shop или ssh 172.65.113.113
https://habr.com/ru/companies/ruvds/articles/821443/
#ruvds_статьи #трюки_HTML #CSS #JS #HTMX #SSH #HTMLредактор #htmz #HTML_Notepad #текстовый_интерфейс #TUI #MPA_Archive #Redbean #libwebsockets #ArT_DeCo #предсказание_текста #MessagePack #стриминг_HTML #Shadow_DOM #вебкольцо #Comet #Observable #генератор_статических_сайтов #SeaMonkey #KompoZer
-
Hey so I wrote a messagepack parser and serializer: https://github.com/mortie/msgstream #cpp #programming #messagepack
-
Connaissez-vous la RFC 8949 ? Non ? Jusqu'à ce matin, à ma grande honte, moi non plus... Pourtant le sujet est d'importance : une alternative binaire, compacte, performante, normée et pérenne. Le #CBOR: Concise Binary Object Representation.
https://cbor.io/Le seul tuto du site renvoie à un article fr de présentation de @bortzmeyer : https://www.bortzmeyer.org/7049.html
#BSON, #protobuf, #MessagePack : chacun a ses avantages (et inconvénients) face à #JSON.
Le CBOR est une couleur de cette palette. -
@webfussel What size and shape is the data? Must be pretty big, probably a huge array with lots of big objects? I've tackled this by writing a little streaming stringifier (caveat: #ReadableStreams as fetch request bodies were still Chrome-only by the time) or using something like #MessagePack instead of #JSON.
-
When transfering big amounts of data, #JSON can be a pita. Duplicating data into a string is kind of inefficient and stringifiers like `JSON.stringify` in the #browser have their limits too.
#MessagePack looks like a nice alternative. Beeing binary, it's faster and more efficient. Language support looks great. In #JavaScript / #TypeScript you can even have it produce a #ReadableStream to feed directly into fetch. Now pipe it into a #CompressionStream and you're flying!
-
Binary serialization...
-
#MPack is a #MessagePack #library for #C.
MPack encodes and decodes messages to/from the MessagePack serialization format. MessagePack imitates the structure of JSON, but uses packed data to save space on delimiters and metadata. MPack is very fast, outperforming many other encoders. MPack can run without the standard library, simplifying use on embedded devices like microcontrollers.
Website 🔗️: https://github.com/ludocode/mpack
-
#ArduinoJson is a #JSON #parser for #Arduino.
ArduinoJson is a JSON parser written in a dialect of #Cpp used for #embedded devices like Arduino. ArduinoJson uses static memory allocation, preventing memory fragmentation. ArduinoJson is also faster, smaller, and uses less RAM than other JSON parsers for Arduino, while offering an expressive API. ArduinoJson supports #MessagePack.
Website 🔗️: https://arduinojson.org/
-
MessagePack Is A More Efficient JSON - It is an age-old problem, that of having some data you want to store somewhere, and later bring it... more: https://hackaday.com/2020/03/12/messagepack-is-a-more-efficient-json/ #softwaredevelopment #softwarehacks #serialization #messagepack #dataformat #json #xml