Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


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

Comment It's the console stupid! (Score 4, Interesting) 272

WSL is better than cygwin. It is a lot faster and it has apt-get instead of that dreadful install wizard that cygwin has.

However, the console in windows is stuck in the 80's. It is the same DOS command prompt that we saw in windows 3.1. The terminal emulators in linux or macOS support multiple tabs, text selection that reaches the end of the line instead of a rectangular shape, split panes, your default directory is your home directory.

Now someone will raise their hand and say "PowerShell ISE". It looks promising, but at this point it is unusable because console programs cannot read input in PowerShell ISE

Until they have a console from this century, WSL is worth using only when you don't have linux or macOS available.

Comment Re:Have they added curly braces yet? (Score 1) 187

In pretty much any other language, you already indent your code to represent blocks. If you don't, it because very hard to read whether there are curly braces or not.

When I first started learning python I also had a knee jerk reaction to the indentation thing, especially because I had used fortran before and I hated it. But after writing a few lines of code, you quickly realize that the indentation is not an issue at all. I was already going through the trouble of properly indenting all my code in C++, java, perl, etc..., so removing the curly braces did not make any difference. They are in fact redundant.

That said, there are a couple annoyances related to the indentation (pretty minor in my opinion):
If you try to embed python inside a template tool, like how you do in php or embedding java inside jsp, then it really gets in the way.
If you sometimes use tabs and sometimes use spaces, it can get in the way. It is best to use an IDE that will enforce tabs or spaces but never mix them.

Comment Re:For the love of God no (Score 1) 103

Listening to folks yell into their phones passing by or in a restaurant is bad enough, imagine sitting next to one for an eight hour flight. :|

With no way to escape it.

Would almost be worth opening the door and jumping to your death from 30,000 feet. . . .

Sure it can be annoying. But if that is a reason to ban it, then we should be consistent and ban it on busses and trains too.

Comment Re:Surprised I'm still alive! (Score 1) 527

It's not just meat that is best eaten cooked. I believe a potato is much more edible once baked, boiled, or fried. E. coli is bad for people but cooking your fruits and vegetables will make it safe from them.

Potatoes came from Peru. Unless you have Incan blood in you, your ancestors have only been eating potatoes for 500 years when it was brought to Europe. And if you do have Incan blood, then your ancestors have been eating it for 5000-8000 years only, which is too small a time frame for any meaningful evolutionary change.

Thus potatoes are certainly not part of our natural diet cooked or raw.

Comment Re:little to do with pokeman go (Score 1, Offtopic) 153


You joke but this is government logic. 2 people got killed by drivers playing pokemon. Very visible, perfect "think of the children" motivator to rally up support for your campaign. I can see politicians trying to ban pokemon in certain areas or while driving which is just impossible to enforce.

But how many people have actually prolonged their life by playing pokemon? Seriously, this game did something amazing: it got people off the couch and walking around in the park. I have never seen a video game do that before. I have friends that lost weight by doing nothing different except playing pokemon.

It's just like a politician mandating people wear helmets on a bicycle. Sure all else being equal it is safer, and I am sure wearing a helmet has saved some lives, but they don't look at unintended consequences: people dislike going on the bicycle with a helmet and it makes biking more expensive, so less people do it which ends up costing more lives than it saves by virtue of encouraging couch potatoes.

Comment Re: Does not replace mount (Score 1) 541

I get that the Unix way is to have lots of little utilities and services doing specific things

But this is exactly what Systemd is. Systemd is a collection of several dozens of binaries each one doing specific things. People say systemd is monolithic and bloated because it packages all these binaries together. But that is exactly how other popular packages like util-linux and binutils are packaged, and nobody bats an eye about them.

Heck by any definition of monolithic, the linux kernel is a lot more monolithic than systemd. Where is the outrage?. There is an occasional microkernel vs monolithic kernel discussion, but its nothing compared to the Systemd flamewars.

I know this is slashdot and it is customary to hate SystemD, but does anyone actually have a technical argument against it? All the systemd tools I have tried seems to work well. Even if they didn't, they are all separate binaries and it is trivial to replace each individual component. It seems to be adopted by a lot of distributions by the developers choice. Has anyone here had an actual problem with systemd? if so, were you unable to replace the specific tool from systemd that did not work for you?

