×
Programming

Ruby 2.0.0 Released 121

An anonymous reader writes "Today version 2.0.0 of Ruby has been released. This is a stable release, and the Ruby team has done their best to make it compatible with 1.9, making it easier to migrate than it was to switch from 1.8 to 1.9. New core language features include: 'Keyword arguments, which give flexibility to API design; Module#prepend, which is a new way to extend a class; A literal %i, which creates an array of symbols easily; __dir__, which returns the dirname of the file currently being executed; and UTF-8 default encoding, which make many magic comments omissible.' There are also new built-in libraries for lazy stream and for an asynchronous exception handling API. The release includes a number of performance improvements and debug support for DTrace."
Databases

A Tale of Two Databases, Revisited: DynamoDB and MongoDB 73

Questioning his belief in relational database dogma, new submitter Travis Brown happened to evaluate Amazon's Dynamo DB and MonogDB. His situation was the opposite of Jeff Cogswell's: he started off wanting to prefer Dynamo DB, but came to the conclusion that the benefits of Amazon managing the database for him didn't outweigh the features Mongo offers. From the article: "DynamoDB technically isn't a database, it's a database service. Amazon is responsible for the availability, durability, performance, configuration, optimization and all other manner of minutia that I didn't want occupying my mind. I've never been a big fan of managing the day-to-day operations of a database, so I liked the idea of taking that task off my plate. ... DynamoDB only allows you to query against the primary key, or the primary key and range. There are ways to periodically index your data using a separate service like CloudSearch, but we are quickly losing the initial simplicity of it being a database service. ... However, it turns out MongoDB isn't quite as difficult as the nerds had me believe, at least not at our scale. MongoDB works as advertised and auto-shards and provides a very simple way to get up and running with replica sets." His weblog entry has a few code snippets illustrating how he came to his conclusions.
Displays

Carmack On VR Latency 94

An anonymous reader writes "For a while now, John Carmack has been pushing to bring virtual reality technology back to the gaming world. VR was largely abandoned over a decade ago when it became apparent that the hardware just wasn't ready to support it. In 2013, things are different; cheap displays with a high pixel density and powerful processors designed for small systems are making virtual reality a... reality. One of the last obstacles to be conquered is latency — the delay between moving your head and seeing your perspective change in the virtual world. In a lengthy and highly-technical post at #AltDevBlogADay, Carmack has outlined a number of strategies for mitigating and reducing latency. With information and experience like this being shared with the game development community at large, it shouldn't be long until VR makes a permanent place for itself in our gaming lives."
Software

Microsoft, BSA and Others Push For Appeal On Oracle v. Google Ruling 191

sl4shd0rk writes "In 2012, Oracle took Google to court over the use of Java in Android. Judge William Alsup brought the ruling that the structure of APIs could not be copyrighted at all. Emerging from the proceedings, it was learned that Alsup himself had some programming background and wasn't bedazzled by Oracle's thin arguments on the range-checking function. The ruling came, programmers rejoiced and Oracle vowed Appeal. It seems that time is coming now, nearly a year later, as Microsoft, BSA, EMC, Netapp, et al. get behind Oracle to overturn Alsup's ruling citing 'destabilization' of the 'entire software industry.'"
Software

Why My Team Went With DynamoDB Over MongoDB 106

Nerval's Lobster writes "Software developer Jeff Cogswell, who matched up Java and C# and peeked under the hood of Facebook's Graph Search, is back with a new tale: why his team decided to go with Amazon's DynamoDB over MongoDB when it came to building a highly customized content system, even though his team specialized in MongoDB. While DynamoDB did offer certain advantages, it also came with some significant headaches, including issues with embedded data structures and Amazon's sometimes-confusing billing structure. He offers a walkthrough of his team's tips and tricks, with some helpful advice on avoiding pitfalls for anyone interested in considering DynamoDB. 'Although I'm not thrilled about the additional work we had to do (at times it felt like going back two decades in technology by writing indexes ourselves),' he writes, 'we did end up with some nice reusable code to help us with the serialization and indexes and such, which will make future projects easier.'"
Programming

Two Years of GNU Guile Scheme 2.0 107

