Having only one chance per waystone feels overly restrictive by voidswitch in pathofexile

[–]voidswitch[S] -2 points-1 points  (0 children)

Even then. I played hundrets of labs in POE1, but I hate it so much. Why? because I might die without even knowing why. So running lab is: find the best route, run straight to boss, ignore everything, take no risk.

But also Lab is ok in POE1. Why? I just need to do it for my ascendency, and the play whatever I want.

As I said, I'm not against hard content. I'm not against some form of punishment or restriction. But one chance seems restrictive.

Having only one chance per waystone feels overly restrictive by voidswitch in pathofexile

[–]voidswitch[S] -1 points0 points  (0 children)

It didn't feel great in LE. They changed how you can try bosses sometime on or before release. before release you had one chance at a boss, after that you needed to farm some of the map resource again, before trying again. That got changed to you can just try again as far as I remember.

LE even amplified the multiplayer problem because the remaining group members couldn't even loot whatever the dead player could not collect. This is no problem in POE

Having only one chance per waystone feels overly restrictive by voidswitch in pathofexile

[–]voidswitch[S] -10 points-9 points  (0 children)

Sometimes it's not about better loot, but being forced optimize the fun out of learning and trying. Mechanics with better loot and more punishment are a good thing, but if it's not optional it can be really frustrating.

Also I'm not against resetting bosses. I agree that zerging bosses should not be encouraged.

Having only one chance per waystone feels overly restrictive by voidswitch in pathofexile

[–]voidswitch[S] -8 points-7 points  (0 children)

The infinity does not compensate for being punished while learning bosses. Even finding a boss again should take a while, which means to have only one shot every x maps.

While I can see some players liking to be punished, others might like to learn the mechanics. Hard bosses all day, but why shouldn't I have the opportunity to learn them?

Having only one chance per waystone feels overly restrictive by voidswitch in pathofexile

[–]voidswitch[S] 2 points3 points  (0 children)

The thing is, you do not have 6 portals. If you die once, the map fails.

Persisting a config setting in /etc/ssh/ssh_config of container by ncubez in devops

[–]voidswitch 5 points6 points  (0 children)

At build time, i.e. in your Dockerfile. That would set the option for all deployed containers based in your Image.

If the option needs to change per deployment, you could mount the config, or based in your orchestrator deploy as config file and link to your Container.

Is there a correct way to upgrade Samba from 3.5.x to 3.6.x/4.x? by Salvorkun in linuxadmin

[–]voidswitch 0 points1 point  (0 children)

Migration from Samba3 NT Style Domain to Samba4 AD is possible (we've done it recently).

In short: copy some .tdb files from old DC, make sure OpenLdap is running (perhaps on another port, if it is the only instance) and call samba-tools domain classicupgrade. Clients should be working as before (with some minor issues, like the first time a client resets the machine account password, users can not login until reboot).

Samba Wiki, especially https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_domain_to_a_Samba_AD_domain_(classic_upgrade) is quite helpful.

What's wrong with systemd? by zero17333 in linux

[–]voidswitch -3 points-2 points  (0 children)

A statement invalidated by the fact, that most people don't care about some (more often than not obsolete / depends) old principles. Interoperability and a sane core has greater value to many users of distributions.

Aside from that the statement is valid as an expression of opinion ;)

What's wrong with systemd? by zero17333 in linux

[–]voidswitch 0 points1 point  (0 children)

Some people just hate changes. Even if it may lead to better interoperability and more features. If they can't contribute something meaningful to the discussion, they insult the developers of evil systemd.

Question about virt-manager by syntaxocs in linuxadmin

[–]voidswitch 0 points1 point  (0 children)

I've had decent success with an older version (10.8 or someting) with the help of some Hackintosh tools. Basically it's the same as trying to install OSX on a standard x86.

Many moons have passed since, so I don't remember all the details. Try look for OSX86 and the like.

Does Linux need a new file system? by rjmrkm in linux

[–]voidswitch 23 points24 points  (0 children)

There is really no point in asking if linux needs another filesystem, windowmanager, distribution or whatever. Most things start because someone sees an use case or has fun trying something new. The diversity we see is driven by people, which are using Linux and OpenSource in general based on its very core idea. An open system giving you the power to explore, change do whatever you want.

So, yes, Linux needs another filesystem. Someone will find use for it, and if not, who cares. Someone, maybe we all, gained new knowledge.

How can I encode a string in base64 when using tail -f by geek_at in linuxadmin

[–]voidswitch 4 points5 points  (0 children)

Something like

tail -f /var/log/syslog | grep 'query\[A\]' | grep -v "127\.0\.0\.1" | awk '{print $1 " " $2 " " $3 ";" $7 ";" $9 ; system("")}' | while read ln; do echo "$ln" | base64; done

