« first day (368 days earlier)      last day (4574 days later) » 

7:00 PM
or the endianness
 
@jalf the question is "What is first?"
 
Eh?
LSB is always LSB.
 
I prefer LSD over LSB
 
c++ people are smart :)
 
7:00 PM
lol
 
that why im herre to ask for help
 
don't you mean the least significant byte?
 
@GlenP no, smart people code in C++
 
@CatPlusPlus Really? if 0000 1111 on my machine on a big endian machine wouldn't it be 1111 0000 ?
 
@jalf oh don't confuse me pls
 
7:01 PM
well im using c# :(
 
The order is different, but the same bit is least significant one.
 
@CatPlusPlus hmm?
 
its not bad
 
Find a .NET chat room for .NET help?
Or just ask a question
 
7:02 PM
@DeadMG apparently not as smart as C++ folks
 
Like, a proper question
 
SHIT wrong one!
 
In 1234 least significant digit is 4. It's big endian notation. If you write it as little endian, you get 4321, but 4 is still the least significant one.
 
@CatPlusPlus the integer 1234 is 1234 no matter what
 
7:03 PM
its not about any language its a general question
 
We downvote drive-by linking btw
 
by definition
 
oh please its interesting
 
That's what I'm saying. Little and big endian are just notations.
 
@CatPlusPlus I thought least significant bit was the first byte or bit
 
7:03 PM
but depending on LE vs BE, the first or the lowest or the highest byte might contain the 4 (assuming that each digit is a byte)
@LewsTherin Least significant: contributes the least
 
little and big are just left to right or right to left
 
The difference in LE vs BE is where the LSB or MSB is written.
 
in the number 17, 7 is the least significant digit, because it only controls the ones, where the 1 controls the tens
 
I need examples on how to design a word procesor component
 
@jalf I don't get that at all
 
7:04 PM
a whole book would be ideal
it just like human laguages, Aribic is written in reverse right?
 
It's a difference between LTR and RTL writing system.
 
@LewsTherin well, a number is made up of one or more digits. In the number 17, you have two digit. The '1' contributes ten to the total number, and the '7' contributes seven
 
just reverse the order thats all it is
 
Since the '7' contributes the least, it is the least significant ;)
 
17 is 10^1 * 1 + 10^0 * 7.
 
7:06 PM
depending on BE vs LE, you might store the 7 first or last in memory, but it is always the least significant
 
@jalf oh I just thought it was the way the number was read
 
the math is secondary though
 
What if it was 71. would 7 still be the least sb?
 
@GlenP I don't think you need to explain what C# is on SO. People generally know that on a site like SO.
 
@LewsTherin 71 as in seventyone?
 
7:07 PM
obviously all the math is reversed to if it depends on order its just cow common sense
 
no, then the 7 would contribute seventy
 
@jalf yeah
 
and the 1 would contribute one
 
Tony: was a joke :)
 
@LewsTherin represent 71 as binary then take out lsb?
 
7:07 PM
The most significant digit is the one with a highest exponent.
 
so which means the last digit is always the least significant bit?
 
0_o
 
No, whether it's last depends on the writing convention.
 
@MrAnubis ?
 
if you want an analogy, then some languages spell some numbers as a kind of little-endian. In danish, 42 is spelled and pronounced as "two and forty", so the least significant digit comes first
but it's still the least significant
 
7:09 PM
@LewsTherin they got the right guy this time (me not you)
 
SO you guys have an experience writing word procssors by any cahnce :)
 
Numbers in positional systems are usually written big endian on paper, but that's just the convention.
 
Dont want to reinvent the wheel
 
Oh right...so it is just the way it is notated. Like a kind of weird form of communication? ha ha
 
why would anyone write word processors?
 
7:09 PM
Then use TeX.
 
its a special one
see my question
 
Doesn't matter, use TeX.
2
 
@LewsTherin yeah, exactly. Some CPUs prefer the number to be stored with the least significant digit in the lowest address, others put it in the highest
@GlenP word processors are bad in general. The last thing I want is a special one ;)
 
its just needs basic features dont have to be the next ms word
 
@GlenP You know your question is going to be flagged to hell, right?
 
7:11 PM
its a outliner program
 
@jalf oh thanks. I think I understand now.
@MrAnubis what do you mean?
 
why its a real question i want a book or something
 
I mean your edit.
 
its gonna have some special outlining features in it
 
@LewsTherin nothing , you muggle! :D
 
7:12 PM
yeah why would anyone vote to close so soon
 
It's incredibly unlikely that anyone wrote a book on word processors
Too specific a field
 
