« first day (925 days earlier)      last day (4028 days later) » 

2:00 AM
@Mysticial what a MAC (message authen...) means is a small "hash" (say 8 - 16 bytes) that gets generated over a long message using a secret key such that someone else with the secret key can verify the integrity of the message
 
user142019
Although…
 
user142019
scala> true
res0: Boolean = true
 
user142019
^ This took about eight seconds after hitting return.
 
Your PC sucks.
 
user142019
It also happened to Fred.
 
2:00 AM
Also, launching the JVM, man. That's not cheap.
 
@nightcracker That's I'm familiar with at a top level. And it involves modular arithmetic over bignums?
 
user142019
in Functional Programming, Apr 22 at 23:05, by FredOverflow
Dude... I just entered true in a Scala REPL, and it took like 5 seconds to compute the "result"...
 
@Mysticial what you are confused about is RSA, which is A form of assymetric encryption, which does indeed use modular exponentiation
 
@nightcracker ah ok
I'm somewhat familiar only with RSA.
 
You have to realize that Java is geared towards huge enterprise systems that run on mainframes.
 
user142019
2:01 AM
:P
 
I'm saying they don't care if it takes that long, because it's not the common case.
 
@Mysticial the bignum arithmic I need is addition, squaring and multiplication modulo 2^130 - 5
 
Optimizing for the edge case is a very common mistake.
 
@rightfold it was just thinking for a while, "what the hell he is doing?"
 
@nightcracker modulo 2^130 - 5. There are ways to make that fast.
 
2:02 AM
@Mysticial exactly.
@Mysticial look at it's binary form: 11111111111111111111111111111111111111111111111111111111111111111111111111111111‌​11111111111111111111111111111111111111111111111011
 
I'd have to work out the math again though.
 
and yes, 2^130-5 is prime
 
user142019
@nightcracker its*
 
@rightfold blame me - I'm dutch
 
user142019
Me too. :L
 
2:03 AM
I used something similar for the modular sanity checks in y-cruncher. But I haven't touched that code in ages.
 
always confuse them apostrophes
 
user142019
I don't.
 
Cool'
 
user142019
I'm 20% cooler than you are.
 
1.20 * 0 is still 0
so while you are 20% cooler than me, you are still just as uncool as me
yay paradoxes
 
2:04 AM
lol
 
I am trying to think up a witty name for a variable to be chomp() ed in perl
 
@Johann @#*$@(FJK@
 
user142019
@Johann $chompme
 
@nightcracker best name for a variable ever. EVAH
 
user142019
@ScottW use std::size_t and #include <cstddef>
 
2:06 AM
chomp chompme
wat
 
$pussy
chomp that
 
sigh
or...just no I am not going to say it
 
god I'm corny
 
user142019
 
Larry Wall would be proud
 
user142019
2:08 AM
Coincidentally, I'm now listening to a song called "Pussy". iTunes is good at timing things.
 
coincidentally, I am listening to a song called "Telephasic Workshop"
double coincidence = 10.0
woah bools in C++ are weird
 
How so?
 
in every way possible
 
Please don't say "it is spelled bool, not boolean".
examples?
 
user142019
It's spelled "Boolean".
 
user142019
2:11 AM
With a capital B.
 
in java?
 
@rightfold HAVE AN IRONY STAR WELCOME ME VERY MUCH
 
user142019
@Pawnguy7 in English.
 
Yes, becuase the guy.
 
@Johann You know, I can bin your messages in 10 seconds flat.
 
user142019
2:13 AM
I could do it in 5 seconds flat!
 
can you bin your own messages?
 
@rightfold Also.
 
user142019
Hey I saw my wallpaper in that video.
 
user142019
Kinda.
 
Rainbow Dash is the best.
 
2:15 AM
@Xeo Alright, I finished watching that concurrency thing.
In the end, it was everything I already figured out on my own.
 
user142019
@EtiennedeMartel Nooooooo!
 
Why didn't you all give it to me earlier? D:
 
user142019
Rarity is the best!
 
does anyone have a link to a good C++ cheat sheet?
 
2:16 AM
So much badassery.
 
I have been making my own but the quality is bad
 
