« first day (1708 days earlier)      last day (3258 days later) » 

Ell
6:00 PM
@Jefffrey err
I'm not sure
milleniumbug and I are still on
 
Split brain :v
 
Oh wow, that made a huge difference. lol
 
@AlexM. Sold some cards, bought what i needed, gemmed the rest. Made a profit of 8 cents ;)
 
^^ /cc @Xeo
 
@Mysticial Hahahaha
 
6:03 PM
That cut the run-time by a factor of 2 - 3x.
 
As Adam Savage would say "There's your problem"
 
It's still 4x slower than y-cruncher. But we're getting there...
 
Ell
80/20 n that
 
You should just run it on bare hardware in ring 0
 
@CatPlusPlus y-cruncher achieves almost the same thing. Preallocate all memory. No kernel calls at all during the computation. Except for stuff related to multi-threading.
 
Ell
6:06 PM
jefffrey dropped :(
 
user1804599
I could do this:
 
user1804599
func Loop(world *world.World, inputs chan<- Input) {
    ticks := time.Tick()
    for {
        select {
        case input := <-inputs: // update PC
        case <-ticks: // update NPCs
        }
    }
}
 
Ell
you are not preallocating currently though are you?
 
@Mysticial But you're still getting preempted!
 
what profiler is that screenshot from?
 
6:06 PM
And all that paging
 
user1804599
But maybe I should enqueue the inputs and update PCs when ticks is ready instead.
 
@BenVoigt Intel vtune.
 
What you writing rightgold
 
user1804599
A video game.
 
Ell
I'm writing one also
I have a red screen so far
 
user1804599
6:07 PM
For now I will just go with this.
 
Yeah me too
 
Ell
after about 3 years of "work"
 
I have a websucket
 
user1804599
I'm using SSH for the UI.
 
@BenVoigt If you weren't here earlier, this was what I started with.
 
user406009
6:08 PM
Darn, it looks like my program has a memory leak. Now the question is whether or not I should spend a lot of time tracking it down, or just turn on my handy dandy restart every 6 hours script.
 
@Lalaland Fix yo shit.
 
user1804599
Currently all you can do is connect and it will print ⌂⌂⌂⌂⌂⌂ and when you change the size of your terminal it will print the new size.
 
om nom nom nom
dinner be ate
@ell you still hosting?
 
Ell
@thecoshman yah
 
cool
 
Ell
6:10 PM
okay
I need to rehost
 
I struggle to connect :\
 
Ell
@milleniumbug @Jefffrey @thecoshman I'm going to rehost because people keep dropping and autosave is on too low
 
@buttifulbuttefly HoT? Probably not, I haven't played in months
 
one sec
dling latest map
 
when cosh drops, everyone drops for me
 
6:11 PM
its a desync
Make latency higher
 
Also set a name cosh, please
 
how do?
 
Ell
okay guys everyone quit
 
Options > Others
 
You probably need 200+ms
 
6:11 PM
it's "thecoshman" for me
 
Oh wait, I'm an idiot. I forgot to turn on optimizations. It's another factor of 2 faster.
7
 
it is set
 
Ell
kk I'll set to 200
 
I think it's ell who isn't set
 
Ell
okay 232ms
 
6:11 PM
It's a mystery
 
Ell
@Mysticial lol
 
ok, should I reconnect?
 
Ell
@Mysticial earlier in the convo I was going to ask if you were building in release mode, but then I thought "nah this is mysticial, of course he is, I don't want to insult him"
 
@ell tell us when
 
Ell
okay reconnect
 
6:13 PM
@Ell The library itself is built in release mode with AVX2. But the test code has been flip-floping between debug and release since I was debugging it.
 
unkown username is not responding vOv
 
Ell
coshman dropped again
 
can't connect
 
> Couldn't establish...
 
Ell
@Mysticial I see :)
 
