« first day (2089 days earlier)      last day (3085 days later) » 
00:00 - 18:0018:00 - 00:00

00:31
Everybody loves how Farage speaks in the EU parliament
I find him extremely rude and a show-off probably for building a "rebel-like" political image
00:50
Chickens are easy and cheap to take care of, they keep children healthy and they empower women who sell chickens and are likely to reinvest the profits in their families
Jan 28 '13 at 7:43, by DeadMG
the UK will never, ever be independent, ever again.
/cc @Puppy Found this perl
@bluefeet Hello
What brings you to this neck of the woods? :)
01:06
Smurfing around
must be the chickens
user5378087
01:23
I'm studying GNU Build Tools (in make yet) and I've just compiled SDL2 with its own help (using mingw/msys). I realized there's a file called "configure" with 26k lines in SDL directory. Has it a human or a group of them written that or probably was generated by a program? I'm asking because the archive have some comments that probably was made by a person.
02:46
@FernandoK. Comments generally aren't made by machines, aside from the stubs of 'name, params and return'. The source may have been merged from multiple separate files to save space.
03:38
this message was sent to [email protected] by tracey john (sr.manager - training)
10 victor square #250, scotts valley, scotts valley, california, 95066
test spam ...
Spam the test spam then
:D
that's hilarious
use the address to sign them up for pointless snail mail spam
03:54
If they left a phone number, sign them up for cat facts too; I feel like Cat Plus Plus could teach them a few things
vicious :D
gg
You should spam them with joke links, like this one
04:11
@sehe Yeah, that sounds like a pretty difficult task. I don't see any sort of power-mod trick that can be used. So computing out Pi to as many digits as 100000! is the only approach I can think of.
Why would anyone want the sine of really large numbers?
Good enough for a Brainf**k console icon, right :P
04:28
you're asking the wrong question here. Do not ask "why," ask "why not," or at the very least "what are you doing with that?"
@Darkrifts huge_number modulo 360 (or 2*pi)
Still don't know how it could be useful
Unless you're doing some sort of chaos theory thing. It's sorta the reason why you can't predict planetary positions more than 100 million years past/future.
Which is sorta why you need so much precision.
In any case, night
slinks away
04:57
Oh, I see. Absolutely, tons of digits of precision is useful. Calculating sin(large_number), not generally
 
