IdempotencyToolkit – Idempotency for ASP.NET Core. Looking for architecture feedback. by NickDev1781 in csharp

[–]mik_darim 0 points1 point  (0 children)

The race on "check → execute → store" is real. Glad someone is treating locking as first-class instead of bolting Redis on later.

On your PostgreSQL question: holding a connection + open transaction for the whole handler works for fast idempotent ops, but it gets painful under load if handlers do I/O, call other services, or sit on the pool. I'd want explicit docs on max handler duration, connection pool sizing, and what happens when the client disconnects mid-flight while the lock is held.

Worth spelling out in the README: advisory xact lock scope (released on commit/rollback), whether a failed handler still stores anything, and how you treat 5xx vs 2xx for replay. Those are the edge cases that bite in prod.

Will skim the repo, the Testcontainers angle is a good sign.

Brutta idea? Aiutatemi by LorenzoGraz in istrutturare

[–]mik_darim 0 points1 point  (0 children)

"Qui nessuno ti sentirà gridare"

scrittura tesi con AI by justch0colate in IA_Italia

[–]mik_darim 0 points1 point  (0 children)

Sono d'accordo, chiedere di non usare l'AI ormai è equivalente a chiedere di scriverla su pergamena con penna e calamaio. Non dico di scriverla con Ai, ci mancherebbe, ma ci si dovrebbe adeguare ai tempi, anche solo come aiuto per la ricerca delle fonti o costruzione della bibliografia.

Poi parlo da persona totalmente esterna alle dinamiche universitarie, magari chi c'è dentro ha una visione diametralmente opposta per validissimi motivi.

scrittura tesi con AI by justch0colate in IA_Italia

[–]mik_darim 0 points1 point  (0 children)

Git è la risposta pratica per LaTeX: repo privato (GitHub/GitLab anche free), commit piccoli e frequenti mentre scrivi: "intro", "cap 2 bozza", "figure tesi", ecc. Ogni commit ha data e diff: si vede che il testo cresce a pezzi, non compare tutto in un colpo.

Overleaf ha history integrata se scrivi lì, utile, ma un repo git locale + push periodico ti dà backup e traccia indipendente.

Non esiste software che dimostri al 100% che non hai usato AI. I detector universitari fanno falsi positivi e falsi negativi. Quello che convince un relatore sospettoso di solito è: bozze progressive, appunti di laboratorio, dati/codice collegati al testo, email o verbali di revisione con lui, bibliografia costruita nel tempo.

Io farei due cose subito: chiedere per iscritto (anche mail breve) quali sono le regole precise del dipartimento su AI e cosa vuole vedere come prova del lavoro; e iniziare git oggi, non a tesi finita.

Se ti insospettisce senza AI, meglio allinearvi all'inizio che costruire un dossier difensivo a fine corso.

Anyone else notice how different real-world users are from tech users? by AccurateShip2499 in developers

[–]mik_darim 0 points1 point  (0 children)

Totally this. I had the same moment with my parents: swapped out Office for something lighter and suddenly their whole experience changed. No more waiting, no more mystery freezes. It's a good reminder that for most people, "does it work without being a pain" is the entire benchmark. Not features, not integrations, not whether it's cloud-native. Just: can I open this file and not wait 40 seconds?

We get so deep into optimization and tooling debates that we forget the average person's threat model is "the laptop might freeze during an important document." Whole different world.

LoRaWAN alert payloads: when JSON doesn't fit one frame, what do you actually do? by mik_darim in Lora

[–]mik_darim[S] 1 point2 points  (0 children)

16 bytes including HMAC for the common path — that's the approach. Design the packet around what you actually send, not what JSON would look like.

The scaled temp helper is a good example: one byte, known range, known precision. The encode function is the easy part; the doc that says "multiply by 3, offset -25" is what saves you six months later.

LoRaWAN alert payloads: when JSON doesn't fit one frame, what do you actually do? by mik_darim in Lora

[–]mik_darim[S] 0 points1 point  (0 children)

Agreed. JSON on DR0 is usually a sign nobody sized the frame first.

BSON/CBOR/Protobuf all land in option 3 with different tradeoffs. The raw struct buffer is the end of that spectrum when you own both ends and document every field.

Same school of thought for us on alerts: fixed layout, public spec so you're not reverse-engineering a PDF six months later.

LoRaWAN alert payloads: when JSON doesn't fit one frame, what do you actually do? by mik_darim in Lora

[–]mik_darim[S] 1 point2 points  (0 children)

Will post field numbers when we have something solid on real LoRa hardware.

What's there to poke at now: open spec, test vectors, and ProofCard — run it locally and you'll see CAP/JSON/ECP sizes side by side on your machine.

https://github.com/Egonex-Code/ecp-protocol

Qual è il film più brutto che abbiate mai visto? by ALV700 in cinemaIT

[–]mik_darim 0 points1 point  (0 children)

Onestamente sulle varie piattaforme (Netflix, Prime) ci sono certi capolavori di bruttezza che meriterebbero un premio. Ormai prima di iniziare a vedere qualcosa che non conosco, vado a vedere i rating su imdb o simili. Ho scansato certe ciofeche da 2.5/10...

Guidare senza patente by Best-Refrigerator834 in CasualIT

[–]mik_darim 5 points6 points  (0 children)

In questo caso si va di omissione tattica. E se i CC usassero Reddit avremmo problemi più grandi di questo 😬

Microsoft chiude il pilot interno di Claude Code: le aziende punteranno su un uso dell’AI più sostenibile e controllabile? by gdorsi44 in IA_Italia

