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


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re: We Need More Programming Languages! (Score 1) 173

It would be nice, but it wouldn't be just as simple as removing it from the interpreter. Whitespace is what Python uses to delineate blocks, the same way that C uses curly brackets or Pascal uses "begin/end".

for i in range(10):
        print "In the loop"
        print "In the loop"
print "not in the loop"

If you take away the whitespace the interpreter has no way of knowing when it's in the loop and when it's not. So you'd have to add a "next" statement like BASIC, or some other sort of block deliminator. At that point you might as well just create a whole new language.

Comment Re:I have a out of this world solution (Score 1) 68

It's kind of mind boggling that the people doing these tests never thought that there would be some value to simulating an actual real life system when they are doing these tests. A collection of common software and files that they could monitor for side effects. It's not something I would imagine would cause them that much work, just add it to the image they are using, it's still a controlled environment if you know exactly what you put on there.

Oh well, guess they probably will now!

Comment Re: Easy solution to avoid this malware... (Score 4, Insightful) 68

How did you read that much in to just one sentence? I think what he meant is that the Office formats are so commonplace that even if you use different tools it's pretty likely that you're going to encounter .docx or xslx files. You can't control what software other people use and if you're in an office or educational environment it's almost a guarantee you will receive files in the Microsoft formats, in fact, isn't that one of the big selling points for LibreOffice? Its compatibility with those tools? I've even seen free software with .docx files available in the doc/ folder of their source packages! It has nothing to do with whether or not your choice of software is capable of "real work" or whatever the hell you're talking about, it's just that it's really hard to avoid Microsoft format stuff when you work with other people.

Your point still stands that there are plenty of ways to deal with these files without having Office installed. That's the key here, it's not that the files are particularly dangerous, it's the interpreter that runs the macros you have to worry about! Plenty of solutions to deal with these formats available without having Office installed, Office 365 as you mentioned, Libre Office, Google Docs. MS software is like heroin, it feels pretty good when it's doing what its supposed to, but when everything goes wrong you're going to get hurt bad.

Comment Re:DDG!!! (Score 1) 241

That's odd, I tried both strings from the main Google page, both logged in to my own Google account and logged out from a different browser. I got 987,000 results for "black people don't have any empathy" and 949,000 results for "white people don't have any empathy. Scrolling through the results showed a pretty healthy mix of differing opinions ranging from social justice warriors to white nationalist sites. I'm performing my searches from within the US.

Comment Elementary is right... (Score 4, Informative) 72

I understand the project is young and has a long way to go, but elementary OS feels more like someone's high school project than the innovative, streamlined environment it's being sold as. I would be massively disappointed if I paid any sort of money for the software equivalent of Duplo Blocks they are providing. I tried a pretty recent development release and I came across so many little things that just screamed out "amateur hour". Maybe this was on account of it being a testing release and everything has been fixed and cleaned up in the past two weeks, so correct me if I'm wrong, but I doubt it.

First thing that bugged me was in the Pantheon Greeter was how there were big bold placeholder pictures next to each username, but in order to select one you have to click directly on the text of the name. Right off the bat I'm already frustrated because on my first use I have to make three separate clicks to actually enter a password. There's no reason for it, each username and picture had a whole segment of the screen, for something that's sold as being "simple" how come the first thing I am drawn to click on isn't even an active component? It's a small qualm to have, but again, the focus here is on the UI and I already feel like the coding is simply lazy.

Once I get in to the desktop I see this dorky rip off of the OSX launcher. Now I've used various Unixes for a long time, I don't necessarily expect beauty, a functional Motif app is better than a broken QT program any day of the week, but if you're going to rip something off, especially something as snazzy as the OSX dock, at least get some cool looking icons or something. Otherwise to anyone using it its going to feel like they got the toy version. It's Christmas 1994 all over again and I got the Megazord that doesn't break down in to separate pieces, the cheap one. Most of the elementary OS specific programs felt this way, it always felt like things were missing. Midori for a default browser? Come on! This is an OS that's pretty much designed for people who don't do much with their computers, and the one thing everyone of those people is actually going to want and need, a full featured browser isn't even there by default. I read an explanation that Midori is used being Firefox and Chromium don't use the native toolkit and elementary is all about "fit and finish". And I agree, if what they mean by that is "poor fit and finish". Even trying to bring up a terminal was a pain, it took my eyes quite a bit to see the free floating "Applications" text in the upper left corner. It doesn't even look like a launcher or something you can click on, I don't know what I thought, but it took me a few seconds to figure out, "Oh, I have to click that!".

