×
Programming

Swift: Apple's Biggest Achievement For Coders 337

GordonShure.com writes: Despite its publicity and hype being rather quiet by Apple standards, the Swift programming language has attracted praise since its release last year. Swift is one of the few Apple products that represent a departure from the hardware-led Steve Jobs approach to the business. If this year's survey of coders by Stack Overflow is anything to go by, it looks as if the language might have potential to really shake things up in a landscape which has been little changed since the 1990s. Might the days of Apple programmers relying upon objective C be numbered?
Linux

Ask Slashdot: Feature Requests For Epoch Init System 1.3.0? 119

New submitter Ben Dibell writes: My name is Subsentient. I maintain the Epoch Init System, a single-threaded init system for Linux designed to be easy to configure and customize, as well as staying out of your way.
Epoch uses a numeric priority system to determine the boot order of objects, supports a wide range of customizability, and doesn't require much anything except libc and /bin/sh (though /bin/sh can be omitted, not recommended). Epoch also features advanced service status reporting features and has service supervision.

I'm just here to ask the Slashdot community what they'd like to see in the next release, 1.3.0 "Fluoxetine", before I wrap it up.

There are generally 2 things I can't consider:
* Parallel service startup, because that can be done manually, and implementing it would make Epoch too complex IMHO.
* Switching away from the numeric priority system to "true" dependencies. I implemented the priority system because I liked the freedom it gives the end user.

Despite these omissions, your feedback matters to me. I want to make something everyone will want to use.

-Subsentient
Education

Ask Slashdot: How to Avoid The Worst of a Tech Bubble? 135

An anonymous reader writes: I just reached a senior level in a tech career and I've been doing pretty much a bit of everything, e.g. software architecture, full stack dev, eng. related specific dev, consultancy, etc. So I'm at a point where I want to start focusing on something that has a good development path, i.e. I won't struggle finding a job, it'll be fairly paid and it'll allow me to move up in responsibility (bigger teams, more difficult projects) if I want to. It seems like we might be heading into a new tech bubble. Based on your experience of the .com collapse and your predictions for the current market, is there any path you wouldn't recommend (or strongly recommend) if this bubble goes pop? What were the roles most affected when the .com bubble burst back in 2000 and would it be any different this time? Is there anything you can do to be better prepared, such as focusing on broader techs rather than niche techs, etc.
Software

Microsoft's Skype Drops Modern App In Favour of Old-Fashioned Win32 App 186

mikejuk writes: Microsoft, after putting a lot of effort into persuading us that Universal Apps are the way of the future, pulls the plug on Skype modern app, to leave just the desktop version. Skype is one of Microsoft's flagship products and it has been available as a desktop Win32 app and as a Modern/Metro/WinRT app for some time. You would think that Skype would support Universal Apps, there are few enough of them — but no. According to the Skype blog: 'Starting on July 7, we're updating PC users of the Windows modern application to the Windows desktop application, and retiring the modern application.' Microsoft is pushing Windows 10 Universal Apps as the development platform for now and the future, but its Skype team have just disagreed big time. If Microsoft can't get behind the plan why should developers? (Also at Windows Central and VentureBeat.)
Programming

