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


Forgot your password?
Note: You can take 10% off all Slashdot Deals with coupon code "slashdot10off." ×

Comment Re: Apple - What's Happening in France (Score 2) 233

It's France, they do strange things in Europe. For instance when Muslims kill French people, the French respond by harassing Jews. It's not for us to judge, it's a part of the rich European cultural heritage.

It's Slashdot, they do strange things on the Internet. For example, when a poster discusses the use of Apple computers, the trolls respond by bringing up islamophobic ideas and allude to the holocaust. It's not for us to judge, it's a part of the rich Internet cultural heritage.

Comment Re:Not Very Hard (Score 1) 285

Another hated class of bugs are library bugs. These may actually be quite easy to debug, but they force you to go into someone else's spaghetti code and spend countless hours becoming a master of some library you'll never use again.

And the worst part is that often they aren't really bugs, but programming errors as a result of crappy documentation.

Comment Re:Not Very Hard (Score 1) 285

I had a race condition in my code, my product would crash randomly once every few days or weeks. I killed myself trying to reproduce it reliably. I wrote software that would instrument the code, adding random sleep timers between each line. That didn't work. I eventually went line-by-line trying to deduce the issue, and found two potential bugs by thinking through it. I never knew which of my two fixes fixed the issue (or if either did), but I never saw the bug again.

Comment Re: Only? (Score 1, Insightful) 664

The harassment (not physical attack) is well deserved. The perception of an invasion of privacy is enough to rightfully make someone angry.

If someone held a camcorder to your face, but told you it wasn't on because the red light was not on, you would still feel uncomfortable. That person would still be a jerk.

Comment Re: Do what everyone else does in this situation (Score 1) 233

but Adobe never did understand the value of efficient data structures.

They developed the PDF standard, which was designed from the ground up to be transferred in a stream and rendered quickly. Don't hate the tech just because they're a proprietary company.

Comment Not Very Hard (Score 2) 285

Many of the "hard" bugs discussed in the article do not seem very hard. Divide by zero errors and a +Inf in an input file are straightforward issues that should be caught using standard practice techniques (bounds checking and exception handling). Two of these three hard bugs would have been easy to catch with version control and continuous integration. It seems like the article is more about dealing with other people's crappy code and poor software development practice rather than debugging nasty bugs.

The nastiest bugs are almost always race conditions, which are by their nature non-deterministic and may not be reproducible across time or certain hardware.

Comment Re: Compiler optimizer bugs (Score 1) 285

I worked in the embedded space for a few years with an in-house built compiler and came across a few compiler bugs. They were all very easy to debug. You would write some code like "int foo = bar++;" and the program would crash on that line. You'd scratch your head for a minute, but check out the assembly and see some weird optimization it was doing.

Comment Re:Someone doesn't understand how this works (Score 1) 292

The original post and all of these comments are full of misinformation:
- State works (including state laws, cases, their website, everything) can be copyrighted. Only federal works are exempt from copyright.
- The provided link only posts a listing of the unannotated laws.
- Georgia can own the copyright, even if someone else wrote the annotations, as long as the author was an employee or they assigned their interest to the State.

Submission + - SCOTUS denies Google's request to appeal Oracle API (c) case

Neil_Brown writes: The Supreme Court of the United States has today denied Google's request to appeal against the Court of Appeals for the Federal Circuit's ruling (PDF) that the structure, sequence and organization of 37 of Oracle's APIs (application program interfaces) was capable of copyright protection. The case is not over, as Google can now seek to argue that, despite the APIs being restricted by copyright, its handling amounts to "fair use".

Professor Pamela Samuelson has previously commented (PDF) on the implications if SCOTUS declined to hear the appeal.

More details at The Verge.

Comment Re:Easy fix (Score 1) 247

... there was not excuse for what they did. All engineers do have to make trade-off decisions, but the fucking deluxe fix was $11, that is it.They could have built that into the car price with virtually no impact. TFA picked one terrible example...

The problem is that there were probably hundreds or even thousands of $11.00 fixes to the car that would have made it incrementally safer. At some point the engineer has to prioritize which to implement and which not to implement.

Help! I'm trapped in a PDP 11/70!