« first day (1096 days earlier)      last day (3885 days later) » 

12:00 AM
@MattBear Licensing sucks
 
@MarkHenderson yeah... especially when you gotta try to figure out CAL's vs. Core, do a cost comparison, license individual VM's, etc etc
 
@MattBear Do they still do CAL licensing for SQL?
 
@ChrisS you encased your kid in carbonite!?!?!?!?!
@MarkHenderson yeah, for Standard you get core or cal, Enterprise is only by core
 
The way our apps work we run everything through a broker service, so our Microsoft lady said that we only needed to buy 5 CALs. When she found out that we use those 5 CALs for servicing hundreds of users, she was not happy. But thats what she told us and we have it in writing
@MattBear Interesting. I thought user CALs were totally gone
Maybe SQL 2012 is viable after all
 
12:04 AM
@MattBear That's one of the ultrasound pictures. They can't take 3D movies yet... Tech said to come back next year and they'd probably have it.
 
@ChrisS I know :p I have the same pictures, + video, that was from the private office we went to
 
@ChrisS whooaoaoaoaa
that's so fucking freaky
 
@MarkHenderson almost, they are simplifying the hell out of SQL with 2012
 
@ChrisS @MattBear did you find out the sex of the baby?
 
would be really slick to just buy enough licenses for every core in the VM box, and have unlimited
 
12:06 AM
@MattBear Except you ahve to license the whole cluster
Which costs a goddamn fortune
 
@MarkHenderson depends... right now we have 12 core's licensed for 3 VM's, thats auctually covers the entire box if we just run everything on the one server
 
0
Q: I am building a NAS, 24 HD, I am stuck at what to choose for RAID

David BélangerI've been searching on the Internet (Google...) since one week. I am looking for a RAID controller that will do the following : Work with HD above 2.2TB (if I use a 3TB drive, I can see a 3TB partition in Windows); It will work with cheap Seagate 3TB ST3000DM001; It will work on a Gigabyte Z87X...

^ And that is why it's usually not worth the hassle of building your own storage if you dont know what you're doing
 
What is something I can do that is worth exactly two rep....
 
@Zoredache Need to give away 2 rep today do you?
 
@MarkHenderson Yeah, that's definitely wrong. SQL licensed via CALs requires a CAL for every user or device that "uses" data from the DB. So if you have 100 users connecting to an application, and that application stores the info in a SQL DB, then you need 100 CALs; not 1 CAL for the App Server.
 
12:11 AM
I want exactly 2 so I can hit a specific number.
 
@ChrisS Except we have 100 users that connect to a broker. The broker then passes the request onto one of 5 threads, and they connect to the SQL Server. I drew her a diagram. Those 5 threads queue all of the requests and serve them to SQL in a first come first serve basis.
It's an odd system, but there is actually no direct communication from the end users application to the database
Anyway it saved us a buttload of money
 
@Zoredache At your level, the only real options are: have someone remove a downvote from one of your answer, or get an upvote followed by four downvotes...
 
@MarkHenderson Yeah, it's still 100 users... The middle stuff makes no difference in SQL licensing (unless you using a license model other than CALs)
 
Or do a lot of downvoting yourself
 
@ChrisS Huh. Oh well, I'm not worried. We already passed one Microsoft audit 12 months ago
 
12:13 AM
oh, I got it. I can accept an answer.
 
I don't expect another one for a long time
 
@MichaelHampton So should I accept your snarky answer pointing out that I don't know how to read, or the most upvoted one...
decisions, decisions... serverfault.com/questions/529124/…
 
@MarkHenderson Well here's the stick. If MS busts you on it, you'll probably look good and hard at the cost of switching to Postgres, MySQL, or anything else... And if you do, they get $0.
 
@Zoredache Oh yeah, you can accept an answer. I forgot about that one.
@Zoredache I suggest you accept the one that really helped you out the most.
Hmmm, that's a really good question. I should probably upvote it...
 
Hrm, see your answer is the one that pointed out I didn't know how to read, and sent me back to actually read things. But the other answers might be more useful if anyone else comes to look at it in the future....
 
