« first day (584 days earlier)      last day (4590 days later) » 

11:00
@Nils Beam me up:
> carrying ashes from 308 people, including actor James Doohan, who played Scotty on the 1960s television series "Star Trek,"
Must... resist... can't :(
I haven't said anything about starcraft.
err startrek
@Nils So. What.
this is real
It's quite astonishing how far Elon Musk came.
11:07
@Nils Apparently, it is enough for you to conclude "this is real". I assumed you read it. For your information that quote is real too and it came from the very article you linked to. (rest case)
Meh. Halfbaked, hand waivy answer. Link to a proper answer next time? — sehe 27 secs ago
soo back to work, cu
exclusive or is true if and only if exactly one of it's inputs is true, right?
Yes.
Exclusive or is != for bools.
what I thought
how strange
11:13
@RMartinhoFernandes The poster waived his right to properly spelled responses.
@RMartinhoFernandes I like this:
> :) this is my hometown. I lived there for 14 years and though I heard about it, this is the most amount of info I ever read about it. Older people mention it offhand as a joke or crazy fact every so often.
ok
my latest attempt in breaking SHA-2 has also failed
sbi
sbi
> "World Goth Day"? Really? That's it, I'm not celebrating anything until "World Nothing In Particular Day". — @Cunobaros
@DeadMG Can't say I'm surprised. ;)
well, I gained additional information
it just wasn't what I needed
perhaps I should just try my existing algorithm, I mean, the worst that can happen is that it comes back failure
@DeadMG I thought your original had more poetic flai[r]:
You know, that is really not a common requirement for encryption schemes. I can help you with one-way encryption, if you like — sehe 4 secs ago
^ should I remove (part of) that?
sbi
sbi
@sehe Aw, you're just fishing for sympathetic thumb-ups. (Got mine.)
Oh boy, someone suggested 'Use Enterprise Library'. C# has much in common with java
@sbi I wasn't. I thought genuinely it might be a bit overboard. It is not constructive, but then, so is the question
sbi
sbi
@sehe It's genuinely funny. Why does the SO folks keep forgetting that this is important, to?
I like operator overloads#
hard to build an algorithm in Java which can either execute or build a tree of it's execution from essentially the same source code
11:24
@sehe We should close that as "not localized enough".
and if I overloaded one single function, I could make it the exact same source code
@DeadMG That's just random Java bashing, right? You're not actually facing such a scenario, are you?
@RMartinhoFernandes lol. I think I broke SO search though. I get no results whatsoever all of a sudden
@RMartinhoFernandes Yes, I am creating such a scenario.
11:26
oh
no :P
@DeadMG Use Boo (boojay)
but I am doing both execution tree and execution in C++
for now I just duped the code but I realized that I really don't have to
Search is back to normal
y'know, I'm a fan of templates and operator overloads and such things
it's nice to have the same source code for both actual execution and execution tree generation
11:35
Yeah, I think we got that.
"execution tree generation" - huh
You mean like Boost Proto: you can dump an expression tree as opposed to evaluating it?
yep
user1151738
yup
user1151738
Stack Overflow is great
user1151738
Ask. Get Answers
11:38
I also think that it's possible that it's necessary to be a binary tree, rather than a value tree
What's a value tree?
@RMartinhoFernandes We need that sign in our building. Someone fired his nucular weapons there
well, right now, I encode something like x = y & z;
@cadhityaa Does that happen?
but I've been thinking that it might be better to encode that operation for every bit of x, y, and z independently
after all, the purpose of SHA-2 is to spread the bits around, and it's possible that there are states where you can prove some bits from some states, and some bits from some other states, and arrive at a full state proof
user1151738
11:40
@sehe yes, a lot
Oooh nice
also, I would be able to skip encoding rotation and shift operations, as they simply swizzle bits
@DeadMG Oh, binary as in base-2, not binary as in a tree where every node has two children.
@RMartinhoFernandes yeah
user1151738
@sehe which country you from ?
11:41
That got me a tad confused.
although + would be somewhat difficult to encode, I guess
all the other ops are per-bit instead of per-32bit-value
@DeadMG in binary, swizzling is just the same as any other mutating operation: it will toggle some bits. The swizzling might not be hard, it is the repeated swizzling that creates hard to reverse 'swizzling interference patterns' - that totally depend on the input
@DeadMG Chain a bunch of full adders!
user1151738
ofcourse it works only for wifi signals
11:43
@cadhityaa Because that smells like spam. If you wanted a code review...
user1151738
huh ? spam ?
As a norm, I don't download .exe files random strangers posted on the Internets.
@sehe No, you can encode swizzling for free.
But right now I learned to things: you post self-advertising links and don't know that 192.168.0.0 is a IANA reserved subnet
@DeadMG 'encode swizzling' ?
@sehe In the tree.
user1151738
11:44
and why sould i know that 192.168.0.0 is a IANA reserved subnet ?
just like right now, I have no tree representation for assignment
@cadhityaa It it relevant to the field of basic networking.
and that will remain true for the base-2 tree
@DeadMG Who needs assignment. Use lisp
user1151738
this works for any wifi-connected computer
11:46
@cadhityaa Running OSX?
@sehe SHA-2 uses assignment (and rotation, which is a swizzle, and shift, which is also a swizzle).
Well, as you have proved yourself, it doesn't need to use assignment.
:P
user1151738
@sehe nope. But I do have a VMWare
user1151738
of 10.7.2
@cadhityaa Blimey. I just realized, that was not a source code repo link, but a bloody .exe
Flagged it as spam. Sorry, there are a few things 'not done' on the interwebs
11:47
no, I don't need to represent it, it does need to use it :P
Wait, doesn't Windows measure wi-fi signal strength?
the output tree is in SSA form
3 mins ago, by R. Martinho Fernandes
As a norm, I don't download .exe files random strangers posted on the Internets.
user1151738
but not with 1% accuracy
user1151738
only 20% accuracy
11:47
@DeadMG Sounds like a fit for Haskell.
@cadhityaa Oh that's good. So you go to 1% accuracy?
(I have no idea what I'm saying, I just know that SSA and Haskell monadic notation play nice together)
@RMartinhoFernandes If you want the function to be encoded in 2300 lines :P
user1151738
@sehe yes
@cadhityaa That leaves about 99% margin for error :)
user1151738
11:48
k... I'll upload the VCC++ solution, and will you guys download then ?
Who knows
That will surely be better.
user1151738
no.. what i meant was like it gives you wifi strengths like '73%' etc
user1151738
also with a pogress bar !
yeah
11:49
@cadhityaa Wait. I have that too. Oh. A progress bar complicates things.
because some of my level1 states may actually have different dependencies, but because I track the inputs as just a bunch of 32bits, then I can't see them..
so I should track each bit state independently
user1151738
but it has % too
user1151738
in numbers
plus will be a mess though
32 states for each addition
I guess that's not actually messier than binary and or xor, which would be 32 states each anyway because there's 32 outputs
@cadhityaa wow
11:56
damn, I woke up way too early this morning
musta been like 7am
Way too early? At seven?
@cadhityaa this one works on all POSIX platforms: ideone.com/692z8
For some value of "works".
Nah. It works.
me@work ~/stacko
$ g++ ./test.cpp && ./a.exe
***************************------------- 69%
********************-------------------- 51%
There, tested on Cygwin, even
I get the same output. With wi-fi off.
12:04
but is has % too
in numbers
sbi
sbi
@RMartinhoFernandes He's got no kids.
When we went fishing far away, we'd wake up at three.
That was way too early.
@RMartinhoFernandes I usually don't wake up until 11am if healthy
I wake up before noon, unless dead.
@RMartinhoFernandes Was 1am the night before
ok
surely for addition, then out(n) = lhs(n) || rhs(n) || (!out(n - 1) && lhs(n-1) && rhs(n-1))
nah
12:14
You know, you're thinking aloud. Without context lhs/rhs/out/ etc. don't mean anything. If you're discussing this among yourself, get a room :)
lol
I have a derp. How does this work?
@CatPlusPlus what do you mean?
What can I mean? I don't know how to do get from L to R manually.
Funky equation
12:24
you could mean how does the site work
cosh, that's not what others mean when they say they 'have a derp'. They have real derps :)
I prefer to think, you are a derp :P
@CatPlusPlus you move d/dz inside integral, because it's by y
@CatPlusPlus Switch to third gear
@Xeo poke
hello
12:28
@CatPlusPlus, d(integrate (1/2 (y - z)^2 f(y)) dy)/dz = integrate (d(1/2 (y - z)^2)/dz f(y)) dy
@Abyx Oh. Thanks.
wow, the latest Simpsons episode was awful.
@DeadMG I stopped watching the simpsons several seasons ago
eh, I generally find it just as funny now as I did 15 years ago; but they do issue duds every now and then
@Neil you are a very discerning fellow
12:32
Seems the entire plot is piloted by a series of situational jokes
@Neil It's a sitcom. That's the whole point.
a swell observation! my monocle nears popping out with joy for you
2
@DeadMG No, that's a sunday comic strip
A sitcom has some basis of a story, or should anyway
At least on friends, if chandler said he got fired, it wasn't to show some flashback to how many jobs he's lost in various ways. There was an actual story centered around it
Jokes were born from the plot, not the other way around
@Neil how would you analyze family guy in this context
@stdOrgnlDave Same. Simpsons has slowly crept closer and closer to Family Guy humor. Now they're practically indistinguishable aside from the characters themselves.
12:37
Sitcom = situational comedy.
@CatPlusPlus it's funny how when you are right, people tend to ignore you :P
sit·u·a·tion com·e·dy
Noun:
A television or radio series in which the same set of characters are involved in various amusing situations.
you in the more 'one' sense
@thecoshman you're dutch right?
@stdOrgnlDave ¬_¬ you're regular right?
12:39
@thecoshman Recent.
ex-lax keeps me that way
but yeah for like what 2 weeks?
3?
@Cicada I'm a CS grad. I do program. Most of my friends are also either graduates or have only one semester left. And they all program. Must have something to do with the mandatory internships at my university, though.
if you need lax to keep your self shitting, you have problems
I need ex-lax to keep myself coming here
toilet humour is so shit
12:41
@thecoshman where are you from
@stdOrgnlDave I am from England
oh, you're IRISH
@thecoshman Didn't mean to piss you off.
I'm gonna hit this guy.
@Neil don't crap my style
@EtiennedeMartel ?
12:42
Time for a joke with a nucleus of wit
3 hours ago, by R. Martinho Fernandes
user image
sehe that is still starred
@sehe Oh, that one's bad.
@thecoshman That one was pretty crappy
@Neil I'm flushing because of the poor puns
I'm reading a book about anti-gravity. It's impossible to put down.
5
@Neil Lol
Meanwhile, here at the office:
@sehe Perhaps it's best if you don't encourage me, especially if I caused that.
There might be a problem with your computer, there's smudge all over your code.
12:49
you know I can recover that code right!?!? I'm in ur screenshotz stealin ur code
@EtiennedeMartel Let me assure you, it is for your protection
so @sehe there's one important question I have about that
@stdOrgnlDave You can handle the truth
@sehe would you like help troubleshooting that?
@sehe Come on, it's WCF, how can it be so bad?
12:49
lol
man, I love Community
Upvote him
link
I think it's cute how much Windows thinks it can help you troubleshoot things and how much of a complete fail it is when you click yes
The crapasaurus.
Annoyingly, that doesn't Onebox
@EtiennedeMartel Secresaurs
12:54
anyone seen John Carter? if I go in with low expectations will I enjoy it?
@stdOrgnlDave I saw that, and I remember thinking, in the middle of the movie, "I don't give an absolute shit about what happens to these characters".
go in with the lowest expectations you can, it can;t be worse then that
I totally read that as:
> a lush planet inhabited by 12-football tartarians
@thecoshman We're not all so accomplished at lowering expectations
in the books mars isn't the planet mars...they took a lot of liberties...
@thecoshman Also: he didn't say, will it exceed or match my expectations. He asked "Will I enjoy it"
12:57
@sehe I work with some of the worst tools I can imagine. I can't get my expectations any lower
So it's really America; they take a lot of liberties (away)
we're doing it to bring liberties to iraq11111
afk
@sehe Careful with those words, they might bring democracy to you.
Today I heard the news reader state - in earnest - that America "has decided to end the war in Afghanistan before 2014."
I need to pass my Win32 program a parameter; an int. What's the best way to accomplish this?
13:02
That was the dutch news. They used it to introduce an item about wounded-of-war ("For some, the war will never end").
I was shocked at the arrogance. I thought the VS/ISAF/... where actually there to _prevent_ war. Now, when they retreat or abandon the mission, they call it "to end the war"
@72con Pass handle?
@72con stackoverflow.com. What language? Use command line parameters, environment variables.
How do I get access to command line parameters? I need to start the program with varying parameters.. I could also ask the user for the number; is there a default dialog for asking text input?
@72con Win32 is a programming library that can (in theory) be used by any language. 'int' is random set of three letters that mean nothing out of context, though in this case we can assume that you mean an integer.
@thecoshman yup, an integer is what I would like to pass..
String is fine too, though..
13:06
@72con He means, what programming language did you write this in?
C++
C/C++
_tWinMain gets LPTSTR lpCmdLine but I understand that's what's been used to compile the program or smth.?
@72con Those should be the command line parameters.. I'm not well versed in this _tWinMain nonsense though
@72con C or C++?
needless to say, not in the best of humours today
13:09
@EtiennedeMartel how would I know? it's a cpp file..
@72con what the hell do you think that stands for?
"C Plus Plus" by any chance?
I know it's cplusplus..
Oh, kool. Thanks Colin.
damn
13:13
@72con For future reference, I typed 'lpCmdLine' into Google
that's the second time today I ignored the wrong person
You should do that in the future
I was obviously reading a bad tutorial since they said it was the arguments used to compile the program.
@72con I've seen way too much C code written in a .cpp file to trust the file extension.
@72con What? Link please.
just a sec I'll look it up
13:15
I wish Orson Scott Card could be more...subtle...with his proselytizing
with every further book in a series his political and religious commentary become more and more overt. they start off innocent enough, but near the end of the series they are "BE A MORMON AND ALSO YOUR VIEWS ARE DUMB"
I have some advice for you from a better author, Card:
if you have a story, write a book. if you have a message, send a letter. -Abraham Lincoln
What.
> The third argument, lpCmdLine, is a string that represents all items used on the command line to compile the application.
You were not making shit up.
user784668
@EtiennedeMartel WTF?
@72con Goodness don't use their stuff
13:19
Yup :)
I'm pretty sure that they meant "the command used to execute the program" like "c:\foo\bar.exe"
these guys should be writing books not sending letters :-(
@72con I imagine you would parse the 3rd string passed. don't know why they can't just provide argc/argv analogues, but it's windows and they're dicks
Thanks all..
@72con arguments passed on the command line will be in lpCmdLine
@stdOrgnlDave You know, a person from 1950s would read that and be very confused.
And how do I set up that parameter in VS btw?
13:26
@72con which version are you using?
2010
you know how to get to a project's references?
ya
under configuration properties\debugging there's a line "command arguments"
whatever you type there will be appended when it executes your application
so if you type foo bar
it will do
myapplication.exe foo bar
> The second argument, hPrevInstance, is used if your program had any previous instance. If not, this argument can be ignored, which will always be the case.
13:28
excellent.. thanks.
this hasn't been true since 16bit Windows
@DeadMG I beg to differ. it HAS been true since 32-bit windows
@DeadMG I'm daring to argue with the puppy again.
@EtiennedeMartel Lol.
> The second parameter, hPrevInstance, is always zero in Win32 programs. Certainly it had a meaning at some point?
Yeah, I was about to post that.
13:31
@DeadMG exactly. there is no point to it in 32-bit programs.
You're both saying the same thing.
4 mins ago, by DeadMG
this hasn't been true since 16bit Windows
Yeah, @DeadMG can be hard to understand sometimes. He's a dog, after all.
@stdOrgnlDave And the quote stated that the argument was used if it had a previous instance.
since it is never used, then the quote is untrue
the quote also said that it would always not be used didn't it?
13:33
no, it only said "If there is no previous instance".
oh, I thought everything you said was from the page
or maybe I just read it differently to you
oh well, never mind, we agree on the important fact: hPrevInstance is a complete artifact
wait, wtf, where did I even read what I thought I read you saying?
" The second argument, hPrevInstance, is used if your program had any previous instance. If not, this argument can be ignored, which will always be the case."
I quoted that into an IM
now I can't find where I quoted it from
I thought it was @DeadMG
@stdOrgnlDave It was, I quoted it just above.
sorry, I quoted it, and then you probably quoted me quoting it without realizing I was quoting it
13:38
I'm having a brain fart here. Trying to think of how to keep a mapping between an original address and it's new position. However, I want to be able to potentially reposition an object and have my mapping make proper adjustments as necessary
@Neil placement new. but why?
in other words, If A -> B, and then I say B -> C, I don't mean B, I really mean A, since A -> C.
@Neil T** is the usual means.
@Neil so you want move semantics.
@DeadMG I didn't mean an address in the pointer sense
Coordinates, arbitrary coordinates
13:39
rofl
User can reposition objects and I have to keep track of its new position with respect to the old
yes so what is the problem?
And they could position an object, then take that same object and move it again
well I need an algorithm that has a list of all translations
why does this involve the stated mapping?
class previous_positions; std::vector<std::weak_ptr<previous_positions>> prev;
13:40
or, if the case may be, if I'm repositioning to its original position, it removes the translation from the list
why not just maintain a list of positions, find into it through spatial partitioning, and then move the object?
@DeadMG What do you mean?
he means what I typed
Brb one moment, don't stop talking plz
13:41
FFS
That's funny.
@Neil I mean, why on earth are you mapping anything? Why not just keep a list of current positions?
is there actually a sane reason why winsock2 blows up if you include it after windows.h?
No, but Windows' header files are hardly "sane".
@DeadMG so we're actually in agreement on something. my head implode
13:44
@stdOrgnlDave We also agreed about the hPrevInstance thing
head is imploded, hu0u see, ta typeee
@EtiennedeMartel This is more funny:
> Commenting on this article has been closed. -- Raymond Chen
Which then, very appropriately sits there being not the last comment.
13:59
you know
if I represent 2270 32bit operations, then that's going to come to 65k bit operations
So @KonradRudolph says do not use pointers. Does that also imply I should avoid using new as much as possible?

« first day (584 days earlier)      last day (4590 days later) »