candoumbe, to dotnet French
@candoumbe@dotnet.social avatar

Looking for a way to validate a API against an Open API spec.
Any idea?

claras_universe, to rust
@claras_universe@ieji.de avatar

I am now working on my own chess API and it’s actually pretty fun. I learned that using bitboards is apparently very efficient. So I now use 8 64bit bitboards, 2 for the color and 6 for the pieces (I thought about just using 7 because you COULD theoretically represent the colors in one bitboard, but using 2 makes it faster at the expense of an extra 64 bit, which is neglegible). Gonna continue on this in the upcoming days :3

rzeta0, to tech
@rzeta0@mastodon.social avatar

Can anyone recommend a blog/article/video on

Good vs Bad API design / lessons learned

I'm keen to learn about what others have learned crafting, using or managing APIs.

vincentbiret, to ai
@vincentbiret@hachyderm.io avatar
frankel, to random
@frankel@mastodon.top avatar
chriskirknielsen, to Notion
@chriskirknielsen@front-end.social avatar

I wrote about how I used @eleventy's fetch AssetCache feature to query and store data from an like or the Network (for my Now and Gaming Library pages), abstracting it all into reusable code. Maybe somebody else out there could benefit from such a write up, so I wrote it: https://chriskirknielsen.com/blog/leverage-api-like-notion-with-cache/

ampache, to php
@ampache@fosstodon.org avatar

#ampache 6.4.0 out now!

This is a great release to move to. Numerous fixes and weird bugs squashed.

The 6 branches are winding up development but API6 will continue to be extended when development has moved to Ampache 7.

#php #api #dev

https://github.com/ampache/ampache/releases/tag/6.4.0

poppastring, to dotnet
@poppastring@dotnet.social avatar

https://apisof.net exposes platform-specific framework information for apis and types. For example, I now know that this Zune enum type is Windows only :)

frankel, to webassembly
@frankel@mastodon.top avatar
ryan, to dotnet
@ryan@social.binarydad.com avatar

I met a development team today that has only used .NET Remoting, not even WCF, let alone touched a REST API.

nick_tune, to random
@nick_tune@hachyderm.io avatar

Should you design APIs based on what you (the owning team) think is the best way to expose your domain, or do you make compromises based on the needs of your API's consumers?

(API here refers to any element of the public contract of your service/subsystem/app/domain/context, such as HTTP endpoints or events.)

kerfuffle,
@kerfuffle@mastodon.online avatar

@nick_tune

You start from any conventions you've agreed on with other teams regarding API design.

Then you focus on what's best for your domain model.

And when you find reality has needs beyond what both convention and model dictate, you inspect and adapt. That means revisiting a convention or remodeling your domain boundary.

chriskirknielsen, to Playstation
@chriskirknielsen@front-end.social avatar

Updated my Gaming Library page, you can click the title on the spine of a game and it'll open a dialog with more info about it. Recently integrated the PSN API to show trophies and even an icon if relevant. APIs are cool. (manually mapping API IDs to your Notion list, not so cool, but it is necessary!)

PS: Don't try to change the completed status — rude. Also I didn't copy the idea from somebody I look up to with their NYC checklist, nope. 🙃

🏆 https://chriskirknielsen.com/games/library/

marwi, to webxr German
@marwi@mastodon.gamedev.place avatar

We've made a new features trailer for Needle Engine 3.36 ✨

https://youtu.be/VkcLvnK_aeU?si=2VVXWgnIezKzxKqW

kubikpixel, to webdev
@kubikpixel@chaos.social avatar
kubikpixel,
@kubikpixel@chaos.social avatar

Modern current code should run asynchronously if possible and useful. Slowly but steadily, it is being implemented in almost all popular programming languages, including WebDev.

»New Disposable APIs in Javascript«

🔧 https://jonathan-frere.com/posts/disposables-in-javascript/


#webdev #javascript #api #disposable #js #async #asynchrone #programming #code #moderncode #coding

stefan, to random
@stefan@stefanbohacek.online avatar

Is there a more efficient way to check if two accounts follow each other via Mastodon's API, other than fetching followers of both accounts and finding a match?

ampache, to random
@ampache@fosstodon.org avatar

Hello #ampache #api #developers

I've updated the api docs to try and explain how the media playback processes and helper methods work.

This should help flesh out some of the details about how Ampache handles things for you.

https://ampache.org/api/api-media-methods

czach, to random Polish
@czach@pol.social avatar

Pogoda nie zachęca do wyjścia z domu.
Trzeba ten czas jakoś konstruktywnie spożytkować.

https://api.sejm.gov.pl/sejm.html#dokumentacja-po-polsku

claras_universe, to rust
@claras_universe@ieji.de avatar

Why is it so fun to create APIs? Something about it is so oddly satisfying, the image down below is part of my API documentation and its just pure dopamine to look at xD I could do this kind of stuff forever…

orhun, to rust
@orhun@fosstodon.org avatar

No more Postman! This TUI API client goes crazy 🔥

📡 atac: A simple API client in your terminal.

