« first day (672 days earlier)      last day (4290 days later) » 

12:00 AM
sha-2 cracking!
 
@JohannesSchaub-litb is this a bug?
#include <iostream>
template<int...i> using blah = std::integral_constant<int, sizeof...(i)>;
template<int i, int j, int...k> using foo = blah<i, j, k...>;
int main() { std::cout << foo<0, 1, 2, 3, 4>{}; }
^-- prints 3
gcc-4.7.1, I am disappoint.
 
how's the sha2 solver coming along?
 
kinda frustrated right now
 
oh with what?
 
progressing on that thing has always been navigating in the dark
dunno
if I knew what the problem is I'd have solved it :P
 
12:06 AM
yea, I can imagine
lol
 
I'm completely unmotivated to work on any of my projects.
 
same
I mean, why else would I be playing Starcraft 2
 
I have a hard time even playing games.
 
there's a BomberMan custom map for Starcraft 2 out right now
it's kinda Worms-esque
like, the winner tends to be the guy who didn't kill himself by accident :P
 
Rrrrrrrrrrgh fucking invisible tanks this game is so frustrating.
 
12:12 AM
world of tanks?
 
I heard that it was quite Free2Play, Pay2Win
 
@DeadMG I'd say some of us like to be active and physical and enjoy sports. It's really not a complicated concept.
 
@Chimera That would justify playing sports. Not watching sports en masse.
 
It has shitty autobalancer, mainly.
Or I'm just that bad.
Also you often get one-shot by more powerful tanks you can't even see and what the fuck argh.
 
12:16 AM
@CatPlusPlus I know how you feel
 
sounds to me like a pretty shitty game
why do you play it?
also, win RTS right here
 
@DeadMG Oh I thought you where talking about playing
 
lol wut?
 
I'm bad at all games. I don't even know why I bother.
 
starcraft 2 has some quick, fun maps
 
12:22 AM
Oh, hey, I got Steam Community beta access.
 
to what?
 
They're redesigning it.
And there's beta.
 
fortunate
because the current Steam Community is terribad
I mean, I love Steam for many of the other things it provides
but the profiles/groups/bullshit aren't one of it's finer points
but then
I'm one of those people who doesn't have a Facebook
 
Okay, sleep. Maybe something will start happening on the Internet tomorrow so I'm not bored out of my mind.
 
1:05 AM
@DeadMG Yeah, PA sounds really great.
 
yo nubbery
sup
have you seen domagoj floating around recently?
 
oh well
 
Haven't seen him for... weeks maybe.
 
by the way, I performed an experiment recently
remember when I was running that unmemoized algorithm on SHA-2 and you said the total complexity was at least 3^64?
decided recently to find out exactly how much it was
unfortunately, it was too large to store in a goddamn double.
over 10^308.
 
1:07 AM
lol
 
Ell
:O
 
also
 
And long double?
 
I needs ur advices
 
Oh, wait, that's the same in MSVC, right?
 
1:08 AM
yep
 
@DeadMG What about?
 
well, the solver
my back's against the wall again
I fixed all the bugs, I think. But I lost 5000 states for it and I'm back down to 22,500
this makes me le cry
 
> "I fixed all the bugs" — famous last words
3
 
the fundamental problem is, of course, that I can't see WTF is going on, because there's so much noise, so I have no idea how to proceed from here.
also, have a star
 
What do you mean by noise?
 
1:10 AM
well
think of it this way
out of 120,000 states, only a very few are solvable at any given time
even eliminating the ones which have all three values as unknown, it's still a long list of states which might be the one I could solve if I had a better solver
so it's hard for me to lock in to the areas which require my attention
kinda like optimizing without a profiler :P
 
Hey
Robot
 
@DeadMG That sounds grim.
 
yep
 
@sehe What's up?
 
I've been thinking about a kind of variable scan.
after all, in principle, a ^ b = known is unsolvable.
 
