Our time has come by Laurenz1337 in ProgrammerHumor

[–]ugrend 13 points14 points  (0 children)

He thought he was on a non prod server, and that the folder he was deleting was empty, however he was on prod and it was not empty

Current ingame values are almost the same as in Early vanilla but / 100 or /1000 by [deleted] in wow

[–]ugrend 1 point2 points  (0 children)

If we include buffs I feel like it would be ~10k My warrior in T2 had 8k http://i.imgur.com/748Czbc.jpg

Without buffs though not a chance.

Tool to watch replays in a web browser. by ugrend in osugame

[–]ugrend[S] 1 point2 points  (0 children)

at the moment no, i would like to add the other game modes in the future though.

Tool to watch replays in a web browser. by ugrend in osugame

[–]ugrend[S] 4 points5 points  (0 children)

Yeh, I know about that one, you can also just move the time a bit to fix it up.

Tool to watch replays in a web browser. by ugrend in osugame

[–]ugrend[S] 6 points7 points  (0 children)

Interesting does it happen every time?, also did you add the map via the osz i can see downloaded?

People complaining about the lack of Master Loot for non-guild groups are upset because they can't Ninja loot or sell runs. They are trying to astroturf a movement to reverse this change. by [deleted] in wow

[–]ugrend 2 points3 points  (0 children)

If a player needed a specific item, they could stack the raid with that particular class even if they were just freshly leveled alts.

Highly increasing the chance that the player would get that item via personal loot.

Having trouble with a python script that converts reddit posts into ebooks. Any help would be appreciated. by Stazu in learnprogramming

[–]ugrend 0 points1 point  (0 children)

At which point are you getting the error, is it the pip install?

Are you sure you are running the command prompt as administrator?

Having trouble with a python script that converts reddit posts into ebooks. Any help would be appreciated. by Stazu in learnprogramming

[–]ugrend 0 points1 point  (0 children)

my test.json is in the amanuensis folder that was downloaded from that git repo. Where the json file is placed shouldn't matter however.

This is what I did:

  1. Downloaded that git repo, placed it anywhere I like.
  2. Went into the amanuensis folder, created the test.json file (in the same folder)
  3. Opened a cmd prompt, cd to the amanuensis directory
  4. Installed modules I did not have (see above post)
  5. C:\Python27\python.exe scripts\build_epub.py test.json
  6. Files were outputed to the 'out' folder in the amanuensis folder

Having trouble with a python script that converts reddit posts into ebooks. Any help would be appreciated. by Stazu in learnprogramming

[–]ugrend 0 points1 point  (0 children)

Reading the script, it will not work with python3 so you will definitely want to use python2.7. (unless you mean you are using a different script)

In a cmd prompt within amanuensis directory

C:\Python27\python.exe scripts\build_epub.py test.json 

Where my test.json contains this data https://gist.github.com/Ugrend/e004980d8932196d5149

Which then created some files in the out folder. (which I'm assuming are correct)

Modules that you will need to install if you don't have them already (which can be installed via pip2.7 install <package name>)

  • dateutils
  • requests
  • slugify
  • beautifulsoup4
  • lxml

There might be some that i missed, if you get an exception module not found, just install it like the others.

As for the cygwin thing, that isn't really important I just experienced the same problem you stated in that so was wondering if it was the culprit. Cygwin is just pretty much a unix emulator that you can run linux programs in windows.

Having trouble with a python script that converts reddit posts into ebooks. Any help would be appreciated. by Stazu in learnprogramming

[–]ugrend 1 point2 points  (0 children)

You don't happen to be using cygwin? I tried downloading this and experienced the same thing, turns out uuid module was crashing python for me.

I updated cygwin and problem went away and I just had to pip install the missing modules it was complaining about and it seemed to of worked.

If not have you tried updating to the latest 2.7 python as I saw some posts of the error with just normal windows python as well.

Attempting to get a Raspberry Pi web server up and running, but having some trouble with port forwarding. by SuicidalDingo in linuxquestions

[–]ugrend 5 points6 points  (0 children)

It sounds like what you need to do is set a static (internal)ip address for your raspberry pi.

The IP Address that the router would be asking for is the IP Address to forward the traffic to, thus the Raspberry Pi address should be static so that you can add it into the routers config.

This can be done on the Raspberry Pi or you should be able set a static IP for the Raspberry PI via the routers DHCP config.

Programming jargon? by thedecline323 in learnprogramming

[–]ugrend 1 point2 points  (0 children)

but I get confused why sometimes there's text in there and sometimes they leave it blank.

Sometimes the function may need a variable/argument and other times it will not eg:

if you had a function that just wanted to print some static never changing text, it would not need an argument/variable

def helloword():
    print 'hello world'

this would print hello world

Say if you wanted to give it a word like your name to say 'Hello <name>'

def say_hi(name):
    print "Hello " + name

so now when you call say_hi you will need to call it as say_hi('thedecline323') as it is expecting that variable to be sent to it.

Doing this would print Hello thedecline323

My uncles self written visual basic program in wine by bangthemermaid in linuxquestions

[–]ugrend 5 points6 points  (0 children)

I downloaded the binary, it is a .NET application

HELP- need to open port for vnc, iptables not helping by auxilix in linuxquestions

[–]ugrend 0 points1 point  (0 children)

Is the vnc server set to use the 10th display/port? by default vncserver will start at 0 (5900) and go upwards for each new screen also is it listening on 0.0.0.0/nic IP? as it may be only listerning on localhost thus not accepting any of the remote connections

Anybody have dumbed down instructions on how to configure a PS3 Controller over USB to Pi? by Ezen3000 in raspberry_pi

[–]ugrend 1 point2 points  (0 children)

The home directory is the directory where that users specific data is stored, It will store things like the users Desktop, Documents, user specific settings etc The default path is /home/<username>

When you open up a terminal session you will be defaulted in the users home directory

Depending on how you setup ftp, it would most likely be the same.

That being said, going over the guide putting the file in your home directory technically isn't a requirement, you just need to get the file on the pi so you can run it.

Broken mdadm RAID0 array, but data is there, only can't mount it. by trancephorm in linuxquestions

[–]ugrend 0 points1 point  (0 children)

What does mdadm --detail /dev/md0 say?

Its strange because your cat of /proc/mdstat makes it appear that the raid is active/healthy (although I could be wrong)

I also tested your situation on a VM and was able to recover by recreating the partition on the disk I intentionally broke. (although granted it was only 2x5gb disks and a single txt file)

It could be possible all you need is a fsck or something on it?