Open Source

How Device Drivers Are Reverse Engineered 27

An anonymous reader writes: Linux Voice magazine has published a long article about how people go about reverse engineering drivers for hardware peripherals. They use Python and a USB radio-controlled car to demonstrate, walking us through the entire process. It's a cool, easy-to-follow insight into what often seems to be a rather opaque process.
Databases

Why I Choose PostgreSQL Over MySQL/MariaDB 320

Nerval's Lobster writes For the past ten years, developers and tech pros have made a game of comparing MySQL and PostgreSQL, with the latter seen by many as technically superior. Those who support PostgreSQL argue that its standards support and ACID compliance outweighs MySQL's speed. But MySQL remains popular thanks to its inclusion in every Linux Web hosting package, meaning that a mind-boggling number of Web developers have used it. In a new article, developer David Bolton compares MySQL/MariaDB 5.7.6 (released March 9, 2015) with PostgreSQL 9.4.1 and thinks the latter remains superior on several fronts, including subqueries, JSON support, and better licensing and data integrity: "I think MySQL has done a great job of improving itself to keep relevant, but I have to confess to favoring PostgreSQL."
Businesses

Stanford Study Credits Lack of Non-Competes For Silicon Valley's Success 114

HughPickens.com writes Natalie Kitroeff writes at Bloomberg that a new study says the secret to Silicon Valley's triumph as the global capital of innovation may lie in a quirk of California's employment law that prohibits the legal enforcement of non-compete clauses. Unlike most states, California prohibits enforcement of non-compete clauses that force people who leave jobs to wait for a predetermined period before taking positions at rival companies. That puts California in the ideal position to rob other regions of their most prized inventors, "Policymakers who sanction the use of non-competes could be inadvertently creating regional disadvantage as far as retention of knowledge workers is concerned," wrote the authors of the study "Regional disadvantage? Employee non-compete agreements and brain drain" (PDF). "Regions that choose to enforce employee non-compete agreements may therefore be subjecting themselves to a domestic brain drain not unlike that described in the literature on international emigration out of less developed countries."

The study, which looked at the behavior of people who had registered at least two patents from 1975 to 2005, focused on Michigan, which in 1985 reversed its longstanding prohibition of non-compete agreements. The authors found that after Michigan changed the rules, the rate of emigration among inventors was twice as a high as it was in states where non-competes remained illegal. Even worse for Michigan, its most talented inventors were also the most likely to flee. "Firms are going to be willing to relocate someone who is really good, as opposed to someone who is average," says Lee Fleming. For the inventors, it makes sense to take a risk on a place such as California, where they have more freedom. "If the job they relocate for doesn't work out, then they can walk across the street because there are no non-competes."
Portables

Ask Slashdot: Choosing a Laptop To Support Physics Research? 385

An anonymous reader writes My daughter is in her third year of college as a physics major. She has an internship in Europe this summer, will graduate next year, and continue with graduate physics studies. Her area of research interest is in gravitational waves and particle physics. She currently has a laptop running Win7 and wants to buy a new laptop. She would like to use Linux on it, and plans to use it for C++ programming, data analysis and simulations (along with the usual email, surfing, music, pictures, etc). For all of the physics-savvy Slashdotters out there: what should she get? PC? Mac? What do you recommend for running Linux? For a C++ development environment? What laptop do you use and how is it configured to support your physics-related activities?
Businesses

Ask Slashdot: What Can Distributed Software Development Teams Learn From FLOSS? 133

An anonymous reader writes: As a long time free software proponent and leader of a small development team (10+ people) within a mid-sized company, I always try to incorporate my experiences from both worlds. Lately I was confronted with the need to accept new team members from abroad working on the same codebase and I expect to have even more telecommuting people on my team in the future (even though research suggests the failure rate of virtual teams could be as high as 70%). On the other hand, FLOSS does not seem to suffer from that problem, despite being developed in a distributed manner more often than not. What can corporations and managers learn from FLOSS to make their distributed teams more successful? Consequently, what FLOSS tools, methods, rules, and policies can and should be incorporated into the software development process within a company more often? I'm interested in hearing what you think, especially regarding technical issues like source code ownership and revision control systems, but also ways of communication, dealing with cultural differences, etc.
Programming

Prison Program Aims To Turn Criminals Into Coders 305

Press2ToContinue writes with news that San Quentin, a notorious California prison, has started a program to teach a class of inmates to write code. The first class will last for six months, and the inmates are learning about programming for eight hours a day. The hope is to give them the skills to find a good job after they leave prison, which in turn would reduce their chances of recidivism. Since the state's Dept. of Corrections prohibits internet access, the class only "pretends" to be online — they can't use internet-based resources, and nobody on the outside can see or use the software they create. One of the class's backers said, 'Almost every week there's epiphanies. And most of the guys in here, they've never touched a computer before. They are progressing beyond our expectations."
Programming

