Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:Emotional Things I Wish I Knew Earlier (Score 4, Insightful) 590

I think there are several factors that contribute to this:
1. Programming is a very popular and easy to enter field.
2. It's actually pretty easy to get by as a programmer without really understanding what you are doing.
3. Regardless of how much you hear about it, modularity, reusability, and highly structured programming do not have good penetration in Software Engineering.
4. Because of #3, it is all to easy for otherwise competent programmers to paint themselves into a corner and generate software with really messy architecture and/or implementation.
5. Programmers OFTEN have to clean up after other programmers.

So, due to #1 and #2, there actually are quite a number of really bad programmers running around.
Due to #3 and #4, there are quite a number of otherwise decent programmers who produce working but unmaintainable code.
Due to #5, most programmers have ample opportunity to experience a great deal of pain from other programmer's incompetence.
Due to human nature, programmers tend to assume that all that bad code comes from #1 and #2 rather than #3 and #4.

And more speculatively and unrelated to the above:
6. Lots of programmers tend to hang out on Usenet, internet fora, mailing lists, and IRC, where harsh criticism is de rigeur, and internalize the habit of harsh criticism in their professional lives.

Comment Re:Some tips from a C guy. (Score 1) 590

I'd understand your response if the GP had said, "stay away from object-oriented languages FOREVER", but he didn't, he said, "stay away just until you are comfortable with lower-level languages".

The point isn't that C++ and similar languages are BAD, but that they hide things from you. When you are learning to program, that is BAD, but when you are writing production code, you will generally want to eliminate points of failure, and a great way to do that is to use a higher-level language that hides things like memory management from you.

One-liner version: C is dangerous to program in, even for great C programmers, but great C programmers make better programmers no matter what language they use, because they understand how the underlying system works.

Comment Summary (Score 4, Informative) 272

Short Summary:
We make some claims about scaling ACID databases, but then don't support them.

Longer summary:
We don't like NoSQL and enjoy making baseless cracks about it such as it being a "lazy" approach.
In our paper we demonstrate that our unconventional version of an ACID database scales better than a traditional ACID database in a specific environment, while merely throwing away some robustness guarantees and changing how transaction ordering works.
No direct comparison to any NoSQL implementation is made.

So yea, I'm not holding my breath for companies to start migrating away from NoSQL.

Comment Re:cool (Score 2, Insightful) 231

Well, for a display on its own, it's not terribly useful. After all, increase the pixel density beyond the iPhone 4 and you'll be adding useless pixels that take memory (framebuffer), power (all those pixels require controllers behind them, plus your 2D and 3D accellerators have to push that many more pixels) and size (enlarged bitmaps and the like take more space).

What part of "iPhone 4 has resolution that matches the resolution of the human eye when held at arm's length" did you miss? I'm guessing the part in bold. I for one would absolutely love to have a pair of glasses that met or exceeded the resolution my eyes could perceive. And frankly, even if the display is "wasting pixels" in a given scenario, the obvious solution is to cut back on processing somehow, perhaps by lowering the resolution of image rendering to what is needed instead of the native resolution of the display. Sure the device will need beefier hardware for the situations where it actually needs to render at native resolution, but nothing is forcing the system to actually use all of those resources at all times.

Comment Re:Google (Score 2, Informative) 327

When I am on the street, I did not trow away any rights. I still should be expected to have certain privacy. e.g. NOT have pictures of me place online.

Actually you do. When you are in public, you give up some of your privacy rights. If you have a picture of you taken in a public place that will embarrass or harm you in some way, you have no legal recourse to avoid having that picture published as far as I know.

Repeat after me, "I have no expectation of privacy when in a public place.". It is an extremely simple principle, and I don't understand why people think that it doesn't apply to them.

There are laws against posting defamatory information of most kinds, but if it is a legitimate picture then there is no recourse.

And just because something is legal does not make it right to do so.

I feel the same way, like about people telling photographers that it is illegal for them to take pictures in public. It isn't illegal for private citizens to claim rights that they don't actually have as far as I know, but it isn't right to do so.

Comment Re:What about "patent promise"? (Score 1) 311

Fair enough question. .Net is basically just the latest incarnation of MS's long history of writing (pretty good) programming platforms that they then use to generate lock-in for their platform. As you note, VB was outstandingly successful at this, locking huge swaths of the business market to MS technologies. They have actually done this a lot more than you would be aware of as a non-programmer with their extensions to C and C++, which were engineered better such that they weren't in the user's faces all the time.

