×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

Serious Network Function Vulnerability Found In Glibc

geantvert Re:Why not strncpy or strlcpy (211 comments)

Actually, the most logical choice would have been to used mempcy because they already called strlen(name) earlier.
Basically, they are doing the following:
  - compute the size required to store 2 pointers (THAT SHOULD BE 3) followed by strlen(name)+1 characters
  - check that the buffer is large enough and reallocate it if needed
  - store 3 pointers followed by name in the buffer.

In that case, the obvious value for the additionnal size argument passed to memcpy, strlcpy or strncpy is strlen(name)+1 which would not prevent the overflow.

4 days ago
top

NASA, NOAA: 2014 Was the Warmest Year In the Modern Record

geantvert Re:Do you really buy your own BS? (360 comments)

> > Since 1880, Earth’s average surface temperature has warmed by about 1.4 degrees Fahrenheit (0.8 degrees Celsius)
> In over 100 years the average has warmed 8/10's of a single degree.

This is actually a bit more than that because the chosen +0C is the average temperature during the 20th century that was reached around 1950, only 60-70 years ago:

http://static.berkeleyearth.or...

On that graph we are now at +0.8C but in 1910-20 we were around -0.4C so the last 100 year increase is more like 1.2C.

If the +0C was the average of the first measured century (1880-1980), it would be -0.2C or -0.3C.

about two weeks ago
top

NASA, NOAA: 2014 Was the Warmest Year In the Modern Record

geantvert Re:Someone teach me something here... (360 comments)

The answer is simple: there was no large scale measures before 1880
Any global temperature before that date would not come from real measures but from a reconstruction using indirect data.
There are plenty of scientific papers listed here
http://en.wikipedia.org/wiki/L...

about two weeks ago
top

NASA, NOAA: 2014 Was the Warmest Year In the Modern Record

geantvert Re:PDF chart (360 comments)

There are obviously hiding something!
The fact that this chart start only 3 years after the Roswell events cannot be a coincidence.

about two weeks ago
top

In Paris, Terrorists Kill 2 More, Take At Least 7 Hostages

geantvert Re:Why didn't they take them alive? (490 comments)

And tranquilizer darts probably do not work well through bullet proof vests and other similar protections.

about three weeks ago
top

Researchers "Solve" Texas Hold'Em, Create Perfect Robotic Player

geantvert Re:No such thing in real gambling (340 comments)

I do not think that you realize how big is 3x10^48.
Let's imagine that a magic technology would allow you to store one permutation per atom of hydrogen.
One mole of hydrogen is 6x10^23 atoms or 12g.
So 3*10^48 atoms of hydrogen is 12*(3*10^48)/(6*10^23) = 6*10^25 g = 6*10^22 kg
That's is almost the mass of the moon (7.34*10^22 kg)

about three weeks ago
top

Samsung Unveils First PCIe 3.0 x4-Based M.2 SSD, Delivering Speeds of Over 2GB/s

geantvert Re:If you don't want to upgrade your box (100 comments)

Ramdisks are a not a stupid idea. They are just not useful in most cases.

Putting temporary files (e.g. /tmp) in a ram disk can be beneficial but only if you have significantly more ram than needed. That can significantly speed up tasks that are known to create lots of temporary files (e.g. compilation). This is also very interesting to prevent your (old) ssd or flash disk to wear-off too quickly.

On Linux, it is not uncommon for /run to be a ram disk (of type tmpfs). This is where most services will put small temporary and special files that need be accessed very quickly.

about three weeks ago
top

Samsung Unveils First PCIe 3.0 x4-Based M.2 SSD, Delivering Speeds of Over 2GB/s

geantvert Re:Starts to get reasonable (100 comments)

No! I would say: FORTUNATELY I don't think that's going to happen.