Video Starcoder Uses a Multiplayer Game to Teach Programming (Video # 2) 11

We ran video # 1 about Starcoder yesterday and linked to the project's Kickstarter page. At that time, the project had raised $3221 out of a $4000 goal. Today they're up to $5836, which means they've reached their goal and then some, and they still have four days of Kickstarting to go. Nice! It looks like Starcoder will soon be available to a lot more students than are using it now, and that (hopefully) there will be enough server capacity to accommodate students who want to sign up and play on their own, not necessarily with help from their schools.

To learn more about Starcoder, you may want to check out these video clips on Vimeo that not only show you how the game was developed, but give you a look at how it's played. Note: this is video 2 of 2. The transcript covers both videos, plus some material we were forced to edit out of the videos due to length restrictions.)
Education

Video Starcoder Uses a Multiplayer Game to Teach Programming (Video # 1) 37

Starcoder, says the project's Kickstarter page, "is a multiplayer online space action game that teaches kids coding as they play." Their page also points out that it's easier to learn as a group than it is to learn alone. The Starcoder Kickstarter project has collected $3221 at this writing, out of a $4000 goal, and they have until June 17 to come up with the rest. So please take a look at Starcoder, see how it works and why it is unquestionably a more interesting way to learn programming basics than the traditional "highly theoretical and (frankly) boring manner."

Starcoder starts with Blockly. Then, as students advance to higher game levels, moves to JavaScript. Yes, there are levels. Also competitive play, since Starcoder is a massively multiplayer online game. In fact, a big reason for the Kickstarter project is to expand server capability so that kids can play from home, not just in school or during after-school computer classes. One more thing to note: The Win2Learn team behind Starcoders is composed of professional educators and designers. They've been working on STEM education for a while. Want to see some of the thinking behind Starcoder? They have some video clips on Vimeo that not only show you how the game was developed, but give you a good look at how it's played. Does it sound good? Do you want more kids to have access to an ever-improving Starcoder? Then you know what to do. (Note: This is video 1 of 2. The second one will run tomorrow. The transcript covers both videos, plus some material we were forced to edit out of the videos due to length restrictions.)
Python

How Much Python Do You Need To Know To Be Useful? 263

Nerval's Lobster writes: Since Python is a general-purpose language, it finds its way into a whole lot of different uses and industries. That means the industry in which you work has a way of determining what you actually need to know in terms of the language, as developer Jeff Cogswell explains in a new Dice piece. For example, if you're hired to write apps that interact with operating systems and monitor devices, you might not need to know how to use the Python modules for scientific and numerical programming. In a similar fashion, if you're hired to write Python code that interacts with a MySQL database, then you won't need to master how it works with CouchDB. The question is, how much do you need to know about Python's basics? Cogswell suggests there are three basic levels to learning Python: Learn the core language itself, such as the syntax and basic types (and the difference between Python 2 and Python 3); learn the commonly used modules, and familiarize yourself with other modules; learn the bigger picture of software development with Python, such as including Python in a build process, using the pip package manager, and so on. But is that enough?
PHP

PHP At 20: From Pet Project To Powerhouse 281

snydeq writes: Ben Ramsey provides a look at the rise of PHP, the one-time 'silly little project' that has transformed into a Web powerhouse, thanks to flexibility, pragmatism, and a vibrant community of Web devs. "Those early days speak volumes about PHP's impact on Web development. Back then, our options were limited when it came to server-side processing for Web apps. PHP stepped in to fill our need for a tool that would enable us to do dynamic things on the Web. That practical flexibility captured our imaginations, and PHP has since grown up with the Web. Now powering more than 80 percent of the Web, PHP has matured into a scripting language that is especially suited to solve the Web problem. Its unique pedigree tells a story of pragmatism over theory and problem solving over purity."
Education

WA Gov. Sides With Microsoft: Philanthropy-Funded K-12 CS Education Now the Law 166

theodp writes: During public hearings on WA State's House Bill 1813, which took aim at boys' historical over-representation in K-12 computer classes, the Office of the WA State Superintendent of Public Instruction voiced concerns that by relying on the generosity of corporations, wealthy individuals, and nonprofits to fund STEM, computer science, and technology programs, learning opportunities would be limited to a small group of students, creating disparity of opportunity. "If this is a real priority," pleaded Chris Vance, "fund it fully" (HB 1813, like the White House K-12 CS plan, counts on philanthropy to make up for tax shortfalls). But legislators in the WA House and Senate — apparently more swayed by the pro-HB 1813 testimony of representatives from Microsoft and Microsoft-backed TEALS and Code.org — overwhelmingly passed the bill, sending it to Governor Jay Inslee for his signature. Not to worry. On Wednesday, the bill was signed into law by Gov. Inslee, who was perhaps influenced by the we-need-to-pass-HB-1813 blogging of Microsoft General Counsel and Code.org Board member Brad Smith, who coincidentally is not only responsible for Microsoft's philanthropic work, but was also co-chair of Gov.-elect Inslee's transition team. The WA state legislative victory comes less than 24 hours after the San Francisco School Board voted to require CS instruction beginning with preschool.
Java

Ask Toolbar Now Considered Malware By Microsoft 212

AmiMoJo writes: Last month Microsoft changed its policy on protecting search settings to include any software that attempts to hijack searches as malware. As a result, this month the Ask Toolbar, which most people will probably recognize as being unwanted crapware bundled with Java, was marked as malware and will now be removed by Microsoft's security software built in to Windows 7 and above.
Open Source

Reactions To Apple's Plans To Open Source Swift 246

itwbennett writes: At Apple's WWDC 2015 event yesterday, Craig Federighi, Apple's senior vice president of software engineering, announced that the company planned to open source the Swift language. Reaction to this announcement so far has sounded more or less like this: Deafening applause with undertones of "we'll see." As a commenter on this Ars Technica story points out, "Their [Apple's] previous open-source efforts (Darwin, WebKit, etc) have generally tended to be far more towards the Google style of closed development followed by a public source dump." Simon Phipps, the former director of OSI, also expressed some reservations, saying, "While every additional piece of open source software extends the opportunities for software freedom, the critical question for a programming language is less whether it is itself open source and more whether it's feasible to make open source software with it. Programming languages are glue for SDKs, APIs and libraries. The real value of Swift will be whether it can realistically be used anywhere but Apple's walled garden."
Businesses

Stress Is Driving Developers From the Video Game Industry 336

Nerval's Lobster writes: For video game developers, life can be tough. The working hours are long, with vicious bursts of so-called "crunch time," in which developers may pull consecutive all-nighters in order to finish a project—all without overtime pay. According to the International Game Developers Association (IGDA) Developer Satisfaction Survey (PDF), many developers aren't enduring those work conditions for the money: Nearly 50 percent of respondents earned less than $50,000 annually. Faced with what many perceive as draconian working conditions, many developers are taking their skills and leaving video games for another technology sector. The hard and soft skills that go into producing video games—from knowledge of programming languages to aptitude for handling irate managers—will work just as well in many aspects of conventional software-building. Fortunately, leaving the video-game industry doesn't have to be a permanent exile; many developers find themselves pulled back in at some point, out of simple passion for the craft.
Businesses

Why Apple and Google Made Their Own Programming Languages 260

Gamoid writes: This Business Insider article looks into the state of Google Go and Apple Swift, highlighting what the two languages have in common — and why tech companies would bother involving themselves in the programming language holy wars. From the article: "One fringe benefit for Google and Apple is that making your own programming language makes recruitment easier — for instance, since it builds a lot of its own server applications in Go, Google is more likely to hire a developer who's already proficient in the language since she would need less training."
Programming

On Managing Developers 146

An anonymous reader writes: A columnist at TechCrunch takes a crack at advice on how to manage developers. He has some decent starting points. For example, "Basically a manager's job is to make other people more productive. What's one really good way to do that? Do the work that is getting in their way. Which means: find out what kind of important work your developers dislike the most, and do it for them." Also: "[D]on't bull$%^& anyone, ever. ... Speak the truth as you see it. Speak it diplomatically, don't get me wrong; but be trustworthy. Only then will you be able to trust others." But some of his statements are open enough to be nearly devoid of meaning: "Any particular process artifact is probably irrelevant. The finest tech team I ever worked on began every day with a daily standup; so did one of the worst, most dysfunctional teams I ever encountered. ... [T]he systems and processes you choose for any given project should be fluid, and flexible, and depend in large part on the team and the context." If you are or have been a developer, what qualities have made your managers good or poor? If you've been in position to do the managing, does you experience jive with this guy's?
Government

Cuba Forms a CS Professional Society -- It's No ACM 43

lpress writes: The formation of the Unión de Informáticos de Cuba (UIC) was announced at a Havana conference and a 7,500 person teleconference (no mean feat in Cuba). My first reaction was "cool — like a Cuban ACM," but there are significant differences between ACM and UIC. For example, one must apply to the Ministry of Communication to be accepted into the UIC and the application form asks about membership in political organizations like the Communist Party or Young Communists League along with technical qualifications. A CS degree is required (sorry Bill Gates). UIC members must be Cuban, while ACM has chapters in 57 nations. ACM has student chapters, but they are less needed in Cuba, which has over 600 youth computer clubs where kids take classes and play games and promising students are tracked and channeled into technical schools.
Java

Supreme Court May Decide the Fate of APIs (But Also Klingonese and Dothraki) 210

New submitter nerdpocalypse writes: In a larger battle than even Godzilla v. Mothra, Google v. Oracle threatens not only Japan but the entire nerd world. What is at stake is how a language can be [copyrighted]. This affects not just programming languages, APIs, and everything that runs ... well ... everything, but also the copyright status of new languages such as Klingon and Dothraki.
Programming

2014 Underhanded C Contest Winners Announced 27

Rei writes with a bit of news from earlier this week: It's that time of year again — the results of the 2014 Underhanded C Contest have been announced. Techniques used for secretly alerting a user to a NSA request include (among others) misleadingly long loop execution, replacing user #defines with system ones, K&R style function declarations to avoid type checking, and using system #includes to covertly change structure packing. The winning entry exploits a system-provided function that is implemented as a poorly protected macro, tricking it into executing a piece of code given as an argument multiple times.
Chrome

Ask Slashdot: Options After Google Chrome Discontinues NPAPI Support? 208

An anonymous reader writes: I've been using Google Chrome almost exclusively for more than 3 years. I stopped using Mozilla Firefox because it was becoming bloated and slow, and I migrated all my bookmarks etc. to Chrome. Now Chrome plans to end NPAPI support — which means that I will not be able to access any sites that use Java, and I need this for work. I tried going back to Firefox for a couple of days but it still seems slow — starting it takes time, even the time taken to load a page seems more than Chrome. So what are my options now? Export all my bookmarks and go back to Mozilla Firefox and just learn to live with the performance drop? Or can I tweak Firefox performance in any way? FWIW, I am on a Windows 7 machine at work.
EU

Microsoft Lets EU Governments Inspect Source Code For Security Issues 143

itwbennett writes: Microsoft has agreed to let European governments review the source code of its products to ensure that they don't contain security backdoors, at a transparency center in Brussels. The second of its kind, the new center follows on the heels of the first, built last June in Redmond, Washington. Part of Microsoft's Government Security Program, the company hopes the centers will create trust with governments that want to use Microsoft products. "Today's opening in Brussels will give governments in Europe, the Middle East and Africa a convenient location to experience our commitment to transparency and delivering products and services that are secure by principle and by design," said Matt Thomlinson, Vice President of Microsoft Security.
Security

Intel Security Scares Ransomware Script Kiddie Out of Business 117

tdog17 writes: A criminal coder wrote a kit for ransomware that made it easy for others to encrypt victims' hard drives and then extort money from them in order to get the decryption keys. But when Intel Security wrote about the kit — called Tox — the author got cold feet. Now he or she is trying to sell the whole business. “Plan A was to stay quiet and hidden. It's been funny, I felt alive, more than ever, but I don't want to be a criminal. The situation is also getting too hot for me to handle, and (sorry to ruin your expectations) I'm not a team of hard core hackers. I’m just a teenager student,” the coder wrote on the Tox malware site.

Slashdot Top Deals