« first day (667 days earlier)      last day (4286 days later) » 

10:00 AM
> I can figure out using my user-defined functions
 
lol
 
user-defined isn't a bad term.
 
Arch Linux has officially halved the respect I have for it:
Not really. Arch is just being stupid -- the Filesystem Heirarchy Standard clearly says that libraries should be in /lib64 on amd64, and apparently Arch manually patches their gcc sources to change this, thereby guaranteeing incompatibility with every other Linux distribution out there. See the comments of this bug report for their bizarre reasoning. To me, this would be a clear warning sign to stay away from Arch Linux. — Jim Paris 13 hours ago
 
> C - How to get a user defined function and turn it into a pointer?
 
It makes my binaries not run on any other distribution. And probably vice versa
 
10:01 AM
> Calling user-defined C functions in inline assembly
And so on.
 
@kbok oooh, you can't go trusting code people have wrote
 
And I would not dare think about binary blobs
 
@kbok With AbstractSingletonFactory of course.
 
@StackedCrooked Not in itself, but those people seem to think that there is several kind of functions
I mean, which function is not user-defined in C anyway ?
 
abort() :p
 
10:04 AM
@melak47 I'm pretty sure you can find its source code.
 
Nobody cares about FHS anymore, what with moving /lib to /usr/lib and all.
 
@CatPlusPlus yet the Arch patch breaks compatibility completely.
 
That's Linux ecosystem for ya.
 
@kbok but its been sent down onto this earth by the gods themselves, certainly no mere user defined it
 
I hope they listen to my valid request to re-evaluate the patch
 
10:05 AM
And then people wonder why it's treated like a secondary platform.
 
@CatPlusPlus to be honest, no other major distro does this.
And that's the whole crux of the issue.
 
Learn how to play together and stop reinventing standards, morons.
It's one issue in the sea of many.
 
Basic gist is always the same — someone didn't like the existing practice, did their own thing and now there's several camps and no common ground.
 
And then there's the de facto standard that becomes official.
 
10:07 AM
@CatPlusPlus can't agree more. The whole distro story is quite ridiculous when you take a step back and look at it from an independent perspective.
 
 
Linux fanbois use "flexibility" as an excuse.
You can choose your own distro, you can choose your own DEs, you can choose your own libraries.
It's not that good from a coherent platform standpoint.
 
Well, there are advantages, if the basics would work together.
 
And then you can go flame forums with your favourite browser.
 
DEs you can at least work around by using X11 directly.
 
10:09 AM
lol... using X11 directly
 
Better than having your GNOME users bitch about having to install THAT EVIL QT.
 
@CatPlusPlus you didn't seem to like the number of template parameters in my code recently :p I could probably reduce them down to two...should I?
 
(No, not really, I'm channelling gamedev a bit here.)
For games basic X11 is enough.
 
Doesn't solve the "open file" dialog not fitting in, or having no file extensions/meta information
but hey, the Linux Desktop is a joke. We all knew that.
Especially since Valve are concentrating on friggin' Ubuntu. Waaaaaaii?!?!
 
it took me weeks and a dozen strangers just to get my screen to work because nvidia's driver sucks :/
 
10:11 AM
What it needs is common protocols that are less arcane than ICCM and EWMH.
 
@rubenvb Because it's the most popular. It makes sense.
 
@rubenvb Because it's the distribution of choice for users that don't want to make all those stupid decisions.
And that's majority.
 
Last time I checked, that was Linux Mint.
 
It picks defaults and sticks with it.
 
But hey, who am I to put a fixed value on user's preferences :P
 
Xeo
10:12 AM
 
I've never even heard of Mint before sehe mentioned it here.
 
Xeo
How strangely fitting for what I'm currently doing
 
We do subscribe to XKCD, you know.
 
@rubenvb Isn't that some Ubuntu variant?
 
Xeo
Maybe not everyone here does D:
 
10:13 AM
@R.MartinhoFernandes yeah, true, but they have a Debian edition, I think they want to go further back to basics in the long run.
@CatPlusPlus I don't
 
What I'm saying is don't onebox comics that take entire fucking screen.
 
@CatPlusPlus get a bigger screen XD
 
@rubenvb Or turn it 90º!
 
lol
 
0
Q: Against cold boot attacks: how to restrain sensitive information in Haskell

AndresIs there any way to ensure key material gets securely erased from the memory after the program exits? Being able to erase it manually and keep the program running would be even better. As Haskell uses automated (=unreliable?) garbage collection, I assume that the second task is impossible. Could ...

QQ cold boot attacks
 
10:20 AM
QQ?
 
May be this: QQ. Meaning: "You suck and you should quit."
 
My proxy doesn't like UD :(
But thanks
 
google cache to the rescue!
 
Google cache is blocked too ;)
 
