Better HN
topnewbestaskshowjobs
Log inSign up

lbolla

173 karma · joined Jul 26, 2010 (16y ago) · 52 submissions

Submissions

comment 6y ago · link · parent

My point is that it does work. I tested with Python 2.7 and Python 3.6+.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

I discovered a similar trick few years ago: https://stackoverflow.com/questions/35660899/reduce-memory-f...

The idea is to tweak when `mmap` or `malloc` are used by the Python interpreter. One allows memory to be released to the OS right away, whereas the other is not.

It is a useful trick if your application is generating lots of small objects.

comment 8y ago · link · parent

Chessbrah is also a very fun channel. https://www.youtube.com/user/chessbrah

comment 9y ago · link · parent

Because underwater there is less oxygen, less light and nice fine muddy floors.

comment 9y ago · link · parent

To watch Netflix for instance.

comment 10y ago · link · parent

What's up with those latency numbers? Seem huge to me.

8.

Systemd vulnerability discovered(betanews.com ↗)

4 points · by lbolla · 10y ago · 1 comment

comment 10y ago · link · parent

It should be "positive" numbers. http://mathworld.wolfram.com/Hardy-RamanujanNumber.html

comment 10y ago · link · parent

Actually, one could argue that something is "artistic" if it has the unique property that nobody at all finds it "artistic"...

I recommend the works by Arthur Danto (https://en.wikipedia.org/wiki/Arthur_Danto) for very interesting definitions of "art".

comment 10y ago · link · parent

Actually, "cogito ergo sum" comes from "Discourse on the Method".

comment 12y ago · link · parent

Best commentary of the match, by Jerry! http://www.youtube.com/watch?v=_0QdI0rVoHA&feature=em-upload...

comment 13y ago · link · parent

Yeah, I would agree that head, as it is, looks like a mistake. Instead of:

  head :: [a] -> a
I would code it as:

  head :: [a] -> Maybe a
returning Nothing for empty lists. Same applies to tail.

But others have very good reasons to disagree: http://stackoverflow.com/questions/6364409/why-does-haskells...

comment 13y ago · link · parent

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?

comment 13y ago · link · parent

Actually, tornado's test uses Mongo, which makes the test quite uncomparable to others using MySQL! https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

16.

Ask HN: What should I do if one of my startup founders does not work enough?

5 points · by lbolla · 13y ago · 8 comments

comment 13y ago · link · parent

IPython has this feature baked in the magic %ed command [1].

[1]: http://ipython.org/ipython-doc/dev/config/editors.html

comment 13y ago · link · parent

No. But their "Hey Jude" diagram is worth a watch! https://www.lucidchart.com/pages/examples/flowchart_software

comment 14y ago · link · parent

My eyes just exploded! ;-)

comment 14y ago · link · parent

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.)

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

This is bullshit, let me tell you. Corruption is everywhere in Italy: North AND South. Public sector AND Private sector. I am Italian, from the North, I lived in Milan for years and I am married with a woman from Rome: I know what I'm saying...

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

They are not in jail, and I bet they will never go to jail. I say this because, as Italian, I've seen way too many processes ended in first degree with a condemnation, and later on, in the second and third grade, ended with an absolution.

25.

URL Counter in Go on Google App Engine(lbolla.info ↗)

1 points · by lbolla · 14y ago · discuss

26.

Asynchronous programming with Tornado(lbolla.info ↗)

1 points · by lbolla · 14y ago · discuss

comment 14y ago · link · parent

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).

comment 14y ago · link · parent

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 ;-)
12