« first day (2045 days earlier)      last day (2905 days later) » 

user3790646
12:00 AM
Damnit, I just created another account while trying to access my StackOverflow account with Gmail. Lol.
 
@RobertHarvey bewm
 
@AndreyErick If you care you can ask for them to be merged - there's a (simple) procedure on Meta IIRC
 
Airbus 320, disappointed ...
 
user3790646
@sehe It's okay though, I'm gonna delete it
 
Seems to be quite full as well judging by the amount of people outside the gate ...
 
12:04 AM
@Telkitty You should be. The one from Egypt Air earlier this week wasn't nearly full though
 
There was an earthquake at the destination yesterday too - one of the biggest quakes in the recent history of Australia ...
 
Good night Lounge
 
Reverse Engineering A Mysterious UDP Stream in My Hotel http://wiki.gkbrk.com/Hotel_Music.html
 
L8r 💤
 
Dream of C++ template errors.
 
12:08 AM
Haha. Hacking to steal the elevator music :)
Smart they used multicast streams. That's probably standard procedure with net-casting of audio though
 
Live dangerously 💃🏻
 
Got it! I think it worked! Thank you for your help! — Danish Amjad Alvi 59 secs ago
Case closed.
 
Boo ya
 
Hello nanny
 
@sehe I managed to serialize an object to the database and back again by mashing together the boost::serialization example (with bust stops and such) and some of the mongo db doc, and an SO answer on how to use boost::iostreams to create an in memory stream. MongoDB has a binary blob type so I stream it into a vector and then point the binary type to the vector's contents.
Should x-platform issues arise I'll look into that library you mention in your answer :)
 
12:17 AM
Oh I thought you found an answer on streaming into blobs actually. EPA is just a hint
 
Well I found this first (first link when googling: c++ serialize mongodb), which points to this other one of yours, but after looking at the API for MongoDB, it turns out that I can get away with this
 
Speaking of which, kernel-level support for AFL: http://lkml.iu.edu/hypermail/linux/kernel/1605.2/03665.html
@LucDanton interesting? ^
@Borgleader Ah. I make so much sense linking these things :) I should upvote myself for it
@Borgleader why would you use basic_array_source<char> instead of array_source?
 
@sehe As I mentioned above, I found this code in a SO answer, I've no experience with boost::iostream. The only difference is I replaced std::string with std::vector<char> as to not imply that what I'm serializing is text.
 
Sinks tend to work well with iostreams::back_inserters, fyi (avoids allocating up front)
 
12:32 AM
Anyone here know how to convert a IP address and network prefix length to get the subnet mask?
 
@sehe I'll take note to look that up in the documentation.
 
I'm trying to find out through google but all I'm only getting websites that do it for you
 
@MarfGamer wikipedia knows
 
alright imma check
 
@sehe that seems really technical since I don’t know the details of afl
 
Ell
12:35 AM
I miss people in discord
 
But youre on discord o.o
 
Ell
Discord isn't so great. I knew I should have continued pursuing my own implementation :3
@Borgleader my bad
 
@LucDanton It's "just" a fuzzer with a few nice extensions (like for reverse engineering grammar from parsers)
 
Ell
I mean, I miss people while I am on discord
 
3 hrs no internet ... How do I live???
 
12:36 AM
 
You found the wrong WP page
 
Ell
But it comforts me greatly that discord isn't being indexed
Besides that I prefer here
 
ikr
 
@Ven Having just completed that "12 minute read" (I suck at reading and not getting distracted) I can say it's not just that. It is worth reading.
 
1:12 AM
I'm reading articles right now because I'm about to run out of RAM and all I have open is chrome, firefox and visual studio, the rest barely uses any.
 
@MarfGamer you mean, given 5, you get a number with all bits set and 5 low bits 0? -1 << 5
or... ~((1 << 5) - 1)
 
1:29 AM
@MarfGamer if you have prefix length, << (32 - prefixlength) instead of 5 in example
 
or << (std::numeric_limits<int>::digits - prefixlength)
 
@sehe likewise. @Ven you’ve got the wrong idea
 
@milleniumbug but ipv4 is guaranteed 32 right?
otherwise yeah, absolutely, use the implementation's sizes
 
1:46 AM
@sehe That was indeed interesting.
 
