« first day (3022 days earlier)      last day (1917 days later) » 

2:29 AM
@LucDanton Tu es démasqué
 
 
2 hours later…
user4196492
4:59 AM
Are my chances of success in a tech career small if I don't learn opengl?
 
You chances of success in tech career is small regardless whether you learn opengl if you need to ask this kind of question.
But I have very high standard, what I consider is a failure maybe considered a success by you.
 
user4196492
so I know that Java has a built in window and canvas, but since c++ doesn't, is opengl the easiest option I have if I plan to switch to c++ to render things?
 
6:11 AM
@pebble225 The easiest way to draw high quality 2D graphics is with Qt. You can also interop Qt's drawing wrappers with OGL.
The easiest way to learn OGL is probably though js and WebGL
That being said, I'm not sure they have geometry shaders in webgl
 
 
1 hour later…
7:30 AM
You know what Donald Trump and Xi Jinping share in common? 1) They are both 2 of the world's most powerful persons & 2) They both have the largest numbers of dislikers.
At this rate, I should be the CEO of a larger company soon. Larger as in larger than the 0.3 person company I currently run. Maybe employ 3 whole people instead.
 
On the subject of OGL, whats a good way to combine affine transforms? You can probably average translation, but I'm not sure whats the optimal way to handle scaling, warping?
 
8:26 AM
@TelKitty They also have legs and a few other things in common.
 
8:50 AM
@Puppy Good point.
 
@Mikhail by combining you mean interpolation?
I prefer (s)lerping quaternions and linear interpolation of translation
 
Well, I have a few estimates of a affine translation matrix (3x3 matrix in 2d). The matrix describes how much I should move an image so that will register with its neighbor. So, if I had one estimate I would apply that estimate.But I have like 4 estimates, so I need to somehow combine theses 4 translation matrices into one before applying the transform.
 
is it pure rotations, if so it's best to decompose the transform into translation and rotation IMO
 
I think there is some formal way to cast this merging these under a least squares norm
Then because I don't want to do math I think under least squares the translation part is just going to be the average of the positions
 
 
1 hour later…
10:14 AM
I give you the last 72 hours to make the payment before I send the video
with your masturbation to all your friends.
The last time you visited a p0rnographic website with Teens, you downloaded
and installed software I developed.
My program has turned on your camera and recorded the process of your
masturbation. My software has also downloaded all your email contact lists
and a list of your friends on Facebook.
I don’t have personal facebook account, no camera on my PC and I definitely didn’t visit a p0rnographic website with Teens. This scammer was assuming too many things.
Send 3.000 AUD to this Bitcoin address immediately:
36Li3JmCAEkSa95HppVsT3yZnnzAJmG76b

1 BTC = 5.015 AUD, so send exactly 0.593407 BTC to the address above.
Asking me to send you 3 dollars? Just how lowly are you??!
I am cleaning my dedicated spam receiving account, have not done so for more than a month, found many many goodie goodies.
 
that must have been from before bitcoin crashed
 
10:31 AM
Received this on the 15 Jan this year, I checked the bitcoin price, it's about right.
 
the dot being the digit grouper in some locales
why can't we all just agree to use non-breaking space for the grouper and comma for the decimal point
 
11:19 AM
@ratchetfreak Sender email address: genia.307@dd.4n0nym0us.ga Wiki says .ga is the country code top-level domain (ccTLD) for Gabon.
Hilarious ...
 
12:06 PM
@TelKitty I got this too, they sent it via a russian domain for me
 
12:16 PM
so apparently Micorsoft Outlook is down worldwide for some reason?
 
no its not
I just started mine
 
just EU then?
 
im in germany
so
its probably more of a "local" problem I guess
 
or your company doesn't use the microsoft cloud for its emails
 
yeah maybe
 
 
2 hours later…
 
2 hours later…
3:51 PM
Hello what books do you recommend for learning C++ being already an experienced programmer?
 
@AfonsoMatos Bjarne's book
 
I started reading it but it's so long
If you mean "The C++ programming language"
 
4:08 PM
thank you
 
 
1 hour later…
5:20 PM
Anyone know if there is a big_int proposal before the committee?
 
5:50 PM
@Mgetz lol
@Mgetz Boost has one I think?
 
@Mysticial did you peek at the rest of that user's feed?
 
can anyone help me with this stupid mistake? prntscr.com/mbojpc
 
@Mysticial Oh I know, I was just curious if there was one making its way into the standard

C++ Questions and Answers

Solve problems and approach solutions. Just ask and lurkers wi...
 
oh sorry
 
@Mgetz Yes. I've seen it show up in my feed several times before.
@Mgetz Without looking into at all, I would assume no. The Boost multiprecision had a bunch of loose ends and undecided stuff. So I can't imagining it going into the standard. Even if someone were to introduce a separate version that's "better" than the Boost one, it would still run into the same issues.
 
6:11 PM
Wow. Now here's a guy with true mastery of mathematics:
-7
Q: I Submitted the solution and got time limit error in 4th test case

Vaibhav PandeyThis is a problem on codeforces and I have submitted a solution and I got TLE. How to remove TLE #include<bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); unsigned int y, k, n; set <int> s; cin >> y >> k >> n; if (y >= n) { cout << -1...

 
I can see the addition of a bunch of smaller fixed sized types. (int256_t or something) But a larger type would be hard to imagine.
@JerryCoffin TLE = Time limit exceeded?
 
