Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:About time... (Score 1) 158

Or is just complex and unfamiliar. The problem with these frameworks is they work great when they work, but you only ever see them working because they've been published with the most trivial example. When you actually start trying to do things with them, you have to know implementation-level details of the framework in order to make it work for you. By the time you've invested all that time, you may as well have written something less generic that actually does what you want.

Wow, I guessed almost immediately that you were talking about Hibernate. No documentation for complex behaviour or advanced features, or where there is documentation, it's out-dated by several versions, sparse, and occasionally plain wrong. The options for sorting out problems are:

  • Read the Hibernate code to figure out what the hell it's trying to do; or
  • Search around, asking questions, find out nobody has come across your problem, or it was filed as a bug in the library in 2007 and never fixed, or the solutions listed aren't suitable or don't work, and end up reading the Hibernate code anyway.

Comment Re:So innovative (Score 1) 193

If, that is, by "fermented" you mean literally poured into barrels and left to rot, outside in the sun, for 2 years.

I'm not quite sure how you've equated fermentation with decomposition. Fermentation prevents decomposition, as the salt used and acids and alcohol produced by the fermentation inhibit the growth of those bacteria which decompose the food.

Are beer, bread, yoghurt, gherkins, and olives also "left to rot"?

Fish entrails (not whole fish... the meat is sold for food)

Respect for the animal and frugality. Fermenting to make a sauce is just one good way to use the parts of an animal which are not particularly appetising on their own.

Comment Re:Lost the point (Score 0, Flamebait) 543

Some of us find it a bit improper/offensive when these people claim copyright over something that doesn't actually contain any of their work.

Claim copyright? What sort of sensationalist dipshit are you? You make RMS look like a mellow, tolerant, effacing individual.

Point out to me, sunshine: Where exactly does the GPL claim copyright over code that wasn't written by the original author? http://www.gnu.org/licenses/gpl.txt

The GPL states that if you want to redistribute the code, you have to follow some guidelines. As the GP says, if you don't want to follow the guidelines of redistribution, go elsewhere. The idea is to promote an ecosystem of sharing. People who want to take and use the code and not share their own back for everybody else to benefit, are not welcome.

Comment Re:ruQueue (Score 3, Informative) 321

XSS and SQL injection attacks are strongly correlated with bad coding practice.

Don't get me wrong, the problem is probably more prevalent with PHP as PHP is such an easy language and thus attracts a larger number of amateur/incompetent programmers. That doesn't meant you can't write secure code in PHP.
I'm currently re-writing a logistics system in PHP, and sure enough, XSS/SQL attacks would have been child's play in the original code (Even from the login page).
I can assure you every single one of my database inputs is checked for injection attacks (Even those that came directly from PHP built-ins like time()), and every piece of data that goes onto a web page is checked for scripts as well.

Writing secure code can be a difficult process, but it's not impossible even with PHP.

Comment Discrete mathematics? (Score 1) 630

How about discrete maths/combinatorics? The intro material is not overly difficult, but I find it a very interesting branch (As a CompSci student). Set theory, graph theory, logic theory, advanced probability. Enumeration, generating functions...

Number theory? It's a bit more advanced, but some kids should grasp it.

Comment Re:It's Linux, NOT GNU/Linux!! (Score 1) 342

Yeah, Windows and OSX are broken because neither ship by default a tool that would be useless to >99% of its userbase but whose presence on every PC would be utterly adored by malware authors.

I'm not 100% certain, but I think you'll find that gcc has shipped with all versions of Mac OS X. In fact, Windows is the only modern system I know of that DOESN'T ship with a C compiler.

Secondly, how does having a C compiler on a system help malware writers at all? I know it's easy to think, "BECAUSE IT CAN MAKES THE CODES GO" and stop there, but do try to think about the logic of what you're saying. Malware compile code? What's the point? Why go to the trouble of transferring C code over the net to the infected computer, bearing in mind that plain text C code is significantly larger than the corresponding machine code, along with the possibility of the user noticing system slowdown as a result of the lovely CPU spikes that go with compiling a program?

Slashdot Top Deals

1000 pains = 1 Megahertz

Working...