user142019
 
user142019
If you meant the library…
 
user142019
Otherwise I can make one.
 
@Johann "Cheat sheet"? For C++? Don't you mean cheat book?
 
user142019
2:17 AM
I won't be able to print it, though… Not enough ink and paper.
 
have anything smaller?
like one sheet
 
C++ is a huge, bloated mess with a crapton of features.
What do you want to put on that sheet?
 
C++ cheat sheet: step 1. are you using the right language?
 
user142019
Lag—huge image.
 
user142019
Something like this but for C++ I/O streams would be handy LOL.
 
2:19 AM
@rightfold I like it
anyone here a graphical designer who could do that kind of thing?
that would be great
 
user142019
Yes, me.
 
user142019
:lol:
 
Har har.
 
user142019
What do you want on it.
 
you decide
 
user142019
2:23 AM
Okidoki.
 
upload it when you are done
 
user142019
Okidoki.
 
This is never gonna get done.
 
user142019
(Also: no shit Sherlock.)
 
Or it's gonna be a massive trollfest.
 
2:25 AM
you are dampening creativity
or innovation
or trolling. It depends
 
arg
why do the C++11 thread id's make it so hard to debug
 
Threading is naturally hard to debug, anyway.
 
everything is hard to debug
 
yeah but having a thread id naming scheme such as

0x115f57000
0x115fda000
0x11605d000
0x1160e0000
0x116163000
which changes everytime the program is run doens't help
exception in thread 0x1035a8000!!!
 
2:35 AM
Hmm.
 
awesome
 
Do you use VS?
 
no
 
Aaaah.
That explains it.
 
i'm on linux
 
