« first day (920 days earlier)      last day (4034 days later) » 

2:00 PM
@Telkitty I'm pretty sure Mysticial and Rapptz have seen it.
 
awesome
so I can be like, "Shut up, Shift-JIS is totally covered by this."
 
@Borgleader Some CG researchers have an uncanny ability to transform great ideas into extremely shitty code. I swear, sometimes they work really hard to fuck everything up. :D
 
There are some encodings with quirky stuff, and sometimes you need care for proper roundtripping (like keeping compatibility characters), and there are actual bugs in Unicode, and it's a mess anyway, but yes, you can support it just fine.
 
right
now I can promptly and entirely forget about Shift-JIS, an undoubtedly pleasurable experience.
 
2:04 PM
@DomagojPandža dead code, huge chunks of duplicated/commented code, c w/ classes, naked pointers everywhere and class member variables used in only one method are only some of the problems in the code.
and im pretty sure he fucked up the light reflection code because he sends the camera position to the shader as the "view vector" instead of the camera's actual view vector
 
you know
I should just forget about fixing my proposals for a while
there's four months before the next meeting, and presumably at least three before the pre-meeting mailing deadline
 
Last week I learned that this bastard mistakenly canonically decomposes into middle dot, making all normalization forms lossier than they should.
 
I've got other stuff to do like prepare for Google interview
 
@R.MartinhoFernandes So many different characters, most of the time I'm surprised some of them even exist, let alone are actually used. :D
 
@DeadMG ohhh nice! gl with that :)
 
2:07 PM
@DomagojPandža The problem is that those two are actually truly different, but the Standard mistakenly mandates treating them equally.
 
Haha I found the source code for the water shader on an asian website o.O pudn.com/downloads74/sourcecode/windows/directx/…
 
(They fucked up and now cannot fix it because this is covered by the stability policy, i.e. carved in stone)
 
Our company had a heck of a time importing some data from a microsoft data source once.. Long story short, Microsoft needs to burn in hell for converting two dashes in to the one "bigger" dash
 
@DomagojPandža I don't know about the greek one, but the middle dot is in somewhat common use.
 
@R.MartinhoFernandes Let's make yet another then!
 
2:10 PM
yep, let's replace Unicode.
we'll be done by tomorrow afternoon
 
@R.MartinhoFernandes Yeah, the Greek one. And you posted that flower-looking one some time ago. :D
 
@DeadMG I mean let's make another middle dot char
 
I propose ASCII.
2
 
@Borgleader What is this? "xkcd"? Never heard about.
 
2:11 PM
No weird stuff allowed.
 
The replacement for Unicode -> Robocode
 
@StackedCrooked Going once... Goinge twice... Sold to the guy with the online compiler.
 
 
@R.MartinhoFernandes You need a font that supports this character to even have a hope of seeing it correctly in the browser.
lol :D
 
2:12 PM
@R.MartinhoFernandes Is that \b?
 
@StackedCrooked \a, I think. \b is backspace, no?
 
Xeo
Ya, \a is the ding
 
@R.MartinhoFernandes Ah, yes.
 
That is by far the weirdest character in the character set, given that it is a sound and not text.
 
Looking at some of them, you really need to invest a lot of time in shoving them into a font to be actually displayable. Specifying the paramteric curves must be a bitch sometimes.
 
2:13 PM
It is in ASCII.
@DomagojPandža No font technology in use today supports enough glyphs for all currently encoded characters.
 
I meant the printable subset of ascii.
 
And good fonts tend to have more than one glyph per character anyway.
 
user142019
I use \a when building LLVM or clang to notify me when it's done.
 
I mostly use it to annoy people.
 
It turns out that a lot of people think that auto x = [](){}; yields a std::function
 
2:15 PM
Ah the good ol' days of QBASIC and play command
I'm sure I annoyed everyone in that classroom, but that's when I knew programming was for me
 
user142019
@kbok lol
 
@kbok dumbasses :P
just joking, kinda
 
@Zoidberg does printing \a make a sound?
 
user142019
No.
 
@melak47 It draws a sound on the screen.
 
2:17 PM
I'll explain that in my post. I keep adding some details people didn't know about, it's cool.
 
sweet
 
user142019
It's an escape sequence for BEL.
 