As to the popularity, or lack thereof of .Net, we don't really have the luxury of only opposing popular platforms, because by the time they're popular, it's pretty much too late to effectively oppose them. We also don't have the luxury of only dealing with whatever is the most pressing threat to our freedom.

If you're already a Windows user, why would they need to "get" you? You're already captured. This kind of thing isn't about doing anything to the users, it's about locking in the software developers. You may notice people saying things like, "Linux will never take off unless people can use (insert some app here)". Well providing proprietary development environments is a big part of why it's difficult to just take (insert some app here) and run it on Linux.

As for MS's "promise", it's pretty worthless because as usual it only covers *part* of the specification. Much like Java, it's *possible* to write a portable application, but if you just write for Windows, it's generally going to use at least one (probably many) of the MS-only "extras" that are helpfully not labeled in any way as non-portable, and will therefore not be able to run on anything except Windows. The people working on Mono seem to think that if they provide enough cross-platform applications, that they can end up making a difference, but I'm pretty skeptical about that approach.

Comment Re:Serious questions raised by Oracle patent attac (Score 1) 510

Sorry for the rather late reply, I don't tend to hit /. all that much on the weekends.

My understanding (not a ridiculously well-founded one, so I'd advise looking around some more as well) is that C, C++, Perl, PHP, Python, Lua, TCL... in other words pretty much every major language with the exception of Java and the .Net family, are substantially* free of this kind of problem. Personally I recommend C and Python, but I keep trying to grok lisp because of how awesome people keep saying it is ;)

*I say substantially because I do know that there are fully proprietary implementations of some of these languages, there are many compiler writers with a long history of "Embrace, Extend, ..., Profit!" in the C and C++ family, and some of the others may be subject to this as well, but the languages I listed, unlike Java/.Net have standard compilers and/or interpreters that ARE fully open.

Comment Re:Sun is to blame (Score 2, Insightful) 510

Sun made a promise and commitment to make Java an ANSI/ISO standard and they failed to live up to that, period. As a result, the industry is stuck with a proprietary and badly designed language.

I disagree, Sun made a promise.(full stop)
The industry believed them, and as a result is stuck with a proprietary and badly designed language.

NEVER take action based on a companies "promises". Either it's a legally binding agreement, or it doesn't even belong in your decision-making process.

Comment Re:Serious questions raised by Oracle patent attac (Score 4, Informative) 510

tl;dr summary since I got pretty long-winded: The problem is that Java was never open in the first place. Users of FOSS need to learn to decide for themselves when technologies aren't really open, and avoid using them.

It will be hard to find out whether Oracle planned this kind of aggression when buying Sun, but it can certainly be stated that the free software/open source community hasn't benefited from the acquisition.

There's a number of important questions that Oracle's patent attack raises:

        * Did Oracle try to resolve this amicably with Google (by way of a license deal) or is Oracle pursuing purely destructive objectives?

Does this really matter? It would have been good for PR, but is anyone really under the illusion that Oracle wants to play nice with anyone? Personally I'd rather companies make it clear when they intend to swing around the "government-sanctioned monopolist hammer" instead of pretending that they're really quite reasonable, but that you do owe them quite a bit of money for using that technology they insisted was really open. Regarding PR, this kind of activity does put companies in my, "prone to dangerous legal demands" category, but frankly, Sun and Oracle were already both in that category.

* Will Google solve this patent problem in a way that the entire Android ecosystem (including the makers of Android-based phones and the authors of Android apps) will be reassured, or will Google only take care of its own risk?

Valid and important question, but as a non-Android and non-Java developer, I'm not interested in the answer.

* Is Java less of an open standard now than C#? I don't really buy the argument that Oracle may only be suing because of deviations from the standards definition. This kind of patent attack is evil no matter whether Google adhere to certain specififcations or not.

I wouldn't say Java is "less" open than C#. I do and always have put them in the same boat, which is "IP minefield, never develop in these environments." Also, this action changed NOTHING. Java has ALWAYS been an IP minefield just as much as C#, it's just that Sun managed to fool quite a few more people about it than Microsoft could. The only good patents are patents that are effectively neutered by PERMISSIVE patent grants. Sun's patent grant has always been a joke.

* Isn't this now the ultimate proof that the Open Invention Network doesn't really protect the Linux ecosystem from patent attacks? This is case of one OIN licensee (Oracle) suing another (Google).

Another interesting question, OIN's license only grants acces to patents specifically related to the Linux System as defined by OIN. After a quick look through the listing, the Java SDK itself doesn't seem to be there. There are several components that rely on Java (ant, an eclipse java compiler, a gcc Java runtime), but if those packages don't exercise the patents in question, then Oracle is acting exactly as the OIN is designed to allow them to act.

I don't see this as a failing of OIN. The way I see it, the fact that the Java SDK isn't considered a part of the "Linux System" by OIN means that Oracle doesn't consider Java to be open, which means to me that I don't want to use or rely on Java. It's nice for PR to say things like, "OIN protects licensees from patent threats related to Linux", but if you're going to be doing business based on that assurance, you should definitely be checking the definitions and making sure that what you think is covered is actually covered.

After putting in a bit more thought before posting, I have to say that while my previous comments are valid, your point is also valid. The "Linux Ecosystem", a more broadly defined set of software than the quite narrowly-defined "Linux System" according to OIN, is not at all fully covered by OIN. This goes back to things RMS has been saying for years, the Open Source ecosystem is entirely too permissive for it's own good sometimes, letting Trojan horses like Java, Mono (c'mon, it has the same name as a common highly contagious disease! Can't you read the signs?!), and fully-closed firmware in left and right. On the other hand, while issues like this will keep cropping up, I'm confident that the Open Source ecosystem as a whole will be able to just slough off the corrupted parts and keep moving. The lesson for individual developers and users though, is don't use those corrupted parts!

* Where are those FOSS advocates who said that Oracle's acquisition of Sun would be good for the cause and for the community? Some of them even claimed that it was important to have Oracle acquire Sun's patents. I've documented that on my blog.
        * Is it perhaps time to forget about the community's favorite bogeyman and recognize that IBM, Oracle and others are a much more serious threat to FOSS at this stage?

I'm substantially in agreement with you on these points. In my opinion, the only way that Oracle owning these patents will be a good thing for FOSS is if it "immanentizes the patent eschaton" somehow, by either causing a patent meltdown, or by making people realize that many supposedly "open" technologies aren't really open, and that FOSS has some housecleaning to do in order to be on more solid footing.

* How can the so-called OpenForum Europe lobby the European Union for open source/open standards when its two most powerful members, IBM and Oracle, are patent aggressors against open source, especially in interoperability contexts?

As I alluded to earlier, I don't believe Java is open source, so I don't think this particular action is a case of Oracle agression against open source. There are possibly other cases where that is the case, but I don't think this is an example.

This is a patent dispute with very wide-ranging implications.

Agreed, but I probably think so for different reasons than you do.

Comment Re:documenting it on http://en.swpat.org (Score 1) 510

Have you been following the whole software patents thing?

That's the whole problem, that Sun acquired a monopoly on certain programming techniques from the government, and regardless of whether Dalvik pulls directly from Sun code, if it happens to use those techniques, then it falls afoul of patent law.

My takeaway from all of this is that it reaffirms my opinion of Java, that it's poison.

Comment Re:In that case... (Score 1) 149

Seriously? Your point is that Gentoo doesn't do enough hand-holding? This is a distribution that has built its reputation around NOT doing excessive hand-holding.

That having been said, Gentoo does leave services that have security implications unconfigured, but I'm having trouble understanding how memcached is such a service. This isn't a system configuration issue, but a network layout issue.

Finally, there is this:

The admin may not be aware that memcached is not designed to be exposed directly to the internet.

Huh? You're administering an internet-facing server, and installing an internet-facing service, and you haven't checked that it is in fact intended to be internet-facing? If you're that oblivious, how the hell is making you fill out a config file going to help you? Captain McBlivious is still going to just blindly add configuration to the system until it starts doing what he expected, which is providing caching services.

Comment Flying out of the drum (Score 3, Interesting) 226

I was amused by this aside:

(The team couldn't study what happened when the two sides touched: The friction of the two sides moving in different directions sent the rubber bands flying out of the drum.)

What? It seems pretty obvious that they could see exactly what happened when the two sides touched, "The friction of the two sides moving in different directions sent the rubber bands flying out of the drum".

Comment Re:So... (Score 1) 284

One idea I've seen floated is making the charging station + car act as a local battery for the power company. The user would have a set of preferences set up letting the charging station know the desired charge level for the car, and the station would charge when power is cheap and discharge when power is expensive within those limits.

So a typical usage scenario might actually be "Driver arrives at home and plugs in car during peak power usage time, car discharges further (down to some limit to cover things like "crap, I need X for dinner") until peak power usage ends, then trickle charges back up to some nominal level, and fully tops off at some low power usage point during the night."

Obviously the system needs to be adjustable on the fly for things like "I'm planning on going out tonight"

Slashdot Top Deals

Anyone can make an omelet with eggs. The trick is to make one with none.

Working...