« first day (1538 days earlier)      last day (3464 days later) » 

12:14 AM
1
Q: how to shut down a server from the webinterface

wenzulI want to be able to shutdown my server remotely by clicking on a button on a web page. The server runs Ubuntu 14.04.1 64 Bit and a python web application. I have not decided which yet, but it will be either Apache or Gunicorn. I need to be able to shut the server down remotely since I won't alw...

When the only tool you have is a hammer....
 
 
1 hour later…
Bob
1:44 AM
hu
 
2:29 AM
this is all linux fault :-) now i have a CLI to reconfigure the driver itself ? another book to read, and another set of parameters.
Think it would take them 10-15 minutes to put that in a gui , and tell me what button push when all it does is FAIL!
the proper way to do this is to put it into compatability mode (Whatever the heck that would be) and let me break it later with the commands :-) I can Do that.
 
3:01 AM
So confused, have no idea what laptop to buy :/
And prices are fluctuating hard
 
"Note that the maximum target queue depth in-use by target devices is a very
nebulous number, which changes dynamically over time based upon . . . ." Now that explains a lot, I am stuck in the nebula cloud , even error event sencors are down, must find some way out before the return period expires.
By the time I get this working and completely figured out, i will be able to shut down every server in america , with a few simple commands :-)
@HackToHell you will be happy to know the price only goes up on the really good ones, and the lemons it drops :-(
(its the lemon drop hypothesis)
 
4:01 AM
@Psycogeek lemons?
What about them
 
lemon (lèm´en) noun
1. a. A spiny, Asian evergreen tree (Citrus limon) widely cultivated for its yellow, egg-shaped fruit.
2. Color. Lemon yellow.
3. Informal. One that is unsatisfactory or defective: Their new car turned out to be a lemon.

The American Heritage® Dictionary
A product (usually a car) that cannot be "fixed" or has many flaws is so widely known to be "a lemon", they actually enacted "Lemon Laws" for at least cars, where a person can get thier money back if it is proved that there is a known defect that was not disclosed to the buyers.
 
ooh
this is great
found it by accident ;p
 
4:23 AM
1
Q: How do I print 10,500 e-mails and their attachments?

user4167750For some unholy reason I am required by work to print out 10,500 e-mails AND their attachments (which accompany about 70% of the e-mails) through Outlook 2010. I, like you, am appalled at such ridiculous inefficiency and the 55,000 pieces of paper we have estimated this will cost us and the world...

The revenge of the paperless office :-) comming to a theater near you.
 
4:41 AM
110 reems of paper, 24# paper reem is 2.25in. tall, making a stack of paper that would go from the floor to the ceiling 2 times, at a total ~20.6 feet high, as nice tight stacked new before even printing.
reem=ream oops.
approx 8 trees
 
5:35 AM
Ow. Just ow ow ow.
 
Restocking Fee : -$42.00 ~~~ÕLÕ~~~ Uhh NO! not unless i can choose where it gets restocked :-)
2 days of hard labor, and i get -42bucks -shipping -shipping back, oh you gonna pay for that.
 
5:56 AM
the adaptec is $100+ more besides, i will have lost the whole price of another motherboard, and do not even know if it will work. Must . . . be . . . some . way to make it work, it cant end like this.
I found one other (german) user with very similar issue, with 9341, they got 9361 instead, and are not problem free with it either, other than that finding users with it is limited. So Serverfault may know, but they would kick me out for being a measly low-life desktop user.
 
 
2 hours later…
7:56 AM
Good morning /root
Do any of you have experience with Spiceworks ? The application, not the community
 
fraid not
little fella really needs to get an electric screwdriver. ;p
 
8:25 AM
Our local ikea does the best ads
 
Reasons not to update Facebook app?
 
how helpful.
 
8:50 AM
@Boris_yo more like; reason not to be on facebook :/
sadly, I kinda like facebook, so I'll accept their invasion of my privacy
 
9:30 AM
@JourneymanGeek That is pretty awesome!
 
 
2 hours later…
11:11 AM
I'm all alone in the office, and noone is talking in here. I'm beginning to feel a bit lonely.
At the very least, I have Han Solo and Spiderman keeping me company...
 
