Programming

Ask Slashdot: How To Find Expertise For Amateur Game Development? 188

New submitter es330td writes "I'd like to write a program that takes the old cannon game to another level, but instead of the path being a simple parabolic arc, the projectile will move through a field of objects exerting gravitational attraction (or repulsion) and the player will have to adjust velocity and angle to find the path through the space between launch point and the target.In an ideal world, this would end up as one of these Flash based web playable games, as that would force me to fully flesh it out, debug and complete the app. I doubt this will ever be commercial, so hiring somebody doesn't make sense, and I wouldn't learn anything that way either. I have been programming for almost 20 years, but the bulk of my work has been in corporate programming, primarily web (Cold Fusion, ASP & C#.Net,) or VB6 and then C# Windows GUI interfaces to RDBMS. I have never written a graphics based game, nor have I ever written something using the physics this will require. Once upon a time, I could program in C but I think I would be much better off to work with someone rather than try to roll my own unless good books exist to flatten the learning curve. Any advice on how to proceed?"
Android

Chief Replicant Dev On Building a Truly Free Android 113

angry tapir writes "While Android is open source, it won't work on a phone without software that generally isn't open source. The Replicant project is an attempt to build a version of Android that doesn't rely on binary blobs for which the source code isn't available to end users, and the software currently works on a handful of handsets. I caught up with the project's lead developer to talk about their efforts to make a completely open source version of Android."
ISS

Try Your Programming Skills In Space: DARPA Satellite Programming Challenge 54

First time accepted submitter null action writes "Want to have your code run on a satellite in space? Take a look at this. MIT Space Systems Laboratory and TopCoder are hosting a DARPA competition to create the best algorithm for capturing a randomly tumbling space object. Contestants in the Zero Robotics Autonomous Space Capture Challenge will compete in online simulations, and four finalists will have their algorithms tested aboard the International Space Station on small satellites called SPHERES. 'In this challenge, you have no advance knowledge of how it will be rotating. We're pushing the limits of what we can do with SPHERES and we hope to break new ground with this challenge,' said Jake Katz of MIT."
Programming

New Programming Languages Come From Designers 435

eldavojohn writes "A very lengthy and somewhat meandering essay from Crista Videira Lopes has sparked off some discussion of where new programming languages come from. She's writing from the viewpoint of academia, under the premise that new languages don't come from academia. And they've been steadily progressing outside of large companies (with the exception of Java and .NET) into the bedrooms and hobbies of people she identifies as 'designers' or 'lone programmers' instead of groups of 'researchers.' Examples include PHP by Rasmus Lerdorf, JavaScript by Brenden Eich, Python by Guido van Rossum and — of course — Ruby by Yukihiro Matsumoto. The author notes that, as we escape our computational and memory bounds that once plagued programming languages in the past and marred them with ultra efficient syntax in the name of hardware, our new languages are coming from designers with seemingly little worry about the budget CPU being able to handle a large project in the new language. The piece is littered with interesting assertions like 'one striking commonality in all modern programming languages, especially the popular ones, is how little innovation there is in them!' and 'We require scientific evidence for the claimed value of experimental drugs. Should we require scientific evidence for the value of experimental software?' Is she right? Is the answer to studying modern programming languages to quantify their design as she attempts in this post? Given the response of Slashdot to Google's Dart it would appear that something is indeed missing in coercing developers that a modern language has valid offerings worthy of their time."
Programming

Ask Slashdot: Do Kids Still Take Interest In Programming For Its Own Sake? 276

nirgle writes "I have been wondering lately if there are any kids interested in programming for its own sake anymore. When I was my nephew's age, computers were still fascinating: There wasn't a laptop on every table, facebook wasn't splattered on every screen, and you couldn't get any question answered in just a couple seconds with Google. When I was 10, I would have done anything for a close programming mentor instead of the 5-foot high stack of books that I had to read cover-to-cover on my own. So I was happy when my nephew started asking about learning to do what "Uncle Jay does." Does the responsibility now shift to us to kindle early fires in computer science, or is programming now just another profession for the educational system to manage?" Another reader pointed out a related post on the Invent with Python blog titled "Nobody wants to learn how to program."
Android

MIT App Inventor Back Online 55

mikejuk writes "If you have been missing App Inventor, you'll be relieved to learn that it is now available again — albeit still in beta. After two months, MIT has managed to open the beta program and users can once again create App Inventor Android programs. However, you still need a Google ID to sign in, and among the known issues is the problem that MIT App Inventor cannot load projects that are as large as those supported by the Google version. It also reports that some projects have loaded with missing blocks. While the world seems to be intent on making a fuss about the educational impact of cheap hardware like Raspberry Pi, really valuable tools that could produce a new generation of programmers such as App Inventor don't seem to get the headlines or the concern due when they go missing for months."
Government

$10,000 Prize For Connecting Businesses With Government Data 45