1 hour later…
Ven
Ven
06:16
Hi
Hey Ven
06:47
More Ven
nwp
nwp
> However, the target for the next iteration is C++19, not C++20 as previously planned. This means that C++ in 2010 just ran out of letters. C++1Ω?
heh
Ven
Ven
07:07
@Morwenn sounds awful!
07:53
@Mysticial could you inspect a little snippet of code for me?
basically the first unrolled loop
I'm trying to fill offsets_l with offsets for which some test is true (!comp(*(first + (i + 0)), pivot))
I made sure to align offsets to a cache line, it has the size of one cache line, and in the current way there are no branch mispredicts, but there is a data dependency between the next address to store and the outcome of the test
@Shoe as another MEP put it, he's a waste of EU resources.
Racist cunt.
08:09
Juno nears Jupiter, but what can you see so far away?
@FernandoK. The GNU buildsystem is a huge clusterfuck with like 3 layers of meta nonsense and only one that actually does anything, so mostly everything you see in there is probably pregenerated for you (so you can do ./configure && make instead of ./autoconf.sh && ./configure && make or other nonsense).
@Telkitty it's in orbit already.
I know ... which means far far away from the surface of Jupiter
Jupiter doesn't have a surface.
08:25
if course it does, just not a well defined one
it's well defined that it doesn't have a surface
@Telkitty A lot more than we can see from here, duh
Hey guys, does anyone here know how to use procdump.exe? I want to get my stack trace with a single call. Is that even possible?
@Mysticial Me too. I was considering it but then it dawned on me those are a lot of digits
@TheQuantumPhysicist Have you considered asking on Stack Overflow? You know, that Q&A site you might have heard of?
It might be too trivial to have a dedicated question for it
@sehe
@sehe have you seen the new improvements to pdqsort?
08:40
@TheQuantumPhysicist so we are for the trivial stuff?
like that would get your question answered ...
@Telkitty Why are you doing this?
doing what?
@Telkitty Why are you acting like if you were my girlfriend?
14
You're being oversensitive
@Bassie lol. The SJWs will just claim internalized racism. :D
@Telkitty Ouch!
Ven
Ven
08:47
LOL
@wilx I have internalized awesomeness
@orlp It is very well hidden! :D
@wilx that's what she said
@orlp lol
09:34
@orlp nope. I have heard you and morwenn discuss them I think
@sehe this is on my desktop: i.imgur.com/ZuOgNEo.png
the random average case got a lot faster
is it publishable yet? I'd love to see this in a real lib somewhere
Hi! What does a = *++in1; do ?
It does exactly what your book tells you it does.
I don't remember in which order things happen
09:39
@Basj it has a variable named in a stupid way
It gets you kicked from the lounge. Maybe?
nope
@Basj that means you shouldn't write it like that
@Abyx lighten up, dude
@sehe : it's not my code, I try to understand someone else's code
read a C++ textbook anyways
or C, dunno which is that
09:41
@Basj It's typical iterator code, harking back to C-style pointer based traversal. It increments in1, then dereferences it. Think: while(*in) (*out++ = *in++); (that's C-string copy in C, minus NUL termination)
I'll think about this... seems tricky
It is.
Idioms make it less so, but it should probably not exist outside library code (algorithm implementations)
The thing is : I have a DSP algo that works great on Python, and now I need to code it in C++
I have a float **inputs and Int32 sampleFrames. How would you do a FFT of this array, in C++ ?
Ven
Ven
09:56
user image
8
Note It looks like you linked the wrong sample file. My answer responds to the code shown in the error message instead. — sehe 14 secs ago
psychic debugging for the win
@Basj Use a library. EXACTLY how you did that in Python. By the way, this bfy.tw/6axH is a full page of very relevant search results
10:19
@sehe it's being integrated in Boost.Sort
hopefully in a timeline shorter than std::sort
10:38
Hello, all :)
Could someone assist me as i can not find how to create something like enumeration but with type KNOWNFOLDERID
user1804599
@Ven XD😜😝😝😆😀😬😂😂😂😂😝😛😂😂🤑😄😀😅😬🤓😎😂😂😁
For example I have the following enum, and I want to use it in function definition and to pass it inside this function to: SHGetKnownFolderPath

enum class SystemFolders : KNOWNFOLDERID
{
Desktop = FOLDERID_Desktop,
Documents = FOLDERID_Documents,
};
11:04
@orlp Wait, the frehsly new version is?
@Morwenn well, they haven't confirmed it
but I posted this
but the old pdqsort is confirmed either way
@orlp That one I « knew ».
The new one has serious performance arguments for it :p
Almost always twice as fast as std::sort isn't something I thought was possible for a comparison-based sort.
@orlp very very cool
Ell
Ell
Hi guys I need a little help
Is there a name for a regex which satisfies the property that it's possible to determine whether you're at the end or not?
For example, this regex doesn't have it: .+ and this does have it: .+]
"Open ended" as it were.
is there a non-C++11 alternative for std::uintpr_t?
11:15
not really, no
Ell
Ell
@orlp do you have c99?
nope
    template<class T> inline T* align_cacheline(T* p) {
        std::uintptr_t ip = reinterpret_cast<std::uintptr_t>(p);
        ip = (ip + cacheline_size - 1) & -cacheline_size;
        return reinterpret_cast<T*>(ip);
    }