Clearly you should start singing 53821 bottles of beer on the wall
 
Can I install Visual Studio 2013 when I already have Visual Studio 2012 on Windows 7 installed? ... or it's much better to uninstall 2012 version and then install 2013 from scratch?
 
hey look, it helped!
people started talking :)
@JANORTS I would guess VS 2013 detects your VS2012 installation, but that's just a hunch, I don't know for sure
maybe this can probide some clarification (I haven't read any of it, mind you)
 
11:28 AM
ok, thank you
 
12:24 PM
@JourneymanGeek currently at 53473 bottles. This is getting old :|
 
12:45 PM
@Kristian its probably worse for every one else
 
@JourneymanGeek I dont get what you're saying!?
What you're saying is JourneymanGreek to me :/
2
 
 
1 hour later…
1:57 PM
Hi
 
Bob
@allquixotic Hi.
Stats on memory usage (in Megabytes):
494586.842	equivalent memory usage for states (stored*(State-vector + overhead))
35814.258	actual memory usage for states (compression: 7.24%)
         state-vector as stored = 26 byte + 28 byte overhead
 8192.000	memory used for hash table (-w30)
    0.534	memory used for DFS stack (-m10000)
    6.825	memory lost to fragmentation
43999.968	total actual memory usage
@allquixotic I need one of those IBM mainframes :P
 
@Bob IBM workstation...?
ah. lol
 
Bob
We ran out of memory.
 
eh, the lrzip run finished
On what I believe is a full copy of everything on my dad's system I saved ~500mb (8.3 vs 7.8 gb)....
 
@Bob I could see about shutting down the entire United States' ability to file for retirement/disability/survivors' insurance online, for a day or two, and give you access to something like 512 hexacore 5.5 GHz processors manufactured on a 32nm process with 30MB of cache per processor and several hundred TB of RAM?
would that be acceptable to you?
 
2:01 PM
;p
@Bob: time to close a few thousand million tabs.
 
Bob
@JourneymanGeek ...my home computers have nowhere near enough RAM to even get that far.
 
@JourneymanGeek bleh
@Bob however, I think what he was alluding to was the fact that you could have several million or billion tabs open on the mainframe
 
Bob
@allquixotic Lol. I might be able to verify, say, 8 nodes with that.
 
(took a LOT longer to process, though I went for maximum compression. lrzip does seem to expand to fill all unused processor power thread a lot better)
 
Bob
The possible inputs rise exponentially, and they all need to be covered. I'm not sure if the algorithm itself is polynomial.
 
2:03 PM
@Bob it may be NP-Hard, given how much space and time it seems to take up :S
those are the worst
 
Bob
One node, two nodes, instant. Three nodes, 0.22 seconds.
 
well, those are the worst within the set of problems that are computable
 
Bob
Four nodes... took a while. Though part of that was because we had to enable state vector compression to fit it within RAM.
 
there are non-computable problems that are tractable, then there are intractable problems that can't even be solved in principle :P
 
Bob
What you saw above was five nodes. It aborted (with compression) after using 44 GB of RAM, the max limit we defined. Took an hour and a half to get there.
 
2:04 PM
o_O
 
Bob
Uncompressed, that would've taken 500 GB of RAM.
And it wasn't even complete!
 
@Bob does the program have support for running in a distributed manner across multiple logical systems?
 
Bob
@allquixotic There's a swarm mode, but it's quite confusing :P
 
@Bob: eh, you can probably find an off the shelf, second hand server that has that much ram
That or... tomtom's phone.
 
Bob
@JourneymanGeek Sure. I have $10k to spend.
(not)
 
2:06 PM
;p
 
@Bob EC2. Set up a grid that would cost about $100 per hour, turn it on for one hour, start a script that sleeps for 3600 seconds and then submits the shutdown command (to prevent you from paying ridiculous $$$), and do your computation on that :P
 
Bob
And remember that was incomplete 5 nodes.
Six nodes would probably take at least 10x that.
@allquixotic ... that's actually a decent idea
but this isn't important enough to spend that much on :P
Hm. I just tried bitstate mode.
Not complete coverage, but far less memory used.
hash factor: 2.68875 (best if > 100.)
yeahno
 
r3.8xlarge has 244 GiB of RAM and 104 execution units; 2 x 320 GB SSDs. Current price in N. Virginia is $0.956 per Hour for an r3.8xlarge. So you could have 100 of them, for 24,400 GiB of RAM, for $95.60. :P
 
Bob
That might get me a verification of... 6 nodes? maybe 7? :P
 
@Bob geez, how many nodes do you need?
 
Bob
2:09 PM
(of course more of I enable compression, but that would probably run over an hour)
@allquixotic We're settling for 4 with the partial verification of 5. I'm just commenting on the exponential nature.
 
I'm not even sure what you're talking about except BIG NUMBERS :o
 
@Bob but how many nodes do you actually need/have? I don't really understand what this program does, soo...
is it some kind of formal verification system?
 
Bob
> the total complexity in the worst case for each process is O(n*n)
Since the verification is effectively sequential, we have O(n^3) per node.
And O(2^n) for inputs.
 
yikes :o
 
Bob
It's the inputs that kill it :P
@allquixotic Look up Promela/Spin. I've mentioned it a few times here.
@allquixotic Pretty much as many as we can easily achieve, but it's not too important.
 
2:14 PM
@Bob too bad it's not important, or you could have a lot of fun writing up a business justification for burning $100/hr :D
they might even let you do it for a whole day or something
!!help ahh
 
@allquixotic Command ahh does not exist.
 
anyone have a screenshot of the star wall being full of "ahh"?
good enough
!!learn ahh <>http://i.stack.imgur.com/EDfQJ.png
 
@allquixotic Command ahh learned
 
O_O
wait! that $0.956 per hour figure is for Windows on the r3.8xlarge! :D
for Linux it's just $0.256 per hour! :D
so you could have 100 x 244 GiB RAM for $25.60 (for 1 hour) :D
 
2:23 PM
I guess i missed this when i bought that raid card newegg.com/Product/Product.aspx?Item=N82E16816118236 Nobody there (unlike the listing i aquired it) got it to work in anything correctaly. after spending time with support.
 
Bob
@allquixotic ...that's actually doable
 
of course, you'd have to prepare an AWS image with all your software preinstalled and configured, and write a script calling the AWS API to turn everything on once you get the instances
 
Bob
I'm not actually going to do it though :P
it's more trouble getting swarm set up
 
I'm pretty sure Amazon has the spare capacity for sudden spikes like that, too
that's part of what the service is designed for
because really, if you want a server on 24/7 with a sustained load, you really need to buy a dedi -- much more economical
EC2 is really only useful for tiny instances (which are cheap) and for huge, sudden, short-lived spikes
 
the avago buyout of LSI had created a second set of reviews, due to re-listing of it under the new corporations name.
 
2:27 PM
@Psycogeek ahh
 
support was apparently claiming that having it set for 12G was just to much for it :-) and had them turning it down. Yea because data moving to fast will BSOD most operating systems right :-) that is why ram and ramdisks never work.
 