big article anythign
oh i know but it would save so much time
:)
 
Uh, that's utterly irrelevant
 
@jalf so 10 0 is the least signifcant digit so it is stored like 0001 0000 0000.... in memory?
 
i got a book on swing that goes pretty far into the text components
 
7:13 PM
@LewsTherin on a big endian or little endian machine, you mean? ;)
 
@MrAnubis well I can do this Diffindo!
@jalf little endian lol
 
@GlenP, why don't you just take LibreOffice/OpenOffice and adjust it for your needs?
 
I see someone recognised the reference this time.
 
and this is 10 as in "ten", right?
 
@jalf yeah. not 2 :)
 
7:14 PM
because 10 in binary is 1010, plus whatever leading zeros
so it'd be 1010 0000 0000 ...
 
omg ugh... yeah
 
but yeah, you got the idea ;)
 
I was writing it in hex notation :S
 
thats a good question felix, i want to use the special features of microsofts native WPF, it does very advanced fonts and i want to integrate tightly with the operating system too
 
7:15 PM
@jalf that explains why it worked :) Thanks man you rule
 
@LewsTherin in hex 10 isn't ten, it's sixteen ;)
0x10, that is
 
plus OO i a big heavyweight general purpoe thing, mine is a lightweight wordprocors/outline hybrid :)
 
its not for writing pappers its for organizing ideas , lists etc
 
@GlenP I prefer TeX ;)
 
7:16 PM
@jalf 0x10 yes you are right. I find converting binary hard. I mix them up
 
WYSIWYG text processors are the worst thing since unsliced bread.
 
got nothing against TeX :)
 
I have to go now brb in 1hr. Thanks a lot folks
 
its not wysiwyg, its not even goign to have printing thats not the point
its for organizign your thoughts and lists and data, writing outlines
 
@MrAnubis that's old, I saw this more then a year ago
 
7:17 PM
@GlenP like a wiki, or MS OneNote? ;)
 
yes !
 
so, why not use those? ;)
 
but i ggot some unique features in mind :)
 
I prefer a pad of plain old paper for that kind of thing :)
 
then take one of those and modify them.
 
7:18 PM
@TonyTheLion but that's good , isn't it? :D
 
one note is kindof like a gaint clipboard, but yeah something like onenote
 
can't organize your thoughts properly if you can't doodle randomly and twirl the pen and stuff like that
 
Uh, native WPF? WPF is not native.
 
also monioutliner for mac is very popular
 
@MrAnubis that means it's repost for me :(
 
7:19 PM
I don't organise my thoughts. I procrastinate until they disappear.
 
and drive everyone around you crazy because you drop the pen every 5 minutes from excessive playing around
I view concentration as a constant resource. In order for me to concentrate, someone else must be distracted
 
Also, it is not part of the Windows API
 
i thought they shipped it since vista
 
@TonyTheLion what happened to you? you were the biggest porn poster here , why don't you restart?
 
@GlenP Microsoft ships lots of things that aren't part of the Windows API ;)
 
7:20 PM
well if they dont have it the installer will install it for em
 
No, it's a .NET thing and works on XP too
 
ok i like WPF it is the prettiest
 
@MrAnubis OMG! I'm now known for posting Pr0n????
holy shit
 
also a lot of people hate and despise WPF and say it has terrible font rendering
 
o-o
 
7:21 PM
It's a shitty, shitty API
 
if you want text to look nice on Windows, you should look into DirectWrite
which is part of the Windows API ;)
 
what direct write?
 
and about two million times more efficient too :)
 
@TonyTheLion lol , remember you posting some hot chicks pics in old times ( don't mind it though)
 
speed isnt a problem but the font quality is
the fonts dont look good??
i think i read somethign about them improving them
 
7:22 PM
@GlenP depends on the monitor and things :)
 
oh no
 
IMO, WPF font rendering tends to look fairly nice, and a lot nicer than anytihng Microsoft had before
 
when does it look bad?
 
but some people disagree
 
@MrAnubis that wasn't porn
 
7:23 PM
@TonyTheLion pardon me if that hurted
 
was merely girls
 
I think ill try WPF it has a very cool design
 
@MrAnubis it was funny, wasn't offensive at all
 
it cant be that bad
 
I don't mind being known for posting pr0n, but then I should actually do it :P
 
7:24 PM
visual studio uses it and the fonts didnt look bad to be at all
 
@TonyTheLion lol i miss your old version , posting those nice pics
 