basically I need this in good ol' C++03
Boost provides its own version of <cstdint> though, so you can have these types with good enough portability
@milleniumbug yeah but I want the pdqsort library to be usable in C++03 standalone as well
guess unsigned long long it is
yeah there's no fully standard conforming solution
you need to rely on extensions and/or platform-specific assumptions in C++03
(as an aside long long is C++11)
11:19
it is?
Wait, 03 still referenced C90?
@orlp yes
@Griwes C++14 did
@orlp yes but nobody cares
oh no wait
@orlp Err, pretty sure C++11 referenced C99.
11:20
I'm confused with C11
C++17 will be the first version referencing C11
AFAIK
(And I'm 100% sure that 17 references C11, because I was there when it was voted in. :P)
@milleniumbug I guess I'll use size_t
Good enough I think
you could static assert on sizeof(size_t) >= sizeof(void*) or sth if you're extra paranoid
@milleniumbug really
oh static_assert is C++11
11:23
:P
I was about to make a sarcastic comment about that
Static assert is really simple with 03, just not with very good error messages.
alternatively
nah nvm
Eh, looks like it is 11 that started referencing C99. Eh.
@orlp why do you want it to be usable in C++03
Among other things.
@Griwes Boost
@Griwes because then everyone can use it
11:25
C++11 is a reasonable requirement these days (I'd say that explicitly supporting <11 is wrong).
@Morwenn Doesn't follow.
for most things I agree
but this is such a fundamental and simple library that requiring C++11 is not really reasonable
@Morwenn Hana is in Boost now and it explicitly requires C++14.
@Griwes keep in mind that this is also a candidate for libstdc++ and libc++
libstdc++ explicitly supports 03
@orlp Let me reiterate: I find not requiring C++11 unreasonable.
@orlp You could make your version C++11-only and make Boosts' version C++98-compatible. It would be reasonable enough.
11:27
@Morwenn nah
my version is not going to be C++11-only
especially not as this is the only part that would need it
Boost version can rely on boost's stdint.
Okay, keep supporting a legacy version of the language that's a gigantic PITA for everybody. :P
@Borgleader lurking as always
why are your feet blue
Because boobies have blue feet.
11:34
That's <cstddef>, not <cstdint>.
@Griwes I know
#if defined(BOOST_HAS_INTPTR_T)
typedef boost::uintptr_t address;
#else
typedef std::size_t address;
#endif
I'm just saying that std::size_t is a safe bet for when c++11 is unavailable
@milleniumbug gna do something similar
#if __cplusplus >= 201103L
    #include <cstdint>
    #define PDQSORT_PREFER_MOVE(x) std::move(x)
#else
    #define PDQSORT_PREFER_MOVE(x) (x)
#endif
11:36
@Ell Dollar sign? Like .+$
#ifdef UINTPTR_MAX
        std::uintptr_t ip = reinterpret_cast<std::uintptr_t>(p);
#else
        std::size_t ip = reinterpret_cast<std::size_t>(p);
#endif
you have size_t on top
err
yea
just noticed
make a typedef
it's only used in one spot
Ell
Ell
11:40
@StackedCrooked I want to be able to classify regices
Not looking to write them
hm, ok
there's greedy non/greedy, but you probably know that
Ell
Ell
Yeah, I'm not sure if that is applied to the entire regex or not
Like is something ending in an optional thing greedy?
Maybe it is just that, thanks
@bluefeet wow I remember when that question was asked. I was young and foolish back then :)
12:18
@sehe implying you were ever young
bitset is templated on the number of elements, how can vector be defined as bitset internally? — Borgleader 26 secs ago
Ven
Ven
@bluefeet I have competed in a nodejs eventManager, should I email you?
Apparently LLVM's APT is back online. Good news.
For a while now.
12:32
@Griwes Why didn't you tell me? D:
I... I had faith in you! :'(
Ven
Ven
did you pray to the griwes
fast and griwes
Ven
Ven
pars vite et reviens griwes
@StackedCrooked I stumbled upon Shigatsu wa Kimi no Uso - it's rather good
Just wait till you've seen all of it.
:D
Not a bad series though.
12:36
o_O?
you've piqued my interest
@StackedCrooked should I try Shokugeki no Souma after?
I absolutely loved Shokugeki no Souma.
It's really stupid, but fun.
And second season started this week.
I've read about it - it seems like one of those combat-style sports / in this case cooking
@milleniumbug after more benchmarking there is no benefit to aligning the offset array to a cache line
@StackedCrooked I found the Uso thing from myanimelist.net/featured/960 (seen the first four epis so far)
12:40
so I'll just remove the whole align stuff alltogether
@ScarletAmaranth Don't really agree with that list. Parasyte was #1 for me.
@StackedCrooked Kiseijuu: Sei no Kakuritsu?
of course then when re-doing the benchmarks it DOES matter
can you make up your mind, computer?
@ScarletAmaranth yep
I think I want something lighter (such as Uso)
Uso is a lie tho, right? might be onto something wrt. it's not what I think
his mother looks like a bitch anyway
maybe he killed her!
(mwahahah)
12:43
@ScarletAmaranth lol, lighter
@orlp Cool.
@orlp Less cool.
I think I figured it out
@Morwenn I've seen it spammed around everywhere, didn't want to add to that. :D
Btw, No game no life is also good.
On that list.
And Ping Pong.
@Morwenn turns out it's not the aligning that matters
what matters is that they're not on the same cache line
so simply doing this works
    unsigned char offsets_l[block_size + 128];
    unsigned char offsets_r[block_size];
12:46
@ScarletAmaranth There's many good shows in that top 20.
@Ven not exactly the type of competition I refer to but if you'd like, feel free
I'd recommend most of them.
@StackedCrooked I only have a few days of free time, will do maybe 4 - 5
Ven
Ven
@bluefeet :P
@StackedCrooked if only we could get a S2, ffs
I want to watch that again
@StackedCrooked NGNL I saw! :)
NGNL is great
saw 2 years ago tho
12:52
~/programming/cpp/pdqsort/bench/ block* λ g++ -O2 -m64 -march=native -std=c++11 bench.cpp
bench.cpp:12:24: fatal error: ../pdqsort.h: No such file or directory
 #include "../pdqsort.h"
                        ^
