« first day (773 days earlier)      last day (4175 days later) » 

7:02 AM
If there's one thing I like about Win8 is the speed graph when you're copying.
 
7:13 AM
@Mysticial Well damn...
 
7:25 AM
@Pubby You know that is kibitzing too, in a way
 
anyone has experience or is interested in rust... here is a very simple question...
I can't believe I can't find any useful resource on user inputs and stuff...
 
@BeyondSora haha - a bit rusty on that ... (SCNR)
@Mysticial cast
 
thx :)
 
@sehe haha :-)
it's just kinda hard to believe with all those fancy articles floating around about how awesome Rust is, you would think they d at least have one reliable resource about user inputs n other basic IO's...
 
7:42 AM
I'm having yet another argument over irc
[02:40:09] <skizm> and html5, css3
[02:40:42] <Borgleader> those are not programming languages
[02:40:55] <skizm> i am aware of what they are
[02:40:59] <skizm> i did say coding tutorials
[02:41:09] <Borgleader> html is not code
 
user1182183
so what is html?
 
a markup language
its a subset of xml
well subset might not be the best word
but html is essentially xml
 
@Borgleader it's not a subset
 
@Abyx Hah beat you to the punch ;)
 
<body><p class=bar>111<br>222<p>333</body> is not a XML
 
7:49 AM
how are those not xml tags?
 
@Borgleader it's tags, but not "xml tags".
 
Oh fuck... what doesn't my laptop have gigabit...
 
agreeing
 
Looks like I need to find a USB3 -> Gigabit adapter
 
@Mysticial does it have 10Gb? Does it not have a NIC at all?
 
7:52 AM
@sehe Only 100Mbit.
I just managed to confirm it online.
 
WUT. Is that your new laptop?!
 
Even my old laptop has gigabit.
@sehe Yes...
 
That's craaazy
 
I never bothered to look at that since I assumed that everything now is at least gigabit.
 
You probably posted it before, but what brand/type?
 
7:53 AM
Dell Inspiron 7720
 
@Mysticial Rightfully so. This is worth a complaint
 
One of the reasons I bought it was because it had 4 USB3 ports.
It looks like the adapter costs $35... fine. The laptop was pretty cheap to begin with.
 
@Abyx Well damn I was sure HTML fell under the XML "root" so to speak. Is it XSL then?
 
The ethernet port is probably the most used thing on my computers.
 
@Borgleader huh? html is just html
 
7:57 AM
@Borgleader Nope SGML, FTFY
 
I may not be expressing myself adequatly but this whole idea of having <tags /> theres a family all these things fall under.
 
SGML (or just, markup languages, even broader)
 
The bear is correct
 
Obviously
 
7:59 AM
Repost. It looks okay to me. Was received with a fair bit of "Oh noes - Apple" skepticism yesterday. Also people argued that it was more of a 'precompilation' thing, and people will somehow always prefer full rebuilds on their buildserver rigs (I don't fully agree, though)
 
user406009
Well at least it's progress.
 
user1182183
cs.tut.fi/~jkorpela/prog.html <- quite well explained why HTML shouldn't be called a programming language
 
user406009
It looks like we might actually get modules in the next decade.
 
yay. we needed that. Now, go make that a
 
user1182183
> Is HTML coding, then?
It is reasonable to say that HTML markup is code (and writing HTML markup is coding), provided that people understand that it is comparable to using coded notations when talking or writing. Think about the use of product codes, or using special code books when sending telegraphs, so that short coded presentations stand for long statements, or using colors as codes so that red means "stop" or "warning" or "hot". It's a matter of using some notational system which has been specifically agreed upon. (Actually, natural languages are not completely different from codes; t
 
8:01 AM
@Lalaland maks sense, it will be a killer feature. Sadly, it will also attract the masses so we can expect an influx of poor questions ;) Oh well, we'll deal with it...
 
@GamErix Yeah I closed that debate already, we weren't using the same definition for code.
But he got my point
 
user1182183
:P
 
Alright bed time, 3AM T_T
 
8:14 AM
3AM... I finally managed to produce some working code in rust...
 
3:15 AM man
 
sigh... i still CANT believe mozilla people dun have any tutorial on IO stuff... other than that hello world...
anyways, im going to bed now
Good night guys
 
@GamErix That's a lot of text to basically say "I don't think html is a programming language because I don't think programming languages include html"
it is programming if you want it to be, and it is all the more programming if making it so will upset a few narrow-minded fools whose OCD can't cope with the notion
 
