Search found 138 matches

by Ankit1010
Mon Oct 22, 2012 7:11 pm UTC
Forum: Mathematics
Topic: ice cream cone probability (homework)
Replies: 8
Views: 3147

Re: ice cream cone probability (homework)

I'm studying for a midterm statistics (yay) and I'm stuck on one question : in an ice cream parlour you can have ice cream cones with 1,2 or 3 scoops of ice cream. You can choose from 10 flavours, but you can also have multiple scoops of the same flavour. The order in which the scoops are put on th...
by Ankit1010
Sun May 20, 2012 8:16 pm UTC
Forum: Coding
Topic: htaccess is killing me.
Replies: 1
Views: 1450

Re: htaccess is killing me.

I don't know the answer to this, but do yourself a favor and ask this over on Stack Overflow or Serverfault, you'll get a lot of help over there.
by Ankit1010
Sat May 19, 2012 2:40 pm UTC
Forum: Mathematics
Topic: Preparation for Real Analysis
Replies: 8
Views: 3418

Re: Preparation for Real Analysis

Alright, thanks for the advice! Understanding Analysis looks like a great book, I'll definitely pick up a copy, and I'll find out which text we'll be using for the class soon too. It will likely be either Principles of Mathematical Analysis by Rudin or Understanding Analysis. I love stack exchange, ...
by Ankit1010
Sat May 19, 2012 9:16 am UTC
Forum: Mathematics
Topic: Preparation for Real Analysis
Replies: 8
Views: 3418

Re: Preparation for Real Analysis

Practice proofs. Look up any of the terms listed that your not familiar with. That should do you good for now. ... As far as preparation goes, it will help if you are able to read and write mathematical proofs. You should be able to follow formal logical reasoning, and preferably able to produce yo...
by Ankit1010
Sat May 19, 2012 7:10 am UTC
Forum: Mathematics
Topic: Preparation for Real Analysis
Replies: 8
Views: 3418

Preparation for Real Analysis

I'm taking undergrad Real Analysis I at college next semester, and I want some advice on how I can start preparing for the course over summer since I need to do well on it. I'd appreciate references to good books/online materials and any advice you might have about how to do well in the course. Here...
by Ankit1010
Sat May 05, 2012 10:35 am UTC
Forum: Computer Science
Topic: Minimising the Number of Multiplications
Replies: 6
Views: 11366

Re: Minimising the Number of Multiplications

I think the algorithmic time will be exponential unless |P| grows exponentially to |V|.
The number of terms in the final answer will grow proportionally to 2^n, and if |P| does not grow exponentially to |V|, the number of multiplications required will overall grow exponentially.
by Ankit1010
Wed May 02, 2012 6:01 am UTC
Forum: Science
Topic: Hilarious Misuses of Quantum Mechanics
Replies: 25
Views: 8505

Re: Hilarious Misuses of Quantum Mechanics

I love how every news article on quantum computation ever starts with explaining how entanglement is magical and then goes on to say how n qubits encode 2^n bits of information, so we can solve all our problems ever with 100-200 qubits. Some of them also mention how quantum computers can prime facto...
by Ankit1010
Mon Apr 30, 2012 7:46 pm UTC
Forum: Mathematics
Topic: Base for Pi
Replies: 5
Views: 1901

Re: Base for Pi

nomnomnomnom MOAR ALGORITHMZ. That sentence alone seems way to ungrammatical to be part of this forum, hence this sentence.
by Ankit1010
Tue Apr 24, 2012 5:13 pm UTC
Forum: Mathematics
Topic: Intuition for work and line integrals
Replies: 3
Views: 1901

Re: Intuition for work and line integrals

I think your confusion is with an incorrect intuitive understanding of work. When we say work done by a force, we don't mean the "amount it had to exert itself".. rather, we mean the amount of contribution that the particular force had in displacing the particle. So a force does positive w...
by Ankit1010
Wed Apr 11, 2012 8:39 am UTC
Forum: Coding
Topic: Real-time coding collabtoration tool
Replies: 7
Views: 2935

Re: Real-time coding collabtoration tool

Check out http://collabedit.com/ , http://piratepad.net/ , http://typewith.me/ , and there's a ton more over here - http://etherpad.org/public-sites/ . I've been asked to use a collabedit, piratepad and etherpad (now acquired by Google) for phone interviews, they all work well.
by Ankit1010
Tue Apr 10, 2012 12:47 pm UTC
Forum: Coding
Topic: Website building/coding?
Replies: 27
Views: 11180