Two years ago Guile Scheme, the official extension language of the GNU project, released version 2.0, a major upgrade to the implementation. As part of the two year anniversary, the maintainers organized a challenge to hack a small project using Guile in 30 days as part of a birthday software potluck. The two coolest dishes appear to be OpenGL support using the FFI, and XCB bindings built using the XML specification for XCB: "guile-xcb is a language implemented in the Guile VM that parses the XML files used by the xcb project to specify the X protocol and compiles them into Guile modules containing all the methods and data needed to send requests to the X server and receive replies/events back. If new X extensions are added to the xcb library, guile-xcb can compile and add them with no additional work. " See the release announcement for details on the other dishes.
Python

Python Trademark Filer Ignorant of Python? 261

WebMink writes "Is it possible that the CEO of the company that's trying to file a trademark on 'Python' was unaware of Python's importance as a programming technology? That's what he claims — despite running a hosting company that's trying to break into cloud computing, where Python is used extensively. Still, he also regards the Python Software Foundation as a hostile American company and thinks that getting attention from half the world's geeks is a DDoS. From the article: '[The CEO, Tim Poultney,] confirmed that he'd not involved any technical staff in the decisions he'd made about the Python product brand, and told me he regretted that as it would probably have helped him understand the likely reaction to his trademark challenge. ... He said he now understood how offended the global developer community are and told me there was obviously only one outcome that was now possible.'"
Cellphones

Tizen 2.0 Magnolia SDK and Source Code Released 37

jrepin writes "The Tizen 2.0 source code and SDK are now available. 'This release includes an enhanced Web framework that provides state-of-the-art HTML5/W3C API support, a Web UI framework (including full-screen and multi-window support), additional Tizen device APIs, such as Bluetooth and NFC support, and access to the device's calendar, call history, and messaging subsystems are now available. Other highlights: The Web Runtime framework supports new configuration elements for specifying the required features and privileges, and provides the basic runtime environment for NPRuntime plugins; the Native framework supports full-featured application development and provides a variety of features such as background applications, IP Push, and TTS (Text-To-Speech)."
Java

Apple Hit By Hackers Who Targeted Facebook 148

snydeq writes "Apple was recently attacked by hackers who infected the Macintosh computers of some employees, the company said on Tuesday in an unprecedented disclosure that described the widest known cyber attacks against Apple-made computers to date, Reuters reports. 'The same software, which infected Macs by exploiting a flaw in a version of Oracle Corp's Java software used as a plug-in on Web browsers, was used to launch attacks against Facebook, which the social network disclosed on Friday. ... A person briefed on the investigation into the attacks said that hundreds of companies, including defense contractors, had been infected with the same malicious software, or malware. The attacks mark the highest-profile cyber attacks to date on businesses running Mac computers.'"
Programming

Duke Nukem 3D Code Review 128

alancronin writes "Similar to Fabien Sanglard's previous code reviews of other games such as the Quake and Doom line of games comes a review of the code base of Duke Nukem 3D (split out over 4 pages). This will be a very good read for anyone interested in understanding the mechanics of a highly addictive game or anyone that wants to learn more about game design."
Facebook

Facebook Hacks Points To Much Bigger Threat For Mobile Developers 59

DavidGilbert99 writes "Facebook admitted last weekend that it was hacked but assured everyone that no data was compromised. However following some investigation by security firm F-Secure, it seems this could be just the tip of the iceberg and that thousands of mobile app developers without the dedicated security team Facebook has in place could already be compromised. The vector for the attack was a mobile developer's website, and the malware used likely targeted Apple's Mac OS X rather than Windows."
Programming

Why Hasn't 3D Taken Off For the Web? 320

First time accepted submitter clockwise_music writes "With HTML5 we're closer to the point where a browser can do almost everything that a native app can do. The final frontier is 3D, but WebGL isn't even part of the HTML5 standard, Microsoft refuses to support it, Apple wants to push their native apps and it's not supported in the Android mobile browser. Flash used to be an option but Adobe have dropped mobile support. To reach most people you'd have to learn Javascript, WebGL and Three.js/Scene.js for Chrome/Firefox, then you'd have to learn Actionscript + Flash for the Microsofties, then learn Objective-C for the apple fanboys, then learn Java to write a native app for Android. When will 3D finally become available for all? Do you think it's inevitable or will it never see the light of day?"
The Media

Layoffs Hit Washington Post Mobile Team 108

