« first day (3045 days earlier)      last day (1886 days later) » 

1:04 AM
@thecoshman You never even tried to plink me
Also, not honouring a request not made hardly makes us useless.
That said, I can give up my seat since I'm rarely here anymore.
 
is anyone commonly here anymore?
 
Yeah, about 5 people
 
how likely is it that they're not all Cicada or Telkitty sock puppets
 
Extremely. Although mathematicians would argue that technically @TelKitty is a sock of TelKitty
 
excellent
it's socks all the way down
 
1:10 AM
Sounds like bad fashion
 
but think of how toasty your toes will be
 
You win :)
I should probably head to bed. But I'm binging C++onsea vids
 
@jaggedSpire You forget to mention @Mikhail. Don't you just love that guy? No matter how low your life seems to be, you come here and hear him whining, you just know that somewhere in this world, there is person whose life is lower than yours. BTW, he pretends that he has blacklisted me.
@sehe In quantum physics, you can not say anything with certainty. Maybe someday someone would hijack this account, and I am not me anymore ... it's possible.
 
1:26 AM
Random thought: difference between Linux and Windows is the granularity that floating point registers are saved at during context switches. Also having AVX512 compared to AVX256 :-)
 
@TelKitty that's not a very nice thing to say
 
@jaggedSpire That's a way to conjure Mik, see, he's here.
Also instead of training a Machine Learning model before using it, I wonder whether there is a way to train it while using the model ... like incremental training.
Plans for first Chinese solar power station in space revealed ... then transfer the power on to earth, is that not going to increase global warming??
 
1:47 AM
Net temperature change = (heat energy in - heat energy out)/SUM(mass x heat capacity of the medium) ... of course you have to modify the energy required for state transition like ice melting in the Arctic.
Thus the more heat energy in (like burning coal, getting solar energy from outer space - some of which would otherwise be reflected) without getting the same amount of energy out, you would get net temperature increase.
But instead people complaining about how it could be used as weapons. The chance of it being used as weapon is small, the chance of global warming resulted because of this is definite.
 
@Mikhail What's the difference in granularity?
 
2:07 AM
KeSaveExtendedProcessorState you can choose which SIMD registers you will use (aka SSE,AVX, legacy), I think in linux kernel_fpu_begin uses a fault mechanism, although the new kernel is phasing this stuff out (much to the chagrin of ZFS)
 
user3956566
2:37 AM
 
user3956566
@TelKitty newest arrival came yesterday. You will meet her this week
 
3:07 AM
@Mikhail ooohh
Okay WTF. I threw together a very simple thread pool based on a centralized task queue. It's out-performing my decentralized pool on my 20-vcore chip.
 
Still not clear what you mean by thread pool peformance
 
Performance of the application that uses the thread pool.
 
yeah, so you mean walltimes for the whole program
 
I'm getting higher CPU utilization with a centralized task queue vs. my decentralized one.
And lower wall times.
 
This is the trade off we hope to make
 
3:12 AM
Booting up my 14-core (28-vcore) box to see if it happens there as well.
 
By central task queue you mean have a queue that launches a fixed number of PEs and they just process the work elements?
 
I have a feeling that the "exponential" fanout isn't really better than sequential dispatch unless we're talking thousands of tasks.
@Mikhail Kinda. I didn't limit the # of threads on it. But everything that's dispatched to it is thrown into a queue.
 
What are two strategies, having a single queue and having a per PE queue?
 
All the threads will sleep. When they wake up, they check the queue for stuff and run it if it isn't empty. Otherwise it goes back to sleep.
 
So, I'm extremely exhausted but I agreed to review this paper. I've reviewed a lot for this journal. The journal is legitimate. Do you think they'd forgive me if I call the author's results "fake and gay"?
 
3:15 AM
When dispatching a task, it puts it in the queue. Then it checks to see if any threads are idle. If there are, it cv.notify_one(). Otherwise, it spawns a new thread. If the thread limit is reached, it does nothing.
Right now, for the case where the threads are uncapped, this is beating my decentralized method.
The decentralized pool has an array of thread handles.
Each thread is either idle of busy. If its work pointer is null, it is idle.
When dispatching work, you locklessly pick a random thread handle and check its work pointer.
 
I don't understand why you can't just push work to queue in the first case, rather than checking if thread are idle
 
If it's not null, the thread is busy and go to the next thread. If it is, you cmpxchg the pointer and wake up the thread.
If all the threads are busy, or you fail in finding an idle threads after enough attempts, spawn a new thread.
@Mikhail You mean a per-thread queue?
 
No, I'm thinking of the absolute simplest producer consumer queue. The producer can either push work, or consume. If the queue is large it consume, thus rate limiting. Every push work is followed by a notify_one().
I think the check for idleness is not necessary
 
@Mikhail My task-queue pool that I just wrote does exactly this.
 
you said there is some idleness check, which seems extra, the producer doesn't need to know the state of the consumers, all it needs to know is if the queue is filling up
 
3:21 AM
The decentralized pool doesn't do that because you would bottleneck on the queue itself with a heavy enough workload.
@Mikhail The idleness check is just to determine whether you notify_one() or spawn a new thread.
 