2000MB/s is still one or two orders of magnitude slower than DDR3/4 (between 20000 and 60000MB/s) so I clearly don't want direct mapping.
Let the OS cache the SSD sectors in RAM pages and everything will be fine (and from the user point of view, that won't change anything)

about three weeks ago
top

Archive.org Adds Close To 2,400 DOS Games

geantvert Re:I downloaded the entire MAME library from them (198 comments)

MAME is a nice application but the problem is that most games were not designed for fun but to make you lose as fast as possible. Simply speaking, a cabinet game will be a lot harder than the same game for console or PC. When I was young, playing cabinet games was fun partly because I did not have a lot of money. In MAME, I can just play a few minutes, die, insert a "free" coin and continue the game to die even faster ... Boring!

MAME is still interesting for people trying to beat their high-score but not for casual gaming.

about three weeks ago
top

Extra Leap Second To Be Added To Clocks On June 30

geantvert Re:Investment oportunity (289 comments)

UTC sucks. I am going to switch all my computers to TAI

about three weeks ago
top

Extra Leap Second To Be Added To Clocks On June 30

geantvert Re:Investment oportunity (289 comments)

The more I think about it, the more I feel that this leap second system is bogus on the long term. The problem is that the 1.7 milliseconds are cummulative.

This is of course not true but for the sake of simplicity, let suppose that a second was defined according to the day length of 1900.

Around year 2000, so after 100 years, each day is now 1.7 ms longer so a whole year is 365*1.7ms = 0.62s longer. A leap second will be required every 1.6 years on average.
Around year 2100, so after 200 years, each day is now 3.4 ms longer so a whole year is 365*3.4ms = 1.24s longer. A leap second will be required every 0.8 years = 9 months on average.
Around year 2200, so after 300 years, each day is now 5.1 ms longer so a whole year is 365*3.4ms = 1.86s longer. A leap second will be required every 0.53 years = 6 months on average. ...
Around year 2900, so after 1000 years, each day is now 17ms longer so a whole year is 365*17ms = 6.2s longer. A leap second will be required every 0.16 years = 2 months on average.

There is of course no easy solution to that problem. Ideally, the second itself should be redefined regularly according to the day length.

about three weeks ago
top

Extra Leap Second To Be Added To Clocks On June 30

geantvert Re:Investment oportunity (289 comments)

According to http://en.wikipedia.org/wiki/T...

> If other effects were ignored, tidal acceleration would continue until the rotational period of Earth matched
> the orbital period of the Moon. At that time, the Moon would always be overhead of a single fixed place on
> Earth. Such a situation already exists in the Pluto–Charon system. However, the slowdown of Earth's
> rotation is not occurring fast enough for the rotation to lengthen to a month before other effects make
> this irrelevant: About 2.1 billion years from now, the continual increase of the Sun's radiation will likely
>cause Earth's oceans to vaporize,[11] removing the bulk of the tidal friction and acceleration. Even without
> this, the slowdown to a month-long day would still not have been completed by 4.5 billion years from now
> when the Sun will probably evolve into a red giant and likely destroy both Earth and the Moon.

Anyway, your formula is wrong for several reasons. The first being that slowing down the earth rotation does not reduce its day length but increases it.

So assuming that the rate of 1.7 milliseconds every 100 years will remain constant, daytime will increase by 17s every million years. That's about 1700s ~ 1/2 hour every 100 Million years or 5 hours every 1 billion years.

So when the Sun will destroy earth in 4.5 billion years, one (hot) day should take about 24+4.5*5 = 46.5 hours.

about three weeks ago
top

Extra Leap Second To Be Added To Clocks On June 30

geantvert Re:Mario Kart (289 comments)

or maybe I shall pay a visit to the closest nuclear power plant to see it explode. I was so frustrated at Y2K

about three weeks ago
top

Extra Leap Second To Be Added To Clocks On June 30

geantvert Mario Kart (289 comments)

61s in a minute! I will definitely try to beat my best laptime on Mario Kart Wii.

about three weeks ago

Submissions

geantvert hasn't submitted any stories.

Journals

geantvert has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?