« first day (716 days earlier)      last day (4233 days later) » 

2:00 PM
Relatively speaking, hard drives are dirt cheap compared to the data itself. So it doesn't hurt to have multiple copies of stuff in different geographical locations.
 
@Mysticial well, the "different geographical locations" part is less cheap. And storing data is easy, transferring it less so. To a lot of people, uploading a few terabytes of data to a remote location takes a nontrivial amount of time :)
 
@Mysticial but you still need to factor just how likely I think my hard-drives are going to get brunt/EMPed over the cost of paying for remote backup
 
@jalf True. For me, I just drop a couple of hard drives off every time I go home.
 
@jalf it's only an initial thing
I would just settle for a NAS box in the attic or something to mirror to
 
For more important stuff (such as the source code for my personal projects), I encrypt and put it on the cloud.
 
2:02 PM
@Mysticial ¬_¬ I hate that term
 
@jalf I shove C: onto a plug-in, (which is now too small, yes), and Anne takes it to mother-in-laws when visiting. She stores it in a ceramic cow on the mantelpiece.
 
@thecoshman which term?
 
@Mysticial 99% certain that' ll be 'cloud'.
Backups under a cloud, my ISP is slow crap, I need local store.
 
the cloud is the roxxors, if you have an obscene interwebs connection
 
Out here in the sticks, the data rate is so slow, you can see bits move.
@thecoshman I had one hard-drive that had to be 'tuned' as it warmed up by changing the torque on its mounting screws.
 
2:23 PM
@Fanael Because I'm an idiot.
11
@jalf How pricey?
I'm hoping that the drives starting up cold will run long enough to get a "dd" backup.
 
wtf's wrong with you people
nobody else starred him calling himself an idiot?
 
Yeah! Star that bitch!
 
@DeadMG Heh - I think he's suffering enough at the moment without our help.
 
@MartinJames Yes, suffering is the word. :-)
Ironic thing is I was thinking just last week how I really needed to back it up.
 
With as handle like yours: 'a monstrous creature with parts from multiple animals', I mighta expected a RAID disaster <g>
 
2:28 PM
@MartinJames LOL
 
I farted
5
 
I'm about to.
 
Xeo
Baaack.
 
I farted again
6
 
2:30 PM
^ Early electronic music (The Who "Baba O'Reilly")
 
@Cheersandhth.-Alf DON'T CRYYYY
 
@Cheersandhth.-Alf Dreck! Our TV server is chock-full of multiple redundant copies of CSI etc. I'm thinking of putting a bid in for @Chimera RAID box.
 
@MartinJames Oh where's this RAID box now?
 
@MartinJames :-)
 
@jornak Naxxramas, I think.
 
2:34 PM
@jornak Probably in pieces underneath @Chimera office window.
 
Can we make the topic about backups or something like that?
 
@DeadMG Naxxramas 2 ez
 
@MartinJames LOL
 
@MartinJames you know me so well :D
 
@Chimera A 4 disk RAID0?
 
2:35 PM
@Mysticial James got it :P
 
@Collin Yep... How stupid of me to not back it up.. I only had a 400% higher chance of a failure.
 
@Chimera So you came here to get admonished for it? Brave of you.
 
@DeadMG relevant
 
@Collin To tell me story so nobody else has to suffer the same fate. Learn from me!
@Cheersandhth.-Alf Excellent song!
 
@MartinJames lulz
 
2:39 PM
That's ok, I should really set up monitoring on my raid 5 box.. it was running degraded for like a month because it randomly kicked a drive before I bothered to run cat /proc/mdstat :-P
 
@Chimera I have 2x 2-disk RAID1's for that reason. With proper software, you might actually get more reliability from it :)
 
I farted for a third time
but this time I made sure it was in sehe's general direction
 
@MartinJames We got ourselves a new poet!
 
