« first day (1798 days earlier)      last day (3151 days later) » 

user406009
6:00 PM
@ElimGarak That gives new meaning to Lightning Rages in Orbit.
 
I need the name for my Lounge space venture in KSP. Lounge<Space>
I think we're going to Duna today.
 
@R.MartinhoFernandes Clearly I don't. It's just that "home-row everything" is not nearly the strongest point of vim. And I was a power user in less than 2 years. Just kept expanding that. I still revise some workflows every now and then.
Soon I'll be coding with my eyes closed and commanding text objects with pure will-power alone
 
@elyse God dammit, you got me again. I was so excited....
 
@milleniumbug I still use the arrows now and then. I feel that hjkl trips me up badly when I really want to heavily navigate (so, hkkll, not just hhh or kkk). Once it starts to go wrong, it's hard to get stabilized again. The arrows are just more natural.
 
user1804599
I like tricking people into clicking Rebecca Black links on Fridays.
 
6:05 PM
I admit that using hjkl has given me a lot more "peace" to stay typing without regrouping. So I like that part
 
I'm also starting off with vim
Just got YCM up
 
Good job. Someone else (@Rerito) did the same last week IIRC
 
@jaggedSpire There, there.
 
IIRC there was YCM for ST3, too
 
I will learn VIM when it's time to port to Linux.
And then I'll have to hand-edit my ninja file. ;~;
 
6:06 PM
@набиячлевэлиь clang-complete or something
 
@sehe Much confuse, what are you talkin' 'boot
 
@ThePhD your loss. You'll loath the learning curve and blame linux for the "spartan culture". However, gVim on windows is pretty awesome.
 
@ThePhD ;~;
 
user406009
Or you could just use sublime text on Linux.
 
Sublime has no real build system in it.
 
6:08 PM
better, just use Windows.
3
 
@ThePhD why would porting to linux involve using vim? :p
 
user1804599
sehe will you do livestreams this weekend?
 
@ThePhD The best part being that Vim has a few UNIXy tools builtin (visual sidebyside diffs, shell filtering, (vim)grep etc.)
 
And neither does vim, but that's the point: use the best when you're not going to go with a full integrated solution.
 
6:08 PM
@набиячлевэлиь that's the name I remember
 
@melak47 Because I can't think of a VS-like IDE that I would use on Linux.
 
@elyse ifff time permits and useful questions
 
@ThePhD Because on Linux they don't even try
 
user1804599
@sehe if and only if and only if and only if? :D
 
6:10 PM
@elyse iffuckingf
 
@elyse "if and only if fuck you"
 
user1804599
fuck
 
:~
 
user1804599
:~)
 
Why won't the Lounge play GTA Online with me? :(
 
6:10 PM
@ElimGarak Play CoD:UO instead
 
I mean, if anyone wanted to REALLY sell me on a piece of software, one of the biggest hooks would be "we support your vcxproj/csproj/etc. format". And if they truly did, that would basically be my go-to because then I could interop with VS without having to manually update all the solution files.
 
@sehe the part that trips me most is J/K moving in opposite directions than I would expect them to move (weird, I know)
 
But... Heists.
 
@ThePhD ST2 had precisely the kind of integration vim has, when I used it (~3 months)
 
@ThePhD I'm not sure if anybody would classify it as "VS-like" (or necessarily even an IDE), but Geany is semi-usable.
 
6:11 PM
@ElimGarak Because that'd require having GTA
 
@milleniumbug for me too. It's probably something with brain wiring. And I'm not prepared to remap things. I want to stay close to vanilla configs
 
@sehe Yeah, but if I'm going to change IDEs I should use something better than just "fancy text editor", right?
 
@sehe "I get super-confused each time I navigate, but I'm scared of editing confugs"
 
@ElimGarak I'm a low level scrub in GTA, not sure I qualify for heists :D
 
I should go all-in with Vim 'n' stuff.
 
