« first day (2899 days earlier)      last day (2057 days later) » 

12:19 AM
@Mysticial Just saw the latest ep. I must say the Japanese are really good at anthropomorphizing AI (and making me fall for it).
Reminded me of Eve no Jikan
 
1:04 AM
Anybody working on anything cool?
 
1:20 AM
So the robotic parts are supposedly driven by Arduino. Wonder whether I could exchange the Arduino with a servo driver while waiting for Arduino to arrive.
Also extended family lunch, so need to go soon.
 
@StackedCrooked Yeah. Didn't think they'd manage to kill Kurisu in so many different ways.
I guess it's still no where near as bad as Mayuri.
@Mikhail No, but I've got my radar on that claimed Riemann Hypothesis proof.
 
Is somebody making you calculate large primes or something?
 
Hopefully we'll know in a few weeks whether it's another miss or if it's got any substance at all.
@Mikhail No, but it's something that I've personally studied on and off since high school.
@Mikhail The cases, that I'm aware of, the Riemann Hypothesis isn't immediately helpful since it only affects the asymptotics which are way too large for practical use. The most immediate one off the top of my head is that Rabin-Miller test becomes provably correct and polynomial.
 
2:25 AM
@Mikhail I'm integrating various data sources as part of my Japanese-to-English integrated translator environment for assisting in translation
 
 
1 hour later…
3:36 AM
@milleniumbug Would be cool if it had Google translate integration
I'm writing the manuscript of a paper which has come the closest ever to solving the inverse problem for partially coherent imaging (experimentally).
For example, input this:
Get out that
But also with the correct aspect ratio :-)
numerically refocuses the light
Sadly, didn't have enough resources, or rather wasn't given enough time to fabricate enough control structures to make it into a practical technique
 
@Mikhail Probably not a big problem to do so, it's just their API is paid
also, IME it doesn't work very well for what I need
 
 
4 hours later…
7:29 AM
Goats are like weird dogs ... that eat grass. -Telkitty
 
8:17 AM
If you use computing as analogy, I wonder if subconsciousness is running on the same process as conscious thoughts or does it run on parallel.
 
 
2 hours later…
10:02 AM
@milleniumbug You should label and separate the animation images. It is confusing as it is.
 
@wilx I'll probably end up redoing them. Possibly creating a separate documentation markdown file, too.
 
 
3 hours later…
user7659542
12:59 PM
Anybody here ever heard about machine oriented programming?
 
1:33 PM
@traducerad No
 
 
5 hours later…
6:46 PM
Is this defined?
std::string str;
foo(std::move(str), str + "asdf");
If the move is just a cast, then the order of execution shouldn't matter.
 
Indeed, in this case, both std::move(str) and str + "asdf" get evaluated before the function call can get executed
 
yeah, that's what I was thinking
 
and it's up to the function to steal the resources if it wants to (or not)
it gets more fun in different cases, like f(std::move(str)) + g(str + "asdf")
 
Have a silly case where I'm trying to delegate a constructor where the constructor being delegated to both consumes the operand and takes a modified version of it.
 
@Mysticial But it might not be.
if foo takes a std::string rather than std::string&&, then the operand can be constructed before str + "asdf" is evaluated
 
6:58 PM
oooooh
 
fuck
 
7:55 PM
Second argument makes a copy anyways, so just use a second line...
 
8:07 PM
@Mikhail Can't do that when delegating constructors.
The object here isn't actually an std::string anyway.
 
basically, don't ever do this
just make a damn copy
 
but but but... what if the object is 10 TB on disk???
 
8:30 PM
But it has to make a copy anyways? So you can make the copy inside the constructor, or on a line above the object construction?
 
@Mikhail It does not make a copy at all. The object gets moved into the 1st operand. The 2nd operand takes some newly created data that's produced by the object.
 
Mmmm. str + "asdf" is supposed to return a modified, in this case deep copied, version of str. Except in the example str might have been moved from, so it's wacky.
 
@Mikhail std::string is just an example. It's not actually std::string.
 
@Mysticial You're already copying it in str + "asdf" once.
 
Okay can you just have a single argument constructor that moves the object into itself? And do the second function in that constructor?
 
8:36 PM
Oh fuck's sake, lol
 
if the object is 10TB on disk, then design a better constructor interface that, say, takes asdf as the argument and copies/moves it itself.
 
std::unique_ptr<Object> uptr;
foo(std::move(uptr), uptr->size());
 
I had a bunch of code like that in Wide and it spontaneously failed all the time on GCC, I ended up removing all instances
 
Foo(std::move(uptr))
And do whatever you want in the constructor
 
the exact way to avoid this form of call depends a lot on the surrounding circumstances, but bottom line is, don't do that
 
8:42 PM
Also if the resource is heavy, the constructor could load the resource instead of using r value cancer. For example, image::image(file path) in place of image::image(big buffer)
 
what.
that's a terrible design
 
Actually this is the design of every library ever written
 
it may be the design of some libraries, but they're still wrong.
 
I don't pass by a file when I need to transfer an image buffer from PIL.Image to QImage
 
or rather, if they were designed before C++11 then I have some sympathy (but it's still terrible in 2018)
 
8:44 PM
It would be a fucking waste of time once the buffer is loaded
 
Yeah you can typical get both. It's just that the buffer loading happens in the image object rather than the buffer object or some other dedicated loader.
I So let a =buffer::load(filename) ; image (a) can become image (filename)
Really hard to type while on my phone
 
9:22 PM
@Mikhail Yes, I can see how it can become that, there's just no reason why it should become that.
 

« first day (2899 days earlier)      last day (2057 days later) »