@Mysticial Yup.
 
@JerryCoffin I'm guilty of doing something like that, but not quite to that scale.
 
@Mysticial A star of shame!
 
My usecase is in a NUMA-interleaving memory allocator. Given a large chunk of memory, I would need to map them to different NUMA nodes determined by a hash. So the hash algorithm would pick which node each page would go to.

Instead of walking over all the pages one-by-one, hashing the address and mapping them to a node, I had a separate thread for each node. All those threads would *all* walk over *all* the pages, hash each one, and determine if it belongs on its own node. If it does map it, if it doesn't, skip it.
I have yet to test it on a machine with a lot of nodes. I'm guessing it won't work too well.
 
6:26 PM
@Mysticial Okay, I guess that qualifies as sort of similar, but the scale is so dramatically much smaller (and the reason so much better) that it's not even vaguely comparable.
 
@JerryCoffin I did that because I never found a good alternative. Sometimes the only way to map a page to a specific node is to pin the thread to that node. And I can't possibly change the thread affinity on every page.
I also can't do a 1st pass to mark all the pages and where they belong because that would forcibly map the page. Likewise, I can't use auxiliary memory.
 
@Mysticial Like I said, the reason is so much better it's not even comparable.
 
7:15 PM
@JerryCoffin Philosophical Question (not aimed at the OP): Is being dumb a good reason to do dumb things?
 
@Mysticial After much thought and cogitation...I'm not sure.
 
7:33 PM
No. But being smart isn't a good reason to do good things. The only good reasons are those that match the one true path :-)
 
 
1 hour later…
8:34 PM
@StackedCrooked
TIL about waifu2x https://en.wikipedia.org/wiki/Comparison_gallery_of_image_scaling_algorithms
waifu2x is an image scaling and noise reduction program for anime-style art, but also supports photos.waifu2x was inspired by Super-Resolution Convolutional Neural Network (SRCNN). It uses Nvidia CUDA for computing. == Example == == See also == Comparison gallery of image scaling algorithms == References == == External links == Official website waifu2x on GitHub...
wtf
 
It suggests that a significant percentage of really smart people like anime.
Which is a no-brainer IMO :)
@Mysticial Btw, I started watching Tate no Yuusha no Nariagari yesterday. Saw the first three episodes and they where great. What's less great is the withdrawal symptoms I have to endure while waiting for the next ep.
 
@StackedCrooked Same. I did my new season marathon earlier this week.
That show is gonna be painful to watch as it aires.
They never explained in ep3 why she "suddenly grew up".
 
Hmm....
 
Yeah.
 
Had to look it up. Though I did that after ep2 cause I was confused why she looked a lot younger than the cover art.
 
8:46 PM
I want to convert some very old C code into C++. It uses fixed size char arrays as buffers to process special format Sanskrit text into LaTeX. I think I need some sort of output iterator---the old code uses pointers, of course---that would append to buffer if it were at end().
The problem is I am unable to check the correctness of the output even if I manage to do this. :)
Alternatively, I would have to write or use some sort of strings library for C which seems like a lot of pain.
 
@Mysticial So that one and Mob Psycho are the new series I've started watching. Feel free to recommend other series any time :)
 
Mob Psycho is on my to-do.
My current list for the season is:
- Kaguya-sama wa Kokurasetai
- Date A Live Ⅲ
- Domestic na Kanojo
- Egao no Daika
 
@Mysticial The new op isn't as good as the old one.
 
A lot of those are stupid cliche shit.
SAO, Index, and Slime Tenshi leftover from last season.
 
@Mysticial Haven't started Index yet. I should probably give it a try.
 
8:54 PM
@StackedCrooked This season's? Or all of it?
 
I've only seen the "rail gun" one.
I'm hoping the 2018 anime is a good pickup point.
 
For any Index/Railgun series, you do kinda need to watch everything that came before it.
 
And you'll need a reference to look up shit you don't understand or forgot.
Because there's way too many characters and things going on at once.
The Anime doesn't cover everything that the novels do.
 
frankly from what I've read about that series there's a few retcons and asspulls going on as well, so be prepared for that
 
8:59 PM
Ok. Maybe I'll try from scratch.
 
Watch them in the order that they aired.
So Index 1, Railgun 1, Index 2, Railgun 2, Index 3.
The movie can be skipped as nothing depends on it. But don't watch it before Railgun 2.
 
`[88754.652654] TCP: enp36s0: Driver has suspect GRO implementation, TCP performance may be compromised.
[89282.877784] atlantic 0000:24:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x00000000fbf3
[89283.159619] atlantic 0000:24:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x00000000fc44
[89308.344119] atlantic 0000:24:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x00000000fc54
[89313.422281] atlantic 0000:24:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x00000000fcae
and then everything locks up
 
@Mikhail The TCP warning is unlikely to be the culprit.
@Mysticial Btw, just watched Gugguk's Best of Anime 2018. Didn't really agree with its pick for anime of the year (A Place Further than the Universe).
I think I'd go for Goblin Slayer.
 

« first day (3022 days earlier)      last day (1917 days later) »