6:12 PM
It's not that I'd reverse j and k, it's that I get confused when I need to combine hjkl in random ways.
 
user406009
@ThePhD No.
 
user406009
Use sublime.
 
Heists are really fun when you have 4 people you can talk to and cooperate with. Also, griefing everyone in free mode with 4 tanks.
 
@набиячлевэлиь I'm not scared. I'm wise enough to value the defaults. They're what makes me productive on any machine in minutes (if not sooner)
@набиячлевэлиь Also, there are a zillion ways to navigate. I don't feel compelled to not use the arrow keys or mouse or whatever there is.
I'll use my joystick whenever I feel like it
 
Also, can we agree on some game and play it online? That seems like it could be fun.
 
6:14 PM
@ThePhD if you know how to write cmakelists that work for VS/msbuild and for gcc/clang, then you could use clion. it has semi-decent completion :/
 
Sublime Text with clang complete is pretty shit. But then again, I am an Intellisense brat.
 
@sehe array keys? [ and ]? ;)
 
@melak47 That sadface isn't convincing anyone.
 
@sehe Are you missing a?
 
Cautionary tale: and that, kids, is how I got my tag badge
 
6:15 PM
@набиячлевэлиь s/you/use/
 
Teach yourself how to Lounge in 21 days.
 
@набиячлевэлиь By golly. Contact a doctor. Accute senility is setting in
 
@ThePhD the completion is actually not bad, but I have no clue about cmake :v
 
Nowhere have I come across cmake where it just "worked".
I've always had to hand-edit, hand-config, hand-supply shit to it.
 
6:16 PM
@ThePhD VS/msbuild gcc/clang :/; give/take
 
@ThePhD No, seriously, CLion is most usable IDE aside from MSVS now. It needs two next major versions to compete with MSVS though.
 
@ThePhD works ok for building clang on windows for me :D
checkout, configure & generate with cmake, build, no problem
 
If there's something that'll wrap CMake like VS wraps MSBuild, I could probably use it. I just don't ever want to stick my hand in the files, because that means I've failed.
 
@sehe Severe perhaps, but not acute (senility is a chronic condition, and "acute" is the opposite of chronic).
 
My current workflow for all my projects in Furrovine is literally -> git pull -> Open Solution -> Build, and it literally works for everything.
 
6:18 PM
sehe@desktop:/mnt/WIN7VIRT/SEDATA/stackexchange$ time 7z e -so stackoverflow.com-Posts.7z | tail

Processing archive: stackoverflow.com-Posts.7z

Extracting  Posts.xml

Everything is Ok

Size:       30613095889
Compressed: 6168887753
  <row Id="25829704" PostTypeId="1" Creatio...
  <row Id="25829705" PostTypeId="1" Creatio...
  <row Id="25829706" PostTypeId="2" ParentI...
  <row Id="25829707" PostTypeId="2" ParentI...
  <row Id="25829708" PostTypeId="2" ParentI...
  <row Id="25829709" PostTypeId="2" ParentI...
Wow. 7 minutes to just plow through all SO posts in plain text (not even looking for anything)
 
@ThePhD how do you deal with say, boost include path?
 
@JerryCoffin Something chronic can easily start acutely, as I understood it
 
@melak47 No boost, no problem. \o/
6
 
Well that's LZMA not plain text
 
Anyhoops that was joking. I hope
 
6:19 PM
@milleniumbug I would say it also requires MSVS to stand still for two versions. Unfortunately, their recent record in that regard indicates that it's just as likely to get worse as better during that time.
 
If I WAS using boost, I'd make my own repo with the subset I was using and then add that as a submodule.
 
@CatPlusPlus Ok, fair enough. I just am not prepared to do extract the whole plaintext before initial filtering. So I wanted to make sure I had the complete file (tail) and now I'll do the filtering. At least I know whatever I do it takes 7 minutes
 
@sehe ...but you're no longer sure, even 30 seconds later. Not a good sign!
 
See here.
 