First time accepted submitter InsertCleverUsername writes "The Department of Commerce has announced a $10,000 contest for developers making apps to utilize Commerce and other publicly available data and information to support American businesses. Developers must use at least one Department of Commerce dataset to create an application that assists businesses and/or improves the service delivery of Business.USA.gov to the business community. Developers may choose any platform. A list of developer-friendly data sets can be found on the Business Data and Tools page of Data.gov."
PHP

PHP 5.4 Released 209

mikejuk writes "PHP 5.4 has been released, along with a new version of Zend Framework. It has a number of optimizations that make it faster and smaller (early estimates say 10-20% faster), a built-in webserver for testing purposes, and features that had been destined for PHP 6.0. The big addition from the now-crashed PHP 6.0 project is Traits, which are sort of a cross between a class and an interface, bringing some of the advantages of multiple inheritance to PHP. The full changelog and download page are both available."
Programming

Computer Programmers Only the 5th Most Sleep Deprived Profession 204

garthsundem writes "As described in the NY Times Economix blog, the mattress chain Sleepy's analyzed data from the National Health Interview Survey to find the ten most sleep deprived professions. In order, they are: Home Health Aides, Lawyer, Police Officers, Doctors/Paramedics, Tie: (Economists, Social Workers, Computer Programmers), Financial Analysts, Plant Operators (undefined, but we assume 'factory' and not 'Audrey II'), and Secretaries."
Education

Khan Academy Chooses JavaScript As Intro Language 355

jfruh writes "Slashdotters (many of whom cut their teeth on much-maligned BASIC) have long debated what language kids should learn programming in. Khan Academy, the wildly popular producer of educational videos, has come up with an unorthodox choice: JavaScript, not least because of its ability to keep kids' attention with something fun and graphical."
Programming

Stroustrup Reveals What's New In C++ 11 305

snydeq writes "Bjarne Stroustrup discusses the latest version of C++, which, although not a major overhaul, offers many small upgrades to appeal to different areas of development. From the interview: 'I like the way move semantics will simplify the way we return large data structures from functions and improve the performance of standard-library types, such as string and vector. People in high-performance areas will appreciate the massive increase in the power of constant expressions (constexpr). Users of the standard library (and some GUI libraries) will probably find lambda expressions the most prominent feature. Everybody will use smaller new features, such as auto (deduce a variable's type from its initializer) and the range-for loop, to simplify code.'"
Software

Developer's View: Real Life Inspirations Or Abstract Ideas? 144

StormDriver writes "According to writer Marc Prensky, most of us come from a generation of digital immigrants. It basically means the modern web developed during our lifetime, it is a place we migrated to, discovering its potential. But people aged 20 and younger are not like that at all. They are digital natives, they've spent their whole lives here. 'Hey, let's do a digital version of our college facebook' is a digital immigrant's idea, just like 'Hey, let's make something like a classifieds section of a newspaper, only this one will be online.' Or 'Hey, let's make an online auction housel.' 'Hey, let's make a place for online video rentals.' The thing is, recreating items, ideas and interactions from the physical realm on the Web already ran its course." To me, this sounds like the gripe that "Everything that can be invented, has been invented." There are a lot of real-life services and experiences that have yet to be replicated, matched, or improved upon in the online realm; I wouldn't want people to stop taking inspiration from "old fashioned" goods as starting points for digital products.
Cloud

Is It Time For NoSQL 2.0? 164

New submitter rescrv writes "Key-value stores (like Cassandra, Redis and DynamoDB) have been replacing traditional databases in many demanding web applications (e.g. Twitter, Google, Facebook, LinkedIn, and others). But for the most part, the differences between existing NoSQL systems come down to the choice of well-studied implementation techniques; in particular, they all provide a similar API that achieves high performance and scalability by limiting applications to simple operations like GET and PUT. HyperDex, a new key-value store developed at Cornell, stands out in the NoSQL spectrum with its unique design. HyperDex employs a unique multi-dimensional hash function to enable efficient search operations — that is, objects may be retrieved without using the key (PDF) under which they are stored. Other systems employ indexing techniques to enable search, or enumerate all objects in the system. In contrast, HyperDex's design enables applications to retrieve search results directly from servers in the system. The results are impressive. Preliminary benchmark results on the project website show that HyperDex provides significant performance improvements over Cassandra and MongoDB. With its unique design, and impressive performance, it seems fittng to ask: Is HyperDex the start of NoSQL 2.0?"
Communications

How Mailinator Compresses Its Email Stream By 90% 75

