« first day (1917 days earlier)      last day (3046 days later) » 

user406009
2:00 AM
Do note that your stack location should be constant throughout the entire program.
 
user406009
So if you print out a variable's address, it should remain constant during the program's run.
 
@Mikhail If you support the operations in hardware, you can define operations that support precisely what you want, nothing more or less. Without that, you're often stuck doing a lot more than you needed in a specific situation, because (for example) the only tool you had available was a LOCK prefix.
 
user406009
* Donald Trump enters the stage. The crowd roars with applause. * You guys are missing out.
 
@JerryCoffin Haha I was just joking, terribly(maybe).
What does Donald Duck has to do with him?
Ugh it's 11AM here, I think I left my brain in bed.
 
user406009
Shoot, the first line of the first answer of the debate is just pure lies and BS. I thought I could hold on for Trump, but this is unwatchable. Time to bail.
 
2:07 AM
@AlexM. now it is
 
@sehe I advise sleep. I know, I know--you just slept last week. It still won't hurt you though.
 
:D
 
user406009
I would pay so much for a drug that allows me to not sleep.
 
user406009
(With very minimal side effects of course)
 
@Lalaland Yeah, that's the trick. It's pretty easy to stop (most) people from sleeping. In fact, sleep deprivation is apparently one of the most effective forms of torture invented yet.
 
user406009
2:11 AM
I mean, it would be like extending your life by 50%.
 
user406009
50% life extension just by stopping sleep.
 
user406009
This fox streaming site is really bad. "Oh, you increased the screen size, how about I make the video smaller for more ads!"
 
user406009
I have to shrink my browser just to get a bigger video.
 
@Lalaland Hmm...so Fox being illogical comes as a surprise to you?
 
VAX is starting to eat my VS due to instantiating templates.
I wonder if I can tell it to stop instantiating templates.
 
2:14 AM
@Lalaland AdBlock Plus?
 
user406009
@SashaMN They are ads for Fox's other services.
 
user406009
AdblockPlus doesn't seem to catch them.
 
@Lalaland Fox is giving secret kick-backs to AdblockPlus to allow (only) their ads through. Film Tinfoil hat at 11:00.
 
user406009
@JerryCoffin Well, they aren't technically ads and it is much harder to block same-site origin ads.
 
@Lalaland can you give a link?)
 
user406009
2:21 AM
 
user406009
It is sorta interesting to watch the prediction sites change in real time as the debate goes on.
 
@Lalaland yes, bad design
 
Oh.
I know why this is wrong.
Or is wrong.
The base case of And is wrong.
THe base case of Or is wrong.
 
@ThePhD So the base class of and and or is wrong, or the base class of and or or is wrong?
 
@JerryCoffin THey're... both right AND wrong? I dunno.
I think And is actually okay.
But the base case of Or should probably be false.
Like.
 
2:33 AM
@Lalaland Trump will not win
 
And<>::value // false?
Or<>::value //  .... faaalse?
I guess they should be both false.
The implementation for And<...> requires that the base case be true, though.
For <Or> it... should be false, I guess.
 
lol both candidates are saying the same thing
sounds like they don't like Obama
 
@Mikhail Republicans disliking a Democrat? Sorry, just doesn't seem believable. You've obviously misinterpreted something.
 
fuck every answer is "THIS PRESIDENT IS UNDERMINING"
How would SO close the republican debates?
 
user406009
@Mikhail Still better than the beginning of the debate.
 
user406009
2:39 AM
The beginning was just junk.
 
plus you can’t overmine, it’s all underground
 
@LucDanton It's really a typo. They really meant "undermiming. They're claiming that (if elected) they'd quit talking and over-act really badly. Admittedly, the notion of them shutting up is appealing...
 
makes sense
 
Ell
@Mikhail not constructive
 
"what do you think that Hillary Clinton is an enabler of sexual misconduct?"
 
