« first day (1368 days earlier)      last day (3591 days later) » 

9:00 PM
BRAINIAC
 
user1804599
Speaking of Brainiac.
 
user1804599
I should blow up a caravan.
 
user1804599
And publish this library.
 
user3010322
Maybe Clang.
 
blow it up or publish it?
 
user1804599
9:07 PM
Publish it on GitHub.
 
why the hell did I dig out this guy's history
Nov 10 '13 at 2:31, by Jefffrey
@axrwkr are you trying to deactivate your account to reactivate it and remove your suspension?
maybe Rapptz's been the troll all along
and a successful one at that
 
user1804599
Maybe Rapptz is Cicada.
 
user2985029
@AlexM. wait let me permalink that while i read it
 
we obviously never interacted before
but you do seem familiar for some reason
it's probably the "broken" english all cheap trolls share
 
user2985029
back to that
 
user2985029
9:12 PM
ok
 
on some meta posts you managed to make it cleaner
almost correct
 
user2985029
let that define us
 
I think SE is the worst place to troll properly tbh
 
user2985029
my name is alex
 
because on one side you need rep to actually be able to
 
user2985029
9:14 PM
i live in london
 
which sort of requires you to follow rules
 
user2985029
i am going to bucharest
 
then again, you don't need lots of rep to join chatrooms
 
user2985029
do not bury me in contcrete
 
user2985029
please
 
user1804599
9:14 PM
Buried Alive by Love
 
user2985029
i dont want to die
 
@rightfold I'd bury you alive with my love :3
 
user2985029
i want to live
 
user1804599
It’s a song nub.
 
perhaps it was time I plonked someone too
@rightfold I don't know songs
 
user2985029
9:15 PM
what song?
 
fuck, I was having an idea, and then I forgot it
ah, there we go
 
@AlexM. Relax.
 
wut
you made me doubt my reasoning and dig out this guy's past which was clearly not clean
and messages on the main site where he acts completely different
basically I spent ~10 mins doing just that
I'd consider that successful trolling
 
You need to redefine your definition of trolling.
 
user3010322
Yeah. Step it up, scrub.
 
9:29 PM
I don't know how the word trolling got to be so misused in the internet.
 
I dunno
what people seem to call trolling nowadays is acting like an idiot
 
So you think I'm being a "successful idiot"?
idgi
 
1 min ago, by Rapptz
You need to redefine your definition of trolling.
1 min ago, by Alex M.
what people seem to call trolling nowadays is acting like an idiot
=> I don't agree with the latest definition
 
Trolling is when you successfully take the bait.
 
and I did
 
9:31 PM
No
 
I'm pretty sure you knew the guy was not serious
 
I didn't.
 
user1804599
Time to sleep.
 
it was obvious too
 
You're just being paranoid.
 
user1804599
9:31 PM
Goodbye friends!
 
look at his messages
look at his profile
 
user1804599
And puppy.
 
look at his past messages
 
I only looked at the messages he sent you when I was here.
 
so you had less info to look over than I did
I can accept that
I don't really think there's any reason to continue this discussion over the guy
I'll take a shower and go to sleep
 
user1804599
9:33 PM
> A rocket fired from Gaza hit electricity infrastructure in Israel that supplied power to Gaza, cutting power to about 70,000 people in Gaza.
 
user1804599
lol fail
 
user3010322
... Lmao.
 
user3010322
This loader also does basic spellchecking. Nice.
 
@rightfold I don't think they consider this a fail
@AlexM. taking a shower over a guy...
 
user1804599
@ThePhD SRP violation!
 
user3010322
9:38 PM
@rightfold That's probably the least of this library's concern.
 
user3010322
Jesus christ, IT is gross-dirty.
 
@rightfold how can members of your harem not marry? You short-sighted, old-fashioned one
 
user1804599
I disallow marriage within my harem.
 
user1804599
Marriage is too mainstream.
 
I'd say it's largely irrelevant. Why disallow mainstream things? It will just hold you up in your forward thrust to a golden future!
 
user1804599
9:44 PM
MY DESIRES
MY RULES
OBEY
 
