« first day (1768 days earlier)      last day (3406 days later) » 

00:00
@VermillionAzure woosh
@VermillionAzure You didn't respond to my remark. "Why reduce worth"
@sehe The worth isn't there if it's wrong
It's like saying, "Hey dude, I got you a banana." "But I ordered a steak plate."
... nevermind
@sehe Please, explain
4 mins ago, by VermillionAzure
I'm factoring about... 50% of my code today and hopefully it will be replaced with 5% worth.
^ what did you mean
00:01
@sehe OHHHHHHHHHHH
2 mins ago, by sehe
@VermillionAzure You don't read often, do you
I see. What I meant was that I should because to refactor 50% of my code into a size of about 5% of my current code's length/bulk right now
@VermillionAzure thatsthejoke.gif
@Nooble Whatever you mean.
00:04
He means you found the joke.
Well, continuing
Does anybody want to learn R from/with me?
I can only see half of this, but imo you guys are getting trolled
If you reduce "worth" that implies you may keep the same amount of code but make it "worthless"
@sehe typo. meh.
> meh
meh
00:05
@sehe meh.
@mehe eheh
@sehe smeh.
Welp I guess nobody wants to learn R
@Nooble If you're interested in getting an edge, try the Machine Learning course at Coursera
well u guys boring so going to ##programming
	p.s. I need to give enough good answers on meat.steakoverflow to get my question ban lifted there ... go me! –  chmod 711 telkitty 9 secs ago
00:13
/cc @R.MartinhoFernandes
I need more awesome* robots in my life. I should go work at Boston Dynamics or something.
How about putting more effort into making useful things? Like robot fire fighters?
Boston Dynamics works on Atlas, which is for responding to nuclear meltdown disasters.
Granted the DARPA robotics challenge is nowhere near being useful, but it is still awesome.
@rhashimoto I quote from that answer "then asio_handler_invoke(a1, &a1) happens-before asio_handler_invoke(b1, &b1).". My guess is that Chris Kohlhoff is using these words specifically to convey this information. Note he's also the one proposing the executor models for c++17, AFAIR. You can assume he knows the implications of a happens-before relation in the context of the c++11 memory model — sehe 1 min ago
@chmod711telkitty disappoint, i expected cr7 and messi jr robots.
00:46
Oo, apple is trying to rope more $ from investors. Here is my comment:
Not want to sound like a property spruiker, but why would anyone in Australia want to buy ibond when the Sydney property price is going up at 8% per year for the past 100 years is beyond my comprehension.
Let's see whether my comment gets published
> Most C and C++ programmers I know hate dragging in large dependencies (increase in build and runtime complexity, code size, "can I debug this if I have a problem," etc), and would consider a library depending on Boost to be a red flag at best, or a deal breaker at worst.
good morning nearly everyone
You mean me
Ccr
Ccr
good morning guys
01:09
@MaiLongdong Well, given how many questions you can find with a remark "I can't include Boost into this project because it's huge", I can say this statement is true (whether their fears are well-founded is another question)
i see a "use boost" variant in a lot of answers
What else can't you handle because it's huge
@MaiLongdong Too obvious, try again
That's what she said.
The answer was: "Mai Longdong"
Also I ran a tcpdump of a data stream for the whole night and forgot the flag that dumps it to a file. Need to start over tomorrow :(
01:11
@MaiLongdong your ego
@Ccr Good morning
tcpdump whatever > a_file
@unordered_meow That's what I did, forgetting that this does not write the packets but only a summary. The correct flag is -w out.pcap
01:16
Doxygen is awesome
Yeah :)
@Griwes p sure it's indeed ASAN's interference that causes the segfault. valgrind also detects the new[]/delete mismatch but no segfault later.
4
Q: Funny Questions

X-27NEW CONTEST - FUNNY QUESTIONS - The rules of this contest are simple Write a funny question as an answer to this post. Put the title of that question following a #. You may use plays on words, you may make fun of noobs, regular users, or smart users. You may pretty much use any method you want...

3
/cc @MaiLongdong
@Borgleader how do u quit agar.io?
@Borgleader Thought it was spam for sec. lol
01:34
What is the license of some code with no explicit license in the code tree?
@nabijaczleweli ...Say again.
Where?
Depends on the country
On GitHub?
@nabijaczleweli Depends on location.
Assume all rights reserved though.
I found it on Google Code (and then exported to GH)
01:35
@nabijaczleweli GitHub imposes a certain license on their users, if I remember correctly
I think the default license is "no touchy"?
104
Q: What's the default license of code published at github?

nulltokenPicking a license is an inherent task of open sourcing some code. Codeplex does enforce the choice of a license while creating a project. GitHub doesn't. When no license is explicitly attached to a piece of code hosted at GitHub (neither as a separate file, nor in the headers, nor in the readme...