2:04 AM
really cool interview (the video is gorgeous btw)
> TLDR: I took Kevin’s PSD, imported that into an FLA as a PNG, created an SWF that Stephane put into an AEP which he probably then exported as a MOV.
good lord
 
Can you do sizeof(int) or is that not allowed?
 
What happened when you tried it
 
warnings
int wasn't declared or something..
wait... OOPS my bad
hmm
Here is my one-line C program:
int main(){printf("%d\n", (int)sizeof(int));}
There
 
you need to return something, maybe, probably return the value of printf
 
??
I got 4
is that correct?
macbook:~ tao$ cat test.c
int main(){printf("%d\n", (int)sizeof(int));}
macbook:~ tao$ gcc test.c
test.c:1:12: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)'
int main(){printf("%d\n", (int)sizeof(int));}
           ^
test.c:1:12: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
1 warning generated.
macbook:~ tao$ ./a.out
4
macbook:~ tao$
 
2:15 AM
What makes you think 4 is wrong
 
idk.. shouldn't integers be 32 bit?
 
4*8
 
4 seems a "bit" small
 
4 bytes * 8 bits per byte is often 32 bits
 
ohhh OOPS :P sorry
thanks @Mikhail @Borgleader !!
 
2:15 AM
Now, do it for a char
har har har
 
205
A: Size of character ('a') in C/C++

anonIn C, the type of a character constant like 'a' is actually an int, with size of 4 (or some other implementation-dependent value). In C++, the type is char, with size of 1. This is one of many small differences between the two languages.

 
@Mikhail isn't a char just an unsigned int?
 
no
 
macbook:~ tao$ cat test.c
int main(){printf("%d\n", (int)sizeof(char));}
macbook:~ tao$ ./a.out
1
hmm.. only 1 byte?
 
2:17 AM
compile it
 
@LucDanton I did
macbook:~ tao$ cat test.c
int main(){printf("%d\n", (int)sizeof(char));}
macbook:~ tao$ gcc test.c
test.c:1:12: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)'
int main(){printf("%d\n", (int)sizeof(char));}
           ^
test.c:1:12: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
1 warning generated.
macbook:~ tao$ ./a.out
1
macbook:~ tao$
 
I'm sorry for Luc. He is a little weird
 
I don't mind XD
 
@Shoe You say that as if no one else here was weird.
 
chars are just ASCII chars right? so its just 1 byte..
@Borgleader XD
 
2:19 AM
Luc is very weird though
 
@thepiercingarrow I don't remember if it's implementation defined
 
@thepiercingarrow oh, Mikhail’s 'fun' trick is to do e.g. sizeof 'a', not sizeof(char)
 
@LucDanton huh? lemme try it...
 
@thepiercingarrow Thats nothing a quite a few users here are above 100k, besides rep means little
 
2:20 AM
@LucDanton does he play this trick on people?
@Borgleader ah okay, I see
 
Honestly though
 
It was an issue for the class I TA-ed many moons ago
 
Why are you learning C++? It's a dead language
 
WHAT? 4?
unicode?
 
@thepiercingarrow well, arguably it’s the language playing a trick on its users
 
2:21 AM
hmm so literals are unicode, but chars are ASCII unless you do a long char ?
 
205
A: Size of character ('a') in C/C++

anonIn C, the type of a character constant like 'a' is actually an int, with size of 4 (or some other implementation-dependent value). In C++, the type is char, with size of 1. This is one of many small differences between the two languages.

 
@thepiercingarrow sizeof 'a' is not the same as sizeof(char) because 'a' does not have type char, follow the link
 
No, what
 
5 mins ago, by Mikhail
205
A: Size of character ('a') in C/C++

anonIn C, the type of a character constant like 'a' is actually an int, with size of 4 (or some other implementation-dependent value). In C++, the type is char, with size of 1. This is one of many small differences between the two languages.

 
ohh.. neat
 
2:22 AM
Luc, I just posted that
Come on dude
 
XD
Soon I'll bee sixtyy yearss olddd.
thanks!!
 
Soon as in 48 years from now?
 
@Shoe He doesnt know that :P
 
umm close
in 46 years
good guess XD
 
@Borgleader (I know)
 
