« first day (3310 days earlier)      last day (1653 days later) » 

1:50 AM
So for our next A.I. in Robotics group meeting, everyone is welcome. Except you are expected to know A.I., robots, C++ and good with maths.
 
2:46 AM
Also I need to learn more about premium house market - with other properties that I manage, when there is little interest, you reduce the rent, and get them rented out quickly. It works every single time. But with premium property like the one I am trying to rent out right now, reduce the rent has no effect, in fact I have seen more expensive ones rented out quicker.
 
3:03 AM
@TelKitty Well, I guess three out of four isn't too shabby.
 
@CaptainGiraffe So what's the last quarter?
Robots?
 
4:07 AM
There are a few enquiries on the property, and they are all like 'can you reduce the rent massively'. The answer is no. The property is already one of the lowest of the same category in the same suburb. But it is still much higher than the average house rent in Sydney. That's the thing - if you want to move in a prestige suburb, you need high income. It much better to have the place vacant and get the right tenant than to get a few quick bucks and end up with whole bunch of issues later on.
Same with prestige schools would not lower standard to make more money.
I believe in equality and all inclusiveness. Unfortunately prestige, eliteness and all inclusivessness just don't belong together.
 
4:41 AM
My external drive is fast and bigger than the hard drive on my macbook. I wonder how much slower my system would be if I boot off external hard drive instead ...
Also I need to improve my leadership skills. I founded this group, now it has 500+ people and 68 signed up for the last group meeting, 50 signed up for the next one (and increasing) and I kept on siting at the back for the past few meetups. Some of my group members said that I should make more group announcements, and I think they are right.
I need to engage more, having 5 billion other things to do is not an excuse. I need to stop wasting time on useless things.
 
5:17 AM
@TelKitty I once booted MacOS from usb because the harddrive failed
it was as slow as with the internal drive
 
5:44 AM
"You did not complete program of study in Quebec entirely in French, including the dissertation or thesis," the letter read.
One of the five chapters of her thesis on cellular and molecular biology was written in English because it was a scholarly article published in a scientific journal.
English language master race
 
6:05 AM
ah I saw that on reddit today
It's not what's written in French
 
I also have more citations than her, this makes me a cooler
 
well this part is technically right but there's a second reason
the other reason not mentioned in the article is that she didn't prove that she studied for 3 years in secondary or post secondary School
So unless the official who took the submission went on a powertrip, it sounds like she didn't complete her submission completely because permanent resident have to show where they studied for the last 10 years
I mean the first reason that you mention is a bit weird because the part of thesis was just 1 paragraph and honestly, I really don't get why she mixed 2 language in her thesis. If she intended to publish the article in a journal, she should have ordered a translation and wrote everything in one language
Not that you won't find people on her level that can't speak english but why mix languages anyway
 
All science is done in English, she probably just wanted to copy and paste
 
May be, but translating a paragraph is no big deal and if you want english people to read it, you pretty much need everything no?
 
Also French people read technical articles in English. There aren't any French language scientific journals worth ready.
 
6:14 AM
That's why we have laws to protect the language to force people to write things in the language they speak. Otherwise people would just skip the language and study directly in english
 
Which they fucking should
 
But anyway, the second reason for the refusal makes me think she didn't thoroughly fill the form with all the information necessary. Because she's French and probably thought I obviously can speak French and don't have to prove that more than that.... Also her field of study got removed from the immigration program
To be honest, You could have more luck immigrating to Quebec than her
being a french speaker isn't a requirement
It's implied that after living a few years and attending french course you're going to learn french while you live here. And it's free of charge.
 
 
2 hours later…
7:50 AM
Okay I got this weird race condition, can the result ofGetProcessWorkingSetSize change while the program is paused in the debugger (for a long time, like 10 minutes)?
Also, if you reduce the working set size under the currently allocate size, what happens?
So.... If I keep this program that uses this one high speed camera open, in the debugger for more than about ~10 minutes I get a bluescreen
FML
 
8:26 AM
Congratulation
 
nwp
8:58 AM
@Mikhail The working set of a paused program should be exactly 0 bytes by definition. If that results in paging depends on what the other programs are doing. I would expect that something is using RAM and eventually gets all the paused program's memory over time. Possibly disk cache.
 
So, I'm running into this (rare) race condition on my page locked allocator, GetProcessWorkingSetSize to verify the program needs to expand, SetPorcessWorkingSetSize to expand, and VirtualLock to lock. Seems like the state of the working set size could change between any of these calls...
 
nwp
The working set size changes as the program runs, yes. It's a dynamic property depending on the memory access patterns of the program and gets reevaluated constantly as it runs. You shouldn't even need to screw with that.
 
You need to screw with it if you want to allocate a bunch of page locked memory
Basically this device SDK requires you feed it page locked memory, so that it can directly copy into it...
 
nwp
It seems weird to me that locked memory is at all related to the working set size. Those should have nothing in common.
 
I assume the error the vendor is trying to avoid, is the scenario where the device is copying into the page and the OS decides to move it to disk, or something similar.
@nwp Applications that need to lock larger numbers of pages must first call the SetProcessWorkingSetSize function to increase their minimum and maximum working set sizes. The maximum number of pages that a process can lock is equal to the number of pages in its minimum working set minus a small overhead.
 
