corevette

- friends
6,491 link karma
7,663 comment karma
send messageredditor for
what's this?

TROPHY CASE

CSU Chancellor Reed Retires, Thoughts? by tumbleweed1993sfin CalPoly

[–]corevette 18 points19 points ago

What concept of jinxing do you not understand

WOW is not changing!! I think.. by fizzyfizzin CalPoly

[–]corevette 1 point2 points ago

BUT NOW WHAT DO I PROTEST?

Armstrong's $350,000 salary

Looking for a Pythonic way to express something by martinatbomin learnpython

[–]corevette 0 points1 point ago

The primes[:-1] can be replaced by primes since the list zip() returns is "truncated in length to the length of the shortest argument sequence."

What does the rCalPolyBot do? by witty_account_namein CalPoly

[–]corevette[M] 1 point2 points ago

As of now, rCalPolyBot just assigns the flair automatically (code is here (beware, this is pretty crappy code I wrote a while back)). If you have any ideas for additional functionality for rCalPolyBot, let me know.

WOW is changing... by fizzyfizzin CalPoly

[–]corevette 10 points11 points ago

Did they give any justification for their decision?

Cal Poly Graduation Tips/Checklist by bazabbain CalPoly

[–]corevette 1 point2 points ago

Has much changed?

Looking for a Pythonic way to express something by martinatbomin learnpython

[–]corevette 0 points1 point ago

You win sir

Cal Poly Graduation Tips/Checklist by bazabbain CalPoly

[–]corevette 7 points8 points ago

This looks important enough for the sidebar

Looking for a Pythonic way to express something by martinatbomin learnpython

[–]corevette 2 points3 points ago

This is what I came up with, not sure if it's really an improvement:

primes = [2, 3, 5, 7, 9, 11, 13, 17, 19, 23, 29]

for i, prime in enumerate(primes):
    if i > 0 and prime - prev_prime == 2:
        print prev_prime, prime
    prev_prime = prime

I'm still thinking about it though

EDIT: Another solution:

This will get you a list of tuples of the numbers you want, though I think the above solution is more readable

primes = [2, 3, 5, 7, 9, 11, 13, 17, 19, 23, 29]

[(i, j) for i, j in zip(primes[1:], primes) if i - j == 2]

And if you wish to print these out:

for i, j in ((i, j) for i, j in zip(primes[1:], primes) if i - j == 2):
    print(i, j)

Cal Poly vs UCSB by coltaaanin CalPoly

[–]corevette 0 points1 point ago

My point is, that link you posted proves nothing. On the header of the rankings: "Top programs at engineering schools whose highest degree is a bachelors or masters." UCSB, even if it did have a better undergraduate degree program, would not fall on that list since it offers doctorates.

Jens: And this is why I'm playing with Testificates. by xPawin Minecraft

[–]corevette 10 points11 points ago

I'm guessing the top row is for items you want to purchase and the lower row is for items you can sell for the red circular currency

Cal Poly vs UCSB by coltaaanin CalPoly

[–]corevette 0 points1 point ago

That means nothing in the context of mikail511's comment. UCSB offers Ph.Ds in Engineering and wouldn't qualify for that list

Here's my first full length album, Stained Glass. Tried to find solid ground between indie and post rock. I hope you enjoy it! by Nasicournusin postrock

[–]corevette 2 points3 points ago

Awesome! I love finding new Creative Commons postrock. Speaking of, is there any reason why "The Truth Will Set You Free part 2" has a different CC license than the rest of the album?

Right on, Lois Capps. Right on. by mouseteethin slotrees

[–]corevette 0 points1 point ago

Now if only SLO County could follow this policy

Cal Poly Lacrosse plays in the national finals today at 4:00 by tiktaalinkin CalPoly

[–]corevette 1 point2 points ago

Cal Poly won and are going on to play St. Marys on Saturday

I have a question about math classes by TheEyeCurein CalPoly

[–]corevette 2 points3 points ago

IIRC, calc 4 is basically just relearning all the concepts learned in calc 1-3 but with more variables. So if the stuff from Calc 1-3 is still fresh in your mind, I'd recommend calc 4 before linear

USCP Requirement by CafeAlphain CalPoly

[–]corevette 0 points1 point ago

African American Literature with Rummel. It wasn't too bad, and I got my C4, USCP, and GWR requirements met in one class.

Spotify Linux is using serif fonts. by matt-in archlinux

[–]corevette -2 points-1 points ago

The file format has nothing to do with it being DRM

view more: next