{"id":2240,"date":"2026-01-19T11:35:21","date_gmt":"2026-01-19T10:35:21","guid":{"rendered":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/unode-offuscata-alla-riconoscimento-del-testo-scritto-a-mano\/"},"modified":"2026-11-19T10:07:23","modified_gmt":"2026-11-19T09:07:23","slug":"unode-offuscata-alla-riconoscimento-del-testo-scritto-a-mano","status":"publish","type":"post","link":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/unode-offuscata-alla-riconoscimento-del-testo-scritto-a-mano\/","title":{"rendered":"Un&#8217;Ode Offuscata al Riconoscimento del Testo Scritto a Mano"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#86D1F5&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_row column_structure=&#8221;3_5,2_5&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.5&#8243; _dynamic_attributes=&#8221;content&#8221; _module_preset=&#8221;default&#8221; text_font=&#8221;|700|||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;36px&#8221; text_line_height=&#8221;1.1em&#8221; global_colors_info=&#8221;{}&#8221;]@ET-DC@eyJkeW5hbWljIjp0cnVlLCJjb250ZW50IjoicG9zdF90aXRsZSIsInNldHRpbmdzIjp7ImJlZm9yZSI6IiIsImFmdGVyIjoiIn19@[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.5&#8243; _dynamic_attributes=&#8221;content&#8221; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]@ET-DC@eyJkeW5hbWljIjp0cnVlLCJjb250ZW50IjoicG9zdF9jYXRlZ29yaWVzIiwic2V0dGluZ3MiOnsiYmVmb3JlIjoiIiwiYWZ0ZXIiOiIiLCJsaW5rX3RvX3Rlcm1fcGFnZSI6Im9uIiwic2VwYXJhdG9yIjoiIHwgIiwiY2F0ZWdvcnlfdHlwZSI6ImNhdGVnb3J5In19@[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.5&#8243; _dynamic_attributes=&#8221;content&#8221; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]@ET-DC@eyJkeW5hbWljIjp0cnVlLCJjb250ZW50IjoicG9zdF90YWdzIiwic2V0dGluZ3MiOnsiYmVmb3JlIjoiIiwiYWZ0ZXIiOiIiLCJsaW5rX3RvX3Rlcm1fcGFnZSI6Im9uIiwic2VwYXJhdG9yIjoiIHwgIiwiY2F0ZWdvcnlfdHlwZSI6InBvc3RfdGFnIn19@[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_image src=&#8221;https:\/\/www.sourcecode-exhibition.softwareheritage.org\/wp-content\/uploads\/2025\/12\/Picto_SCE_11.png&#8221; title_text=&#8221;Picto_SCE_11&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#000000&#8243; background_enable_image=&#8221;off&#8221; parallax=&#8221;on&#8221; custom_padding=&#8221;59px||108px|||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_image src=&#8221;https:\/\/www.sourcecode-exhibition.softwareheritage.org\/wp-content\/uploads\/2025\/12\/Projet_SoftwareHeritage13.jpg&#8221; title_text=&#8221;Projet_SoftwareHeritage13&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_2,1_2&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px|||||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text module_class=&#8221;legende&#8221; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#FFFFFF&#8221; text_font_size=&#8221;20px&#8221; background_color=&#8221;#000000&#8243; min_height=&#8221;25.8px&#8221; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;20px|20px|20px|20px|true|true&#8221; custom_css_free_form=&#8221;.legende   {||   ||  &#8211;p: 12px; \/* taille du carr\u00e9 mang\u00e9 *\/||||  padding: calc(2rem + var(&#8211;p));||  width: 320px;||  font-family: monospace;||||  clip-path: polygon(||    \/* haut gauche *\/||    0 0,||    calc(100% &#8211; var(&#8211;p)) 0,||    calc(100% &#8211; var(&#8211;p)) var(&#8211;p),||    100% var(&#8211;p),||    100% 100%,||    var(&#8211;p) 100%,||    var(&#8211;p) calc(100% &#8211; var(&#8211;p)),||    0 calc(100% &#8211; var(&#8211;p))||  );||}&#8221; border_color_all=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p>Adrian Cable, International Obfuscated C Code Contest, \u201cBest of Show\u201d, 2013 [CC BY-SA 4.0].<\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#BAE3FA&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h1><strong>SUL CODICE<\/strong><\/h1>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p style=\"font-weight: 400;\"><strong>Questo codice in C \u00e8 un esempio di \u201ccodice offuscato\u201d, che fa parte di una lunga tradizione che privilegia la virtuosit\u00e0 di programmazione rispetto alla leggibilit\u00e0 e alla chiarezza. Il programma implementa un piccolissimo motore OCR (Optical Character Recognition) che utilizza un algoritmo innovativo e un nuovo metodo di compressione dei tratti in soli 4.096 byte.<\/strong><\/p>\n<p style=\"font-weight: 400;\">Come nella maggior parte dei codici offuscati, il codice sorgente \u00e8 reso come una scena in ASCII art \u2014 un paesaggio notturno illuminato dalla luna con una volpe e un cane \u2014 rendendo la forma estetica parte della sua funzione nel raffigurare il classico pangramma inglese: &#8220;The quick brown fox jumps over a lazy dog&#8221;. Questo stile artistico ci ricorda che il codice sorgente pu\u00f2 (e forse dovrebbe) possedere bellezza estetica e arguzia. Ma sotto l&#8217;estetica si cela il pi\u00f9 piccolo motore OCR mai scritto capace di riconoscere tutti i caratteri ASCII stampabili. <br \/>Il fascino di questo codice sta nel \u201cdepistaggio educativo\u201d che produce. Insegna il potenziale espressivo del C non aderendo alle norme, ma sovvertendole: l&#8217;intero programma \u00e8 scritto usando solo cicli for, con uso eccessivo di macro, operatori ternari e trucchi con i puntatori, usando le &#8220;cattive pratiche&#8221; come efficaci strumenti artistici. Persino la funzione \u201cmain\u201d viene usata ripetutamente, con un effetto satirico e pratico.<\/p>\n<p style=\"font-weight: 400;\">Al di l\u00e0 della maestria tecnica, questo capolavoro di offuscamento ricorda a programmatori e non che, sotto strati di convenzioni, si nasconde un mondo di creativit\u00e0 e possibilit\u00e0 espressive che attende di essere scoperto. Celebra la programmazione come artigianato e come arte, riaffermando che l&#8217;eleganza, l&#8217;umorismo e l&#8217;innovazione sono al centro del patrimonio culturale dell&#8217;informatica.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; theme_builder_area=&#8221;post_content&#8221; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221;][et_pb_row _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; type=&#8221;4_4&#8243; theme_builder_area=&#8221;post_content&#8221;][et_pb_video src=&#8221;https:\/\/youtu.be\/J-n8bXSi9eQ&#8221; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;][\/et_pb_video][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#86D1F5&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_row column_structure=&#8221;1_2,1_2&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h1><strong>Biografia dell&#8217;autore del pannello<\/strong><\/h1>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p style=\"font-weight: 400;\">Adrian Cable esplora da tempo la giocosa intersezione tra sviluppo software, arte e pedagogia. Oltre ai suoi contributi all&#8217;International Obfuscated C Code Contest, ha contribuito a diversi noti progetti open source, tra cui Homebridge, Pion\/WebRTC, il kernel Linux e il linguaggio Go. Il suo lavoro sottolinea che il codice sorgente pu\u00f2 essere contemporaneamente funzionale, bello, formativo e deliziosamente non convenzionale.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;||||||||&#8221; text_font_size=&#8221;26px&#8221; header_font=&#8221;Escuela-regular||||||||&#8221; header_font_size=&#8221;27px&#8221; background_color=&#8221;#BAE3FA&#8221; width=&#8221;79%&#8221; custom_padding=&#8221;20px||20px|20px|true|false&#8221; border_radii=&#8221;on|100px|100px|100px|100px&#8221; border_width_all=&#8221;2px&#8221; border_color_all=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><strong>#Aesthetics<\/strong><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;||||||||&#8221; text_font_size=&#8221;26px&#8221; header_font=&#8221;Escuela-regular||||||||&#8221; header_font_size=&#8221;27px&#8221; background_color=&#8221;#BAE3FA&#8221; width=&#8221;79%&#8221; custom_padding=&#8221;20px||20px|20px|true|false&#8221; border_radii=&#8221;on|100px|100px|100px|100px&#8221; border_width_all=&#8221;2px&#8221; border_color_all=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><strong>#C Language<\/strong><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.5&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;||||||||&#8221; text_font_size=&#8221;26px&#8221; header_font=&#8221;Escuela-regular||||||||&#8221; header_font_size=&#8221;27px&#8221; background_color=&#8221;#BAE3FA&#8221; width=&#8221;79%&#8221; custom_padding=&#8221;20px||20px|20px|true|false&#8221; border_radii=&#8221;on|100px|100px|100px|100px&#8221; border_width_all=&#8221;2px&#8221; border_color_all=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><strong>#Obfuscated Code<\/strong><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adrian Cable, International Obfuscated C Code Contest, \u201cBest of Show\u201d, 2013 [CC BY-SA 4.0].SUL CODICEQuesto codice in C \u00e8 un esempio di \u201ccodice offuscato\u201d, che fa parte di una lunga tradizione che privilegia la virtuosit\u00e0 di programmazione rispetto alla leggibilit\u00e0 e alla chiarezza. Il programma implementa un piccolissimo motore OCR (Optical Character Recognition) che utilizza [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[216],"tags":[226,228,227],"class_list":["post-2240","post","type-post","status-publish","format-standard","hentry","category-cultural-artefact","tag-aesthetics","tag-c-language","tag-obfuscated-code"],"_links":{"self":[{"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/posts\/2240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/comments?post=2240"}],"version-history":[{"count":5,"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/posts\/2240\/revisions"}],"predecessor-version":[{"id":2453,"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/posts\/2240\/revisions\/2453"}],"wp:attachment":[{"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/media?parent=2240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/categories?post=2240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sourcecode-exhibition.softwareheritage.org\/it\/wp-json\/wp\/v2\/tags?post=2240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}