« first day (472 days earlier)      last day (4490 days later) » 

9:00 PM
@FredOverflow Nevermind, it is in 5.10:
> Pointers of the same type (after pointer conversions) can be compared for equality. Two pointers of the same type compare equal if and only if they are both null, both point to the same function, or both represent the same address (3.9.2).
 
cool
 
Updating my answer
 
Xeo
Ahh, so damn interesting, that quantum and superposition and whatnot stuff :<
 
I don't see how you can actually implement this stuff in software and get real performance improvements, though.
 
sbi
 
9:08 PM
 
? why the repost. Is it a 'spot the 7 differences' challenge?
 
Because in sbi's post, I only see "Image not found". Am I the only one?
 
Looks like.
 
This one is so great :)
 
9:10 PM
@FredOverflow That one is awesome.
 
@FredOverflow FWIW: no difference
460a3820e2b63230cc0160f3f350448b  this_is_the_only_reason_i_have_not_published_my_TOE_yet.png
460a3820e2b63230cc0160f3f350448b  2KAuj.png
 
> Cuz if I didn't write it, the code obviously sucks.
 
@FredOverflow Ad blocker? domain filtering if you ask me
 
rofl - those comix are hilarious
 
> @Kerrek SB this might sound a bit weird, but i need something more low level than a vector. – TheBreadCat 29 mins ago
Another user in the endless quest for assembly.
 
9:19 PM
a user in another room is having a bot automate most of his responses. Is the proper term cyborg?
 
No, it's "stupid".
Cyborgs are part-human part-machine physically.
That's just a human letting a bot post on his behalf.
 
@RMartinhoFernandes He's debugging a bot, in a room dedicated for the task. The community seems to be enjoying it.
 
@RMartinhoFernandes I think there is a level between vector and assembly ;)
 
ohai
 