Ell
2:46 AM
@mikhail are there two of you now? :V
 
Holy shit
VAX sucks at making templates
It churns every time.
 
@Ell Yes
 
user406009
@Mikhail But what about those "American values" and "people calling each other names on the Internet"?
 
user406009
Clearly we have got to stop calling each other names on the Internet!
 
user406009
That's how we will save America!
 
2:49 AM
Sounds like a case for deep-packet inspection!
 
@Lalaland Who would have guessed that addressing each other by number would be such a good thing?
 
I solved my implicit conversion problem.
    operator std::string() const { ... }

    template<typename T, EnableIf<Not<is_string_constructible<T>>, is_lua_primitive<T>> = 0>
    operator T ( ) const { ... }

    template<typename T, EnableIf<Not<is_string_constructible<T>>, Not<is_lua_primitive<T>>> = 0>
    operator T& ( ) const { .. }
Hot, delicious enable if spam.
 
@Xeo Have you seen this?
> Your goal is to kill other students and not get caught.
 
@Lalaland What else would we call each other?
 
Rubio is being asked for facts, what the fuck Fox News
 
2:58 AM
@ThePhD This is because identity element of conjunction is true.
 
user406009
@Mysticial What the heck
 
@Lalaland He's a bit twisted ...
The new SE mobile chat pre beta
 
3:26 AM
Did a little comparison of how compile time knowledge of inputs affects generated asm.. Kinda impressive that the string literal is fully parsed at compile-time.
 
I assume its MSVC because of the colorscheme?
Is mov eax, 123456790 really valid ASM?
 
@Mikhail Nah, just coliru.
And bitmap cutting and pasting.
Implementation is likely not optimal. Many imul could probably be replaced with array lookups.
 
@Mikhail Sure. Why wouldn't it be?
 
Well, how do I translate that to binary? It feels incomplete...
 
3:41 AM
You don't need to. The linker does :)
 