@StackedCrooked "kinda"?
 
@melak47 My terminals are set to produce (visual) notifications on bells.
 
@kbok :)
 
2:17 PM
1
Q: About future programming languages tags

MorwennI was reading topics with the tag c++1y on StackOverflow which could independantly represent the planned c++14 or c++17 and happened to notice that one of the topics tagged c++1y was about a feature that just got accepted in the c++14 draft, so its version should be fixed. I thought about changi...

 
@Zoidberg Ugh, it hurts my eyes when people abbreviate one letter. A thousand creats upon your offspring.
 
THE FUTURE OF PROGRAMMING IS ON THE LINE AGAIN!
 
user1357851
Time to change my avatar into a big fat ugly woman $
 
@Telkitty You're going to post a pic of yourself?
 
@DomagojPandža ho ho ho :P
 
2:18 PM
@DomagojPandža Ooo.. megaburn..
 
@RobertHarvey Oh god, speaking of hurting my eyes. Too much tag markup :S
 
user1357851
@DomagojPandža I thought I could torture you with worse ;)
 
@RobertHarvey But thanks for bringing it here :)
 
@Zoidberg Hell, nic to mee yo.
 
2:19 PM
Shift to the left!
Shift to the right!
Push down, pop up,
Byte! Byte! Byte!
 
@R.MartinhoFernandes Wait, what happened?
 
@Neil Don't tell me what to do!
 
1 min ago, by R. Martinho Fernandes
@Zoidberg Ugh, it hurts my eyes when people abbreviate one letter. A thousand creats upon your offspring.
 
user142019
lol creat.
 
Damn, I'm blind again.
 
user142019
2:20 PM
Een creatje bier.
 
how do I make a bash script make a beep? (without installing beep)
 
@sehe Critical thinking? You mean cross checking facts in the off chance they might contradict our beliefs? Why would anyone want to experience the discomfort that is caused by cognitive dissonance? Just fabricate your own reality and call it a day.
6
 
@EtiennedeMartel Ahahahah, nicely put. Have a star.
 
@EtiennedeMartel ahahah :)
 
@melak47 You cannot. Modern systems don't beep.
 
2:22 PM
aw.
 
I suspect create would have introduced the first six letter name which would mess up all neat indenting.
 
@EtiennedeMartel Also, that's good material for your Twitter masturbaccount.
 
You can set up your terminal to play a sound on bells.
@DomagojPandža Did you count the letters? It isn't.
 
I have no speakers on the box I want to make sounds with
 
@DomagojPandža Hm.
 
2:23 PM
@R.MartinhoFernandes Oh, right. Too bad. :/
 
can I ...uhh, I dunno...Spin the hard disk up and down? that should make a sound :p
 
@R.MartinhoFernandes Right. I would need to mangle that bitch, or split it into multiple tweets.
Fuck it.
That shit is a Lounge Exclusive.
 
@R.MartinhoFernandes Make it fit.
 
@EtiennedeMartel You are right of course. Sorry. I'm always complicating things. I'll try to be more upbeat next time
 
user1357851
An upbeat programmer? Sounds like a newb
 
2:26 PM
@StackedCrooked Shift-Enter FTW!
 
user142019
These crisps are de-fucking-licious.
 
@Zoidberg Great, now I'm hungry.
 
@Zoidberg no way, you're eating crisps, too? it's a sign!
 
user1357851
All pro programmers suffers from the scars of years of exposing herself to the bad code other programmers wrote. Depression is a consequence
 
@Telkitty Give it a rest, will you?
 
2:27 PM
> critic.thinkn?umean xcheck'n #facts chnce mt cntrdct #belief?why would any1 wana xperinc da discomft causd by cog dissnanc?#fabricate realty
phew.
Twitter style.
 
what no hash tags?
 
user142019
@DomagojPandža OWNED.
 
Need less chars
 
user1357851
@DomagojPandža Like my new avatar? It is damn sexy ;) Those fat bellies & big nose, damn hot <3
 
user1357851
@melak47 a sign you will both get fat?
 