This is a cyborg:
Neil Harbisson (27 July 1982) is a Catalan raised, Northern Ireland born artist, musician and performer best known for his self-extended ability to hear colours. In 2004 he became the first person in the world to wear an eyeborg.*Wade, Greg. [http://www.bbc.co.uk/devon/news_features/2005/eyeborg.shtml "Seeing things in a different light"], BBC, 19 January 2005. *[http://www.irishtimes.com/newspaper/health/2008/0527/1211740477974.html "Colourful artist: on a slightly different wavelength"], The Irish Times, 5 May 2008. The inclusion of the eyeborg on his passport photo has been claimed by s...
 
9:23 PM
Hey
 
2
A: Bit Aligning for Space and Performance Boosts

MysticialIt is highly dependent on the hardware. Let me demonstrate: #pragma pack( push, 1 ) struct SlowStruct { char c; __int64 a; int b; char d; }; struct FastStruct { __int64 a; int b; char c; char d; char unused[ 2 ]; // fill to 8-byte boundary for array use }...

Performance question of the day. I was quite amazed as how much difference there is between Core 2 and Core i7... (over a stupid alignment issue)
 
What I don't understand is why use #pragma pack and pad manually.
 
I think it's primarily for network stuff. I don't use it though...
Or if memory is an issue, packing will cut down memory usage...
 
@Mysticial It won't if you add the padding manually.
The char unused[2]; member.
 
I just copied/pasted the two structs from the OP's example. Normally, you wouldn't need to use pack or manually pad in the first place...
 
9:33 PM
Oh, I wasn't talking about your answer, I just thought there was a (admitedly weird) reason for doing something like that.
 
If you left out the packing, then the compiler will keep everything aligned. So it's more of an example of how you could kill performance by misusing pack.
 
So, the sane FastStruct would be: struct FastStruct { __int64 a; int b; char c; char d; }, no #pragma?
(It's even already sorted by size)
 
yes, I'm 90% sure that alignment is the only thing that makes that performance difference.
 
@Mysticial +1 welldeserved
 
@sehe Oh cool. Thanks!
It looks like the size matter a tiny bit too. The FastStruct case also doesn't require indirect addressing... hmm...
 
9:40 PM
Yeehay I'm in a good mood. I accidentally repcapped again today. I reached 100pts by noon from unusually high residual upvotes (i.e. old answers) getting (I think) 50 and answering 1 simple question.
So I thought I'd just spend a night on SO 'for old-time sake' and do some oldfashioned question hunting
 
It turns out I can still learn a lot by doing a few random answers on even more random questions.
 
Multiple polymorphism is a thing?
 
@JohannesSchaublitb ?? (I'm seeing most of the time)
@Pubby multiple dispatch, is a thing yes
 
9:50 PM
yes that's why you are called "sehe"
 
@Pubby It's having multiple multiple forms!
 
@JohannesSchaublitb Zing! Remember, I'm not so German. Still, good pun
 
man
so much specification to write
 
I guess that means multiple inheritance.
@DeadMG Copy and paste from C++ :P
No, wait...
 
@RMartinhoFernandes No, it is a generalized Visitor pattern if you will.
 
9:51 PM
Don't do that.
 
heh
I really won't do that :P
 
Just one that doesn't require you to write a parallel class hierarchy for your visitors
 
you can copy paste from Cspec
they seem to have a clean formalism
 
@sehe Wait, you're saying "multiple polymorphism" is really a thing?
 
@RMartinhoFernandes waht's taht!
 
9:52 PM
also
I have a problem that I could use some suggestions on
 
Badly worded, but yes it is a thing. Some languages boast it (not sure, but I think Eiffel, had it and some of the Smalltalk type languages (?))
 
no, wait, I solved that problem, I think
never mind
 
@sehe Ah, so you're assuming it means "multiple dispatch", without seeing any context?
Guess what, you're wrong, because I know the context :P
 
Well, I wouldn't call that no context. But you could be right
 
9:53 PM
1
Q: Multiple polymorphism in C++

sofThere's the compile error " ' A ' is an ambiguous base of ' C ' " existing on the test diamond multiple inheritance below, struct A { void f();}; struct B1: A {}; struct B2: A {}; struct C: B1, B2 {}; void g() {A *o = new C;} It's solved by virtual inheritance below, struct B1: virtual A {};...

 
Where's the context at
 
it's on teh right mouse button
 
@RMartinhoFernandes Hehe. Can you tell I stopped spotting questions for the day! I repcapped, and once a month is.... plenty when you're married :)
 
> Ohai and welcome to the Wide Language website.
LOL
"ohai" <----- LOL :P @DeadMG
 
@RMartinhoFernandes I added an answe
r
 
9:55 PM
@TonyTheLion url?
 
Star bait
 
@FredOverflow wide-language.com
I was faster :P
 
@Pubby so yes, it is a thing, but the thing that the OP was trying to refer to :)
 
Faster than what?
I didn't do anything.
 
That website certainly isn't over-designed :)
 
9:56 PM
damn you
 
@RMartinhoFernandes Stop changing history!
 
@FredOverflow simplicity itself. Just @DeadMG likes it, straighforward as fuck
@FredOverflow he just has to go back in his memory and he can overwrite anything, it's normal for bots to change history :P
 
At least it has no Flash.
 
actually, I haven't uploaded the latest vershun yet
 
Yep, still reads "// TODO: Remember what went here" somewhere.
 
9:57 PM
but it still has that in it
 
you should make ohai a keyword in your language. ohai("hello"); prints to the console :P
 
lol
 
@TonyTheLion Did you try LOLCODE?
That might be what you're looking for.
 
nope
maybe I should write a lolcode parser
 
9:59 PM
ohai("world");
 
I think my project still has..
 
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
 
no!
 
#define KTHXBYE exit(0);
 
10:00 PM
I cut the comment describing the infintesimally small amount, if non-zero, of help that I've had from the robot
 
your language should be called "woof"', not wide-language
you're a puppy, you only woof
 
@DeadMG Wait, you did what?
You did what?
 
I don't remember cutting it
but it's not here anymore
or Visual Studio's Find can't find it and nor can I, at least
 
@FredOverflow The user interaction design even includes a seminal 'meme' and a sound logo (ohahy)
 
10:03 PM
@DeadMG await to be sued by a patent laywer:
 
lol
 
google.com/… (patent search: OHAI technology user interface)
 
$ hg grep Martinho -r0:15
$
This means it was never there!
 
really?
but I definitely remember adding it
 
10:04 PM
just not committing :)
You cut it, alright. You didn't say it wasn't 5 seconds after adding it :)
 