A lot of the desktop components are written in Vala, which isn't a language I really care for, but it seems to work. One thing it doesn't have is any sort of community around it at all. It looks like they have a chinsy little IDE you can use, and I'm sure most of the other common text editors program have syntax highlighting options for it is well. One thing I will give elementary OS credit for in the Pantheon desktop codebase is super simple, it's very easy to set up the very minimal development environment. It's something a novice hobbyist programmer could set up and actually have a shot at hunting down a bug or adding a feature. I only looked at a few files, but they seemed to be written in a clean style and well commented. The online documentation itself seemed rather poor an incomplete, and the Launchpad development tracker page was decidedly unprofessional. In my quick run through I noticed a lot of commits had cryptic and silly reasons ("fixed crap", "fixed some more crap", etc, stuff like that). Doesn't inspire much confidence for something that is trying to be "paid" software.

The one place I will defend elementary OS is their choice to ask for payment by default. It seems there's a contingent of the Linux community that doesn't understand what "Free Software" actually means and throws a fit anytime someone tries to profit off their hard work while generously sharing the code. In the case of elementary OS it seems that a lot of this money is being reinvested directly in to the project paying bounties for bugs and features. Most of the people whining about this probably have no problem forking over $70 for a DRM encumbered closed source game, but are going to cry being the developers are asking you to consider forking out a few bucks for an operating system that you are free to hack on a redistribute you their hearts content. And they're not even forcing you to pay, they're just making you take the step on entering $0 on your own. Maybe you should read up on what the Free Software Foundation themselves have to say about profiting from GPL'd works:

Comment Re: Is Snowden completely stupid? (Score 1) 100

Whatever happened to, "by the people, for the people"? If they want to watch me, I'm going to watch them right back. I'm glad there are people willing to risk their lives and freedom to expose the things our government is doing behind our backs. We have an agencies dedicated to investigating domestic matters, there's no need to common citizen needs to be under surveillance like we are all rogue actors on our own soil. Focus on making sure these terrorist fucks don't get in to the country in the first place. Of course some will slip through the cracks, and these people need to be investigated and stopped. The only way to do that is through good old fashioned investigation and police work. There's what, 350 million people in the US, and what percentage of those people are terrorists? What percentage of those people are upstanding (or otherwise for that matter) citizens who have a right to think and say what they want with out the government monitoring them? Seems like a lot of noise to filter through to try to expose a few bad actors, and I'm willing to bet broad surveillance is far less effective than targeted investigation. So Uncle Sam can stay the fuck out of my business and anyone else's until they have just cause to investigate us. Attempting to have a private conversation is not proof I am a terrorist, encrypting my data is not proof I am a criminal, and exposing actions our government has taken behind our backs is the right thing to do. I love America, I do not like the people running our government. America is the people you see every day, programmers, construction workers, police, doctors and so on. The people giving orders to spy on us the same as they would the citizens of a terrorist state, that is NOT America. FUCK THEM.

Comment Re: Probably Can't Do That (Score 4, Informative) 246

It seems from reading the actual article that this applies only to registered sex offenders who are on parole. Parole is basically serving your prison time on the street in exchange for the offender giving up various freedoms. Most parole agreements require absolute sobriety, curfews, travel restrictions, and parole officers can add pretty much whatever arbitrary restrictions the deem fit. On parole/probation/extended supervision you are not a free citizen, you are a ward of the state, your rights are severely restricted. So I doubt they will have any trouble banning people on supervision from playing these games, they can already forbid Internet access and things like that. It doesn't even take the governor, any parole officer could have done this himself but writing a single sentence on a rules agreement. The gray area comes if the rule persists past parole, as it's possible to be a registered sex offender but no longer be in department of corrections custody. The article is not clear on whether or not that's the case, and I am not sure what exactly is required to restrict the rights of a free citizen on the sex offender registry. Perhaps it could becovered under already existing rules restricting contact with children.