1:17 AM
You really need to figure out some way to gather stats.
 
so arguably, only the states which involve the repeated applications of some states will be solvable.
 
I just edited some suggestions: github.com/sehe/rmartinho.github.com/commit/…
It is really a raw braindump
 
@sehe Nice, thanks.
 
I haven't actually arrived at the 'reduction' that I thought. In fact, i think I added more words. I suggest you just read my version and liberally take what you like, and drop the rest :)
 
ah yes
ownership is also important for encapsulation and, more importantly, concurrency.
 
1:23 AM
Huh, somehow, when I wasn't looking, I got upvoted 4x and undownvoted 1x (how does that even work) - all while not even looking at SO.
My last serious answer was from august 5th.
 
by the way
am I the only one who thinks that this is clearly one of the best answers?
the other ones seem to be Hybrid : Car rubbish
 
Can't help but laugh at OOPS.
 
lol
object-orientated polymorphic shit?
 
Hmm, good question.
"system" perhaps.
 
> Unlivable
Strange word. Have a +1
 
1:32 AM
hmmm
well at least something changed when I introduced the new code
it crashed... but at least something happened.
that's right
 
WTF. Check the diff from lines 53-69 onwards: github.com/sehe/rmartinho.github.com/commit/…
 
if i had something like 100k tables in a db would that effect performance? not joining them all or anything
 
That's crazy.
 
some stupid monkey, i.e. me, wrote (!a && b) ^ a = (a && b) ^ !a.
wtf, he changed your words with other totally equivalent words?
 
@DeadMG I'm guessing he didn't change anything (or more than a couple characters). But the diff algorithm is gone bonkers.
 
1:38 AM
hmmmmmmm
I smell.... le probleme
it suddenly occurs to me
that I have been defining equivalences and then not checking the simpler equivalent version for solution
 
@R.MartinhoFernandes What about it?
 
@sehe The differ got very very confused, that's all.
 
Hi, is there anyone who has some experience with un4seen's BASS?
 
I don't even know what it is.
 
@R.MartinhoFernandes Oh. I didn't quite notice. Honestly, I don't think the differ is of much value here since there is a lot of minor change; besides, para's have been reformatted...
@Nedy ? and ?
 
1:43 AM
Btw, we're now 8th on the top 20 list of Goggles.
 
btw, Goggles is so trollable
 
Nobody uses it. I don't think it is very usable
 
not that I actually found a way to submit my edits
but if you did, then you could simply colour in the whole fuckin' screen and then submit it
 
There's no need to submit anything.
You just draw and it goes.
 
right... but it doesn't appear again later if you do that
 