Bob
@allquixotic Also pretty complex to set up distribution for the spikes.
 
@Bob yeah, it has to be scary complex to manage all of it with the requests coming in so unpredictably
and it's scary for buyers, too
if you can afford $25/hour for one or two hours but not for a month, and you accidentally forget to turn it off.... you're screwed
 
Bob
$18000
ouch
 
newegg.com/Product/…-16-103-111--Product
O_O good price
 
2:36 PM
I have now completly re-installed the operating system, and of course it still fails , IT WASNT ME you ba--ards
 
@Psycogeek !! s/--/st/
@Bob please don't do this D: !!no
 
@Bob 0_0 clicking on that gives me a 404
 
@JourneymanGeek ditto, wolf.
 
Bob
@JourneymanGeek wut
...same O_O
 
where wolf?
 
2:39 PM
@JourneymanGeek you're a wolf! :D
 
after re-installing windows 7 i am realsing that any advice i supplied on SuperUser must look totally insane (or inane). you cant DO anything, i cant even tell a zip from an exe. you cant even see admin tools, and finding things like a event log are like finding a straight person in san francisco
 
Bob
wtf
...SEChat, wat r u doin
@JourneymanGeek could you delete the earlier one
turns out SEChat strips the last l: http://i.imgur.com/Lg9DHdl.jpg => http://i.imgur.com/Lg9DHd.jpg
 
