Follow Slashdot stories on Twitter


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Re:It's not the highway infrastructure (Score 1) 469

There's another solution that I'll add.

Far too much emphasis is put on residential choices and not enough on business choices / city planning.

I used to live in the city (Toronto), but have recently moved out to the Burbs. Here's the thing, I chose to live near a regional rail line. I work downtown. It takes me less time to get to work (30 min) then when I used to live in the city taking the subway...

It got me thinking that all this moralizing over transit is pretty silly. You can have a high intensity downtown living. You can have your suburban living. Assuming things are planned reasonably.

If anything, I'd say, all this crazy drive to get people living close to work and in shoe box condos is all a bit silly. Put the businesses in the central locations.

Then get regional rail to get people from the burbs there.

Regional rail is pretty cheap in comparison to subways. Sure, it runs less often, but it does the job.

I've come to see that the biggest problem we've faced in the suburban office park.

Another Canadian example is the city of Calgary, which kept its downtown business core better than Toronto. It has huge burbs, but also a good LRT system that functions as regional rail.

Comment Re:Doing it wrong? (Score 1) 600

I generally advise against it.

This doesn't mean it should never be used.
But a lot of the time, it doesn't NEED to be recursive and making it recursive complicates thing.

I'll give a practical example. I worked on router firmware when I first graduated and got assigned this bug where a router in South Korea kept crashing. Really hard to debug it. After a lot of debugging, I found out it was related to the number of ACLs applied to a policy. Went through the code and the section that applies those ACLs was recursive.
So when the number of ACLs got too high, this function was recursively called and it ended up blowing the stack on the firmware and crashing.

Was there any reason for this to be recursive? Nope.
A simply refactoring and I made it into a for loop. Problem solved.

Recursion just introduces more ways things can screw up. I generally like the idea of it being cautioned against. If you really can't write it resonably in a loop, then go ahead.

Comment Re:OK, help me out... (Score 5, Insightful) 834

Well I'll bite. I think David Frum said it most accurately.
"When liberals insist that only fascists will defend borders, then voters will hire fascists to do the job liberals wonâ(TM)t do"

It applies to most of Trump's 'core issues'. In and of themselves, they're not extreme issues.

Controlling the border
Keeping good jobs in America ...
These used to be normal bread and butter conversations. It wasn't that long ago, tariffs were just regular policy. So to was controlling immigration numbers. There's nothing crazy or racist or xenophobic about any of it in and of itself.

The problem is that people have been screaming about their issues for decades now and the 'mainstream' political parties have basically ignored it at best. At worst, they've made it horrible to even bring it up (calling someone racist...)

For people on slashdot, it might be the H1B issue. For others, its the border. For others, it's their factory job.

Comment Re: Fucking bullshit ... (Score 2, Interesting) 283

Barring further context, grabbing them by the pussy wasn't exactly non-consensual. It's a complex term these days between explicit consent and implicit or not saying no.

"I'm automatically attracted to beautiful [women]â"I just start kissing them. It's like a magnet. Just kiss. I don't even wait. And when you're a star they let you do it. You can do anything ... Grab them by the pussy. You can do anything."

They let him do it because he is a star.

If you've ever kissed a girl without asking her explicitly 'can I kiss you now?' you've pretty much done what Trump has done.

Comment Re:you mean capitalism works? (Score 3, Insightful) 372

I completely understand the struggles people who are impacted by a disease and there's a cure out of there, but just costs so much.

At the same time, for all it's flaws in the patent system, in the grand scheme of things... the patent lasts like 5 or 10 or 20 years (I don't know). My point is it's not that long.

Let's remember that the drug wasn't there before. That's the price the society pays for a dynamic drug market.

You invent something; it's prohibitively expensive for a bit, then the price drops.

The alternative is... maybe it's not invented.

The former sadly is easy to rail against. The later is a bit more complex.

Comment Re:Was the Go prog lang at fault? Would Rust help? (Score 1) 119

Part of the fault can go to the Go programming language for their API design.

But most of the blame goes to the developers.
I haven't coded in Go, but I googled this quickly.
The Go documentation clearly says it panics if n = 0.

They could have
1. validated their inputs.
2. Handle the panic and assign a default value (I am assuming this is possible in Go. I have never used it)

In the end, it seems like this is just used to distribute requests. Worst case, it should log the error and then assign say the 1st upstream (default value).

But I guess then you're in the exception handling debate on whether you swallow the error and keep going or have your application crash so that you detect the weird condition.

I'm a defensive; keep the system going developer.
But others prefer to be more exact.

Comment Re:This is fucking awesome (Score 1) 455

I've always had an issue with the idea that software patents are magically different.

In theory, a patent doesn't block an idea, but an implementation. In practice, patents are written as broad as possible to cover as much implementations as possible. In all fields, you are trying to patent an idea that you think is novel.

I like to point to actual 'physical' patents because people tend to idealize them as opposed to software patents.
Let's take something simple, yet very innovative. The coffee cup sleeve... meant to make hot cups easier to hold.