@sehe Yeah, the sad thing is the controller is a hardware RAID card that supports nearly every mode.. And I build a stupid RAID0. :-(
 
Aug 31 at 21:17, by Wesley
i mean the chat wasnt moving
^ you fill a void /cc @MartinJames
 
2:41 PM
 
But on the bright side, the Adaptec 2405 is a nice card.
 
You want to take something that's really bad and replace it with something that's exceedingly marginally better? Pro tip: Don't. — DeadMG 1 min ago
lol
 
@Chimera yes, i think so. it is perhaps instrumentally obviously 1970's but composition is ahead of its time
 
@Chimera lol, people will only learn when they balls up them selves
 
RAID0? RAID1? Psssh, RAID5's where it's at.
 
2:43 PM
RAID is redundant
oh wait...
 
fail
 
@jornak Nope. Old, buggy bull shit. RAIDz (Raidz2, raidz3) is what you need: no more raid5 write holes!
 
Mind you I have an Areca ARC-1160
I love dat bish
 
@jornak I always ran RAID5 on my servers.
 
@sehe Someone mentioned Haiku, so..
 
2:45 PM
@MartinJames I saw it. But you seem to have found a vocation in honouring the request :)
 
@sehe That's what battery backed controllers and disks are for
 
@Chimera Only ever worked, (knowingly) on one RAID 5 - Dell fileserver. Waited three years for one of the disks to fail so I could try plugging in another. Never happened:(
 
Apr 8 at 5:51, by Domagoj Pandža
@Hoxieboy A poet? For I have passed through the valley of stacks, to which every automatic variable maps. I have battled the heap, and sometimes my code has sunk like a ship. Like Titanic, less than six days from now, to its dead we shall bow. For the hundreth time, a century - until we are all dead - eventually. It's really quite elementary.
@jornak Nope. It's why you should have a modern raid solution. But, UPS and backup powered controllers help, a little
 
Google's home page is just beautifully simple. I love it :)
If only all other pages were like that. Life would be so much better.
 
@sehe RAID-Z(2) isn't even technically RAID :P
 
2:48 PM
I'm donating my rep to charity
 
@jornak how so (inb4 an oldfashioned, arbitrarily restricted definition of arrays that excludes superior technology)
 
bah, RAID has gone silly
how many floored alternatives to 'mirror on a separate machine' do we need?
 
@sehe Hey I grew up with that definition, I resent your comment. :P
@thecoshman 'bout tree fiddy.
 
Just out of curiosity, is anyone here familiar with the 'Micro-C' C compiler for MS/DOS?
 
Hi! I'm trying to create a RAII helper class that will help me push/pop stuff from a std::stack. What i'm missing is the inferring of the template<class Ty> for the class. The definition goes: template<class Ty> class StackHelper { StackHelper(stack<Ty> s, Ty t){...} }; std::stack<int> mystack; StackHelper sh(mystack, 7); new i'd like to see inferred that Ty needs to be int. is that possible?
 
2:53 PM
@GnomeSlice Inquiring about a C compiler (and a shitty one at that) in a C++ room? Absurd!
 
@jornak I grew up with that too. I love ZFS, though. I used to run OpenSolaris just for that on my fileserver
@RedX With a function. Template arguments are only ever inferred for function templates.
 
ah ok thx
 
@RedX I have no idea what you are asking for, perhaps this could help though
 
i keep forgettin that
 
@jornak ...Ouch. I was just wondering. I always wondered why my father had 'Micro C' vanity plates when I was younger, and it turns out it's because he released a compiler by the name that generated a lot of income for our family.
But, I appreciate your honesty, I guess...
 
2:55 PM
@RedX template <typename T> StackHelper<T> PushHelper(stack<T> & s, T val) { return StackHelper<T>(s, val); } comes to mind
 
Anyway, I was just curious if any of you had heard of it, from my understanding, it was pretty popular at one point.
Also, isn't this the general chat room for SO?
 
@MartinJames This is the first time I've had a drive fail on me.
 
@GnomeSlice Nominally it's about C++. But not always.
 
@GnomeSlice That's actually kind of cool. (Well, it was, at least). Nice family legend
 
@GnomeSlice Yes.
 
2:56 PM
@GnomeSlice Ah so your mom is Sharleen then? :P
 
And by general I mean we don't like any questions, C++ included.
Read the rules.
 
@jornak Y... Yes.
How did you know that?
 
@GnomeSlice I used to date her back in the day.
2
 
@jornak Oh, okay.
ಠ_ಠ
 
What.
 
2:58 PM
@GnomeSlice It won't run anymore anyway, (like your fathers' Oldsmobile), - no support for 16-bit apps on newer OS.
 
