DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×
Java

Ask Slashdot: Do You Like Functional Programming? (slashdot.org) 347

An anonymous reader writes: Functional programming seems to be all the rage these days. Efforts are being made to highlight its use in Java, JavaScript, C# and elsewhere. Lots of claims are being made about it's virtues that seem relatively easy to prove or disprove such as "Its use will reduce your debugging time." Or "It will clarify your code." My co-workers are resorting to arm-wrestling matches over this style choice. Half of my co-workers have drunk the Kool-Aid and are evangelizing its benefits. The other half are unconvinced of its virtues over Object Oriented Design patterns, etc.

What is your take on functional programming and related technologies (i.e. lambdas and streams)? Is it our salvation? Is it merely another useful design pattern? Or is it a technological dead-end?

Python creator Guido van Rossum has said most programmers aren't used to functional languages, and when he answered Slashdot reader questions in 2013 said the only functional language he knew much about was Haskell, and "any language less popular than Haskell surely has very little practical value." He even added "I also don't think that the current crop of functional languages is ready for mainstream."

Leave your own opinions in the comments. Do you like functional programming?
Software

Ask Slashdot: How Do You Explain 'Don't Improve My Software Syndrome' Or DIMSS? 380

dryriver writes: I am someone who likes to post improvement suggestions for different software tools I use on the internet. If I see a function in a software that doesn't work well for me or could work better for everyone else, I immediately post suggestions as to how that function could be improved and made to work better for everybody. A striking phenomenon I have come across in posting such suggestions is the sheer number of "why would you want that at all" or "nobody needs that" or "the software is fine as it is" type responses from software users. What is particularly puzzling is that its not the developers of the software rejecting the suggestions -- its users of the software that often react sourly to improvement suggestions that could, if implemented well, benefit a lot of people using the software in question. I have observed this happening online for years even for really good software feature/function improvement ideas that actually wound up being implemented. My question is -- what causes this behavior of software users on the internet? Why would a software user see a suggestion that would very likely benefit many other users of the software and object loudly to that suggestion, or even pretend that "the suggestion is a bad one?"
Books

Ask Slashdot: What Are Good Books On Inventing, Innovating and Doing R&D? 102

dryriver writes: I've signed up to a project that involves inventing new ways to do things and also performing the technology R&D required to make these new ways a reality. So, dear Slashdotters, are there any good books on inventing, innovating or doing R&D? Books that describe different ways to approach inventing/R&D? Books on managing a team effort to invent, innovate and research? Or even good books about the history of past inventions -- how they were created, why they were created, how and why they succeeded or failed in the real world? Thanks!
Movies

Slashdot Asks: What's Your Favorite Sci-Fi Movie? 1222

Many say it's the golden age of science fiction cinema. And rightly so, every month, we have a couple of movies that bend the rules of science to explore possibilities that sometimes make us seriously consider if things we see on the big screen could actually be true. The advances in graphics, and thanks to ever-so-increasing video resolution, we're increasingly leaving the theaters with visually appealing memories. That said, there are plenty of movies made back in the day that are far from ever getting displaced by the reboots spree that the Hollywood is currently embarking. With readers suggesting us this question every week, we think it's time we finally asked, what's your favorite science-fiction movie? Also, what are some other sci-fi movies that you have really enjoyed but think they have not received enough praises or even much acknowledgement?

Editor's note: the story has been moved up on the front page due its popularity.
Programming

Ask Slashdot: How Would You Stop The Deployment Of Unapproved Code Changes? 311

Over a million lines of code -- in existence for over 10 years -- gets updates in six-week "sprints" using source control and bug-tracking systems. But now an anonymous reader writes: In theory users report bugs, the developers "fix" the bugs, the users test and accept the fix, and finally the "fix" gets released to production as part of a larger change-set. In practice, the bug is reported, the developers implement "a fix", no one else tests it (except for the developer(s) ), and the "fix" gets released with the larger code change set, to production.

We (the developers) don't want to release "fixes" that users haven't accepted, but the code changes often include changes at all levels of the stack (database, DOAs, Business Rules, Webservices and multiple front-ends). Multiple code changes could be occurring in the same areas of code by different developers at the same time, making merges of branches very complex and error prone. Many fingers are in the same pie. Our team size, structure and locations prevent having a single gatekeeper for code check-ins... What tools and procedures do you use to prevent un-approved fixes from being deployed to production as part of the larger code change sets?

