HN user

lbolla

173 karma
Posts7
Comments42
View on HN

I developed that tweak for Python 2.7 and I am running in production with Python 3.6. I tested with later Python versions, too.

Do you have some pointers about arenas always using mmap? I'd like to know how that trick can work if that was the case.

Can you share your experience? How did you get started contracting in the UK? Did you contact a head-hunter or do you find your own contracts? How?

Corruption in Italy is hardwired in the behavior of people and their approach to life. It's enough to live in Italy for a long enough time to understand how people reason and why corruption is so widespread.

Obviously, being Italian doesn't make me an expert in corruption from a legal point of view, but I am pretty positive to know a bit about Italian mentality and facts confirm that corruption is as common in the North as it is in the South (I can cite my sources, if necessary.)

Don't be so naive! Scientists are not bound by some force of Nature to tell the truth. The accusation is exactly that they didn't tell all they knew about the earthquake, but they hold back the information in order to "quiet down" the population.

Obviously, I don't know if the accusations are true or false, but, knowing Italy, where "famous" scientists are usually very close to politicians, it would not surprise me at all.

This is way more complex than it might appear. Italian speakers can watch this movie: http://www.youtube.com/watch?v=rROgB5QMgHs&feature=playe... It shows a telephone conversation between the chief of "Protezione Civile" (responsible to react and intervene in case of catastrophes) Guido Bertolaso and a politician in the region where the earthquake happened, Daniela Stati.

Bertolaso first tells Stati that they did badly by saying the media that they didn't expect more earthquakes (as they did the day before, after a small shake that did no damage). Bertolaso added that he would fix this error with the media and send the most important scientists he knows to "quiet down" the population, upset by the previous message and by the continuous shakes. The accusation is that scientists didn't actually report what they knew, but they went in front of the media to "quiet" down the population.

Unfortunately, the day after the big earthquake happened and 309 people died.

Login vs Log In 14 years ago

I agree with your prediction, but it scares me that a medium that should make communications easier will actually put more barriers between ages.

I already do not understand SMS spelling: in 50 years, probably a 30 years old person will not understand things written by a 15 years old person.

Conservatism in schools has the advantage that we can still read Shakespeare (or Dante) without translation. Languages that change too quickly defy their own purpose (i.e. being a common ground for people to communicate).

Login vs Log In 14 years ago

I agree in principle, but where do schools fit in your picture? Schools should teach you the meaning of things and then, only if the available meanings don't fit your reality, then people should recur to "agreement". I like to think that Shakespeare (or Dante, in my language) words weight more than FB posts to define the meaning of things ;-)

Login vs Log In 14 years ago

I think it really boils down to whom you are addressing: people who ignore things are happy to do as others (even if they are wrong -- they don't know!), whereas people who know things care about correctness (and are annoyed by incorrectness or sloppiness).

Login vs Log In 14 years ago

The most annoying thing to me is seeing that popularity is mislead for authority or correctness. Why would the options chosen by the majority of people be the most correct one? Pitfalls of democracy...

If you intend "matrix multiplication", there is no "right order": "matrix multiplication" is associative (http://en.wikipedia.org/wiki/Matrix_multiplication).

Numpy has a "matrix" type, so you can write:

        In [7]: A = numpy.matrix('1 2; 3 4; 5 6')                                                         
        In [8]: B = numpy.matrix('1 2 3; 4 5 6')                                                          
        In [9]: C = numpy.matrix('1; 2; 3')                                                               

        In [10]: A * B * C
        Out[10]: 
        matrix([[ 78],                                                                                    
                [170],                                                                                    
                [262]])                                                                                   
        
        In [11]: (A * B) * C                                                                              
        Out[11]:                                                                                          
        matrix([[ 78],
                [170],                                                                                    
                [262]])                                                                                   

        In [12]: A * (B * C)                                                                              
        Out[12]: 
        matrix([[ 78],                                                                                    
                [170],
                [262]])

What surprises me is that no-one mentioned inheritance when speaking about classes. I am not a fan of classes and I prefer the functional approach, whenever possible. In my experience, I found that classes make sense as part of a hierarchy, that is, when subclassed to override/specialize methods or to describe interfaces, like type-classes in Haskell.

Gravity depends on m/r^2 where m is the mass of the planet and r its radius. Compared to Earth's, m = 7 m_earth and r = 2.7 r_earth, which gives you a gravity 0.96 times the gravity on Earth. Remarkably similar... But I wonder, if the temperature is 200 degrees, there must be a massive pressure, in order to have liquid water. Where does the pressure come from? Heavy atmosphere?