@GnomeSlice Wait Gnomeslice how old are you? <_<
 
This is a setup for very elaborate yo momma joke, right?
 
@MartinJames Yeah, I know it's outdated NOW. I think my dad still uses it though. He still does all of his work in assembly language, and he mostly uses DOS at home.
@jornak 20, why?
 
@GnomeSlice Oh... gods...
 
@jornak ????
 
2:59 PM
@GnomeSlice I think I might be your real father.
 
@jornak No, he's in the bathroom right now.
Oh.
I get it.
 
@jornak OK, DNA tests all round..
 
har har har
 
I'm tired.
 
@GnomeSlice Heh, I'm just messing with you, I whoised the domain and then just went from there
 
3:00 PM
@jornak Gee, you really pulled the wool over my eyes on that one.
 
@GnomeSlice That's 'cos his code's in the toilet.
 
@GnomeSlice I know I'm so smart right
 
@jornak We kinda guessed..
 
@MartinJames I dunno, he's pretty good at what he does...
 
@MartinJames Well no shit :P
 
3:01 PM
@jornak My Delphi 2009 code needs an enema.
 
@MartinJames You know when I was younger I thought enema was just a mispronunciation of enemy, like deep south accent style
"The enema of my enema is my friend."
 
@jornak Looking at my protocol code again, could go either way..
 
@GnomeSlice For a rather belated answer, yes. So you're Dave's son, eh?
 
FUCK JAVA AND RETARDED == COMPARING REFERENCES.
21
 
> A 2D array decays to a pointer-to-pointer
this is wrong per what I learned here the other day, right?
 
3:04 PM
@JerryCoffin inb4 @JerryCoffin banged @GnomeSlice 's mom
 
@CatPlusPlus oh all the things in Java moan about, you pick that o_0
 
@CatPlusPlus I shot me in the foot there not so long ago.
 
@thecoshman This is one of the most annoying things, because it's not just boilerplate but straight counterintuitive.
 
@CatPlusPlus depends on your view point. it's like comparing two address' with ==
 
No, it's retarded and useless for anything but very few specific cases.
 
3:07 PM
@CatPlusPlus Counter-intuitive...? You mean like std::map::operator[]?
 
And if you want to go to comparing addresses, C strings and == behaviour on them is stupid too.
 
@TonyTheLion Yes.
 
of for sure, you hardly ever care if the object is the same, you want to know if the value is the same
 
Point is, you don't want to compare addresses almost EVER.
 
@CatPlusPlus I'm pretty sure I remember using == to compare object ponters in another language.
 
3:07 PM
@DeadMG huh
 
It should be completely separate operator for when you do need it.
 
@thecoshman Yes -- basically Java copying C's stupid behavior for strings, instead of even attempting to copy virtually the first thing every C++ programmer fixes the minute they learn about operator overloading.
 
Not ==.
Ever.
 
@TonyTheLion What?
 
0
A: How to copy matrix in C?

Tony The LionThe problem is that you're passing a single pointer to your function, which can only point to an element in a single dimensional array. So you can access elements in a 2D array with a single pointer, but you need to do it like so: void matriscopy (int * destmat, int * srcmat, int rowcount, int ...

then the first answer is wrong
 
3:08 PM
yes, it is
go ahead and downvote it for being Wrong.
 
@JerryCoffin Yes, do you know him?
 
But of course for Java to make sense, it would have to be designed by people who aren't morons.
 
@GnomeSlice Never met personally, but years ago, he posted (a little) on the Fidonet C_ECHO, of which I was a moderator.
 
@TonyTheLion depends on the declaration of the 2d array, IIRC
@MartinJames .NET has Object.ReferenceEquals, since equality (operators) can be overridden
 