Electrical Engineering Employment Declines Nearly 10%, But Developers Up 12% 154

dcblogs writes The number of people working as electrical engineers declined by 29,000 last year, continuing a long-standing trend, according to government data. But the number of software developers, the largest IT occupational category, increased by nearly 12%,or a gain of 132,000 jobs. There were 1.235 million people working as software developers last year, and 271,000 electrical engineers, according U.S. Bureau of Labor Statistics data.
Programming

Algorithm Clones Facial Expressions And Pastes Them Onto Other Faces 31

KentuckyFC writes Various researchers have attempted to paste an expression from one face on to another but so far with mixed results. Problems arise because these algorithms measure the way a face distorts when it changes from a neutral expression to the one of interest. They then attempt to reproduce the same distortion on another face. That's fine if the two faces have similar features. But when the faces differ in structure, as most do, this kind of distortion looks unnatural. Now a Chinese team has solved the problem with an algorithm that divides a face into different regions for the mouth, eyes, nose, etc and measures the distortion in each area separately. It then distorts the target face in these specific regions while ensuring the overall proportions remain realistic. At the same time, it decides what muscle groups must have been used to create these distortions and calculates how this would change the topology of the target face with wrinkles, dimples and so on. It then adds the appropriate shadows to make the expression realistic. The result is a way to clone an expression and paste it onto another entirely different face. The algorithm opens the way to a new generation of communication techniques in which avatars can represent the expressions as well as the voices of humans. The film industry could also benefit from an easy way to paste the expressions of actors on to the cartoon characters they voice.
Programming

Rendering a Frame of Deus Ex: Human Revolution 81

An anonymous reader writes "Video games are among the most computationally intensive applications. The amount of calculation achieved in a few milliseconds can sometimes be mind-blowing. This post about the breakdown of a frame rendering in Deus Ex: Human Revolution takes us through the different steps of the process. It explains in detail the rendering passes involved, the techniques as well as the algorithms processed by a computer — 60 times per second."
Programming

NTP's Fate Hinges On "Father Time" 287

Esther Schindler writes In April, one of the open source code movement's first and biggest success stories, the Network Time Protocol, will reach a decision point, writes Charlie Babcock. At 30 years old, will NTP continue as the preeminent time synchronization system for Macs, Windows, and Linux computers and most servers on networks? Or will this protocol go into a decline marked by drastically slowed development, fewer bug fixes, and greater security risks for the computers that use it? The question hinges to a surprising degree on the personal finances of a 59-year-old technologist in Talent, Ore., named Harlan Stenn.
Google

Google Code Disables New Project Creation, Will Shut Down On January 25, 2016 140

An anonymous reader writes GitHub has officially won. Google has announced that Google Code project creation has been disabled today, with the ultimate plan to kill off the service next year. On August 24, 2015, the project hosting service will be set to read-only. This means you will still be able to checkout/view project source, issues, and wikis, but nobody will be able to make changes or new commits. On January 25, 2016, Google Code will be shut down. Google says you will be able to download tarballs of project source, issues, and wikis "throughout the rest of 2016." After that, Google Code will be gone for good.
Operating Systems

Linux Might Need To Claim Only ACPI 2.0 Support For BIOS 129

jones_supa writes Some of us remember the story of why Linux kernel responds "False" when ACPI BIOS asks if the operating system is Linux. We have found yet another case where mimicking the Windows behavior instead of writing to the spec is the right choice if you just want your machine to work properly. The ACPI spec defines the _REV object as evaluating to the revision of the ACPI specification that the OS implements. Linux returns 5 for this, because Linux actually tries to implement ACPI 5.0, but Windows returns 2 (ACPI 2.0), possibly due to legacy reasons. Linux kernel expert Matthew Garrett discovered that still a fair amount of brokenness appears when 5 is returned as the revision, including a Dell machine which left the sound hardware in a misconfigured state. He is proposing a kernel patch which simply reports _REV as 2 on all x86 hardware.
KDE

The Role of a Nonprofit In Open Source Development 49

jrepin writes KDE is among the biggest open source projects which continues to innovate and evolve with the changing times. Often we have seen this particular community create technologies ahead of its time which were later adopted by other projects. The Linux Foundation talked to Lydia Pintscher, the president of the KDE e.V., the nonprofit organization that oversees the legal and financial aspects of the KDE project, to understand the relationship between the community and the organization. We also discussed the challenge of recruiting more women to open source projects and women in the KDE community.
Education

BBC Returns To Making Computers For Schools 106

Raging Bool writes According to the BBC News website, the BBC is returning to producing comparatively inexpensive computers for schools. Readers of sufficient age will remember the BBC Model B with great affection. But won't this be in competition with other pre-existing devices such as Arduino and Raspberry Pi? The BBC says not: "The BBC does not see Micro Bit as a rival to similar devices such as Raspberry Pi, Arduino, Galileo and Kano, but rather hopes it will act as a 'springboard' to these more complex machines." I hope they're at least consulting with Eben Upton.
Google