Re: Website building/coding?

Thanks for all the suggestions, guys! Yeah, being a college student I don't have a lot to spend. Oh, I forgot to add, here is the site that's running the servers I'm using: http://www.namecheap.com/web-hosting/web-hosting.aspx I'm under the "Professional" plan. Any suggested PHP resources...
by Ankit1010
Tue Apr 10, 2012 11:04 am UTC
Forum: Mathematics
Topic: Guess the sequence.
Replies: 25
Views: 7541

Re: Guess the sequence.

King Author 3 1, 3, 4, 7, 11, 13, 14, 17, 21, 23 In the second row, you're keeping the first number fixed and adding it to the 2nd, the 3rd etc.. i.e stick 1 and 3 together - 13 stick 1 and 4 together - 17 .. stick 1 and 11 together - add it to left so 11+10 = 21 then stick 1 and 13 together - 10+1...
by Ankit1010
Mon Apr 09, 2012 4:08 am UTC
Forum: Coding
Topic: Website building/coding?
Replies: 27
Views: 11180

Re: Website building/coding?

I'd highly recommend learning Ruby-on-Rails. For a simple website, you don't have to worry about the details of administering a server, you can just focus on making the web application itself. It's also becoming increasingly popular in the community because of how easy it is to pick up. I picked it ...
by Ankit1010
Mon Feb 27, 2012 4:44 am UTC
Forum: Logic Puzzles
Topic: Cipher Challenge
Replies: 6
Views: 3348

Re: Cipher Challenge

Well... this is embarassing. So I wrote a program to convert the hex numbers to decimal, but ended up making a small bug that generated a kind of generalization of the fibonacci sequence, instead of converting the numbers correctly :oops: Hence, disregard everything I said in my previous post. I'll ...
by Ankit1010
Sun Feb 26, 2012 11:00 am UTC
Forum: Logic Puzzles
Topic: Cipher Challenge
Replies: 6
Views: 3348

Re: Cipher Challenge

I'm assuming you know what the fibonacci sequence is... In this case, if you interpret the hex as decimal numbers correctly, you can see that it forms a kind of generalization of the fibonacci sequence. Hint #1: Interpret every 2 hex numbers as one decimal number Hint #2: The sequence is the fibonac...
by Ankit1010
Fri Feb 10, 2012 10:53 pm UTC
Forum: Mathematics
Topic: Gelca-Andreescu - did I solve this correctly?
Replies: 2
Views: 1035

Re: Gelca-Andreescu - did I solve this correctly?

Oh, right! That works out to exactly 1/9 then, thanks.
by Ankit1010
Fri Feb 10, 2012 9:24 pm UTC
Forum: Mathematics
Topic: Gelca-Andreescu - did I solve this correctly?
Replies: 2
Views: 1035

Gelca-Andreescu - did I solve this correctly?

I'm preparing for the Putnam, so I'm going through Gelca-Andreescu. Can someone quickly tell me whether I've solved this right or not, since I can't find a reason why not, but it seems to easy to be true.. Q: The union of nine planar surfaces, each of area equal to 1, has a total area equal to 5. Pr...
by Ankit1010
Fri Jan 13, 2012 10:14 am UTC
Forum: Computer Science
Topic: Boolean formulae satisfiable
Replies: 10
Views: 3559

Re: Boolean formulae satisfiable

All of them are, by the same logic: I can pick atleast 1 variable in each bracketed term without picking it in any other bracket . The bracketed terms all contain only ORs, so this is enough to let me force each of them to be true. That is not true. Let -a be the inverse of a variable a and conside...
by Ankit1010
Thu Jan 12, 2012 9:12 pm UTC
Forum: Computer Science
Topic: Boolean formulae satisfiable
Replies: 10
Views: 3559

Re: Boolean formulae satisfiable

All of them are, by the same logic: I can pick atleast 1 variable in each bracketed term without picking it in any other bracket. The bracketed terms all contain only ORs, so this is enough to let me force each of them to be true.
by Ankit1010
Thu Jan 12, 2012 6:44 am UTC
Forum: The Help Desk
Topic: Defragging a mac?
Replies: 12
Views: 6167

