Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Good - the right thing to do. (Score 1) 106

Yes, exactly the same as every other country with state and federal laws. Or as an America would say 'it's exceptional magic, we are the best !!'

In particular I was referring to this comment:

Don't know about Japan, but Germany doesn't have local communication authorities with the power of the federal one.

Which is certainly different than the US, where the state level governments do have powers that would be held by a national government in other countries.

I didn't say anything about American Federalism being "exceptional magic" or that it was "the best" either. It was just a statement of facts, nothing more.

How's the axe grinding business going anyways?

Comment Re:Good - the right thing to do. (Score 1) 106

Then why haven't I been able to find any of them and why does Wikipedia then claim that "the FCC's mandated jurisdiction covers the 50 states"? And how does it work when counties and municipalities are regulating the frequency spectrum on their own?

Federal authority to regulate commerce extends only to interstate commerce. This is stated in the "Commerce Clause" of the US Constitution.

While the FCC's jurisdiction is the 50 states, its power extends only to matters that have impact across state lines. Things like spectrum management is certainly one of those matters that are managed at the federal level since radio waves don't respect state lines.

Intrastate(within a single state, not crossing state lines) phone regulations have been the domain of state public utility commissions, including intrastate phone call rates.

Of course there have long been debates as to the limits of the power of the Commerce clause and where exactly Federal jurisdiction ends and state begins. This is American Federalism.

Comment Re:Can we just ask why? (Score 2, Insightful) 86

They essentially want developers to write software for Windows, regardless of whether the scripts and binaries are sitting on a Windows box or a Linux box.

If there goal is to get people to write portable software that will work on both Windows AND Linux, then I'm not entirely sure I see the problem here? Isn't portable software a good thing?

Bash will be replaced by Powershell, and you can't tell whether you're logged on to a Linux terminal or a Windows terminal.

A shell is just a shell. It's an interface to run commands and often a scripting language as well(but need not be!). Bash isn't the be all, end all of shells either. There are plenty of different shells out there. Heck if you want, you could just set your shell to /usr/bin/emacs and live life like you were truly meant to.

If Microsoft wants to port Powershell to Linux and release the source under a Free Software license, please do!

Comment Re:A real robot doesn't flip (Score 1) 94

A clamshell grill isn't for frying burgers though, that's grilling. There is a difference. Frying != Grilling.

I'm not really familiar with White Castle fan but it turns out they steam their hamburger patties over a bed of onions. Which is even a bit more of a particular cooking process. I'm sure the process could be automated, but a robot allows usage in a traditionally equipped restaurant and cooking it the same manner. Also the kitchen still works without the busted robot.

That said I'm sure they could develop some sort of automated onion/burger steaming belt system, but that would be something you'd install in a new location, not an older establishment.

Comment Re:A real robot doesn't flip (Score 1) 94

It's the difference between a fried burger and a grilled burger. A grilled burger, the fats drip off and flame up, so having a grill that can be flipped over for a robot works fine.

A fried burger however, the burger cooks in its own fats. So you need to flip it so it cooks evenly. You can't fry a burger on both sides at the same time. That is why you need a burger flipping robot.

Comment Re:Changing the return type on a publishedt (Score 1) 65

This isn't the type of error that would get caught be a C compiler, this is a RUNTIME failure, not something that would get caught at compile time.

This is the equivalent of leaving the header files the same for a C function in a library, while changing the actual function call in the compiled library itself. Normally it returned a pointer to a struct, now it just returns an int by value. Now lets see how a C program reacts to that(not well).

In code:
Now first in the header file:

struct somedata { int foo, char bar[128] };
struct someresult *stupid_function(const char *val);

Now some vendor goes and updates the .deb/.rpm package for the library that contains the someresult function and changes it to this:

int stupid_function(const char *val);

And they do this without changing any library/symbol version numbers in executable.

Now your program goes to run like this:

int main(int argc, char **argv)
{
    struct somedata *mydata;
    if((mydata = stupid_function("moo")) != NULL)
        print("My data is: %s %d\n", mydata->foo, mydata->bar);
    return 0;
}

The if code returns a positive value, its now going to dererference an invalid pointer and boom. Crashes goes your program.

Not all error conditions can be handled a compile time.

Comment Re:Automated source tools (Score 2) 96

There is no difference in processes between sudo -i and sudo bash. Have you ever actually checked?

That said sudo bash does something a bit different than sudo -i

For one, doing a sudo bash does NOT clear out the calling users environment, sometimes you actually want this.

Another point is that sudo -i will always run with the login shell for the account, which may be set to /bin/sh which is often not bash, which may or may not be what you want.

So since you've never checked regarding process numbers with sudo -i vs sudo bash, here you go: Here is with sudo bash, you'll note that the PS1 gets updated, but the current working directory doesn't get reset and most environment variables are preserved, which might be helpful if you'd like your PATH and DISPLAY variables to be preserved.

[androsyn@random-host ~]$ sudo bash
root@random-host:/home/androsyn# ps T
PID TTY STAT TIME COMMAND
7558 pts/11 Ss 0:00 bash
7870 pts/11 S 0:00 sudo bash
7876 pts/11 S 0:00 bash
7877 pts/11 R+ 0:00 ps T
root@random-host:/home/androsyn#

And sudo -i you'll note that you are fully cleaned root login, the equivalent of "sudo su -"

[androsyn@random-host ~]$ sudo -i
root@random-host:~# ps T
PID TTY STAT TIME COMMAND
7690 pts/10 Ss 0:00 -bash
7903 pts/10 S 0:00 sudo -i
7909 pts/10 S 0:00 -bash
7912 pts/10 R+ 0:00 ps T
root@random-host:~#

Now what I suspect you are referring to is the extra process required for running "sudo su -" and you would be correct about that.

[androsyn@random-host ~]$ sudo su -
root@random-host:~# ps T
PID TTY STAT TIME COMMAND
7690 pts/10 Ss 0:00 -bash
7962 pts/10 S 0:00 sudo su -
7968 pts/10 S 0:00 su -
7975 pts/10 S 0:00 -bash
7978 pts/10 R+ 0:00 ps T

Not that the one extra process is going to bring down the system...

Comment Re: if joined can they force an backup / send me a (Score 1) 195

What if the user forgets their password and wants to reset it?

You're shit out of luck.

If you forget your password on an iPhone, you wipe the phone and restore from backup. Those backups can only be decrypted with the password for the iPhone.

If apple provides a way for this to happen

They don't.

A very common thing is the need to reset your password.

Absolutely it is. There are a whole lot of parents out there who've needed to restore their phones from backup because their toddler wouldn't stop trying to unlock their phone and they got permanently locked out of the device. Restore from backup is the only solution.

Comment this happened to my grandmother (Score 1) 61

She lost her hearing in her early 40s due to a medication reaction(this was in the 1950s). With the hearing loss, she slowly became more socially isolated. Of course she had her family around as always, but beyond family she pretty much withdrew from the world to a great extent. To a great extent she was very ashamed of her hearing loss. As she got older, she slowly started losing grip on reality and by the time she was in her late 70s, it was pretty obvious she was losing touch with reality and the world. By the time she passed away in her late 80s, she hadn't really spoke or acknowledged anyone for pretty much the last decade.

Whether her dementia was related to her hearing loss we'll never know.

Comment Re:This services are stupid anyway (Score 1) 145

That's pretty much the entire point of using Remind, so that the school can inform you of important things like that. Didn't really mean to come off so snarky, but people really do need to be better about not checking every little buzz buzz from the phone, especially during meetings.

Slashdot Top Deals

SCCS, the source motel! Programs check in and never check out! -- Ken Thompson

Working...