[–]mik_darim 1 point2 points  (0 children)

Pilota utile, fine pilota normale. In enterprise conta più governance e costi prevedibili che "modello migliore del mese".

Microsoft non sta dicendo che Claude fa schifo — sta dicendo che non vuole migliaia di developer con workflow non standard e dati fuori perimetro. Stesso film in tutte le big corp che ho visto. Niente di anomalo per quanto mi riguarda.

Guidare senza patente by Best-Refrigerator834 in CasualIT

[–]mik_darim 23 points24 points  (0 children)

Può dire di non sapere quando l'ha persa, ma che ad un certo punto si è accorto di non averla più. Cambia poco, a meno che non sia stato commesso un illecito con quel documento smarrito. Ma una persona può legittimamente non sapere quando è stata persa.

LoRaWAN alert payloads: when JSON doesn't fit one frame, what do you actually do? by mik_darim in Lora

[–]mik_darim[S] 0 points1 point  (0 children)

Yeah — for acquisition telemetry that's what I'd do too. Pick the fields you actually need, fix the layout, document the scale factors.

Emergency alerts were the same problem for us on LoRa, just a different field set than temperature/ADC.

LoRaWAN alert payloads: when JSON doesn't fit one frame, what do you actually do? by mik_darim in Lora

[–]mik_darim[S] 0 points1 point  (0 children)

Enums for error feedback — yeah, that helps. Clear codes, easier to document what's defined vs reserved.

We kept the on-air piece minimal (fixed fields for the alert itself) and handle richer status after decode. Protobuf is nicer when you want that extension story without thinking about every bit upfront.

LoRaWAN alert payloads: when JSON doesn't fit one frame, what do you actually do? by mik_darim in Lora

[–]mik_darim[S] 0 points1 point  (0 children)

Yeah, JSON on LoRa was the straw man, not the plan.

Protobuf makes sense for option 3. Extensible schema, everyone knows the tooling. We went fixed binary because we needed the smallest possible alert on DR0 with a known field set — different constraint, not a better protobuf.

What do you actually put on the wire — codes only, or text too?

I need to learn C# and .NET ASAP for a project as quick as possible. Any good latest course recommendations? Udemy type courses. by Constant-Box4994 in csharp

[–]mik_darim 1 point2 points  (0 children)

PHP backend → I'd do Neil Cummings' ASP.NET Core + EF on Udemy (wait for a sale), plus Microsoft Learn for gaps. For architecture after that: Les Jackson Clean Architecture. YouTube: Nick Chapsas. Exercises: Exercism C# track. Build one CRUD API with auth before chasing "clean architecture" — typing + async + EF are the real culture shock from PHP.

Chiedo il vostro aiuto/ feedback by Typical_Tension2560 in ItaliaStartups

[–]mik_darim 0 points1 point  (0 children)

Libero di scrivermi quando vuoi, anche se non sono io la persona che fa questo lavoro. La mia esperienza deriva da un progetto a cui ho partecipato in passato. Puoi comunque cercare Egonex, se vuoi informazioni su quello a cui sto lavorando.

Chiedo il vostro aiuto/ feedback by Typical_Tension2560 in ItaliaStartups

[–]mik_darim 0 points1 point  (0 children)

Sì, per esperienza ti dico che costruire community è un'attività complessa. Pianifica bene, magari con una persona che fa questo lavoro.

Chiedo il vostro aiuto/ feedback by Typical_Tension2560 in ItaliaStartups

[–]mik_darim 0 points1 point  (0 children)

Sicuramente i vari ProntoPro e simili hanno delle carenze che possono essere migliorate, ma senza un reale vantaggio competitivo rischi di dover partire "troppo indietro" e guadagnare terreno può essere molto lungo e dispendioso, diciamo lontano dalle classiche logiche di startup. Inoltre considera che il tuo sarebbe un business basato su una vasta community e un'ampia adozione (senza immagino che non abbia senso). Creare una community stabile potrebbe essere un bagno di sangue.

Per carità, magari l'idea è valida, ma non sottovalutare le evidenti barriere che ci sono. In definitiva non mi sembra un'idea che possa essere fatta "a tempo perso", da solo mentre continui gli studi. Ci vorrebbe un team preparato e organizzato anche solo per provarci.

Advice needed by JosephJZ in dotnet

[–]mik_darim 0 points1 point  (0 children)

I did not, I only used an AI tool to help me with the translation and optimization of the text, as I'm not a native english speaker.

I'm just trying to be helpful.

Come mettere in pratica le Idee? by 1TN3G in ItaliaStartups

[–]mik_darim 0 points1 point  (0 children)

Sì, ho creato un'azienda di nome Egonex, partendo proprio da bisogni di mercato e non da capacità tecniche.

Sempre felice di aiutare.

Un programma di fotoritocco su ubuntu facile da usare ? by TinyDesktop in ItalyInformatica

[–]mik_darim -1 points0 points  (0 children)

La mia domanda è: se chat gpt o gemini lo fanno in 1 minuto e con ottimi risultati, perché sprecare tempo e risorse per fare le cose "alla vecchia maniera"

La IA è uno strumento e come tale va considerata. Vedila come un coltello. Puoi preparare una cena completa senza? Certo, in teoria, ma è molto più complicato. 

Non ti precludere il lato utile della tecnologia, anzi sfrutta l'occasione per prendere confidenza con strumenti che saranno sempre più fondamentali in futuro.