#json — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #json, aggregated by home.social.
-
Learn everything you need to know about Json via these 93 free HackerNoon blog posts. https://hackernoon.com/93-blog-posts-to-learn-about-json #json
-
Learn everything you need to know about Json via these 93 free HackerNoon blog posts. https://hackernoon.com/93-blog-posts-to-learn-about-json #json
-
Learn everything you need to know about Json via these 93 free HackerNoon blog posts. https://hackernoon.com/93-blog-posts-to-learn-about-json #json
-
Learn everything you need to know about Json via these 93 free HackerNoon blog posts. https://hackernoon.com/93-blog-posts-to-learn-about-json #json
-
Learn everything you need to know about Json via these 93 free HackerNoon blog posts. https://hackernoon.com/93-blog-posts-to-learn-about-json #json
-
Encode, don't stringify — как JSON.stringify вам врёт
Помните, как лет 5-7 назад все сидели на Yup или Ajv и всех всё устраивало? Потом появилось «Parse, don’t validate», стало настольной книгой для кучи разработчиков и в итоге выстрелило и у нас, в JavaScript и TypeScript. Тысячи библиотек со схемами - лучшее тому подтверждение. Но это уже решённая проблема. А вот что не решено — обратная сторона: JSON.stringify({ price: Infinity }) // => ‘{“price”:null}’ Ни падения, ни предупреждения. Где-то сломалась математика, а клиент получил null и нарисовал пустую ячейку. И это только один пункт из списка: undefined там, где в типах написано string; молча пропавшие ключи; Map и Set, превращающиеся в {}; и вообще отправляется всё - включая поля, которые вы отправлять не собирались. Кажется, за 7 лет разработки я собрал все эти грабли. В статье разбираю каждый пункт и показываю как это чинится - “Encode, don’t stringify”
-
Encode, don't stringify — как JSON.stringify вам врёт
Помните, как лет 5-7 назад все сидели на Yup или Ajv и всех всё устраивало? Потом появилось «Parse, don’t validate», стало настольной книгой для кучи разработчиков и в итоге выстрелило и у нас, в JavaScript и TypeScript. Тысячи библиотек со схемами - лучшее тому подтверждение. Но это уже решённая проблема. А вот что не решено — обратная сторона: JSON.stringify({ price: Infinity }) // => ‘{“price”:null}’ Ни падения, ни предупреждения. Где-то сломалась математика, а клиент получил null и нарисовал пустую ячейку. И это только один пункт из списка: undefined там, где в типах написано string; молча пропавшие ключи; Map и Set, превращающиеся в {}; и вообще отправляется всё - включая поля, которые вы отправлять не собирались. Кажется, за 7 лет разработки я собрал все эти грабли. В статье разбираю каждый пункт и показываю как это чинится - “Encode, don’t stringify”
-
Encode, don't stringify — как JSON.stringify вам врёт
Помните, как лет 5-7 назад все сидели на Yup или Ajv и всех всё устраивало? Потом появилось «Parse, don’t validate», стало настольной книгой для кучи разработчиков и в итоге выстрелило и у нас, в JavaScript и TypeScript. Тысячи библиотек со схемами - лучшее тому подтверждение. Но это уже решённая проблема. А вот что не решено — обратная сторона: JSON.stringify({ price: Infinity }) // => ‘{“price”:null}’ Ни падения, ни предупреждения. Где-то сломалась математика, а клиент получил null и нарисовал пустую ячейку. И это только один пункт из списка: undefined там, где в типах написано string; молча пропавшие ключи; Map и Set, превращающиеся в {}; и вообще отправляется всё - включая поля, которые вы отправлять не собирались. Кажется, за 7 лет разработки я собрал все эти грабли. В статье разбираю каждый пункт и показываю как это чинится - “Encode, don’t stringify”
-
MariaDB 13.1 Feature in Focus: JSON Operators and JSON_TABLE improvements https://mariadb.org/mariadb-13-1-feature-in-focus-json-operators-and-json_table-improvements/ #mariadb #json 🦭
-
MariaDB 13.1 Feature in Focus: JSON Operators and JSON_TABLE improvements https://mariadb.org/mariadb-13-1-feature-in-focus-json-operators-and-json_table-improvements/ #mariadb #json 🦭
-
MariaDB 13.1 Feature in Focus: JSON Operators and JSON_TABLE improvements https://mariadb.org/mariadb-13-1-feature-in-focus-json-operators-and-json_table-improvements/ #mariadb #json 🦭
-
HTML over WebSockets: real-time SPAs with barely any JavaScript
Building a SPA (Single-page Application) is a complex puzzle: a JavaScript framework that draws the view, an API serving JSON, and 2 independent codebases forced to understand each other through contracts. It is an accepted, professionalized scenario. […]
— by @andros🧑💻 https://en.andros.dev/blog/ef4968f5/html-over-websockets-real-time-spas-with-barely-any-javascript/
#javascript #websocket #html #webdev #spa #api #json #webdev #frontend #web #barely
-
HTML over WebSockets: real-time SPAs with barely any JavaScript
Building a SPA (Single-page Application) is a complex puzzle: a JavaScript framework that draws the view, an API serving JSON, and 2 independent codebases forced to understand each other through contracts. It is an accepted, professionalized scenario. […]
— by @andros🧑💻 https://en.andros.dev/blog/ef4968f5/html-over-websockets-real-time-spas-with-barely-any-javascript/
#javascript #websocket #html #webdev #spa #api #json #webdev #frontend #web #barely
-
HTML over WebSockets: real-time SPAs with barely any JavaScript
Building a SPA (Single-page Application) is a complex puzzle: a JavaScript framework that draws the view, an API serving JSON, and 2 independent codebases forced to understand each other through contracts. It is an accepted, professionalized scenario. […]
— by @andros🧑💻 https://en.andros.dev/blog/ef4968f5/html-over-websockets-real-time-spas-with-barely-any-javascript/
#javascript #websocket #html #webdev #spa #api #json #webdev #frontend #web #barely
-
HTML over WebSockets: real-time SPAs with barely any JavaScript
Building a SPA (Single-page Application) is a complex puzzle: a JavaScript framework that draws the view, an API serving JSON, and 2 independent codebases forced to understand each other through contracts. It is an accepted, professionalized scenario. […]
— by @andros🧑💻 https://en.andros.dev/blog/ef4968f5/html-over-websockets-real-time-spas-with-barely-any-javascript/
#javascript #websocket #html #webdev #spa #api #json #webdev #frontend #web #barely
-
HTML over WebSockets: real-time SPAs with barely any JavaScript
Building a SPA (Single-page Application) is a complex puzzle: a JavaScript framework that draws the view, an API serving JSON, and 2 independent codebases forced to understand each other through contracts. It is an accepted, professionalized scenario. […]
— by @andros🧑💻 https://en.andros.dev/blog/ef4968f5/html-over-websockets-real-time-spas-with-barely-any-javascript/
#javascript #websocket #html #webdev #spa #api #json #webdev #frontend #web #barely
-
Master theme.json: Building Global Styles for WordPress Block Themes
uilding a WordPress theme used to mean writing thousands of lines of custom CSS and cluttering your functions.php file with endless add_theme_support()...
https://wpfrank.com/master-theme-json-building-global-styles-for-wordpress/
-
Master theme.json: Building Global Styles for WordPress Block Themes
uilding a WordPress theme used to mean writing thousands of lines of custom CSS and cluttering your functions.php file with endless add_theme_support()...
https://wpfrank.com/master-theme-json-building-global-styles-for-wordpress/
-
Master theme.json: Building Global Styles for WordPress Block Themes
uilding a WordPress theme used to mean writing thousands of lines of custom CSS and cluttering your functions.php file with endless add_theme_support()...
https://wpfrank.com/master-theme-json-building-global-styles-for-wordpress/
-
-
-
-
-
-
Ошибка в расчёте скидки, которую не видно глазами: проверяем ответ API по документации, когда автотестов нет
Есть класс ошибок, которые проходят все ручные проверки и спокойно доезжают до продакшена. Не пятисотки, не пустые поля, не сломанная структура — с этим как раз всё в порядке. Речь про случаи, когда сервис отвечает статусом 200, все поля на месте, типы правильные, и при этом одно число посчитано неверно. Расскажу, как я проверяю такие ответы, когда в команде нет автотестов и в ближайшее время не появится: писать и поддерживать код некому, а сверка ответа с документацией делается глазами. Подход применим в любом инструменте, я просто покажу его на своём рабочем сценарии — создании заказа с расчётом скидки.
https://habr.com/ru/articles/1068580/
#тестирование_api #проверка_ответов #json #валидация_данных #ручное_тестирование #тесткейсы #логи #elasticsearch #бизнеслогика #регрессионное_тестирование
-
Ошибка в расчёте скидки, которую не видно глазами: проверяем ответ API по документации, когда автотестов нет
Есть класс ошибок, которые проходят все ручные проверки и спокойно доезжают до продакшена. Не пятисотки, не пустые поля, не сломанная структура — с этим как раз всё в порядке. Речь про случаи, когда сервис отвечает статусом 200, все поля на месте, типы правильные, и при этом одно число посчитано неверно. Расскажу, как я проверяю такие ответы, когда в команде нет автотестов и в ближайшее время не появится: писать и поддерживать код некому, а сверка ответа с документацией делается глазами. Подход применим в любом инструменте, я просто покажу его на своём рабочем сценарии — создании заказа с расчётом скидки.
https://habr.com/ru/articles/1068580/
#тестирование_api #проверка_ответов #json #валидация_данных #ручное_тестирование #тесткейсы #логи #elasticsearch #бизнеслогика #регрессионное_тестирование
-
Ошибка в расчёте скидки, которую не видно глазами: проверяем ответ API по документации, когда автотестов нет
Есть класс ошибок, которые проходят все ручные проверки и спокойно доезжают до продакшена. Не пятисотки, не пустые поля, не сломанная структура — с этим как раз всё в порядке. Речь про случаи, когда сервис отвечает статусом 200, все поля на месте, типы правильные, и при этом одно число посчитано неверно. Расскажу, как я проверяю такие ответы, когда в команде нет автотестов и в ближайшее время не появится: писать и поддерживать код некому, а сверка ответа с документацией делается глазами. Подход применим в любом инструменте, я просто покажу его на своём рабочем сценарии — создании заказа с расчётом скидки.
https://habr.com/ru/articles/1068580/
#тестирование_api #проверка_ответов #json #валидация_данных #ручное_тестирование #тесткейсы #логи #elasticsearch #бизнеслогика #регрессионное_тестирование
-
1500 строк красного: как обновление одного плагина на Rust-сервере съедает вечер — и почему виноват diff
Выходит обновление плагина, он дописывает свои ключи в ваш конфиг и заодно меняет порядок остальных. Через сутки в дискорде жалобы, вы открываете бэкап и текущий конфиг в diff — а он красный целиком. Разбираемся, почему текстовый diff врёт на JSON, и что с этим можно сделать: сравнение с игнором порядка ключей, структурный дифф по путям, до шести файлов сразу и экспорт в JSON Patch.
-
1500 строк красного: как обновление одного плагина на Rust-сервере съедает вечер — и почему виноват diff
Выходит обновление плагина, он дописывает свои ключи в ваш конфиг и заодно меняет порядок остальных. Через сутки в дискорде жалобы, вы открываете бэкап и текущий конфиг в diff — а он красный целиком. Разбираемся, почему текстовый diff врёт на JSON, и что с этим можно сделать: сравнение с игнором порядка ключей, структурный дифф по путям, до шести файлов сразу и экспорт в JSON Patch.
-
1500 строк красного: как обновление одного плагина на Rust-сервере съедает вечер — и почему виноват diff
Выходит обновление плагина, он дописывает свои ключи в ваш конфиг и заодно меняет порядок остальных. Через сутки в дискорде жалобы, вы открываете бэкап и текущий конфиг в diff — а он красный целиком. Разбираемся, почему текстовый diff врёт на JSON, и что с этим можно сделать: сравнение с игнором порядка ключей, структурный дифф по путям, до шести файлов сразу и экспорт в JSON Patch.
-
Circle is hiring Principal Security Engineer, Security
🔧 #golang #rust #solidity #blockchain #web3 #aws #cicd #gcp #json #principalengineer #securityengineer
🌎 Remote; San Francisco, California; United States
⏰ Full-time
🏢 CircleJob details https://jobsfordevelopers.com/jobs/principal-security-engineer-security-at-circle-com-sep-10-2024-944bde?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Circle is hiring Principal Security Engineer, Security
🔧 #golang #rust #solidity #blockchain #web3 #aws #cicd #gcp #json #principalengineer #securityengineer
🌎 Remote; San Francisco, California; United States
⏰ Full-time
🏢 CircleJob details https://jobsfordevelopers.com/jobs/principal-security-engineer-security-at-circle-com-sep-10-2024-944bde?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Circle is hiring Principal Security Engineer, Security
🔧 #golang #rust #solidity #blockchain #web3 #aws #cicd #gcp #json #principalengineer #securityengineer
🌎 Remote; San Francisco, California; United States
⏰ Full-time
🏢 CircleJob details https://jobsfordevelopers.com/jobs/principal-security-engineer-security-at-circle-com-sep-10-2024-944bde?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Circle is hiring Principal Security Engineer, Security
🔧 #golang #rust #solidity #blockchain #web3 #aws #cicd #gcp #json #principalengineer #securityengineer
🌎 Remote; San Francisco, California; United States
⏰ Full-time
🏢 CircleJob details https://jobsfordevelopers.com/jobs/principal-security-engineer-security-at-circle-com-sep-10-2024-944bde?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Circle is hiring Principal Security Engineer, Security
🔧 #golang #rust #solidity #blockchain #web3 #aws #cicd #gcp #json #principalengineer #securityengineer
🌎 Remote; San Francisco, California; United States
⏰ Full-time
🏢 CircleJob details https://jobsfordevelopers.com/jobs/principal-security-engineer-security-at-circle-com-sep-10-2024-944bde?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
#PolitiKit es un #mapa #político interactivo en un solo archivo #HTML. Visualiza #actores como tarjetas movibles con nombre, ciudad, ocupación, #intereses, estatus orgánico y #tags.
Predice numéricamente simpatías, antipatías, #influencia política y enlaces potenciales. Incluye grafo de relaciones, nube de tags, zoom, pan, historial de cambios y notificaciones de nuevas conexiones.
Guarda datos en #JSON exporta a PNG/SVG. ( #GPLv3).
Hecho con Deepseek. #software
-
#PolitiKit es un #mapa #político interactivo en un solo archivo #HTML. Visualiza #actores como tarjetas movibles con nombre, ciudad, ocupación, #intereses, estatus orgánico y #tags.
Predice numéricamente simpatías, antipatías, #influencia política y enlaces potenciales. Incluye grafo de relaciones, nube de tags, zoom, pan, historial de cambios y notificaciones de nuevas conexiones.
Guarda datos en #JSON exporta a PNG/SVG. ( #GPLv3).
Hecho con Deepseek. #software
-
#PolitiKit es un #mapa #político interactivo en un solo archivo #HTML. Visualiza #actores como tarjetas movibles con nombre, ciudad, ocupación, #intereses, estatus orgánico y #tags.
Predice numéricamente simpatías, antipatías, #influencia política y enlaces potenciales. Incluye grafo de relaciones, nube de tags, zoom, pan, historial de cambios y notificaciones de nuevas conexiones.
Guarda datos en #JSON exporta a PNG/SVG. ( #GPLv3).
Hecho con Deepseek. #software
-
#PSA : using #json formatted config files in #python
Just learned about #json5
json data format is close to python dict;
json5 is closer:-)it allows trailing commas but It doesn't have python comments so we still have to remember how to use /* comments*/.
There are other niceties and full conversion back to json if needed.
#floss #foss #software #openSource #democracy is more than how we vote -
#PSA : using #json formatted config files in #python
Just learned about #json5
json data format is close to python dict;
json5 is closer:-)it allows trailing commas but It doesn't have python comments so we still have to remember how to use /* comments*/.
There are other niceties and full conversion back to json if needed.
#floss #foss #software #openSource #democracy is more than how we vote -
#PSA : using #json formatted config files in #python
Just learned about #json5
json data format is close to python dict;
json5 is closer:-)it allows trailing commas but It doesn't have python comments so we still have to remember how to use /* comments*/.
There are other niceties and full conversion back to json if needed.
#floss #foss #software #openSource #democracy is more than how we vote -
#PSA : using #json formatted config files in #python
Just learned about #json5
json data format is close to python dict;
json5 is closer:-)it allows trailing commas but It doesn't have python comments so we still have to remember how to use /* comments*/.
There are other niceties and full conversion back to json if needed.
#floss #foss #software #openSource #democracy is more than how we vote -
#PSA : using #json formatted config files in #python
Just learned about #json5
json data format is close to python dict;
json5 is closer:-)it allows trailing commas but It doesn't have python comments so we still have to remember how to use /* comments*/.
There are other niceties and full conversion back to json if needed.
#floss #foss #software #openSource #democracy is more than how we vote -
I've downloaded an archive of my Mastodon content and want to read and search specific posts in the archive (presumably offline).
Is anyone willing and able to recommend a Windows compatible app that makes this easily possible?
I've found a few that seem to display the raw JSON files, but my non-leet brain doesn't find these convenient to browse or search.
-
I've downloaded an archive of my Mastodon content and want to read and search specific posts in the archive (presumably offline).
Is anyone willing and able to recommend a Windows compatible app that makes this easily possible?
I've found a few that seem to display the raw JSON files, but my non-leet brain doesn't find these convenient to browse or search.
-
I've downloaded an archive of my Mastodon content and want to read and search specific posts in the archive (presumably offline).
Is anyone willing and able to recommend a Windows compatible app that makes this easily possible?
I've found a few that seem to display the raw JSON files, but my non-leet brain doesn't find these convenient to browse or search.
-
I've downloaded an archive of my Mastodon content and want to read and search specific posts in the archive (presumably offline).
Is anyone willing and able to recommend a Windows compatible app that makes this easily possible?
I've found a few that seem to display the raw JSON files, but my non-leet brain doesn't find these convenient to browse or search.
-
I've downloaded an archive of my Mastodon content and want to read and search specific posts in the archive (presumably offline).
Is anyone willing and able to recommend a Windows compatible app that makes this easily possible?
I've found a few that seem to display the raw JSON files, but my non-leet brain doesn't find these convenient to browse or search.
-
Link Vault aka Organizador de Links
Una página web en html que permite organizar, clasificar, guardar, exportar e importar enlaces en formatos .csv y .json. Permite generar thumnails temporales de los sitios.
- Full bookmark management (add, edit, delete)
- Tags with filtering and tag manager
- Folder/group organization
- 3 layout views (1 column, 2 columns, squares)https://framadrive.org/s/2F7okep2MGB7B2r
#gpl #html #management #folders #csv #json #deepseek #AI #opensource
-
Link Vault aka Organizador de Links
Una página web en html que permite organizar, clasificar, guardar, exportar e importar enlaces en formatos .csv y .json. Permite generar thumnails temporales de los sitios.
- Full bookmark management (add, edit, delete)
- Tags with filtering and tag manager
- Folder/group organization
- 3 layout views (1 column, 2 columns, squares)https://framadrive.org/s/2F7okep2MGB7B2r
#gpl #html #management #folders #csv #json #deepseek #AI #opensource
-
Link Vault aka Organizador de Links
Una página web en html que permite organizar, clasificar, guardar, exportar e importar enlaces en formatos .csv y .json. Permite generar thumnails temporales de los sitios.
- Full bookmark management (add, edit, delete)
- Tags with filtering and tag manager
- Folder/group organization
- 3 layout views (1 column, 2 columns, squares)https://framadrive.org/s/2F7okep2MGB7B2r
#gpl #html #management #folders #csv #json #deepseek #AI #opensource
-
Link Vault aka Organizador de Links
Una página web en html que permite organizar, clasificar, guardar, exportar e importar enlaces en formatos .csv y .json. Permite generar thumnails temporales de los sitios.
- Full bookmark management (add, edit, delete)
- Tags with filtering and tag manager
- Folder/group organization
- 3 layout views (1 column, 2 columns, squares)https://framadrive.org/s/2F7okep2MGB7B2r
#gpl #html #management #folders #csv #json #deepseek #AI #opensource
-
Link Vault aka Organizador de Links
Una página web en html que permite organizar, clasificar, guardar, exportar e importar enlaces en formatos .csv y .json. Permite generar thumnails temporales de los sitios.
- Full bookmark management (add, edit, delete)
- Tags with filtering and tag manager
- Folder/group organization
- 3 layout views (1 column, 2 columns, squares)https://framadrive.org/s/2F7okep2MGB7B2r
#gpl #html #management #folders #csv #json #deepseek #AI #opensource