Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: PHP is fine (Score 5, Insightful) 176

by bsdasym (#49322839) Attached to: Modern PHP: New Features and Good Practices
Blaming the language for bad code is asinine. Blame bad (or inexperienced, or just plain lazy) programmers. I write PHP stuff. I also write Perl, C, C++, C#, Pascal, JS, and recently VHDL. I have written Java and Ruby code as well, but no longer do. Overall PHP is only as bad as the developer makes it. If I could change one thing about it, it would be getting the built in functions more consistent in return types and argument order for similar functions. I'm constantly referring to the documentation because for some particular functions I can't remember if haystack or needle comes first, for example.

It gets the job done quickly and easily, and if you find or write a good foundation of libraries and classes, the code is elegant and easy to understand as well. Just like every other language.

Comment: Re:if that were true (Score 1) 348

by bsdasym (#49226233) Attached to: Obama Administration Claims There Are 545,000 IT Job Openings
A) Your labor is "worth" exactly what someone is willing to pay for it.
B) See this quite often. It's never been a barrier to getting the interview or the job, but it does weed out the overly pedantic types.
C) All too often today "crappy environment" is just a euphemism for "productive environment."
D) Translated, states "Frankly, I hope they won't be in business very long, because they don't believe me a genius."

Disclaimer: This list is only as accurate and inflammatory as the one it is responding to. Intentionally.

+ - Verizon Posts Message in Morse Code to Mock FCC's Net Neutrality Ruling

Submitted by HughPickens.com
HughPickens.com (3830033) writes "Chris Matyszczyk reports at Cnet that Verizon has posted a message to the FCC titled: FCC’s ‘Throwback Thursday’ Move Imposes 1930s Rules on the Internet” written in Morse code. The first line of the release dated February 26, 1934 in old typewriter type reads: "Today (Feb.26) the Federal Communications Commission approved an order urged by President Obama that imposes rules on broadband Internet services that were written in the era of the steam locomotive and the telegraph." The Federal Communications Commission voted 3-2 along party lines in favor of new Internet service rules that prohibit blocking, slowing or prioritizing traffic. The rules, which have not yet been released, are opposed by cable and telephone companies that fear it will curb Internet growth and stifle payback on network investment. "It isn't a surprise that Verizon is a touch against Thursday's order. In 2012, it insisted that the very idea of Net neutrality squished its First and Fifth Amendment right," writes Matyszczyk. "I wonder, though, who will be attracted by this open mockery. Might this be a sign that Verizon doesn't think the fight is over at all?""

+ - Vintage Nasa photographs for sale->

Submitted by Art Challenor
Art Challenor (2621733) writes "Vintage Nasa photographs for sale

A collection of vintage photographs by Nasa's pioneering astronauts goes under the hammer at Bloomsbury Auctions in London on 26 February 2015.

It includes images not published before, some taken on the surface of the Moon during the early days of space exploration."

Link to Original Source

+ - Exelon-backed bill seeks $2 more a month for nuclear power plants->

Submitted by mdsolar
mdsolar (1045926) writes "Electricity users would have to dip into their pockets a little more to help cover costs of Exelon's nuclear power plants under legislation unveiled Thursday that the influential corporation maintained would save jobs and keep service steady and reliable.

Exelon is backing the proposal because it could prop up what it says are three money-losing nuclear plants that produce relatively clean energy compared to other sources of power. Opponents question whether Exelon would get an unnecessary bailout when a trio of its other nuclear plants are in the black, and supporters of a separate bill prefer a broader approach that would build up renewable resources."

Link to Original Source

+ - Fake Komodia root SSL certs in use by over +100 companies->

Submitted by Billly Gates
Billly Gates (198444) writes "Lenovo and Superfish are not the only companies who used the fake root SSL certificates by Komodia to spy and decrypt network traffic. Komodia advertises its products including a SSL-digestor to rid the obtrusive thing we call encryption and security. So far game accelerators are mentioned as some have seen these certs installed with Asus lan accelerator drivers."
Link to Original Source

+ - Recursion - Love it or Hate It?

Submitted by theodp
theodp (442580) writes ""Yet another example of how AP exams are loaded with poor coding practices," quipped Alfred Thompson, referring to a recursive code example that prints the numbers 0 to 6, which was posted to the (closed) AP Computer Science Facebook group. "We are often forced to use code examples that are not ideal coding practice," Thompson notes. "We do that to make things clear and to demonstrate specific concepts in a sort of isolation that we might not normally use. We seem to do that a lot with recursion because the examples that require recursion tend to be fairly complex." So, while asking students to use recursion instead of a loop to print '0123456' serves the purpose of teaching recursion, Thompson opines that it's also a poor example of code practice. "Someone raised on functional programming where recursion is a pretty standard way of doing looping might disagree of course," he adds. "There is a saying that when all you have is a hammer all your problems look like nails. This seems, in a way, to be the case with recursion and loops. If your first tool of choice (or what you have learned first) for iteration is loops you tend not to think of recursion as a solution. Similarly if you start with recursion (as is common with functional programming) you are a lot more likely to look at recursion as a tool for iteration." So, do you tend to embrace or eschew recursion in your programming?"

Comment: Lot of complaining but no solutions (Score 1) 175

by bsdasym (#49007395) Attached to: The Man Squatting On Millions of Dollars Worth of Domain Names
Guy who gives away free stuff gets angry when guy taking free stuff turns around and sells it. News at 11. We will also interview guy who didn't get any of the free stuff to begin with and feels like he's entitled to some now that he understands there is money to be made.

+ - Reverse Engineering the Nike+ FuelBand's Communications Protocol->

Submitted by Anonymous Coward
An anonymous reader writes "Security researcher Simone Margaritelli has reverse engineered the Bluetooth low-energy communications protocol for his Nike+ FuelBand SE, a wrist-worn activity tracker. He learned some disturbing fact: "The authentication system is vulnerable, anyone could connect to your device. The protocol supports direct reading and writing of the device memory, up to 65K of contents. The protocol supports commands that are not supposed to be implemented in a production release (bootloader mode, device self test, etc)." His post explains in detail how he managed this, and how Nike put effort into creating an authentication system, but then completely undermined it by using a hard-coded token. Margaritelli even provides a command list for the device, which can do things like grab an event log, upload a bitmap for the screen, and even reset the device."
Link to Original Source

+ - Computers are evil in early education-> 2

Submitted by nbauman
nbauman (624611) writes "Middle school students who got computers did worse in school. They wasted their time on games, social media, and entertainment (just like adults), according to Susan Pinker in the New York Times. http://www.nytimes.com/2015/01... Computers only help when they're used by good, trained teachers. Infants who interact with parents do better in school. Screen time reduces interaction with parents.

In the early 2000s, economists tracked the academic progress of nearly one million disadvantaged middle-school students against the dates they were given networked computers. They assessed math and reading skills for 5 years.

“Students who gain access to a home computer between the 5th and 8th grades tend to witness a persistent decline in reading and math scores,” they wrote. The Internet was also linked to lower grades in younger children.

Weaker students (boys, African-Americans) were affected more than others. When their computers arrived, their reading scores fell off a cliff.

Technology has a role in education — but only when it’s perfectly suited to the task, and only when it's deployed as a tool by a terrific, highly trained teacher."

Link to Original Source

RAM wasn't built in a day.

Working...