8:31 AM
morning all
 
LINUX HELP
for i in gjkgh897987.c kjhd98459.c
do
echo $i | sed 's/[0-9]/\*/g'
done
OUTPUT :_
Executing the code....
$bash /tmp/13539797454926.sh
gjkgh******.c
kjhd*****.c
I want to know how 's/[0-9]/*/g' works and replacing characters
 
please
 
I cant ask Q @jalf :/
 
how is that our problem?
 
strictly speaking, a Linux questions would be super user, bash questions though would SO
 
8:35 AM
here's a happy little thought for you: this room is not dedicated to answering questions. Sometimes, if people post an interesting question, someone here might decide to figure out an answer. But when the sane person dumps dumb question again and again day after day in this room, you're going to put an end to anyone ever wanting to answer any question here
So grow up, learn to do your own homework, and do the actual work required to get yourself unbanned on SO
when you get banned, do you seriously think the correct response is "oh well, I'll just continue the same behavior at the next place I can find where people are gullible enough to waste their time answering my questions"?
3
 
@jalf this is not homework its general question which you people must know with high reputations
 
sounds like a plan
 
@DextOr Do you intend to make yourself a member of the Ministry of Shame?
 
@DextOr maybe we do, maybe we don't. But give me one good reason why anyone here would want to answer the question.
 
@DextOr what it is is irrelevant
 
8:37 AM
Why would we care?
You behave like a retard and got banned from SO as a result. And now you're vomiting one question after another onto this room. Why would any of us want to encourage that behavior by answering your questions?
 
@jalf s/retard/idiotic pain in the arse/
 
sbi
@EtiennedeMartel Nope. When you get old, you start to adore kids. Or...? Um. Wait. Your were talking about the young adults here in this room? That's an entirely different matter, of course.
 
@sbi stop trying to suck youth out your spawn! you are old, get over it :P
 
sbi
@jalf The answer to this is, of course, that a sane person wouldn't do that. :)
@thecoshman What does it mean "to suck youth out of someone's spawn"? My English isn't good enough to grasp that.
 
@sbi thank you for waiting more than two minutes before pointing that out. ;)
 
sbi
8:43 AM
@jalf Actually I just stumbled into the room now (and only accidentally, FTM), so I couldn't have posted that earlier even if I wanted to. (Which I wouldn't commit to or against now, of course.)
 
@sbi metamorphic of course. Spawn being your of spring. I am basically making a joke that you are a bit like a witch, who sucks the beauty out of women to sustain her, except you absorb the youth out of children to keep your self going
 
sbi
@thecoshman Ah, now I get it.
Well, I can only reply that there are few people here which care less about their outer appearance than me, so your comment, caused by god-knows-what association going off in your head in response to my totally unrelated reply to Etienne, is entirely off the mark.
Mhmm, now that I look at this^, it feels like, if I would have worked harder on that response, I could have put a bit more acid into it. Well, next time.
 
@sbi erm... what if I tie it back to your (self proclaimed) bulk and request you stop eating wee ones?
 
sbi
@thecoshman Then I just would work harder at my reply. And as we all know, my Engrish is better than yours, so you'd stand no chance.
:)
 
@sbi stop eating wee ones!
 
sbi
8:50 AM
I don't even see that.
Let alone will I heighten it by putting effort into a witty response.
 
was that not what you where getting at? or where you just droning on about the very dull fact that I have poor spelling?
 
sbi
I'm not your puppet on strings, after all.
@Ell Well, now that you discovered it for yourself, this might be the time when we could speak open about your mastery of the English language...
@thecoshman At least you're not alone in that regard. :)
 
@sbi you lost me with that one...
Who else here has spelling even remotely close to how bad mine is?
 
sbi
@thecoshman Ah, but it's not only the spelling! And if we take all the other factors into account which lead to a "poor mastery of the Engrish language" verdict, almost the entire population of the British isles present in this room qualifies.
Maybe I should have added a smiley to that. Oh well, it's one of those mornings. You guys know the drill: The old man didn't sleep enough and is now grumpy.
 
@sbi ah, but as we are native, we do not learn it like you do
@sbi I don't think so, seemed rather tame
 
sbi
8:57 AM
@thecoshman Well, as a matter of fact, I grew up east of the Iron Curtain, and had to learn most of my Engrish on the Merkin west coast.
That translates into: Shame on you.
 