weird o_O
 
Bob
@allquixotic remember imgur s m l?
 
2:41 PM
1 message moved to Recycle Bin
 
Bob
@allquixotic lemme just confirm
 
Bob
nope... O_O
 
lol
 
Bob
2:43 PM
I think that's the first time I've ever clicked valid to an offensive chat flag.
 
haven't seen the flag
wonder why
 
Bob
Ok, SEChat only does that for actual imgur, not se.imgur
 
@Bob ain't that cute, crop up the face only and gravitar it.
 
Bob
@Psycogeek that's my planned next Gravatar :D
 
Bob
2:56 PM
23
Q: Chat truncates regular imgur links when they end in 's', 'm', 'l', 'h', ...

badpI have ShareX installed and configured to upload screenshots to Imgur (not Stack Imgur, for perhaps obvious reasons; just Imgur). Chat likes to mangle those links by cutting the image hash part short. For example this image URL: http://i.imgur.com/7zct02s.png Gets rendered like so: <a rel="n...

I wonder... should we be opening a new meta Q since this is marked as when it obviously isn't?
 
We are still seeing incorrect behavior. Specifically, chat.stackexchange.com/transcript/message/18139466#18139466. The thumbnail displays correctly, but the link points to a 404. — murgatroid99 Oct 14 at 1:08
 
Bob
@allquixotic Yes, and I already upvoted that, but he didn't ping Marc so it's probably not seen.
@allquixotic :(
 
@Bob you just want to eat a core on my box, don't you?
 
Bob
While they fix it, you could just impose CPU limits and maybe an autokill.
7
Q: Kill process with high CPU usage after X time?

user30153running linux i have a few processes which tend to crash occasionally (game servers), which end up using 100% cpu. I'm looking for a program or script to check the cpu usage of a list of processes by name and if they are at 100% for more than X time, say 30 seconds, kill them. I tried ps-watcher ...

 
not worth it -- I'm expecting a fix to be issued fairly quickly
I'll pull it into my branch and rebuild as soon as it's in Zirak
 
3:05 PM
well that was fun, i got newegg to drop the re-stocking fee based on the card should not have been sold, and it certannly should not be re-stocked and sold at all. YAY! psyco 1 machines 2639 were winning :-)
 
Bob
>
Lawyer: "Do you know how far pregnant you are now?"
Witness: "I'll be three months on November 8."
Lawyer: "Apparently, then, the date of conception was August 8?"
Witness: "Yes."
Lawyer: "What were you doing at that time?"
4
 
3:25 PM
user image
3
dang good thing it was win7 SP1
 
3:39 PM
update IE8 for 40 minutes, then install IE9 over that, then update it for 30 minutes, while it gets replaced with IE10
 
Could be some manual selection might just save some bandwith and disk space.
 
I've never seen that device :\
 
wow, our app sucks. we have a list of languages in a drop down and it has Hindi and Gujarati, but not Tamil or Telugu @JourneymanGeek
ஏன் எங்கள் விண்ணப்பத்தை தேர்வுகள் ஒன்று தமிழ் மொழி இல்லை?
 
hmm all i have to do to manually install the updates and test each for failures is boot ~150 times. and check the logs 150 times to check for errors on each update. I should have this all back up to full operation in as little as 2 years.
(barring any bugs i catch along the way)
 
3:48 PM
@allquixotic why our application exams one tamil language no?
 
@jokerdino LOL :D
I love Google Translate :D
 
There are a lot of Gujarati and Hindi speakers in US than Tamil or Telugu folks. That's why.
 
-_- not where I work!
 
And a lot of Telugu people can do good Hindi.
 
Tamil is the most spoken language after English here
then Gujarati
 
3:49 PM
Should get it declared as Tamil Nadu's conclave.
 
LOL
 