Fixes are included in a test build for users to test and accept -- but what if they never do? Leave your best answers in the comments. How woud you stop un-approved code changes from being deployed?
Hardware

Ask Slashdot: What Was Your First Home Computer? 857

We've recently seen stories about old computers and sys-ops resurrecting 1980s BBS's, but now an anonymous reader has a question for all Slashdot readers: Whenever I meet geeks, there's one question that always gets a reaction: Do you remember your first home computer? This usually provokes a flood of fond memories about primitive specs -- limited RAM, bad graphics, and early versions of long-since-abandoned operating systems. Now I'd like to pose the same question to Slashdot's readers.

Use the comments to share details about your own first home computer. Was it a back-to-school present from your parents? Did it come with a modem? Did you lovingly upgrade its hardware for years to come? Was it a Commodore 64 or a BeBox?

It seems like there should be some good stories, so leave your best answers in the comments. What was your first home computer?
Businesses

Ask Slashdot: How Should You Launch A Software Startup? (theguardian.com) 140

Slashdot reader ben-hnb is a developer who loves the idea of running a startup, or being one of the ones who got in early. But how exactly does he get there? I've got no "business" experience. Everyone seems to want to get on the startup incubator train -- the latest U.K. model I've seen, Launchpad, would even train (MA!) and support me financially for a year while developing the initial product. This just one in a long list of different models, from the famous Y-Combinator three-month model to the 500 Startups four-month seed program and simple co-working spaces with a bit of help, like Launch 22.

If you wanted to get a startup going, where would you go to first and why? Or would you just strike out in your bedroom/garage?

Leave your best answers in the comments. How would you launch a software startup?
Java

Ask Slashdot: Should I Move From Java To Scala? 245

"Scala is one of the JVM languages that manages to maintain a hip and professional vibe at the same time," writes long-time Slashdot reader Qbertino -- building up to a big question: One reason for this probably being that Scala was built by people who knew what they were doing. It has been around for a few years now in a mature form and I got curious about it a few years back. My question to the Slashdot community: Is getting into Scala worthwhile from a practical/industry standpoint or is it better to just stick with Java? Have you done larger, continuous multi-year, multi-man and mission-critical applications in Scala and what are your experiences?
The original submission asks two related questions. First, "Do you have to be a CS/math genius to make sense of Scala and use it correctly?" But more importantly, "Is Scala there to stay wherever it is deployed and used in real-world scenarios, or are there pitfalls and cracks showing up that would deter you from using Scala once again?" So share your experiences and answers in the comments. Would you recommend moving from Java to Scala?
Books

Slashdot Asks: What Books Are You Reading This Month? 259

An anonymous reader writes: Hey fellow Slashdot readers, what are some books you're reading right now, and intend to pick up later this month? Also if you would be so kind, what are some good new-ish novels (fiction / non-fiction) you recommend? Thanks!
Businesses

Ask Slashdot: How Do You Deal With a Terrible Tech Manager? 140

snydeq writes: From the Know It All to the Overwhelmer, succeeding beneath a bad manager takes strategy and finesse, writes Paul Heltzel in his round-up of bad IT bosses and how to keep them from derailing your career. "While there are truly great leaders in IT, not all inspire confidence. Worse, you can't always choose who will lead your team. But you can always map out new paths in your career. With that in mind, here is a look at some prototypically bad managers you may have already encountered in your engineering departments, with tips on how to deal with each of them." The six "terrible tech managers" mentioned by Heltzel include: "The Know It All," "The Pushover," "The Micromanager," "The Unexpected Boss," "The Fearful Manager," and "The Overwhelmer." Have you ever worked for any of these managers? If so, how did you deal with them?
Emulation (Games)

Ask Slashdot: Can Linux Run a GPU-Computing Application Written For Windows? 117

dryriver writes: I have been told that Linux can run Windows software using Wine or perhaps a VM. What happens if that Windows software is a GPU-computing application -- accessing the GPU through HLSL/GLSL/CUDA/OpenCL or similar interfaces? Can Wine or other solutions run that software at a decent speed under Linux? Or is GPU-computing software written for the Windows platform unsuitable for use -- emulated or otherwise -- under Linux? This sounds like one of those cases where there's a theoretical answer and then your own real-world experiences. So leave your best answers in the comments. Can Linux run a GPU-computing application that's written for Windows?
It's funny.  Laugh.