@sbi wait... why was it called the iron curtain, when it was clearly concrete?
or is it a metaphorical curtain?
 
sbi
The concrete thing was a wall, and it divided one city. The Curtain was a political thing, "only" iron in name, and divided the world.
 
@sbi ah, I thought the wall lead to the name
is there much left of it?
 
sbi
@thecoshman A museum, or two. A couple dozen pieces standing around here and there. (In fact, there's a piece standing in a private front yard of a house I can pass by on my way to the train to work.) Many small pieces of it on Merkin tourist's mantelpieces (a small percentage of which are even real pieces of the real wall). A few deliberate markings in the pavement, put there for memorial. A metaphorical wall between the psychology of west/east Germans.
 
9:05 AM
Is there anyway to tell if it is authentic?
It is just concrete afterall
Not like it's a moon rock or anything
 
@sbi lol, silly Merkins :P
 
oh no, now i've devolved into generating c++ code with python script
all just because the danged c++ can't do proper fp math at compile time
 
sbi
@Neil Relatives of mine (in NJ) showed me a piece they had purchased in Berlin. It was the size of half a dollar note and had about three dozen colors sprayed onto. If you've ever seen any of the graffiti on the wall, you know that this cannot have been the real thing.
 
@sbi Could have gotten the graffiti after the falling of the wall
Though admittedly, Berlin is the last place I'd go to buy a piece of the wall
Seems like that would breed people selling rocks passing them off as pieces of the wall
 
sbi
@Neil Why would you spray-paint such a small piece of concrete with so many colors, if not to fool tourists? And once you do that, why use real pieces of the real wall, rather than just some random pieces of concrete you get for free at some building waste landfill?
 
9:12 AM
@sbi Well presumably the wall was painted with graffiti after the soldiers left and later broken down into pieces
But you're right, there's no reason to believe it's authentic purely based on that
 
sbi
@Neil The wall was painted on its western site all the time, soldiers or not. And those paintings were mostly huge. I mean, the artists had a whole wall for space, after all.
 
@sbi The soldiers wouldn't threaten to shoot people coming from the western side?
 
sbi
@Neil That wall divided streets, sometimes along their middle. I think there's even a house somewhere that it ran through. How can people have not approached it?
Anyway, this is 15mins past the time I wanted to leave the house. I worked until 11pm, so leaving at 10am would be Ok. Except here I am wasting time at my machine while still in my pajama. So I gotta grab a shower, leave some breakfast, and take the house.
 
@sbi Because there was a soldier with a loaded rifle and a mean stare looking at them?
@sbi Fine, I'll let you go then. But later I want answers!
 
sbi
@Neil Those were boys drafted to stand there, and few of them wanted to. And they didn't have the order to shoot people entering and leaving the houses they lived in.
 
9:20 AM
@sbi you lazy bugger you :P
 
@sbi True, but spray-painting the wall? Even if the soldiers would do nothing, you know what kind of balls it would take to take that sort of chance?
 
@Neil the sort of balls you get when your country has been cut into, when you are at the face of oppressive regimes?
 
@thecoshman I suppose I can't understand never having been there, but I would assume if you're going to risk your neck, you'd do it in more productive ways
Rather than staring down a soldier and betting he's not going to shoot
That's about as stupid as Russian Roulette
 
When you have such little control, something as simple as causing a bit oh anarchy can mean a lot
 
@thecoshman That's a strong assumption for a simple graffiti
It's more an indicator of the status of the people more than a provoker
 
9:28 AM
you don't read anything into the fact the wall is covered whilst the surrounding ruins are left alone?
 
@thecoshman Certainly not anarchy.. Or, if there is anarchy, certainly it wasn't caused by graffiti on the wall
 
@Neil it helps spread the message though, makes people think that perhaps they too could make a difference
 
9:47 AM
@thecoshman It's subjective I think. It definitely does something, just questionable as to whether or not it merits possibly getting a bullet to your brain and sending mo message
 
10:21 AM
> Unfortunately, as its fame grew larger and larger, it started attracting all kinds of trolls, idiots and C programmers.
lol
hi guys
 
How do I move my mails in Thunderbird to a new machine with Thunderbird in it?
 
¯(°_o)/¯
 
@R.MartinhoFernandes just copy the profile dir?
Or even easier, won't it just redownload those mails on the new machine? Or are you still using something silly like POP3?
 
Where can I find that? %APPDATA%/Mozilla has only a Firefox folder..
Oh wait.
Well done. It's in %APPDATA%/Thunderbird.
 
yeah :)
gotta love consistent naming conventions
 