@GlenP have you checked MS Connect and their Uservoice? There are plenty of people complaining about blurred or ugly fonts
anyway, I'm not the one saying WPF font rendering is terrible, just saying that some people say so :)
 
I like how the graphics can all be scaled thats a cool feature
 
also pointing out that DirectWrite is much more powerful (and doesn't rely on .NET)
 
mayeb i can embeed a directwrite comment in it
 
7:26 PM
lawl
 
component
its called direct write-- ill check it out thanks
what do i have to write the driect write component in-- can that be in c# too?
 
it's a COM API
 
ok
 
so it is basically C++, but it can be called from .NET, yes
anyway, I've never actually used it, so check the documentation ;)
 
i think you can put a COM component inside the WPF app
ok :)
thats helpfull you are smart cows-- knew the c++ people were smart
 
7:29 PM
cows? :|
 
im a cow fan
 
sbi
@MrAnubis What?
 
you know Bovines?
 
sbi
@GlenP Aren't those the ones producing bovine excrements?
 
@sbi you might wouldn't have liked that deleted reply , so deleted it :)
 
7:33 PM
They are trying to blame cows for global warming!
 
sbi
@GlenP Well, from what research I heard about, it's not hard to blame a considerable part of global warming on them.
 
MS says it fixed the text in WPF: "During our last milestone, we have identified an issue with our display mode (pixel aligned) rendering. When using light colored text on a dark background, text rendering differed noticeably from GDI. With this fixed, WPF is not technically pixel perfect with GDI text rendering, but the difference is indiscernible to the naked eye.
 
I'd rather blame the gobal warming on the people who will later eat the cows or use their skin or whatever...
 
have to go now , Hail Mr.Anubisâ„¢! :D
 
7:36 PM
What?
 
People say cows are fat-- but eat is their JOB!
 
I love the cows. They're tasty.
 
cows are pretty clever
 
I understand cows now that i have udder cancer :(
 
You have an udder?
 
7:37 PM
no but i have a similar cancer-- my ass has it
 
sbi
@felix Actually it's the cows pooping that releases methane, and causes global warming, rather than the eating of cows. But of course, the fact that there are so many cows pooping around is to be blamed on us. Just as the fact that so many of them are grazing now where there used to be rain forest.
 
which implies you have four legs and are female?
 
they dont bother to treat the poo they just keep in in gaint poo pools
 
@sbi, yes, I know, that's what I meant :)
 
@GlenP you're under medication?
 
7:38 PM
@sbi Methane is a natural byproduct of nature. Therefore it's harmless.
 
of course
 
sbi
@RMartinhoFernandes Humans occur naturally. Therefore they are harmless. Oh, wait...
 
hopefully they can remove it this year
 
speaking of a_holes hehe
whats she saying there
 
7:40 PM
@GlenP She's saying that CO2 is a natural byproduct of Nature. It's harmless.
 
sbi
@RMartinhoFernandes I'm not even going to start this. Were you just trying to lead Merkin politicians as arguments into the debate??
 
@RMartinhoFernandes you shouldn't eat cow , they are very simple living cows
 
Plutonium is also natural. It occurs in earth. So why there is so much fuss if I want to put plutonium into the drinking water? ;-)
 
@sbi No, crazy people, regardless of nationality.
 
i didnt start it-- dont blame the cows!!
 
7:41 PM
@RMartinhoFernandes I see crazy people
 
I had four pain killers-- what's your excuse :P
 
What software do you use to play your music? Do you still use Winamp?
 
no cow eating from now!
 
On Windows I use foobar.
 
sbi
7:42 PM
@RMartinhoFernandes Politicians aren't really reputed to employ rational reasoning in any country, but what I've seen in the US...
 