Ask Slashdot: Seen Any Good April Fool's Pranks Today? 106

An anonymous reader writes: It's that special time of year where sites around the net celebrate April Fool's Day with parodies of their own product offerings. Google Home announces a new companion service for smart yards called Google Gnome. Stack Overflow announces Dance Dance Authentication. The Russian foreign ministry changed their voicemail to include new menu options like "Press 2 to use the services of Russian hackers," and "press 3 to request election interference." And in what's either a really good prank or a horrific piece of bad timing, Phrack.org announces that they've been seized by the FBI.

Has anybody else noticed anything funny today?

The internet has a long history of April Fool's Day pranks, and it looks like 2017 is no exception. So use the comments to share what you're seeing around the web today. Seen any good April Fool's Day pranks today?
Microsoft

Slashdot Asks: Windows 10 Creators Update Goes Live On April 11, Will You Upgrade? 239

Microsoft said today it will start rolling out Windows 10 Creators Update, the latest major update to its current desktop operating system, starting April 11. The company says Windows 10 Creators Update brings with it a range of new features. Some of the chief ones are:

1. Visual previews of tabs in Microsoft Edge.
2. Edge now has built-in support for ebooks.
3. Microsoft Paint now lets people create models in 3D.
4. Picture-in-Picture mode for videos. Essentially you can now have a small window with video playing on it placed on top of any other application.
5. Night Light: A baked in feature in Windows that will allow you to change the color and tone of display so that it doesn't pain your eyes to look at the screen at night.
6. Dynamic Lock: The feature first requires you to pair your phone or tablet with the computer. Once done, it will automatically log you out everytime you're away from desk (or technically speaking, the device is out of the computer's proximity).
7. Native support for surround sound.
8. Ability to scribble and make notes on Microsoft's Maps app.
9. Game mode: It "ensures" your computer is always maximizing its resources for an optimal gaming experience.
10. Built-in support for mixed reality handsets.

Over the past two years, we have seen numerous instances where Microsoft has been pushing Windows 10 update to customers who have Windows 7 or 8 running on their machines. There are still hundreds of millions of customers who're yet to upgrade from Windows 7, arguing that they either prefer how Windows 7 looks and functions, or (in some cases, and) why fix something when nothing is broken. That said, would you consider upgrading your system to Windows 10 Creators Update?
Programming

Ask Slashdot: What Are Some Lies Programmers Tell Themselves? 548

snydeq writes: "Confidence in our power over machines also makes us guilty of hoping to bend reality to our code," writes Peter Wayner, in a discussion of nine lies programmers tell themselves about their code. "Of course, many problems stem from assumptions we programmers make that simply aren't correct. They're usually sort of true some of the time, but that's not the same as being true all of the time. As Mark Twain supposedly said, 'It ain't what you don't know that gets you into trouble. It's what you know for sure that just ain't so.'" The nine lies Wayner mentions in his discussion include: "Questions have one answer," "Null is acceptable," "Human relationships can be codified," "'Unicode' stands for universal communication," "Numbers are accurate," "Human language is consistent," "Time is consistent," "Files are consistent," and "We're in control." Can you think of any other lies programmers tell themselves?
Software

Ask Slashdot: What's the Best Working Environment For a Developer? 360

New submitter Dorgendubal writes: I work for a company with more than a thousand developers and I'm participating in activities aimed at improving the work experience of developers. Our developers receive an ultrabook that is rather powerful but not really adapted for development (no admin rights, small storage capacity, restrictive security rules, etc.). They also have access to VDIs (more flexibility) but often complain of performance issues during certain hours of the day. Overall, developers want to have maximum autonomy, free choice of their tools (OS, IDE, etc.) and access to internal development environments (PaaS, GIT repositories, continuous delivery tools, etc.) . We recently had a presentation of VMWare on desktop and application virtualization (Workstation & Horizon), which is supposedly the future of the desktops. It sounds interesting on paper but I remain skeptical.

What is the best working environment for a developer, offering flexibility, performance and some level of free choice, without compromising security, compliance, licensing (etc.) requirements? I would like you to share your experiences on BYOD, desktop virtualization, etc. and the level of satisfaction of the developers.

Slashdot Top Deals