It's best to look at the claims section. Give it a read. It's written very generally and for good reason. If you could bypass the patent by adding a groove to the cardboard or something like that or just using a different material, the patent would be useless. And the coffee cup sleeve is simple, yet definitely novel because we've had cups for a very long time and yet this device did solve a real world problem.

Software patents aren't any different.

Have a look at a 'software' patent. Amazon's one-click patent.

Again read the claims sections. Written just as generally to encompass as much as possible.
If you want to talk about it within a specific implementation. It talks about buttons and shopping cart model... in a similar way that the coffee cup sleeve talks about cups and bands...

I think it's legit to have an issue with our patent system in general.
What I don't understand is the idea that software patents are somehow special. If people think software patents protect ideas instead of implementations, then I think hardware patents do the same in practice.

I've filed a few software patents before and what do you think a person would file a patent for in the case of detecting someone is driving. You probably listed the main ways in a comment on slashdot. You don't think a patent lawyer is going to list all those way in the claims of a patent they're filing? They're going to list all those way in the claims as broadly as possible, so any 'practical' implementation will be patented. No different from a hardware patent.

Just for fun, I found the Apple patent and look at the claims.
Yeop, they patent the major practical motion detection (GPS, celluar, accelorometer...)

Comment Re:As if this is new (Score 1) 370

There are a few ways this plays out. How do we deal with this. One way is a basic income.

The other less articulated way, but is the basis for a lot of people's views is things simply get cheaper. Deflation is good. You simply live on less. You work less. You earn less. But you can afford the food, water... of life.

Now this is a hard transition in many places. There are loads of things that don't go well with living on less and deflation. Debt, government services, pensions...

I grew up in a third world country. I've been back a few times. You might actually start to see something like this take place in those areas or possibly the southern US. I said MIGHT. Things like renewable energy, easy access to cheap goods...can make it pretty easy to live on even a minimum wage. Now you certainly can't do that in New York or something.

Comment Re:Fuck Twitter appeasement (Score 4, Interesting) 470

Here's the thing.

First some background. I was born in South Africa and lived under apartheid. I'm a brown person. I'm amply aware of white supremacy and hate it with every inch of my soul. However, I've also seen black supremacy and black nationalism. While white supremacy oppressed us, black supremacy burned down our town. And yeah, I've also seen brown/Islamic supremacy (my own group). Heck, even in the UK, I have Indian Muslim family I visit that gloats how they got together and drove the blacks out of the neighborhood because they bring drugs and prostitution.

I give all that as a background because if you live in any way long enough you quickly realize how every group has an 'alt-right'. This point cannot be overstated enough.

Now when white people were just so damn powerful as it was the 'norm,' yeah we could all just pretend only white people were racist. Or I guess in modern social justice terms... that only white racists matter because only whites have power.

This is some serious bull shit in my view, because all groups have power. I'm in Canada now. I'm Indian. My high school heavily Indian. Yeah, do you think white kids had any power? Nope, they got punked off for being white same as any other people.

This is the point we are in history and why the alt-right is more prevalent. Regular white people are seeing how society is allowing every other gang to arm itself and spread itself to the teeth, while singling our only white people.

Only white people can't be proud of their identity.
Black power... that's a good thing. Not for me. To use modern lingo. I get triggered by black power as rioting black people burned down my home in South Africa in the name of black power.
Indian power... that's a good thing because ethnic people need to have an identity. ...
women power... that's a good thing.. because...feminism.

These extremist groups really only gain power when regular people starting siding with them. I'm a bit of a realist. I don't pretend we can stamp out all form of hate, but various thing in regular society have people join their 'alt-right' movement and think they are legitimate.

Again I can speak from my own example. Muslim communities are segregationist and racist to any level. You can't be openly gay. Heck, it's really tough to have openly left Islam as I did. I'm still battling through it.

I really and truly don't see any different between white supremacists and muslim supremacists and black supremacists... hate is hate.

The danger we face is that we've empowered and encouraged and turned a blind eye to all the other supremacist groups out there. White people aren't really blind to this and what is natural but to be sympathetic to the people who even have your interest at heart.

Oh I see parallels all over the place. White people might not be part of the alt-right, but they sympathize. The same way most Muslims aren't part of ISIS or radical groups, but they do sympathize. You I attend regular family functions with regular Muslim people and I get to hear wonderful conversation like:

It's sad people got killed over cartoons, but they really shouldn't be speaking about Islam anyways.

I guarantee you there's some white people today going, I'm not for hate or white supremacy, but all I want is for my kids to have an identity they can be proud of or very legitimate issue X,Y,Z.

Basically, of course you're right the alt-right has always been there. The problem is you can't just take this approach to only white people. It's basic group tribal dynamics. And society has changed quite a lot. It's not the 1960s USA where no other group had power, but white people and no other group is filled with hate and a conquest to subjugate and segregate other people.

It's sad to see us a society not really demanding every other alt-right part of society be pushed to non-acceptance as well.