🚀 Supports importing collections from Postman.
🔓 Free, account-less, and offline.
🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: https://github.com/Julien-cpsn/ATAC

video/mp4

minioctt, (edited ) to random Italian

Ieri non ho assolutamente portato a zero la batteria del tablet per tutto il tempo che ci ho messo a provare diverse e a vedere cose per risolvere l’ennesimo problema causato dalle nuove versioni di … ok, in tutta onestà la batteria l’ho finita nel bus più tardi, però comunque, una buona parte della carica è sparita solo nel tempo perso prima. 😶‍🌫️️

Un altro po’ mi sembrava di star usando iOS per non riuscire a fare una cosa così banale come: aprire un file direttamente nel , ed averlo funzionante, con anche il caricamento di tutte le risorse embeddate, senza ricorrere ad un webserver locale che causa solo rogne in più… come ho detto su OTIDroid, questa cosa sembra una cazzata, ma è sorprendente quanto è difficile da Android 11 in su:

  • Firefox Fenix non ha mai supportato i percorsi file:///, a te Mozilla
  • Firefox legacy funzionerebbe, solo che la versione più recente (v68.11.0) è comunque antica e quindi molte nuove web non vanno
  • I Chromium, da quando sono aggiornati per targettare le nuove API Android, non riescono più a vedere qualsiasi file su /sdcard/, ma solo quelli multimediali (utilissimo eh?); e si, hackerare il manifest per portare indietro l’API target rompe la app
  • La più recente versione di Chromium precedente a tutte queste novità che ho trovato (~v79.0.3945.94) è comunque molto vecchia, stesso problema di Firefox

Evidentemente nessuno ha voglia di creare un browser che funziona correttamente, (nemmeno io, in quel momento volevo solo fare un po’ di programmazione HTML), maremma maiala… ma, per fortuna mi torna in mente che una ci sarebbe: le app che usano la di sistema funzionano ancora normalmente (senza codice aggiornato per lo ) se hanno un target SDK vecchio ma, proprio perché il motore che usano è quello di sistema aggiornato, la compatibilità con gli standard è massima. 😤️

  • Sorprendentemente, di così che siano allo stesso tempo non mezzi rotti, abbiano un target vecchio, e il permesso di lettura dell’archiviazione, non ce ne sono molti. L’unico che ho trovato è “Tint Browser“, che funzionerebbe già così senza fatica, e stavo per usare quello… ma ha uno strano bug che fa sparire tutte le schede aperte sia alla chiusura della app, che la rotazione dello schermo… e non viene aggiornata da 10 anni, quindi mi sa mi sa che il non sarà risolto. 🕸️

  • Ho però notato che virtualmente qualunque altra app WebView browser non si rompe se subisce quelle modifiche che ho detto all’AndroidManifest.xml, probabilmente perché sono così semplici che non hanno codice chissà quanto specifico a certe versioni delle API… quindi ne ho semplicemente scelto uno che mi piaceva, ho usato un editor di per portare indietro il valore android:targetSdkVersion del blocco <uses-sdk> (mentre il permesso READ_EXTERNAL_STORAGE c’era già quindi non ho dovuto scriverlo io), e in mezzo minuto il problema è risolto. 🌚️

    • Tra gli infiniti che si trovano ho preso questo “SmartCookieWeb” comunque, ha delle funzioni avanzate carine. L’APK già modificato, in caso ne aveste bisogno, l’ho caricato qui sul mio server.

Una cosa strana però: teoricamente è stato Android 11, cioè target 30, ad introdurre lo spacc più totale dei di accesso all’archiviazione locale, quindi a regola impostare il 29 (Android 10) sarebbe sufficiente a visualizzare il permesso di gestire tutti i file nelle impostazioni al posto di quello per soltanto i media… eppure io ho dovuto scrivere 28 (Android Pie). Sarà un fatto del mio Android 12 forse, boh, anyways the fog is coming fuck you Google. 👁️

https://octospacc.altervista.org/2024/04/16/quando-adrode-niente-file/

Dierck, to Youtube German
@Dierck@norden.social avatar
kubikpixel, (edited ) to rust
@kubikpixel@chaos.social avatar

🦀 Using Axum Framework To Create Rest API

In this series of articles, we are going to build a REST API with the help of Rust programming language and Axum web Framework.

  1. 👨‍💻 https://scribe.rip/intelliconnect-engineering/using-axum-framework-to-create-rest-api-part-1-7d434d2c5de4
  2. 👨‍💻 https://scribe.rip/intelliconnect-engineering/using-axum-framework-to-create-rest-api-part-ii-4eba129c196b


  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • kavyap
  • everett
  • thenastyranch
  • magazineikmin
  • ngwrru68w68
  • DreamBathrooms
  • modclub
  • Youngstown
  • slotface
  • PowerRangers
  • osvaldo12
  • InstantRegret
  • rosin
  • Leos
  • hgfsjryuu7
  • Durango
  • vwfavf
  • khanakhh
  • tester
  • GTA5RPClips
  • ethstaker
  • mdbf
  • cubers
  • tacticalgear
  • normalnudes
  • cisconetworking
  • provamag3
  • All magazines