mmmm Okay.
 
user1804599
rightfold the Dictator
 
user3010322
List<string> => List<Stream, string>
 
user3010322
There's a LinQ
 
user3010322
expressiont hat does this
 
user3010322
9:58 PM
I swear there is.
 
there is ToDictionary but not sure it is what you want
 
user3010322
Oops
 
user3010322
List<Tuple<Stream, string>>
 
List<Stream, string> is custom stuff
 
user3010322
There we go.
 
10:00 PM
looks like Select(...).ToList()
 
@rightfold I'd rather classify you as a potato.
 
where does the stream come from?
.
 
user3010322
List<Tuple<Stream, string>> data =
                  new List<Tuple<Stream, string>>(
                       datafiles.Select((fi) => new Tuple<Stream, string>(new FileStream(fi.FullName, FileMode.Open), fi.FullName)));
 
user3010322
ALL THE LINQ.
 
@ThePhD wut
 
user3010322
10:06 PM
@sehe I missed a Tuple<>
 
Oh well
 
you could ToList() it but the same thing
Tuple.Create() is nicer
 
@ThePhD We can't know what the goal is. I'd say fnames.Select(fn => File.ReadLines(fn)) is pretty daft nifty
 
@ThePhD Try var data = datafiles.Select(fi => new { new FileStream(fi.FullName, FileMode.Open), fi.FullName }).ToList();.
 
@Puppy Needs fieldname for the stream, but yeah, was gun' say the same
 
10:08 PM
why does stream need field name?
 
not sure anonymous type works in var data
for looping sure
 
@Puppy Because anonymous types cannot deduce a field name in all cases (complex expressions)
 
I don't really know shit about the limitations of anonymous types
 
me neither
 
@JohanLarsson It works fine. You can even pass it outside the function, to generic functions. And you can store in dynamic or assign to interface ref
 
user3010322
10:09 PM
@sehe I just need A Stream, string pair.
 
@ThePhD >>What is the goal<<
X/Y problem much.
"I just need as stream, string pair" is pretty ridiculous: var x = new { stream, s };
 
user3010322
There's a function call that takes a stream and a string. I need to turn a FileInfo (or just a string) into a Stream and a String. I also need to make a list of it.
 
@sbi keep an eye on him would you?!
 
You're not getting it, are you. You could post a wonderful drivel question on SO this way.
What are you trying to achieve (what do you (think you) need these for?)
 
I think dictionary is ok here, or List<KeyValuePair<string, stream>>
@sehe ok now I now a little more until I forget :)
 
user3010322
10:12 PM
I'm getting a list of FIle IDs. I need to convert them into the file name and the stream in which an OpenExcelWordDocument blah blah will work on.
 
@JohanLarsson Everything is okay here, that's the problem. There's no use in spewing "solutions" without a problem. There's only arbitrary implementation decisions
> in which an OpenExcelWordDocument blah blah will work on
 
I wish I could write tests that would let me test if something properly fails to compile.
 
I have such tests for Wide.
nowhere near as many as I should have... but that's another matter.
 
@ThePhD You mean, you are trying to operate on a number of documents in succession? Is there a specific reason why you want to open all streams at the same time? If OEWDoc() takes a stream, presumably it does something with that.
Why not fnames.Select(File.OpenRead).Select(OpenExcelWordDocument)?
(those are method groups. The sweetest thing since sliced butterflies)
 
10:18 PM
@Rapptz language?
 
C++
 
Oh, by the way, don't forget to dispose all these streams nicely.
 
@Rapptz For TMP?
 
@sehe I think I prefer x => syntax, sure it is more characters but like the consistency
 
@Jefffrey No. For my =delete functions
testing for TMP is relatively easy
I just use static_assert and invert the condition
I really like git rebase
I'm waiting for the day it bites me in the ass
 
10:25 PM
@JohanLarsson I love the way method groups also do overload resolution and instance binding. It's just very elegant
 
what is instance binding?
 
@Rapptz I found, if you know your way around rebase, you can solve your way out of near any mess. Must-have option: git-rerere!
@JohanLarsson implicit this parameter on nonstatic methods
 