yeah
could be in the work I did over Christmas that I dumped
 
Nov 10 '11 at 7:36, by DeadMG
std::unique_ptr<Wide::Parser::NamespaceAST> Wide::Parser::operator()() {
    // Tiny bits of credit go to @RMartinhoFernandes.
 
ah yes
I cut all of that code when I changed back to using Bison
wait, I never committed that?
oh, that was after I got back to university and didn't fix my source control
 
Ah, ForeverWide, the programming language of the future.
 
Not in the stuff you put in your public bitbucket repo.
 
10:06 PM
The far, far future.
 
hey
my work on it is progressing even now
 
Is that website yours?
 
yes
 
It should have a "hello world" on the front page :-)
 
lol
 
10:07 PM
An enterprise-y hello world.
 
actually, it's funny, because I might well have forgotten the solution to the problem I had with that
 
Create a type for each character, and make an array of that.
 
@RMartinhoFernandes That sounds like it should be a factory
 
don't forget, it must also be a Singleton and a bean
 
Wait, that's not enterprise-y. It's missing the XML.
 
10:08 PM
lulz
 
actually, much as I laugh, beans are pretty useful things
 
@DeadMG If every character is a singleton, you can implement Twitter with message size 26.
 
no, the Bean thing, as in Java Beans
 
to fart
 
10:09 PM
What are those?
I've always laughed at it, but I never knew what they were.
 
what does programming have to do with beans?
 
it's where you have a class which is mostly comprised of getters and setters for various properties
 
Though of course every character should be an object that's capable of printing itself. "Hello World".each([]{print();});
 
when you say Java, I think about Coffee
 
10:10 PM
@TonyTheLion Which comes from coffee beans.
 
the trick is to use a repetitive naming scheme, so that you can discover them through reflection
 
@KerrekSB how would you make that?
 
it was like writing templates, but the introspection was much more powerful
 
@TonyTheLion On the heap, I imagine.
 
@DeadMG Oh, it's like .NET properties by convention?
 
10:10 PM
yes, effectively
 
@KerrekSB huh?
 
@DeadMG: So, you dropped the "C" from the name?
 
but the irony is that they were explicitly intended exclusively for automated introspection
not for actual human use
@KerrekSB Yes. It was clunky.
 
"C"lunky, get it?
I really regret making that non-joke.
 
yeah
my respect for you just dropped like a rock :P
 
10:12 PM
There's something about Wide. (@DeadMG has some strange fetish about wide things.)
 
lol
 
@DeadMG To paraphrase Hofstadter: Might just as well have called it 'Lead Balloon Language'
 
actually, I'm fairly sure that I have absolutely no idea where the name came from
 
10:13 PM
just admit to your UNICODE fetish :P
 
@TonyTheLion that looks so photoshopped. Or Dear Google, I've never seen someone get the perspective wrong on their typography with professional print shops -- Just sayin'
 
@DeadMG How was the exam, by the way?
 
@TonyTheLion I always thought "Yahoo!" was a really bad name because it always reminds me of Gulliver's Travels.
A Yahoo is a legendary being in the novel Gulliver's Travels (1726) by Jonathan Swift. Swift describes tes, filthy and with unpleasant habits, resembling human beings far too closely for the liking of protagonist Lemuel Gulliver, who finds the calm and rational society of intelligent horses, the Houyhnhnms, far preferable. The Yahoos are primitive creatures obsessed with "pretty stones" they find by digging in mud, thus representing the distasteful materialism and ignorant elitism Swift encountered in Britain. Hence the term "yahoo" has come to mean "a crude, brutish or obscenely coarse p...
 
actually, it was (somewhat) hilarious
basically everything that went wrong could, and then it turned out to be criminally easy anywy
 
@TonyTheLion Lol, who actually uses Yahoo as a search engine?
 
10:15 PM
donno
 
didn't revise properly, I forgot my stationary, I walked the wrong way, sat in the wrong seat, couldn't do the first question
 