(Yes, that's the name of the program.)
 
@RMartinhoFernandes me too
 
@RMartinhoFernandes Never heard of it. Guess I need to check it out.
 
Oh wait, it's actually foobar2000.
 
its just the stupidest 10% keeping the rest of the country polictally screwed up
 
7:43 PM
That might help googling.
 
haha, a program named foobar... If I would use Windows I'd try it out now... :)
 
sbi
I'm using iTunes, but I have foobar installed and even running, in order to try it, because I don't like iTunes all that much anymore. I just never get around actually do the trying out...
 
i hate itunes cause its always updating
 
@RMartinhoFernandes I remember trying it out a long time ago.
 
sbi
@GlenP I hate OSes, cause they are always updating...
 
7:44 PM
youporn.com
 
I'm using banshee music player at the moment, but I'm not too happy with it...
 
@sbi you use mac?
 
here you go, porn
 
yeah windows has tons o fsecurity updates now
 
sbi
@MrAnubis No, I'm on Windows.
 
7:44 PM
@sbi I'm highly skeptical of anyone who doesn't hate OSes
 
Frequent updates are a good thing.
 
they're a necessary evil
 
omg adobe acrobat is the worst
 
Especially for things that are network-y.
Like iTunes, the music player.
 
@TonyTheLion virtual +1 , lol
 
7:46 PM
sell your apple stock hehe
 
Steve JObs-- another victim of udder cancer :(
 
sbi
@GlenP I think you will like these observations.
> Historically, a story about people inside impressive buildings ignoring or even taunting people standing outside shouting at them turns out to be a story with an unhappy ending.
I like that.
 
Humans, especially of the male gender, don't have udders, dammit!
 
lol
 
7:48 PM
und udders are not inside the body.
 
Goldman sachs has a ten BILLION dollar exec compensation budget this year alone
 
@sbi There's nothing on that page. Just "by Lemony Snicket" in big letters.
 
and they are laying off 1500 people
 
sbi
@RMartinhoFernandes Scroll down.
 
Oh. Ooops.
 
7:49 PM
Goldman Sachs is udder cancer
 
Short billions?
 
sbi
@felix This is udder nonsense.
 
:D
 
1500 peons i guess
you think they would just keep em on a couple years to look good
 
What's the obsession with the udders?
 
7:50 PM
the job creators
 
ask Glen...
 
I can understand boobs, but udders?
 
oh cows are the cutest
i gots the udder cancer
 
And tastiest.
 
please, can we talk about singletons now?
2
 
7:51 PM
can't beat cheese
 
you don't have an udder, so you cannot have udder cancer.
 
OMG singletons are a waste of time
i used to use em, but no more!
 
@MrAnubis what do you want?
 
but he free country
 
@RMartinhoFernandes just some templates questions , can you join me there?
 
7:53 PM
room topic changed to Lounge<C++>: Legitimate uses of singletons: (1) derailing discussions about udders; (2).....? [c++] [c++11] [c++-faq]
 
I dont understand why c# doesnt have multipile inheritence
 
I don't think people would mind you asking about it here.
It would end all the talking about udders.
 
ok
 
@jalf legitimate use of singletons :)
 
@RMartinhoFernandes shorttext.com/xPY1bD
 
7:54 PM
@GlenP Complexity concerns of the VM. You can find plenty of duplicates for that on the site.
 
the only reason c# and java don't have multiple inheritance is because people are too stupid to use it without making a mess
oh i know
 
sbi
@jalf I fail to parse that.
 
if you see the point 1. in 8.4.1 Friend Functions , what does author means to say by "If the name isn't qualified (in other words, it doesn't contain a double colon), it never refers to a template instance"
 
sorry cows off topic
 
@MrAnubis That from C++ Templates: the Complete Guide?
 
7:55 PM
oh yeah friend functions are a good feature :)
 
@sbi it's a list of things singletons can be legitimately used for
currently with only one item on it
 
@RMartinhoFernandes i know that but what why would he say ".....it never refers to a template instance"
 
it's always good to have friends :)
even if they are functions
 
Actually, the CLR supports multiple inheritance, but the C# lang designers won't add it to the language for whatever reasons.
 
one day I might discover something to fill in the second item with
 
7:55 PM
i like c++-- lots of features
 
sbi
@jalf Oh, I see. Sorry for being so dense.
 
@GlenP c plus plus minus minus?
 
--c;
 
@MrAnubis Qualified names are names like foo::bar. Unqualified names are just like bar.
 
YOu can add multipiple inheritence at the lanuage level-- you dont need the VM
 
7:56 PM
Does that help?
 
hypen!
 
@GlenP One of the design goals of the CLR was to allow easy interop between the various languages.
 
good point
 
The CLR support for multiple inheritance is shoddy.
 
@RMartinhoFernandes i know that but what why would he say "If the name isn't qualified it never refers to a template instance"
 
7:57 PM
@MrAnubis Ah, I think he's just stating the language rules.
 
mixins are really useful thou-- and interfaces are just half ass mixins
Well scala adds it to the JAva VM
sort of they have mixins they call traits
is retty cool solution
 
I'm currently hearing sounds from a Twilight movie in the background, meh
 
hey my ussers feel better now :)
udders
 
@GlenP With extension methods you can turn interfaces into mixins -- with only two layers of indirection.
 
extension methods?
what ae those
 

« first day (368 days earlier)      last day (4574 days later) »