giovedì 27 giugno 2024

[ENG] API testing in action : test your DMVCFramework API with Python

 My first speech in front of a developer audience was last October at ITDevCon 2023.

ITDevCon is an international conference held in Rome, organized by bit Time Professinals (the company where I work as an Analyst Programmer) and bit Time Software.

The conference focuses on Delphi, the development environment marketed by Embarcadero, and all the IT technology that, alongside Delphi, makes our work much smoother and more productive.

As mentioned, at ITDevCon 2023, I had the honor of being one of the conference speakers.

The title of my speech was: API Testing in Action.

I focused on using Delphi and Python as complementary development tools for designing and testing a REST application developed in Delphi with DMVCFramework, where smoke tests can be easily implemented using PyTest. PyTest is a Python library that provides constructs and data structures useful for testing applications.

The video of my speech is available on YouTube—enjoy!


#codinglikeacoder


mercoledì 26 giugno 2024

API testing in action : test your DMVCFramework API with Python

Il mio primo speech dinanzi ad una platea di Sviluppatori è stato lo scorso Ottobre in occasione di ITDevCon 2023.

ITDevCon è una conferenza a carattere internazionale che si svolge a Roma grazie all'impegno di bit Time Professionals  (Azienda per la quale lavoro come Analista Programmatore) e bit Time Software.

La conferenza è incentrata su Delphi, l'ambiente di sviluppo commercializzato da Embarcadero, e tutta la tecnologia IT che a fianco a Delphi, rendono il nostro lavoro molto più fluido e produttivo.

Come dicevo, in occasione dell'ITDevCon 2023 ho avuto l'onore di essere uno degli speaker della conferenza.

Il titolo del mio speech era : API Testing in Action.

Ho incentrato lo speech sull'uso di Delphi e di Python quali strumenti di sviluppo complementari nella progettazione e nel testing di una applicazione REST sviluppata in Delphi con DMVCFramework  i cui test, smoke test, possono essere facilmente implementati con PyTest PyTest. PyTest è una libreria Python che mette a disposizione costrutti e strutture dati utili ai fini del test della propria applicazione.

Su YouTube è disponibile il video del mio speech: enjoy! 

#codinglikeacoder


lunedì 17 giugno 2024

[English] Delphi@School 2024

We have often asked ourselves 'how' to introduce Delphi to the new generations.

We have always thought it would be wonderful to have a few hours in the school day of the students who are currently taking programming courses.

We got this opportunity!

On Tuesday, February 20th, Fabrizio Bitti and I were guests at the ITC "Archimede" in Modica (RG) to present Delphi to the two fifth-year programming classes.

It was a wonderful day: after a presentation of Delphi, we moved to the lab for a few hours of 'hands-on practice'. We demonstrated how to create a VCL application, and the students developed their own in about an hour. We also showed how Delphi can be used to develop mobile applications for iOS and Android.

For the occasion, we asked Embarcadero Technologies - Delphi to provide us with Academy licenses for the 56 PCs in the two labs.

Today, Delphi is installed on those 56 PCs, available to the students of today and those who will come after them. We have no doubt that #Delphi will become a part of the educational curriculum for the students of this institute. We are confident of this at bit Time Software and bit Time Professionals, who worked hard to prepare this event, as well as the teachers who assisted us over the past few weeks.

We hope that this experience can serve as an inspiration to propose similar initiatives in other parts of Italy, in other institutions. And if you wish, I guarantee that Valentina Bitti and the entire bit Time staff can support you in organizing it.

#codinglikeacoder













[Italian] Delphi@School 2024

Più volte ci siamo interrogati sul 'come' poter far conoscere Delphi alle nuove generazioni.

Ci siamo sempre detti che sarebbe stato bellissimo poter avere uno spazio di qualche ora nella giornata scolastica delle ragazze e dei ragazzi che oggi seguono i corsi programmatori.

Questa opportunità l'abbiamo avuta!

Martedì 20 Febbraio, io e Fabrizio Bitti siamo stati ospiti dell'ITC "Archimede" di Modica (RG) per presentare Delphi alle due quinte programmatori.

E' stata una bellissima giornata: dopo una presentazione di Delphi, ci siamo spostati in laboratorio per qualche ora di 'prova sul campo': abbiamo mostrato come realizzare una applicazione VCL; i ragazzi ne hanno realizzata una loro nell'arco di un'ora. Abbiamo mostrato come con Delphi è possibile realizzare applicazioni Mobile per iOS e Android.