@sehe Wow, I want an offline dump of SO too
 
6:20 PM
libiconv and harfbuzz I have copies for myself.
 
Gradle is a fucking joke
 
@milleniumbug speaking of clion - when I'm filling out template arguments, it doesn't show me what parameters the template has (like it shows the function signature when filling out the arguments). Did I break something, or does it just not do that? :/
 
@ThePhD hm.
 
6:23 PM
This sucks in the fact that if someone wants to use a different version of boost or libiconv or harfbuzz they couldn't
 
YT advice is top kek
 
... But nobody's using my shit, so I don't have to care about "someone".
The benefits of being a nobody: breaking changes aren't so breaking! \o/
 
yeah, fuck the users :p
 
@Puppy Fuck TLI
 
6:24 PM
@melak47 or lack thereof, rather
Removed useless Gradle cache, -1.5GB of used HDD space
 
It caches things you used hth
 
user1804599
what should I write the specification in
 
user1804599
LaTeX?
 
user1804599
reStructuredText?
 
user1804599
I don't know.
 
6:26 PM
English
 
Here, have a coordinate system chart! http://t.co/riYtt6tLEd
 
reST with Sphinx.
 
Z up ftw
 
@melak47 s/Z/ass/
 
user1804599
@ThePhD why?
 
6:28 PM
Y is up you peasants.
 
full agreement
 
user1804599
X up ftw
 
You outta your mind?
 
user1804599
t up
 
S up
@elyse Dunno.
 
6:30 PM
@Columbo Any specific reason?
 
@Puppy jk
TLI is neat.
I like the Michael Bolton one.
 
@ThePhD With Sphinx, yeah.
 
volatile int i = 1;
int j = 0 * i; // can the compiler optimize away the read from i?
 
@melak47 Filthy cryengine peasant.
 
what?
 
user1804599
6:32 PM
@StackedCrooked maybe
 
@StackedCrooked well if the output would in any case be not 0 then yes? Could a read trigger something else?
you can try it out
you know
 
A read from volatile is supposed to be observable behavior...
 
volatile int *i = 0;
int j = 0 * (*i); // can the compiler optimize away the read from i?
 
@ThePhD actually, 3ds max (and unreal engine I guess, but 3ds max came first)
 
user1804599
@StackedCrooked then it cannot
 
user1804599
6:33 PM
a read may trigger I/O
 
if it crashes it isn't optimized away
 
user1804599
@Gizmo no
 
user1804599
i may be set before the dereferencing operation
 
I suppose (i - i) is a more certain bet.
 
well yes it could
if i is a register you may never optimize it away I think
eg in arduino
 
user1804599
6:34 PM
C++ doesn't give a shit about registers.
 
user1804599
They're an implementation detail.
 
I'm not saying it's register specific, justp ointing out a example
 
Too bad they don't want register to become a regular identifier. It would be an excellent function name.
 
user1804599
registrate
 
user1804599
your compilator will be fine with it
 
6:37 PM
but well, the simplest test it to just set a bp on the code line or set a data breakpoint
or let's just say: Read your compiler documentation
 
Oh oh oh, @Borgleader ! I almost fixed all my OpenGL issues. Right now I'm just trying to get my projection matrices to be good.
 
"parallelizing" memcpy slows it down. I don't really understand why.
 
How's work been for you? How's your sidestuff been going?
 
@StackedCrooked The size is way too small.
 
6:41 PM
gimme a program and be it some good size, I have 32 GB ram available
well 28,5 GB free
 
@Puppy The results are comparable for size 1024 * 1024 * 1024
// iMac local results (much faster than Coliru)
size: 1052770304. num-threads: 1. throughput: 8.5 bytes/ns
size: 1052770304. num-threads: 2. throughput: 3.6 bytes/ns
size: 1052770304. num-threads: 3. throughput: 2 bytes/ns
size: 1052770304. num-threads: 4. throughput: 0.2 bytes/ns
size: 1052770304. num-threads: 5. throughput: 0.1 bytes/ns
 