2:37 AM
I wonder if you can set debug names to threads on Linux.
(It's probably pthreads underneath, hmm...)
17
Q: Can I set the name of a thread in pthreads / linux?

AnonymIs there any way of setting the name of a thread in linux ? My main purpose is it would be helpful while debugging, and also nice if that name was exposed through /proc/

 
Hey
 
yeah i might ditch C++11 for pthreads heh
 
can someone help me find a QA thread?
It had something to do with debugging and had a macro that was something like _(code here)
But i can't find it with search
 
@Link you will have to describe it better than that
 
2:42 AM
@pyCthon I'd be surprised if C++11 threads don't use pthreads underneath
 
@pyCthon If you really want easier debugging you can do a map with thread_id and const char*
 
@nightcracker they most certainly do on most compilers by default in linux/osx
 
Just an idea
 
true thats a good idea, than wrap the thread creation process to add new threads to the map
@nightcracker i'm going to try the pthread method to see if i could change the C++11 thread id
 
oh god what chaos have I wrought
 
2:45 AM
Yeah might as well use native_handle and not rip out your existing code.
 
@pyCthon You don't need to. native_handle() returns the pthread_t of the underlying thread.
Use that pthread_t to set a debug name or something.
 
Yep.
 
That's assuming you're using GCC.
 
hmm
 
user142019
@Johann So far I have a list of keywords, operator precedence and comments. LOL.
 
2:57 AM
zzzzz
is there an online ide that has pthreads?
lol
 
int d;
d = gg == gg2;
if you are using Dev C++ it should compile as a bool
Dev C++ has some weird arcane magic
 
user142019
gg == gg2 yields a bool unless == is overloaded by an idiot.
 
@rightfold you cannot truly postulate
 
> I'm shit, you're shit, the world is shit, and if you're sitting there thinking "Yes it's true, everyone is shit except me," then you're a double bacon shit with large fries, Mr. Shitface.
 
3:04 AM
@EtiennedeMartel Indeed.
 
I am saying normally you would say "bool d; d = gg == gg2
 
zzz
error: 'native_handle' is not a member of 'std::this_thread'
changing thread id = segfault
 
@pyCthon Erm.
native_handle is on thread.
It's not a function in this_thread.
 
I'm pretty sure this_thread is a static class / static namespace
 
It's a namespace. Static classes are a bullshitty idea that should not exist but keeps creeping up in C++ code written by former Java or C# programmers.
@pyCthon What I meant by "setting the debug name" is, at the time of creation of a std::thread, get its native handle and do something with it.
(i.e. pthread_setname_np)
 
3:13 AM
so what is the deal with having d as an int
 
i've been experimenting
heres where i am at
 
@Johann What?
 
can someone explain my apparent stupidity
 
@Johann I could if I knew what you were talking about.
 
user142019
@EtiennedeMartel He doesn't know himself.
 
3:15 AM
the spiel about dev C++
it is called a transcript
 
user142019
Don't use Dev-C++. It's terrible.
 
user142019
Use Vim and Z shell.
 
@Johann Dev-C++ is an outdated piece of crap.
 
yes that is what I was proving
 
3:17 AM
weird arcane magic is the same as saying outdated nonsense
 
pthreads doesn't wanna work for me
 
@Johann I still have no idea what you're rambling about.
 
@pyCthon Check who I'm replying to.
 
yeah
 
3:23 AM
Hm.
So
@pyCthon I have that thing.
But it doesn't really work.
 
my $devcplusplus = "outdated";
 
Because the thread starts as soon at it is created, so it executes before its name is set.
 
hmm
 
completely random question just curious if I have four processors when I set up virtual machines should I just set it up as one or should I allowed to take two
 
@pyCthon So you could simply set the name in the thread itself.
@FredMcgiff It is indeed completely random, so you should read this.
 
3:25 AM
He could just try 2 and see what happens.
Rather than bother everyone about the chose between one or two.
 
And even then, I mean, a C++ chatroom is much better than Google for that kind of question.
Ya know.
We're all virtualization experts 'round these parts.
 
@EtiennedeMartel I put it in the function using the pthread_self() function and still nope
 
@pyCthon I don't think you understand.
In fact, I don't think you're trying to understand.
get_id() does not return the thread's name.
 
maybe too tired to understand
oo
 
then go to bed 0_0
 
3:29 AM
Returns the id of the current thread.
 
just please stop posting every 2 minutes about pthreads
 
Let's talk about pthreads.
 
@Johann At least what he's writing somewhat makes some sense.
 
Again: my $devcplusplus = "outdated";
that was all I was trying to say
sigh
 
3:36 AM
lololol
 
user142019
Hey.
 
lol
 
um yes that does
?
you said it yourself
@Johann Dev-C++ is an outdated piece of crap.
source: you
 
user142019
 
user142019
Oh 4chan…
 
3:43 AM
@rightfold I've seen pretty weird stuff in the fandom.
 
user142019
 
user142019
@rightfold Relevant.
 
user142019
/mlp/ is a goldmine.
 
do any of you go on the arqade
 
@rightfold why would anyone ever want that?
 
user142019
3:46 AM
@JohanLarsson Do I know.
 
user142019
> 4chan
 
ok, watch out who you hang with :D
 
user142019
They said that to Saddam Hussein too.
 
@JohanLarsson hello fellow Johann :)
 
hello, why do you have a typo in your name? :)
 
3:48 AM
but anyway, the bridge, which is the main gaming exchange chat room, is dead right now.
@JohanLarsson I was going to ask the same ;)
 
I know no other way, I's yours German spelling?
 
LOL
 
a pointer woke me up at 05:30, what do you call that on a punday?
 
famous Johanns include Bach and von Goethe. I have yet to look up famous Johans. ;)
 
LOL
 
3:52 AM
Johann ("YO-hann" in German, but "Yo-HANN in, for instance, Afrikaans), typically a male given name, is the Germanized form of the originally Hebrew language name "Yohanan" (meaning "God is merciful"). It is a form of the Germanic and Latin given name "Johannes", which comes from Johan. The English language form is John. It is uncommon as a surname. People with the name include: People * Johann Adam Hiller * Johann Adam Reincken * Johann Adolf I, Duke of Saxe-Weissenfels * Johann Andreas Eisenmenger * Johann Baptist Vanhal * Johann Bernhard Fischer von Erlach * Johann Bernoulli * Johan...
 
@Johann you win
 
Johan is a masculine given name of Hebrew origin. It is a variation of the Hebrew word Yochanan, meaning "God is gracious", and uncommon as a surname. Johan is also a masculine given name of Malay language origin, meaning "Champion". Yochanan - Ioannes - Johannes - Johan People with the name Johan include: * Johan I of Sweden, (1201-1222), King of Sweden * Johan II of Sweden, (1455-1513), King of Denmark and king of Sweden during the Kalmar Union * Johan III of Sweden, (1537-1592), King of Sweden * Carl XIV Johan of Sweden, (1763-1844), King of Sweden and king of Norway, first king in t...
 
all swedes
I wonder why they decided to drop an n.
 
typo that caught traction?
 
I dunno
Or I guess the Swedes view it as the Germans adding an n
;)
 