Well you can just check the size of the queue :-)
If its filling up make more producers :-)
:-) :-) :-)
 
Oh I know why I did that. I had an earlier design where the queue potentially had multiple input sources. So it had the potential to get into a temporary state where the queue wasn't empty and one of the threads was idle.
But I fixed that bug, so this should be needed anymore.
 
actually it might be needed because there is thread warm up time, so you might be producing for a few dozen ms before the first consumer is launched :-)
Feels like you'd rather quickly just launch the max threadpool number of threads, especially when you have more work elements than threads (which is often the case)
 
There was another reason too. If the queue is empty, you don't know if all the threads are busy or not. If you wait to leave something on the queue, you're missing out on concurrency.
@Mikhail The threads are being created lazily in this case.
This task queue implementation is actually intended for a non-computational task. So I didn't really try to make it efficient. But the best way to test it is to actually implement my program's parallel framework interface and run it through a full computation.
 
In all cases I can imagine, except when you have less work items than max possible threads, you will rapidly launch the max number of threads.
 
3:29 AM
Yeah, I still need the idle check.
The pool starts with zero threads.
Dispatch task. It gets enqueued. Then notify_one(). But there are no threads. So that task sits until the next task is dispatched.
 
The whole thing is a farce, it will almost certainly result in the max number of thread being launched. Just launch max number of threads and call it a day.
 
@Mikhail Max number of threads is unknown. I can't just use the # of cores in the whole system since the scope of this pool may not have the full allocation.
 
In the discussed case, max threads is implicitly chosen when the producer decides to become a consumer
 
For the usage that I'm targeting, it's probably not even going to get near full subscription of the system anyway. And I'm not a fan of spawning a bunch of threads just to tear it down later without using half of them.
Oooh, the difference is smaller on my 14-core. The task-queue wins, but by a tiny bit. I'm gonna try upping the recursive fan-out threshold in my decentralized pool to see if that does anything.
The task-queue is able to spawn any # of threads in a single generation. But the decentralized pool needs several generations before it reaches full size.
 
It still seems like the max size is known ahead of time, for both designs.
 
3:42 AM
I think we're thinking of different things. You're thinking of thread creation. The generational fan-out that I'm talking about is the dispatching of a large for-each fork-join with many iterations.
In the steady-state case, all the threads are already created.
In the task-queue, it simply iterates the loop and dumps one unit each into the queue.
In the decentralized case, it recursively splits the iterations into small parts and re-dispatches each part. Thus it takes several rounds before everything is dispatched.
lol, it worked. Now the decentralized pool is faster than the task-queue again.
 
 
2 hours later…
5:41 AM
@YvetteColomb Oo, those eye lashes <3
Looks like your horses need to work harder on those grasses :p
@wilx Why such a hurry? Life is fun, many toys, games and playm8z. You need to treat life with the right attitude and not too seriously.
 
 
3 hours later…
8:46 AM
Time to get out of my whip and chasing after people for the obligations that they promise to make. Talking about being the driving force ...
 
user3956566
9:40 AM
@TelKitty she's a bit skinny, but I will put weight on her in no time
 
10:23 AM
@YvetteColomb Of course, of course.
 
10:33 AM
Well, gentlemen, unit tests pass and submit paper to nature family journal. Random chick tells me something related to penis size about "what makes a man". heteronomative friend has gay sex with rando stranger who is hitting on me for years. Chick I like ghosts me. Go home and bake pizza. If its not deliver its not DiGiorno Pizza (TM). Can't leave Urbana Champaign because PI has conflict of interest that is managed. Says 26 papers is not enough. Head of dept. says "I don't know what to do"
I also rejected 2 papers in academic journals
 
Would a gentleman ever use a brute force algorithm? Just think about it ...
 
I also got a few students into grad school, to the benefit of my immortal soul the Chinese productive strategy is called get into grad school and inherit >200K or more from parents. Also get married in 3 months.
Then don't do any work
Ugg. I have to mentor and teach kids who are in some ways heading to oblivion. Fortunately, I have had no students who are US work authoriz-ed who aren't complete shit.
Fug. I should have taken the job from Amazon (maybe), nvidia, citadel or GS
 
10:58 AM
"“I love titration, and that's not a problem!"
 
11:58 AM
@sehe I did request, but it fell on death ears
 
12:18 PM
does anyone know stuff about application windows?
im trying to move the windows on the desktop
it works for applications like notepad++, my ide and many more
but it fails to work on chrome
but im clueless what they are even talking about
so, how do I continue from here?
(on top of that, SetWindowPos returns true)
 
 
4 hours later…
 
4 hours later…
 
1 hour later…
9:40 PM
ewww, did you take that screenshot yourself?
mac :(
 
fishing for an anime @StackedCrooked @Mysticial - any genre, will watch the first thing you suggest (no slice of life please :))
 
 
2 hours later…
11:36 PM
So, I'm thinking about this problem. How to invert a moving average. That is, you measure the moving average, how close can you come to recovering the underlying signal?
 
11:56 PM
@ScarletAmaranth Top one on the season list is pretty good: myanimelist.net/anime/season
Only if you like the genre though.
 

« first day (3045 days earlier)      last day (1886 days later) »