text stringlengths 0 27.6k | python int64 0 1 | DeepLearning or NLP int64 0 1 | Other int64 0 1 | Machine Learning int64 0 1 | Mathematics int64 0 1 | Trash int64 0 1 |
|---|---|---|---|---|---|---|
Multiplication of two n-bit numbers A and B can be understood as a sum of shifts:
(A << i1) + (A << i2) + ...
where i1, i2, ... are numbers of bits that are set to 1 in B.
Now lets replace PLUS with OR to get new operation I actually need:
(A << i1) | (A << i2) | ...
This operation is quite similar to regular mul... | 0 | 0 | 0 | 0 | 1 | 0 |
I know:
The control points a and d (start and end point of a 2D cubic bezier curve)
The slopes a->b, c->d, and b->c (b,c the other control points)
Where the halfway point of the Bézier curve is.
Now, given this information, what is the formula for the positions of control points b and c ?
| 0 | 0 | 0 | 0 | 1 | 0 |
I know this is not a straight up question, so if you need me to provide more information about the scope of it, let me know. There are a bunch of questions that address almost the same issue (they are linked here), but never the exact same one with the same kind of scope and objective - at least as far as I know.
Cont... | 0 | 1 | 0 | 0 | 0 | 0 |
History: I read from one of Knuth's algorithm book that first computers used the base of 10. Then, it switched to two's complement here.
Question: Why does the base could not be -2 in at least a monoid?
Examples:
(-2)^1 = -2
(-2)^3 = -8
| 0 | 0 | 0 | 0 | 1 | 0 |
An object is positioned at A and wants to move to B. I want to calculate a movement vector there that doesn't move within the distance D of the to-be-avoided points in array C.
So if the move vector (B-A) normalized and multiplied with the objects speed would bring it within D of any point in C the vector is rotated so... | 0 | 0 | 0 | 0 | 1 | 0 |
i need to implement a genetic algorithm customized for my problem (college project), and the first version had it coded as an matrix of short ( bits per chromosome x size of population).
That was a bad design, since i am declaring a short but only using the "0" and "1" values... but it was just a prototype and it worke... | 0 | 1 | 0 | 0 | 0 | 0 |
I'm building, for example, an application that monitors your health. Each day, you're jogging and doing push-ups and you enter the information on a web site.
What I would like to do is building a chart combining the hours you jogged and the number of push-ups/sit-ups you did. Let's say on the first day, you jogged 1 ho... | 0 | 0 | 0 | 0 | 1 | 0 |
I'd like to know if there are any libraries (preferably DateTime-esque) that can take a normal date time and create an appropriate relative human readable date.
Essentially the exact opposite of the more common question: How can I parse relative dates with Perl?.
Obviously, the exact wording/interpretation is up to the... | 0 | 1 | 0 | 0 | 0 | 0 |
I want to find a Calculate Library not a Drawing Library to help me do some graphics calulation like Bezier's length, point on Beziers or other metadata.
Is there any library like this?
| 0 | 0 | 0 | 0 | 1 | 0 |
What should 'foo' be called, given the following?
x.items is a set, y.values is a set.
function a(key) returns an ordered list of x.items
function b(x.item) returns a single y.value
Define foo(a, b), which returns a function, d, such that d(key) returns a list of y.values defined by: map(b, a(key)).
This feels like a f... | 0 | 0 | 0 | 0 | 1 | 0 |
The image below was scanned (poorly) from Computer Systems: A Programmer's Perspective. (I apologize to the publisher). This appears on page 489.
Figure 6.26: Summary of cache parameters http://theopensourceu.com/wp-content/uploads/2009/07/Figure-6.26.jpg
I'm having a terribly difficult time understanding some of these... | 0 | 0 | 0 | 0 | 1 | 0 |
I have the following radial gradient:
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient2454"
id="radialGradient2460"
cx="4022.8572"
cy="5451.2656"
fx="4022.8572"
fy="5451.2656"
r="3559.865"
gradientTransform="matrix(-0.1071067,-0.1166362,0.1377765,-7.0459663e-2,276.61943,1... | 0 | 0 | 0 | 0 | 1 | 0 |
In the picture below you can see a learning algorithm trying to learn to produce a desired output (the red line). The learning algorithm is similar to a backward error propagation neural network.
The "learning rate" is a value that controls the size of the adjustments made during the training process. If the learning... | 0 | 0 | 0 | 1 | 0 | 0 |
I'm wondering if this is a sufficient algorithm for finding the best value with a weighted system. Is there anything I could add to make it better?
in this example I would like the probability of $object->get() returning test4 to be 4 times greater than the probability of it returning test1.
class weightCalculator {
... | 0 | 0 | 0 | 0 | 1 | 0 |
Trying to find a good name for a method swapping each coordinate X and Y values.
Is there a name for this operation?
Essentially, here's what is done
(1, 2) -> (2, 1)
On a polygon, this is the same as having a rotation of -90 degrees and doing a horizontal flip or mirror.
| 0 | 0 | 0 | 0 | 1 | 0 |
I try to store the PHP floating point value 63.59072952118762 into a double precision column in postgres. Postgres stores the value as 63.59073. Does anyone know why? 8 byte should be more than enough for that value. I've tried with the data type numeric, which works when specifying the precision, but that shouldn't re... | 0 | 0 | 0 | 0 | 1 | 0 |
Is there a filtering algorithm that converges at some shape? My problem is that I am filtering a two dimensional graph, and applying filtering repeatedly. I'm down-sampling data and re-sampling it using gaussian filters (footprints), but the graph changes its shape with every subsequent filtering. What I need is to ach... | 0 | 0 | 0 | 0 | 1 | 0 |
I need your help, and thank you for reading my question!
I am currently writing a java Programm that will use an Direket Form 2 Transposed Filter. I know that the function filter in Matlab will do that just fine, but i have to use Java.
So does anyone know you to implement this Direkt Form 2 Transposed , this Math F... | 0 | 0 | 0 | 0 | 1 | 0 |
I work for a market research company in the online space. We have been spending all of our cycles for over a year and a half building the next big thing in this space with regards to profiling our respondents (over time) to better place them in available surveys . Something that one of our researcher's has asked us f... | 0 | 1 | 0 | 0 | 0 | 0 |
Hi i am trying to create the affine transform that will allow me to transform a triangle into another one. What i have are the coordinates for the 2 triangles. Can you help me?
Following the answer by Adam Rosenfield i came up with this code in case anyone is bored to solve the equation himself :
public static AffineTr... | 0 | 0 | 0 | 0 | 1 | 0 |
I taken math in college (trigonometry, calculus II...) but I don't know why you use tan, arctan, etc., in game physics. I know I can find working code and understand everything except why I am using a particular trig function, but I don't want that.
I want to know why I am using arctan or sin. Where can I learn about... | 0 | 0 | 0 | 0 | 1 | 0 |
Related to my question here but not enough to open a new question.
I wanted to make a good tower defense game and found this site. I saw math in it and made the mental leap that it was "game physics." Maybe it's not. I don't know. I was hoping someone could tell me. If it is not what kind of game programming is it... | 0 | 0 | 0 | 0 | 1 | 0 |
I'm not sure if this is for SO or not. I am reading some of my old math textbooks and trying to understand math in general. Not how to figure something. I can do that but rather what is it that math is doing.
I'm sure this is painfully obvious but I never thought about it until I thought more about game programming.... | 0 | 0 | 0 | 0 | 1 | 0 |
I'm trying to build a rectangular grid that can wrap around at the edges. Anyone who plays video games will probably be familiar with the concept: go far enough in one direction on the world map and you'll end up back where you started. This causes some difficulty in setting up the viewport, though, since the edges c... | 0 | 0 | 0 | 0 | 1 | 0 |
I would like to use Python to generate my own algebra to pre-calculus worksheets to print and use. The purpose is to teach kids how to practice algebra. What is the best way generate the expressions?
Update:
I am planning to use Latex to generate nicely formatted equations.
The question I have is how to come up wit... | 0 | 0 | 0 | 0 | 1 | 0 |
I was working on some grouping problems at my work. There are quite a few questions, please bear with me. I find them quite interesting. If anyone here is also interested in combinatorics, please help me out.
Ok so we have a bunch of characters , here i have taken a i d s.
What are the ways we can group the elements ?... | 0 | 0 | 0 | 0 | 1 | 0 |
I'm wondering if in MySQL you are able to find a range within values along with the average in a query. Assume the table below please:
-----------------------------------------
| ID | VALUE |
-----------------------------------------
| 1 | 30 |
-----------------... | 0 | 0 | 0 | 0 | 1 | 0 |
I'm looking to write a quick benchmark program that can be compiled and run on various machines. Rather than using commercially/open-sourceally available options, I'd rather have my own to play around with threading and algorithm optimization techniques.
I have a couple that I use already, which include recursively cal... | 0 | 0 | 0 | 0 | 1 | 0 |
I have an array which tells whether a card is in use:
int used[52];
This is a terrible way to pick a random card if I have many used cards:
do {
card = rand() % 52;
} while (used[card]);
since if I have only 3-4 unused cards, it'll take forever to find them.
I came up with this:
int card;
int k = 0;
int numUsed ... | 0 | 0 | 0 | 0 | 1 | 0 |
I am having some weird issue here. I have a database table which has huge value stored on a column. My application (C#) is reading this value and keeping in a double type. This application will insert the same value to another table. Note : I am not doing any calculations/processing on the value read from the first tab... | 0 | 0 | 0 | 0 | 1 | 0 |
I'm writing a computer graphics application that makes use of several different libraries that provide many of the required features.
For example, in college I wrote quaternion, optimized 3 vector, and optimized 4x4 matrix classes that I like to use since they are efficient and I'm very familiar with them. I also wrot... | 0 | 0 | 0 | 0 | 1 | 0 |
I would like to know 2 things about the struct Vector2 in XNA:
Why does this struct only have X and Y instead of X,Y (origin) and X',Y' (destination)?
How can I calculate the direction of a vector with only the X,Y?
Thanks a lot in advance.
Kind Regards.
Josema.
| 0 | 0 | 0 | 0 | 1 | 0 |
I need to sort some products base on user ratings.
Suppose we have 3 products {a,b,c} and we have user's feed backs about this products. It's not important which user give us feed back (this question is not about correlative filtering if you are familiar with it - user interests is not the case here)
Each of these belo... | 0 | 0 | 0 | 0 | 1 | 0 |
I need to sort some products base on user ratings.
Suppose we have 3 products {a,b,c} and we have user's feedbacks about this products.
It's not important which user give us feedback (this question is not about correlative filtering if you are familiar with it - user interests is not the case here)
Each of these below... | 0 | 0 | 0 | 0 | 1 | 0 |
I was asked by my boss to create a module for calculating reverse compound.
The question is: if I want to achieve $1.000.000,00 in 24 months with interest rate 18%/year (or 1.5%/month). how much money do I have to save every month?
I searched on the internet, but found nothing except people referring to the Excel form... | 0 | 0 | 0 | 0 | 1 | 0 |
This is the problem:
I have n points (p1, p2, p3, .. pn), each of them can connect to any other with a determined cost x.
Each point belongs to one of a set of point-types (for example "A" "B" "C" "D"...).
The input of the method is the path I want to follow, for example "A-B-C-A-D-B".
The output is the shortest path c... | 0 | 0 | 0 | 0 | 1 | 0 |
I am building a project involving natural language processing, since the nlp module currently only deal with english text, so I have to make sure the user submitted content (not long, only several words) is in english. Are there established ways to achieve this? Python or Javascript way preferred.
| 0 | 1 | 0 | 0 | 0 | 0 |
I'm building a binary classification tree using mutual information gain as the splitting function. But since the training data is skewed toward a few classes, it is advisable to weight each training example by the inverse class frequency.
How do I weight the training data? When calculating the probabilities to estimat... | 0 | 0 | 0 | 1 | 0 | 0 |
In Python, there are examples of built-in classes with highly constrained instances. For example, "None" is the only instance of its class, and in the bool class there are only two objects, "True" and "False" (I hope I am more-or-less correct so far).
Another good example are integers: if a and b are instances o... | 0 | 0 | 0 | 0 | 1 | 0 |
I am currently using scipy's linregress function for single regression. I am unable to find if the same library, or another, is able to do multiple regression, that is, one dependent variable and more than one independent variable. I'd like to avoid R if possible. If you're wondering, I am doing FX market analysis with... | 0 | 0 | 0 | 0 | 1 | 0 |
We've developed a WinForms application (targeting .NET 2.0 with VS2008), we've just found out that we need to localize it for use in another language (other than english) :( What are the guidelines for developing multi-lingual languages in .NET?
Another application borrows Paint.NET's idea of globalization (using resou... | 0 | 1 | 0 | 0 | 0 | 0 |
I am using UIAcceleration for rotation. I have opposite side, adjacent side, but I want to calculate tan-1(y/x) inverse tan.
| 0 | 0 | 0 | 0 | 1 | 0 |
I'm currently reading from a depth texture in a postprocess depth of field shader using the following GLSL code:
vec4 depthSample = texture2D(sDepthTexture, tcScreen);
float depth = depthSample.x * 255.0 / 256.0 +
depthSample.y * 255.0 / 65536.0 +
depthSample.z * 255.0 / 16777216.0;
And the... | 0 | 0 | 0 | 0 | 1 | 0 |
Possible Duplicate:
How do you calculate the average of a set of circular data?
I have two angles, a=20 degrees and b=350 degrees. The average of those two angles are 185 degrees. However, if we consider that the maximum angle is 360 degrees and allows for wrap around, one could see that 5 degrees is a closer average... | 0 | 0 | 0 | 0 | 1 | 0 |
I have values returned by unknown function like for example
# this is an easy case - parabolic function
# but in my case function is realy unknown as it is connected to process execution time
[0, 1, 4, 9]
is there a way to predict next value?
| 0 | 0 | 0 | 0 | 1 | 0 |
I'm looking for a standalone math equation renderer that generates a gif or png file. It should be able to take equation input from a URL. It has to work on a webserver, preferably on IIS and .NET based.
I read the previous topics here, but none of them seem to work well.
| 0 | 0 | 0 | 0 | 1 | 0 |
Coming from an academic background in mutli-agent systems (developed in Java using JADE) I have only been peripherally aware of the Actor concurrency paradigm. Now that I've started exploring Scala I couldn't help but be struck by the similarities between the Agent and Actor approaches.
I'm very tempted to use Scala's... | 0 | 1 | 0 | 0 | 0 | 0 |
Is there a publically available library that will produce the exact
same results for sin, cos, floor, ceil, exp and log on 32 bit and
64 bit linux, solaris and possibly other platforms?
I am considering the following alternatives:
a) cephes compiled
with gcc -mfpmath=sse and the same optimization levels on each
plat... | 0 | 0 | 0 | 0 | 1 | 0 |
Consider a vector V riddled with noisy elements. What would be the fastest (or any) way to find a reasonable maximum element?
For e.g.,
V = [1 2 3 4 100 1000]
rmax = 4;
I was thinking of sorting the elements and finding the second differential {i.e. diff(diff(unique(V)))}.
EDIT: Sorry about the delay.
I can't post an... | 0 | 0 | 0 | 0 | 1 | 0 |
I need to do calculations (division or multiplication) with very large numbers. Currently I am using Double and getting the value round off problems. I can do the same calculations accurately on C# using Decimal type. I am looking for a method to do accurate calculations in VB6.0 and I couldn't find a Decimal type in ... | 0 | 0 | 0 | 0 | 1 | 0 |
I feel it is bit curious to understand the Natural language processing.
I have the following questions..
What is meant by Scope ambiguity in natural language?
How can done Statistical resolution of scope ambiguity?
Which is the best language can I use for the Statistical resolution?
| 0 | 1 | 0 | 0 | 0 | 0 |
Say I have a tile based system using 16x16 pixels. How would you find out what tiles are covered by a rectangle defined by floating point pixel units?
for eg,
rect(x=16.0,y=16.0, w=1.0, h=1.0) -> tile(x=1, y=1, w=1, h=1)
rect(x=16.0,y=16.0, w=16.0, h=16.0) -> tile(x=1, y=1, w=1, h=1) (still within same tile)
rect(x=... | 0 | 0 | 0 | 0 | 1 | 0 |
I have x,y data coming in from a [coordinates1] database (GIS - but this could be any database). I have my application with it's own coordinate system, referencing THE SAME MAP.
I have established that a linear relationship exists between coordinates1 (x,y) and coordinates2(x,y) as I have subtracted two different coord... | 0 | 0 | 0 | 0 | 1 | 0 |
I'm trying to devise a method that will be able to classify a given number of english words into 2 sets - "rare" and "common" - the reference being to how much they are used in the language.
The number of words I would like to classify is bounded - currently at around 10,000, and include everything from articles, to pr... | 0 | 0 | 0 | 0 | 1 | 0 |
My Taglist in a C code:
macro
|| MIN_LEN
|| MAX_ITERATIONS
||- typedef
|| cell
|| source_cell
||- variable
|| len_given
Taglist elements (domain):
A = {MIN_LEN, MAX_ITERATIONS, cell, source_cell, len_given}
Code snippets (codomain):
B = {"code_MIN_LEN", "code_MAX_ITERATIONS", ...... | 0 | 0 | 0 | 0 | 1 | 0 |
On the iPhone, I get the user's location in decimal degrees, for example: latitude 39.470920 and longitude = -0.373192; That's point A.
I need to create a line with another GPS coordinate, also in decimal degrees, point B. Then, calculate the distance (perpendicular) between the line from A to B and another point C.
Th... | 0 | 0 | 0 | 0 | 1 | 0 |
I wonder if it is possible (and if it is then how) to re-present an arbitrary M3 matrix transformation as a sequence of simpler transformations (such as translate, scale, skew, rotate)
In other words: how to calculate MTranslate, MScale, MRotate, MSkew matrices from the MComplex so that the following equation would be ... | 0 | 0 | 0 | 0 | 1 | 0 |
I need to implement an inverted beta function in MySQL (similar to Excel's BETAINV).
There is some related material is available on Wolfram MathWorld's Beta Distribution page.
Any clues on where to start implementing this functionality in MySQL?
| 0 | 0 | 0 | 0 | 1 | 0 |
The code golf series seem to be fairly popular. I ran across some code that converts a number to its word representation. Some examples would be (powers of 2 for programming fun):
2 -> Two
1024 -> One Thousand Twenty Four
1048576 -> One Million Forty Eight Thousand Five Hundred Seventy Six
The algorithm my co-worke... | 0 | 1 | 0 | 0 | 0 | 0 |
There are a few questions around that circle around this question but I feel this is different enough.
I've decided I want to improve the breadth and depth of my maths skills specifically in areas that are useful and/or interesting to programmers.
What topics should I study?
What resources do you recommend (blogs/book... | 0 | 0 | 0 | 0 | 1 | 0 |
This is a purely math question, I believe.
I have a camera object in an arbitrary coordinate system. I have the direction vector of the camera, and I have a vector that points in the direction of north along the surface of the sphere.
I wish to calculate the angle of the camera in regards to the north vector. Is there ... | 0 | 0 | 0 | 0 | 1 | 0 |
I understand that it's from 0 to rows and from 1 to rows, but which is including and which is excluding?
| 0 | 0 | 0 | 0 | 1 | 0 |
So I have a bunch of hyperlinks on a web page. From past observation I know the probabilities that a user will click on each of these hyperlinks. I can therefore calculate the mean and standard deviation of these probabilities.
I now add a new hyperlink to this page. After a short amount of testing I find that of th... | 0 | 0 | 0 | 0 | 1 | 0 |
I require to do a project as a part of my final year of engineering graduation studies.Can you suggest some projects pertaining to distributed systems and artificial intelligence together and which require python,c or c++ for programming?
Note:-Please suggest a project that is attainable for a group of 2 students.
| 0 | 1 | 0 | 0 | 0 | 0 |
I have an SVM in R and I would now like to plot the classification space for this machine. I have found some examples on the Internet, but I can't seem to make sense of them.
My R script is as follows:
library(e1071)
day_of_week <- c(0,1,2,3,4,5,6)
holiday <- factor( c(T, F, F, F, F, F, T) )
model <- svm(day_of_week, h... | 0 | 0 | 0 | 1 | 0 | 0 |
Are integers in C assumed to be handled by a hardware spec or handled in software?
By integer, I am referring to the primitive "int"
The underlying idea being that if integers in C are not hardware dependent would it be a violation of standard to have gcc implement different integer handlers. This way you could have yo... | 0 | 0 | 0 | 0 | 1 | 0 |
I have a database, consisting of a whole bunch of records (around 600,000) where some of the records have certain fields missing. My goal is to find a way to predict what the missing data values should be (so I can fill them in) based on the existing data.
One option I am looking at is clustering - i.e. representing t... | 0 | 0 | 0 | 0 | 1 | 0 |
I am currently reading the Algorithm Design Manual, but my mathematical notation has become a little rusty.
What does
mean?
| 0 | 0 | 0 | 0 | 1 | 0 |
The Problem:
A box can hold 53 items. If a person has 56 items, it will require 2 boxes to hold them. Box 1 will hold 53 items and box 2 will hold 3.
How do I repeat the above where 53 is a constant, unchanging, value and 56 is a variable for each box:
Math.Ceiling(Convert.ToDecimal(intFeet / 53))
what I have so far... | 0 | 0 | 0 | 0 | 1 | 0 |
I have been asked to program a routine to decide the number of possible combinations in a product configurator.
The configurator is really simple. Even though it has more features than this, it can be modeled as several "radio groups" (like the UI control) where one of n options has to be selected.
The only kind of con... | 0 | 0 | 0 | 0 | 1 | 0 |
I am currently looking for a programming language to write a math class in. I know that there are lots and lots of them everywhere around, but since I'm going to start studying math next semester, I thought this might be a good way to get a deeper insight in to what I've learned.
Thanks for your replys.
BTW: If you are... | 0 | 0 | 0 | 0 | 1 | 0 |
Is it possible to find out whether one drawing line (which is not in a horizontal or vertical position) overlapped (or touched) any other items (like line, rectangle, circle etc). Kindly advise me on the possibilities and solution with examples.
Thanks for looking into this...
| 0 | 0 | 0 | 0 | 1 | 0 |
Is there a way, given a set of values (x,f(x)), to find the polynomial of a given degree that best fits the data?
I know polynomial interpolation, which is for finding a polynomial of degree n given n+1 data points, but here there are a large number of values and we want to find a low-degree polynomial (find best line... | 0 | 0 | 0 | 0 | 1 | 0 |
What equation is needed to move a point on an isometric plane in a 2d space?
I've looked several places on the tubes. Mostly here. and I haven't been able to decipher it. I'm not a math major, unfortunately.
What I need to do is move a point from (0,0) to (1,0) or (0,1) on an isometric plane consisting of 10px blocks.... | 0 | 0 | 0 | 0 | 1 | 0 |
In information retrieval, the words in the documents were represented as a "Term Vector", they did it primarily to check the angle between two vectors. When have you represented something as a vector in your work and what is the common heuristic that you use to represent an entity as a vector?
| 0 | 0 | 0 | 0 | 1 | 0 |
I need to show natural dates like
"few seconds ago"
"21 minutes ago"
Is there something built in to the rails? Or may be third party? This is not hard to implement, but I do not want to invent the wheel.
| 0 | 1 | 0 | 0 | 0 | 0 |
I have a program written in C# and some parts are writing in native C/C++.
I use doubles to calculate some values and sometimes the result is wrong because of too small precision. After some investigation i figured out that someone is setting the floating-point precision to 24-bits. My code works fine, when i reset the... | 0 | 0 | 0 | 0 | 1 | 0 |
I'm looking for a formula that can spread out numbers in a linear format based on a minimum number, max number and amount of numbers (or dots) between. The catch is, the closer you get to the max, the more numbers should be there.
An example (number will vary and will be about 100 times larger)
Min = 0
Max = 16
Amount... | 0 | 0 | 0 | 0 | 1 | 0 |
Is there C++ template class that implements operations with permutations and permutation group?
Such class has to implement finding product and inverse, multiplication, etc.
| 0 | 0 | 0 | 0 | 1 | 0 |
We would like to include a facility in an ASP.NET web application that will allow a user to type in a natural language (or reasonably close to natural) question about a SQL data set (SQL Server) and get useful information in return. The sort of results required is to include min, max, std deviation, top 10, total for a... | 0 | 1 | 0 | 0 | 0 | 0 |
Are there any serious scientific math libraries made with functional programming languages? From the very nature of functional languages one would think that they are particularly suitable for math, but yet the well-known algorithms seem to be procedural.
For instance, the classic Numerical Recipes series is written pr... | 0 | 0 | 0 | 0 | 1 | 0 |
Could any of you experienced programmers / ethical hackers out there recommend some blogs or books on security/encryption? The only blogs I look at now are,
.Net Security Blog.
Laptop Security Blog.
Schneier On Security.
I am especially interested in the mathematical theory behind the security/encryption, not just ho... | 0 | 0 | 0 | 0 | 1 | 0 |
I want to crawl for specific things. Specifically events that are taking place like concerts, movies, art gallery openings, etc, etc. Anything that one might spend time going to.
How do I implement a crawler?
I have heard of Grub (grub.org -> Wikia) and Heritix (http://crawler.archive.org/)
Are there others?
What opini... | 0 | 1 | 0 | 0 | 0 | 0 |
I'm trying to put together an app for fun that has a scenario where I need to figure out a probability equation for the following scenario:
Suppose I have a number of attempts at something and each attempt has a success rate (known ahead of time). What are the odds after doing all those attempts that a success happens?... | 0 | 0 | 0 | 0 | 1 | 0 |
Take the following C code (K&R pg. 77) :
push(pop() - pop()); /* WRONG */
The book says that since - and / are not commutative operators, the order in which the 2 pop functions are evaluated is necessary (obviously, to get the correct result)...and thus you have to put the result of the first function in a variable f... | 0 | 0 | 0 | 0 | 1 | 0 |
I have 4 points that form some quadrilateral. The lines can't cross or anything like that, it should be a square, rectangle, rhombus, parallelogram, etc.
The lines that connect them break the field into 9 regions. With a square, it would look like a tic-tac-toe board (#), but with other shapes the lines will be at angl... | 0 | 0 | 0 | 0 | 1 | 0 |
What is a good way to implement Gaussian elimination when the operators are custom operators, rather then standard arithmetic ones?
Here are the operators:
Addition:
0 + 0 = 0
0 + 1 = 1
1 + 1 = 0
Subtraction:
0 - 0 = 0
0 - 1 = 1
1 - 1 = 0
Multiplication:
0 * 0 = 0
0 * 1 = 0
1 * 1 = 1
Division:
0 / 0 = illegal
0 / 1 ... | 0 | 0 | 0 | 0 | 1 | 0 |
There are phonetic level, syntactic level, semantic level, phonological level, acoustic level,
linguistic level, language level.
Are there any other levels?
What's the order from the bottom up?
And what are they really about?
| 0 | 1 | 0 | 0 | 0 | 0 |
I have to write a program to solve quadratics, returning a complex number result.
I've gotten so far, with defining a complex number, declaring it to be part of num, so +,- and * - ing can take place.
I've also defined a data type for a quadratic equation, but im now stuck with the actual solving of the quadratic. My m... | 0 | 0 | 0 | 0 | 1 | 0 |
Allright - seems my question was as cloudy as my head. Lets try again.
I have 3 properties while configuring viewports for a D3D device:
- The resolution the device is running in (full-screen).
- The physical aspect ratio of the monitor (as fraction and float:1, so for ex. 4:3 & 1.33).
- The aspect ratio of the source ... | 0 | 0 | 0 | 0 | 1 | 0 |
So I have finished creating my own complex number data type in haskell.
I've also, thanks to another question on here, got a function that will solve a quadratic equation.
The only problem now is that the code generates a parsing error in hugs, when trying to solve a quadratic with complex roots.
i.e. In hugs...
Main> ... | 0 | 0 | 0 | 0 | 1 | 0 |
Im trying to create a easy sine curv in SQL which alternates between the values (0-23).
I have the following variables: x, which is the current offset. y which is the destinated offset, and z which is my max value(23).
Anyone that could help me with the expression? Have googled and read about it, but havent got it to w... | 0 | 0 | 0 | 0 | 1 | 0 |
I was adding a Fraction class to my codebase the other day (the first time, never needed one before and I doubt I do now, but what the hell :-)). When writing the addition between two fractions, I found a small optimization but it doesn't make sense (in the mathematical sense) why it is like it is.
To illustrate I will... | 0 | 0 | 0 | 0 | 1 | 0 |
What is the algorithm - seemingly in use on domain parking pages - that takes a spaceless bunch of words (eg "thecarrotofcuriosity") and more-or-less correctly breaks it down into the constituent words (eg "the carrot of curiosity") ?
| 0 | 1 | 0 | 0 | 0 | 0 |
I have an image that I want to be watermarked to the bottom right section of other images.
The dimensions of the watermark image are 179 width, 39 height.
Now what if I have another image whose dimensions are 150 width, 20 height? If we tried to watermark it using the original image, it would obviously be too large an... | 0 | 0 | 0 | 0 | 1 | 0 |
How to use Wordnet in SQL database. Does it exists anywhere can someone give me step by step procedure
| 0 | 1 | 0 | 0 | 0 | 0 |
I know there must be a generic method but I don't even know the term to search for and I don't want to re-invent the wheel, badly.
'Separate components values' and 'composite values' don't give good results.
another example: degrees+minutes+seconds from seconds of arc, or tons+pounds+ounces from ounces.
I'm working in ... | 0 | 0 | 0 | 0 | 1 | 0 |
I actually have it done, I did this math equation about 2 years ago and I am having trouble understanding it now.
Basicly I use this so that when users upload photos to my site, I can balance them out with only X amount of photo per folder.
This gives me something like this 1/1 1/2 1/3 1/4 ----1/10 2/1 2/2 2/3 and ... | 0 | 0 | 0 | 0 | 1 | 0 |
How do I find the side length of a cross-section (as illustrated in
the drawing below - cross-section in
red) of a pyramid frustum/truncated pyramid?
I know the side-lengths of the top and bottom base, the height of the
frustum and the distance to the cross-section. Furthermore I know the
top and bottom base are para... | 0 | 0 | 0 | 0 | 1 | 0 |
(Also posted on the MSDN forum - but that doesn't get much traffic, as far as I can see.)
I've been trying to provide an example of Assert and Assume. Here's the code I've got:
public static int RollDice(Random rng)
{
Contract.Ensures(Contract.Result<int>() >= 2 &&
Contract.Result<int>() <= 12)... | 0 | 0 | 0 | 0 | 1 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.