« first day (600 days earlier)      last day (4334 days later) » 

2:00 PM
@DomagojPandža Don't be silly. There must be a finite amount of confusion, however much there might be.
 
@awoodland Thanks. My problem might be trying to have both methods exposed to C, and internally callable. All I know is from this blog: 38leinad.wordpress.com/2011/04/06/…
 
Actually the answer you got seemed to agree with me roughly - you can copy it into some other register or memory if there's no push/pop?
 
@awoodland Right, but where I'm confused is, if I just call asm_abs from C, that works, and I want to be able to call asb_abs_two from C also, so I'm writing both methods the same way.
 
@JoshPearce I guess they have different calling conventions perhaps?
oh wait
you just need to save lr in asm_abs_two
asm_abs doesn't call anything else
so nothing clobber lr
but asm_abs_two calls asm_abs, which kills lr
so when you get to moving lr to pc at the end of asm_abs_two lr is not set to the right address anymore, it's set to what it was when you called bl the second time inside of asm_abs_two
 
@awoodland ANy idea what the best way to save it is? mov r3, lr?
 
2:07 PM
probably use a general purpose register I guess - since you only call functions you wrote and they don't call any other functions you can be pretty liberal about your choice, just make sure you don't kill something the calling convention expects you to restore before returning
 
Anyone use Valgrind? Any tips or tricks to use it effectively? (Particularly in Qt Creator?)
 
Is it possible in Git or Hg to only check out a subfolder of a repository and work on that?
 
@Drise I use it with --db-attach=yes for full inspection using a debugger. Not with Qt, is that relevant
 
@awoodland Thanks a bunch! the program returns now. It's all very new to me, so I really appreciate it. If you just paste that into the question, I'll mark it as answered.
 
sbi
@sehe This isn't exactly meta, you know.
 
2:10 PM
18 mins ago, by sehe
^ @Fanael Programmers.SE actually
I linked to it :)
 
hi
 
sbi
lo
 
@sehe Kinda. Valgrind is built into Creator so I just ask it to analyze and once I run a few things, it tells me stuff about my program. So I think they have it configured already.
 
user784668
mid
 
2:11 PM
@JoshPearce the answer you got pretty much covers it doesn't it?
 
@RMartinhoFernandes You failed to get the pun
I am disappoint
 
@KonradRudolph No.. you can do it with submodules if your repo is set up that way
 
Just trying to see if there are any secrets to getting valgrind to spill the beans on who is doing what
 
@Cicada I didn't. I tried to make another pun.
 
Okay then.
 
2:11 PM
@Drise do you get lots of false positives? Perhaps just report them to Qt, because it is mostly sloppy code. Perhaps Qt can be instructed to initialize all buffers to known values, because that is a common source of false positives
 
@Collin Thanks, gotta read up on that
 
@RMartinhoFernandes I don't get it.
 
sbi
@Cicada They are still working at his pun recognition algorithm.
 
Does anybody have an idea how to store the DebugSettings in a Visual Studio project file? For Visual Studio 2008.
 
@Drise I find increasing the size of the call stack it records useful
 
2:12 PM
@Neil It's incredibly lame. I'd rather no dwell on it anymore.
 
@Collin Wait, I remember … doesn’t a submodule refer to another, distinct repository?
 
@RMartinhoFernandes Yay for tropical fruits
 
@sehe I don't know if they are false positives currently. Still investigating. Although it is annoying when it reports something going on in STL.
 
@KonradRudolph Essentially, you have a 'super-repo' that keeps track of which submodule is at what revision. You can tag the super-repo to mark a matching set of revisions
 
@Drise The STL - being template code and stuff - would usually be your code :)
 
2:13 PM
uhh the Qt creator has valgrind built-in?
What about the Qt creator on windows then?
 
@Nils Integration is the word
 
if so.. I might need to try it
 
@nils It does. Not sure about Windows.
 
yeah but I thought valgrind does not run on windows
 
@Nils It integrates with the OS, too
 
2:14 PM
@Collin Ok, that doesn’t fit my purpose … I wanted to avoid having separate repos in the first place, but I’ll just swallow the bitter pill then
 
@Nils Well, then, that answers your question
 
@Nils No valgrind. The integration bits are there, but there's nothing to integrate with.
 
@KonradRudolph Are they distict things or did you just want them split up for some reason?
 