2:29 PM
probably :(
 
@Telkitty You just suck.
2
 
user1357851
Haha @telkitty is not shown in the starred
 
user142019
What does ∪ mean again in set theory?
 
user142019
Union?
 
depends, what maths :p
 
user142019
2:32 PM
Ah set union.
 
@sehe Ok then.
 
∪nion
 
user142019
+lus
 
and I⋂tersection? :p
 
@melak47 Exactly. I was too lazy to find the symbol.
 
user142019
2:33 PM
@kbok s∪bset of :v
 
@Telkitty People always check for context. At least, I do. For the lulz.
 
@EtiennedeMartel I rejec your reality and substitute my own :P
 
@Zoidberg subs⊂t
 
@Borgleader I impose my own upon all of you peasants.
 
user142019
@melak47 :P
 
user142019
2:36 PM
∈lement of
 
this operator is now diamonds: ⋄
 
Oh, it's the 24th in Australia. You know, Telkitty, for someone from the future, you sure do suck.
@EtiennedeMartel Singleton collections <3
 
@Borgleader a malapropism is purely using an inappropriate word for a given situation, usually with humorous intent. It is a very particular type of pun. Where you got this notion that it has be accidental I do not know. An example "Texas has a lot of electrical votes," rather than "electoral votes". I am sure there are plenty of times when this is done accidentally, but lack of intent is not a prerequisite
 
0
A: About future programming languages tags

R. Martinho Fernandes I have no idea what the correct policy would be. Anything that is "accepted" into C++14 is only provisionally accepted. Until the standard is finalized, everything in it is subject to change. (See for example how concepts were yanked out of C++11 even after they were mentioned all over...

 
2:39 PM
[ExtensionAttribute]
public:
generic<typename TSource>
static IEnumerable<TSource>^ DefaultIfEmpty(
	IEnumerable<TSource>^ source,
	TSource defaultValue
)
 
I hope @jalf doesn't mind me making his comment into a proper answer.
 
 
Somebody actually uses the .NET spawned C++?
 
@thecoshman define: malapropism
^ google this
 
A malapropism (also called a Dogberryism) is the use of an incorrect word in place of a word with a similar sound, resulting in a nonsensical, often humorous utterance. An example is Yogi Berra's statement: "Texas has a lot of electrical votes," rather than "electoral votes". The word "malapropism" comes from the French "mal à propos" meaning "inappropriate", and was personified by Richard Brinsley Sheridan in his comedy The Rivals (1775) as "Mrs. Malaprop", a character who habitually misused her words, while Dogberryism comes from "Officer Dogberry", the name of a character in William Sha...
 
2:40 PM
@DomagojPandža C++/CLI? Sure.
 
Ha, it exists on Wikipedia.
@EtiennedeMartel On a daily basis? Or just curiosity?
 
@Borgleader conversely, wiki page
 
@DomagojPandža Interop layer between native C++ and C#.
 
@R.MartinhoFernandes Gasp! I am shocked and horrified at this. Also I will send my army of IP lawyers after you for infringing on my copyright and stuff.
 
@EtiennedeMartel Oh, wrapping native stuff. Nice.
 
2:41 PM
@DomagojPandža That's what it's been created for. And it shouldn't be used for anything else.
 
@jalf Ha, Imma play along and say you licensed it as CC-wiki-by. And I properly attributed it :P
 
@R.MartinhoFernandes So, it has come to this
 
Apparently he's not a minecraft fan
 
@EtiennedeMartel I've seen Microsoft trying to push it along to people in the context of DX apps intended for the Windows Store (Win8)
 
@sehe done (I think)
 
2:46 PM
@EtiennedeMartel I'm pretty sure it was originally created for more. But that's what they say it should be used for today, sure :)
 
@hvd the spec doesn't guarantee MAX PERFOMANZ anywhere. It puts constraints on certain operations. There is no magic quote from the Standard that will give a mathematical proof for every implementation. Also, RVO is so 2000. — rubenvb 36 secs ago
 
@jalf Perhaps they should have worked more on the syntactic sugar, then.
It's worse than C# 1.
 
When they launched it, it was pretty expressly the C++ of the future (since the future was that everything would run .NET, you obviously couldn't use plain C++)
 
And now native is the new managed.
 
yep
 
2:47 PM
And C++ is cool again.
 
Bah, I knew C++ had it in 'im.
 
user142019
C is the coolest.
 
"coolest" as in "makes you shiver and long for the sun".
 
Praise the sun.
 
user142019
:D
 
2:49 PM
> TL;DR The whole problem is a non-issue if you define register as void register(std::function f);
dude.
 
user142019
Syntax error!
 
duuuuuude
 
malloc(0xDEADD00D);
 
user142019
"Dood" is Dutch for dead or death.
 
Xeo
Dohd
 
2:50 PM
@kbok Hmm, where is that?
 
user142019
On the Internet.
 
@R.MartinhoFernandes My blog post.
 
@Zoidberg It's also how KiWiKaKi sais "dude".
 
user142019
KaKi?
 
user142019
Diospyros kaki, better known as the Japanese Persimmon, Kaki Persimmon (kaki [柿]) or Asian Persimmon in North America, is the most widely cultivated species of the Diospyros genus. Although its first published botanical description was not until 1780, the kaki is also among the oldest plants in cultivation, known for its use in China for more than 2000 years. The persimmon (kaki) is a sweet, slightly tangy fruit with a soft to occasionally fibrous texture. This species, native to China, is deciduous, with broad, stiff leaves. Cultivation of the fruit extended first to other parts of East ...
 
2:52 PM
@kbok Do you now see why we act like rabid dogs when people try to stick std::function everywhere?
 
user142019
^ Worst fruit ever. It's disgusting.
 
@R.MartinhoFernandes Real men use templates.
 
@R.MartinhoFernandes Yeah.
But I didn't think that you were thinking what you think I think.
 
user1357851
yes!
 
@EtiennedeMartel and Robots too
@kbok oh gawd, dat sentence
 
2:55 PM
Especially real robots.
 
Is it me or is @Cat rather quiet today?
 
Why do I get a bunch of warnings about missing initializers (-Wextra is on..) for doing Struct s = {} for zero-init?
 
Should probably not advertise this here or my bandwidth will go down the drain :)
 
user1357851
@TonyTheLion Cat++ was on until really late last night ... or this morning
 
user1357851
Pussy+1 is napping I think
 
user1357851
2:58 PM
Has my avatar scared all the kids away already :x
 
@Telkitty ah I see
 
user142019
@StackedCrooked Dammit I missed it.
 
@Telkitty Imagine what would've happened if you had put your pic on there. Dayum.
 
Does anyone know why reddit votes are "volatile"? ie when I refresh the comment page it changes from second to second
 
2:59 PM
@kbok Vote displays are fuzzed AFAIK.
 
@kbok to prevent trolls
 
@kbok probably a lot of votes coming in too
 
there's an explanation on the FAQ I think
 
user142019
@kbok they're skewed.
 
3:00 PM
@TonyTheLion As I recall, he said he'd been up for ~30 hours before he left...
 
user142019
@StackedCrooked nice :3
 
4
A: newbie question: c++ const to non-const conversion

Lightness Races in OrbitYou can assign a const object to a non-const object just fine. Because you're copying and thus creating a new object, constness is not violated. Like so: int main() { const int a = 3; int b = a; } It's different if you want to obtain a pointer or reference to the original, const object:...

this needs more upvotes
 
user142019
@StackedCrooked I like how it ends with "Hell".
 
@LightnessRacesinOrbit Don't you feel like you've had enough?
 
Oh, I have the explanation. They silence-ban the upvote bots, so there's bots watching for the votes just to know if other bots are silence-banned, so they fuzz the vote to keep the watchbot from working out if the upvote bots are banned from upvoting the post bots's posts.
2
 
3:01 PM
@Zoidberg yes, it was the same with coliru :)
 
