« first day (2378 days earlier)      last day (2588 days later) » 

9:00 PM
Yeah, I'm also doing "large allocations", something like 512GB/128 threads
 
@Mikhail Correct. I have 16 threads - each allocate ~256MB of memory. Then I write garbage to all of them in parallel.
 
I write garbage to your face in parallel
 
That freezes up Windows. It's still responsive, but it takes an extremely long amount of time for it to finish (much longer than 16x sequential).
 
@Puppy 10 threads
@Mysticial Interesting, I noticed the same kind of loss of responsiveness but it still won out on the sequential case on Server 2012, on 32x2 Intel
 
I was testing with Server 2016 on 4 x 4-core Opteron.
 
9:02 PM
@Xeo but that sounds nonsensical :/! I mean, my type is StateT s (ExceptT Err m) a. Would you say that's backwards?
 
So because of that, I had to add some logic to throttle page-commiting to one thread per NUMA node.
 
I have this now, but still something is missing
(e, s') <- runEitherT $ runStateT f s
r <- runEitherT e
return (r, s')
 
@Mysticial So, for each socket spin up an allocating thread?
 
The optimal # is more than 1/node, but I don't particularly care as long as I'm avoiding the pathological case.
 
Xeo
@BartekBanachewicz Aren't transformer stacks inverted?
 
9:03 PM
@Mikhail Correct.
For Windows. On Linux, I never saw this pathological slowdown.
But since I'm using the same code anyway, I left the 1/node logic the same between Windows and Linux.
 
Xeo
As in, that resolves to m (Except Err (State s a)) or something?
 
I also never saw it on Linux, but I'm getting those failing mallocs.
 
I've never gotten the failing mallocs.
 
@Xeo apparently, yeah
 
Or rather, I don't use malloc. I use mmap and VirtualAlloc.
 
9:05 PM
I have to admit I mostly use TMCs and never hit this problem
 
Xeo
I'm a bit fuzzy on the transformer stack details, but I remember that particular quirk because of how they're implemented
 
I guess I can see now why people say that transformers are fucked up
when you try to be explicit about them it's just plainly painful
let's try flipping this around and see what happends
yesterday, by Bartek Banachewicz
ok I don't understand Haskell or Monads
 
hah, textures split into like 20GB of files
but the mesh itself is basically all my friend needs
 
@BoundaryImposition Does that mean sex?
 
@Mysticial Thanks, I guess I'm going to try and pool the memory allocation, somehow. The real fucked up thing is that I'm I mistakenly wrote one of these codes in Python :-/
 
9:09 PM
@Mikhail Right now, my pi program still only does one malloc and then uses multiple threads to page-commit it. The # of threads it uses is 1/4 of the total # of threads. It's something I came to from testing my 8-core Haswell. But I think it might have the potential to have issues on the larger NUMA machines. My 1 thread/NUMA-node code is part of a different experimental project.
 
yep I think it worked
somehow
sometimes I think that this language is way smarter than I am
 
everything is way smarter than you are
7
 
9:26 PM
@Puppy :*
 
@Mysticial I have upgraded my setup a tiny bit (VESA mounts):
 
Why are Blu Rays 1920x1080 but the actual picture is always smaller? Why don't they just store the pixels of the actual picture?
 
aspect ratio is wrong
also the original picture is always in a vastly higher resolution than 1080p
 
Xeo
cinemas have something silly like 21:10 or so IIRC?
 
pretty sure that even they have their pictures cropped or so to fit
 
9:36 PM
it built and all eval tests failed
yay
 
god damn
 
@Puppy No, damn you!
 
don't you love it when you have a problem, and then the perfect solution just falls out of your mind ready made
 
I do actually
 
@Borgleader Ooooh nice! You need a 4th monitor on top.
 
9:40 PM
I need a new job
I can save for a house, or buy some seriously nice consumer electronics, but not both
 
@Puppy lol
1st world problems
 
indeed
 
@wilx They do store the pixels (compressed with MPEG). They avoid uncompressed video in general because the storage would be excessive, and the bandwidth requirements pretty expensive to deal with. To be specific, uncompressed video at 1920x1080 resolution and 50 fps would use ~46 gigabytes for a 2 hour movie. Playback would require a bandwidth of around 395 megabytes per second.
 
@JerryCoffin I think he's referring to how the output resolution is not 1080p, not compression
in fact my solution to my problem is even better because I can implement it on top of my public API instead of implementing support for it in the core
life, and Puppy, is good
 
@Puppy Well, 1080p (as such) is kind of non-standard. The official HD specs include 720p and 1080i, but not 1080p (but a fair number of blue ray discs include it anyway).
 
9:44 PM
don't really remember the difference between p and i but I don't think it matters in this case
it's the 1920x1080 that's missing
 
doesnt 1080i have half the "lines" (and which half is missing changes every frame?)
 
Yeah, i is for interlaced and p is for progressive, i.e., complete image in every frame.
 
@Puppy p is progressive and i is interlaced, so basically i means it has frames at half the rate of p (i.e., two successive subframes make up one full resolution frame).
But in the end, quite a few blue rays do have 1080p data, so I think his basic premise is flawed.
 
> ASURA - Le Souffle Du Vent (Second Mix)
What does Le Souffle Du Vent mean?
 
yeaaahhh and I also implemented some horrible stuff which I can now delete
I'm so fucking good
 
9:48 PM
pats @Puppy on head
 
@wilx Scratch him between the ears--he really likes that.
 
@wilx the blowing of the wind
 
@R.MartinhoFernandes Thanks.
So, it seems ISIS has claimed the Paris attack.
 
-1
Q: Catching the writing access exception doesn't work

Hara Here I have tried to catch the write access violation, but it doesn't work. I have tried some other ways but none worked for me. Can you please explain how it should work? int main(){ int *pint = new int(); delete pint; try { *pint = 100; } catch (...) { ...

Q: How do I know when I shoot myself in the head so I can recover from it?
A: You don't. Once you shoot yourself in the head, you're dead.
 
10:06 PM
I mean I applaud the effort at defensive programming, but sometimes safety is more prudent.
 
Yeah. But the only way to survive getting shot in the head is to not get shot in the head.
I'll post that as a comment.
 
@LucDanton hmm?
@R.MartinhoFernandes the whisper, more like? (yes, it can be used in the normal sense, as softly blowing, I believe) /cc @wilx
 
@Mysticial Exactly, an ounce of prevention. I mentioned RAII to point them in the right direction
 
@sehe if you can polar bear with me I have networking issues
 
The only way to survive shooting yourself in the head, is to not get shot in the head in the first place. Because once the bullet penetrates the cranium and exits on the opposite side, it will have irreversibly disrupted enough neural matter that it's not possible to restore it to a usable state. Therefore, you must not get shot in the head. — Mysticial 18 secs ago
 
10:10 PM
@Mysticial Actually, you can survive being shot in the head.
 
@LucDanton I need to be in bed really soon. You can of course just shoot and I'll find it later?
 
@Puppy shhhh
 
@sehe yeah there is absolutely no hurry
 
@Puppy Prove it :)
On second thought, let's not. There's enough empirical evidence.
 
@Mysticial I, too, would like a new pint
 
10:17 PM
hmm pint good idea
 
@Puppy Come to think of it, I can make a whole solder analogy that explains why C++ doesn't protect against these sorts of things.
If you made the soldier wear a helmet that was impenetrable to bullets, the soldier probably won't be moving much.
So it's a trade-off where you give up some amount of safety for better speed and mobility.
 
The only alternative is to plan the battle so that your soldiers never get hit, a la Rust's approach
 
Ell
or you could spend years digging him an inpenetrable trench so he could run very fast and be guaranteed not to be hit :D
 
@BoundaryImposition FTFY. Pick one: memory safety or fast execution
 
10:30 PM
Or nuke the enemy
 
"fast execution" indeed ^_^
 
I usually try to keep images smaller or put them in a link
 
i.e. dead in seconds
@Aaron3468 I usually try to make images visible, as that is their purpose in life
 
Likewise, you're not gonna be doing anything technical (low-level) in a suit of metal armor. At most hold a shield and swing a sword. With lighter armor, you can play the fucking piano.
 
@BoundaryImposition Fair enough, as long as it isn't a habit. There was a user that got kicked because every other message he sent was a screen-sized meme
 
10:33 PM
@Aaron3468 he sounds like a doofus
 
@sehe could work depending on context; I picked a translation that'd be the least ambiguous IMO
 
thanks for the tip though. I'm new here so any more tips appreciated :)
 
@R.MartinhoFernandes agreed; without context I tend to go for the most precise match (I know of). That's not at all guaranteed to be the best match, obviously
 
My litmus test is "if I translated this back again, would it be the same?"
 
> C'est comme quand mes parents m'ont demandé ou ils devaient branche le câble Ethernet à leur frigo
 
10:36 PM
It kind of weirds me out how there are some youtube gurus like this guy with really fantastic videos about their area of expertise, but then you click to their website and find out their portfolio is a couple game jams and a few android apps :(
 
Idiots. It's a wireless fridge.
 
@R.MartinhoFernandes well spotted
> Du coup C' était only wifi, mais le vendeur leur avait mis un câble Ethernet cadeau
 
@Aaron3468 not everyone has lots of open source dev time
 
lol!
 
@LucDanton hahaha
 
10:37 PM
my open source portfolio is basically empty
yet I know some things
 
Can you ask him where thats from
 
My open-sourced portfolio is the Flops app that crashed Ryzen. Can anyone beat that? :P:P:P:P
 
@Borgleader it's from out of space
 
@LucDanton where's that from?
 
@R.MartinhoFernandes buddy of mine
 
10:39 PM
@R.MartinhoFernandes Thanks :)
 
Haha, my portfolio is a ton of half-finished big projects. I finished a lot of glue code and small projects, generally http clients, a few 2d rendering systems, a few pathfinders. More than a few mini-emulators and hex viewers.
 
closest I get to a "portfolio" is lolphin.com
loooong ago abandoned
I just have too much to do at work to bother with programming after the day has ended
 
Ell
wait
I thought you were cicada lol
 
@Ell Everybody is a cicada alt! But to be fair, so did I
 
Ell
I'm still convinced it is actually
 
10:45 PM
@BoundaryImposition Hey, the screenshots look pretty cool. Well done! The videos don't seem to work though
 
@Aaron3468 F5 on the screenshots btw; just fixed a jquery issue
 
@BoundaryImposition are you really back?
 
Wait, oops. Chrome just doesn't like the scripts
 
@jaggedSpire No, this is just a figment of your imagination
@Aaron3468 I switched everything to HTTPS recently and didn't test anything
 
@jaggedSpire happy bouncing
 
10:46 PM
@BoundaryImposition oh, okay then.
 
there, F5
no HTML5 sorry
 
@Borgleader :D
 
@jaggedSpire :)
@Aaron3468 thanks; was quite happy with how it was going tbh
10 years ago :eyeroll:
played Everspace the other day; they've basically done what I wanted to do. so fuck it.
 
