I wish the Democratic candidates for President of the United States would stop trying to bootycall me

⁂

Discoholic 🪩

Janaina Medeiros
Sade Olutola

shark vs the universe

Kiana Khansmith
noise dept.
ojovivo

Kaledo Art
trying on a metaphor
Show & Tell
TVSTRANGERTHINGS

titsay
YOU ARE THE REASON

@theartofmadeline
sheepfilms
I'd rather be in outer space 🛸

roma★

No title available
DEAR READER

seen from Malaysia

seen from Netherlands

seen from Italy

seen from Maldives
seen from United States
seen from Chile
seen from United States

seen from Türkiye

seen from Malaysia

seen from United States

seen from United States
seen from Netherlands
seen from Germany
seen from United States
seen from Hong Kong SAR China

seen from Italy
seen from Australia
seen from Netherlands

seen from Russia
seen from United States
@pensamientas
I wish the Democratic candidates for President of the United States would stop trying to bootycall me
That time the Ruby-003 class surprised Avi with a choreographed flash mob on Halloween…
I love productivity tips and tricks, so I’ve decided to post a series of tips starting with this one for Terminal / Bash. Just open up your terminal and try the commands below. They’re pretty cool.
Calendars in your terminal window? Whuuut??? To view the current month:
cal
To view...
I just supported Phonebloks on @ThunderclapIt // @davehakkens
Everything you need to know about web development. Neatly packaged. Made by @jonhmchan.
What a great idea! BentoBox.io addresses a serious issue for budding programmers: "Where do I begin?!" Props to jonhmchan.
Check it out!
Taylor wrote this for a fan in Club Red last night
Number 1 is extremely well-said :)
"No! You stay inside!"
Learned @ Flatiron: A recursive "count up" method in Ruby.
@cjlwired (cc: @flatironschool)
A couple things emerged for me in this experience. First: tumblr doesn't support Markdown very nicely, and I'm going to switch to Octopress pretty much immediately after finishing this post. I'm shaking my head at you, tumblr...
Second, recursion is awesome. For this exercise, I sort of felt like a cheater - just because I added an extra argument to the much simpler "count down" recursive method. But in reality, there is NO OTHER WAY TO DO THIS (without using global variables, a big faux pas in Ruby)! I place a lot of emphasis on that, because I spent quite a bit of time in pursuit of a one-argument method - and for really no good reason. Adding arguments to methods is perfectly legitimate, and also a great idea when you're modifying existing methods for new applications that contain one additional layer of complexity.
Anyway, here's the code (one-argument "countdown" first; two-argument "count up" second):
def cu(counter, max) puts "Counter value is = #{counter}" return max if counter >= max #cease stacking calls once counter equals max counter+cu(counter+1,max) end def cd(num) puts "Counter value is = #{num}" return 1 if num <= 1 num+cd(num-1) end
Now, to think of cool applications for recursive methods. Maybe sorting to start with. Time to google...
when art suddenly emerges.
Chaos at the Heart of Orion
NASA's Spitzer and Hubble Space Telescopes teamed up to expose the chaos that baby stars are creating 1,500 light years away in a cosmic cloud called the Orion nebula. This striking composite indicates that four monstrously massive stars, collectively called the "Trapezium," at the center of the cloud may be the main culprits in the Orion constellation, a familiar sight in the fall and winter night sky in the northern hemisphere. Their community can be identified as the yellow smudge near the center of the image.
Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.
Ryan Bates offers a great starting point for understanding how to get objects within a specific model to associate with one another - called "self-referential" associations.
In the case of users adding "friends" (i.e. other users), we want a Friendships model that joins users to their friends. Each object in this model will keep track of a distinct friendship, i.e. each unique user-to-user matching.
The last trick I'll discuss was writing the code for making sure a user only see
other "unique" users as potential friends to add. Here's that code, with a thanks to Avi Flombaum @ Flatiron School for dropping it on me fresh with the SQL query:
def potential_friends
User.where("id NOT IN (?)", existing_friend_ids)
end
def existing_friend_ids
[self.friendships.collect{|f| f.friend_id}, self.id].flatten.uniq
end
@flatironschool @bswinnerton @hackerella
OK, so now it's official (because I bought a domain name and am using DNSimple to host it): I've made my first website! It's a prototype of a website that I think would make a ton of sense for Duke (and other schools) to utilize, but that's not important - it's mine, I made it (with a long, long list of contributing partners & hand-holders), and I think it's beautiful.
Special thanks to Brooks Swinnerton for his tireless support & enduring patience - I don't think I've ever bugged someone more in my life over a span of 10 weeks.
What do you think - did your school have a nice, easy-to-use website for keeping track of recruiting events on campus?
Better question: what's the biggest problem you have experienced as part of the job-search process (particularly as a college student on campus somewhere)?
Rails 4.0 with Heroku: STAY AWAY FROM PROTECTED ATTRIBUTES!
TX to @joegiralt, @hackerella & @maxjacobson (@flatironschool grads)!
Sup y'all! On the off chance that you follow my blog for coding tips (though that is a big part of my long-term goal for this collection of posts), listen up:
If you intend to push your Rails 4.0 app to Heroku, tread carefully if you plan to use the 'protected_attributes' gem. It appears that this gem prevents Heroku from precompiling your codebase... needless to say, this was a headache that took me quite a while to get to the bottom of.
Basically, this gem is designed to preserve the mass assignment feature that Rails 4 left in the dust in case some of your other gems had attr_accessor (Here's an awesome explanation of exactly what the heck mass assignment is, and why the Rails community decided to get rid of mass assignment: the infamous Homakov Incident - those damn Russian hackers!)
Note to self: Ruby is waaaayyy more fun to work with than Rails. Which makes sense, since Ruby is designed to be expressive & Rails is designed to follow conventions at the sake of expressiveness.
Isaac Asimov's most timeless & greatest short story. It's hard to explain the feelings that ran through my body - a particularly strong variety of electrochemical impulses, to be sure - upon reading the ending.
Do yourself a favor: read the story, and do NOT skip to the ending! Trust me.
On a personal note: I love works & thinking like this, that challenges and expands one's conception of "god". It's such a shame - I believe there's really no greater shame - that such a huge proportion of humanity is resigned to the Judeo-Christian-Muslim-etc. conception of "god" and as a result has walled off the topic in their own minds like a self-imposed spiritual prison sentence.
Thanks to Adam Grosshandler for passing this along to me. Sending love & good vibes your way.
The extent of the NSA's civilian data grab is alarming - and we still don't know the full extent.
Already companies are taking their data and communications out of the US.
The extreme case of fighting is shutting down entirely. The secure e-mail service Lavabit did that last week, abruptly. Ladar Levison, that site's owner, wrote on his homepage: "I have been forced to make a difficult decision: to become complicit in crimes against the American people or walk away from nearly ten years of hard work by shutting down Lavabit. After significant soul searching, I have decided to suspend operations. I wish that I could legally share with you the events that led to my decision."
I know the whole fortune cookie stereotype, but come on now.
EDIT: This is actually an apt metaphor. In classic Confucian pragmatism, this idiom encourages us to write down important pieces of information along the way, as opposed to extensively committing all of the data to memory and hoping to retrieve it later. (Personally, I suck at retrieving long-term memories, so I think I will - for the first time in my life - adhere to the perceived wisdom of a fortune cookie.)
World: is it good practice to go through life constantly reminding yourself, "Wait: I don't actually know (italics for emphasis) anything. I only experience and perceive." I welcome your comments and thoughts :)