user142019
It's a milacle!
 
@EtiennedeMartel Ahahah
 
Talk about arms race.
 
search for "votes"
 
@EtiennedeMartel No.
@kbok yo dawg...
 
3:02 PM
@JerryCoffin oh woah
 
Hey, there's even a downvote up there.
 
@Mikey It's okay :) In the meantime I discovered CodeLite (never heard of), installed it (twice) and answered your question. Luckily, also on Ubuntu QQ — sehe 20 secs ago
lol ^
 
@Zoidberg I was gonna note the same
 
Can I note it too?
Or would that be bandwagoning?
 
3:04 PM
lol
 
@R.MartinhoFernandes If you phrase it differently I won't consider it to be bandwagoning.
 
Well that's a splash
 
+1, but let me provide a quote: "Who votes this up? The question is completely unanswerable as is" -- sehe — Benjamin Lindley 4 mins ago
^ lol :)
 
@sehe Or maybe you just really like getting more rep. — Etienne de Martel 25 secs ago
 
be cool to be on that ship :)
I don't get sick on boats, FYI
 
3:09 PM
@TonyTheLion Reminds me of that for some reason.
 
@EtiennedeMartel Party pooper.
 
@R.MartinhoFernandes Poopin'.
 
Does nested_exception derive from exception?
 