10:30 AM
does a bash alias need to escape a '&' or a '>'?
 
Xeo
Okay, why would anyone ever want my CV in word (aka .doc) format?
 
so they can read it :p
 
@Xeo some companies have asked for my CV in word format, for whatever reason
 
Xeo
@melak47 and they can't if it's a .pdf?
 
normally, I would send it out in PDF
 
Xeo
10:35 AM
aye
 
@Xeo pdf is dangerous, they can't trust third party software!!1!
 
@Xeo just because. It is what they are used to
 
just send PDF's by default, and if they want another format, then they'll have to request it from you
@melak47 if Adobe has bugs which can cause vulnerabilities, actually you can embed executable code in PDF, that exploits the bug (now seeing the number of updates Adobe has, lots of bugs, I'd say :P)
 
Xeo
most often when I see them requesting my CV as a .doc, it's a job adviser
So I naturally suspect something is bogus
like them wanting to edit my CV to add qualifications I don't have :P
 
DOC isn't any safer than PDF.
 
10:38 AM
@Xeo lol, mostly they just add some notes from when they've spoken with you or something
 
Xeo
Yeah, but editing a .pdf is harder, or so I want to believe
 
that's what I've seen
@Xeo there's software out there that will let you do it. So it's not really a safeguard
 
even printing it out is not safe guard
 
but, the basic idea to have is that nothing is safe, everything can be broken
so, you just put it out in PDF and not worry too much
 
ergh... bash rage
 
10:42 AM
set the PDF to jpeg compression though :)
 
@Xeo Because they're stupid, that's all.
 
@melak47 Or a .doc with embedded png :D
 
$ alias silentdetach
alias silentdetach='&> /dev/null &'
$ gedit silentdetach

why is this starting gedit with a new file called silentdetach and not doing what I want it do, redirect output to null and return control of terminal
 
Make a screenshot, print it, put it on a desk, make a photo, develop it, scan it, embed in PDF as JPG.
 
To me, asking for a specific format is a big no-no. If you don't accept PDF CVs, you won't hire me.
 
10:43 AM
@CatPlusPlus and reapt?
 
@TonyTheLion Text is fine.
 
@CatPlusPlus Screenshot of handwritten CV.
 
@thecoshman Aliases don't work this way.
 
@CatPlusPlus (╯°□°)╯︵ ┻━┻
 
Xeo
@thecoshman aliases alias commands, not arguments to commands
 
10:43 AM
@R.MartinhoFernandes text is broken too, witness Unicode :P
 
@thecoshman Aliases only work for the first token of the line.
 
Xeo
@kbok IIRC, they work after pipes and the likes too
 
alias silentgedit='gedit &> /dev/null &'
silentgedit
 
is there are way to do what I am after? I can never remember the &> /dev/null bit
 
@Xeo Hmm, yeah, that's a bad definition
 
10:44 AM
They create actual commands, not do textual substitution.
 
"Aliases only work as a replacement for a command."
 
@CatPlusPlus that could work, except I would like to be able to do it for any program
 
@thecoshman Make a function or something.
 
Xeo
You can set an environment define, though
 
silent() { $* &>/dev/null &; }
2
silent gedit
 
10:45 AM
ooooh
 
looks the simples
 
and I can just slip that in my bashrc
 
Amazeing.
 
That won't actually detach will it ?
 
10:46 AM
anybody know anything about domain controllers?
like how they could add overhead to a network for example?
 
They control domains.
 
yea, wow, I didn't know that?!! :P
 
They add overhead.
 
to the point they could grind a fast working network application to a very awful slow
 
Not that kind of overhead.
 
10:48 AM
@TonyTheLion wireshark to the rescue
 
before the domain was installed, it worked fast, domain gets added to the network, application slows right down
 
Maybe the domain controllers are torrenting.
 
@kbok ohhh, best idea yet
@R.MartinhoFernandes wut? No
 
thanks @cat I had to remove the & from the end of it, and manually add it on, but works like a charm :D
 
How do you know? Did you check?
Maybe you're torrenting.
Oh god writing Java is so boring strike me down.
 
10:49 AM
Company does not torrent, no one working there is savvy enough to even know what a torrent is
let alone know to how to obtain it
 