ty ty
 
lol... my cat just came onto the table, and deposited her mouse into an (empty) water jar (for painting with) and then had the most bemused look on her face
 
(it was a term inspired by C++ speak)
 
10:27 PM
it was very fancy :)
 
@Rapptz git pull --rebase <3
 
yeah I use that
I learned about git merge --squash yesterday
 
I find it hard to see why it isn't default for pull
 
I haven't used it (I'm used to doing git rebase -i and squashing manually) but it sounds easier to work with
 
@Rapptz i hate that. it's a shotgun approach to rebasing
@Rapptz indeed!
@Rapptz To be honest, working with changing upstream, nothing beats git pull --rebase IMO
 
10:30 PM
@sehe quite right, what what!
 
Yeah I agree.
 
user2985029
i am still here
 
Duly noted
 
well fuck, there's my night ruined!
 
I only squash to delete a feature branch and make it into a single commit.
 
user2985029
10:31 PM
i will leave day after tomorrow
 
or bug fix branches
 
@Rapptz I don't do that. I group commits into reviewable/logical chunks and commit those
 
user2985029
where i go from there, only god knows
 
@Alex you're embarking on this world tour of yours?
 
basically, any time I've got a series of local commits all working towards something that can be expressed in one sentence
 
user2985029
10:33 PM
@sehe a short journey. into the southern depths of europe
 
Something tells me I should test my reboot after this:
configure: error:
	*** Please make sure the kmod spl devel <kernel> package for your
	*** distribution is installed then try again.  If that fails you
	*** can specify the location of the spl objects with the
	*** '--with-spl-obj=PATH' option.
Error! Bad return status for module build on kernel: 3.11.0-24-generic (x86_64)
 
user2985029
deepest darkest europe
 
This must mean London
 
@sehe I don't do it too often.
 
user2985029
from london into the heart of the eu
 
user2985029
10:34 PM
where the sun shines
 
Africa?
 
user2985029
nay, africa is not a member or the eu methinks
 
user2985029
i am off into romania, to explore and discover
 
¬_¬ It's a joke...
ps, Africa is not a country
 
user2985029
@thecoshman what be the joke?
 
10:36 PM
That EU is not that sunny a place...
 
user2985029
@thecoshman indeed, africa is much like a continent, thought if you measure it, it seems to engulf everything.let us speak of other things
 
user2985029
@thecoshman i was hoping that romania would be very hot
 
user2985029
that is why i am going there
 
@Alex it's not like a continent, it is a continent
I don't think Romania is well known for being warm... but it's a good time of year to try it
 
user2985029
@thecoshman yes, but strangely, the largest continent.
 
user2985029
10:39 PM
@thecoshman romania is in the south no? i thought it would be hot there
 
user2985029
are you saying i will reach romania and be cold?
 
user2985029
i want heat
 
there's ~28* C to 30* C in Romania right now
 
user2985029
@AlexM. i'd say that's hot.
 
we once got 44.5* C in august
sometime ago
 
10:41 PM
is there any way in which someone can write an app for both android and iPhone in the same language, instead of explicitly writing two different ones?
 
user2985029
i mean, i want to be in the hot place, so i am going to romania.
 
it's hot enough for old and sick people to die if they spend too much time outside in the heat
during summer
it happens often
 
On a whim, I bought the Humble Bundle. I don't do windows, and I don't do games, but I'm quite intrigued by the Bioshock series and deffo want to give those a look
 
I never really jumped in a fountain as a kid, during hot days
I kinda wish I did
 
user3010322
This whole thing is rigged to shit...
 
user3010322
10:44 PM
Opening 20 streams at once is probably a terrible idea.
 
user3010322
But this thing expects a goddamn list.
 
now I'd probably be accused of pedophilia if I tried
 
@ThePhD don't feed the monster. It'll grow
36 mins ago, by sehe
@ThePhD >>What is the goal<<
 
user3010322
@sehe It's not my code. I don't knwo what the end goal is.
 