Re: Defragging a mac?

You should consider formatting your drive and re-installing OS X before taking any steps towards better hardware. My macbook was being EXTREMELY sluggish recently, and defragmenting (twice, using Drive Genius 3) did not help at all. After I cleared out some files, formatted and reinstalled OS X, its...
by Ankit1010
Wed Jan 11, 2012 7:02 pm UTC
Forum: Mathematics
Topic: Permutations
Replies: 1
Views: 914

Permutations

I came across an interesting problem recently, which reduces to the problem I'll describe below. I tried working on it for a while, but I don't know much about permutations so I didn't really get anywhere. Do you guys have any insights? Given n and k such that k divides n. Define a function f(p), w...
by Ankit1010
Sat Jan 07, 2012 6:09 pm UTC
Forum: Computer Science
Topic: How should I approach CS problems?
Replies: 7
Views: 4058

Re: How should I approach CS problems?

One of the things that makes reasoning about complex problems easier is improving your working memory when working on the problem -- or, equivalently, improving your ability to compress information about algorithms and problems so they take up less working memory. How are you at generating mathemat...
by Ankit1010
Thu Jan 05, 2012 1:06 pm UTC
Forum: Computer Science
Topic: How should I approach CS problems?
Replies: 7
Views: 4058

How should I approach CS problems?

I'm a junior in college, majoring in Computer Science, but I'm having a hard time approaching CS problems.. I'm at a very prestigious university with a tough curriculum, but I'm still able to keep up in class and solve the assignments, because we are generally told what data structures / algorithms ...
by Ankit1010
Tue Nov 29, 2011 6:59 am UTC
Forum: Computer Science
Topic: The 2^2^2^2^2^2 Problem
Replies: 13
Views: 4685

Re: The 2^2^2^2^2^2 Problem

Because it symbolically manipulates it instead of converting it into a radix-k value. In general, keeping things as symbols and then reducing them as practical doesn't run into the same kind of problems as converting them into radix-k values. .... I'm curious, what does that mean - symbolically man...
by Ankit1010
Sun Nov 13, 2011 12:58 pm UTC
Forum: Coding
Topic: GLOBOL: An esoteric language for the whole world
Replies: 42
Views: 25646

Re: GLOBOL: An esoteric language for the whole world

I THINK THIS LANGUAGE NEEDS MORE EXCLAMATION POINTS!!! "THE ANSWER IS 42!!". I say enforce a minimum of 2 exclamation points after every 3rd statement, except the ones divisible by 9 too, which causes the program to halt immediately... (or something fun like that). Also, !!!OMGWTFBBQLULZ!!...
by Ankit1010
Sun Nov 13, 2011 9:15 am UTC
Forum: Mathematics
Topic: Some axioms.
Replies: 3
Views: 1386

Re: Some axioms.

xkcdfan wrote:What.


Exactly. At the very least, type things out properly, because I have no clue what "(A" or "(F(1,2" or " ' " means. Or if that's part of the puzzle, then explain that.
by Ankit1010
Fri Nov 11, 2011 11:16 am UTC
Forum: Science
Topic: Can we make our own set of physics homework questions?
Replies: 14
Views: 2800

Re: Can we make our own set of physics homework questions?

I'd recommend the physics books by Resnik, Halliday and Crane (earlier Resnik, Halliday and Walker). They have a lot of interesting gems in the exercises, most of the problems after the first few deal with realistic and interesting situations. The material in the book is really good too, explained w...
by Ankit1010
Thu Oct 20, 2011 9:57 am UTC
Forum: Computer Science
Topic: Start learning computer science??
Replies: 8
Views: 4361

Re: Start learning computer science??

Great Justice wrote:P-P&PuC++
...
I was around your age when I started, and it has worked out very well, good luck.


Sorry this is irresistible :p
by Ankit1010
Thu Oct 20, 2011 7:56 am UTC
Forum: Computer Science
Topic: Data structure that manages integer sets
Replies: 6
Views: 2479

Re: Data structure that manages integer sets

Whoops the below solution is O(|O|) time, not good enough. This tells us that unless O is stored in someway that has some kind of ordering based on Hamming distance, we can't do better than O(|O|) time. How about this for atleast k elements: All sets are stored as binary numbers of length 2n+1, wher...
by Ankit1010
Sat Sep 03, 2011 6:33 pm UTC
Forum: Music
Topic: Song Identification!
Replies: 458
Views: 203594