imac.usr writes "The Huffington Post is reporting that The Washington Post has gone through yet another round of layoffs, but this time instead of cutting editorial positions, they're apparently cutting IT positions, specifically in the mobile applications department. According to Washington, DC media blog FishbowlDC, 54 people, including the General Manager of Mobile and Director of Mobile Products, were given the axe on Valentine's Day. A particularly damning quote from the FishbowlDC article: '"[CIO and VP Shaliesh] Prakash thinks these are 'inefficiencies' – that is the exact word he uses for human beings who are not useful according to him," said a source who spoke only on condition of anonymity. "Get rid of experienced people to save money, under the garb of streamlining is the new trend inside the Post."' Given that mobile products seem somewhat more likely to succeed than printed newspapers, this seems a strange decision at best."
Advertising

Ask Slashdot: I Just Need... Marketing? 212

An anonymous reader writes "Over the years, Slashdot has had many stories of non-technical entrepreneurs in need of programmers. Now I found myself in an almost opposite situation: I am a programmer with a fledgling mass-market product that needs marketing. I know Slashdot's general sentiment towards marketing. Without being judgmental one way or the other, I must say that for a product to reach the widest possible audience in a given time period, marketing is a necessity. Short of doing everything myself, I see a couple of options: 1. Hire marketing people, or an outside marketing firm; 2. Take in willing partners who are good at marketing (currently there are no shortage of people who want in). With these options, my major concerns are how to quantify performance, as well as how to avoid getting trapped in a partnership with non-performing partners — I already have a tangible product with a huge amount of time, money, and effort invested. Budget is also limited. (Budget is always limited unless you are a Fortune 500 business, but for now that's more of a secondary concern.) So here is my question to Slashdot: how do you address these concerns, and in a more general sense, how would you handle the situation: technical people with a product in need of marketing?"
GNU is Not Unix

Evil, Almost Full Vim Implementation In Emacs, Reaches 1.0 252

New submitter karijes writes "Evil is a new Emacs major mode intended to implement full Vim emulation for Emacs editor, and it's reached its first stable release. Evil implements many Vim features and has support for plugins, so there is port for rails.vim, NERDCommenter and mapleader among others. You can find details about this release on the mailing list."
The Internet

WebKit As Broken As Older IE Versions? 213

An anonymous reader writes "It's not everyday that we get to hear about the potential downsides of using WebKit, but that's just what has happened as Dave Methvin, president of the jQuery foundation and a member of the core programming team that builds the widely used Web programming tool, lamented in a blog post yesterday. While most are happy to cheer for IE's demise, perhaps having three main browser engines is still a good thing. For those that work in the space, does the story ring true? Are we perhaps swearing at the wrong browser when implementing 'workarounds' for Firefox or IE?"
Python

Python Trademark At Risk In Europe 122

mvar writes "A company in the UK is trying to trademark the 'Python' term for all things computing. The Python Software Foundation is asking for help. According to the PSF, they contacted the company in order to settle the matter but 'They blew us off and responded by filing the community trademark application claiming the exclusive right to use "Python" for software, servers, and web services — everywhere in Europe.' They now seek help from the community in several ways: By sending a letter to the EU council if you happen to work on a company that uses the Python programming language, by providing EU-published material regarding the Python language (articles etc) and/or financially supporting the PSF in the upcoming legal battle."
Displays

Ask Slashdot: What Is Your Favorite Monitor For Programming? 375

First time accepted submitter BadassFractal writes "I'm in the market for a new large desktop monitor (or two) which I intend to use almost exclusively for programming and all sorts of software development-related work. I'm trying to keep the cost down reasonable, and I do enjoy as large of a resolution as possible. What do people 'in the know' out there use these days for that purpose? I'm thinking a 1920x1200 24" would be good, unless there's an affordable 2560xFoo option out there. I keep hearing about nameless Korean 27" screens, any thoughts on those?"
Software

Game Closure "DevKit" For Mobile HTML5 Games Is Open Source 37

First time accepted submitter Chris Taylor writes "Silicon Valley startup Game Closure has open-sourced their HTML5 game development toolkit. The trailer video showcases some interesting new technology. It allows game developers to write code in JavaScript on Windows, Mac and Linux desktops to rapidly create and then deploy new games on the Internet, Android, and on iOS cellphones. The source code for the entire stack is available on GitHub, including the changes to Google V8 and Mozilla SpiderMonkey."

Slashdot Top Deals