12:18 AM
@Zoredache Do I have to send you back to read our About page?
> Accepting doesn't mean it's the best answer, it just means that it worked for the person who asked.
 
@MarkHenderson we wont find out till like 16 weeks
 
@MichaelHampton yes, but they all good, and would work. So I get to choose.
 
Well I don't really care if you accept my answer or not. I'm just saying the way it's supposed to work.
 
@ChrisS This is very true
 
12:19 AM
I have plenty of rep :)
 
12:32 AM
Oh, the fun stuff I find in /review...
0
A: URL generates a 302 redirect when clicking it in a link for most browsers - but returns 200 when typing it

Michael HamptonThe site you're linking to has been compromised. It is redirecting visitors to a page which distributes malware (though the page appears to have been taken down). If you know the owner of the site, you may wish to inform them of the problem.

 
@MarkHenderson Think Fast!!
 
@MichaelHampton IP address information Domain schiedsrichterge.bplaced.net is at: 127.0.0.1 (localhost)
Interesting place to host a website from
 
@MarkHenderson Yeah, now that's just their web host taking down the site the stupid way.
 
What.
0
Q: I keep getting militious sql injected into my sites. It's the last possibility

GingerI never come up with malware during scans, no viruses, but a lot of spying, redirecting, fraud ID theft, terrorism, truly, and I don't understand why. I also get random sites that are put on my host like poetry.com, ilife.com, isite.com. I clearly don't own these sites. Every time it happens, I c...

 
Hmmm, better watch out for those military SQL injections.
@ShaneMadden You don't want to know. Trust me on this.
 
12:50 AM
Wow...that last question is beyond horrible...I think my 8 yr old would flag it.
 