@Mikhail It's just move immediate <eax> <32-bit value> I haven't memorized the encoding tables (well, to be accurate, I sort of did at one time, but don't remember them any more), but an immediate move is a pretty common instruction.
 
@JerryCoffin Wow, why did you need to know encoding tables?
 
4:31 AM
@Mikhail Back then every gentlemen knew his encoding tables.
 
4:56 AM
I assume this was when Javascript was Java?
 
It was when Algol was the cool kid on the block.
 
 
I almost forgot to handle B.
 
5:21 AM
@StackedCrooked still not sure where you're going with all this, but let me know when you get there :D
 
6:05 AM
@Mikhail In a former life job, I spent quite a bit of my time reverse engineering code to determine whether it infringed on patents or not. Although I did have access to other tools (as in: commercial disassemblers, as well as a couple I wrote myself) there were still times that I ended up disassembling code by hand...
 
Xeo
@Mysticial I know it, yeah.
 
Xeo
7:24 AM
mornin
(from work, this time)
 
Useful feature, yay/nay?
(Retrieve modifiable reference to (user type) value stored/created by lua code)
 
Xeo
I wish you could properly align raw string literals :(
 
7:40 AM
a man can only dream
 
@Xeo I’ve considered a de-indenting compile-time litop
only briefly though, compile-time string ops is nightmarish
 
Xeo
@LucDanton but you don't wanna deindent too far, in any case
 
Maybe dump it into Qt's moc and call it a "feature", although this would break Intellisense...
 
Xeo
the string itself may need indentation, but you want that to start on the same alignment as the surrounding code
 
@Xeo Python gets away with a reasonable-ish heuristic, don’t see why that can’t be ported
 
Xeo
7:42 AM
don't think you can solve that properly within just the string litop :/
 
@Xeo is handling all possible cases rather than just the overwhelmingly large majority of them such a priority?
 
Xeo
@LucDanton What's the heuristic?
 
groceries
 
Xeo
alright, later
 
Can anyone pls explain me about inlining functions?
http://stackoverflow.com/questions/328955/how-to-use-stdsort-with-a-vector-of-structures-and-compare-function
quote: "Additionally, it's good not to use a function here at all. Instead, use a function object. These benefit from inlining."
But in another question:
http://stackoverflow.com/questions/4860762/c-can-compilers-inline-a-function-pointer
 
7:46 AM
Hello
 
I think I can understand the logic: "the reason is that functors can be inlined, since the functors type will tell the compiler which function is called at compile time. using function pointers, the compiler only knows this at runtime, and this it cannot inline."
But what about constant (static?) function pointers? And it looks like for gcc it doesnt matter, function pointers, or functors...
it doesn't hurt perfomance.
 
sbi
Good morning.
 
Xeo
soup
 
sbi
8:03 AM
@SashaMN In theory, compilers are free to inline anything they want, as long as the adhere to the as-if rule. (The program works as if they hadn't optimized anything at all.) In practice, however, there's rather few cases where compilers will inline function pointers. It's probably that way because compiler writers are busy doing other things, but whatever the reason, it's the way things are.
Feel free to check whether in particular cases calls through function pointers are inlined, but in general, if you want inlining, you need to use function objects.
@Xeo Nah, no soup in the morning. I had a sandwich, though.
@Lalaland Verity Stobs is great. (And she has been since the late 80s.)
As I said on Twitter – I didn't even know she is still around.
 
@sbi its intresting, thanks.
 
sbi
Anyway, does anybody know a tool for Windows which can tell me what program has locked a particular file I want to erase?
 
Xeo
procmon, sysmon? from the sysinternals suite IIRC
 
sbi
@Xeo Ah, they would probably cover this, yes. Thanks, I'll have a look at them.
 
wow, just tested, with functors && inline works faster!
 
sbi
8:12 AM
Wow! Whodda thought that advice from the community might be based on facts!
 
with __attribute__ ((noinline)) works: 0.502284 (not inlined here)
without inline keyword (and with -O2): 0.309076 (inlined)

I thought only -O3 inlining functions without inline keyword)
I was wrong
 
sbi
Mhmm. This says "The Sysinternals Troubleshooting Utilities have been rolled up into a single Suite of tools. This file contains the individual troubleshooting tools and help files.", and then links to live.sysinternals.com/files, which is just a folder with all the individual tools.
 
user1804599
Hello.
 
@SashaMN you should specify the target, for example fastcall might give different performance
 
@Mikhail looks like black magic for me)
googling...
 
8:22 AM
just try setting -mtarget and -march
or tell us what it was set to...
 
@Xeo ?? apparently chat eated the message when I left
actually you don’t need a heuristic, I was thinking 'strip the minimum amount of leading whitespace after the first line' but Python doctools deterministically pick leading whitespace after the first linebreak as the amount to de-indent
@Xeo I assume that‌​’s what most Python tools abide by, although obv. that can be tweaked
 
struct compare {
bool __attribute__ ((fastcall)) operator () (
const Huge & first, const Huge & second) const;
};

result: std::sort() : 0.309344
 
user1804599
@SashaMN Sometimes functions are inlined even with -O0.
 
nvm it does pick the minimum, I’m not quite into it this morning
 
No chances for merge sort to beat std::sort()
 
user1804599
8:34 AM
False.
 
my implementation works 2 times slower
 
user1804599
std::sort cannot be parallel. Non-std::sort sorting functions may be parallel.
 
user1804599
And parallelism may be beneficial.
 
I dont know why, my implementation only works faster on the struct
struct Huge {
int ID;
};
but for std::vector<int> slower
and slower for

struct Huge {
int ID;
int foo[10];
};
 
user1804599
Maybe because it has to copy more data around hth.
 
8:38 AM
im using std::move everywhere i can
 
std::move doesn't change the fact that you're copying 11 ints for Huge.
 
user1804599
100 doors problem in one line of readable code.
 
@ThePhD std::sort() doesn't copy?
problems because merge sort does ~2.5 times more assignments...
 
@SashaMN Maybe.
It's perfectly free to.
std::swap( a, b ) can just copy.
Or memmove.
Or address swap.
Who knows.
 
8:41 AM
And quick sort rearranges elements to become more cache friendly
 
Nnnnnooooo....?
 
user1804599
std::sort copies if your move assignment operator copies.
 
@ThePhD maybe im wrong
 
hello
 
but cache effects sometimes occurs in arrays of up to 10^4 - 10^5 elements
and after 2-3 partions you have cache effects...
 
user1804599
8:50 AM
% man -f pinky
pinky (1)            - lightweight finger
 
user1804599
:(
 
9:01 AM
Hi guize
 
whats up
 
Some guy checked out my butt while I was deadlifting
 
well I'll show you 'whats up', Mr. 'what's up'
 
@Rerito they all do
 
Le malaise wesh
 
9:04 AM
je suis edition
 
Ven
Hi lounge.
 
bonjour
 
Ven
@Rerito fais lui sentir un coup pour voir
:28142958 google translate failed you I'm afraid.
 
@Ven that was a guess, then I remembered corps sounds more like body for french.
 
@Ven I thought about farting to show dominance yeah
 
Ven
9:10 AM
@edition "corps" is indeed "body". "coup" is (most often) "a hit"
 
I should learn French.
 
Ven
Nah. Why'd you? It's boring and a terrible language.
 
user1804599
 
Ven
@MadameElyse we don't usually override new, but BUILD (as a submethod)
 
user1804599
I did. It complained new takes named arguments only.
 
9:47 AM
Oh hey Rapptz is back.
@AlexM. Now please go find another waifu avatar.
Reading the logs gets confusing.
 
How did I miss this babe, two of my fellow (albeit slightly more mediocre) trolls have posted in this question ... of course both downvoted to ... negative many
 
Ven
@BartekBanachewicz I mean, even when I re-read the backlog a bit later, he was on about how "allowing non-booleans in ifs was a dynamic language thing" and that "hack was just php7 but slower" (nevermind that one doesn't typecheck statically the code, and stuff like that)
 
guys, is there a way of getting ghc to generate C code from Haskell code?
 
Ven
Of course. It's not GHASM.
 
10:02 AM
ah yes, the Glasgow Haskell C
 
> Level 3 operates a global IP backbone with capacity of 42Tbps
Tablespoon joke never gets old for me.
 
time to sleep
Bye all!
 
Night
 
good night but its
morning
 
10:42 AM
@MarkGarcia soon I think
hang in there
 
Ven
Has something like [[nosink]] ever been proposed for C++? Would force to take the return value into account.
 
@AlexM. I'll start playing Underrail tonight. Don't disappoint.
 
@Ven [[nodiscard]] was proposed IIRC.
 
Ven
@Morwenn Oh god of the C++ proposals, do thou have a link for me, maybe?
 
@MarkGarcia be sure to try and get through depot A before abandoning it :P that's when it gets very very nice
 
Ven
@Morwenn <3
 
@AlexM. I'll try to remember that.
 
@Ven No problem :p
 
hello
 
Ven
@Morwenn they got rejected, or are they still talked about¿
 
10:48 AM
not much activity today
 
@MarkGarcia and watch this guy's videos if you don't like games that are way too hard so that they require you to spam retry each combat youtube.com/watch?v=cxG64b5SH_o
he shows good builds that you can try
my build was abysmal until I corrected it somewhat at the middle of the game
 
@Ven I think they're still talked about: Bjarne likes [[fallthrough]], people generally like [[unused]] too but there is no consensus for [[nodiscard]]. Not sure but I think it's how it is.
 
I underestimated how difficult the game is so didn't try to specialize too much lol
 
@AlexM. " too hard so that they require you to spam retry each combat " is basically how I play Fallout 1 & 2, and JA2. ;)
 
awesome you'll feel right at home then
 
10:50 AM
@MarkGarcia strange, I thought F1 was dead easy
 
Ven
@Morwenn okay, thanks
 
if those are the games you like then you'll most likely not want to watch that guy's videos
 
It depends on your build I guess. Did you choose unarmed combat? :D
 
and just experiment with your build :D
 
@Mr.kbok Don't want some kid to tell me I'm not a ~real fallout fan~ coz I only mentioned 2.
 
10:52 AM
@MarkGarcia hahah, well, it's not too late.
 
lol
I'm a good computer king man obv
 
11:15 AM
morning
 
morning
If I suddenly disappear from the Lounge for more than 3 weeks, could you please check that I'm not in a coma? And if I'm in a coma and/or vegetative state could you please tell them to kill me as soon as possible?
 
when you guys read code in your mind do you read && like "and" or "andand"
I can only read it like andand
 
I've just watched this:
And yeah, no thanks.
 
@AlexM. "and"
 
I mean, give me like 1 month or something, but then if I don't wake up just kill me.
 
11:19 AM
@Shoe nobody will travel to italy just to kill you
rip
 
Just call my mother or father
Tell them I said this
 
@AlexM. When I "read" code, I'm essentially translating it into English psuedo-code, so I'd read "and".
 
@AlexM. if you were to read each character, the correct way would be "ampersandampersand"
 
@Shoe Doubt a statement in the Lounge has any legal validity. For that to happen you'd have to have that written in a legal document I'm fairly certain.
 
My mom and dad should know this already
Just remind them
 
11:22 AM
 
Just make sure I'm not left there for years
That would be a nightmare
 
@Shoe lend me 5.000 euros. I'll save this money to travel to italy and make sure you die
 
Halo
 
< Killzone
 
11:27 AM
"Because of computer" is my new favourite answer to everything
 
Right.
I wonder if there's a C-- language.
 
I wonder if there's a way to search that
 
Eh, lets make it.
 
Java++
 
Assembly language, just less low level stuff.
Oh god, perfect
 
11:30 AM
Someone thought about that 10 years ago hth
 
Does anyone watch the Java stuff that Oracle make every year for that thing?
 
@HenrySouthall That's called C
 
I guess it is C, but a low-levelish version of C
 
Why
 
I actually don't know why, but it would seem pretty cool.
 
11:33 AM
cinch.txt
 
Why does it seem pretty cool?
 
I Have many issues in the head, I guess that's why.
 
Are you tracking them with github?
 
Heh, I guess I should.
"Human.cpp"
 
@HenrySouthall your profile image reminds me of my childhood.
 
11:43 AM
I guess it would.
Nostalgia for many.
 
@HenrySouthall There is --C-=C-C--.
 
Oh god, I'll see that.
 
Ell
welp I have no idea how that exam went
 
what exam?
 
Ell
11:59 AM
I had a computer architecture viva
One question was: advantages of stack machine vs register machine
 
I'd have failed the test
I'd answer "registers have cache"
would I be right?
 
I think they're separate, not exactly sure.
 
Ell
@bitcode sorry, I meant "state advantages of stack machines over register machines"
I needed a hint. The answer is that stack machines have very small object code
you don't have to explicitly state registers
 
hey, anyone knows if it is possible in regex to apply more rules to a match from a capture group? I'm trying to make a regex where I first find the contents of a parenthesis and then get the matches by separating words using comma. My example string - 1.0.4 (debug, OS X 10.11.2, Macbook Pro Retina)
 
@MadameElyse What server have you bought for rightfold.sexy?
 
12:14 PM
0
Q: Instagram iOS API Error Domain=WebKitErrorDomain Code=102 "Frame load interrupted"

Sanchit PaurushI am working on a project for iPhone where I have to take images from Instagram. I implmented the API as mentioned in its developer site https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code But when I hit this URL in UIWebview I get the er...

 
Ell
@DominikHadl wat
what is your example output?
you can't just give the example input
also did you read the rules?
and you sanshit :(
 
Would someone be interested in a Lounge minecraft server?
 
Ell
@Shoe It'd be fun for a while yeah :)
 
@Shoe It has been a semi-thing several times, IIRC?
 
With public world backups and such?
So that if I'm somehow not able to pay anymore, someone else can take on
 
Ell
12:16 PM
yeah I think so
It will be fun
but be prepared for it to not be used after a few weeks
like most lounge games, we play for a while then we stop
 
:(
 
Ell
which isn't a bad thing
 
Minecraft seems recurring though
 
Its interesting looking at archived versions Github and Stackoverflow from 2008.
 
12:23 PM
@el
@Ell the example input is "Nodes/1.0.4 (debug, OS X 10.11.2, Macbook Pro Retina)" and output is "debug", "OS X 10.11.2" and "Macbook Pro Retina" = 3 matches
I'd love to read the rules, but I can't find a single thing in this horrible UI.
 
Ven
Has anyone here used clang as a frontend for msvc build?
 
@Ell thank you, I think I know how to continue now to make it accept more than 3 matches
 
Ven
Want to know if I can go full-on C++14 or not...
 
12:40 PM
Full-on C++14 or Full-on MSVC. Pick one.
 
Ven
@Morwenn clang-frontend will save me!
 
Why choose MSVC if I may ask?
 
@Ven No, it's intended for cross-platform mobile development only
 
Ven
@ElimGarak :D
@Morwenn we need to deploy on windows
 
It is unreliable and officially unsupported for anything else. :D
 
Ven
12:42 PM
and we want to use exceptions.
 
@Shoe oh god no. im going to have nightmares of this happening to me now. damn you.
 
@Ven Are MinGW-w64's dwarf exceptions a problem?
 
Ven
@Morwenn AFAIK, clang on windows ("alone") doesn't handle exceptions correctly.
 
Ell
@Ven that's why she asked about mingw :P
 
Ven
well. I think "exceptions" in general are the problems?
 
Ell
12:48 PM
mingw-w64 handles exceptions fine, I think
 
Looks like @sfnet_ops is completely down for the moment
Modular boost it is
 
Ell
it doesn't handle SEH iirc
 
Ven
@Ell well, we use a lot of clang-specific stuff
 
Nope, only SJLJ and DWARF.
 
Ven
also gcc doesn't have a complete C++14 implementation
 
Ell
12:50 PM
@Ven oh right. what like?
 
Er, what is it missing?
 
@Ell ew. php :)
 
Ven
@Ell pragmas/diagnostics/some bugs worked around/attributes
@Morwenn missing parts of the lib: gcc.gnu.org/onlinedocs/libstdc++/manual/…
 
Oh yeah right, null forward iterators in debug mode.
 
Ell
it's library features which are the problem them
 
12:52 PM
Variable templates were broken enough, but they fixed many bugs for 5.3.
 
Ell
@Ven I mean, can I have a few examples :)
I'm interested
 
Ven
@Ell not allowed :(
I'm too scared to.
 
Ell
Okay, can you tell me some features which clang supports that gcc doesn't?
Not necessarily the ones that you use of course :P
But maybe by happenstance
 
Hola. I'm back.
Made myself some Bacon and Eggs for lunch.
 
is henry cicada
 
12:58 PM
No.
 
Ell
ignore
 
k then
 
Ell
I mean him :P
I mean "henry, ignore the cicada thing"
 
I got it :P
 
12:59 PM
Heh, Henry Cicada. Fairly obvious that I'm not.
 
any 25 rep user like that triggers my cicadameter
I mean you can't blame me, just enough rep to join chat and joins this room
 

« first day (1917 days earlier)      last day (3046 days later) »