brokenstatues

u/brokenstatues


r/learnjavascript•

I'm taking a web programming course this semester and I'm new to JS. we have a homework assignment to implement certain functions with a heavy set of restrictions. we cannot use any sort of assignment operation, or classic iteration and recursion. the result has to be evaluated within a single line of a return statement.

the question:

when given a non-negative integer int, returns the list of indexes at which the binary representation of int has a 1. You should assume that the bits in a binary representation are indexed starting at the LSB; i.e. LSB corresponds to index 0 and the MSB corresponds to index 30

this is what I have so far:

function intToBitIndexes(number) {
    re
23

r/EnterShikari•

I try to catch enter shikari any time they make a US appearance. seen them 5 times so far over the years. didn't make last year's show because of uni. I originally thought I was going to miss this year's show too but realized the other night that I have a four day weekend for rosh hashanah. I have off the 30th for the NYC show as well as the next day so I won't be too burdened with having to travel back to uni. needless to say, I snagged tickets real quick. I'm praying for an ok time for plan b performance.

130

r/diablo3•

I got Diablo 3 for free back when they were offering a copy of the game if you signed up for a year's worth subscription for WoW. I only got a Monk to level 31 and lost interest. I bought the game a second time when it released on Xbox One and played a character until max level, but never bothered to explore the end game.

fast forward to two weeks ago, a friend of mine got me back into the game and I've been playing a Crusader for season 17. I'm 1 conquest away from completing the season journey. it's been a blast. I can't believe I've been sleeping on Diablo 3 for this long.

I've been farming for ancient gear for my LoN build and finally got the last piece I needed today to make the switc

84

r/college•

pell and tap isn't covering my whole tuition, so I was looking into excelsior.

I'm transferring from community college to binghamton uni with junior status and will be on track to complete my bachelor's in 2 years, and I will definitely be able to take 30 credits each year.

the requirement that's holding me back is

> if attended college prior to the 2018-19 academic year, have earned at least 30 credits each year (successively), applicable toward his or her degree program prior to applying for an Excelsior Scholarship

I started college in 2013 as a part-time student and only took 6 credits. I didn't go back to college until 2 years later, and I've never taken more than 30 credit

11

I know there's an admitted student open house where your family is allowed to accompany you, but I am not going to that. I'll only be doing orientation in june. my parents and girlfriend want to come with me. the website mentions a "family program." does anyone have experience with this and can tell me what it's like?

55

r/learnmath•

I understand how to do this proof 100% the problem is my professor's assignment.

https://imgur.com/a/ehDZf

every induction proof I've seen for the sum of cubes says for n >= 1 and uses P(1) for the basis step. my professor instead, uses for n >= 3 which means that our basis step should involve P(3)

but..

P(3):
3^3 = [3(4)/2]^2
27 = (12/2)^2
27 = 6^2
27 = 36

you would have to include 1^3 + 2^3 in order to get 36, but I've never seen an induction proof done this way.

like this problem from my textbook:

https://imgur.com/a/H4cow

the reason why they define n >= 3 is because if you plug in 2 for n, you get 16 = 0. the formula only works for a sequ

23

housing registration for transfer students is coming up and I'd appreciate some advice.

I would much rather live off campus but my friends that applied did not get in, so I'm on my own now. I'd rather avoid the hassle of trying to find an off campus apartment as a transfer student who doesn't know anybody and just suck it up and dorm.

I'm transferring to watson for computer science. I'm an older student. I'll be 27 by the time next semester rolls around. I can't really say I'm looking for the typical college dorming experience. I'm not anti-social or anything but laid back and invested in my education. I'm definitely looking to try and get a single room.. the apartments community looks li

47

r/learnmath•

this is a problem for a physics lab but the underlying issue I'm having is just algebra (I think)

The capacitance (C) can now be calculated as C = τ/R. However, since the internal resistance of the source rint is unknown, the experiment must be repeated using a second external resistance value. Comparison of the time constant values between the two measurements will allow the determination of both the capacitance and source resistance values. By equating the capacitance and solving for rint:

[; r_{int} = \frac{\tau_2 R_{ext1} - \tau_1 R_{ext2}}{\tau_1 - \tau_2} ;]

The total resistance is Rext + rint, which you can use in C = τ/R to find the capacitance.

the question at the end

1410

r/CoinBase•

I have some money sitting in coinbase that I've been trying to withdraw to my bank account. it would get taken out of coinbase, then a few days later just pop back up. I wasn't getting any sort of e-mail as to why so I emailed support and they finally got back to me:

I checked your account and noticed that the checking account in your Coinbase account has been deleted. There is an error message saying that were unable to locate your account.

While processing your transaction the bank sent us an R03 error code indicating they could not locate your account, so we couldn’t continue the process.

this isn't true. my bank account was listed in linked accounts. so I just deleted it t

47

I applied to bing last month as a transfer student from cc and I received my acceptance the other night. I have posted here a few times in the past for some information and the few people I spoke to have been super helpful.

my goal is to study computer science so I applied and got accepted into the watson school. however, the general consensus from what I've gathered seems to be that the comp sci program is difficult to get into. I was curious if there will be another hurdle in regards to getting into the program, or if my acceptance to watson essentially means I am good to go for comp sci. any advice?

thank you!

14

I sent in my application and the status checker shows they have received both the application and my transcript. however, I can't help but think that the SUNY application was extremely basic and underwhelming. surely, that can't be all there is to the application process, right? I decided to look into the common app and found that there is a lot more information you can fill out with that application regarding personal things like work experience, extra curricular activities, and even an essay.

did I make a mistake only sending in the SUNY app? or do they not care so much about the "extra" stuff because I'm a transfer student? it's definitely confusing. I'm new to all of this. how does the

211

r/learnpython•

I'm working on an app that is laid out like this

https://gyazo.com/6acc00c4fe8de52258e607d9680aee00

I want row 6 (the row the ok and cancel buttons are on) to only have 2 columns with 50% width so the buttons are centered. I'm having trouble figuring out how to do this.

my research lead me to the use of different frames, so I would have a top frame with a certain grid layout and a bottom frame with a different grid layout. I cannot figure out how to get this done. I'm finding so much conflicting information. any guidance would be appreciated.

here's the full code

https://pastebin.com/suABkEXa

12

so I'm a complete idiot and just realized after 16 hours in the game that you can bind core crystals to get more blades. you can imagine the frustration of only having access to the stock elemental blade types for this long, because I was extremely limited in combo execution. I kept asking myself for a while, "when the hell is this game going to introduce an electric type blade??"

I have a stockpile of 30+ common crystals and a few rare. I bound some and got a few generic blades but I also got 2 unique ones.

now I'm curious, should I burn through them all right now? is there any reason to hold on to them?

15


r/SBU•

hey! I'm scouting potential transfer schools for computer science because next semester will be my last semester at cc before earning an AS degree in computer science.

I see that stony brook has a few requirements:

transfer students may apply for acceptance to the major after completing at least ten credits of required CSE courses, including CSE 114 and CSE 215, with grades of B- or higher and a grade point average of 3.20 or higher in these courses.

my school teaches comp sci 1, comp sci 2, and data structures, which translates to stony brook's CSE 110, CSE 114, and CSE 214 respectively. I have an A in 1 & 2 and I'm on track for an A in data structures as well. the only problem

34