tag:blogger.com,1999:blog-174866182024-03-06T13:47:02.134+01:00EmergentYet another nerd blog, focused on different fields of computer science: web, HCI, computer graphics, and machine learningAnonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.comBlogger164125tag:blogger.com,1999:blog-17486618.post-88074254316672263122015-09-23T22:50:00.000+02:002015-09-23T22:52:38.567+02:00Setting kernel constants using CUDA driver APICUDA uses special qualifiers (namely, __constant__) to tell to the compiler that some variables should be placed direcly in a cached memory banks. The content of such variables (e.g., numeric values, constant arrays) can be set by the host before a kernel is executed. This is achieved, with CUDA runtime API, by using the following statement:
cudaMemcpyToSymbol(symbol, &variable, sizeof(Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com2tag:blogger.com,1999:blog-17486618.post-2115342728223348272014-07-24T18:30:00.004+02:002014-07-24T18:30:48.321+02:00On Golden Rules
Western society is permeated, on some extent, by a latent christian mentality. Even though a small part of western population is really christian, in a strict sense, "we" all agree on a passage of Matthew's gospel:
Whatever you want men to do to you, do also to them.- Matthew, 7:12
This fundamental principle is generally referred to as Jesus Christ's golden rule, and it is considered the basisAnonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0tag:blogger.com,1999:blog-17486618.post-480034537250644532013-04-04T12:34:00.002+02:002013-04-04T12:34:46.039+02:00So long, LucasArts
Sia maledetta Disney per questo.
Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0tag:blogger.com,1999:blog-17486618.post-56348121960165689042013-03-18T12:27:00.001+01:002013-04-15T15:16:16.649+02:00Semplici ipocriti o autentici fessi allo sbaraglio?I grillini, aka movimentisti a cinque stelle, sono riusciti a diventare il primo secondo partito alla Camera* sulla base di un atteggiamento intransigente di rottura con la "vecchia" politica, intesa quantomeno come nomi e sigle. Grazie all'approccio "non faremo alleanze", hanno drenato voti di protesta e sono esplosi come partito.
Al di là del successo elettorale, trovo demenziale questo Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com6tag:blogger.com,1999:blog-17486618.post-44753998863913260532012-08-30T01:10:00.001+02:002012-08-30T01:10:37.013+02:00Ubuntu, launch problem with Nvidia GeForce (GTX 590?)I experienced serious difficulties in launching my Ubuntu live distribution. In particular, both the 11.10 and the 12.04 versions did not recognize any keyboard (PS/2 or USB, it was the same), and halted during the startup phase.
The interesting part is that on a completely identical computer, except the video card, everything worked correctly.
Googling around, I realized that it could be due Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com2tag:blogger.com,1999:blog-17486618.post-35821336920443033202012-08-18T16:17:00.000+02:002012-08-18T16:17:04.915+02:00Dear Hollywood, are you trying to tell me something?
IMDB's home page. Do you notice anything?
Today I bumped upon IMDB as I came to know that a fourth chapter of Toy Story is in production: a sad commercial move. Anyway, when I loaded the home page, something has flashed before my eyes, something that should be self-evident by my screenshot above.
Hollywood's approach with violence - and guns in a particular way - clashes with many Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com10tag:blogger.com,1999:blog-17486618.post-19678241052914760802012-07-15T15:47:00.003+02:002012-07-15T15:47:58.468+02:00Giornalismo italiano e copia/incollaQual è la probabilità che due redattori di due testate indipendenti e teoricamente concorrenti scrivano due articoli completamente identici, parola per parola? Diciamo zero?
Al di là dell'assoluta inutilità della notizia, è interessante che RaiNews24 e Repubblica.it abbiano pubblicato lo stesso identico testo, la cui unica differenza è nel titolo vagamente differente. Nella migliore delle Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com1tag:blogger.com,1999:blog-17486618.post-61818600964158432722012-06-11T23:46:00.000+02:002012-06-11T23:46:44.675+02:00Meta-programming in PythonPython gives the programmer a plethora of facilities for the meta-programming, for instance the introspection of objects, modules, and such. Moreover, like many other interpreted languages, it allows the execution of generated code.
Which is cool, obviously, if you like algorithms that manipulate other algorithmic-generated algorithms.
http://xkcd.com/917/
This is definitively my case, for Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0tag:blogger.com,1999:blog-17486618.post-33577478892091360282012-04-26T21:46:00.001+02:002012-04-26T21:51:27.667+02:00Python, my first time
When it comes to learning a new technology I need some starting project that pushes me and gives me "momentum". In particular, it was years that I wanted to learn Python. I touched this language two years ago, at CINECA's SciViz course, and I toyed around with Django, but they have been momentary encounters and I was waiting for some small-sized, not too trivial problem to solve with it.
Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com2tag:blogger.com,1999:blog-17486618.post-89871308457766232392012-04-02T00:52:00.001+02:002012-04-02T00:52:54.310+02:00From Protein Data Bank to... Blender!
Visual Molecular Dynamics (VMD) is a stunning piece of software. Not only it is a powerful tool for molecules visualization and rendering, but it is very useful tool for converting PDB structures into other formats that 3D modeling programs can read. In particular, VMD exports into OBJ, which probably is the most common interchange format.
Moreover, it is usable! A+Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com1Brescia BS, Italia45.5398382 10.222956245.4508662 10.0650277 45.6288102 10.380884700000001tag:blogger.com,1999:blog-17486618.post-41618770182838872422012-03-21T02:28:00.004+01:002012-04-02T23:23:46.194+02:00DNA and fractals
DNA is a very interesting molecule, not only for its peculiar role in life. It has a solid structure and the Watson-Crick complementarity allows the construction of complex structures, by exploiting the so called sticky ends, that is, non-paired single strands that urges to be coupled with their complementary ones.
So, if we manipulate some DNA and give it a regular shape, we can "Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0tag:blogger.com,1999:blog-17486618.post-54249203406812838292012-03-19T11:33:00.000+01:002012-05-16T18:37:06.763+02:00Using Nsight with a GTX 590Update: Nsight Development Platform, that is, Parallel Nsight v2.2 finally introduces the single-GPU debugging capability. This is good and allows you to skip the following paragraph.
The only way to make serious CUDA debugging is by using Parallel Nsight by NVIDIA, but it has a drawback: it takes two GPUs. So, you can remotely connect to a GPU-powered machine or you can do it locally, by Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com1tag:blogger.com,1999:blog-17486618.post-79725024364843527932012-02-01T00:42:00.000+01:002012-02-01T00:42:57.927+01:00HOWTO fix shared Google calendars not showing up in AndroidGoogle calendar is a simple and useful tool for sharing informations about events and tasks with colleagues. The nice part is that you can gather many calendars and sum them up in a single view. The even nicest part is that everything flows into your android mobile, so you can have a collaborative real-time calendar in your phone.So, what's the matter? Well, the web-based calendar runs Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com65tag:blogger.com,1999:blog-17486618.post-73478509864059613732012-01-18T11:32:00.002+01:002012-01-18T14:19:41.283+01:00Automated twits from a workstation, using IFTTTWhen optimizing parameters of stochastic systems you can have hard time predicting when the process is going to end. It would be nice if the workstation itself warns you when it's done, just like Joshua used to give Lightman a call asking him to keep playing
Hello, Mr. Falken. You are a hard man to reach.
Telephone calls are demodé, anyway. It is much more web 2.0 if the workstation twits youAnonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0tag:blogger.com,1999:blog-17486618.post-64923225474324760652011-11-24T16:50:00.001+01:002011-11-26T01:50:29.304+01:00Mission accomplished
Rastrigin's benchmark function is far more photogenic than I am
I finally got my Master's Degree in computer science, by defending a strongly interdisciplinary thesis about GPGPU-powered parameter estimation in biochemical systems. The method I propose spins around my favourite bio-inspired optimization method – the Particle Swarm Optimization – whose fitness function relies on Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com3tag:blogger.com,1999:blog-17486618.post-29168219822389952432011-11-02T13:52:00.000+01:002013-09-23T21:21:44.035+02:00Vademecum anti-Renzi
Matteo Renzi alla "Ruota della Fortuna". Vinse 48milioni di lire.
Per usare un eufemismo, il sindaco di Firenze Matteo Renzi è una anomalia della politica italiana. Sedicente uomo "di sinistra", è stato eletto nelle fila del Partito Democratico, teoricamente di sinistra anch'esso. Tuttavia, nelle parole e nelle intenzioni, è completamente antitetico allo schieramento di cui, più o meno Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com4tag:blogger.com,1999:blog-17486618.post-33952953517760194112011-10-13T13:04:00.000+02:002011-10-13T13:43:05.002+02:00RIP dmr#include <stdio.h>
int main()
{
printf("Goodbye world\n");
printf("%c%c%c Dennis Ritchie\n", 82, 73, 80);
return -1;
}
Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0tag:blogger.com,1999:blog-17486618.post-17717283111112503752011-09-23T20:31:00.000+02:002011-09-23T20:31:48.532+02:00Joke of the day*knock knock*
- Neutrinos!
- Who's there?
Found here. Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com1tag:blogger.com,1999:blog-17486618.post-45625079460637759662011-09-22T11:08:00.004+02:002011-09-22T19:18:42.127+02:00Scova l'outlier
La fregatura di non poter frequentare tutte le lezioni, anche a causa di tediose sovrapposizioni di orario. A tal proposito, sarebbe interessante sviluppare l'organizzazione settimanale degli insegnamenti con gli algoritmi genetici, chissà se ci ha già provato qualcuno... idea che puntualmente ha già avuto qualcun'altro.
Anyway, let's call it a day. Avanti tutta verso la tesi! :)Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0tag:blogger.com,1999:blog-17486618.post-7080432293326121592011-08-24T00:32:00.000+02:002011-08-24T00:32:53.391+02:00Che bello......quando le cose iniziano a funzionare.
Tra qualche anno, son certo che la programmazione GPGPU sarà all'ordine del giorno ed esisteranno efficaci strumenti di supporto allo sviluppo e al debug.
Fino ad allora resterà puro autolesionismo.
Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com2Milano, Italia45.463681 9.188171399999987445.389062 9.0536043999999869 45.5383 9.322738399999988tag:blogger.com,1999:blog-17486618.post-72183629872988634592011-08-17T14:45:00.000+02:002011-08-17T14:45:03.091+02:00Teamwork 2
I took this picture in Corse, while camping at Plage d'Arone. I found these three ants busy in carrying a grape to the nest. They simultaneously attacked the fruit and began to cooperate, by placing at a distance of 120° from each other.
Once again, the question is whether we're in front of intelligent behaviour or not. Appearently, this doesn't seem to be the smartest way to Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com1tag:blogger.com,1999:blog-17486618.post-23622741638120835372011-07-15T01:03:00.001+02:002011-07-15T01:07:41.927+02:00Teamwork
I'm Hofstadter's huge fan, therefore I use to look at ants as sub-symbolic living metaphors, without any real will except that of the colony. From the collective behaviour, smoothed by evolution, emerges a sharp intelligence.
Still, looking at such a stunning demonstration of cooperation, I have hard time considering them like empty shells that simply react to external stimulus. That's a Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com1tag:blogger.com,1999:blog-17486618.post-53443139979859674212011-07-12T13:42:00.003+02:002011-07-12T19:12:01.694+02:00ARM about to create connectionist's paradise
ARM is developing a new kind of architecture which is supposed to run a simulation of the human brain. We're not talking about an artificial intelligence here, the project is about the reconstruction of the neuronal topology. In other words, they could prove that connectionist paradigm is right, that is, the brains cause the minds.
SpiNNaker, that's the name of the system, is based on Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0tag:blogger.com,1999:blog-17486618.post-33163145349978757662011-07-10T17:01:00.001+02:002011-08-25T16:09:09.587+02:00Emergent ants... the wet way
Ants never cease to amaze. A group of scientists of the Georgia Institute of Technology studied how groups of ants "link" themselves together forming a self-assembled organic structure that... does not sink! "Even when enough force is applied to submerge it, the raft quickly pops back up undamaged" writes the New Scientist. Appearently, they grip with mandibles, claws and some "adhesive Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0tag:blogger.com,1999:blog-17486618.post-20791670095293767782011-07-05T10:49:00.002+02:002011-07-10T21:18:58.452+02:00La notte della rete
Online video chat by Ustream
La censura della rete è un vecchio tarlo bipartisan italiano e sta arrivando a compimento in questi giorni. La nostra classe dirigente teme internet, perché anarchica e incontrollabile. Un canale i cui contenuti non sono imposti dal palinsesto ma creati dall'utenza. Un sistema in cui non si può sbattere fuori una voce sgradita perché urla la verità, ma con cui Anonymoushttp://www.blogger.com/profile/05265068564407128751noreply@blogger.com0