Google's Angular 2 Being Built With Microsoft's TypeScript 91

itwbennett writes Big news for fans of static typing! Google and Microsoft have partnered to both enhance TypeScript and rebuild Angular in the TypeScript language. TypeScript, Microsoft's attempt at improving on JavaScript development, has been out there for a while without a notable use case. Likewise, Dart, Google's attempt at a language which accomplishes many of the same goals, hasn't seen a lot of traction outside of Google. With Google creating the next version of its popular framework Angular 2 using TypeScript, some weight is being thrown behind a single effort. Of course, Angular has its fair share of haters, and a complete re-write in version 2 that breaks compatibility with previous versions isn't going to help matters.
Open Source

Linux Kernel Adopts 'Code of Conflict' 93

Motor was one of several readers to note that a small patch recently added to the Linux kernel contains guidelines for discourse and dispute resolution within the community. It's called the "Code of Conflict." Quoting: Your code and ideas behind it will be carefully reviewed, often resulting in critique and criticism. The review will almost always require improvements to the code before it can be included in the kernel. Know that this happens because everyone involved wants to see the best possible solution for the overall success of Linux. .... If however, anyone feels personally abused, threatened, or otherwise uncomfortable due to this process, that is not acceptable. ... As a reviewer of code, please strive to keep things civil and focused on the technical issues involved.
Open Source

On Firing Open Source Community Members 255

An anonymous reader writes: As open source started booming, more people joined. Opinionated people. People who listened to the "we welcome everyone!" message and felt that their opinion could be their primary contribution. For some, they felt showing up at the gig gave them the right to dictate what the band played. From a leadership perspective, this was a tough spot to be in. On one hand, you want to foster an open, welcoming, and empowered community. You want that diversity of skills, but you also want value and quality. Low-quality contributors don't bring much other than noise: they are a net drain on resources because other good contributors have to take time away to support them.

In addition to this, those entitled, special-snowflakes who felt they deserved to be listened to would invariably start whining on their blogs about what they considered to be poor decisions. This caused heat in a community, heat causes sweating, sweating causes irritability, and irritability causes more angry blog posts. Critical blog posts were not the problem; un-constructive, critical blog posts were the problem. So what's the best way to foster a welcoming environment while still being able to remove the destructive elements?
Programming

Was Linus Torvalds Right About C++ Being So Wrong? 757

Nerval's Lobster writes: Perhaps the most famous rant against C++ came from none other than Linus Torvalds in 2007. "C++ is a horrible language," he wrote, for starters. "It's made more horrible by the fact that a lot of substandard programmers use it, to the point where it's much much easier to generate total and utter crap with it." He's not alone: A lot of developers dislike how much C++ can do "behind the scenes" with STL and Boost, leading to potential instability and inefficiency. And yet there's still demand for C++ out there. Over at Dice, Jeff Cogswell argues that C++ doesn't deserve the hatred. "I've witnessed a lot of 'over-engineering' in my life, wherein people would write reusable classes with several layers of inheritance, even though the reusable class wasn't actually used more than once," he wrote. "But I would argue that's the exception, not the norm; when done right, generic programming and other high-level aspects of C++ can provide enormous benefits." Was Linus going overboard?
Graphics

In the Age of Free AAA Game Engines, Where Does Our Open Source Engine Stand? 184

New submitter erlend_sh writes The game development industry just got hit by a tidalwave of free: Unity 5, Unreal Engine 4 and Source 2 all give away their flagship product for free now. They're all different brands of 'free,' but who cares? The average game developer certainly won't. Which left us wondering: Are hobbyist-run open source game engines like jMonkeyEngine still relevant? From the linked article: This just in: Physically Based Rendering isn’t dark magic, cross platform publishing is not the thing of fairy tales, and a solid asset pipeline is not exclusive to a million dollar budget. They’re not easy; faaar from it. But as long as we can show that these things can be accomplished by a part-time hobbyist just for the heck of it, the end user gets a fair price (i.e. free!), and our fellow hardcore misfits will continue trying to solve the most difficult problems the industry has to offer. ... If this exciting new thing called “free” keeps going in the right direction, everyone still in the race gets a leg up.
Encryption

Tor Project Aims To Eclipse US Government Funding 53

An anonymous reader writes Developed by the U.S. Navy and the recipient of millions of dollars of government grants, the Tor Project is now aiming to ween itself off dependence of U.S. government funds "including setting a goal of 50 percent non-U.S. government funding by 2016." The initiative comes after months of discussion over what some vocal critics deemed a contradiction in funding and purpose.

Slashdot Top Deals