1:45 AM
[This is somewhat hilarious](http://stackoverflow.com/posts/3412301/timeline):
- Guy #1 asks a question 2010-08-05
- Guy #2 answers is 2011-01-06 (sic)
- Guy #3 [revises answer](http://stackoverflow.com/posts/4611163/revisions) 2012-05-17 (srsly?)
 
Ell
morning all
 
@DeadMG It does for me :P
 
didn't for me
 
@Ell Bit early to wake up, innit?
 
but maybe that's just because I deliberately tried to troll with the aforementioned method
 
1:46 AM
@DeadMG Did for me. Along with the rest of the mess of scriblings by - presumably - you guys.
 
@sehe I am new to the library. I want to know how to decode mp3 and convert to mono
 
@Nedy ask the lib vendors.
 
@Nedy I never even heard of it. I'd say, time to hit the documentation
 
Ell
@sehe havent slept yet :L
 
@Nedy or use gstreamer/libsox or similar; I'm sure Stack Overflow and Super User have plenty of usage information on these, when used from the command line
@Ell Me neither. Am going to, right now AAMOF
 
1:49 AM
I want to submit my code and go home for the weekend, but I'm not 100% sure it compiles yet. Dare I risk it?
 
Night all
 
@MooingDuck branch&submit
 
@MooingDuck How can you not be sure? You mean, in all configurations?
 
@MooingDuck Honestly, I could never bring myself to do that.
 
@DeadMG Shelve. Submit branch. Save and send patch file.
 
1:50 AM
@DeadMG branching is too much trouble. I dont even know how on Perforce
 
wooooo, I think I might (might) have actually gotten a smidgeon further
 
@sehe I edited 6 projects, each takes 15+ minutes to compile, each with four configurations :(
 
Ell
does it matter If it doesn't compile? if its unfinished
 
@Ell Breaking the build is a capital sin.
 
@sehe Thanks, let me check it out
 
1:51 AM
@MooingDuck It takes you six hours to know if your code compiles?
 
Only 22,499 smidgeons to go?
 
@Ell breaks the nightly build for the whole company. They don't like that
@DeadMG I only bother with the 32 bit builds normally. But yes.
 
Ell
ahh riht
 
holy shibboleet
 
Ell
then don't risk it.
 
1:51 AM
@MooingDuck You need a automated test/build/review server
 
@DeadMG ok
 
@DeadMG which is especially furstrating if one fails
 
you need to invest in some incremental rebuild/precompiled header
 
Ell
if its not finished don't risk it
 
@MooingDuck You didn't actually hit all dependencies, did you? With a proper caching build system (ccache, SCons, IncrediBuild?) you'd have results in minutes
 
1:52 AM
@DeadMG I think we're way past that. three of the projects have (roughly) a hundred cpp files.
 
@MooingDuck Only?
 
@sehe I'm not rebuilding the dependancies, only these projects
 
15 minutes to build 100 CPP files really isn't very good time, you know.
 
@MooingDuck That's very very small not very large
 
Guys, don't scare him.
 
1:53 AM
@sehe k. well, it takes forever anyway
 
It takes six hours to build and you tell him it's very very small?
Poor thing.
 
@MooingDuck sucks to be in your job...
 
oh, that reminds me
yesterday, by Mooing Duck
later all, I'm going to go weekend now.
I was so bummed when I realized it was only Thursday :(
 
@R.MartinhoFernandes I amended that :)
 
1:54 AM
I'm actually laughing out loud.
I hope I don't wake the neighbors.
 
Ell
haha I thought you had work off early
 
robot
 
computer
 
thanks for your usual ugly assistance, I'm now 24250 states instead of 22500
 
1:55 AM
you know
I intended this approach about two months ago.
but it didn't yield any results then because my implementation sucked
now I'm doing better with it
 
ah
so it did indeed submit my changes
 
your breadth-first-search for the end of the universe is now functioning, correctly
 
That was you?
 
Not everyone does freehand naturally :)
 
1:57 AM
naw
I just added the "haters gonna hate" bit
the rest was someone else
 
I reckon, the vacuum cleaner
 
There's someone there with really terrible handwriting.
 
Hey, github doesn't show mine, does it? I thought vim had handwriting normalization
 
"someone", you mean me
 
my guess
 
2:00 AM
@DeadMG Did you write "Robot credit 1/infinity"?
If so, then yes, I mean you.
 
hey, that's partially not my fault
 
hmm, this project is only 158 cpp files (not including dependancies, just the one project.) Must be a lot of headers or a slow computer if you guys say that's small.
 
some cock wrote a message and the page scrolled when I was in the middle
 
@MooingDuck If the CPP files are hueg, then split them up further. If they're not hueg and it's all about the headers then go precompiled headers.
 
2:01 AM
@MooingDuck Or all of the above. If you have lots of TMP going on, makes sense. If all your TU's depend on a single header, it makes sense.
 
@sehe no TMP, large swaths of the code is older than that, and the rest kinda matches.
@sehe no, they depend on hundreds of headers.
woo! They all build in release mode!
 
@MooingDuck Mmm. It's mostly that, likely. The best way to reduce build times, is to not have to rebuild at all
 
@DeadMG I hadn't noticed it would scroll. I don't like the medium. It's even more esoteric than mumble as an out-of-band channel.
 
@sehe It's primarily meant for silliness, I suppose.
 
2:04 AM
But, it is probably less esoteric than KerrekSB's keysexchange secret sex change thingie
 
yeah
the scrolling is actually highly irritating.
 
Irritationalistical
 
I was just about to make your credit to be divided by infinity three times instead of once
 
@sehe I still remember how everyone managed to fuck something up on it.
 
secret sex change
 
2:05 AM
@R.MartinhoFernandes Yeah. It was soooo selfexplanatory. And standards-loving. Completely predictable random output.
 
lol
 
Ok, I'm off. See you guys
 
Ell
nighty night
 
I really want to play Planetary Annihilation now.
 
agree
I pledged $40 but really wanted the alpha access :P
 
2:07 AM
I can't sumbit my changes because someone made changes to a file I'm deleting, so I have to "undelete mine" resolve the changes, then "redelete" or something. Hard to tell.
 
@DeadMG I only pledged $15 (early bird) but if stuff goes well in the next few weeks, I might increase that.
 
wait, I'm conflicting with my previous checkin? How does that happen?
 
@R.MartinhoFernandes Whereas I've played quite a few releases by these devs
Supreme Commander and Forged Alliance are still my highest-played games of all time, by a very significant margin
 
excellent, perforce is mad at me because I have the most up-to-date version of my files, but haven't got the previous version, and I have to "update" to that. But I can't because I have the latest version. Who was it that said perforce was good?
 
2:11 AM
2 days ago, by Luchian Grigore
I use perforce
(in context, he says he likes it)
 
(in context, I'm the Lord your God)
 
oh hey, perforce worked itself out. I GET TO GO HOME
 
Ell
are c++ parsers written I a "hacky" way?
 
shouldn't be
 
Ell
I read that they are implemented as a context free parser with a symbol table bolted on or something
 
2:15 AM
@Ell They are context-sensitive, in a "Holy fucking shit" kind of way.
 
Ell
and are "hacky"
what kind of parser do you usually use for a context sensitive grammar? as in, LL is for context free
 
you don't.
context-sensitive parsers are always hand-written, afaik
 
Ell
ahh right
 
all the algorithms I know of are CFG, like LL, LR, PEG
 
Ell
what is the one above context sensetivek is it "free grammar"?
I can't remember what its called - there's that hierarchy right?
 
2:17 AM
recursively enumerable
Chomsky Hierarchy
 
Ell
ahh kk Ta
 
and it basically means "Any fuckin' thing you can possibly do, ever, with any Turing Machine"
 
Ell
do you say "ta" to mean thank you? I think you are UK and was wondering if it was used everywhere
 
naw, I think it's regional.
dunno what region
but certainly not any of the ones I've inhabited
 
Ell
right kk, jw
I use it in my region
 
2:20 AM
which one is that?
 
Ell
stoke
the worst place to live
 
that's near Yorkshire, isn't it?
 
Ell
yea
maybe. I fail at geography
will be getting results next week to prove it too :l
 
aaaargh
code y u suddenly fail :(
I should commit more fuckin' often
 
Ell
:L ctrl z ?
 
2:27 AM
lol
 
Ell
how about a version control thing where it does sub-commits when you save a file
or versioning file systems
 
nah
whats most likely is that I simply executed a file from a previous build by accident, and thought I had fixed the bug when I had not
which is why regressing the most recent code did not, in fact, solve the problem.
 
2:42 AM
and dream of drivin a ZAMBONIIIII
 
Ell
well I think I'm gonna sleep now, nighty night
 
tartar
yaaay
27753 states
 
3:47 AM
you know
it suddenly occurs to me that I keep introducing new states that did not previously exist
and it's possible that I'm simply introducing and then solving states
 
4:43 AM
 
lol
damn, my solver goes slower and slower and slower
I use O(1) hash tables to implement all my logic :(
 
4:59 AM
@DeadMG you're still on that SHA breaking algorithm?
 
yep
 
are you getting closer or further?
 
closer
but it's taking such a long time, I'm not sure how much closer
 
great, I'd love to hear news about that
well, if it was so simple to break, it would have been broken a long time ago :P
 
lol
well, as of right now, it's happily chugging along
just very very slowly
 
5:06 AM
how long do you think the whole process will take?
 
well, so far it's been about 1h 30m
but I intend to take a few operations from O(n^2) to O(n), and a few other enhancements, and when n = 120,000 - 500,000, then that factor makes a big difference
 
yeah, that will make things a lot faster.
 
also I may implement my own hash set
I could really use a much faster union operation
so
TODO: Implement O(1) get_value, set_value, and is_known, even in the face of replacements
TODO: Check actual unknown states from the original, not just total unknown states, to monitor progress.
 
what data structure are you using so far? std::unordered_set?
 
yep
it's possible to implement union (from rvalue) with zero additional allocations, which is something I'd like if it turns out to be necessary
 
5:20 AM
How are you cracking it?
like general overview?
 
convert to boolean formula, solve boolean formula
 
lol. Also, I'm acquiring some new hardware. Would you think it would be helpful to run it at 3.1ghz over 8 cores? Could I help?
 
it's single-threaded ATM
because Windows dies if I utilize my CPU at 100%
 
lol
 
lol
windows rulz
 
5:23 AM
Why not kick off two or 3?
 
just sayin'
 
well, it's really not that simple
 
Instead of the whole CPU?
 
the correctness of the solver depends on a large amount of shared state between each operation
making it work in parallel would be less than trivial
 
I thought so.
 
5:26 AM
it's doable
but not fun
 
Solving sha doesn't sound like much fun tbh. But you're doing it anyway
Multi threading sounds more fun.
 
you kidding? it's pretty awesome to watch the bits fall
 
I have no idea what you're talking about
 
that's OK
 
The bits fall?
 
5:30 AM
metaphorically, they do
right
here's to praying that my reductions in running time will yield srs improvements
well, it sure seems to have gotten somewhere
now I simply face another problem which, I fear, is more insidious
 
please please, break it
then give ppl in lounge access to the algorithm
then, you'll be our god
 
pfft
if I succeed, I'mma be looking for my own financial and personal gain
 
oh ok, I thought you cared about ppl here
well....
 
I expect that they would be happy that I would stop being so angry :P
 
nah, just kidding, you'd be my god anyway
 
5:47 AM
well
turns out that I've been overly optimistic up to this point
by maybe 50%
about how much further I have to go
I mean, it's still a lot closer than I was before, but man... kinda depressing
 
don't be depressed. if you actually do this, you'll be god, literally
well not literally, but you know, like a computer jesus
you turn hashes to plain text
 
well, I think that I've been attacking this the wrong way.
I've been flailing about in the dark trying to find solvable sub-instances of the whole formula.
I need to move to a somewhat higher representation
 
We need to go deeper ..er higher.
 
6:04 AM
well, at least I've gained a keen insight into quite how the function works
aah, maybe it's just NP-complete :P
 
 
2 hours later…
8:12 AM
Morning fellas
 
@FredOverflow group hug time? :D
 
@jalf Morning!
 
heya
 
morning :)
I don't remember who exactly suggested it, but with the WICU thing I was indeed able to remove the VS 2012 RC and failed final install. Thank you!
now I can keep using my old, moldy, slow win7 install :)
 
8:57 AM
-1
A: auto with string literals

Rahul Kumarthe code has compilation error http://codepad.org/BHNIErgO

lol, great answer
@jalf group in the algebraic sense? :)
 
Xeo
9:40 AM
@FredO: I get a feeling we need a "How does auto type inference work?"
Since there seem to be a lot of questions that could be closed as a dupe of that
 

« first day (672 days earlier)      last day (4290 days later) »