compilation terminated.
The bug is not reproducible, so it is likely a hardware or OS problem.
oh shit....
@Morwenn so yeah, it actually does matter, nvm what I said earlier
wow
wow it looks like Lounge was mobbed in the night
Ven
Ven
@orlp Rest in ICE.
@Ven repose?
Ven
Ven
13:01
@orlp sorry, frenchism :)
@orlp Aligment problems sound boring :(
My aligment is hurting.
Overalignment is killing you.
Alignment is healthy in moderation.
user1804599
13:43
@Ven the problem with such IDs is that you can't sort by any other column, and also you can't use the One True Surrugate Key Type™ (UUIDs)
user1804599
UUIDs are nice because you can generate them offline and you can merge data sets without collisions.
user1804599
Auto-increment IDs have caused me so much trouble.
Ven
Ven
I love MySQL:
> the settings in the default option file are commented and have no effect
so you can't configure this shit.
> With one exception, the settings in the default option file are commented and have no effect. The exception is that the file sets the sql_mode system variable to NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES. This setting produces a server configuration that results in errors rather than warnings for bad data in operations that modify transactional tables. See Section 6.1.7, “Server SQL Modes”.
w00t someone is contributing to one of my elixir modules \o/
14:05
@jaggedSpire Eh?
14:22
Hey there.
I believe a question is marked as a duplicate with the wrong duplicate.
I left a comment with a better duplicate. If someone with enough reputation could have a look at it, that would be great.
Ven
Ven
@sehe
I gotta go but thanks!
I don't think this is a better one
also hey, the guy wants size_t -> string, the duplicate answers integral -> string, and you suggest string -> size_t
@7heo.tk ^
14:44
@7heo.tk I don't see what scanf/parsing size_t has to do with using std::to_string
@7heo.tk I don't see what that has to do with things /at all/. Also, the marked duplicate mentions all integral types perfectly fine, so that's not a problem. — sehe 14 secs ago
/cc @milleniumbug
Ven
Ven
tfw no boost.spirit parser for that ;/
@Ven It's about generating. But yeah, there's boost::spirit::karma::auto_ for that - and boost::spirit::karma::stream for anything else streamable, much akin to boost::lexical_cast<>
Ven
Ven
@sehe sorry, it's almost became a meme now
14:49
o.O it has been very very long since I indulged in Spirit for any length of time
guys
how can i open a file, in c++? is there any efficent function to open a video/photo? i want to make a program that opens them
Ven
Ven
@sehe Sad!
I still love it.
@AlbanianGamerYT std::ifstream ifs; ifs.open("myimage.png", std::ios::binary); there
Ven
Ven
@AlbanianGamerYT you need to use a mst::gfxgraphicsstream for video, and mst::iPicture™ for photos.
I'm a bit confused why you want to just open things. Maybe you also want pubs.opengroup.org/onlinepubs/9699919799/functions/nftw.html so you can open lots of files
14:54
np just want to open them. only a simple program
but thnx anyway
:)
user1804599
const foreignKeyViolationErrorCode = "23503"
_, err := db.Exec(`
    INSERT INTO log_entries (id, log_id, timestamp, fields)
    VALUES (uuid_generate_v4(), $1, $2, $3)
`, entry.LogID, entry.Timestamp, makeHstore(entry.Fields))
if e, ok := err.(pq.Error); ok && e.Code == foreignKeyViolationErrorCode {
    return ErrNoSuchLog
}
return err
user1804599
this is the most beautiful thing I've ever seen
How can it be beautiful when you have to explicitly write const?
user1804599
How else would it know I'm defining a constant?
using AI
15:00
magic
@Bassie Self-reflected interpolated sentience, duh
15:18
"zero".replace('z', 'h')
15:35
@ScarletAmaranth Started watching ReLife today. Reached ep 5. It's pretty good :)
Ven
Ven
@sehe ¿
@StackedCrooked is it as good as the manga?
¡
@Ven dunno
I don't read much manga.
Ven
Ven
okay
15:45
you .... just watch it!
@StackedCrooked I need you to tell me whether the violonist girl is gonna bite the dust; so I can stop watching :D
pretty much
wtf is wrong with people making anime like that :D
there's an audience that loves this crap
I'd rather watch someone sliced in something like Akame ga kill or Kill la Kill
beh
15:50
in that case watch Parasyte. It's better than Akame ga kill.
@StackedCrooked I concur
I'd also recommend reading the Parasyte manga
akame ga kill is a shonen-ish shit. parasyte is a solid seinen.
Akame ga kill is not a "horror" really
yep
it's not one piece "just punch them and watch them fly away" of course
but still
btw there is a dedicated room for that

 Maid Café (メイド喫茶)