Comment Re: What does Netcraft say? (Score 1) 515

Gnome cut useful features in the same way that Apple does. And both desktop is therefore a bad choice if you like to customise you desktop to suite you. Now MS are follow suit with Windows 10 so we will soon all be forced others opinions on how a GUI should look down our throats.
Personally I think that stinks and that Gnome took a good start and buried in "we know what's best" attitude that I will do better without.

And those 2 (apple and gnome) happen to be my favorite desktops :)

Comment Re:What does Netcraft say? (Score 2) 515

I used to be a big fan of KDE, It was my first desktop environment back in the 90's and I used to follow their blogs, and even made a few contributions. I marveled at their frameworks and clean code. As the years went by, KDE developers improved the code more and more. Every iteration of the desktop had better and better frameworks, and that is all it had. Usability seemed to be an after thought for most KDE developers. They added features that while impressive, were ultimately not particularly useful such as activities and rotating plasmoids.

In contrast, the gnome project had some frameworks that seemed rather poor in comparison, but the devs were laser focused on usability. They mercilessly cut out features if they were not useful. At the end of the day if I am using a tool every day, usability is king.

Comment Re:Why should it have a remote? (Score 1) 234

Why should each TV come with its own remote these days? The default should be that people use an app on their phone...

It sounds so logical and wonderful in theory. But as someone who tried it a while ago I can assure you phones are absolutely horrible remotes.

Suppose you just saw Janet Jackson flash a boob during the Superbowl. A reasonable person would want to watch it over and over to make sure they catch every detail of what just happened. What do you do?

1) reach for your phone in your pocket.
2) slide to unlock it
3) enter your password or fingerprint
4) browse to where the remote control app is
5) click on it, wait 3-5 seconds for it to open.
6) select the device you want to control (the tv, or dvr or whatever)
7) and finally you are ready to hit the rewind button.

Even if you cut half these steps, you are talking about at least 10-20 seconds to get to that damn rewind button. You will need to keep your eyes on the phone screen the whole time. That boob is ancient history by now, people have already discussed it on twitter, made thousands of memes, laws have already been enacted to prevent the unholiness of a nipple from destroying more childhoods. Now, your friend who has a real remote wants to talk about wardrobe malfunctions. He could be calling you right as you are in the middle of working towards getting to the rewind button.

Compare that to the remote that comes with your dvr

1) Pick it up
2) click rewind.

You don't even have to look at the damn thing, you can keep your eyes on the nipple the entire time. It takes 1-2 second.

Now imagine this every time you want to fast forward a commercial or pause it to get a beer. You have just invented a new very effective technique for interrogating prisoners in Guantanamo.

I got fed up with the phone as a remote very quickly and bought myself a real remote with damn physical buttons.

Comment Re:Nest temperature display is backwards (Score 2) 193

are you serious - they only show the SET value and not the ACTUAL current value? no option to set the default large text for the one you want? not a split display, even?

They show both, the current and the set temperature, but the set temperature is in large in the center of the screen, and the current temperature is tiny. You have to actually get close to the thermostat to read it as opposed to glance at it from the other side of the room. Its an epic fail.

Here is a pic. In that picture, the current room temperature is 78, and it is set to cool down to 75.

There is no way to change this.

Comment Nest temperature display is backwards (Score 5, Interesting) 193

I have a Nest thermostat. It displays in large the temperature you set it to instead of the current room temperature. What the actual fuck? A mercury thermometer is smarter than this.

There was a feature request for this opened in 2013, it has 1683 votes and its the third most popular feature request. You would think that even an entry level programmer would be able to fix that or add an option, but no, the feature has been completely ignored for years and contacting support about it only gives the reply "keep voting for it", even though that is clearly going to /dev/null. The other popular features request are equally ignored.

I am very frustrated by the complete lack of support these devices have. The entire community web site is nothing more than a pacifier for nest owners.

Slashdot Top Deals

"Be there. Aloha." -- Steve McGarret, _Hawaii Five-Oh_