3:56 AM
wonder what happened to Venezuelan baseball player johan santana
 
@Mysticial I dropped to 3 cycles per byte!
 
@Johann if it comes from Johannes the Germans got it most right, then the Swedes and then the Brits with their John
 
wait a sec
so the list of nicknames for John are:
 
@nightcracker What did you do?
 
jackie jack john jon jonnie johnnie johann johan johannes
 
4:01 AM
@Mysticial I went over all my code carefully, cleaning things up, and I used SSSE3 for the 8 and 16 bit rotations, and I changed the shift shift OR structure to shift shift XOR
I also re-arrange loads and stores to minimizes register stress
 
Interesting.
OR shouldn't be any different from XOR
 
I doubt that made much of a difference
the code is quite clean now actually
@Mysticial is there much difference between load and loadu, by the way?
 
@nightcracker Depends on the processor.
On yours, it should be same if it's aligned.
 
user142019
Enough 4chan lurking for today.
 
@Mysticial oh and let's not forget I also dropped from 6 doublerounds encryption to 4
 
4:05 AM
algorithm change?
 
@Mysticial I probably will bring that back up to 5 though, because 4 isn't too large of a security margin
 
ah
 
is it bad etiquette to just lurk on a chatroom without signing out?
 
@Mysticial most encryption algorithms have some sort of "rounds" parameter so you can tweak the encryption strength/speed
@Johann no one cares, really
@Johann so no, it's not
 
...
 
4:07 AM
I'm almost always lurking if I'm awake and in front of the computer.
Mainly because I have enough monitors to do so.
But yeah, that how @Xeo can "summon" me in a mere seconds. :)
 
@nightcracker looked at your profile. Are you script kidding me.
one more pun for bad pun sat
 
@Mysticial I will soon have 3 monitors on my desktop :) I ordered 2 new VE248H to go with the one I already have
 
aaarggh
I are the sicks
 
meanwhile I'm developing on one shitty laptop
10/10
 
@nightcracker how do you manage?
 
user142019
4:13 AM
@DeadMG That's more vexing than MVP.
 
@Mysticial the intrinsics guide warns against using _mm_set*, but I can ignore those warnings if I'm only settings compile-time constants, right?
@Johann dunno
 
@nightcracker correct
 
...
 
it's really fucking annoying
 
sick with what
 
user142019
4:19 AM
Sick of annoying Java programmers.
 
@nightcracker In most cases the number of rounds is intended to be treated as a constant. Reducing from what's designed may reduce your security, but with most increasing it is unlikely to do much good.
 
@JerryCoffin that's from a user perspective yes, but I'm designing a cipher here ;)
@JerryCoffin but you're right that there's not much point in increasing the number of rounds from the recommended amount, because most recommended amounts are paranoid settings :)
 
@rightfold sniff
 
@nightcracker Depends on whose doing the designing, and how much they care about speed vs. security against unknown attacks, but yes what would otherwise qualify as paranoia tends to simply be good sense in this case.
@nightcracker So have you come up with any attacks against reduced-round variants to get an idea of how much more difficult the attack gets as the number of rounds increases?
 
@JerryCoffin take the ChaCha cipher, the best known attack on it is like 2^254 on 7 rounds
@JerryCoffin the author recommends 20 o.0
@JerryCoffin well, I'm re-using veteran components in my cipher
@JerryCoffin the only novel thing about my cipher is how it combines encryption with authentication, really
 
