Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:Python fight! [Re:Happy to no longer care about (Score 1) 151

Many keep saying Python is a notably better language than PHP, but most the time one is just calling API's and frameworks. One is not typically dealing heavily with core language aspects anyhow for run-of-the-mill CRUD and commerce apps. Or am I missing something? Thus a "better" core language doesn't mean much in practice. Other factors overshadow the difference.

That would be a good point, except that a lot of the libraries of PHP are just as terribly designed as the core language. Especially the standard library of PHP is like an all-you-can-eat buffet of assorted bad practices. If you look at the famous article on just how bad PHP is (https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/) there's a whole section on just how awful the standard library is.

Plus, PHP comes with more web-oriented libraries and features, because Python is designed to be a "general purpose" language, not a web language. You can attach libraries to get Python more webby, but that often creates more dependencies than using the built in ones.

I'm not sure what being "webby" even means. Yes, you'll probably end up using some libraries outside of the python standard library, as you will for pretty much any real-world-sized project in any language.

Comment Happy to no longer care about PHP. (Score 0) 151

Forgive my shadenfreude, but I recently ran a deployment that among other things did "service apache stop". No more PHP. In our case, all of our web APIs are now entirely python-based (python flask + uwsgi + nginx). So I'm happy to be able to say I no longer care about PHP one way or the other... not that it's true, I still think it's a horrifically bad language with incredibly bad everything-around-it (documentation, libraries, frameworks, ugh..)

Comment Re:When does A.I. replace CEOs? (Score 1) 254

You won't see robots outlawed until robots start replacing lawyers. Lawyers tend to control the law in their favor, so, once you have technology replacing lawyers, that's when the revolution really comes.

You didn't have to wait long, did you?

https://yro.slashdot.org/story...

..and so the revolution begins!

Comment Re:So netflix no longer has to pay Comcast?? (Score 1) 631

Last year netflix was paying comcast extra fees to not be in a 'slow lane'. I imagine by now Netflix is going to stop payment.

Not really. I'm not sure if the slow lane that netflix was on until they paid was created by artificially throttling. It could also have been created "by inaction" by not upgrading some links through which traffic to netflix transited. After netflix paid up the extortion money they got a direct interconnection with comcast's network: an extra link that previously was not there. Not sure if this FCC regulation can avoid this kind of situation.

This decision probably prevents explicit pay-or-be throttled deals. I think it also prevents the ISP from excluding its own content from data caps, so they can't charge the end user for netflix traffic while letting their own video service's through "for free". But ISPs can still manage their capacity as they see fit, which leaves them a big blunt tool to make certain parts of the internet faster than others.

The real solution would be local unbundling, which would lead to real competition. If ISP X has slow netflix, and I want to watch netflix, next month I'll be on ISP B, so the ISP loses their power to blackmail content providers because they are reduced to what they should be: a dumb tube carrying bits.

Note that netflix operates in a large number of countries around the world, but the US is the only one where it has been asked to pay tolls by ISPs to reach their customers.

Comment Common carrier and forced unbundling (Score 1) 495

It's not that the telcos in Europe *like* to have competition. It's just that the rules do not leave them the choice.

Back in the days of modems, the US was ahead because it had broken the ma-bell's monopoly, and phone companies were heavily regulated as common carriers.

Today, there are EU directives that impose competition in the broadband market. One of the things that works is forced unbundling between the last mile and the rest of the service. Even if telco A owns the wire from my home to the nearby switching box (which they also own), if I choose telco B as a service provider, telco A has to plug my cable into telco B's equipment in the switching box, and telco B pays them a regulated fee for the privilege of using that last piece of wire into my house.

This is very similar concept to what worked in the US to make long distance calling competitive: you got local calls from one provider, but could get long distance from a different one. It's not like this is not well understood here in the US as well: precisely because that model worked in bringing the price down, the telcos have lobbied hard to avoid this when it comes to broadband access as well as cell phones.

Comment There isn't a technical way (Score 1) 562

The president on Friday argued there must be a technical way to keep information private, but ensure that police and spies can listen in when a court approves.

That's a chimera, it something that anyone with any technical understanding of security issues knows does not and cannot ever exist. It's like building a lock that only "good guys" can open: computer systems, just like physical locks, cannot distinguish between good guys and bad guys. If you build a weakness into a system that police can access with warrant, then so can $EVIL_COUNTRY's state-sponsored hackers, with no need for such legal formalities.

Comment Nope, more are killed with guns (Score 1) 138

Realistically the vast majority of gun crimes are committed with cheap "throw-away" handguns.

Roughly 90% of firearm murders. More people are killed by 'bare hands' than by rifles or shotguns.

[citation needed]

Actually, one quick google shows that in 2011 in the US 8583 of 12664 homicides were committed with firearms, vs only 726 with bare hands. http://www.fbi.gov/about-us/cj...

Things may be different worldwide, in places with much less firearms available to the public of course. But then so is the homicide rate (in first world countries at least)...

Comment Xmas moved for cult of Mithra (Score 1) 681

What's even worse is that Jesus was born in the spring "while shepherds were watching their flocks by night." The actual date is unknown. The date was moved to December 25th to compete with the feast of Saturninus.

Actually, from what I read (in Frazer's Golden Bough) the nativity of Christ was first celebrated by early christians in Egypt in January, starting from the 2nd century BC. It was later moved to December 25th by the roman church to compete with the cult of Mithras, a sun-death-and-rebirth deity that was very popular in Rome at the time. The mithraists (if that is the word..) celebrated the birthday of the sun on December 25th, and this festival was popular to the point that Christians also participated in it. This happened sometime in the 4th or 5th century after Christ (if I recall correctly), and according to Frazer there are historical records from the time documenting the change and even the motivation for it.

Comment Funding green energy is not the point (Score 1) 222

What starts out as a "sin tax" in reality becomes a method of wealth redistribution. Revenue from a CO2 tax would never in billion year directly fund "green energy". God, if only the tax system and Congress worked that way. Yeah, hell no it doesn't!

There's no reason a carbon tax has to go fund green energy. You could have a carbon tax that is revenue neutral because other taxes are reduced to compensate for it. The point isn't to fund green energy, but to price in the externality, and make each C02 emitter pay for the overall harm that CO2 causes. This in turn makes less-polluting alternative energy sources more competitive (thereby funding green energy through market forces) as well as promoting energy efficiency, without favoring any specific technology. This would lead to the most efficient ways of reducing C02 emissions "winning", as opposed to subsidies to specific forms of green energy which may end up promoting dead end or overly expensive technologies.

Comment Externalities (Score 1) 222

This is one place I wish market purists would get on board--put a price on carbon, and solutions will come out of the woodwork and plummet in price.

Except market purists balk at this because "putting a price on carbon" is an artificial thing - it's screwing around with the markets. The markets have already spoken: the externalities of climate change (relocation costs, war, health costs) have a lower cost than trying to develop alternatives. These costs are already really accounted for, even though they aren't necessarily applied at the source of "carbon" emission.

No they are not. You completely miss the point of what an externality is in economics. The whole point of externalities is that they are *not* accounted for by market forces. If A and B have to decide whether to make a transaction, while C will be harmed if the transaction happens but has no say in whether it happens, that's an externality and market forces do not account for it under any economic model I've ever heard of.

If reducing carbon emission is a goal, pretty much all economists agree that a carbon price is the most market-efficient way of doing that, because it makes market actors make the most efficient decision while taking into account the externality, without favoring or penalizing any specific technology.

Comment links anyone? (Score 1) 588

And I am aroused by the fantasy that all those republican victories were a negative response to the NSA and is going to revive the civil rights movement.

except that democratic senator Mark Udall of Colorado just lost his seat, and he was one of a grand total of 2 people in the senate who have been trying to excercise their duty to oversee what the NSA is doing since before the snowden leaks (http://arstechnica.com/tech-policy/2014/11/nsa-critic-udall-is-sent-packing-as-republicans-grab-senate/)

did slashdot ever hear of making URLs I type in into those magical clicky-clicky link things that I teleport me to other websites?

Comment NSA? (Score 1) 588

And I am aroused by the fantasy that all those republican victories were a negative response to the NSA and is going to revive the civil rights movement.

except that democratic senator Mark Udall of Colorado just lost his seat, and he was one of a grand total of 2 people in the senate who have been trying to excercise their duty to oversee what the NSA is doing since before the snowden leaks (http://arstechnica.com/tech-policy/2014/11/nsa-critic-udall-is-sent-packing-as-republicans-grab-senate/)

Comment Re:Only took 359 years to accept Galileo... (Score 1) 669

It only took them until 1993 to admit they were wrong to try Galielo for heresy (for such modern concepts as the idea that celestial bodies are not perfect spheres attached to the vault of heaven), so people who say the Catholic church has a long tradition of being anti-science definitely have a leg to stand on.

Interesting. Did you look at your linked article? If you believe the Church did not accept the ideas of Galileo until the pope apologized in 1993

No, I don't. Strawman argument? ;-) But they never admitted of being wrong to try for heresy one of the founders of modern science until 1993.

When did the Church accept heliocentrism? In 1758, they dropped the general ban on books arguing the truth of heliocentrism. They finally lifted the ban on Galileo's books in the 1820s.

Interestingly, from a history of science standpoint, the mid-1700s was when the first proof of the Earth's motion was actually empirically measured, in James Bradley's observations of the aberration of light. Bradley first measured this in the late 1720s, but at first didn't understand the results (he was looking for parallax -- the real thing to prove the Earth's motion, as people had been looking for since the 1500s). Later, in the 1740s, he successfully measured and interpreted another aspect of the Earth's motion, the nutation of the Earth's axis.

So, basically in the decades immediately following the first actual empirical proof of heliocentrism, the Church lifted its ban on books asserting it to be true. (Note that the Church always allowed books which treated heliocentrism as a hypothesis or as a mathematical model, which is what it actually was... until sometime in the mid 1700s.)

It's not just helioncentrism. Galileo pointed a telescope at the sky and discovered the moons of Jupiter, craters on the face of the moon, etc, and basically proved that the church's entire view of the cosmos was a childish fanasy that did not pass basic rational scrutiny.

We can argue about Galileo's prosecution as a free-speech issue, but frankly he was wrong about the science (he argued for circular orbits against the elliptical ones Kepler had observed, and his only supposed proof of the Earth's motion was a discredited theory of the tides that required there to be only one high tide at noon every day, for example of a few big holes), and he was called out for being a jerk about things he couldn't prove.

There's nothing to argue frankly, the free-speech issue is clear as glass. I don't know what point you are trying to make. Galileo was wrong about some things, so what? The scientific debate was not between Galielo and the church, but between him and other scientists of his time (and the centuries thereafter). The church's only role in this discussion and other scientific and philosophical discussion of that time was to censor, bully, and burn at the stake (not galileo, but Giordano Bruno was burned in 1600) based on arbitrary interpretations of a bunch of old books.

Comment Re:Only took 359 years to accept Galileo... (Score 1) 669

No not really. To apologize for trying Galileo for heresy is not say that they disagreed with the heliocentric theory nor that they now agree with it.

Indeed it says just that, although of course they changed their mind well before 1993. From the wikipedia article on galileo:

In 1616, an Inquisitorial commission unanimously declared heliocentrism to be "foolish and absurd in philosophy, and formally heretical since it explicitly contradicts in many places the sense of Holy Scripture."

Comment Only took 359 years to accept Galileo... (Score 1) 669

Evolution and the Big Bang Theory have been accepted theories in the Catholicism for just about as long as they were around (last century or so). In fact the Big Bang Theory was proposed by a Catholic priest! Pope John Paul II said that evolution was the most probable theory and referenced a predecessor Pope's words as agreeing with him.

The article itself thankfully references this fact:

But Pope Francis’s comments were more in keeping with the progressive work of Pope Pius XII, who opened the door to the idea of evolution and actively welcomed the Big Bang theory. In 1996, John Paul II went further and suggested evolution was “more than a hypothesis” and “effectively proven fact”.

Though they did seem to want to keep perpetuating the myth that the Church was ever anti-science. When it's just not true.

It only took them until 1993 to admit they were wrong to try Galielo for heresy (for such modern concepts as the idea that celestial bodies are not perfect spheres attached to the vault of heaven), so people who say the Catholic church has a long tradition of being anti-science definitely have a leg to stand on. https://en.wikipedia.org/wiki/...

Slashdot Top Deals

Eureka! -- Archimedes

Working...