Hm, totally meant enclave.
brb -- dinner
 
lot of coworkers are from Chennai area
 
4:01 PM
> Dear Dr. DELETE * FROM users;,
 
Bobby Tables' father?
 
lol
 
4:29 PM
I have a question.
Why are 64bit installation media heavier than 32bit ones?
How does the architecture matter for installation media?
 
@AwalGarg They have double the bits and every bit adds up on the total weight of the DVD. (1bit ~= 0.000000001gram)
 
@AwalGarg 64-bit OSes have to contain both 32-bit and 64-bit binaries, for backwards compatibility.
at least for x86. for Itanium, that isn't the case, since Itanium only supports 64-bit.
 
Bob
@allquixotic Itanium has a x86-32 emulation mode
 
@allquixotic ohh that's why! thanks dude :)
@ThatBrazilianGuy lol
 
@Bob oh, I remember that now. I wonder if Windows for Itanium ships the whole x86-32 userspace then?
 
Bob
4:34 PM
@allquixotic Actually, I'm not sure if this emulation is hardware-accelerated or not. Probably not :P
 
@allquixotic outta wild curiosity, you knew this from the top of your head or speculated or searched or what?
 
Bob
But Windows on IA-64 definitely supports x86 binaries.
 
@AwalGarg well I wondered the same thing before, but after thinking about it for 5 minutes I realized why it was.
there are very few operating systems that are "pure" 64-bit with no compatibility libraries or anything for 32-bit programs you may want to run.
and most of those are Linux distros.
 
Bob
@AwalGarg If you directly compare an x86-32 and x86-64 binary, the latter is probably bigger too. That's down to instruction widths and alignment and compiler optimisations. And doesn't account for much.
 
@allquixotic ...hmm, I wonder why I didn't think about it ;p Would take care now XD
 
4:35 PM
Windows, at least, definitely ships both 32-bit and 64-bit binaries for x86 processors.
 
@allquixotic and so do debian and all derivatives.
 
yeah
@Bob yeah, actual binary sizes don't tend to differ all that dramatically from arch to arch, except for Mac's "fat binaries", which actually contain compiles for multiple archictectures within a single file
x86-32 and power at least; possibly also x86-64.
 
@Bob hmm, right. I have seen that difference (which is slight) in a few cases.
 
Bob
@allquixotic The x86-64 binary could actually be smaller if the compiler can optimise into fewer extended instructions :P
But the word alignment tends to overpower that.
 
@Bob and then if you UPX the entire binary, the UPX'ed file size diff between the two should be very, very small
 
4:39 PM
Also, I once worked with Visual Studio, and building the same piece of code on a x86 installation gave me different file size than that on x64.
 
although if you have a binary which contains an enormous bundled resource, like 400 MB of MP3s, and about 200 KB of code, the size is not going to appear relatively significant between any two arches; even Mac's fat binary would only add 400 KB of code (ish), which is dwarved by the size of the media.
so it depends on how much of the binary is actually code, vs. "resources" (bits of other things that aren't code)
@AwalGarg the binary may be embedding info about the compiler -- metadata like "Visual Studio 2010 32-bit" or something -- and the number of bits it takes to represent that might differ between the 32-bit version of VS and the 64-bit
 
@allquixotic IIRC, the difference was larger than that... about a few 100kbs.
No resources were used at all, everything was text output and UI elems.
 
 
6 hours later…
10:43 PM
Bah, a sensible shipping recommendation
0
Q: Which graphics card can pull off 4k resolution at 60Hz?

KugelI got this shiny new 4K monitor (Samsung U28D590) at work but my graphics card (GeForce GT 640) can't do 4K @ 60Hz. I'm connected using HDMI. This is an office computer so no gaming performace is needed. What's the cheapest card that can handle 4K @ 60Hz reliably? Either over HDMI or DisplayPor...

 
10:57 PM
@Hennes shopping?
 
11:29 PM
Yeah. Closed.
 
okfhshfd
The number of unread messages to me was annoying.
 
11:52 PM
Also, the star in the tab label keeps tricking me.
herp
 

« first day (1538 days earlier)      last day (3464 days later) »