It's also sad that regular white people can't just have a regular white identity and be proud of it.

Comment Re:teaching to the test (Score 1) 157

This is really the case where I have a hard time grasping the test.

It's the automotive sector. Relative to the size of the market, there really aren't that many cars to test.

People are already aware or should be aware that the EPA results don't match to real world driving conditions.

Why not just do what many car magazines or journalists do. Take the car for a test run of mixed highway and city driving and report the results. You can have some baseline weather conditions for the test. You can have some training for the EPA staff to help make sure they drive the same.

Heck, if they want, publish both. The standard EPA test and the test run.

The results would be much more useful regulation.

Comment Re:Trump's Failure (Score 1) 430

It's a very interesting social thought experiment. With all the fact-checkers and lying counts, I think a lot of it is missing one key thing.

The best way I can relate it is to talk of people I actually know. I have a friend and in the group we all know he is a great exaggerator and troll. If he's telling a story, you known 80% of it would not pass a fact-check. Heck he'll put on a show in front of the guys how he can't do this or that cause his wife won't let him. Thing is, a few of us know his wife doesn't mind him doing half the things. He just uses his wife as an excuse to not do things he doesn't want to do in the first place, but he has to keep up appearances. In a sense, you know what you're expecting from him. The thing is though you do know his general outlook on life. You can't take him for every word he says, but you basically know his direction in life. He is there if you need him. He is pretty reliable and hard working. Earlier in my life, I used to get pretty angry about his ways, until I learned to accept 80% of public face is a show.

I think a lot of people view Trump like this. Build a wall... no one thinks he is actually going to build a wall, but he will address it when no one else is. Trade wars... he isn't going to tear apart every trade deal, but he'll look into them and make new ones that make more sense to his supporters..

I don't know Trump well enough to know what he will do in action, but I can see how people think that of him.

Other politicians are a bit more of an unknown and even if they technically might 'lie' less, you might actually trust them less as you don't know what to expect.

Comment Re:And to think the DNC wanted to face Trump... (Score 1) 2837

Identity politics is here and has been everywhere. However, it doesn't last long.

I was born in South Africa. I lived under apartheid and left before it ended. Anyways, when Mandela came in, so many people thought it would solve their problems. I mean, now we have a black leader representing black interests... so our problems would be solved.

Except it didn't for most people. I've been back a few times and most people are almost beyond identity politics there. They just want good leadership.

You see the same thing in America. Obama was elected... and really what changed with African Americans? Nothing. His crowning achievement wasn't jobs mega jobs plan to fix the inner cities. It was a healthcare plan.

Women will also find the same thing. I'd argue many have. They vote for some female politicians and find out... most are no different from male politicians. Once they get over the initial hump.

Trump won because he was the one claiming to be on their side. The working class people. You can debate if he meant it or not. But Hilary didn't give a rats behind about them. Going so far as to calling half of them irredeemable or something like that.

I don't care how smart or qualified you are, if you aren't on a person's side... you don't deserve their vote. Representing them is the most basic qualification.

I was looking at some results on CNN and I think they were showing how Trump got more of the african-american/hispanic vote, which is than Romney. People care a lot about jobs and their life. Identity politics can get you far, but only for so long.

I don't know if Trump will be a good president, but he was the one courting their vote after the Dems dropped Bernie.

Comment Re:It was bound to happen. (Score 4, Interesting) 106

Isn't it strange that America and most Western countries have stricter trade between their own states/provinces than they do with other countries?

If you're in the US, ponder the interstate commerce clause. Ever wonder why there is a federal minimum wage? It's because when minimum wages were being introduced, it didn't take a PHd to understand that if Alabama had no minimum wage and New York had a $5 minimum wage that a lot of jobs would go to Alabama. New York workers would actually be prevented from competing to get those jobs.

The result is the rather common sense interstate commerce clause. If goods/services are destined for trade they are subject to be regulated by the federal government... part of it is to ensure common labor, environment standards...

The question every western country should ask is where did this logic go when it came to international free trade. This is not a left/right issue. It is an issue of the rule of law.

There are various resolutions to the issue.
1. Could mandate that any goods coming in from another country must obey the US federal minimum wage.
2. Could not sign free trade deals with countries with significantly lower labor/environmental rules.
3. Remove minimum wage regulations in the USA, giving American workers the ability to compete on a level playing field. ...

Comment Re:Hard to believe, but cable used to be AD-FREE (Score 1) 112

While I don't like ads, I don't know if they're THE reason for Netflix.

In my own personal life, I'd rank the reasons as follows.

1. Can watch content any time (not on a schedule)
2. unique content itself (shows, comedy specials...)
3. Suggestions
4. No Ads

I still get cable due to a bundle deal, and watch a few shows. The commercials don't really bother me. Heck, there's always a few that entertain me and its a good excuse for a break.

I'd rather not have commercials of course, but they're a small inconvenience.

Slashdot Top Deals

Don't compare floating point numbers solely for equality.