ohhh @JerryCoffin is an owner now :)
 
3:12 PM
@TonyTheLion 'The problem is that you're passing a single pointer to your function' - never going to be an issue. If you can pass one pointer, you can pass anything.
 
arrrrghhhhhh I hate pointers
they confuse me EVERY. DAMN. TIME!!!!
Fuck pointers
and pointer math
 
@CatPlusPlus I've probably posted about it before, but given Gosling's history, I'm not entirely prepared to believe Java happened through stupidity. At least at times, I'm convinced that it could only have happened through malice aforethought.
 
oh Java was created with Evil intent? Hmmm
 
@CatPlusPlus it's not like they where making an entirely new language that could break from ties to any mistakes previous language made and make a wonderful spec that ... oh
 
@TonyTheLion So I hear -- though the last time I did any owner-ish things was around a year ago, the first time I was an owner...
 
3:13 PM
@TonyTheLion I've noticed. I agree re. pointer math - best avoided if possible.
 
The command line and browser are both connected to the same machine. I tried changing "localhost" to "nrb.njbbnrbpd1" and it was unable to resolve the connection. (There might be a different name I have to use. I'm not sure.) — user1672174 16 mins ago
 
@TonyTheLion ¬_¬ how? they are piss simple
 
Oh my, ^ I fear the OP is genuinely confused about web servers
 
@JerryCoffin Don't worry, nothing has changed.
 
@JerryCoffin oh, well, welcome anyways :)
 
3:14 PM
@TonyTheLion Thank you.
 
It's still useless
 
Use
Less
 
@CatPlusPlus Oh good -- that means I can continue to shirk any responsibility it might include.
 
@MartinJames but how is it that the single index into a 2D array is so confusing? [i * colcount + j] isn't actually hard, yet it bends my mind in ways I can't think with. meh
 
room topic changed to Lounge<C++>: Can I donate my rep to "kill Java" fund? [c++] [c++11] [c++-faq]
2
 
3:16 PM
@JerryCoffin If being an owner came with responsibility then I would've long been kicked off the owner list.
 
wait
ownership means responsibility now?
dafuq
 
Don't worry.
Read what I'm saying.
 
@TonyTheLion how is that hard? think of it like a snake and ladders board
 
Hahahahahahaahahaha responsibility.
 
@StackedCrooked Whew. Breathe in... and out... and in... and out...
 
3:17 PM
@DeadMG Apparently not -- or if it does, we're all shirking equally anyway.
 
we share the responsibility of owning this place, we means we do something or something
I don't know
 
@TonyTheLion You don't know anything :P
 
Give me /bin, /suspend, /ban and /permaban and then we'll talk about responsibility. Hint: there will be none, fuck you.
 
your mum know nothing
 
room topic changed to Lounge<C++>: puppy picture tiem [c++] [c++11] [c++-faq]
 
3:18 PM
we have the responsibility of keeping the tag line up to date
 
@TonyTheLion ...and (apparently) consistently containing at least one mis-spelled word.
 
@JerryCoffin We have a quota, you know.
 
@DeadMG Is it just me, or does that look more like it was shot with a cell phone than a 5D?
 
3:19 PM
@JerryCoffin It was shot with my iPhone.
 
Hipster.
 
Pom-husky^
 
pfft
only pictures of animals you took yourself
 
@CatPlusPlus :
 
too many images
 
3:21 PM
@TonyTheLion Yeah. I took several other shots today but there's quite enough right now.
 
@DeadMG took the pictures or the animals?
 
@DeadMG I guess that would explain that, then.
 
@JerryCoffin All the pictures of her I've ever shown were taken with my iPhone.
sometimes it's really bad, but most of the time it's OK.
 
Hey std::map implements a balanced binary tree right? its not really a hash table?
 
I have pictures of my Pomeranian on Facebook, but I'm at work...
He's getting old though, like probably gonna die in a couple of months.
 
3:23 PM
@jozefg Usually a red-black tree IIRC.
 
He falls asleep standing up though, cutest thing ever
 