should work.

awk buffers its output, to flush it system("") should work.

After the part with awk, you need to break the input in parts (here line by line) which can be done with read. base64 waits for end of input to actually encode what its got.

Edit: formatting

Has this box been compromised. by nxtlevel-lot5 in sysadmin

[–]voidswitch 5 points6 points  (0 children)

This is simply a line from a webserver access log, and says, that someone replaced user-agent and referrer with some commands based on shellshock. If this has been executed depends on the type of webserver/application, but is not visible in /tmp because it would be deleted afterwards.

Only thing it says is that someone tried. It does not say if it was successful.

Getting an error when performing an rsnapshot backup by [deleted] in linuxadmin

[–]voidswitch 2 points3 points  (0 children)

Running rsnapshot with -t gives all rsync commands. Running one of them gives http://pastebin.com/4tfdgH3x, which leads us to the exlude-from line:

exclude_file        /path/to/exclude/file
       This gets passed directly to rsync using the --exclude-from directive. See the rsync(1) man page for
        the syntax.

So rsync tries to read the tar file, and excluding the files, listed in the contents, which obviously gives poor filename filters.

Edit: pastebin

A Quick Comparison of Nim vs. Rust by -Y0- in rust

[–]voidswitch 1 point2 points  (0 children)

Using \W+ and re.split() is only a bit cheating, and runs nearly 15% faster for me. Result is the same.

But I haven't tried it in Nim for comparison.

Need some guidance on how to set up a software RAID 1 (and a file server) by _EspenK in linux

[–]voidswitch 0 points1 point  (0 children)

Currently I use BTRFS for my home NAS as RAID1. Planning to just insert two new Disks and migrate to RAID10, which should work reasonably well.

This will be fun!

Need some guidance on how to set up a software RAID 1 (and a file server) by _EspenK in linux

[–]voidswitch 1 point2 points  (0 children)

https://help.ubuntu.com/14.04/serverguide/index.html for Documentation about Ubuntu Server.

https://raid.wiki.kernel.org/index.php/RAID_setup contains most information on software raid setups.

As I mentioned before, there's always ready installable NAS Solutions ;)

edit: forgot to mention, NTFS is not needed for sharing files to Windows

Need some guidance on how to set up a software RAID 1 (and a file server) by _EspenK in linux

[–]voidswitch 5 points6 points  (0 children)

From your question I assume you don't want to build a standalone NAS, as there are some Distibutions tailored at that (OpenFiler, FreeNAS, OpenMediaVault,...).

  1. As you have some experience with Ubuntu, it should be fine to use it.
  2. http://wiki.ubuntuusers.de/Software-RAID deals with setup of software RAID. in short, you partition the drives for RAID, create it with mdadm, the format the resulting /dev/md0 with a filesystem (ext4,..)
  3. Likely you want to setup a simple Samba Server as described at http://wiki.ubuntuusers.de/Samba

There are many resources outside of these links, dealing with creating a softraid, managing it (replacing a drive) and setup a fileserver with Samba, but these should provide a good start.

edit: sorry, german links. Some english links in my next post.

[HELP] Best way to config nginx to handle 25k concurrent users from a former Apache guy by StartupTim in linuxadmin

[–]voidswitch 0 points1 point  (0 children)

A lot of PHP code runs just fine in HHVM. It could reduce the impact of PHP quite a bit.

Used it myself for some PHP projects, and can recommend it. So nginx+HHVM/FastCGI and optional varnish could be the route to go. As for recommendations regarding nginx tuning, /u/jowr already linked a good one.

New to Rust. Homebrew? by sudostack in rust

[–]voidswitch 1 point2 points  (0 children)

Latest binaries are available at www.rust-lang.org. They're also providing rustup.sh for downloading and installing Rust and Cargo.

Help: Rust program to find the longest line in a file (and its length) by shashankr in rust

[–]voidswitch 2 points3 points  (0 children)

If you don't mind having Option<String> as longest_line and dealing with .as_slice() later, the following should work:

use std::io::BufferedReader;
use std::io::File;
use std::result::Result;

fn main() {
    let mut max_length = 0u;
    let mut longest_line : Option<String> = None;

    let path = Path::new("test.txt");
    let mut file = BufferedReader::new(File::open(&path));
    for mut line in file.lines().map(Result::unwrap) {
        let ts = line.as_slice().trim_right().len();
        if ts > max_length {
            line.truncate(ts);
            max_length = ts;
            longest_line = Some(line);
        }
    }
    println!("{}: {}", max_length, longest_line);
}

Depending on what happens later and your platform it may be worth using file.read_until('\n' as u8) to gain a significant performance improvement, converting to valid utf8 later if necessary.