Slashdot is powered by your submissions, so send in your scoop


Forgot your password?

Comment: Re:Unrelated to Github (Score 2) 148

by jeremyp (#48632267) Attached to: Critical Git Security Vulnerability Announced

No it isn't.

Both NTFS and HFS+ are file systems that are case insensitive and case preserving (by default). They work as designed. They have always worked that way as the people who ported git to those platforms should have known.

Just because you don't like the way NTFSD and HFS+ work and it makes the programmer's job a little harder doesn't mean there is a bug.

Comment: Re:class act (Score 1) 171

by jeremyp (#48580709) Attached to: Julian Assange Trying To Raise Nearly $200k For a Statue of Himself

But when a prosecution can't even be bothered to determine that someone is one

The issue of whether Julian Assange is a rapist or not would have been settled years ago if he had not skipped bail. He would have been taken to Sweden and interviewed about the accusations. Maybe as a result of that, there would have been a trial and hopefully he would have been found guilty if and only if he did rape somebody.

Right now, he's a fugitive from justice, which makes me think that he is not confident that he would be acquitted of the rape allegations. You can talk about the danger of extradition to the USA, but he was in the UK for a while before he ran away and the USA made no move to extradite him. I don't think that is a real danger.

Comment: Re:You don't know C++ properly until you know C (Score 3, Informative) 641

by jeremyp (#48554229) Attached to: How Relevant is C in 2014?

" don't really seem to understand the difference between pointers and C arrays"

Well, because there isn't one at the language level. The array syntax using square brackets is only a syntactic sugar for pointer arithmetic, nothing more.

There is a difference between an array and a pointer.

char a[100];
char* b;

b = a; // Fine
a = b; // Not fine.

If you read the standard, the language used is that, in an expression, an array "decays" to a pointer with the rule being that you get a pointer to the array's first element. The "array is not a pointer" rule is further demonstrated by passing an array to sizeof (as viol8 points out).

Comment: Re:Good reasons for Swift and Go (Score 2) 161

by jeremyp (#48542057) Attached to: Why Apple, Google, and FB Have Their Own Programming Languages

The only substantial way of improving on string concatenation in Objective-C would be to introduce custom operators, and that brings its own set of issues. The other alternatives sacrifice consistency.

Actually, you could quite easily bring custom operators to Objective-C by adopting the Smalltalk approach. Simply allow symbols to be messages e.g.

        [@"foo" stringByAppendingString: @"bar];

could be written as

        [@"foo" +: @"bar];

Smalltalk allows you to drop the colon with binary operators so you could even have

      [@"foo" + @"bar];

Comment: What about money? (Score 2) 488

by jeremyp (#48505437) Attached to: Ask Slashdot: Non-Coders, Why Aren't You Contributing To Open Source?

There are a number of people on this thread who are saying "I don't contribute because I don't have time". Well, why don't you contribute money instead then? If a piece of software has value to you, either because it helps you do your job, entertains you or saves you some time, then it surely has monetary value.

The advantage of contributing money apart from it taking only about five minutes is that you don't have to deal with the arrogant arseholes that all successful open source projects are staffed by (if many of the anecdotes above are correct).

Full disclosure: I am in this group of people, unless you count the very occasional bug report.

Comment: Re:Montana used to have no speed limit at all... (Score 1) 525

by jeremyp (#48498723) Attached to: Montana Lawmakers Propose 85 Mph Speed Limit On Interstates

The reason I ask is that here in the UK the official speed limit on motorways is 70mph, but police can't pull you unless you're doing 10% + 2mph over the limit, so 79mph on a 70mph limit road.

This is not true. The 10% + 2 rule is a discretionary guideline that the police tend to use. In principle they can prosecute at any speed over the speed limit.

Section 9 is the relevant part.

Comment: Re:Federal Funding is not contingent on speed limi (Score 1) 525

by jeremyp (#48498487) Attached to: Montana Lawmakers Propose 85 Mph Speed Limit On Interstates

That was an idiot driver in Belgium moving into a lane where he had no visibility.

and judging by the fact that the video was taken from a lorry and the vehicle in front was a lorry and the car wasn't travelling much faster, it is unlikely that anybody was doing much more than 65mph

Only through hard work and perseverance can one truly suffer.