@R.MartinhoFernandes Nope.
 
3:12 PM
@R.MartinhoFernandes yes
 
lol
Hmm, that was smart.
 
@EtiennedeMartel oh yea, massive ships
 
So it's usable after all.
 
Oh, it's teh joke. I think that bad_exception derives from exception, but nested doesn't.
Lemme check.
 
3:13 PM
It's cool.
 
11
A: How do I convert PWSTR to string in C++?

Lightness Races in Orbit1. Yuk! Microsoft says: typedef wchar_t* LPWSTR, *PWSTR; So let's get that horrid nonsense out of your testcase, and lose the C rubbish: // Fetch Local App Data folder path. wchar_t* localAppData = new wchar_t[128]; SHGetKnownFolderPath(FOLDERID_LocalAppData, 0, NULL, &localAppData); string...

too
 
nested_exception is designed for multiple inheritance, and it is a well known fact that standard exceptions are broken with MI.
Having nested_exception : std::exception would be painful.
 
Hello, World!
 
Yeah, I prefer to refrain from MI as much as possible. Or even deep inheritance hierarchies.
 
@TonyTheLion ...but you have to join the Navy. Easier to go on this cruise.
 
3:15 PM
delete (wrapper*)ptr;
wtf
3
0
Q: Deallocate structure using pointer arithmetics and a pointer to an element of that structure