Per l'occasione, abbiamo chiesto ad Embarcadero Technologies - Delphi di fornici le licenze Accademy per i 56 PC dei due laboratori.

Oggi Delphi è installato in quei 56 PC a disposizione degli alunni di oggi e di coloro che verranno; e non abbiamo dubbi che #Delphi possa entrare a far parte del pacchetto formativo delle ragazze e dei ragazzi di questo Istituto. E ne siamo certi sia noi in bit Time Software e bit Time Professionals che ci siamo impegnati per preparare questo evento, sia i docenti che ci hanno coadiuvato in queste settimane.

Ci auguriamo che da questa esperienza, si possa trarre spunto per proporla in altre parti di Italia, in altri Istituti. E se volete, vi garantisco che Valentina Bitti e tutto lo staff di bit Time può supportarvi nella organizzazione.

#codinglikeacoder















martedì 11 giugno 2024

iPhone mirroring on Mac : finalmente!

 Ieri Apple ha annunciato la nuova versione del suo Sistema Operativo OSX : Sequoia.

Sequoia porta con se numerose nuove features, tra cui la più attesa, 'Apple Intelligence', l'intelligenza artificale di casa Apple.

Ma per chi come me ama lavorare con tutti i propri dispositivi Apple, mancava qualcosa. 

Mancava l'opportunità di controllare dal proprio iMac o dal proprio MacBook, il proprio iPhone!
Si: dal tuo 'Mac' non è possibile, oggi, controllare il tuo iPhone, scorrere tra le icone delle tue applicazioni, aprire una applicazione specifica per iPhone. Sicuramente puoi utilizzare Continuity, puoi rispondere al telefono con il microfono e gli speaker del Mac. Ma non puoi visualizzarlo e operare con esso.

E allora ci si è immersi nel mare di Internet per cercare di trovare qualche utility che permettesse, almeno, di visualizzare sul tuo Mac il contenuto del monitor dell'iPhone. Qualcosa la si trova/trovava, più o meno utile. 

Bene: adesso non ci resta che attendere Sequoia e completare, così, tutto il bouquet di opportunità che l'interazione tra i sistemi Hardware e Software di Apple, ci mettono a disposizione.







#codinglikeacoder


P.s.: si, sono un utente Apple super soddisfatto 

martedì 9 aprile 2024

Embedding "Flavio", my name

 Hi, I'm {