Great
 
@KonradRudolph Look at subtree merging too, I think it covers comparable use cases
 
2:15 PM
All my validators are leaking
 
@Drise Eww.. I wouldn't share such things in public.
 
@Drise It could be worse ... :D
 
ic
 
@Neil What does this mean?
 
QIntValidator *iValid = new QIntValidator; <----- 176 (24 direct, 152 indirect) bytes in 1 blocks are definitely lost in loss record 5,350 of 6,637
 
2:15 PM
@Collin They are actually more or less unrelated projects but I thought of keeping them together to avoid repository proliferation because lots of these projects are tiny (single scripts) and often just quick’n’dirty, throw-away try-outs
 
@KonradRudolph I'm busy switching from submodules to subtree merge - to retain history but (a) merge from different (separate) repos (b) don't use submodules
 
lol
 
sbi
@Cicada it means he has seen through you.
 
What? She's transparent now?
 
2:17 PM
@sehe submodules are a little kludgy, we use them to match a linux kernel version, uClinux distribution and set of custom software
 
I don't see what mistake he refers to
 
@Neil She didn’t quote “this”, now did she?
 
sbi
@EtiennedeMartel No, but @Neil has X-ray eyes.
 
@KonradRudolph Nope.
 
@KonradRudolph People enjoy looking witty for some reason
 
sbi
2:18 PM
@KonradRudolph "What" did she not quote?
 
I'm "confused" now. Why are we "quoting"?
 
sbi
@Cicada What's witty about a mandala?
 
@sbi I thought X-ray eyes would allow you to see through clothes, not people. The movies have lied to me again sobs
So, basically, X-ray glasses are useless.
 
@sbi I wanted to use the word witty please let me shine this time
 
sbi
@Neil Usually, people are quoting because they are afraid to tell you their opinion as being their own.
 
2:19 PM
@Neil Should I stop expecting a valid answer yes or yes
 
@Cicada Why were you ever expecting a valid answer? You're in Lounge.
 
sbi
@RMartinhoFernandes What doctors have you been X-rayed at??
 
@Cicada Absolutely
 
Can we please stop making conversation out of wikipedia oneboxes?
 
sbi
@Cicada I think there's a period missing in that sentence.
@RMartinhoFernandes As soon as we have found out how to multibox, we'll stop oneboxing.
 
2:21 PM
@RMartinhoFernandes "Aww, yeah, look at that femur"
 
@sbi That's right
 
sbi
@Cicada What? What do you know about multiboxing?
 
That's an interesting picture with 'Fuck' in the onebox
 
sbi
6 messages moved to bin
 
@sbi She's been on 4chan...
@sbi Hey, I removed it already!
 
2:22 PM
> The spike in the 18th century can be explained by modern optical character recognition technology reading the Latin long s as an f in the word "suck".
 
@sbi I was referring to the missing period
Or maybe not.
 
sbi
@Cicada That's hard to see hovering my mouse over your message.
 
Virrrrguuuuullleeeee.
 
@Cicada Wait, did you do a pregnancy test yet?
 
sbi
2:23 PM
@sehe I was so waiting for this to happen.
 
Oh you
Mr soho
 
sbi
@RMartinhoFernandes Ah. Your circuits can't deal with it, huh?
 
What, the ape was too slow to do it himself :)
 
@sehe > @sbi.
(Time to stirr some shit up in this bitch)
 
Damn, I really think I need to change my avatar picture to a chimpanzee
 
2:24 PM
len(sehe) > len(sbi), FTFY
 
@sbi Is being X-rayed by doctors so common that you would expect most people to have been through it?
 
sbi
@sehe You're a dumb wit. I just said I was already waiting for someone to make that cheap joke.
 
@EtiennedeMartel In most character encodings, anyway, and using standard collation. Let's ask @jalf about strange Scandinavian collations
 
@KonradRudolph Would that make a difference?
 
2:25 PM
Trying to imagine that dude staring at a polar bear
 
@sbi I'd never have guessed
 
@Cicada its' ---x---
 
@Cicada Fail indeed. So much fail. Infinite fails. Failcoaster. All aboard the Fail Train, choo choo!
 
@Abyx I appreciate your support
 
sbi
2:26 PM
@KonradRudolph Then we'd confuse you with @Tim.
 