Re: Song Identification!

Microscopic cog wrote:Random guess but maybe this?


No thats not it :( It's a fairly recent song, not that old at all. That came up when I tried to google for it too. Moral of the story is, I don't have enough information to find it through google.
by Ankit1010
Sat Sep 03, 2011 7:08 am UTC
Forum: Music
Topic: Song Identification!
Replies: 458
Views: 203594

Re: Song Identification!

Ok there's this song: The first 10-15 seconds are just instrumental, slow, which kind of build up. Then a woman starts singing, she sings really calmly, kind of softly. I don't know most of the lyrics, but maybe 10 seconds into the singing, it goes " ... on the waaaater ... ". This is abou...
by Ankit1010
Tue Aug 23, 2011 6:42 am UTC
Forum: Coding
Topic: Powerful visual language / ide?
Replies: 16
Views: 3634

Re: Powerful visual language / ide?

Honestly, I think the reason this doesn't exist is because its impossible to incorporate the power and functionality a programming language has in a purely visual language which a computer can understand. If you aren't quite convinced of this, I suggest you make up a visual language of your own, and...
by Ankit1010
Thu Aug 11, 2011 6:59 pm UTC
Forum: Hardware
Topic: Tech Knowledge
Replies: 7
Views: 1859

Re: Tech Knowledge

I think the absolute best way to learn is to do it yourself. Hopefully, you have a windows machine, in which case you will have errors and problems from time to time. Google around and learn to be able to fix them. All of them. If your computer is running slow or something, try to reinstall your ope...
by Ankit1010
Mon Aug 01, 2011 6:23 pm UTC
Forum: Coding
Topic: UI help /bugs
Replies: 3
Views: 880

Re: UI help /bugs

I really like the look and layout of the site. Very nice to navigate. I just have a few suggestions, based on my use with Firefox: Make the homepage more focused on the content, which means the "highest rated in 24 hours" section should be prominent, so as soon as I go to the site I might ...
by Ankit1010
Sat Jul 30, 2011 9:37 am UTC
Forum: Logic Puzzles
Topic: Neologisms
Replies: 20
Views: 6312

Re: Neologisms

A neologism is a "newly coined term, word or phrase, that may be in the process of entering common use, but has not yet been accepted into mainstream..". Like smakibbfb said, the Yes words don't seem right, so they must be the neologism. i.e they are in the Yes list as the answer to the qu...
by Ankit1010
Sat Jul 30, 2011 9:21 am UTC
Forum: The Help Desk
Topic: Deciding on a Linux Distro?
Replies: 10
Views: 3546

Re: Deciding on a Linux Distro?

Hey, I was considering a Linux distro for my computer, to dual boot with Windows (via drive partitions) and I'm trying to decide on which one to use. I'm going to be using it for a variety of things, like multimedia playing, work done in an office suite, and programming (in Python for now, but pote...
by Ankit1010
Thu Jul 21, 2011 7:17 pm UTC
Forum: Computer Science
Topic: Switching from IT to Comp. Sci (Career Question)
Replies: 2
Views: 1225

Re: Switching from IT to Comp. Sci (Career Question)

You could try doing freelance work on something like http://www.vworker.com/ for a while if it'll help you get experience for a job. It won't do to use that alone though since you get paid considerably less.
by Ankit1010
Wed Jul 20, 2011 10:08 am UTC
Forum: Mathematics
Topic: Embedding a graph with several edge colours in a plane
Replies: 10
Views: 1482

Re: Embedding a graph with several edge colours in a plane

I dont understand your question? Do you want the largest complete graph with no two edges of the same color intersecting (but thats not what the diagram depicts) or something else altogether?
by Ankit1010
Tue Jul 19, 2011 7:12 pm UTC
Forum: Coding
Topic: Code for Combinations (Java)
Replies: 7
Views: 2313

Re: Code for Combinations (Java)

Also, like Robert said, use the BigInteger class built into Java instead of longs. The other suggestions will help you make your code faster and ensure you don't need BigInteger until larger numbers, but incase you run into that later, or you don't care about efficiency, BigInteger will help, since ...

Go to advanced search