user3010322
But I have a manager who's going to smite me if I don't check in code by the end of the day.
 
user3010322
10:51 PM
FUCK
 
user3010322
There's a hidden goddamn singleton
 
user3010322
USING TWO-PHASE INIT
 
user3010322
AWWWH YEAH
 
Stupid L"" vs "" nonsense
making my generic code a PITA :(
 
@sehe vacation?
 
user3010322
10:54 PM
@sehe does Partial Application work with C#'s LinQ stuff?
 
user3010322
Er. That is, can I do like...
 
user3010322
datafiles.Select( new { dataset, new Stream(...), name } ).Do( MyFunc );
 
user3010322
where MyFunc takes dataset (an outside variable), makes a new stream, and then passes through the name
 
user3010322
Argh, I'm probably explaining it wrong
 
user3010322
jesus
 
10:55 PM
3
Q: templates and string literals and UNICODE

MordachaiNEW: Thank you everyone who helped me with this! The answer is marked below, and I've expanded on the answer with a functioning version in my question, below (q.v.): I seem to be running into this situation a lot (while updating our string utilities library): I need a way to have a template ...

 
nvm, must be a list
 
@ThePhD Then stop
@ThePhD I'd quit my job if the objective is to checkin code
@ThePhD have to spell out lambdas there. I'm sure there's functional style libs but I haven't used them
Oh lol. That's a nice comment. Lemme respond in style:
Oh well. It's just this one thing you hit :) I can probably craft some regexen that will send your PC into a coma - potentially losing work. But, you know, if "it's just commercial software", then it's not important, I suppose. — sehe 29 secs ago
 
11:16 PM
Does L"" "hello" make a wide string?
 
0
Q: 3ds max api keyframe

user3842798We have written a simple 3ds max plugin in c++. We can animate an object via that plugin . Unfortunately we cannot set keyframes (eg. appendkey). How to do that? Can you show me or point me to an example where I can find that?

3 CVs needed
 
the answer yes
as of C++11 it does anyway
good enough for me
 
Happy 11th Anniversary (unrelated to above picture)
 
is it will smith's son?
 
@Jefffrey yes
 
11:21 PM
all his dad
 
You Can Discover Everything You Need To Know About Everything By Looking At Your Hands
and hilarious on twitter
 
I got a friend request on my Wii U yesterday with the message "You are the best person I've played against"
thanks anonymous friend of mine
 
where do i get one :(
@Rapptz hah, that's cool i guess
 
oh god
portal aperture tag is out
I wish I could play this one
 
can they fucking make HL3 already =/
 
11:30 PM
@Borgleader Better than being called a faggot I suppose
I got 1st place 17 times in a row yesterday :v
 
playing what?
 
@StackedCrooked COLIRU IS BORKED (internal server errors, missing files)
 
@Jefffrey Mario Kart 8.
 
user3010322
Mmm.
 
user3010322
Well, just got finished punting around.
 
user3010322
11:33 PM
GUess it's inevitable.
 
user3010322
Maybe I'm not cut out to be a good software engineer.
 
user3010322
Oh well. I'll have my existential crisis when I get home.
 
user3010322
.Select excepts a Func that returns something. Is there a LinQ Foreach?
 
user3010322
Nope, no Foreach.
 
@ThePhD enumerable.ToList().ForEach(action);
 
11:36 PM
Just write a loop.
 
^ or that
 
@sehe rebooting...
 
11:48 PM
> To simulate Darwinian evolution, we can’t simply pick two random monkeys to be parents. We need the more “fit” ones to be more likely to be chosen. We need to define the “probability of the fittest.” For example, a particularly fast and strong monkey might have a 90% chance of procreating, while a weaker one has only a 10% chance.
@Rapptz <3
 
smh
where's this?
 
figures it's a programmer
this is really long
 
it's a book
 
@sbi btw do you know that Connor Oberst will play in Berlin in August? I won't be in Germany but I thought you might like to know.
 
11:58 PM
@R.MartinhoFernandes You're moving? Or on vacation?
 

« first day (1368 days earlier)      last day (3591 days later) »