Welcome back, my Master! (お帰りなさいませ、ご主人様!) Sit wherever you'd l...
16:21
I sometimes go there.
Ven
Ven
16:38
:\
@StackedCrooked I'll be at japan expo starting thursday :P
(and until sunday)
Visual Studio cannot compile our code without unity builds.
your code sucks
mornin' fam
nwp
nwp
17:04
@R.MartinhoFernandes IIRC there is a flag that changes the maximum size from 2GB to 3GB, are you using that already?
@Ven I was supposed to go there. But it might be compromised.
Ven
Ven
@Morwenn omg I so want to meet you D:
Why compromised?!
I messed things up. I thought that my friends where going from Brest and totally missed the fact that they now live in Rennes. Considering the fact that I work in Brest, they will probably be gone by the time I go to Rennes.
And honestly, I'm not going to Paris by myself. My car is almost broken.
Ven
Ven
Ask them to wait a bit..? :p
They also intended to stay in Paris until Monday and I'm supposed to work Monday :/
Affaire à suivre, but I probably won't be there.
Ven
Ven
17:22
Aw, you had me hoping for a second...
I had me hoping for a few days too before realizing I was dumb .____.
I want to take hormones already. But I have to wait until at least September.
Dang, it seems like no matter how hard I try to make my questions detailed, someone thinks it's shit and downvotes
@OneRaynyDay Maybe it's actually shit :o
@Morwenn cue linkin park
stack trace, code, ideone, like wat I'm so salty
Ven
Ven
Hey, i'm listening to linkin park!
@OneRaynyDay TMI, tbh
17:33
tbh, I started with half the size, but people asked for more so I gave more :/
> tried so hard and got so far
Ven
Ven
@Morwenn oh well! Maybe fruncon will happen someday
@OneRaynyDay but in the end, it didn't even get upvotes
@Ven With camembert and saucisson.
i've become so numb, can't even feel my upvotes there
@OneRaynyDay If you replace os by std::cout, everything works smoothly with g++, which means that your function is called.
Right. I figured that out after I fixed the UB from the GC'd pointer. However - why would Visual Studio lie to me like that? I still don't see it entering the scope of the function with the debugger
I feel betrayed and heartbroken
17:43
Maybe MSVC sucks. Wouldn't be the first time :D
Damn. And I thought perhaps I could get to start liking Visual Studio
I keep finding things to do for sol.
.-.
:p
I keep finding things to do for cpp-sort too, but hardly the motivation to actually do them.
The good news is my graphs are super pretty now.
The bad news is there's no escaping from bad performance numbers anymore.
I can't say "I was too lazy to read the CSV."
The end of one of The Algorithm's tracks made me think of Justice's Planisphère. Turns out it was the original inspiration.
@ThePhD :D
00:00 - 18:0018:00 - 00:00

« first day (2089 days earlier)      last day (3085 days later) »