"embedding": [

0.02614186331629753,

0.4381698966026306,

-0.21378979086875916,

0.2108100950717926,

-0.7419629693031311,

-0.299163281917572,

0.7544066905975342,

0.5254807472229004,

-0.004517614841461182,

-0.3574155569076538,

0.725599467754364,

-1.3021023273468018,

-0.6258538961410522,

-0.06448619812726974,

-0.3014940023422241,

0.309024453163147,

0.18549120426177979,

0.48398762941360474,

-0.2144222855567932,

-0.2037339061498642,

-0.8580779433250427,

-0.08558651059865952,

-0.08332362025976181,

0.5149563550949097,

-0.27153658866882324,

0.11458375304937363,

0.23846878111362457,

0.3351083993911743,

-0.028781257569789886,

-0.9688888788223267,

-0.30477359890937805,

-0.010578133165836334,

0.7833949327468872,

0.09081966429948807,

-0.4719327688217163,

-0.4267471432685852,

-0.41657543182373047,

-0.13057786226272583,

-0.013384098187088966,

0.12672746181488037,

0.048317477107048035,

-0.6703800559043884,

-0.5272355675697327,

0.16463059186935425,

-0.3263187110424042,

-0.8705267906188965,

0.0720176175236702,

0.19153156876564026,

0.2743409276008606,

0.10322926193475723,

-0.5260753631591797,

-0.3043419122695923,

-0.07909645885229111,

0.5297701358795166,

-0.10874190181493759,

0.4061119258403778,

0.25518789887428284,

0.16391722857952118,

0.23510780930519104,

0.28482329845428467,

-0.130024254322052,

0.008064216002821922,

-0.16499800980091095,

0.3530336618423462,

-0.07977577298879623,

0.18379120528697968,

-0.5148739814758301,

-0.3792397379875183,

-0.2500225305557251,

0.32968467473983765,

0.6893023252487183,

-0.5332391858100891,

0.36528444290161133,

-0.04144613444805145,

-0.06565693765878677,

0.19668462872505188,

0.25511860847473145,

0.06181195005774498,

0.3590245842933655,

-0.43744146823883057,

0.35536903142929077,

-0.05296611785888672,

-0.9024356007575989,

-0.14361080527305603,

-0.179348886013031,

0.26871204376220703,

0.23265434801578522,

-0.12907779216766357,

-0.019379109144210815,

0.09700152277946472,

-0.38712078332901,

0.4330683946609497,

0.5775781869888306,

-0.39762982726097107,

-0.6102876663208008,

0.47088950872421265,

0.323505699634552,

0.005742698907852173,

-0.5810500383377075,

1.5498318672180176,

0.8716337084770203,

-0.02726401947438717,

-0.181318998336792,

-0.2758522033691406,

-0.3316264748573303,

-0.04267121106386185,

0.15131688117980957,

-0.6806584000587463,

-0.029447143897414207,

0.028087755665183067,

-0.09430214017629623,

-0.7722358703613281,

-0.5311408638954163,

-0.06873831897974014,

0.011487014591693878,

0.19091320037841797,

0.37056636810302734,

0.3326404094696045,

-0.1431078016757965,

-0.052524931728839874,

0.06272530555725098,

-0.1262502670288086,

-0.4035766124725342,

0.05357862263917923,

0.3579168915748596,

-0.4104152321815491,

-0.2621760070323944,

-3.8965416045435777e-32,

-0.1581914722919464,

-0.35214686393737793,

-0.322429358959198,

0.3025842010974884,

0.22836896777153015,

0.24012991786003113,

-0.13513264060020447,

0.023669861257076263,

-1.303923487663269,

-0.4230734705924988,

-0.8689979314804077,

-0.03458337485790253,

-1.0512957572937012,

-0.05758518725633621,

0.6881169080734253,

1.032805323600769,

-0.48581746220588684,

0.45701032876968384,

0.3061375021934509,

-0.2890547811985016,

0.190525621175766,

-0.09104794263839722,

-0.16436928510665894,

0.18877394497394562,

-0.12426464259624481,

0.15748357772827148,

0.1400296986103058,

-1.050025463104248,

0.23449695110321045,

0.16925248503684998,

-0.34490126371383667,

0.39690032601356506,

0.10969727486371994,

0.4089289903640747,

-0.18664774298667908,

0.20206856727600098,

-0.1958104968070984,

-0.6136585474014282,

-0.5771458148956299,

0.3631473183631897,

-0.2974854111671448,

0.617546796798706,

0.3334789276123047,

0.05523531138896942,

-0.0002924203872680664,

-0.2563509941101074,

0.512433648109436,

0.306764155626297,

0.7052868008613586,

-0.12571923434734344,

-0.23237422108650208,

-0.680027961730957,

0.6219253540039062,

0.20979571342468262,

-0.034249790012836456,

0.4416027069091797,

0.05300752446055412,

0.46221423149108887,

-0.10944490134716034,

0.012676596641540527,

0.006118888035416603,

1.1748484373092651,

-0.1896507889032364,

0.3675697445869446,

-0.20933353900909424,

0.13222837448120117,

-0.20360641181468964,

0.5856114625930786,

0.42571282386779785,

-0.24046431481838226,

-0.49546486139297485,

-0.4112354516983032,

0.2695114314556122,

0.06755363196134567,

-0.006075583398342133,

0.028160735964775085,

0.02392914891242981,

-0.38017553091049194,

-0.4738536477088928,

-0.2293546348810196,

-0.5233322381973267,

-0.04897607862949371,

0.15147626399993896,

0.35722804069519043,

0.35351261496543884,

0.660639762878418,

-0.11965645104646683,

0.29500240087509155,

-0.06518451869487762,

0.3623158931732178,

-0.07553496956825256,

-0.014756321907043457,

0.2631849944591522,

0.19710060954093933,

-0.5306228995323181,

2.9969760385407967e-32,

-0.4217384457588196,

-0.18448558449745178,

0.7266256213188171,

-0.00819290429353714,

0.4618568420410156,

-0.23130981624126434,

-0.6397393941879272,

0.2791628837585449,

-0.08627069741487503,

-0.11580637097358704,

0.09445445239543915,

-0.7540725469589233,

0.7074946165084839,

-0.6519882678985596,

0.01354939490556717,

0.9954689741134644,

0.8325520753860474,

0.25816410779953003,

-0.46838635206222534,

-0.13018378615379333,

-0.6929394602775574,

-0.10217904299497604,

-0.5264158248901367,

-0.04833872616291046,

-0.24791203439235687,

0.03046073205769062,

1.3528028726577759,

0.0744347795844078,

-0.184098482131958,

-0.15351024270057678,

-0.29361796379089355,

0.2269156277179718,

-0.5329173803329468,

-0.17585298418998718,

0.5031237602233887,

0.9712595343589783,

-0.36114245653152466,

-0.18037833273410797,

0.39604151248931885,

0.13158313930034637,

-0.03458520770072937,

0.36093324422836304,

0.24647504091262817,

0.684968113899231,

0.48658841848373413,

0.062058888375759125,

-0.02903137356042862,

0.08941610157489777,

-0.031173156574368477,

0.2489335536956787,

-0.06988513469696045,

-0.24908828735351562,

-0.7842230796813965,

0.273396760225296,

-0.03829672560095787,

-0.2729239761829376,

0.3039786219596863,

-0.08687649667263031,

0.012893952429294586,

-0.16011707484722137,

-0.03727934509515762,

-0.0886051207780838,

-0.05278322845697403,

0.3726363182067871,

-0.4013430178165436,

0.3164513111114502,

-0.4521650969982147,

0.4337860345840454,

-0.742098331451416,

0.08969049900770187,

0.8432288765907288,

-0.21934154629707336,

-0.7763752341270447,

0.3525983691215515,

-0.3278043866157532,

0.2814970910549164,

-0.7064390182495117,

0.11121497303247452,

0.3195938467979431,

-0.3748588263988495,

-0.17230814695358276,

-0.5820282697677612,

-0.17447088658809662,

0.47348135709762573,

0.7053865194320679,

-0.2225111573934555,

-0.33313241600990295,

0.28770750761032104,

0.5855809450149536,

0.7811040878295898,

0.10059086978435516,

0.37769198417663574,

-0.2079869508743286,

-0.4393562078475952,

-0.07509474456310272,

-8.94883029900484e-8,

0.077644944190979,

-0.085667684674263,

-0.03895420581102371,

0.060572072863578796,

0.8221168518066406,

0.10669932514429092,

-0.45983749628067017,

0.44402119517326355,

0.4561771750450134,

0.4454208016395569,

-0.31505805253982544,

0.23511023819446564,

0.27855437994003296,

0.1932833045721054,

0.5545862913131714,

0.3788541257381439,

0.07358507812023163,

0.2942500114440918,

0.16729049384593964,

0.08821668475866318,

-0.24458152055740356,

0.08782801777124405,

0.09915230423212051,

-0.0698775127530098,

0.07490906119346619,

0.011258505284786224,

-0.3373504877090454,

0.23029625415802002,

-0.10217910259962082,

-0.17106446623802185,

0.105277881026268,

0.3199107348918915,

-0.6724578738212585,

-0.29848599433898926,

0.132787823677063,

0.2923489212989807,

0.22035184502601624,

-0.19810068607330322,

0.031487204134464264,

-0.05393071472644806,

-0.06365492939949036,

0.0635952353477478,

-0.24184538424015045,

-0.351107120513916,

0.1363396942615509,

-0.10648033767938614,

0.1878836750984192,

-0.28979983925819397,

0.34382662177085876,

-0.3063441514968872,

-0.4706711173057556,

-0.44458383321762085,

0.641862154006958,

0.2188815027475357,

0.586264967918396,

-0.44232386350631714,

0.4778369665145874,

0.24064487218856812,

-0.015763821080327034,

-0.06074468418955803,

0.34157007932662964,

0.45354512333869934,

0.8425019383430481,

0.24851395189762115

]

}


#codinglikeacoder

giovedì 28 marzo 2024

[ENG] API testing in action : test your DMVCFramework API with Python

  My first speech in front of a developer audience was last October at ITDevCon 2023. ITDevCon   is an international conference held in Rome...