10:29 AM
That 'well done' sounded like 'YOUR ANSWER IS SATISFACTORY' to me.
 
10:45 AM
@R.MartinhoFernandes I do that too. Works even across operating systems. Sweet as hell. I've taken my thunderbird profile across at least 7 Os-es/versions. This includes plugins installed and their metadata (e.g. threadvis cache over the past ~15 years of email)
 
Quick question: if UTF-8 is so great why do almost (?) all (!) programming language runtimes use UTF-16 or UCS-2 instead?
Just because it allows random access for characters without too much loss?
 
@KonradRudolph It does not.
 
or is it purely for hysteric raisins and to be deprecated?
 
@KonradRudolph Because of historical reasons.
 
Now only if Microsoft had similar support. Take your visual studio settings anywhere you go. Oh and include your normal.dot and custom keymappings in Office with you. Too simple, right
 
10:46 AM
@R.MartinhoFernandes Sure does. Surrogates are simply ignored by most runtimes – e.g. .NET
 
@KonradRudolph Both Microsoft and Java made the decision before UCS-2 was replaced by UTF-16.
 
@R.MartinhoFernandes Okay :)
 
@KonradRudolph That is false.
 
@R.MartinhoFernandes Is it? Doesn’t str[x] in .NET always return the xchar, no matter how many code points there are stored before it?
 
10:47 AM
@kbok Great idea. "Pauper Press" lol
 
Last time I really worked with .NET, that was definitely the case
 
@KonradRudolph UTF-16 does not allow random access. UCS-2 does, but only allows you to represent a subset of Unicode. So you're screwed no matter what, basically :)
 
@KonradRudolph Yes, the interface of System.String is based on code units. What part of this lead you to your conclusion?
 
@jalf Yes, that’s what I meant … .NET, as far as I know, only represents that subset
 
but yeah, it's a leftover from the happy old days when we naively thought that 2^16 characters was enough for everyone
 
10:48 AM
@KonradRudolph It works fine with the full set.
 
@KonradRudolph nah, it allows you to have surrogate pairs, so it is UTF16. And handles the full set
 
@R.MartinhoFernandes Okay, maybe I’m confused. What does str[x] return?
 
@kbok > The level of stupidity displayed by anyone buying this beggers belief, the type of person that looks at this and thinks 'oooh that looks great, I need that' probably spends the rest of the day convinced they're a potato.
 
@KonradRudolph whichever code unit is at that location. Which might be one half of a surrogate pair
 
10:49 AM
> This is a fantastic product. Formerly I set all my passwords to "password" because otherwise I couldn't remember them.
 
in which case you're also screwed ;)
 
@KonradRudolph A code unit. Yes, it sucks.
 
> Admittedly the first few times I did this it was a problem because I forgot where I had hidden them - if you do find any of the nine copies that are still missing please return them as they contain all my important account details and I wouldn't like them to fall into the wrong hands
 
But not that much.
Random access is overrated.
 
> - my name and address are on the first page (just above my bank details), but the house is empty every Monday to Friday because I work abroad during the week and I don't have any close neighbours, so you'd be best to drop it round at the weekend unless you want to pop it inside the back door (don't worry, there is no burglar alarm to set off or dogs to worry about!) - the key is under a flowerpot by the step;
> if you were feeling very helpful you could pop it into the safe next to the jewellery and credit cards; the combination is 7643 (easy to remember as it is the same as my bank card PIN).
 
10:50 AM
What sucks big time is things like Substring being able to chop strings midway through surrogate pairs.
 
@jalf Wait, a code point can be a half surrogate?! I thought that was the distinction between character & code points …
 
> I found one of these books on the train and thanks to the passwords and details of all of the "secure" sites the owner had used I was able to become that person for a good 6 months.
 
@KonradRudolph Most of the time, "character" means whatever the speaker wants it to mean.
2
Jalf meant code unit.
 
@R.MartinhoFernandes Okay. Then we’re on the same page
 
FWIW, even the Unicode Standard itself often uses "character" to mean codepoint.
 
10:51 AM
in other words, .NET does random access
 
@R.MartinhoFernandes yeah, I edited it. Sorry for the confusion :)
 
@R.MartinhoFernandes Which is fine. But in .NET, System.Char is a fixed-size data type of 16 bits
 