someone desperate to not find what they're looking for
 
Some kind of extremely-late-to-the-party hipster?
 
and then the others were pretty damn easy
 
Sounds good
 
10:16 PM
So, you're passing?
 
should hope so
 
So, when are you putting the spec on the website?
 
What subject was the exam about btw?
 
I could upload the current spec version right now
but holy christ, there's so much to specify :P
@RMartinhoFernandes Agent-based systems.
 
> Don’t judge a character by it’s Unicode value
 
10:18 PM
@RMartinhoFernandes Did you stay up all night writing that?
 
I must have written like, a thousand words or something and I'm not even done talking about integers
 
@DeadMG What about the grammar, then? Is that done?
 
sbi
I remember Yahoo's URL being like www.somthing.edu/~username/yahoo/ in the (early?) 90s, when the two founders were students. I was making my first steps on the WWW then, and someone recommended that URL as a good directory.
 
not quite, I'm tweaking it
I realized that I forgot a couple of productions
 
@DeadMG Imagine what Stroustrup went through..
 
10:19 PM
lol
nah
I think it was quite possibly unavoidable
 
Well, he was cool with his white socks.
 
Do you have any sort of example compiler?
 
in all my other projects, I've stopped because I wasn't a good enough programmer to keep going with my existing codebase
whereas in this one, my principle problem is that I keep forgetting what to code up
 
@DeadMG You should probably put "A type is created using the type keyword." at the top of the page
 
so I keep expecting to hit implementation walls that I'm just not struggling with, comparatively speaking
 
10:21 PM
@sbi Do you still use Yahoo today?
 
so I didn't exactly optimize my process for keeping going after the first couple thousand loc
@Pubby Not exactly. You'll see.
 
@DeadMG Writing it in bottom-up style?
 
no
 
I refactored the spec into Language and Library subsections, and I'm going to post a Grammar page which just has the Bison grammar on it
the names of the nonterminals in the grammar are pretty clear
 
10:24 PM
Woot.
 
and then I might add the kind of "Types are introduced by the "type-definition" non-terminal" kind of thing later
if I'm desperate
 
sbi
@StackedCrooked I don't think I ever really used it. Well, before google came, it was one of the many search engines you'd try if you would were searching for something on the web. No, actually, that was before meta search engines appeared.
 
> America was built on the backs of men and women who were yelled at to work harder, and the tradition has been screamed from generation to generation. But you can’t just scream at anybody …. You can only scream at those beneath you.
 
I'm not going to couple my semantics definition pages to my syntactic definitions unless absolutely necessary
 
10:27 PM
LOL
 
@sbi I remember using Alta Vista before Google came along. I actually I think I learned about Google in 2002 in a computer magazine.
The scary part of this story is that 2002 is exactly 10 years ago.
In other words, I feel like I'm getting old.
 
Why is that scary?
 
I remember when I discovered I could use Google to learn more about computers
 
sbi
@RMartinhoFernandes Meta search engines were those who'd ask a couple of the primary ones, sifted and sorted through the hits, and presented those to you. A pretty cool idea — except that google's page rank algo wiped them all into history's dustbin.
 
LOL
what a day that was
 
sbi
10:29 PM
@StackedCrooked I think I learned about google by a posting of Scott Meyers to comp.lang.c++.moderated.
 
I learned about Google because someone set it as the home page on the library's computer.
 
@sbi That's interesting.
And to think that these days it's hip to hate Google.
 
sbi
@StackedCrooked He wrote sumpn like "my new favorite search engine". New search engines used to come up by the dozens each year back then, so I didn't think much of it when he wrote that. I remember when I tried it, I missed the complex advanced search syntax I was used to employ for the other search engines to weed out wrong hits.
 
@StackedCrooked Because Google is evil!
 
sbi
Being able to write complex search phrases was geeky back then.
 
10:33 PM
Anyone use duckduckgo?
 
@Pubby No, I'm too lonely to care about privacy.
 
What's duckduckgo?
 
@RMartinhoFernandes It's a new search engine targeted towards those that are too paranoid about their privacy to use Google.
 
The company is really friendly. I submitted a question form and got back an e-mail from the CEO within minutes
 