4:29 AM
@nightcracker Yup -- back in the AES competition, MARS was a bit the same way -- they decided on more than twice as many rounds as the best known attack worked against at all. They paid for that though: MARS was also the slowest cipher in the competition (and that was almost certainly a large part of the reason it was rejected to become AES).
@nightcracker I didn't really look at the contest rules, so pardon me if I'm asking things they already explain, but you mean that basically everything you encrypt also carries a MAC?
 
@JerryCoffin pretty much
@JerryCoffin encryption only provides secrecy, not authenticy, and often people want both - so there is an authenticated encryption contest to make a primitives that provides both in an efficient manner
 
@nightcracker Yup -- seems reasonable enough; just wanted to verify that I understood the intent.
 
user1357851
Haha, a bridge on a hike I have signed up to has collapsed
 
user1357851
supposed to do that next week
 
user1357851
not sure what will happen now
 
4:41 AM
@Telkitty Sounds like the hike just got a little more challenging.
 
user1357851
 
user1357851
I signed up for a hike, not a swim, lolz
 
Purolator y u no update online tracking
 
5:01 AM
Hardcore Hiking: now with 100% more water.
 
5:11 AM
Fucking Guile's Theme has been stuck on my head all week
 
@JerryCoffin You're obscenely old right? :P Have you seen Blade Runner?
 
@Borgleader I saw Blade Runner in the theater when it was new. I currently own copies on VHS, DVD, and "the Final Cut" on BD.
 
user1357851
Jerry is not obscenely old, he's 48, lol
 
I'm watching the BD right now. (I bought a pack that contains like 5 different versions). Which version do you like better, Final Cut or the theator ?
 
Oh, to give an idea of how well I like it: when The Final Cut came out, I also bought a copy on HD-DVD, just in case it might happen to win out over BD...
 
5:20 AM
@Telkitty that's the joke
 
@Borgleader Personally, I like The Final Cut.
@Telkitty My mind is obscene enough to make up for whatever I might lack in age.
 
The 10 000$ question, is Deckard human?
 
@Borgleader As the Final Cut makes clear, no.
 
hmmm i should watch that version then
I was wondering because Rachel asks him if he ever took the test he gave her and so I thought maybe he was.
 
@Borgleader It's a bit subtle, but definitely pay attention to the dream sequence.
@Borgleader Note that he never gives her a direct answer.
 
5:26 AM
Yes thats what left me wondering.
 
Silly (and possibly incorrect) trivia: I've heard that Harrison Ford and Sean Young (Rachel) didn't get along at all -- bordering on hating each others guts.
 
I head the same thing about Kirk and Scotty
Also Roy is fucking creppy/batshit insane at the end
 
@Borgleader His final speech is the true highlight of the movie. "All those moments will be lost in time, like tears in the rain...time to die."
May have (according to the story) happened prematurely to him, but ultimately the same is true when anybody dies. No matter how careful we are to try to record the history that's considered "important", much more is lost than preserved.
 
I don't get the significance of the dove though. I'm sure it's a metaphor for something but it seems somewhat random
 
5:42 AM
@Borgleader I'm pretty sure Ridley Scott has been asked, and carefully not answered about that. I took it as something of a symbol of peace -- that Batty has come to peace with himself and his death (and with Deckard). I've read analyses making all sorts of biblical comparisons -- his pushing the nail through his hand alluding to Christ's crucifixion, and the dove to the dove Noah sent to find dry land. I s'pose that could have been intended too, but certainly wouldn't have occurred to me.
 
Oh I see
HOLY SHIT.... Gaff is Edward James Olmos?!? I didn't recognize him at all
FOr a guy who barely changed between Miami Vice and Battlestar Galactica... that's surprising
 
@Borgleader Yup -- I'd say he's at least a little more versatile than most people give him credit for.
 
I really liked him in BSG , hae only seen a few scenes of Miami Vice (my dad bought the DVDs)
 
@Borgleader I'm afraid I've watched little enough Miami Vice, I barely know who was on it at all.
 
I heard they were working on a sequel to Blade Runner, and I'm kind of scared for the result (seeing how Prometheus was low on the plot side, pretty movie but crappy story)
 

« first day (925 days earlier)      last day (4028 days later) »