Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment: Re:Git Is Not The Be All End All (Score 1) 245

by markkezner (#48196091) Attached to: Help ESR Stamp Out CVS and SVN In Our Lifetime

Git is perfectly capable of having a repo that is considered the "single source of truth". All you have to do is tell everyone which repository to consider the "main" one.

The reason it's fine to use any random developer's git repository to restore is because the data's integrity is guaranteed by git's design. Let's say you had some disaster and lost your repository. Suppose you found a random developer (that you don't necessarily trust) who has a git repository that is a clone of your old, destroyed repository. You can safely and confidently restore from his copy so long as they have a commit id (hash) that matches exactly with a known hash from the original repository. If the hashes match then his copy at that commit is guaranteed to exactly match, bit for bit, your original repository. Compromising that integrity would be extraordinarily hard.

Of course you shouldn't rely on random developers having copies, just out of pure luck. Make your own backups and keep them safe.

Data Storage

Kingston and PNY Caught Bait-and-Switching Cheaper Components After Good Reviews 289

Posted by timothy
from the genuine-panaphonics dept.
An anonymous reader writes Over the past few months, we've seen a disturbing trend from first Kingston, and now PNY. Manufacturers are launching SSDs with one hardware specification, and then quietly changing the hardware configuration after reviews have gone out. The impacts have been somewhat different, but in both cases, unhappy customers are loudly complaining that they've been cheated, tricked into paying for a drive they otherwise wouldn't have purchased.
United States

Kerry Says US Is On the "Right Side of History" When It Comes To Online Freedom 261

Posted by samzenpus
from the everything-is-good dept.
An anonymous reader writes "Addressing the audience at the Freedom Online Coalition Conference, Secretary of State John Kerry defended NSA snooping actions saying: 'Let me be clear – as in the physical space, cyber security cannot come at the expense of cyber privacy. And we all know this is a difficult challenge. But I am serious when I tell you that we are committed to discussing it in an absolutely inclusive and transparent manner, both at home and abroad. As President Obama has made clear, just because we can do something doesn't mean that we should do it. And that's why he ordered a thorough review of all our signals intelligence practices. And that's why he then, after examining it and debating it and openly engaging in a conversation about it, which is unlike most countries on the planet, he announced a set of concrete and meaningful reforms, including on electronic surveillance, in a world where we know there are terrorists and others who are seeking to do injury to all of us. And finally, transparency – the principles governing such activities need to be understood so that free people can debate them and play their part in shaping these choices. And we believe these principles can positively help us to distinguish the legitimate practices of states governed by the rule of law from the legitimate practices of states that actually use surveillance to repress their people. And while I expect you to hold the United States to the standards that I've outlined, I also hope that you won't let the world forget the places where those who hold their government to standards go to jail rather than win prizes.' He added: 'This debate is about two very different visions: one vision that respects freedom and another that denies it. All of you at the Freedom Online Coalition are on the right side of this debate, and now we need to make sure that all of us together wind up on the right side of history."

Comment: Re:yeah for dumb posts on slashdot (Score 2) 82

by markkezner (#46367231) Attached to: Github Rolls Out New Text Editor Atom

You're not a real coder unless you write your own OS, processor microcode, support libraries, network architecture and programming language before you make your application. Otherwise, you're just letting other people do the hard work for you!

Do see what a bad place this line of thinking takes you? If you want to get anything done, you have to reinvent the world. Imagine if everybody did that... how slow development would be and how slightly incompatible everything would be.

Go ahead and proceed with your elitist worldview. If you need me, I'll be over here, being productive and shipping actual products.

Transportation

Laser Headlights Promise More Intense, Controllable Beams 376

Posted by Soulskill
from the but-you-better-not-aim-your-car-at-planes dept.
cartechboy writes "Soon, your new car's headlights will be powered by lasers. The 2015 BMW i8 is entering production, and it's the first vehicle to offer laser headlights. These new beams offer a handful of advantages over LED lighting, including greater lighting intensity and extending the beams' reach as far as 600 meters down the road (nearly double the range of LEDs). The beam pattern also can be controlled very precisely. Plus, laser lights consumer about 30 percent less energy than the already-efficient LED lights. Audi is among the short list of other auto manufacturers to promise laser lights in the near future. But the coolest part of all this? When you turn on a set of these new headlights, you'll be able to scream, 'fire the lasers!'"

Comment: Re:Move on (Score 1) 573

by markkezner (#46173209) Attached to: HTML5 App For Panasonic TVs Rejected - JQuery Is a "Hack"

doing things that break browsers that are somewhat out of the mainstream (while avoiding more portable solutions), it's not even a good, well-thought-out solution. If my browser doesn't work right on a given website, it's almost a certainty that the site uses JQuery.

So JQuery doesn't support your esoteric, out of mainstream, unnamed browser, but it works just fine for 99% of the world who do use mainstream browsers. Therefore JQuery is a bad solution? JQuery only has the developer mind\time resources to support only so much stuff. They just can't support everything, as that draws time\attention away from making the mainstream use cases work (read: use cases that are important to everyone else).

Faulting JQuery for not supporting your oddball browser is like faulting Adobe for not bringing Photoshop to FreeBSD; there are precisely 6 people who would use Photoshop on FreeBSD, so they choose to spend their time on other things.

Do you really want to sap the performance of your script by following the JQuery ethos of using expensive DOM-query navigators for every operation instead of simply gathering up an array of element references only once and then using that repeatedly?

Who says you have to query inefficeintly? Just query once and save the result somewhere. Just because it's possible to do something the wrong way doesn't mean JQuery is bad. There are ways to shoot yourself in the foot on every platform ever made.

Comment: Re:Making users happy. (Score 1) 473

by AmaDaden (#45168271) Attached to: Ask Slashdot: What Are the Hardest Things Programmers Have To Do?
The problem you're having is that users don't know what they need, they just know they have problems and they are suggesting solutions for you to implement they think will solve them. The problem with that is they don't know what computers are good at so they make suggestions that sound good but are not likely to work well in practice. You need to take their requests and see what the real problem they are trying to solve is. Then point out the problems in their solution and suggest features that can solve the real problem for them. Just remember to be nice about it so they will learn to trust your judgement. Nobody wants to give in to the guy who loves to yell "I told you so"

Comment: Re:Here is the thing. (Score 1) 791

by markkezner (#45131879) Attached to: Nokia Design Guru Urges Apple To End Cable Chaos

The lightning connector is nice, but it's limited to only Apple products, thus its usefulness as a technology is limited. To reduce waste and for convenient charging, I wish everyone would agree on a nice reversible connector that is an industry standard, charges quickly regardless of manufacturer, and "just works". I somehow doubt Apple would go for that.

Micro USB is fine except the cables are always upside down (as they seem to exist in 4 spacial dimensions) and the cables break easily if you charge the phone while they're in your pocket, such as when using a portable battery.

Comment: Re:Scala is a scripting language? (Score 1) 577

by AmaDaden (#45109949) Attached to: If Java Is Dying, It Sure Looks Awfully Healthy
Java and Scala can both be run in the console but, as the video shows, Scala can be run AS a console. Scala code can be run one line at a time in a Scala console or compiled. Java code can only be compiled. By the above given definition, this makes Scala a scripting language.

Scala does have similar support to eval with the ScalaInterpreter class.

Crazee Edeee, his prices are INSANE!!!

Working...