Comment Re: My brain hurts (Score 1) 183

I couldn't find any numbers, but are the Formula E cars really better aerodynamically than you standard electric commuter car? I know they put a ton of work in to making the Fe cars slippery, but they are still open wheel cars with downforce generating appendages. Now Formula E cars have all kinds of neat underbody aero that gets a ton of downforce for very little drag and looking at the pictures the wings seem to be trimmed out to almost negative angles like an Indycar at the 500, and there are shrouds in front of the wheels, which classically care the biggest source of drag on a formula car.

I'm not saying you're wrong, because although I'm a huge motorsport fan, my understanding of aerodynamics is very basic, and I couldn't find a simple drag coefficient for a Formula E car in race trim. An F1 cars drag coefficient hovers around 1.00 depending on the track and most passenger cars are less than .40, with the really slippery ones being mid .20s. While I am sure Formula E cars generate far less drag than a Formula One car, I'm thinking gearing has far more to do with speed than aero when it comes to Formula E vs electric passenger car.

Comment Re: Confused (Score 2) 141

I enjoy messing around with stuff like this so I'd personally look at it as a bug rather than a feature, but people like me are going to buy something else. As crazy as it may seem, there may be people that purchased this because it is what they wanted, a locked down Windows device. One example I can think of would be the various luxury goods that with tablets pre-installed with software for control and configuration of said item. Many of these are very low volume goods and the manufacturers commonly use off the shelf electronics. The point I'm trying to make is that this is a product sold to the same people who complained when the paperclip went away in Word. It's simply a patch to restore advertised functionality, not on my freedom to compute. I will do that with onew of the many capable devices, which despite the sky falling for years, show no sign of disappearing.

Comment Re:Confused (Score 3, Insightful) 141

Because a security hole a benevolent Linux hacker can exploit to allow you to install an operating system of your choice could also serve as an attack vector for those with not-so-good intentions. How big of a security risk that poses to the user? I have no clue, but it's the reason I wouldn't trust any hacked version of a locked down device over a proper general purpose device.

Comment Re:Sharing is a business now? (Score 1) 103

<quote><p>No one I know has ever paid money for pirated media. That's kind of the entire point. What is this drivel about business models?</p></quote>

I don't know how big a thing it is anymore, but selling pirated DVDs was a pretty big thing in lower class communities. Usually they'd have a binder with discs and inkjet printed sleeves you could choose from. I've seen it at quite a few swap meets too where there will be a stand selling pirated media, some of these much more elaborate, in cases with counterfeit inserts, sometimes even a sticker on the disc or Lightscribe. I guarantee it's still probably a pretty common hustle among parolees, as it's viewed as more "legit", your average big city parole officer is not going to give a flying fuck about pirated DVDs.

I can't speak to how common it is in 2016 as I'm about a decade removed from that scene, maybe iTunes stamps on Obama phones have eliminated this practice, but I highly doubt it. The person you would want to ask would be your neighborhood drug dealer, his brothers layin low on them papers, stayin outta the game for a bit, but he's got that latest Coo Coo Cal mixtape for you.

Submission + - SPAM: C++17 standard now feature complete

need4speed writes: The C++17 standard is now feature complete, but there is more work to be done, specifically around features that were put off and are destined to be implemented as compiler add-ons.

“C++17 evolves the standard further, the tools for standardization have matured and are working,” Jens Weller, a C++ evangelist wrote. “Probably the biggest gain for C++. Those who would like to add certain features to the next C++ Standard (a.k.a. C++NEXT/C++20), should now start to make their plans.”

Right now, one of the biggest additions to the language is [spam URL stripped], which is like a type-safe union implementation. In the future, this addition can be used to build pattern matching.

Link to Original Source

Slashdot Top Deals

Any program which runs right is obsolete.