Very impressive. If you want to make the game, perhaps switch to unreal engine 4, but the engine looks gorgeous for such a modest project.
 
@Aaron3468 I was more interested in making the engine tbh. Ain't that always how it is?
that was probably my first C++ work too
dread to look at the code now
 
ScY
10:51 PM
I think I have iced the compiler once again. I have a function that takes one argument and I call it with one argument but it gives me error: "Function blablabla doesn't take 0 arguments" :)))
 
Ell
that ain't an ice
let's have a look at it
 
ScY
It's best if I spare your eyes
 
I'm on holiday
kill my eyes
@SpongyFruitcake what's the overbooking policy please?
 
@SpongyFruitcake huh (don’t listen to the audio to avoid story spoilers)
 
ScY
I have a better question:
Why can I compile and run a project if it shows me 38 errors lol?
MSVC15
 
11:04 PM
When it asked you "do you want to run the old version" you clicked yes?
 
^
also I'm hearing about a lot of Intellisense bugs lately
 
ScY
@Borgleader No I'm constantly rebuilding the project and I try different outputs.
It seems to work, but yeah errors for no reason
and nonsense errors too
 
@Borgleader best feature ever
 
ScY
Okay... I literally just restarted twice and all "errors" are gone now, wow.
 
the second place is playing a sad trombone sound on build failure
 
11:17 PM
@BoundaryImposition I want a rogue like (Escape Velocity?) simulator where you play as a dolphin the ocean, or maybe a street cat.
 
Man. You have to be German to think of this perfect pun opportunity:
Böse! https://twitter.com/xor/status/854833469880283136
 
@sehe I try to think of some whenever I see the Stihl brand but no good one so far
 
@Mikhail oh man that would be cool
rogue like ecco
lol at release dates for Ecco The Dolphin on PC
> JP: December 13, 1996
> NA: June 1, 2010
 

« first day (2378 days earlier)      last day (2588 days later) »