@CatPlusPlus how come you are writting Java?
 
You make it sound as if torrenting was some black magic.
 
That's what they want you to think.
 
@TonyTheLion hax right?
 
Xeo
1
A: why doesn't std::remove_copy_if() actually remove?

David Rodríguez - dribeas Could this be the worst named function in the STL? A bit of background information: in the standard library (or the original STL), there are three concepts, the containers, the iterators into those containers and algorithms that are applied to the iterators. Iterators serve as a cursor and a...

 
10:50 AM
@CatPlusPlus strike
 
Xeo
close up votes!
@CatPlusPlus Ask if we can shoot you
 
@thecoshman what?
 
Also if your sysadmin is not savvy enough to know what a torrent is, you should probably exit stage right.
 
my sysadmin? You think this place has something called a sysadmin?
nah
 
Why do you use domain controllers again?
 
10:51 AM
Speaking of bacon, I'm hungry.
 
They're for, you know, domains.
 
@CatPlusPlus For torrents, duh.
 
Not 3 PCs wired together.
 
lol
supposedly this one piece of software that they use requires a domain
 
So your company just wasted a loooooooot of money. Congratulations, I guess.
 
10:51 AM
sounds like bullocks to me
 
@TonyTheLion torrents are just for illegal haxorz, aint they?
 
@Xeo I wonder if it this algorithm is needed if we already have copy_if.
 
@thecoshman I know that. Still, I have no clues as to what in the world they'd want to torrent??!!!
 
Xeo
@StackedCrooked it's the logical opposite and doesn't require a new range :P
 
@TonyTheLion piracy stuffs
 
10:53 AM
It's a freaking mess.
 
oh, I was browsing through my "Modern C++ design" book this morning
the interestings
template wankery
 
@thecoshman Torrents are for serving content from low-bandwidth servers. Everyone knows that.
 
@R.MartinhoFernandes but only illegal content, there is no legitimate reason for torrents, let's ban them.
@TonyTheLion @R.MartinhoFernandes you should get this book, sounds perfect for you
 
I'm sure he knows that book off the back of his hand :P
 
10:55 AM
People who say they sleep like a baby usually don't have one - LEO J BURKE
@sbi relevant ^
 
@thecoshman Android.
 
@thecoshman Half of it is outdated now.
 
@thecoshman Hey! I once downloaded a Linux distro with torrent!
 
There's a large portion dealing with typelists, which are kind of obsoleted by variadic templates.
 
10:56 AM
@StackedCrooked must be an illegal how else can you torrent it
 
Modern C++ Design is from 2001. Most of the stuff lost its novelty by now.
 
@StackedCrooked I'm constantly seeding various distros.
 
... I think I will stop with this 'what the man wants you to think about torrents'
 
Modern C++ Design ain't modern anymore.
 
Post-modern C++
 
10:57 AM
@StackedCrooked pre-modern C++
 
I'm sure some of it is still useful to a noob like me ?
 
I don't think Alexandrescu will update the book.
 
Oh, and it has singletons!
 
oh god why?
 
Nope, stay away.
 
10:57 AM
@R.MartinhoFernandes time for a good old fashioned book burning
 
so I shouldn't move it to my new place then?
 
I think I'm too sick to be working.
 
waste of space
 
@TonyTheLion It has a couple of interesting tidbits. But large chunks are a bit dated.
 
I can barely concentrate on that dumb code.
 
10:58 AM
lol
 
The inheritance lattice generators are neat, and the multimethods part is really crazy (i.e. interesting).
 
@CatPlusPlus if you're sick, you should be in bed, not writing code
@R.MartinhoFernandes I'll take the book with me, never know
 
There's also an über smart pointer in there.
 
I haven't been in bed while sick for about 12 years.
 
wonder if I should take my "Introduction to Algorithms" book with me
 
Xeo
10:59 AM
@R.MartinhoFernandes The one with the policy wankery?
 
don't think it can really be useful on my job, or can it?
 
@TonyTheLion The one by Cormen?
@Xeo Yeah.
 
@R.MartinhoFernandes yep
 
I like it.
 
I found it very hard to read
but my maths isn't that great, mostly the problems I ran into.
 
Xeo
11:01 AM
Hm, I'm wondering what I should put in my cover letter besides "I'm awesome. Hire me."... maybe the usual stuff you'd put in an actual letter? Like address, date, etc. ?
 
@TonyTheLion IME, people either find it very accessible or very difficult :S
 