10:37 PM
Oh.
 
Syntax is better too. !so foo vs site:stackoverflow.com foo
 
I wouldn't really call that "better"
 
more like "Did you remember the magical symbol that's what you wanted?"
 
Also, how does it know !so is StackOverflow?
 
10:40 PM
and "That's going to look utterly fucking ridiculous once you get past more than a few things"
 
@DeadMG I think your motto must something along the lines of "Bash ALL the Things! "
 
Wait, !so foo on duckduckgo uses SO's builtin search?
My browser can do that already.
 
lol
@RMartinhoFernandes you need a browser?
 
How else would I browse the web?
 
can't you just link to the internetz directly with your robot powers
 
10:42 PM
@RMartinhoFernandes With your massive reproductive organs.
 
@RMartinhoFernandes Is it a browser plugin?
 
the question remains why I ever chose programming as a profession
 
@TonyTheLion Right, and browse it with a browser. If it makes you feel better, you can say my browser needs no rendering, it serves everything raw.
 
yeah, you could say he "plugs in"
 
10:43 PM
@Pubby No, it's actually in vanilla Firefox and vanilla Chrome.
 
@TonyTheLion For the friends, obviously.
 
@RMartinhoFernandes lol
 
@TonyTheLion Because it's awesome.
 
@RMartinhoFernandes How use?
 
@DeadMG not a bad argument
@RMartinhoFernandes only sometimes
 
10:44 PM
well, let's face it
where would you be without me?
 
@Pubby On Firefox, right-click a search box somewhere, and "Add a Keyword for this Search"
 
in a better place :P
lulz
 
lol
 
damnit, sometimes I just can't think why I wrote the code I wrote
what was I thinking??
 
10:46 PM
Because you were drunk?
 
euh no
 
you were thinking about how incredibly glorious I AM
and how you wish that you could serve me better
 
don't know what MY code has to do with YOU?
where the hell where you made?
 
@DeadMG That's why he wrote crap code?
What kind of source of inspiration are you?
 
lol
@RMartinhoFernandes he's trying to inspire himself mostly, I think :P
@DeadMG I think you could be the perfect troll
just go in some random forum and post about how genius you are...
 
10:49 PM
@TonyTheLion Probably my mother's uterus.
just a guess
 
oh, I had no idea
 
Could have been in a test tube.
 
@RMartinhoFernandes A distracting one.
 
wow, a test tube
I had a classmate that claimed he was born in a public toilet
 
unfortunately, my greatness is so vast and difficult to comprehend that many of my subjects devote their whole lives to attempting to understand it
 
10:51 PM
and he claimed his grandma was a German paratrooper
 
@DeadMG Sounds cthulhian.
 
nah
 
@DeadMG I'm stealing your line, and using it as my FB status
 
more like inverse cthulhian
he's so horrible, and I'm so awesome
 
lol
shits and giggles, that's why I'm here in this room :)
 
10:53 PM
you provide the shit and I provide the giggle
 
oh ffs
 
lol
 
sbi
@DeadMG But that's only because of extremely restricted subjects is all you are able to gather around you.
 
sure sure
 
10:54 PM
@TonyTheLion lol. where do you get these
 
@sehe I googled "gtfo" and picked one in the image search results
 
sbi
@RMartinhoFernandes Damn.
 
@RMartinhoFernandes nope, only the inspiration from reddit
 
10:54 PM
seems you guys know me well :P
 
lol
 
I'm getting really worried
 
The world won't end tomorrow, you can sleep safely.
 
hey
 
oh rly?
 
10:55 PM
I joined this channel a whole, what, three hours ago?
it's a bit late to be worried
 
@DeadMG euh, you joined: 2010-11-09
@DeadMG one and a bit years ago, FTFY
 
Pick the first one.
 
 
I always wanted to see Clippy's tits.
 
you perv
and then you call me obsessed with sex????
I never wanted or had the remote desire to see clips titties
 
10:57 PM
@TonyTheLion you dyslectic
 
that was fail :/
lol
 
sbi
Good night!
 
Ok. Good night.
IOW, see you in a few minutes.
 

« first day (472 days earlier)      last day (4490 days later) »