<marquee>I miss the old html</marquee>
 
@Cicada Well, for one thing, chimpanzees rule and gorillas drool
 
@Cicada it was great message
 
@Collin Sorry, he should get some acting lessons. Rule #2 of child rearing: no matter how ridiculous behaviour is, don't laugh if you don't approve of the behaviour. Otherwise rule #1 kicks in
 
(I’m not even sure what kind of primate @Tim is supposed to be … could be a chimp, I suppose)
 
2:26 PM
I thought same thing, but was too lazy to write it
 
@Cicada <blink>No, you don't.</blink>
 
and for another, having apes as avatars seems to be The Thing for eminent C++ programmers ;)
then again, my current avatar is already an ape
so no worries, curry on
 
@KonradRudolph This is what I was actually trying to say but my sarcasm miserably failed
 
@KonradRudolph C++, you say?
 
@RMartinhoFernandes are you working with the QtCreator? Would you recommend it?
 
2:28 PM
@Nils No on the first one.
Rendering the second irrelevant.
 
Oh, I'm gonna patch this shit. Fuck off.
 
@KonradRudolph Half an ape, actually
 
@Nils If its any consolation, I would.
 
@Cicada My point being, there isn’t a terribly great difference. They’re our cousins a few tens of thousands generations removed, nothing more.
@sehe The other half’s private
 
@KonradRudolph Private primate
 
2:29 PM
@sehe More like 70%.
 
@sehe protected?
 
Slaying primate Ryan
 
@KonradRudolph This is true for every single living cell, just the number of generation count changes. So put a bacille instead!
 
@KonradRudolph Do you have a mutant right ear?
 
Bacilli own
 
2:30 PM
@RMartinhoFernandes I thought you'd say that. I opted to go with 'intuitive' logic though. Pedantry appreciated
 
@Cicada Yeah, they kill stuff and shit.
 
And they aint afraid of nothing
 
well I used eclipse on Linux w/o build and debugging
 
Robots > bacillus.
 
sbi
@KonradRudolph Well, there's nobody here yet having a bonobo avatar. Go for it.
 
2:30 PM
maybe QtCreator is an algernative for that
 
(I recommend QtCreator on linusc)
 
hehe IIRC mono has a Bonobo as Avatar
 
