-
Posts
50 -
Joined
-
Last visited
Content Type
Forums
Status Updates
Blogs
Events
Gallery
Downloads
Store Home
Everything posted by Single Infinity
-
Looks pretty good. I'm not familiar with drop.com though. Can you vouch or is this just from searching? E: Never mind, turns out this is just the new URL for massdrop I guess. This is good timing and I'm going with this.
-
I looked into that one previously but the more recent reviews hit at a lot of quality issues so shied away.
-
I'm finally willing to spend some money on a decent(ish) chair. I'm looking for suggestions matching the following criteria Comfortable for smaller people (5'7", 145lb) Price range $100-300 USD Preferably something available with prime Adjustable arm rests Colors/materials aren't particularly important to me What are your guy's suggestions?
-
Nevermind, solved.
-
Vessel: Single_Infinity https://www.vessel.com/videos/LCoY5zfFf- Storage https://www.vessel.com/videos/JYZEYDYx0- Hard pipe
-
2x £100 AMAZON GIFT CARD GIVEAWAY! :) [CLOSED]
Single Infinity replied to iHammmy's topic in Off Topic
This is a comment. -
Each method just broke down a piece of what I assumed the recursion would take care of into separate pieces. eachNumber figures out the number of each factorial, based it fitting in the base(givenInt). Stringbuild just put them into a string including asterisk and exclamation point for final output. For clarity, that bit of code was to help me figure out what I was doing, and none of it will be in my final product.
-
The small blurb above states it doesn't show pieces that have leading zeroes. They need to be shown, but I figured debugging code that I'm not going to actually use is pointless. Also, as I said, I understand basic recursion, but it's been quite a while since I've touched Java at all, and am having to for a discrete structures class. Am I missing some glaringly obvious solution?
-
I understand the basics to recursion, although I haven't done it in a while. My issue is partly figuring out how to set up a cantor expansion in logic.
-
I think you misunderstand. I need to output a cantor expansion. The cantor expansion for 256 = 2*5! + 0*4! + 2*3! + 2*2! + 0*1! , where ! is factorial. As far as I understand, I need out find the largest factorial that is lower than the input, find out how many times it is used, and continuously do that with the remainder till there is none.
-
I need to write a bit of recursive code that outputs the cantor expansion of a base 10 number. The cantor expansion is as follows: x = an n! + an-1(n-1)!+...+a11! I'm not really sure where to start with this. I got a semi-working bit of code that does this with loops, but I need it done recursively. Any help is appreciated on starting this. I understand basic recursion. A major problem I'm having is setting up logic for a cantor expansion using recursion though. Loop code (doesn't display pieces of expansion with leading zeros, but needs to). public class Test{ public static void main(String[] args) { int givenInt = 256; for (int i = 0; i < 3; i++) { String built = stringBuild(givenInt); System.out.println(built); String check = "" + built.charAt(2); givenInt = givenInt % computeFactorial(Integer.parseInt(check)); // remainder } } public static String stringBuild(int givenInt) { int n = eachNumber(givenInt); int multiple = givenInt / computeFactorial(n); return multiple + "*" + n + "!"; } public static int eachNumber(int givenInt) { int n = 1; int result = computeFactorial(n); while(result < givenInt) { n++; result = computeFactorial(n); } n--; return n; } public static int computeFactorial(int n) { int result = 1; for (int i = 1; i <= n; i++) { result = result * i; } return result; }}
-
I really love the front facing speakers and that Dbrand decided to give you a phone to review, considering how surprised I was at the improvements.
-
ASUS RoG G550JK Gaming Notebook & GIVEAWAY
Single Infinity replied to LinusTech's topic in LTT Releases
I like it for the i7 and upgradability in terms of ram. -
LG G3 Review and.... TWENTY-FIVE Phone Giveaway?!
Single Infinity replied to LinusTech's topic in LTT Releases
I love that sexy display. -
10 dollar panasonic headphones that are unbreakable, and have half decent sound quality. http://www.amazon.com/gp/product/B003EM8008/ref=oh_details_o09_s00_i00?ie=UTF8&psc=1
-
your school labs's computer hardware?
Single Infinity replied to NickyVida's topic in General Discussion
The ones in the CS lab at my uni run 8 gigs of ram and Xeons. Most of the rest of the computers in the school run 4770k's. -
HTC One M8 Review & DUAL PHONE GIVEAWAY!
Single Infinity replied to LinusTech's topic in LTT Releases
I like how it's a phone. c: -
780 is much better price/performance right now. If you really have a ton of money burning a hole in your pocket, I guess you could get a 780 ti, but the price per performance ratios aren't great.
-
Full Metal Alchemist (both, brotherhood and the original have different stories) and of course Dragon Ball (all of them except GT, which I can only explain as "not lore friendly").
-
Are you using the connection wired or a wireless card? If so is it b/g/n or a/c? Is there anything that could interfere with the signal for you?
-
Looking for a new keyboard
Single Infinity replied to superdupermonekythatneedhe's topic in Peripherals
Could wait for the Corsair RGB mechanical later this year. If you've got the money and the time I'd suggest it. -
Looking for review on this build
Single Infinity replied to FirzenExpert's topic in New Builds and Planning
If he wants a 1250W PSU he might as well stuff as many 780ti's as he can in there too.