2:24 AM
its a reference to a great song.. really sad though :(
 
Luc plonked 95% of the room
He is my little chewbacca
 
Just like he doesnt know I'm reading his websit thing right now (at least i think this is his)
 
is a function pointer just &function() ?
hmm
or is it (*)function() ?
 
@Borgleader yeah
@thepiercingarrow Why are you learning C++?
 
@Shoe I am learning C (or at least, I'm practicing it)
@Shoe I learned it last year
 
2:27 AM
@thepiercingarrow That's even worse
 
@Shoe What do you mean?
 
Please don't write C or C++
They are both terrible languages, let them die already
 
@Shoe Um.. isn't this a C++ chat for weird people?
 
This is a virtual lounge
 
oh... but still how do I make a function pointer?
 
2:29 AM
:-(
 
C is awful, how do you even justify wasting time on that language
 
beats ASM
 
depends on which ASM :P
 
@thepiercingarrow Google it, all entry level questions like this have been nicely answered on SO proper.
 
@Borgleader okay
 
2:30 AM
A function decays naturally to a function pointer IIRC
 
Great, thanks. its &function
@Shoe IIRC ?
 
19 hours ago, by Xeo
Our Rules™ List brings all the mods to the yard.
 
If I recall correctly
Thanks
 
@thepiercingarrow Don't summon me. I'm asleep
 
I find that the best way to debug TCP issues is to simply log everything all the time. I've been thinking of using a circular buffer to log the events. Once the buffer is full want to "thin" the data by deleting every other entry. Once the buffer is full again this is repeated. Gradual thinning of old data. I wonder if there's some funky data structure exists that would make this easy.
 
2:39 AM
@sehe Sorry.. did I accidently summon you? :(
 
3:29 AM
dare ye not to summon sleeping sehes
 
 
1 hour later…
4:38 AM
@Gizmo That has been shown to be incorrect time and time again.
You'd be surprised at how little information about you one needs to obtain to go and obtain the rest.
@StackedCrooked Some kind of three where you repeatedly drop the leaves?
 
@Xeo I'm back a bit early from the con today since they didn't have any good late night stuff. I picked up a couple of the "small and expensive" wall scrolls. The quality certainly justifies the price difference.
The knots are a lot smaller than in the big wall scrolls.
 
5:02 AM
I can't say much for the durability of them though. They seem flimsier than the big wall scrolls.
 
6:08 AM
The IOC is horrible.
 
6:18 AM
The zombie outbreak is near.
 
Google Bookmarks has to be Google's most retarded product ever.
I can sort by Title or Label, or by date.
And it does show the date of each bookmark.
Except that it only shows the month and day, not the year.
5-year old bookmark just says May 5th.
Oh, apparently I can select year number as a url param.
 
google has poor uis
always too simple
 
6:37 AM
@doug65536 Well, they aim them at village idiots. :)
 
6:53 AM
Should I buy a 42inch 4k monitor made by infamous African dictator Mobutu Sese Seko?
 
7:16 AM
@Mikhail No.
 
@Ven whoah im so slow
Just wanted to post
The important question now is do we upgrade now?
Because it most certainly means that the code stops being compatible with the older releases
 
8:19 AM
great amount of feedback here
 
Xeo
8:35 AM
@Mysticial me so jelly :<
 
Xeo
@Mysticial: Did you check out Sekai Project's booth? They usually have awesome stuff. Also, you going to Anime Expo aswell?
 
Hey guys.
Oh wow ;P
 
nwp
@Comradeo you know you can edit your chat messages right?
 
@nwp Oh, just now acknowledged that xD
@nwp Pretty new to this.
When iptables prevent you from accessing a pre-installed service that you are running . . . . I am hating CentOS
 
@Shoe C syntax is so terrible... I am implementing typedef right now, and you can't parse C without a symbol table, because otherwise you don't know whether a * b; is a multiplication or a pointer declaration.
Until now there was a clean separation between syntax analysis and semantic analysis. Now it's all mixed up :(
 
9:27 AM
@fredoverflow Welcome to C
 
9:43 AM
> I guess it's not a big deal compared to how utterly broken records are in every other regard
lmao
nice read
I'd just like to point out that records suck
 
@BartekBanachewicz "I don't really debug" - he's just lost his credibility
I debug when I write Idris with (n : Nat ** So (n <= 255)) for color for fuck sakes...
 
@набиячлэвэлиь is this a bad joke? (fuck murkdown)
 
Not any more than you are
 
I don't get it
vOv
 
9:55 AM
lol dat fat head
 
@набиячлэвэлиь it' a troll
 
NO SHIT, MR. SHERLOCK MAN
 
@BartekBanachewicz well clearly the author of the presentation "doesn't debug"
 
@ScarletAmaranth that wasn't an answer to that.
Also I don't really debug that much
like, debugging once a month is really not significant
@sehe I have a question for you
 
Ven
10:12 AM
Yo
 
shit, I want to do programming
but it's so fucking hot
 
It's barely bearable here, too
 
Ven
@Mysticial i'm envious...
 
10:16 AM
@AnmolRaghuvanshiVersion2.0 new phone who dis
 
Ven
@LucDanton I read it
 
it's my version :P
like software version's
 
@MancZombie @notch I think you're taking feminism a bit too far. I'm a feminist myself and what you're doing is misrepresenting us.
I can't decide who I think worse of
dumb religious people or dumb feminists
 
Ven
@sehe I know, I read it. How to trick people into adding stuff to their habit list, etc. How to give that "rewarding" feeling. People have been talking about this and describing it for a loong time now. Back when it was just "refresh your email page" and "connect to MSN first day in the morning"
I can even add to that. "When we walk on the street, it's a slot machine to know what the next stranger looks like. When you hop on the train, it's a slot machine to know if there are empty seats or not"
 
nwp
hmm, I need/want a python-like generator
 
10:25 AM
use python?
 
nwp
debugging in python sucks
 
Ven
Maybe I feel especially annoyed because I'm barely out of the "teenager" category and I've had facebook for <1y, I never spam refresh email or anything else, I post as little as possible, I don't give a single fuck about approval from whoeverelse (and facial recognition is off in the EU). Fuck all that.
 
softłer sucks
 
@nwp Boost.Coroutine
 
nwp
hmm, maybe
 
10:28 AM
@Ven The train example is not a slot machine because the user cannot keep pulling.
 
Ven
@Puppy sure, you can change wagon
 
that is a finite rather than infinite action.
 
Ven
Okay, then looking at the display to see which train is coming
 
also it's not a slot machine because changing wagon clearly has a solid impact on whether or not a seat is available.
I have no idea how that could possibly be a slot machine.
 
@Ven So you think no one behaves like that because you don't behave like that, so it's all bollocks?
 
10:32 AM
@R.MartinhoFernandes No, I think he's saying that the Internet is clearly not targetted at him, so he finds it a suboptimal experience.
 
nwp
@milleniumbug making an iterator is probably better
 
Lounge<C++> is a slot machine
@nwp Boost.Coroutine coroutines can function as an iterator.
 
@Ven You clearly missed the point there, anyway. The characteristics of a slot machine meaningful for the analogy are not the randomness, but the reward patterns.
There's a low-cost action to perform, and there are rewards for performing it.
@nwp Unless it's trivial, pretty soon you'll end up shoving a coroutine inside an iterator.
 
nwp
@R.MartinhoFernandes so better use coroutines from the beginning?
 
Good reception in the middle of no where ... Sadness ...
 
10:38 AM
@nwp No idea. Depends on what you want to do.
 
@nwp See this and that
 
nwp
I want to iterate over files in a directory and recursively over directories in that directory. Can be done with simple recursion, but I want to keep the do_stuff_with_file-logic separate from iterating over the directories. Passing a lambda is ugly, yield(filename) + iterating seemed elegant.
 
Lambdas are fine
This is the case where you'd like to have internal iteration
 
nwp
@milleniumbug looks similar to boost coroutine range
 
@nwp That already exists in Boost.Filesystem.
 
10:44 AM
eh I already have an idea for the next language poll
but the law says it can only be one per year
 
nwp
@R.MartinhoFernandes recursive directory iterator, I see
I have never done much with boost, probably should have started earlier
 
lol the flag
 
Bartek, why were you in the C room, lol
 
i was asking cinch how to cope with the heat
 
Ven
LOL
 
10:54 AM
it's too hot
 
Ven
omg bartek
 
my brain isn't working
 
Where you at, Barket?
 
Linz, AT
the forecasts says it's 27 degrees now
but I'm telling you it's at least 180
 
420 blaze it your brain
 
10:59 AM
googling AC DIY
maybe I could just buy a fucking fan actually
 
Insert self into freezer/fridge
 

« first day (2045 days earlier)      last day (2905 days later) »