(It's the only viable IDE for C++ on that platform anyway)
 
@Cicada you also use it daily?
 
@sbi lol
 
2:31 PM
I use it when I do C++ on linux
 
@Nils that'd be Logo
 
So I wouldn't say it's daily, it depends on the project
 
sbi
@sehe I thought you didn't approve of porn?
 
But I do recommend it
Now if MS would port VS to linusc it'd be great
 
@Cicada Well, the shared allele count between me and bacilli is small enough that I don’t feel the kin selection-induced slightest compassion towards it … for Pan troglodyte, that’s different.
 
2:32 PM
@RMartinhoFernandes Yeah, you Robots might think you're so superior, but then comes the Flash player and you just fall apart.
 
@Nils Again, I'd recommend it for linux dev. In fact, I've been developing a project at work for the past 6 months in Creator.
 
A break at work is a period of time during a shift in which an employee is allowed to take time off from his/her job. There are different types of breaks, and depending on the length and the employer's policies, the break may or may not be paid. Types of breaks Meal breaks Meal breaks or lunch breaks usually range from 30 minutes to one hour. Their purpose is to allow the employee to have a meal that is regularly scheduled during the work day. For a typical daytime job, this is lunch, but this may vary for those with other work hours. It is not uncommon for this break to be unpaid, and...
The Return is a novel by William Shatner that was co-written with Garfield Reeves-Stevens and Judith Reeves-Stevens. It is set in the Star Trek universe but, as part of the "Shatnerverse," does not follow the timeline established by other Star Trek novels. The sequel to this book is Avenger. Plot summary The novel begins on the planet Veridian III and takes place shortly after the events seen in the motion picture Star Trek Generations. The body of James T. Kirk is stolen by the Romulans after his burial by fellow Starfleet captain Jean-Luc Picard. The Borg have formed an alliance with t...
 
@Cicada like once a year?
 
@sbi I think I never expressed my support or disapproval
 
@KonradRudolph At which ratio do you stop feeling kin selection-induced compassion? 50%?
 
2:32 PM
@Drise cool
will try it
 
@EtiennedeMartel Not that I’m aware of
 
@Nils No. Depends on the project really. When using Qt, every day
 
The Game is a mental game where the objective is to avoid thinking about The Game itself. Thinking about The Game constitutes a loss, which, according to the rules of The Game, must be announced each time it occurs. It is impossible to win most versions of The Game; players can only attempt to avoid losing for as long as they possibly can. The Game has been variously described as pointless and infuriating, or as challenging and fun to play. Gameplay Rules There are three commonly reported rules to The Game: # Everyone in the world is playing The Game. (Sometimes narrowed to: "Everyb...
 
user784668
Fuck Wikipedia oneboxes.
 
Btw, I lost.
 
2:33 PM
@Drise I lost. :(
 
Oh gawd, more wikipedia?
 
It's the great wiki invasion of 2012
 
Admit it, you just lost the Game.
2
 
@Cicada There’s no fixed boundary.
 
@Drise There, pinned for great annoyance.
For those who care, at least.
 
user784668
2:34 PM
1 min ago, by Fanael
Fuck Wikipedia oneboxes.
 
@RMartinhoFernandes [Que Darth Vader] Impressive.
 
@sbi Now, am I reading into things again, or were you expecting ^^ this one too
 
sehe you're a champion of out-of-context quotes
give this man a medal already
 
user784668
@sehe OMG, the font rendering is horrible.
 
Jagged edges, I can see jagged edges.
 
sbi
2:35 PM
@Fanael He's on Linux. What did you expect?
 
yeah I heard they're still beta testing text rendering
apparently they just got 32 bit colors to work!
 
 
-2
Q: How fast does a while loop loop?

New2ThisOkay, I could've phrased the title better. But still. How fast does the while statement loop by default, assuming nothing is inside it? That is to say, while(true){}; will perform how many iterations in a second?

 
user784668
@sbi So am I, but the font rendering works here.
 
2:36 PM
@sehe Cicada! Why would you say such a thing!?
 
Jun 4 at 11:52, by sehe
@RadekdaknokSlupik Blame mspaint on work pc. Sux0rs. Also:
 
sbi
Anyway, gotta go and pick up some of my kids. See you tomorrow, folks!
 
user784668
@SamDeHaan Oh no, it's xkcd. Won't star.
 
@sbi Take care
 
@Neil Yeah it's pretty WIN, if I may say so myself
 
2:37 PM
How many bits would a while loop loop if a while loop could loop bits? — Mark Ransom 27 secs ago
Wtf lol
 
@Drise How much wood would a wood chuck chuck if a wood chuck could chuck wood?
 
That question needs to be removed. It's going downhill fast.
 
@Nils You probably meant than stackoverflow.com/questions/10933970/…
 
How fast does a woodchuck chuck wood if a woodchuck could chuck wood? — Konrad Rudolph 1 min ago
 
This is pushing it
It's like saying How much code could a coder code if a coder could code code. — Jerry Dodge 1 min ago
 
2:39 PM
SO is not a curiosity site. — Jerry Dodge 1 min ago
@Nils ^ he has a point
 
yeah come on
 
@KonradRudolph That's not how it goes.
 
but I wonder what the compiler does
 
@Drise Flag as unconstructive/rude
 
I did
 
2:40 PM
Good
 
if no optimization at all it will be still in the code
 
I like flagging posts :D
 
@Neil Almost. I adapted to match the word choice in the post title.
 
@Nils Then compile it and see. What do you expect an answer to do? Guess?
 
@Drise I hope you flagged the comment, actually
 
2:40 PM
@KonradRudolph Ah okay. I approve then.
 
Flagging general things.
 
@Drise I like flag posts
 
@RMartinhoFernandes maybe when I'm home
 
@Cicada Have you got anything to say in your defense?
 
@Cicada Beautiful comment.
 
2:42 PM
@sehe Something like this picture was taken by sehe and is therefore out of context
 
Har har
 
Jesus, 18 comments?
 
@Cicada It's time you admitted that you're in denial Cicada.
 
@Neil This message is not in 2NF
 
@Cicada I'm just happy that it's not daily, then. I mean, that would be sad
 
2:44 PM
@Cicada 2nd normal form? What?
 
@Drise If you want to plink him, use @ /cc @Jesus
 
I think -15 is the furthest down I've seen.
 
user784668
@sehe I'd say this is a fake, because there's no way Windows/Mac OS/FreeType could render the fonts so bad.
 
-55
Q: Get drive information (free space, etc.) for drives on Windows and populate a memo box

Jim MooreI am trying to get all the information about my hard drives displayed in a memo or some other control so I can see free space and total space on the drives. I know there is a shell call I can use, but cannot figure out the usage. Can anyone give me an example or explain what I am doing wrong?

 
Oh gawd
 
2:44 PM
Well. Good thing your not actively involved in the justice system then :)
It's a bit steep to deny facts, when finding truth
 
I think there are worse, but deleted.
 
Thats a butt load of rep from one answer
 
@Drise Assuming butt is a unit of measurement equal to approximately 150 upvotes, yes.
 
@RMartinhoFernandes I don't understand the delete votes on that question
 
@awoodland I don't even understand the 70 downvotes.
 
2:49 PM
@RMartinhoFernandes I think the down votes are because of the deleted self-answer and it getting a lot of attention, but it's still kind of odd
 
@RMartinhoFernandes How much wood would a woodchuck chuck if a woodchuck could chuck wood?
 
Lol someone downvoted me on that bitshit/divide answer.
 
user784668
@CatPlusPlus Bitshit?
 
@RMartinhoFernandes codepad.org/dPp8H8e4 well I guess we need about 3 instructions move, compare and jump
 
> It works now! Thank you Rob for the answer. It wont let me acept a comment as answer so I have answered myself to make it easy and clear for people unlike ReallyEthical
 
2:50 PM
Fits, too.
 
@awoodland Ow, that's actually kind of rude.
 
@CatPlusPlus Rule of statistics
 
@EtiennedeMartel How many tits would a vile boob boob if a vile boob boobed?
 
it's probably around a nanosecond on a modern cpu (no cache or memory is touched)
 
I now see why the downvotes poured in.
It's a bad asker.
 
2:51 PM
@CatPlusPlus bitshit?
 
@neil yes a butt is approximately 123.7492816. + -sqrt(2)
 
@RMartinhoFernandes Yup
 
@RMartinhoFernandes rubbed a lot of people up the wrong way
presumably it got linked on an "is plagerism ok" question on meta or something too
 
> ... "Show some gratitude"
 
user784668
@Nils Or even less, because the branch is always well-predicted.
 
2:52 PM
Quite sums it up
 
@Drise In this case, it would be 1.212128 butts
 
@Nils Bad compiler.
Or bad flags.
That could optimize to nothing but a jump.
(Or in C++11, to nothing at all)
 
user784668
@RMartinhoFernandes That's compiled with disabled optimizations.
 
Then it's worthless to discuss speed.
 
Well the question needs more context for a precise answer
Processor? OS? Optimization level?
 
2:54 PM
@Nils "How fast is X when you make it slow?"
 
@RMartinhoFernandes Slower, obviously
 
@RMartinhoFernandes Well I disabled optimization, the question how and when it can be optimized out is a different one.
 
@neil now just to remember what a load of butts is.
 
@Nils It's the only relevant one.
 
2:55 PM
 
@Cicada Overclocking? OS? Quantum effects considered in measurements?
 
@sehe Exactly
 
@Cicada Not necessary time to read a register, cache, memory are on the same magnitude for all modern processors.
 
user784668
@Nils Whoa, nice link.
 
@Drise To quote the wise Samuel L. Jackson in the film Jurassic Park, "Hold on to your butts!"
 
2:57 PM
@Nils Cycles/s are not
 
@Nils Wut.
@Neil Samuel L. Jackson was not on Jurassic Park.
 
What's the answer to this? stackoverflow.com/questions/10934226/…
 
Wait, that was a joke, right?
 
You asked for it
 
Ok folks, I need a concise name for a bioinformatics-related software package. Bio is taken.
 
2:59 PM
@Neil Ok, I need to watch Jurassic Park again. I definitely don't remember SLJ in it
I think I'm losing it.
 
@Cicada yeah well you would have to take a reasonable assumption
 
@KonradRudolph Thingy.
 
@Neil Bam, @RMartinhoFernandes got ass butt ended to him.
 
@KonradRudolph Well, perhaps relevant: what does it do?
 

« first day (600 days earlier)      last day (4334 days later) »