Canadian elections are going well /cc @EtiennedeMartel
Not sure, read Google Code's TOS. If nothing clear, ask the author.
Yes, it seems No License is All Rights Reserved
01:37
> dutop 4 points · 18h
@blisteringlogic This are locations. Qu'onos is the klingon homeworld, Praxis a klingon moon. Verdun is in Qua'baH. Er, Que..bec? How can someone spell this shit correclty, seriously?
nailed it
Whoever is flagging really hates Don.
What did he do again?
No idea. But you can clearly see all those pointless flags.
Hahaha. I can't see 'em.
Well at least we have proof that he's not the mass flagger I guess
01:39
Do you not get notified of who is doing the flagging?
Not anymore
@Owatch Yes, we can see it's you.
Admitted, Don was caught red-handed as someone who was spamming stars.
hopefully he can teach me how to quit agar.io
But I doubt that has anything to do with it.
01:39
It most certainly is not.
@Mysticial And there were flags simultaneously, so, uh.
@Owatch Do not lie, sweetheart <3.
I'm only here because someone said there was drama.
(I'm only kidding.)
There is always drama here
01:40
@Owatch What the fuck did you just say about me?
Do you guys like dark themes or light themes?
dark memes or light memes
Who is teh culprit
@DonLarynx still raging?
woah
the drama
@VermillionAzure teams?
01:42
21 flags
impressive
it's getting boring
anyone want to make the 76th thread on meta about the flag system being broken
@rlemon Yep. Haters gonna hate.
28 flags
is that a new record
@MaiLongdong So I'm using the script.
01:47
what does it say
Doesn't tell me who stars though, just when someone stars.
it does tell you!
reporter.get("stars")
Err so, what browser are you using?
at work gargle krum at home firefucks
Let me try FF then.
reporter.get("stars") just gives me... Well whatever this is.
Object.
01:53
I think you're being terrible at this
@MaiLongdong I'm horrible at web stuff yes.
How's your website
It's fiiiiiiine
2 new butans since yesterday
neat voronoi
01:54
:D
That's all I get @MaiLongdong.
@unordered_meow ghjk
Apparently nubel is unable to test his website's code
@nabijaczleweli Hey.
Star this message real quick.
@Nooble Yes and? How is that not enough info?
02:02
@MaiLongdong Where's the starrer's name?
Oh it's my name...
I see.
......................
I saw that @MaiLongdong.
I am now a detective.
@sehe :D
02:21
...
@jaggedSpire ... .. . . .. . .
. . . . . .
EFLLFLL
PEPEEPE
COMMCOMCOM
org 100h
i found out pretty recently that python passes lists by reference
does it pass dictionaries and tuples by reference, too?
02:33
everything by reference
oh
well hot damn
wait, sir
Holy crap. My lost phone disconnected from Mumble :(
Where have I misplaced it.
Is that some European thing?
Oh it's back!
@Mikhail What is?
I'm from New York...
They remade Typing of the Dead: store.steampowered.com/agecheck/app/246580
> in hilarious viral video
I imagine the author typing that while uploading.
It's probably staged
But it's still hilarious to see the koala hugging the tyre of the quad bike
@AmagicalFishy Just to be clear: It does the "pass the reference to the object", just like Java does, but unlike C++'s references.
In other news, if you have immutable objects, the difference between value semantics and reference semantics is moot
@unordered_meow ooh, alright. thanks—that tripped me up pretty bad earlier today
@chmod711telkitty :D
02:52
Okay, so static opencv segfaults on OpenCV kernel creation, but dll based opencl doesn't fault. I need to make it static, so that big companies don't steal my labs code...
Version conflict?
version of what?
MSVC RT?
No idea.
God, how the fuck do people deal with deployment at companies, I've been trying to solve this problem for hours instead of doing real work.
@CatPlusPlus Tell me a computer game that I should play.
03:00
wat wat
>Privacy
>Identification
Do you think the US government has the secret key to Intel's management engine?
Started with the Pentium III.
Or maybe there are secret crypto instructions that greatly accelerate password cracking!
That is actually scary.
Uh, WTF. Dancing with creepy robospiders.
But they're adorable!
03:26
What is it with robots having legs these days.
Wheels are great too; end the impossible standards set by the media.
I'm suddenly thinking of buying a server just to store a local transcript of this room. That ignores deletions.
user406009
@Nooble I am currently doing that.
Now I just need to get good with JS.
user406009
It's a work in progress.
user406009
I just finished the server side.
user406009
Time to start the chrome extension.
03:30
@Lalaland Wonderful.
watch wget | awk >>
user406009
@Nooble Although, I am focusing more on a transcript of all the stars.
@Lalaland Oh.
user406009
But it's the same event stream.
user406009
03:31
And roughly the same schema.
I cannot into JabbaScript.
user406009
Let me quickly upload my current work to github.
Link to repo pls.
user406009
03:41
I probably shouldn't leave my "api key" in the open ...
user406009
Oh well.
user406009
You can get a key by using the fkey() command in console.
user406009
Open up an incognito browser, go to console, and type fkey().
user406009
Credit to @rlemon for that.
A key?
user406009
03:46
A chat.stackoverflow key.
user406009
5
Q: What is the fkey that's present on some pages and what does it do?

MohamadI am a bit reluctant to ask this question since it may appear sinister (or that it may belong to SO), but my curiosity has peaked: I'm wondering what the "fkey" does that gets sent with a new comment. I read here that using a token can help prevent some forms of session hijacking. I would like t...

user406009
It's not really any api key, but I believe it is used as a tracker.
user406009
Now extension writing time. Goodbye glorious Rust. Hello JS :(
04:05
Good night lounge.
night wobble
04:27
I need to figure out how to deal with errors in my code. I've been looking into exceptions, but most of the times I don't actually want to handle anything I just want to terminate with a stack trace or something. Most of the recommendations I see if I don't care about error propagation say use assert or something to terminate the process... but asserts don't work in release mode. hmm
user406009
I usually just throw an exception that I don't bother catching.
@Prismatic Replace with Assert?
@Mikhail asserts don't work in release
@Lalaland Its fine if you don't catch it, what if someone using your code does though?
user406009
They shouldn't do that.
user406009
You should always propagate exceptions if you can't handle them.
04:30
#define Assert(_Expression) (void)( (!!(_Expression)) || (_wassert(_CRT_WIDE(#_Expression), _CRT_WIDE(__FILE__), __LINE__), 0) )
user406009
@Prismatic If you want to be cute, there are sometimes API's which let you build a stacktrace yourself.
Will using exceptions increase the size of my binaries? Even if I'm currently using the standard library (and haven't disabled exceptions or anything)
As opposed to what? Not using them?
What happens if I throw a type thats not visible to the caller? So many questions
04:36
Of course adding code will increase your binary size.
@MaiLongdong Case 1: Using exceptions in my code (still linking to the stl) Case 2: Not using exceptions in my code (still linking to the stl). Ignore the trivial classes added for throwing exceptions I guess
I dunno I remember reading code size can increase substantially, like 20%
Difficult to say
I should have just coded my lib using this: stroustrup.com/JSF-AV-rules.pdf
But you are using exceptions! You just aren't catching them. The STL containers, etc throw stuff! You would need special compile options to kill C++ exceptions.
20% size increase seems a lot (but why would you care anyway?)
04:44
shoudl I always derive from std::exception
yes or std::runtime_error
@MaiLongdong Idunno I want a lib that I'm going to use on mobile devices so I want it to be small
On MSVC you can directly throw std::runtime_error
@Prismatic On mobile devices? You mean those with 16G storage and 4GB ram?
Or 320kB rom
04:46
The ones with a lot of storage but also where people complain when your application size is big
I guess binary size doesn't matter that much
will still be vastly smaller than java
and who cares about binary size really
aside embedded it's completely irrelevant
Can I get some OpenCL advice. I want to roll my own vector summation reduction function, because I need to remove a bugy OpenCV implementation. I know how to write the nvidia version (like CUDA), but how will that run on an Intel OpenCL implementation?
If you're sticking to portable code it should run just fine
I wonder how parallel reduction avoids cache ping-pong?
04:55
Sum an array that doens't fit in cache. The first layer of the "pyramid" will have threads that keep missing the cache.
It depends on the scheduling order (BFS vs DFS)
Yep, another thought was to chunk up the array into cache friendly sizes and add those, but that doesn't sound portable...
DFS would be more cache friendly I believe
@Mikhail Well, that's normal
It's difficult enough to be portable. Performance portability is even harder.
@MaiLongdong I relied on OpenCV which had good performance, and was portable... The real moral is to have somebody else take care of it :-)
OpenCV beat my summation function by 75%
Show the code
05:16
I don't get why you should inherit from std::exception or std::runtime_error. Neither type provides anything except for a text string on what went wrong. Is it just so the user can catch the exception, log the error in their own lib and then rethrow it?
Time to sleep, peace
Sleep in peace.
What if a third party lib decides to throw my_silly_type_which_doesnt_derive_from_anything_and_is_not_visible? How do you catch that in a useful way?
The only solution is to swallow.
I guess what struck me as odd was the only utility you get from std::exception is what();
05:20
What else do you want :)
s/What/what()/
And you shouldn't swallow the exception right? You don't know what type the exception is so you should just rethrow it
Yeah but then it's gonna bubble up and your program rips
@Prismatic Generally, yes.
But yes indeed usually you shouldn't swallow
I only said that because I was starbaiting :(
05:21
I want it to rip though. I mean, unless I'm giving you enough information to handle the exception, what is catching it going to do (outside of logging the error)
there, have I satiated your star lust
user406009
05:35
I think my extension is coming along quite well
user406009
@Lalaland Non-room owner?
user406009
Yep. Anyone.
user406009
I'm getting it set up right now. Need to publish the extension, turn on a digitalocean server, etc.
WHERE'S MY PRIVACY?
user406009
05:42
Privacy is an illusion.
man I was under the impression that using exceptions gives you a stacktrace for some reason
this is lame, I dont want to do a bunch of platform specific stuff just to get a stacktrace
user406009
@Prismatic Connect to it with a debugger?
user406009
But that only works if you are expecting the crash ...
Yeah I'm thinking more like, client has a crash and I log the trace
looks handy
I love how a bunch of google's own projects haven't been migrated off Google Code yet
morning
06:26
You can get a semi-stacktrace with std::nested_exception but it's really a lot of boiler plate
06:41
oh w dad
user406009
Oh, yeah one last thing before I go to sleep.
user406009
@rlemon, @rlemon, @rlemon, I summon thou.
user406009
I have a beta version if you are interested in testing (only enabled on Lounge<C++>): chrome.google.com/webstore/detail/star-gazer/…
inb4 it gets reported on meta and b&
printf("%zd\n", sizeof(stdin)); why does this print 8?
stdin is a file stream right?
06:46
stdin is a FILE*
A pointer is 8 bytes on a 64 bit platform.
ooh gotcha. missed that, thanks!
> don’t act like we owe you something
Mintty is great, thanks @MarkGarcia
sorry but this is just blasphemy. you are here to help others says the bible
Maybe, but most of us are moslem.
oh, sorry, you are the "others" then. :D j/k
user406009
06:52
@MaiLongdong You're probably right, there could be some "drama". I'll take it down.
> Few points after the discussion with Mai Longdong:
I love this nickname.
user406009
And it's gone!
@Lalaland does your extension work retroactively (if so, how?)? AFAIK, the websocket streams only reports the frames when someone stars and the socket is active.
user406009
@AwalGarg I have a server which is constantly logging star events.
user406009
user406009
I do not have old data, but eventually that won't matter any more as new stuff cycles onto the starboard.
07:13
@Lalaland github.com/Lalaland/StarGazer/blob/master/server/src/… wouldn't this expire in a while?
user1804599
07:28
user1804599
NYC y u so huge.
New York Citizens?
;)
Nieberland
oops, wrong room
@elyse what is the yellow?
user1804599
07:34
The Netherlands.
@andy you like and old country grandpa who just wants to smoke his pipe and moan about the lazy youth
@elyse no pic with Sao Paolo?
user1804599
No.
user1804599
what is aso paolu
user1804599
> São Paulo is a municipality, metropolis and global city located in southeastern Brazil.
user1804599
07:36
Brazil sucks.
Brazil is nice
Bahia has 1100 km beaches iirc.
very useful
user1804599
It's not the Netherlands. We can conclude that it sucks.
10 hours ago, by Johan Larsson
@elyse you are mutable
user1804599
And I suck, yes.
07:41
didn't say that
I say it
but what you say can change
user1804599
@StackedCrooked You ain't much.
my dogs are tired today, the youngest moves like a lizard on hot sand, looks funny.
@elyse I meant "I say information technology"
user1804599
07:44
That'd be "IT", moron.
-2
Q: visual studio 2010 c++ my code is getting long and i need to change some settings about ram

hoffnungIm writing a c++ code on visual studio 2010. When I first make a project Visual Studio assigns certain amount of memory for this project. But as the code becomes longer, it needs more than the initially assigned memory. How do I extend this memory? I did it before long time ago. But I cant find...

very good
@MaiLongdong Possible - still, my guess is you have some UB there (possibly weirder than that mismatch). But heck, who knows.
user1804599
> a c++ code
@Griwes I asked the 3d party devs to fix their thing, I don't think debugging is meaningful
@AmagicalFishy wut?
@MaiLongdong Yeah, agreed.
Frankly, testing with sanitizers doesn't make too much sense if your deps are broken - granted, it doesn't instrument the precompiled code, but some weird cases of UB will still probably show up.
07:55
Regrettably they will likely deem the bug as minor and won't fix for ages
Yeah.
user1804599
in PHP, 50 secs ago, by Demorus
$elyse I thought OOP makes you a professional?
hilarious
Your mom also got 3 times as big — Mai Longdong 7 secs ago
@elyse Of course. P in OOP surely is "Professional"

« first day (1768 days earlier)      last day (3406 days later) »