I recently started toying with SIMD and came up with the following code for matrix multiplication. I would greatly appreciate if someone with more experience with these things could tell me how far off I am from a good solution.
First I attempted to implement it using SIMD the same way I did in ...
I have been studying the architecture of the Siamese neural network introduced by Yann LeCun and his colleagues in 1994 for the recognition of signatures ("Signature verification using a Siamese time delay neural network".pdf, NIPS 1994).
I had some problems in understanding the general archit...
@CaptainObvious I am not how this question should be handled. A major part of the code depends on 3rd party frameworks. In particular the image loading is done via Firebase (which I am not familiar with), so it is difficult to judge if the framework is used correctly, or where the potential "lags" might come from.
I wrote html & css for my table:
14 cols x 12 rows (13th row: use the 1st cell only)
thead 1 row
tbody
x1: 5 rows (value *1)
x2: 4 rows (value *2)
x3: 1 row (value *3)
Average: 1 row
Under "Average": 1 cell (Average)
And I need your helps to make it can do these following things:
I. S...
I don't hate hats. Proof:
Yet, the Android app isn't showing them:
Saw this post from 2013 asking for hats in the Android app, and this one from 2014, also saying essentially "it's not worth it".
Fine.
Except, the iFolks got their hats on this year:
That's religion-based discrimination...
@IsmaelMiguel Ahah, they just don't want to talk with me. I can't get the info I want because no one has it or people that have it are always in reunion
defaultOptions:
Providing a defaultOptions array is useless if you don't use any other property than imageCallback
The following line is redundant if you wish to create imageCallback and not an empty object:
this.defaultOptions = {};
Getting and assigning click listeners:
There's dupl...
I am creating a website for my buddies and I to track all of our offensive softball stats. I am getting tired of maintaining a huge excel spreadsheet and emailing it out every week, so a website is the way to go.
I've created the DB a few times but I want to make sure I am making this thing righ...
So, in one of my recent Code Review questions, I have a function $$ and posting it (even inside the code block) causes the following issue.
So you can see that my code looks like the following:
but then in the post:
All the space between the two dollar dollar blocks is seemingly replaced w...
@janos well, the OP said: @Caridorc your suggestion to use a set solved my problem. Down from 13 seconds per insert to 0.009. If you add your comment as an answer, I'll accept it. If even with a 3 orders of magnitude improvement in performance I deserve a downvote... so be it
I was just wondering if we could use temporary questions to test ideas we have for how to earn secret hats here, or if that is a bad idea. They can be removed as soon as the hat is confirmed or a few days after posting and nothing happening.
@Mat'sMug I don't only hate the hats. I hate the concept. Also, I hate every single thing from 1st December till after Easter. It's just a sea of bad memories ruining every second of my life. I can't even walk outside without feeling miserable. It's not that you should care, it's just to show that I'm not a "hat hater" and that I'm not "missing out the fun", since I have no fun at all on these months
@Quill, you've gotten the Hairboat revenge, but did you do it here on Code Review? Or is it kind of an universal hat so if you do the action on Stack Overflow it will show here as well?
Hmm... I didn't find him in a search earlier... Must have misspelled it... But the pinned post doesn't have a lot of comments? Have they been removed by someone already?
There's incorrect/inconsistent indentation in:
HEY CHRISTMAS TREE result
YOU SET US UP 0
and
HEY CHRISTMAS TREE isZero
YOU SET US UP 0
The ArnoldC wiki says you should declare 0s and 1s as the "macros" @I LIED and @NO PROBLEMO
HEY CHRISTMAS TREE isZero
YOU SET US UP @I LIED
I...
I am designing a cipher and need to convert between bases repeatedly in a loop. I have optimized the everything else, but I'm not too familiar with C++ code, and and am trying to figure out how to make the conversion faster.
Here's the current code I'm using:
string digits = "0123456789abcdef"...