6:13 PM
:( maybe it is just me
 
couldn't establish la la bla
 
Ell
man. why is this happening :( I increased latency
> Following peers are not responding: unknown username, unknown username
 
dl-ing map :)
 
me too
 
@Mysticial .... youre supposed to be good at this optimization/benchmarking thing
 
6:15 PM
I get "Following peers are not responding: unknown username"
 
my illusions are broken :(
 
Ell
It's uploading now
 
@Jefffrey me too
 
Their excuses for only implementing P2P are kinda crappy
 
And then I get an error: "Can't connect to peer <IP>"
 
6:16 PM
"Map state too big" just means the server would need to be more powerful, or maybe try optimising the map state idk
 
map downloaded, but not just waiting
oh in
 
@Borgleader Usually, I catch these things earlier because the timings are so drastically different when I mess up. But in this case, all the computation is offloaded to the ymp.dll. So the effect of optimizations is only limited to the test program which is much smaller - especially when compared to the memory allocation thing.
 
@ell I think it might be your connection that sucks...
 
Ell
@thecoshman maybe
you host vOv
 
ok
one sec
 
6:17 PM
And now it simply says that it can't estabilish connection
 
Ell
I'll upload the map
 
and now I'm downloading
wtf
 
what's the port?
 
the game's actually fun when it works
 
Okay, small number optimization chops off another 30%. Nice. Now we're within a factor of 2 of y-cruncher. All hell is gonna break loose when I turn on multi-threading.
 
Xeo
6:19 PM
@Mysticial How large is the small buffer?
 
where shall I get the map from? just the latest that I've pulled from @ell?
 
Ell
gimme a sec
 
@Xeo 4 x 64-bit words. That's enough to hold a 256-bit integer.
So all numbers smaller than 2^256 do not require an allocation.
 
hey cosh, are you hosting now?
 
@milleniumbug no
not sure what map to take
 
Ell
6:21 PM
@thecoshman can you try joining?
 
Xeo
@Mysticial Have you played around with different buffer sizes?
 
Ell
to me
 
@Ell yeah
 
@Xeo Not yet.
I need to finish the small-buffer allocation first. I only did it to the two constructors that mattered. But I need to finish the rest of them.
 
Ell
I'm p sure its coshman causing issues :P
 
6:22 PM
:P
 
and boom
I'm out of the server
 
hmmm, that seems to happen every time
 
yeah... took me a few attempts to get connected :\
 
Xeo
@Mysticial Why do you have so many?
 
Ell
well
what we can do is
 
6:23 PM
46.7.96.122 is my ip... maybe once I'm in you try connecting to me?
 
Ell
if @thecoshman saves the map once he is joined, he can then host it
 
i'm slowly loading...
 
@Xeo For different input types.
Not counting the rule-of-5 constructors.
 
Xeo
can't delegate them around?
 
@Mysticial Factor of 2 from y-cruncher is impressive. I mean considering you were insanely far off not an hour ago
 
user1804599
6:24 PM
Awesome!
 
Ell
okay
 
it's struggling to get map up and running
 
@Borgleader Well, it's using the same back-end as y-cruncher. (ymp.dll) Any additional overhead is in the test program itself.
 
that's vexing
 
user1804599
6:24 PM
Most Vexing Professional
 
user1804599
Most Valuable Parse
 
Ell
I think it crashes every time @thecoshman joins
I'll just email you the map
what's your email?
 
@gmail.com
 
Xeo
@Mysticial Think you could get another good optimisation with static linkage / compiling it all in the same project?
 
Granted, the test program's implementation of e isn't as well optimized as y-cruncher's. But fundamentally, it's not a factor of two.
 
6:25 PM
I wander... any you running linux client?
 
nope
 
Back home! \o/
 
Ell
@thecoshman what at gmail?
@thecoshman I am
 
@Xeo That's possible since the dll-boundary overhead is probably not cheap.
 
@Ell read the whole line
 
6:26 PM
@Ell that rules that out then at least
 
Ell
oh kk
 
@Borgleader ¬_¬ well yes thank you very much
 
ok what now
 
Ell
I'm emailing coshman the map
so he can try hosting
 
Xeo
@Mysticial Do you plan to keep the ymp source closed?
 
6:27 PM
@Xeo Yes. That's why it's a DLL.
 
Xeo
guessed so
why not static lib?
 
why not both.png
 
cosh is the furthest player, right?
 
can I just use the .zip, or do I need to expand it
 
like geographically
 
6:29 PM
@Xeo I have reasons for that. But I probably won't be able to explain it.
 
Ell
@thecoshman just put the .zip in your saves folder
 
what's good latency for it you think?
 
saves are .zip files
 
huh, they used to be just folders I think
ah sure, allow max latency :D
ok, hosting
 
Ell
@thecoshman 300ms
 
6:31 PM
oooh no
that latency is terrible
 
Ell
and put autosave on 15 minutes
 
abort abort
 
lol
 
ok, let's try again :P
 
> Couldn't establish...
 
6:32 PM
ok, try again
 
I don't even know the IP
 
¬_¬
9 mins ago, by thecoshman
46.7.96.122 is my ip... maybe once I'm in you try connecting to me?
 
Doesn't seem to work, do you have ports forwarded?
 
Xeo
@Mysticial wokay
 
yeah...
should do any way
31497 right?
 
6:33 PM
34197
 
¬_¬
 
Xeo
yay, food
 
one sec lads
 
Xeo
and time for UBW
 
oh wait, 31497 seems to work
 
6:34 PM
 
¬_¬ try again
 
explain it like this ^
 
@Borgleader lol
 
@milleniumbug ¬_¬
 
Hmm, now that ++depth is 2% of my function's time, I think this is fast enough. That's enough profiling and optimizing for now.
 
6:34 PM
ok, I'm in
 
vOv forward both then :P
 
downloading
eta 10m
 
10m?
that's terrible
 
surely not...
 
where are you from millennium?
 
6:36 PM
Poland
 
because italy-england-poland worked really great until now
I think that cosh distance is the problem
 
oh, so main host get's locked out for someone to upload
 
but cosh is also in UK?
 
46s
 
@Jefffrey hardly, I'm closer to uk than italy
 
Ell
6:36 PM
I gotta go guys
 
oh
 
@milleniumbug no, from the UK, in Ireland
@Ell lol
 
by
 
@thecoshman oh right
 
:\ 160 kB/s
 
user1804599
6:38 PM
@thecoshman Ireland is part of the UK AKA GB AKA England.
 
@rightfold vOv and you suck
 
user1804599
I do, but not you!
 
wish ostringstream had some sort of peek method so I can have my wrapper detect if there's already a trailing newline or not
I could fake it by using getp, seek, peek, seek, seek, but that seems like serious overkill
 
user1804599
#include "basic.hpp"

int main()
{
  _10: LET X = 1;
  _20: LET SUM = 0;
  _30: LET DEPTH = 1;
  _40: INPUT "Enter a positive number: ", X;
  _50: IF X > 0 THEN GOTO _130;
  _60: PRINT "By positive, I mean greater than zero. You entered ", X, " which isn't";
  _70: GOTO _40;
  _80: SUM = SUM + X;
  _90: X = X - 1;
 _100: IF X > 0 THEN GOSUB _80;
 _110: DEPTH = DEPTH * 2;
 _120: RETURN;
 _130: GOSUB _80;
 _140: PRINT "SUM=", SUM, " DEPTH=", DEPTH;
}
3
 
@rightfold WAT
 
user1804599
6:42 PM
This exists.
 
@rightfold get out
 
user1804599
I'm sorry for linking to a page written by a moron who does not understand how formatting works.
 
wtf... My program is by no means big (1000 lines or so), and while it includes a few things from boost, it shouldnt be a problem for my laptop to compile (6GB of ram, and an i7) and yet, when i launch a clean build with ninja, the bloody thing locks up completely for a few minutes =/
idk what to blame
 
your mother :)
 
6:45 PM
@Borgleader check resource manager. Whats the chokepoint? pagefaults? DiskIO? CPU? Network?
I suddenly have a vague recollection of seeing code that somehow was includeing headers over the internet, but I can't recall if that was real or a mere though experiment.
 
@TBohne I cant even move my mouse cursor
 
@Borgleader DiskIO then
@Borgleader ....very large static buffers of numbers in release builds?
 
I/O starvation is a great thing
 
@TBohne If thats the case its not by me, I suspect it's boost::spirit::lex's fault but I wouldn't know how to prove it.
 
the heck? Just realized my dictionary file doesn't contain the word "a"
 
6:55 PM
Welp. For larger tests, the small number optimization isn't as awesome as before.
100m digits of e (no radix conversion, 1 thread only):
- No small-num opt. : 16.9802
- Small-num opt. (4) : 15.4987
- Small-num opt. (16) : 15.3723
- y-cruncher v0.6.9 : 9.470
 
oh hhahaha i think i know why it locked up
i had pm-powersave set to true
theres a thing in there about avoiding writing to disk
 
Boooooooored
 
Play vidya games
 
I'm in the swamp for the weekend
 
Xeo
Solution: Don't go to the swamp.
 
user1804599
7:04 PM
I'm bored.
 
user1804599
Today is a terrible day.
 
Id rather not return to the swamp but my parents live here
 
@Puppy your parents are ogres?
 
user1804599
> Today I'm in the mood to melt some metal.
 
user1804599
lol
 
7:09 PM
Yes, they are indeed ogres
 
It's all ogre now
 
@rightfold i hope youre not jet fuel
 
Even then, he can't melt me.
 
user1804599
> I found this microwave in my neighbour's garbage can, so I took it home and made it into an AC stick welder.
 
7/11 was a part-time job.
 
user1804599
7:11 PM
lol
 
Like, he was going through the garbage anyway and just happened to find the microwave?
 
One man's trash is another man's treasure.
 
Hm, trying to reuse await for coroutines or not
 
user1804599
Use Boost.Coroutine.
 
C#
I'm not a caveman
 
user1804599
7:15 PM
No, it's a C++ library.
 
user1804599
You're a cavecat.
 
got a problem with with array of templates.
stackoverflow.com/questions/30956369/…

anyone have an idea?
 
user1804599
Here's an idea: don't dump your question here.
 
it just summary my question instead of writing again all of it here.
 
I have an idea: The downvote button
 
user1804599
7:18 PM
Don't write all of it here either.
 
@maor You still linked it here, and thats what he was referring to.
 
user1804599
Here's another idea: read the rules.
 
If we want to answer C++ questions, we do. No need to dump them in here. Thats what the search by tag is for.
 
user1804599
And another one: don't use new.
 
Xeo
@Mysticial btw, you following UBW still?
 
user1804599
7:19 PM
@Borgleader she
 
@Xeo Yeah.
 
Xeo
You'll love this one
That was just an all-out amazing episode.
 
Fuck you, don't spoil it.
 
Xeo
Not saying anything
 
Rocks fall everyone dies
 
Xeo
7:20 PM
You're watching UTW's version IIRC?
 
yes
 
Xeo
must suck, being 2 episodes behind :P
 
@rightfold Oh, right. In my defense, on the internet, everybody is a dude to me. :P
 
Actually wait. No
I'm watching commie's.
 
I'll try to be more careful in the future.
 
7:21 PM
You dirty mutant commie traitot
 
Xeo
Oh, so one ep behind
well, not quite "behind" I guess
 
Your mum' s behind in bed
 
@Xeo So how many lvls are you at now? My game has significantly slowed down :(
 
Xeo
4.45m
 
<10k T_T how do i hack into yours?
 
Xeo
7:24 PM
not :P
 
@Borgleader I did yet still I'll ask & search everywhere I can to learn more and maybe find the answer to my problem
 
so mean, share the wealth!
Jul 6 '14 at 18:58, by Borgleader
@AaronKyleKilleen Public service announcement
 
Don't do this
 
@CatPlusPlus fine, i fixed it
 
@Borgleader see I Learnt something new
 
7:28 PM
@maor that sentence makes no sense to me
 
:24005392 why not? didn't know about this button before , now I do.
if you mean to the grammar then both learned/learnt are acceptable.
 
@maor if you mouse over my message you'll see it highlights the one i was replying to. You'll also realize I wasn't replying to what you think I was.
Thats the whole point of the arrows, so you can see which message I'm replying to.
 
user1804599
Just plonk the guy.
 
user1804599
All problems solved.
 
Ell
I need a smarter way to specify vertex arrays
 
7:43 PM
eh?
 
Ell
bvao.setup(position_attribute.location(), 3, gl::GL_FLOAT, gl::GL_FALSE, 6 * sizeof(float), nullptr);
bvao.setup(  normal_attribute.location(), 3, gl::GL_FLOAT, gl::GL_FALSE, 6 * sizeof(float), reinterpret_cast<void*>(3 * sizeof(float)));
 
@Ell yes
 
Ell
instead of doing this I want to be able to do bvao.setup({{position_attribute, glm::vec3}, {normal_attribute, glm::vec3}}); or something
 
@Ell so do that
 
Ell
I will at some point vOv
 
7:46 PM
There's always a right time to things
 
@Ell give each of those parameters a different type, then make setup(initializer_list<setup_params>)
 
If you let that go by, chances that you'll come around to it drop off dramatically
 
Quite often, that time is yesterday.
 
@rightfold cavecat emperor
@LucDanton Sad reality
 
user1804599
dovecot
 
7:48 PM
ew. I'm so happy I don't run that myself anymore
 
user1804599
it hogs all ram
 
user1804599
it's like chrome
 
@sehe Hi bear :)
 
user1804599
also chocolate y u low melting point
 
@rightfold really. I ran it on a box with 512 MiB RAM for years :)
@Borgleader hi
@rightfold cuz u 2 hot
 
user1804599
7:51 PM
@sehe I set up a cronjob to restart it periodically.
 
@BartekBanachewicz Trains are all stuck :3
 
o.O I did restart it nightly (due to paranoia and nightly backup)
 
user1804599
Me about once every hour.
 
How do you schedule a cronjob "about" every hour
@Borgleader ninja, of course; it's so bloody fast that it can even shoot the short workload at the CPU fast enough too make it break into a sweat
 
@rightfold lol
 
7:58 PM
@ anyone who has a UPS, according to this my power load is about 380W (lets say 400W) but my PC has this 750W PSU (yes i went overboard, i had reasons). I would like to put both this PC and an eventual NAS on a UPS. What should I go for? (APC is the brand to get right?)
 
Ell
I've forgotten function application syntax in haskell :S
 
@Borgleader I use APC
 

« first day (1708 days earlier)      last day (3258 days later) »