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


Forgot your password?

Comment: Re:No! One reason: Verbosity sucks (Score 1) 6

by hcs_$reboot (#48898001) Attached to: Is Pascal an Underrated Programming Language?
Ok, but saying "One reason: verbosity sucks" tends to make that argument the most important one. While there are many differences between C and Pascal, and verbosity is certainly not the most important one (unless you're paid inversely proportional to the numbers of characters you write in a program!). Pascal is chosen in schools for instance, because of it's more rigid structure to discipline programs writing, its "pointers" are type safe, pointers arithmetic is not allowed etc... etc... I did program in Pascal and C, and verbosity was certainly not a concern - the rest was! (I prefer C). Would that be Cobol, OTOH....

Comment: People need advice more than information (Score 4, Insightful) 302

by hcs_$reboot (#48897969) Attached to: Americans Support Mandatory Labeling of Food That Contains DNA
Most people don't have the knowledge to assess by themselves if a product fits their expectation. Not only for food, any product needs a thoughtful advice/label from an independent and competent / national team to guide customers. What difference does it make for a customer who reads for the first time "chicken raised outdoors" and "chicken from battery cages"? The answer is here, and it's a big long, but a summary on a sticker would help customers to chose more wisely - and that would dramatically improve competition between very-low quality products sold 0.9 X against a much better product sold X (while the manufacturing cost of a "good" product would be twice the cost of a "bad" product). People tend to chose the cheapest one, by lack of information.

+ - Americans Support Mandatory Labeling of Food That Contains DNA

Submitted by (3830033) writes "Jennifer Abel writes at the LA times that according to a recent survey over 80% of Americans says they support “mandatory labels on foods containing DNA,” roughly the same number that support the mandatory labeling of GMO foods “produced with genetic engineering.” Ilya Somin, writing about the survey at the Washington Post, suggested that a mandatory label for foods containing DNA might sound like this: "WARNING: This product contains deoxyribonucleic acid (DNA). The Surgeon General has determined that DNA is linked to a variety of diseases in both animals and humans. In some configurations, it is a risk factor for cancer and heart disease. Pregnant women are at very high risk of passing on DNA to their children."

The report echoes a well-known joke/prank wherein people discuss the dangers of the chemical “dihydrogen monoxide" also known as hydrogen oxide and hydrogen hydroxide. Search online for information about dihydrogen monoxide, and you'll find a long list of scary-sounding and absolutely true warnings about it: the nuclear power industry uses enormous quantities of it every year. Dihydrogen monoxide is used in the production of many highly toxic pesticides, and chemical weapons banned by the Geneva Conventions. Dihydrogen monoxide is found in all tumors removed from cancer patients, and is guaranteed fatal to humans in large quantities and even small quantities can kill you, if it enters your respiratory system. In 2006, in Louisville, Kentucky, David Karem, executive director of the Waterfront Development Corporation, a public body that operates Waterfront Park, wished to deter bathers from using a large public fountain. "Counting on a lack of understanding about water's chemical makeup," he arranged for signs reading: "DANGER! – WATER CONTAINS HIGH LEVELS OF HYDROGEN – KEEP OUT" to be posted on the fountain at public expense"

+ - Is Pascal an Underrated Programming Language? 6

Submitted by Anonymous Coward
An anonymous reader writes "In the recent Slashdot discussion on the D programming language, I was surprised to see criticisms of Pascal that were based on old information and outdated implementations. While I’m sure that, for example, Brian Kernighan’s criticisms of Pascal were valid in 1981, things have moved on since then. Current Object Pascal largely addresses Kernighan’s critique and also includes language features such as anonymous methods, reflection and attributes, class helpers, generics and more (see also Marco Cantu’s recent Object Pascal presentation). Cross-platform development is fairly straightforward with Pascal. Delphi targets Windows, OS X, iOS and Android. Free Pascal targets many operating systems and architectures and Lazarus provides a Delphi-like IDE for Free Pascal. So what do you think? Is Pascal underrated?"

+ - Calls For European ISPs To Filter Content Could Be Illegal->

Submitted by jfruh
jfruh (300774) writes "Last week, justice ministers from EU countries called for ISPs to censor or block certain content in the "public interest." But a legal analysis shows that such moves could actually violate EU privacy laws, since it would inevitably involve snooping on the content of Internet traffic to see what should be blocked."
Link to Original Source

Comment: Re:Save to PDF (Score 1) 298

by hcs_$reboot (#48872653) Attached to: Ask Slashdot: Has the Time Passed For Coding Website from Scratch?
Creating a PDF sounds very static. How do you generate dynamic pages? Even a small change like displaying the time would require a new PDF generation. While it's doble to automatically generate PDFs on the fly, doing so for all clients is likely to be a slow, resource eater process. Even for static pages, some browsers/configurations do save the PDF as a file / download, or open the doc in a separate tab/window. Pretty inconvenient for the end user.

Comment: CSS (Score 2) 298

by hcs_$reboot (#48872481) Attached to: Ask Slashdot: Has the Time Passed For Coding Website from Scratch?
Using a framework would really make sense for the client side, imo - ie CSS, Javascript, HTML, to cope with browsers differences and other language peculiarities, the result is usually immediately visible, tangible. The server side otoh may require more attention to detail if data from client is checked / analyzed / processed / stored - leaving that responsability to a framework will likely produce a lot of spaghetti code doing only approximately what you want, and any manual maintenance (ie modify the resulting code directly) is hard and cut the consistency links with the FM.

"Don't think; let the machine do it for you!" -- E. C. Berkeley