Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:Or shut it down. (Score 2, Informative) 347

You might be interested in molly-guard (available in Debian/Ubuntu, and presumably others):

The package installs a shell script that overrides the existing shutdown/reboot/halt/poweroff commands and first runs a set of scripts, which all have to exit
  successfully, before molly-guard invokes the real command.

  One of the scripts checks for existing SSH sessions. If any of the four commands are called interactively over an SSH session, the shell script prompts you to enter the name of the host you wish to shut down. This should adequately prevent you from accidental shutdowns and reboots.

  This shell script passes through the commands to the respective binaries in /sbin and should thus not get in the way if called non-interactively, or locally.

22:56:13 rock:~ > sudo shutdown -r 5
W: molly-guard: SSH session detected!
Please type in hostname of the machine to shutdown: box
Good thing I asked; I won't shutdown rock ...
W: aborting shutdown due to 30-query-hostname exiting with code 1.

(I only have it installed on my server, so getting the question is enough to make me hit ^C. Also, my prompt is yellow on my home PC, red on my work PC, cyan on servers, and includes the hostname, so I'd need to be really tired to make a mistake.)

Comment Consistent latency (Score 1) 160

The amount of latency is not really an issue as much as the consistency of latency. There's nothing more frustrating than getting fragged because YOUR input was processed late because of too much going on, or for any other reason. I recall missing tons of jumps in Megaman 2 because of this, so it's hardly a new problem.

Comment Re:who gives a fuck? (Score 2, Insightful) 245

"take your comic books, light them on fire and shove them up your faggot ass."

While that's a wee bit harsh, we don't have even the slightest immediate need for manned missions.

Robots are what we should be developing. Sending people to do a machines job so others can live out Buck Rogers fantasies is an appropriate task for COMMERCIAL space outfits. Learning about space is an appropriate use for robots, which we will require to exploit the resources that are the main reason for going offworld in the first place.

Comment Re:Meanwhile (Score 2, Funny) 227

Hey now, my copy of Unreal Tournament 2k4 runs AWESOME on Ubuntu! If it were not for the fact that Stalker (SOC and CS...but could we hope for a Linux-release of Call of Pripyat?...not likely) won't run on Linux, I would never use a Windows variant again.

-Oz

Comment SSDs and databases (Score 2, Interesting) 72

I've just gone through the process of setting up a pair of servers (HP DL380s) for Linux/Postgres. Our measurements show that the Intel X25-E SSDs beat regular 10k rpm SAS drives by a factor of about 12 for fdatasync() speed. This is important for a database system, as a transaction cannot COMMIT until the data has really, really hit permanent storage. [It's unsafe to use the regular disk's write cache, and personally, I don't trust a battery-backed write cache on the RAID controller much either. So not having to wait for a mechanical seek is really useful. Read speeds are also better (10x less latency), and the sustained throughput is about 2x as good.

So, yes, SSDs are a good idea for database loads, where the interaction is with the real world, and where once a transaction has completed, some other real-world process has happened. BUT, most supercomputer workloads are, in principle, re-startable (i.e. if you lose an hour's work due to a hardware failure, you can just re-run the simulation code, and throw away the intermediate state).

So, for simulations, the cost of dataloss is an hour of re-work, not irretrievable information. Given that, we can get much better performance by storing everything in RAM, enabling all the write-caches, and sticking with standard SATA, provided that, every so often, the data is flushed out to disk. If something goes wrong, just revert to the last savepoint, which could be an hour ago, rather than having to be 10ms ago.

[BTW, HP "don't support" SSDs in their servers, but the Intel SSD X25-E disks do work just fine. Though I did, unfortunately, have to buy some of HP's cheapest SAS drives ($250 each) just to obtain the mounting kits for the SSDs.]

Comment Re:Commen Sense Sharded Library (Score 1) 158

The article on Arstechnica about Snow Leopard goes into some detail about the advantages of Obj-C being a dynamic language... primarily due to the new inclusion of Closures aka functions assigned to variables so that you can pass a function to another function with dynamic arguments.

This makes for not necessarily a better performing language but an easier, more efficient and less buggy language.

It's still likely a personal coding preference of course.

Comment Re:Didn't find a good solution (Score 1) 347

A serial console needs for your kernel to come up,

That's horrendously idiotic.

You don't configure the kernel for a serial console, you CONFIGURE THE BOOT LOADER for it:

http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-boot-loader.html

It also needs a second computer to connect the serial line to.

Yes, and managing the system over the network needs a second computer to make the connection as well... What's your point?

With serial-port management, you can have a single PC connecting to an unlimited number of headless machines. On the low-end, a few USB-Serial adapters can give even a low-end PC dozens of serial ports these days. A bit higher-end are console servers (which you telnet/ssh into), or serial port muxes (which give a machine dozens, if not hundreds of REAL serial ports to use).

I have been doing something similar for half a decade now

How very sad that in all those years you couldn't spend a couple minutes searching the web, or asking anyone who knows ANYTHING about the subject. Either one of which would have quickly resolved your problem. This is beginner stuff.

I must suggest you refrain from giving advice to anyone, ever again, since you apparently speak authoritatively on subjects you know next to NOTHING about...

Comment Transfers to PC Game Ports too... (Score 4, Interesting) 160

Only in the ports that the PC gets from the consoles (or even ones that happen to be released on both systems) do I notice the horrible latency. It's awful in Oblivion, Fallout 3, Bioshock, and plenty of others. Part of it has to do with V-Sync, but turning that off doesn't eliminate all of it. I can't believe that 133ms is the norm. I've grown up a PC gamer, and that's definitely one of the top reasons I *hate* console FPS games.

Comment Probably not (Score 1) 3

More important than me not being a lawyer, is that I am not YOUR lawyer. It sounds like you need to either (i) call pair's legal counsel and explain that your email was sent, but disregarded, or (ii) speak to a public relations officer and ask them what the -real- email address your replies should have gone to, since the published address is not monitored.
Personally, I hate email sinks. A while back I kept getting flooded with bounces of internal eamils from my home ISP a while back; I politely sent them directions on how to properly configure the errant host. They did nothing about it until I started telling them the names and issues of customers that were being discussed.
I have the unenvied job of monitoring the postmaster account where I volunteer; the policy is that one false positive spam mark on that account is too many. Five nines of spam, with the occasional tidbit. Stupid policy; no tidbit has ever been marked spam.

Comment Re:Sweet (Score 1) 336

I don't know where you pulled that out of, but it's not true. Business attire is generally not eligible for a tax write-off, the only exception is a uniform that you would not normally wear outside of work (like for a nurse or a mechanic). But you can't write off things like suits, sportcoats, and polo shirts.

Comment Re:Interesting, but... (Score 1) 598

I'm tempted to agree, but that requires a major change in the way society lays responsibility for actions. Is a person responsible for his actions if he didn't know better, or *couldn't* know better, because of some mental affliction? What if someone is diagnosed as having a gene that gives them merely a predisposition to certain types of untoward behavior? What happens at all the points between "predisposition" and "uncontrollable urge"? What about civil rights, protected classes? Should we ingrain into law equal treatment for people who make choices based on these predispositions and uncontrollable urges? Where would being homosexual fall into that spectrum?

The very basis of the way we treat each other in society is based on the fact that we have a choice, and being deferential in situations in which people don't. If the distinction between having a choice and not having a choice is a much more gray area and in many cases unprovable (as I agree it likely is), we have some very difficult societal problems to address.

Comment Re:Yes, but it's Apple (Score 1) 539

Apple gets forgiven for everything

I see you were born yesterday, or at least when you started reading Slashdot. Half a dozen people have scratched screens on their iPods and it's on the front page. Whereas it literally takes a Dell battery exploding and starting on fire to make it onto Slashdot.

but if Microsoft even hinted of this they'd get flamed.

...which is said EVERY time Apple does something remotely unpopular.

Comment The Solution (Score 4, Insightful) 282

The EMV-card.

On this type of card, the magnetic strip is replaced by a microcontroller with various cryptographic features (aka smart card) that are supposed to secure transactions and make the card a PITA to clone.

http://en.wikipedia.org/wiki/EMV

It is a quite recent innovation. It was only standardized oh ... 9 years ago, and its backers - VISA and Mastercard - are relatively unknown companies.

This is probably why many banks are wary about issuing EMV cards yet ... or that they are cheapskates. I'm not sure which.

Slashdot Top Deals

Dynamically binding, you realize the magic. Statically binding, you see only the hierarchy.

Working...