nwp
9:24 AM
From what I read there should be not much danger from a race condition here. If the working set has been shrunk after increasing it then VirtualLock fails and you just try again. There is a chance for an infinite loop when you keep increasing the size and someone else keeps decreasing the size, but not for a bluescreen. A bluescreen sounds like VirtualLock failed and you are writing into memory that you didn't lock.
 
Yep. I ended up doing both of those things: added a re-try and probably crashed the driver (although way to hard to reproduce). Anyways, that kind of live lock makes me feel there is some better way to do this stuff. Like just fucking allocate the memory locked. Just god damn make it an argument to VirtualAlloc
I mean, there is a numa aware allocator, but I can't even get my virtual memory locked away :-(
 
nwp
9:45 AM
I have to benchmark and I have no clue how to do that.
 
For what? timestamp is a good method, kcachegrind is my favorite tool
Benchmarking is easy, doing shit about it is much, much harder :-)
 
nwp
I have Qt Creator on Windows with MinGW. Pretty sure kcachegrind is Linux only.
Also since there are no optimizations at all it should be a simple matter of not copying vectors unnecessarily.
 
So, does MinGW have a valgrind with callgrind? I've used the kcachegrind viewer on Windows without much issue.
That being said, profiling Qt code is wack because you're going to see a bunch of stuff moving through event loops
Probably just use std::chrono to timestamp to find whatever is slowing ya down :-)
 
nwp
Yeah, I'm trying to avoid that.
And best of all the old shitty software doesn't have that issue.
Yay bloatware.
 
10:02 AM
Maybe you fell for the old asynchronous call, passed by reference -> but actually the asynchronous mechanism deep copies it because it hates you.
 
nwp
Yeah, it'll be something dumb like that.
It would already help to know which thread is CPU limited.
I could go the completely dumb route and just click the pause button and see where it stops most often. That's basically profiling, right?
 
That's sampling profiling
it's not the only way to do it
 
nwp
@Mikhail Nothing with "grind" in the name in the MinGW installation, so most likely not.
 
I mean you can use valgrind, and callgrind is an option
 
nwp
The good news is that it reproducibly gets paused at the same spot every time. The bad news it's in
I might be creating too many threads.
 
10:15 AM
stray std::async :-)
 
nwp
11:06 AM
Oh hey, I found Qt Creator's performance analysis button.
 
nwp
11:47 AM
It turns out that the thread that receives data and sends it to the GUI thread does so very efficiently, drowning the GUI thread in messages. Simply printing something after sending a message is enough to fix it. Increase performance by being slower. Yay IRL TelKitty logic.
 
12:07 PM
get faster by doing less, sounds legit
 
Well that's basically the theory behind priority inversion isn't it
 
nwp
12:27 PM
I don't see the connection to priority inversion. That has to do with a low priority task holding a lock that a high priority task wants. Message flooding is different.
 
12:49 PM
I've removed my downvote, but in my defense your original answer only had the first loop which was present by op (!= and > are functionally equivalent afaict in this case) and was considered ugly, so the original version of this answer was not an answer because OP was looking for something else. — Borgleader 48 secs ago
inb4 revenge downvote by Vlad
 
1:07 PM
@LoïcFaure-Lacroix in science translation is a MASSIVE deal, particularly french to english. There is a major loss of precision of language. Rather than translating she should have done what she did. Print the one part that required it in english the rest in french.
 
 
6 hours later…
6:41 PM
@Borgleader He's still unemployed.
Aug 19 '15 at 9:11, by Mai Longdong
wait, vlad has 80k rep?!
Aug 19 '15 at 9:11, by Mai Longdong
> Unemployed.
Aug 19 '15 at 9:16, by Mark Garcia
user image
Sep 8 '15 at 15:21, by Andy Prowl
he's still Unemployed
Apr 10 '16 at 15:32, by Xeo
@Morwenn Exhibit A: Why Vlad is still unemployed.
lol
 
6:58 PM
@Mysticial Notice how he claims "disregard downvotes" and "you didnt read the question" then i point out that i pasted from the question and suddenly silence
Also wow that graph
 
@Borgleader If you look at the transcript. He wasn't employed for 3 months. He was actually suspended.
 
7:28 PM
@Mysticial Next time I disappear for a while, I'm gonna claim I got a job though.
 
@Mysticial Oh, that makes so much sense
 
7:45 PM
eh I think I found a bug in VS
nested lambdas with captures make it go bonkers
error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'main::<lambda_c8558e7d403b563ac6892ccca2170e26>::()::<lambda_d763dcac238af91ddd4c1e660199e2a0>'
it parses that code as an init list for whatever reason
 
@BartekBanachewicz probably not fully implemented yet, did you test with /permissive-?
 
why wouldn't they be implemented yet
maybe it's just the C++17 spec that's broken
but I need the c++17 spec
 
@BartekBanachewicz the AST rewrite is still in progress last I checked?
 
@Mgetz sigh
 
they are still only partial AST
 
 
1 hour later…
9:18 PM
@BartekBanachewicz Silly comment, but maybe you'd benefit from an update? (You can quickly check with godbolt).
@nwp the fix is probably not to spam data (with a timer:-) or perform the rendering step on a limited sampling, possibly only when qt chooses (by overloading paint)...
 
 
2 hours later…
11:39 PM
 

« first day (3310 days earlier)      last day (1653 days later) »