@TheCleaner Ow. =(
 
@TheCleaner ive done that...
which is why I dont drink much anymore
 
anybody that's done that and can still be a productive member of society gets kudos.
 
1:08 AM
@TheCleaner I was 22, drunk, figured I would show my buddy how I could kick higher then my head... both feet ended up higher then my head
epic fail lol
 
not good lol
 
1:19 AM
crap... I hate when I delete a bunch of stuff and find I accidentally deleted one thing too many, now I'm not sure what file was that one thing too many.
 
Running Win 8.1 Pro... I fucking love that I installed absolutely clean, yet, simply by using the same Live ID to log in, all my settings are still there waiting for me, favorites/bookmarks, Skydrive, wallpaper choices, everything.
 
@ChrisS probably that useless SysWOW64 or System32 folder
 
@MattBear I'm working on an Android ROM.. So it was an apk file that provides a bunch of widgets.
 
@ShaneMadden Just. Wow.
 
1:35 AM
are 32-bit and 64-bit Windows roaming profiles (in)compatible?
apart from shortcuts needing to change locations...
 
@Andrew I've not seen a 32 vs 64 profile... v1 profiles (XP and earlier) and v2 profiles are incompatible though.
 
@Andrew That sounds awful
 
Looks like v3 profiles (Win 8) are also incompatible with v1/v2
 
@Wesley Go to Citibank!!!!
Free #Huffy with new #Citi checking account. Some assembly required. @ Citibank http://instagram.com/p/eGdQoizCmw/
 
@ewwhite I was gonna say that you needed to hook him up.
 
1:44 AM
@jscott good thing we're avoiding Win8 like the plague then
@jscott yeah, I think it's just stupid stuff like Program Files (x86)
 
@Andrew I'm looking at my profile on both a 32 and 64 bit server 2003 install, and I cannot see any differences, directory wise.
 
@ShaneMadden maybe, maybe not. For a certain class of question ("what sort of froobitzes support version 3 of the quargle protocol") it sounds useful
@jscott but if you'd hardcoded any file associations they'd break
 
@Andrew How so?
 
or maybe that's only Vista upwards with the (x86) folders
@jscott e.g. if you had "C:\program files\my cool viewer\viewer.exe", and the default install on 64-bit dumped it into "C:\program files (x86)"
 
@Andrew Questions along the lines of "does a product exist that does X, Y, Z exist?" can survive here if framed correctly - if something's actually extremely difficult to find that does those things and the asker has done their research.
Heck, I've asked one.
But, that site as proposed would be nothing but "which router should I buy?" and "what's the cheapest best server?"
(by the way, mine:)
7
Q: Alternatives to Dell's mirrored SD card module for booting a small OS from flash?

Shane MaddenDell offers an add-on hardware card for some of their servers that provides a poor man's RAID1 between two SD cards (one card gets all the reads until it dies, writes are mirrored) for booting a simple OS that has very little write load to the OS storage (ie ESXi) - see here (warning: PDF link). ...

 
1:52 AM
Like...
7
Q: Need a gigabit switch that can be PoE powered

erikcwI'm in need of a gigabit switch that can be powered via PoE. There isn't any A/C power in the area. Suggestions?

 
2:02 AM
@ShaneMadden it's certainly a difficult problem to solve, trying to evaluate different pieces of specialised hardware - you (usually) can't just read a comparison review online
the professional response is probably "ask your supplier", the SE response is "ask in chat"
8
Q: Is a "Shopping" site even possible on StackExchange?

TheCleanerAlmost every site that I've seen on the SE network contends that Shopping Questions are taboo and off-topic. Likely this is due to trying to prevent opinionated answers or lengthy discussions back and forth "This rocks!" "Meh, it sucks" "NO, it doesn't!" etc. The About page on StackExchange.com...

 
2:15 AM
@Liunx You should merge your two accounts.
 
@ewwhite Isn't a Huffy worse than no bike at all?
Bike shaped objects < no bike at all.
 
@Wesley How do you not have a bike by now???
 
@ShaneMadden I'm still thinking over my options.
@ScottPack We should totally do some Greco-Roman oil wrestling sparring matches.
 
@Andrew Profiles are compatible between x86, amd64, and ia64. As jscott pointed out, the different versions aren't compatible.
 
2:57 AM
So I've been looking into some Puppet training...
not what I was expecting
 
But there's a Puppet class close, starting next week.
So I'm just going to bite the bullet.
 
@ChrisS yeah, just trying to track down some strange issues on a 64-bit machine...
 
3:20 AM
@ewwhite Guy I know from high school became a puppeteer
He then switched to writing comic books
 
@MarkHenderson have you seen simonhackett.com/2013/07/17/nbn-fibre-on-a-copper-budget - it's an interesting "save money, increase rollout speed, increase competition" approach which the Libs should jump on
(except Murdoch is calling the shots, so pigs might fly etc.)
 
3:40 AM
@Andrew Don't hve time to watch it right now
Was hoping it was a summary :p
I'm not entirely sure exactly what gold plated connectors they were buying to cost it at so many billions of dollars
There's no doubt that it could be done cheaper
 
@MarkHenderson Probably hired a couple dozen consultants.
 
@MarkHenderson basically: drop the 6-port vendor-locked NTU & deliver a GPON fibre port for a RSP router to plug into; drop back to 14 (7*dual/redundant) POIs; dump the QoS stuff out of the core network (the NBN doesn't have inherent bandwidth limitations, the QoS is artificial limiting so they can sell unlocks)
 
@Magellan I was once involved in a government contract. The chain went: Government > Auditor > Large Company > Contractor > Us. By the time we were getting paid, we were still getting paid too much for what we were doing, and except the company immediately above us were doing nothing for their slice of the pie. I shudder to think how much the top of the chain was getting paid
 
Nobody else in the world is doing the "4 independent ethernet ports + 2 independent POTS ports" thing that the current NBN NTUs are. Sure, it's cool in theory, but horrible in practice. Nobody is going to want the POTS ports for much longer anyway. The security / alarm companys that "need" PSTN? Not compatible anyway!
 
@Andrew Sounds like a good market for a battery-backed ATA
 
3:50 AM
@Magellan Ever had much use for the lambda / proc concept in Ruby yet?
 
@Wesley Nope. I'm admittedly still in the scripting phase of my Rubying, doing things that are just a little too complex for Bash.
 
@Wesley Sooo handy in Python for doing a map-reduce.
 
I'm definitely no programmer. I barely even understand map-reduce.
 
@Magellan Looks neat in theory but I'm not at a stage where any code would benefit form it, so it's not sticking. cc@MikeyB
 
@MichaelHampton It's a convenient mechanism that crops up in a few places - distributed computing and data aggregation. It can make nice code: (taken from code I wrote to aggregate statistics)
    # For a given given test, we now have a set of results 'rset'
    # to be aggregated
    total_mb = reduce(operator.add, map(lambda x: x.mb, rset))
    total_iops,mean_ms = reduce(op_wmean, map(lambda x: (x.iops,x.ms), rset))
    global_min = min(map(lambda x: x.min, rset))
    global_max = max(map(lambda x: x.max, rset))
    # stats.stackexchange.com/q/21999/27767
    _,mean_variance  = reduce(op_wmean, map(
        lambda x: (x.iops,x.std**2), rset
    ))
    _,variance_means = reduce(op_wmean, map(
OK, yes, looking at it, that first line can just be a sum() instead of reduce(...)... heh.
Lambdas are also really nice for refactoring lines of code that do too much work but they don't really need a full function.
baseFile = sorted(baseFiles, key=lambda x: x.split('_')[2].rstrip('.xml.gz'))[-1]
I use it a lot for sorting things...
@Wesley I'm sure you've used same construct in javascript?
 
4:11 AM
@MikeyB Nerp. Never did much JavaScript except to dick with the DOM a leetle bit.
My C tomfoolery was never deep enough to get into concepts like that either. Was just ANSI library stuff, making lists and tooling around with dice games and whatnot.
My C dice game was the best dice pair rolling game of all time! Of all time!!
 
@Wesley Used all the freakin' time for callbacks, etc: f = function() {return window.wibble(); }
 
I let it run for a weekend calculating statistics on number pairs. The PowerPC 603e I had then would probably compare very, very unfavorably to my iPhone's A6
@MikeyB Ohhh, okay.
 
Hell, I don't even know what language that is.
 
@MichaelHampton Despite that, you can probably still read it? :)
@Wesley Oohh ooohh I have something relevant to that.
 
@MikeyB Yeah, I can mostly make out what it's doing in general. Assuming I understand map and reduce, which I'm not so sure about.
 
4:21 AM
@MichaelHampton Think of it as map -> vector operation on a set of items, reduce -> consolidate a set of items down to a single value/set of values
Came across [Loop Nest Optimization](http://en.wikipedia.org/wiki/Loop_nest_optimization) this morning:
"This code would run quite acceptably on a Cray Y-MP (built in the early 1980s), which can sustain 0.8 multiply–adds per memory operation to main memory. A machine like a 2.8 GHz Pentium 4, built in 2003, has slightly less memory bandwidth and vastly better floating point, so that it can sustain 16.5 multiply–adds per memory operation. As a result, the code above will run slower on the 2.8 GHz Pentium 4 than on the 166 MHz Y-MP!"
 
@MikeyB wat
 
@MichaelHampton Oh, and op_wmean is a weighted mean operator designed for reduce:
def op_wmean( (w1,v1), (w2,v2) ):
    '''Returns weighted mean of T1, T2 where each T-value is (weight,value)'''
    return (w1+w2),(float((w1*v1 + w2*v2)) / (w1+w2))
 
Python?
 
OK powershell people (@MDMarra) I am having the most fucked up issue
 
I think I failed map-reduce :/
 
4:29 AM
The following command: C:\Data\Websites\AJGrant\FBZip\FBZip.exe -e -p "c:\temp\684540A5C01D4CA4A7D1958AE18001EB.zip" "c:\temp\EFD6ED46C8FC4334B4EA9E2045E36502"
Works FINE when I paste it into powershell
It does NOT work when I paste it into CMD
Its not even a powershell command
Fuck it, never mind. My powershell is open as administrator and my cmd isn't
Fuck my brain is dead today
 
@MichaelHampton Yep
@MarkHenderson Is it possible to show the current user in your powershell prompt?
 
@MikeyB It is
I should have even known because my PS path has a red > when in admin mode
 
who knows apache?
it's a "am i doing it rite" question
 
4:47 AM
@MattBear You're not :)
You misspelled "nginx"
 
@MichaelHampton probably :p
nginx is better?
 
I switched five years ago before anybody had even heard of it.
 
@MichaelHampton well... I dont have that option right now lol
I just need to figure out if I'm doing max clients right
though if I ever get some spare time, I'm going to switch the Ubuntu servers over to something else, and nginx is a option too
 
It should be enough to serve all your expected traffic and more, but not enough to drive you so far into swap that your server falls over.
 
@MichaelHampton 100 clients with 3.5 gb ram on the VM?
 
4:53 AM
Are you swapping?
Apache will print a warning in its main error log if MaxClients is too low.
 
@MichaelHampton it was doing that, so I expanded the VM
 
If MaxClients is too high then you give your server more memory...
 
I had it at 1.5 gb with 40 max clients, and it was too low, so I brought it up to 3.5 with 100
 
Because you aren't ever going to adjust it downward unless your traffic drops off (BAD NEWS!) or you rearchitect the whole thing from scratch.
 
@MichaelHampton if it starts swapping too much, can it cause apache to hang?
 
4:55 AM
Apache and everything else.
 
k
100 is reasonable for 3.5 gb right?
 
Not coincidentally this is one of the reasons I switched to nginx.
 
Damn, time's got away from me.... Need to sleep
 
Depends on what you're running.
 
@MichaelHampton nothing crazy
 
4:57 AM
@MattBear I'd say so, I have an Apache server handling a php heavy app with 300 simultaneous visitors and up to 10 page views a second on a 4GB piece of metal and it's nowhere near swapping.
 
Got my phone upgraded to Jelly Bean though. Have to do the wife's tomorrow...
 
@Wesley Just be glad it's not Drupal, or worse, Magento. It would have been dead already.
 
@Wesley its got 8 php sites running on it, but no real heavy use
 
@MichaelHampton And to think I almost contracted out to a Magento development house to wrangle their cloud sprawl (they wanted 20-something $ per hour. Haw.) =P
 
@Wesley 20-something?!
 
4:59 AM
oh and... just to be on the star wall
@Wesley POOOOOOOOP
 
@MichaelHampton I laughed at them, but they also laughed at me when I suggest no less than double that for a full work week for six months to wrangle.
I'm sad I even suggested $50 an hour for a 1,000 hour contract possibility, but when they were shocked at that price, I knew they needed to go play in traffic.
 
is there any equivalent to DFS-R in the linux world?
 
@Wesley The fuck. I would have just told them point blank "You're missing a zero here."
 
@MichaelHampton It was absurd. I mean, unfathomable. I'd like to know what poor sap they found to fill that position.
 
@MattBear not exactly... you can supposedly just point the supported DFS bits of Samba at a clustered filesystem and it "just works", but I've not tried it
 
5:01 AM
@MattBear Sadly, nothing nearly as badass that I've been able to find. =(
 
@MattBear If you're talking about MaxClients and "doing it right", the answer is probably no... But doing it "right" takes a lot more time than throwing more RAM at the problem.
 
how do you handle load balanced web servers then?
meaning when a staging site is deployed to production, how do you push it to both servers?
 
Upload it and then change a symlink at the right time.
 
@ChrisS how do you "do it right'?
 
@MattBear clustered replicated filesystem? DFS-R does sync and async replication, right?
 
5:08 AM
@MattBear Depends on the size of your cluster. large systems will typically take down a set of servers, upgrade them (test, etc), and then atomically swap out the old for the new. Then take the old ones and upgrade them as well.
 
@MichaelHampton Presumably that's just for file distribution, not a configuration management scheme :O
 
@tylerl unfortunately we aren't that sophisticated, right now it's one VM hosting multiple sites, testing is done on a staging VM, when the code's approved, the dev pushs it to production over FTP
 
@tylerl Distributing a new version of the web application was what we were discussing.
@MattBear Capistrano, nuff said.
 
@MichaelHampton Yeah, and they got the idea from xcat. Who got the idea from me.
 
5:12 AM
@MattBear That doesn't sound like "load balanced web servers"
 
@tylerl it's not, yet
 
@MattBear The way I set it up at Discourse, the jenkins job turns off an application server at haproxy, pushes the code to it, then turns it back on. Rinse and repeat.
 
@tylerl but it will be as soon as I have the deployment process figured out
 
It would be nice to make it more or less atomic, but fucking ruby on rails takes like 20 seconds for an app server to start up. OK, maybe not 20... but much bigger than epsilon.
@MattBear symlinks man, SYMLINKS
 
@MattBear Pull the server out of the cluster, upgrade it using any file-copy mechanism feels appropriate, restart necessary services, re-insert into cluster.
 
5:19 AM
@MikeyB ok, I get it, the files only exist in one location, and both servers point to them
right?
 
@MattBear Naw, actually put it on both servers, but that takes time right? So upload it at your convenience, then switching to the new code just changes the 'production' symlink to point to the new tree - an "instant" operation.
 
lrwxrwxrwx.  1 deploy deploy   56 Sep  8 15:43 current -> releases/20130908154319
drwxrwxr-x+ 13 deploy deploy 4096 Aug 31 16:23 releases/20130831162247
drwxrwxr-x+ 13 deploy deploy 4096 Sep  8 15:08 releases/20130908150806
drwxrwxr-x+ 13 deploy deploy 4096 Sep  8 15:43 releases/20130908154319
 
Ideally what I want is a hot swap production/staging environment, 2 farms, 1 proxy, production and staging are swapped via a console at the proxy, essentially staging vhost is updated and tested, then promoted with a single click that swaps the IP's in the proxy
 
Hmm. You could. Though that strikes me as a bit overdone. Unless, of course, your developers are incapable of writing decent code.
 
@MattBear Use haproxy and put production and staging on both farms?
 
5:26 AM
thats a safe assumption to make - if you're wrong, you have a backup for other things blowing up ;p
 
@MikeyB yup, pretty much
gives me a one click roll back if something is royally screwed
 
Anyone comprehend this?
0
Q: Automounting encrypted filesystem (using random key), residing in regular file under CentOS 6.*

Konstantin BoyandinTask: in CentOS 6.x system, set up and mount automatically encrypted filesystem, residing within a regular file, using one-time (random) key. /etc/crypttab in CentOS 6.* doesn't allow using plain file as block device to mount and map automatically. So, /etc/crypttab line like this cfs /var/f...

 
@Andrew Yes. He's just doing it wrong, nothing big.
 
Now this on the other hand:
0
Q: How to Run Migrations Update PG Database in VPS Digital Ocean

Jngai1297This is my first time at serverfault. I usually just use stackoverflow. I usually use the mac as well and linux is not my primary machine. I recently switched temporarily because I have to deploy a rails app to a virtual private server that I got from digital ocean. I used this tutorial https:/...

I have never seen PostgreSQL abbreviated as "PG"
 
@Andrew I have
 
5:32 AM
@Andrew You're missing it then.
 
@MikeyB Yeah, we run MySQL pretty exclusively (except our MSSQL server)
 
@Andrew Found in the very first place I tried: php.net/manual/en/book.pgsql.php
pg_connect, etc.
 
I wouldn't use MySQL at all if I didn't have fucking stupid PHP apps that require it.
 
@tylerl ... libpg, ruby-pg, ...
 
@tylerl you're strange, looking at the PHP manual when the question is talking about Rails...
I googled "PG Databases" and got results that were alll postgres
 
5:35 AM
@Andrew Not looking for question about rails, looking for libraries that abbreviate postgres as "PG"... which is pretty much all of them.
 
"I have a pg db" doesn't clearly indicate to me that that's the DB engine, sounds like "pg" is some sort of use case / product name
 
postgres?
yeah, looks like that to me
hehe. I wonder if he's running discourse ;p
 
blah. maybe because we use a horrible product which is abbreviated as "PG" :(
 
@Andrew which is that?
 
@Andrew He's close. On ubuntu, I'd just do: "cfs /var/file-with-encrypted-filesystem /dev/urandom tmp=ext4" to make a one-time crypted filesystem.
@JourneymanGeek No, not with the cap deploy. And my instructions would work :P
 
5:46 AM
@MikeyB How does that work? You're not even specifying a file size or path for your one-time-use loop file.
 
@Andrew "The problem is I just added a new migration on my rails app and if I run rake db:migrate I am updating the tables/schema on my local development database." lolwut?
@tylerl Yeah, it'll need to already exist, whether it's a file or a device.
 
@MikeyB So it reformats the existing file on every reboot?
 
@tylerl exactly.
/dev/mapper/cfs          240M  2.1M  226M   1% /mnt/tmp
   tmp=<tmpfs>
       Run mkfs with filesystem type <tmpfs> on the created
       device. Default is ext4.
 
@MikeyB Looks like Centos 6 has that option too -- he's just using it wrong?
 
@tylerl region-specific payroll software.
 
5:51 AM
@MikeyB Or maybe not:
tmp The encrypted block device will be prepared for using it as tmp partition: it will be formatted using....
"block device"
while manpage from ubu simply says run mkfs with fypesystem type...
 
@tylerl yeah, he just says tmp instead of tmp=ext4. Really, who cares if the filesystem goes down hard, may as well use ext2. Oh, and yes, a file will become a block device.
 
@MikeyB "try running it on the correct machine?"
@tylerl losetup
 
@MikeyB No, I mean could be that the RH version will not allow it if the destination is a not a block device.
@Andrew Exactly
 
@tylerl Well yeah, that was his original complaint.
 
perhaps ubu will losetup automatically while RH won't. Which would be odd since the RH version contains this gem at the bottom of the manpage:
 The /etc/crypttab file format is based on the Debian cryptsetup package, and is intended to be compatible.
So, we took the cryptsetup package and deftly removed a few features for "enterprisey" reasons
 
5:55 AM
@tylerl "The encrypted block device". The UNENCRYPTED file becomes the ENCRYPTED block device.
 
@MikeyB good point.
 
@MikeyB Go to sleep.
 
@Wesley Hello
 
> Cryptsetup is usually used directly on a block device (disk partition or LVM volume). However, if the device argument is a file, cryptsetup tries to allocate a loopback device and map it into this file.
"NOTES ON LOOPBACK DEVICE USE" from the Ubuntu manpage for cryptsetup... so yeah.
 
6:02 AM
@Andrew Yeah, works just fine on ubuntu, not so much on RH. But easy to do... see shortly.
@tylerl It's weird... RH has /etc/cryptfile and I can't find anything that actually starts up the disks.
 
@MikeyB dm-crypt kernel module magic?
 
@Andrew shrug
 
blame udev
 
I'd probably just set it up in a bash script run from rc.d
45 seconds of typing, and save myself an hour of research
 
@tylerl Yeah, that's what I posted :)
 
6:11 AM
@MikeyB It would have to be in the initrd, since that's where the fstab run happens, and you'd need to have the crypt fs available at that point
 
@tylerl Yeah, although it should also be in the normal userspace somewhere. Ubuntu has cryptdisks_start.
SHINY NEW install is Ubuntu 13.04 with luks FDE on a 512GB SSD. Ooooohhhh baby SHIT HAPPENS FAST!
 
morning
@DennisKaarsemaker http://securityreactions.tumblr.com/post/60844951863/brute-force-attack
@Wesley Terrorizer's World Downfall
 
Holy shite. Until just now, I never realized that Bryan Cranston (Walter White) played Hal on MitM.
 
@MikeyB Wow. 13.04 -- brave man.
 
@tylerl Meh, laptop. I was on 12.04 until today, then I just figured "meh, fuck that". LIVE DANGEROUSLY
 
6:23 AM
I've reverted two installations back to 12.10. I keep thinking they've just GOT to have it figured out by now... and then.. nope.
Here's a useful fact: the ubuntu in-place upgrader will create a subvolume snapshot if you use btrfs for /. Handy for rolling that sh*t back.
saved me days of headaches.
 
@tylerl if I can work out how to boot an LVM snapshot...
 
@Andrew ?
 
@tylerl 12.10 install on LVM, if I can snapshot & know how to roll back I'll try upgrading to 13.04
 
heh, need to upgrade my desktop linux install at some point ;p
tho, I run kubuntu, none of that unity crap ;p
 
@Andrew are LVM snapshots read-only? That sounds familiar.
 
6:29 AM
@tylerl Sup dawwwwwg!
@dawud Ohhhh, checking it out now.
 
Nope. not read only as of LVM 2. tldp.org/HOWTO/LVM-HOWTO/snapshotintro.html
So a snapshot is just a different device path with the caveat that it could disappear at any moment.
 
@tylerl totally stable.
 
@dawud Did you ever get into Cattle Decapitation?
I wish they had done more albums.
Oh what could have been.
I like Cattle Decapitation.
 
@Andrew I mean, you make too many modifications to the primary and exhaust your snapshot storage space. Then the snapshot is no more.
 
@Wesley nope, I'll check it out
 
6:32 AM
@dawud Four albums is a good run though, so still a good catalog.
 
> If the snapshot logical volume becomes full it will be dropped (become unusable) so it is vitally important to allocate enough space. The amount of space necessary is dependent on the usage of the snapshot, so there is no set recipe to follow for this. If the snapshot size equals the origin size, it will never overflow.
 
@dawud Gotta love songs with names like "Open human head experiments with bleach, laquer and epoxy" and "Carnal fecophelia due to prolonged exposure to methane"
 
lol
 
free: 11.14g
 
They're cool guys and didn't seem to take themselves too seriously. Legit though.
 
6:34 AM
@Wesley As a hobby?
 
yeah, I'm good.
 
@tylerl There wasn't much to do for fun growing up in Oregon. =(
Sometimes you just have to sever a cow's head.
 
@Wesley reminds of the County Medical Examiners
 
@dawud Googling
 
@Wesley IIRC they were actual medical examiners :D
 
6:38 AM
@dawud Oh wow this is awesome.
 
@Wesley It says: 'Putrid beauty from "Forensic Fugues And Medicolegal Medleys". Lyrics below.' How can you resist?
 
@dawud Speaking of Carcass, I can't ever tell if Bill Steer is either a very pretty man or an ugly woman.
 
lol
 
Speaking of livestock mutilation and botched autopsies, I'm going to bed. Night all.
 
Well, I just spent several hours writing code in Javascript. Hopefully that never has to happen again.
 
6:47 AM
> I have a windows server 2008 r2 and i have uploaded sites there.
- http://serverfault.com/questions/537989/how-to-find-the-joomla-versions-of-all-sites-on-my-server
-5
Q: How to find a reliable diablo3 gold supplier online?

ken shinHow to find a reliable store online for diablo3 gold cheap? I like the name and site service of (possible spam name removed) when searching online. But I need more information to judge a website. Need help.

that tag's gonna need a burnin'
 
@Andrew Running Joomla on a Windows server must be some sort of cosmic nexus of security fail.
 
@tylerl s/ on a Windows server//
 
@Andrew Oh, sure. You get triple-word-score for just installing Joomla at all. But it takes a special kind of person to say "I need a nice solid CMS engine to run on IIS7. I know, JOOMLA!"
 
And when people say, "PHP is a perfectly fine language, look at how many people use it." Now you can point and say "yeah, and they install Joomla on Windows". Perfectly reasonable indeed.
 
6:54 AM
We had a server that we let people install stuff like Mambo and Joomla on, once. Then it started hosting Bank of America, botnet C&C, fun stuff like that
 
@Andrew You know, I make a living off exactly that.
The people, not the bank of america botnets.
 
PHP makes it very easy to turn "dynamically include code" into "dynamically pwn your server lol"
@tylerl yeah, we were doing it for some friends, for free. non-technical people.
 
The best argument WRT PHP is the rise and popularity of PHP-based web framework (CI,Cake,etc). And you say, ruby has rails, C# has ASP.NET [MVC], python has django. Why can't PHP have CakePHP?
And the answer is, because PHP is a web framework. The mere existence of the 3 dozen PHP-based web frameworks shows that the language is particularly crappy at the only thing it was built to do.
</rant>
 
@tylerl: and php hosting is cheap, and simple
Thats the biggest thing
 

« first day (1096 days earlier)      last day (3885 days later) »