@KonradRudolph In a very unsafe manner, yes.
 
sbi
@Neil Not too much, actually. You need to keep in mind that the wall's main purpose was to lock people in, and so long as it did that, they didn't care too much about what it looked like from the other side. AFAIK, there were, in almost 40 years, not even half a dozen life-threatening incidents for west Berliners. ISTR one or two of them being about graffiti, but this could well be wrong. I am sure the Wikipedia article about the wall will list or link to those incidents.
@R.MartinhoFernandes It's a sure sing of lack of character to bend a word's meaning that way.
 
@sbi Well you could argue it was because they didn't want to do anything worthy of being a "life-threatening incident"
 
10:54 AM
@KonradRudolph Yeah. If you want to deal with the full set, you need to use Int32, which is what stuff like Char.ConvertFromUtf32 uses.
 
@sudo_O Sorry. I didn't know I was causing you any grief. — sehe 4 secs ago
Man the butthurt season seems to have begun
 
And you need to manually test for surrogates and shit.
 
okay, follow-up: assuming I were to design a UTF-8 string class (I’m not!) – what should str[x] do?
 
Dunno. I don't provide random access in ogonek.
Give me a use case.
 
refactoring, AKA break ALL the things!
 
10:58 AM
@R.MartinhoFernandes That’s the problem – I don’t know what “the most typical” use-case would look like.
 
@sbi I cannot claim to use "character" consistently, which is why I avoid it entirely when it is relevant to the subject at hand.
 
sbi
@Neil Hey, I had just pointed you at it. Why didn't you look it up for yourself? Wikipedia says: "The West Berlin side of the wall had artwork completely covering the wall", so it cannot have been all that life-threatening.
 
room topic changed to Lounge<C++>: Where we had horde drives. [c++] [c++11] [c++-faq]
 
I think if you want decent unicode support, you'll have to stop thinking of a string as an array of individual characters, which also means ditching the idea of general-purpose random access
 
@KonradRudolph The only scenarios I can think of where you want to use random-access all work fine if the random-access is done on code units. Say, you have a string with a known prefix and want to take the rest of it, i.e., substring without ever checking if the prefix is really what you know. Not very common, nor useful, I'd say. Because the moment you need to check the prefix, you might just save an iterator to the end of it instead and give up on random-access.
 
11:04 AM
en.cppreference.com/w/cpp/container/set (Defined in header <set>). PS: downvoted because "did not show any research effort". At allsehe 55 secs ago
@ScottW Mmm. We'll have to reconsider your status in this lounge.
 
lol, someone proposed deprecating a feature that was already removed.
 
sbi
@sehe Why? Was he ever regarded a non-failure?
:)
 
@KonradRudolph So, what @jalf said, basically. (And that is the approach I am taking on ogonek: text is a range of codepoints only because codepoints is the obvious interface for functions to agree on; even codepoints are not very useful unless you are doing shenanigans with fonts; you are not expected to deal with that directly other than for building building blocks)
 
@sbi Precisely. Did we ever not have to (re)consider anyone's status in this lounge?
 
sbi
"Friday, the suspense"? What kind of title is that to be given to a weekday?
 
11:12 AM
In even more words, I think random access into strings only survives for historical reasons!
 
@ScottW Oh. Exciting. Would you be relocating?
C++ Rocks dubious marketing smell:
> Discover C++11 features for just $42 ➡
 
sbi
@ScottW Wait. Are you trying to tell us you would commute from MI to teh Netherlands on a regular base?
 
> You’ll learn easily with tons of examples. I spent a lot of time researching and testing, and as a result the book details many C++11 bugs and cases of non-standard behavior in Visual Studio.
lol
"OMG, the book details many bugs! I am so excited I will buy the book and start using VS2012 right away!"
 
room topic changed to Lounge<C++>: C++ Sucks: Discover C++11 compiler and standards defects for $ -,-- [c++] [c++11] [c++-faq]
room topic changed to Lounge<C++>: C++ Rocks: Discover C++11 compiler and standards defects for $ -,-- [c++] [c++11] [c++-faq]
@R.MartinhoFernandes Amazing. I hadn't even come that far
 
@sehe I didn't start from the beginning.
But the beginning itself is hilarious.
> You know you could write better code if you used the new C++11 features, but you can’t find the time to learn them.
A book meant for people that don't have time to learn the subject of the book.
Ain't that great?
 
