Slashdot is powered by your submissions, so send in your scoop


Forgot your password?
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! ×

Comment Advent of Code (Score 1) 312

A lot of the other responses here focus on what language to choose, but not what to do with it. So pick a language - Python is good, Ruby is good, PHP if you want to work with web sites, C# if you want to work with Microsoft stuff, Swift if you want to work with Apple stuff. And then:

- Sign up for a free Github account (

- Start working through the Advent of Code challenges. ( They're a set of 25 two-part challenges posted in December 2015 and then another set in December 2016. I recommend starting with the 2015 set (because I think it was more straightforward). The reason I suggest these are that they are problems with specific solutions (you'll know when you get them right), they will make you learn how to solve problems in your language of choice, and there are a lot of posts on Reddit ( with tips for each individual challenge. There are other programming puzzles out there, but Advent of Code is a good collection of challenges in one place.

- Post your solutions on your Github account. This will get you familiar with using Git. It's a good skill to have.

- Tweak your solutions if you'd like. Find a way to write more concise code? Want to practice documenting better? Interested in optimizing your solutions to run faster in less memory? There you go.

- If you ever want to use your new programming skills for a job, link to your Github repo from your resume. It will let people clearly see how you code.

Good luck!

Comment Any passive 3D computer monitors still being sold? (Score 1) 435

Active 3D is a pain, with the need for expensive shutter glasses. But passive 3D is wonderful, with each scan line being polarized in opposite directions. Passive 3D glasses are cheap and the displays don't need high refresh rates.

I'd like to have a passive 3D computer monitor for gaming, but it looks like there aren't any on the market any more. So I figured I'd ask here - anyone know of any that are still being sold?

Comment Too thin (Score 1) 536

If a phone is too thin to have a headphone jack, then it's too thin. I'm annoyed by the trend of making phones so thin to the point where it compromises structural strength (remember BendGate?), isn't thick enough for the camera lens (iPhone 6/6S), and requires dropping standard ports. Allow another millimeter or two and use the extra space for a better battery!

The Almighty Buck

Female Computer Programmers Make $0.72 For Every Dollar Made By Male: Study ( 455

An anonymous reader cites an article on The Mercury News' Silicon Beat tech blog: Female computer programmers make 72 cents for every dollar earned by male programmers. That difference is after researchers adjust for factors such as age, education, years of experience, job title, employer and location, according to a new study by Glassdoor (PDF), the jobs and recruiting marketplace, which looked at salary data of more than 500,000 people over 140 professions. The well-known U.S. wage gender gap is 76 cents for every dollar men earn. But women earn 94.6 cents for every man's dollar after adjusting for all factors other than gender. In other words, the wage gap in the U.S. is about 5.4 percent.

Comment Re:Expanded BG checks impractical (Score 0) 819

For what it's worth, the way to make "background checks for private sales" work is to have a gun registry. It's the only way to enforce it, and it's one of the main reasons gun supporters are so opposed to checks for private sales. Currently, I could transfer a gun to my neighbor, and there's no way to know that I transferred it, or he went and bought it himself. BUT, if there was a registry that said that I owned this gun at one point, they could figure out if I did an illegal transfer. Obviously no one talks gun registry now, but it's inevitable when people realize (or admit) there's no way to enforce checks for private sales with out it.

In short, background-check-for-private-sales = comprehensive gun registry.

Comment Re: "Destroy ing innovation" (Score 4, Informative) 390

Carson won't because of what the Cruz camp did to him. It's the only thing I agree with Trump on - in Iowa, before the polls closed, the Cruz camp told people Carson had dropped out, and many of Carson's supporters therefore voted for Cruz. Making those comments before the polls closed is against the rules, and Trump was not happy.

Neither was Carson, who vowed to stay in it as long as Cruz was in it, to take as many votes away from Cruz as he could.

Kinda feels like 3rd grade recess out there...

Comment Re: "Destroy ing innovation" (Score 2) 390

I would actually say, on the side of the GOP, the most moderate and sane one in that group, is Kasich. He would be willing to work with a Congress that's not from his political party, and his ideals line up to that of the Republicans, rather than the Tea Party [so they are far less right-wing].

I don't vote Repub, but if I had to recommend someone for that side, he would get my recommendation and vote.

Comment Inaccurate (Score 1) 385

"Human beings, as we know them today, developed from earlier species of animals." I've got to say - I don't agree with that statement either. I know several human beings today, and all of them have been human from birth; none of them developed from earlier species of animals.

Now, if the statement were "The human species developed from earlier species of animals," I would agree with that.

It my seem like semantic nitpicking, but there's a common misunderstanding that evolution means individual bacteria turn into birds or individual dogs turn into monkeys. I prefer not to feed that misconception.

Comment Advent of Code (Score 2) 140

I had a lot of fun with this over the holiday season:

It's twenty-five simple but interesting programming challenges. Day 1 is a simple "count the number of open and close parentheses in a string." Later days include "generate MD5 hashes until you find one that starts with five zeroes," "generate 50 iterations of Conway's Game of Life," "solve a Traveling Salesman problem for Santa," and even "simulate an RPG and find the best strategy for beating the boss." Each day has two parts; solve the first to unlock the second. Several of the challenges involved recursion, but in general they cover wide ground. Some people solved both parts within five minutes of each day's puzzle becoming available, but for those of us who didn't care about the leaderboard, an hour's work was usually plenty to get it done. (Students without experience would take a bit longer.) Also, the input for each day's challenge was different for each user - there were probably only a handful of possibilities, but it meant that you couldn't always just copy someone else's answers without doing the work yourself.

I think you'll find a lot of great material here. Pick a few of the days to explore with your students; teach them how a software engineer would attack the problem. Try solving it with different languages and compare how each language would do it. Demonstrate how you could optimize code to find the solution faster (especially in the "Game of Life" and "Look and Say" challenges).

Also, there was a great Reddit community that shared solutions in various languages, and lots of people put their code on GitHub. Some people played "code golf" and came up with amazingly terse solutions. I used the Advent of Code to teach myself Swift (my solutions are at; my code was more verbose than it should have been but I usually solved each problem in fewer than 100 lines.

Comment Re:Good (Score 3, Interesting) 628

It's my belief and hope that Microsoft may put more care into the patches they release, now that they know the impact of a bad patch could be much more broad.

Also, given that the majority of Windows 10 users should now remain up-to-date on patches, maybe this means fewer configurations to have to test. (Or maybe not, since there may still be Pro and Enterprise users who keep deferring patches for years, but I don't think there will be as many of them.)

Comment Re:Data loss on restart (Score 1) 628

Well, I don't know about Windows, because I really only use Windows for games; but my Mac refuses to quit Safari if I've typed text into a field, and it refuses to reboot the OS if an app refuses to quit. I've always liked this behavior and it's saved my bacon on a few occasions. I'm surprised that Windows doesn't do this, but maybe because of the mandatory updates they'll fix Windows to stop clicking "Discard Changes"?

Slashdot Top Deals

"The way of the world is to praise dead saints and prosecute live ones." -- Nathaniel Howe