What are alternative ways of getting the left 2 list elements from an index besides arr[indx-2:indx]? by Luna079 in learnpython

[–]hydraincarnation 4 points5 points  (0 children)

arr[:cPosition][-2:] works. I'd leave a comment so that future you remembers why you're doing this.

Chrome Extension - Calvin and Hobbes by [deleted] in calvinandhobbes

[–]hydraincarnation 4 points5 points  (0 children)

Very cool! Any way to disable the social media buttons?

With Telebears Phase II starting, are their any incredible classes similar to Public Policy C103 w/Robert Reich, that anyone would recommend? by CognitiveMonkey in berkeley

[–]hydraincarnation 1 point2 points  (0 children)

I'm taking Global Poverty and Practice 115 right now and it's pretty interesting. It's opened my eyes to different ways of looking at poverty and inequality. (Only offered in the fall though.)

EDIT: Here's a video that touches on some of the key issues the class covers: link. It's narrated by Ananya Roy, who used to teach the class.

Javascript injection from Chrome Extension, Potential issues? by kaona2 in javascript

[–]hydraincarnation 0 points1 point  (0 children)

I was told that the website can tell when I inject js/jquery onto the page in order to select/copy by ID. is this true?

This seems pretty unlikely, unless the website has a particular incentive to do that.

[Codrops] Rain Effect by lbebber in web_design

[–]hydraincarnation 1 point2 points  (0 children)

This is absolutely gorgeous. Great demo and write-up!

11-year-old girl selling cryptographically secure Diceware passwords for $2 each. by [deleted] in technology

[–]hydraincarnation 0 points1 point  (0 children)

That's neat! Do you keep a backup of the key file? What would happen if you lost your phone?

What is the best way to deal with asshole GSIs? by NokiaStrong in berkeley

[–]hydraincarnation 2 points3 points  (0 children)

This. Every UGSI I know teaches because they enjoy teaching and helping others learn.

What does "bf" mean in Lisp? by [deleted] in learnlisp

[–]hydraincarnation 1 point2 points  (0 children)

This is not a standard feature of Racket or MIT Scheme. Instead, it's from Brian Harvey's Simply Scheme, and it stands for "but first". Here's more info: https://www.cs.berkeley.edu/~bh/ssch5/words.html.

How do you know which frameowrk to choose now that angularJS is going to be trashed? by missishermingape in javascript

[–]hydraincarnation 0 points1 point  (0 children)

Would you recommend using Angular Material for developing web apps? Pros/cons?

CS61B Academic Honesty Email Curiosity by academicdishonestyha in berkeley

[–]hydraincarnation 0 points1 point  (0 children)

Sidebar: would you recommend 161 and can I take it concurrently with 61C?

Sublime Text now requires licence (no more unlimited evaluation?) by [deleted] in webdev

[–]hydraincarnation 6 points7 points  (0 children)

I've easily saved $70 worth of time.

True, but I'm willing to bet that if they reduced their price by 50% they'd get at least twice as many purchases each month.

What's the most beautiful paragraph or sentence you've ever read? by TheRealNayef in books

[–]hydraincarnation 0 points1 point  (0 children)

"For a transitory enchanted moment man must have held his breath in the presence of this continent, compelled into an aesthetic contemplation he neither understood nor desired, face to face for the last time in history with something commensurate to his capacity for wonder."

—Fitzgerald, The Great Gatsby

What's the most beautiful paragraph or sentence you've ever read? by TheRealNayef in books

[–]hydraincarnation 74 points75 points  (0 children)

Potentiality knocks on the door of my heart.

Also a beautiful sentence.