@StackedCrooked So 3 kb?
 
@ThePhD 1GiB
 
@StackedCrooked Er, no.
you've allocated that much per thread.
so every thread is doing 1GB.
so 5 threads is doing 5 GB.
 
Woops.
 
6:45 PM
the bottleneck in this case is going to be nothing to do with CPU time.
it's going to be just memory accesses through and through.
 
But the result is size * num_threads / sum_duration_ns
 
to be more fair you would allocate 1GB for all threads and use that many threads to copy it.
 
I'm not deallocating. This might negatively affect later test iterations.
@Puppy Ah.
 
also that.
 
@StackedCrooked You're hitting memory bandwidth limits. But 0.1 vs. 8.5 suggests there's something else going on.
 
6:49 PM
lol, PC is getting slow. better fix my leaks
 
also
your disable_optimization is going to do a lot more than that.
 
// Allocate new char[size / num_threads]. +Fixed leak
size: 1052770304. num-threads: 1. throughput: 8.7 bytes/ns
size: 1052770304. num-threads: 2. throughput: 6.3 bytes/ns
size: 1052770304. num-threads: 3. throughput: 4.8 bytes/ns
size: 1052770304. num-threads: 4. throughput: 4 bytes/ns
size: 1052770304. num-threads: 5. throughput: 3.4 bytes/ns
size: 1052770304. num-threads: 6. throughput: 2.9 bytes/ns
size: 1052770304. num-threads: 7. throughput: 2.5 bytes/ns
size: 1052770304. num-threads: 8. throughput: 2.2 bytes/ns
 
you're going to tank all of your threads with a massive false sharing problem as they're all reading and writing to this one shared variable.
 
They only write the result once.
 
@StackedCrooked Aww, I was fixing it, you're too fast for me. :c
 
6:50 PM
But the trend is still the same.
memory bus pressure?
@Mysticial cache associativity issues perhaps?
 
When I read some discussions here, I feel mentally impaired ._______.
 
Why?
 
user406009
@Morwenn You can always just go to the PHP room.
 
user406009
And be happy there.
 
@StackedCrooked Memory bandwidth is certainly going to be a bottleneck on my memcpy benchmark. But that doesn't explain a factor of 85x.
 
6:52 PM
hmm
 
@Mysticial I improved the test and posted new results above.
 
@Mysticial The factor was 85 plus leaks plus doing 1 GB per thread.
 
> >PHP
> >happy
 
Now it's just a 5/4x factor
 
my improved version terminates with an FP exception :(
 
6:53 PM
@ThePhD I hardly understand what's being talked about and it makes me sad.
 
@Morwenn Stick around, we'll explain it to you. :D
 
@StackedCrooked Cache associativity shouldn't be an issue the cache is cold anyway.
 
@Mysticial Btw, would you expect multiple threads to speed up or slow down the result?
 
@StackedCrooked I would expect it to saturate very quickly. (like at 1 or 2 threads.)
But backwards scaling shouldn't be as much as what you're seeing.
 
@Mysticial Well, but collisions could trigger cache line ownership conflicts.
I think...
 
6:54 PM
This python class is ZZZZZZZZZZZZZZZZZZZ.
 
@StackedCrooked Everything is only being read once. So the cache doesn't matter.
 
Ah. You're right.
 
any of you guys want to finish off my improvements? coliru.stacked-crooked.com/a/7256b43cd46581c1
 
@ThePhD There are two kinds of classes: the ones you already know and the ones where you don't understand a thing.
 
not sure where the FP exception is coming from...
 
6:55 PM
@Puppy As on SO. :P:P:P:P:P:P:P:P
 
lol
 
HALP y my code crsh ?
 
@StackedCrooked Upload the new test code? I wanna make sure you're timing it properly.
 
I start to realize I really dig the black backgrounds on videos.
 

« first day (1798 days earlier)      last day (3151 days later) »