11:17 AM
Only $42! You just need to have time to make the payment!
Ironically, had the book been free, it would be the Puppy's ideal book, in a way
 
I mean, it's "ultra-focused" (only C++11, and only those implemented by MSVC) and it rants about bugs and defects !
> If you want to make the book available to everyone in your organization, a team license available for $499, which allows you to provide the book to up to 100 users. It’s much easier (and potentially cheaper!) than tracking individual licenses.
Now that's smart marketing toward project managers
 
@sehe "Take your visual studio settings anywhere you go." exists.
@sehe I don't know about the contents of the book, but man, is the marketing terrible or what?
 
@R.MartinhoFernandes I love it. I don't have to worry about missing anything important
 
Really, a team license for a fucking book?
 
11:23 AM
In all fairness, the blog contains a few nice things:
 
And there's also a FRENCH version
 
way too small to read
 
@DeadMG There's a PDF, muppet :)
 
11:29 AM
lol
 
@sehe lololol Lexicology > Expressions > lvalue; rvalue; constexpr.
I also like how in the site, if you mouse over the image and click to zoom, you are presented with a window with a smaller unreadable version instead.
And according to that, nothing changed in initialization.
Yeah, the book contents are possibly as good as the marketing.
 
good morning
 
@R.MartinhoFernandes I think I know what you mean. But I fear that the marketing is actually very good. And it will probably work. So, sadly, I think the marketing is probably an order of magnitude better than the book.
Reminds me a bit of that guy behind CppDepend, always blogging "highlevel" stuff about completely foreign libraries, without looking at real usage.
 
^ Just if someone else might find that data useful.
 
@sehe Yeah, the author seems to love random graphs.
 
11:37 AM
^ rather interesting infographic though
 
@Cheersandhth.-Alf What is CPPX_NUM?
 
@sehe wtf
 
@R.MartinhoFernandes just a macro that removes the digit grouping commas
 
@kbok He's french?
15 mins ago, by sehe
And there's also a FRENCH version
 
@Cheersandhth.-Alf I was about to ask how can that be, but now I get it. The commas separate arguments and you just paste them together. Right?
 
11:40 AM
yes
:)
 
That's Evil ## Squared
 
> In other words, std::shared_ptr comes before raw pointers, (...)
ARhjgrhg. Fuck shared_ptr.
 
@sehe Kill me
 
@Cheersandhth.-Alf So. We actually needed constexpr log2?
@kbok No time
@R.MartinhoFernandes No fuck_ptr to share
 
@sehe yes. or code generation, which is what i'm doing now. python script
^ The definition of CPPX_NUM
 
11:46 AM
@Cheersandhth.-Alf I don't see how the CPPX_NUM adds any value, especially if the code is actually generated?
 
Next I'm going to run int old interesting question: in foo(int n), how to "best" call foo<n>(). I think an array must be the thing?
 
@Cheersandhth.-Alf The best thing, of course, would be not to call it. Otherwise, why don't you memoize all of foo? Get rid of a ton of "useless" specialized foo<> instances
 
@sehe at least my eyes can't easily see how many digits there are in a number like 430676558073. i think that is so also for many others, otherwise digit grouping would probably not have been invented? anyways, with digit groups (which btw. are also supported by C++ numpct, at great cost) you write and see 430,676,558,073
 
@Cheersandhth.-Alf It's generated code. Why would you want to "easily see how many digits"? It's not like that if you do std::cout << log2<27>::R; you get the groupings back
 
@sehe why should generated code not be clear, when it has no cost? in contrast, adding in that clarity in typed in code is added work. i'm a bit perplexed by the question.
 
11:51 AM
0
Q: Can recursion be removed from this function?

sameer karjatkarThe profiling has pointed to this function as a performance degrader, as the recursion dives quite deep Func(unsigned eff_id) { if (eff_id == 0) return 1; if (eff_id == 1) return 0; XCodeRuleNode rn(m_IH_rn_ri.get_key(eff_id)); // Initialize { rn.t_id = EffNot(rn.t_id); rn.f_i...

How do I eliminate recursion in a function without recursion?
 
@R.MartinhoFernandes that depends on the function
and i think the edit got you :-)
 
@Cheersandhth.-Alf It's not adding clarity. IMO. And it does have cost.
 
@sehe well, your opinion is contrary to the whole world (almost), which does use digit grouping, for clarity.
 

« first day (773 days earlier)      last day (4175 days later) »