An anonymous reader writes "Paul Tyma, creator of Mailinator, writes about a greedy algorithm to analyze the huge amount of email Mailinator receives and finds ways to reduce its memory footprint by 90%. Quoting: 'I grabbed a few hundred megs of the Mailinator stream and ran it through several compressors. Mostly just stuff I had on hand 7z, bzip, gzip, etc. Venerable zip reduced the file by 63%. Not bad. Then I tried the LZMA/2 algorithm (7z) which got it down by 85%! Well. OK! Article is over! Everyone out! 85% is good enough. Actually — there were two problems with that result. One was that, LZMA, like many compression algorithms build their dictionary based on a fixed dataset. As it compresses it builds a dictionary of common sequences and improves and uses that dictionary to compress everything thereafter. That works great on static files — but Mailinator is not a static file. Its a big, honking, several gigabyte cache of ever changing email. If I compressed a million emails, and then some user wanted to read email #502,922 — I'd have to "seek" through the preceding half-million or so to build the dictionary in order to decompress it. That's probably not feasible.'"
Programming

New Opa S4 Release Puts Forward New 'ORM' For MongoDB 29

phy_si_kal writes "The new, open source, Opa web programming language just hit version 0.9.0 'S4,' six months after its last major release. Apart from a new syntax more similar to JavaScript, the new release focuses on mongoDB integration. Opa now features something similar to object-relational mapping (ORM) except that mongoDB is a non-relational, document-oriented database and Opa a functional, non-object-oriented language. The new functionality makes the NoSQL database even easier to use, as all language-database calls are automated. The mapping of functional datastructures to documents could even be much better than current ORM approaches and solve the object-relational impedance mismatch."
Android

Oracle's Java Claims Now Down To $230 Million 84

jfruh writes "Hey, remember when Oracle decided to sue Google over claims that Android violated Oracle's Java patents and copyrights? How's that working out? Not so well, it seems! Oracle has been forced to take many of its patents out of the lawsuit due to lack of evidence, and the damages in play now are down to a little less than 4 percent of Oracle's original $6.1 billion claims."
DRM

Ask Slashdot: Copy Protection Advice For ~$10k Software? 635

An anonymous reader writes I'm part owner of a relatively small video editing software company. We're not yet profitable, and our stuff turned up on thePirateBay recently. Some of our potential paying customers are using it without paying, and some non-potential customers are using it without paying. Our copy protection isn't that tough to crack, and I'd rather see the developers working on the product than the DRM (I'm convinced any sufficiently desirable digital widget will get copied without authorization). Would it be insane to release a 'not for commercial use' copy that does some spying and reporting on you, along with a spy-free version for ~$10,000? I feel like that would reduce the incentive to crack the paid version, and legit businesses (In the US anyway but we're trying to sell everywhere) would generally pay and maybe we could identify some of the people using it to make money without paying us (and then sue the one with the biggest pockets). What would you do?"
GUI

Best Language For Experimental GUI Demo Projects? 278

New submitter GrantRobertson writes with a question about quickly developing prototypes for new interface design concepts "My research/tinkering will be along two main lines: (1) Devising entirely new graphical user interface elements, mostly in 2D, though often in a true or simulated 3-D space. I am working on ways to visualize, navigate, and manipulate very, VERY large data-sets of academic research information. (2) Computer based education software, though of a type never seen before. This will combine some of the GUI elements invented in (1) as well as displaying standard HTML or HTML5 content via a browser engine My requirements are: (A) A decent IDE ecosystem; (B) A decent set of libraries, but ones that don't lock me in to a particular mind-set like Swing does in Java. (Boxes in boxes in boxes, Oh My!); (C) An ability to easily draw what I want, where I want and make any surface of that 3D object become a source for capturing events; (D) Ease of cross-platform use. (So others can easily look at my examples and run with them.); (E) No impediments to open-source licensing my code or for others to go commercial with it either (as I have seen when I looked into Qt). So, should I just stick with Java and start looking outside the box for GUI toolkits? Or is there something else out there I should be looking at?" I'm not sure what impediments Qt has to proprietization of software since it's LGPL nowadays; in any case, Qt Quick and GNOME's Clutter seem like they could be a useful. Read on for more context.
Chrome

Google Chrome: the New Web Platform? 290

snydeq writes "The Chrome dev team is working toward a vision of Web apps that offers a clean break from traditional websites, writes Fatal Exception's Neil McAllister, in response to Google's new Field Guide for Web Applications. 'When you add it up, it starts to look as though, for all the noise Google makes about Web standards, Chrome is moving further and further apart from competing browsers, just by virtue of its technological advantages. In that sense, maybe Chrome isn't just a Web browser; maybe Chrome itself is the platform — or is becoming one.'"
Programming

Tetris In 140 Bytes 215

mikejuk writes "Is it possible to write a JavaScript program in no more than a tweet's length? A website called 140byt.es says it is and has an implementation of Tetris to prove it. Ok, it only has two types of block — hence its title "Binary Tetris" — and there's no rotate, but it works. The blocks fall down the screen and you steer them into place. You can try it out by playing the demo. Of course the real fun is in figuring out how it works and there is lots of help on the site — so if you're bored how about the 140 character challenge?"

Slashdot Top Deals