@R.MartinhoFernandes well, yea, I was in the latter category when I tried to read it a few years back
perhaps now it would be easier for me to understand
since I've learned a lot since, that I didn't know then
 
Ok, I'm already trying to do four things at once. I really need to learn to stop this.
 
Xeo
Eating bacon, chatting, breathing, ?
Oh, wait, cut "breathing"
 
-9
Q: can you give me a program for this?

ansh93/** * There are some Dragons that need to be put up in a cage. The problem is that the Dragons have blood groups. If the difference between blood groups of two dragons is less than the threshold energy, Then the dragons fight and the management team does not want this. So, write a program which...

 
11:06 AM
@CatPlusPlus Wouldn't function silent() { "$@" } &> /dev/null be a bit more robust? And also, wouldn't nohup come in handy? Or trap "" ERR INT?
 
@Xeo Chatting, fixing a bug, giving my opinion to a friend on some problem he's facing, and replying to an e-mail.
 
@sehe yes, chat search seems slow as heck. I've also been hitting the throttling more and more often.
 
how can I change the avatar in Stackoverflow? I get redirected to the Avatar site, create an account, add yahoo to the list, added picture but nothing happens
it is soooooo unintuitive!!!!
sorry for the OT
 
It may take a while for the caches to flush.
 
11:18 AM
@sehe Dunno, I barely ever use bash. And almost never to run GUI programs.
 
@R.MartinhoFernandes Hmm. The first search usually takes > 5 seconds now
 
gvim is smart enough to detach itself on its own.
 
@CatPlusPlus Oh, it was about gui programs? I distantiate myself from that. User cannot be salvaged :)
@CatPlusPlus Yup
FTR I usually just program& exit
 
Won't that kill it?
I think you need to disown the job first.
 
Not in my experience. I've been told stuff like that before, but frankly, I've never had an environment that actually killed the backgrounded jobs
TBH I hit ^D instead of doing exit - though that shouldn't make much of a difference
I've used nohup/disown only on AIX (ksh, I think) but even then I could usually get away with my current strategy in bash
 
11:21 AM
Yeah, I do the same, but I have witnessed the killing.
2
 
@R.MartinhoFernandes Really. Interesting.
 
Hmm, that's begging for decontextification.
 
At your service
 
i'm a newbie, and i'm facing a doubt. whats the difference in calling attribues/method with "." and with "->"
 
a->b is the same as (*a).b
 
11:34 AM
ugh... "attributes/method"
 
@R.MartinhoFernandes so you just use the -> when you want to handle directly with the pointer
 
You can't even "dismember" a method
 
Why would you do such a thing, you monster.
 
@rogcg you should transform the pointer into a reference wherever possible really.
dereference at calling point, unless you really are modifying the pointer (not the object pointed to)
 
@R.MartinhoFernandes I couldnt find any good resource to read about it. do you know some link where I can read more about it? I mean the difference between both
 
11:36 AM
Woot. Advice given, e-mail replied, bug fixed. Now all that's left for this morning is chatting ;)
 
@CatPlusPlus I wonder if you can "dismember" a class member.
probably a hell++ language feature
 
@R.MartinhoFernandes This morning has been over for at least 35 minutes now...
 
@rogcg Any decent book should cover that. There's probably a question about it on Stack Overflow, too.
 
Right here, 1:36
 
torture_cast<dismember>(foo)
 
11:37 AM
@R.MartinhoFernandes Well, any decent book on C++ perhaps :)
 
@sehe What are you talking about? Morning is from sunset/wakeup until lunch.
 
argh
am I the only one who's bothered every time someone tries to italicise C++ and the + isn't italic?
 
@rubenvb Can can find out the argument count, types of arguments and return type. If that is what you mean.
Probably not :p
 
@StackedCrooked And cv- and ref-qualifiers.
 
11:38 AM
@R.MartinhoFernandes Ah. So you lunch at 18:00 in order to maximize chat potential?
 
@sehe No, I'll have lunch around 1:00.
 
:( countdown has begun
 
@StackedCrooked I kinda meant removing a class member at runtime, thus modifying the class... at runtime XD
 
Code from executable image is mapped onto read-only pages.
So good luck with that.
 
Any objection here?
Meh, looks good to me. Just make the node argument const&. — Konrad Rudolph 43 secs ago
 
11:59 AM
> Anonymous functions are one of the best features of C++11. They make everything so beautiful!
 

« first day (667 days earlier)      last day (4286 days later) »