@DeadMG OK -- for icon-sized images, anyway. The fact that I can tell they were shot with a cell phone at first glance say something though.
 
@jozefg Yes, because it's ordered.
 
@StackedCrooked ok sweet. Which means that unordered_map is more effective for fast hashes?
 
@DeadMG Heh - puppy with rear suspension problems!
 
3:24 PM
I wish applications would stop temporarily overriding F.Lux and trying to blind me.
 
@jozefg I guess.
 
I wish F.lux worked better.
 
@StackedCrooked otay thanks
 
@CatPlusPlus It still saves me from many a headache.
Used to get them tons.
 
@Neil Yes. I was pregnant with the ideas and concepts for two years before condensing it into a single answer, and it tooks quite some time to write all of it down :)
 
3:25 PM
The difference between std::map and std::unordered_map will not be noticeable unless you have a lot of data, so pick for semantics not performance.
 
@jozefg Do you mean "a faster hash is more effective than a slower one?" or "a hash table is more effective than a tree?"
 
(Because screw performance)
5
 
@CatPlusPlus says the C++ programmer
 
I'm not a C++ programmer.
I'm a programmer.
 
3:27 PM
I'm a doctor, not a milkman.
Dammit Jim.
 
I also care about good code more than fast code.
 
@CatPlusPlus Fair enough. Still using/learning haskell?
 
How is unordered_map bad code?
 
vector<pair<key, value>> can even be faster than map due to memory locality. The only way to make sure is to measure for your use case.
 
3:27 PM
Never said it was.
 
Ill be back shortly
 
these days I tend to unordered_map.
 
You should tend to your room.
 
but it has sucky iterator/pointer invalidation semantics and even suckier key type constraints.
 
I tend to not use C++ at all. :haw:
 
3:28 PM
@StackedCrooked You make it sound as if I did not already tend to my room.
 
you're such a cat
 
@DeadMG I still use std::map, because providing hash specializations is not my hobby. I'll use it when my profiler tells me to
 
@DeadMG Pics or it didn't happen :P
Anyway, I'm off to Japanese class now.
 
@sehe Nothing less hobby about specializing std::hash than overloading operator<.
 
@DeadMG no need to overload. can use a predicate function/object :)
 
3:29 PM
your mum
 
@sehe Can for unordered_map too.
 
@DeadMG less thought for overloading operator< then std::hash
 
@StackedCrooked It is raining now, mice are drowning in the fields, hurry up and die.
 
@MartinJames Creepy
 
3:41 PM
@sehe Not so creepy if you've had your sofa eaten while away on vacation.
 
@MartinJames whered you go?
 
@MartinJames Wait, so now you prefer to have birds taken a shot at by your wife, mice drowned in the fields? And you live in an area where mice can eat your sofa... Interesting.
@jozefg Borat Country, maybe?
 
@jozefg Not sure, some while ago. A Canary Island, maybe Tenerife, I think. When we got back, the sofa was eaten and there was a mouse nest inside the vacuum cleaner.
 
@FredOverflow Someone's trying to recreate your arrays FAQ
-1
Q: Why can't I treat an array like a pointer?

MikeI see this question a lot on SO. Maybe not in so many words... but time and again there is confusion on how arrays are different from pointers. So I thought I would take a moment to Q&A a few points about this. For purposes of this Q&A we're going to assume a 32-bit system and the follow...

 
@sehe No, that's obviously where he's from. He went on vacation to LA to meet Pamaayla...
 
3:48 PM
@MartinJames Sounds cozy. That awkward moment when my TA checks my screen haha
 
You should keep the vacuum cleaner more clean to prevent mice from nesting in there
Oh wait...
 
@sehe It was messy. Only found out when I turned it on to clean up sofa remains. 1.5kW induction motor 4, mice 0. They were all squashed up against the filter. Cleaner smelt bad for months.
 
What.
 
This conversation took a turn for the weird
 
Ell
3:58 PM
hi
cheesy oatcakes (with honey) <3
 
@Ell Have you had plastic surgery and moved to Rio?
 

« first day (716 days earlier)      last day (4233 days later) »