Daniel DumitrascuI have the following structure in C++ : struct wrapper { // Param constructor wrapper(unsigned int _id, const char* _string1, unsigned int _year, unsigned int _value, unsigned int _usage, const char* _string2) : id(_id), year(_year), value(_value), usage(_usa...

 
@DomagojPandža It use it but I stick to inheriting virtually from std::exception. Any other standard exception I treat as broken.
 
Testing yourself is not reliable; you should instead seek advice from a medical professional. — Lightness Races in Orbit 26 secs ago
lol
Who starred my "wtf"?? WTF
 
@TonyTheLion That OP does void* ptr = &(testObj->picture);, but I don't see any member named picture.
 
@Stacked no. It is used with MI with another exception, and those are often catchable as std::exception.
 
3:18 PM
@Code-Guru OP is a moron?
 
How did you find 0x14? Is it a magic number!? I'm sure it's an UB. — M M. 1 min ago
 
@TonyTheLion are you asking?
 
What what the the fuck fuck?
3
 
Fuckception.
 
@Code-Guru Yea
 
3:19 PM
@EtiennedeMartel Gesundheit.
 
@EtiennedeMartel an UB?
 
grammar failures
 
@DeadMG Behaviours are countable.
@TonyTheLion No.
 
urgh
it just sounds wrong
 
Also, the guy who wrote that comment has a C/C++ ASCII art thing in his profile.
 
3:21 PM
It didn't work anymore... I sacrificed it
 
@sehe Scapegoating a poor, innocent message!
 
@JerryCoffin A poor innocent message about penises.
 
@EtiennedeMartel Fitting -- penises are always innocent.
 
hey, blizzard responded to my application after 8 months!
I forgot I even applied
 
3:24 PM
@Crowz What?
 
@Crowz for what, a job?
 
yeah they obviously declined but I expected that hah
 
I thought you didn't like programming and wanted to make movies?
 
Why did you even apply?
 
He likes to watch
 
3:24 PM
@Crowz Hah indeed. You sure showed them
 
@jalf I applied as a tech artist
@DomagojPandža why not?
 
kudos on going through the Blizzard application system though, it's worse than filling tax reports
4
 
3:25 PM
lol
 
@kbok You tried, too?
 
@DomagojPandža I didn't finish it.
 
@DanielDumitrascu, this method works. please don't do it. — Zdeslav Vojkovic 25 secs ago
 
Though I'll definitely apply when I'm ready to move to the US
 
I don't really see the intrigue in working for a company where there is a high likelihood you'll get laid off before they even finish their decade-long development cycles. Especially know when they've become so large and... I don't know, cold and organized. You cannot sustain creativity in such an environment.
 
3:27 PM
I applied for an internship
 
@kbok why? From what I've heard/read, it's not a particularly nice place to work
I'd rather play Blizzard's games than work for them
 
I don't think any video game companies are particularly pleasant to work at... crazy deadlines, tons of overtime...
 
@Crowz The shitty ones, sucking the publisher's dick -- yes. But it doesn't have to be that way.
 
@jalf Because cool factor. Applying means opening a discussion, not accepting the job.
 
Some are better than others though. And at some of them, you might actually get to ship a game during your lifetime
 
3:29 PM
I think working at Bethesda as a writer would be fun
 
I'm still at the beginning of my career so I think it's nice to have a lot of interlocutors in several parts in the industry. You know, just to make my own opinions.
I've heard a ton of horrors about the finance industry that turned out to not me true at all
 
0
A: Deallocate structure using pointer arithmetics and a pointer to an element of that structure

Lightness Races in Orbit Can I now delete the entire object using pointer arithmetic and a pointer that points to one of the structure elements ? Theoretically, yes. The pointer that you give to delete needs to have the correct value, and it doesn't really matter whether that value comes from an existing pointer va...

god
 
@kbok I think the financial industry in general has a higher return on effort put in but yes not all the horror stories apply everywhere
 
@ShafikYaghmour IOW lots of cash? Yeah.
 
@kbok there's a difference between horror stories about a specific named company, and about an entire industry though. :)
 
3:33 PM
@jalf If you're talking about Blizzard, I did not hear any horror stories yet.
If you're talking about my previous employer, well I don't think this is specific to the finance industry. :)
 
 
@kbok I'm not aware of any horror stories. From what I've heard, it doesn't compare favorably to other game dev companies, but that doesn't turn it into "horror". :)
also grrrr
I give up on installing IE10. Stupid POS just doesn't work
 
@jalf ...and this surprises you?
 
@JerryCoffin Well, the extent of it does surprise me, yes
Previous versions of IE could at least be launched without immediately crashing
 
@jalf Sure
 
3:37 PM
@jalf Okay, I'll grant you that.
 
I used to be able to start without crashing
 
@Crowz Yeah, DW's a bit like that.
 
@Crowz start what? Your car? :)
 
@jalf nope just start. I'm programmed entirely in java
 
@jalf just install windows 8 :D
 
3:41 PM
Guys, gay marriage is now legal in France
6
 
that's, uh...interesting
 
@jalf Though I suppose I should add that, doing a quick check, I actually have IE 10 installed and have run it for at least 10 or 15 minutes once without it crashing.
 
It's kind of a big deal
 
Will you marry me in France, Kbok?
 
Not interested, lol
 
3:43 PM
you don't love me like you used to
 
I haven't even watched this week's DW yet. The download failed and I didn't bother to fix it. That's how unimpressed I've been with my favourite show, lately.
 
Oh wait, silly me.
 
@LightnessRacesinOrbit :/
 
@LightnessRacesinOrbit Last week's episode was pretty okay.
 
@kbok Awwww yyyeeeaaaah.
Or rather, "hell, it's about time".
 
3:45 PM
@EtiennedeMartel That's more like it, yes.
 
@Borgleader The Journal de Mourial had quite the interesting front page this morning.
 
user142019
@kbok gah, slowpokes.
 
@kbok Hell, it's about time.
also, s/gay //
 
user142019
The Dutch win, as always.
 
3:49 PM
@EtiennedeMartel Oh damn...
 
> Un génie diabolique
Seriously. Fuck the JdeM.
 
user142019
Wombat is the greatest color scheme of all time.
 
@EtiennedeMartel Yes, please.
 
Maybe someone can make this std::transform a bit nicer?
 

« first day (920 days earlier)      last day (4034 days later) »