Friday, August 4, 2017

freecodecamp: Chunky Monkey



Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a two-dimensional array.

Saturday, July 29, 2017

2Centz: Is Hip Hop Fiend Out


Is Hip Hop Fiend Out

2017-07-29 | ShakaLu - Editor in Chief
When did being a fiend for pharmaceutical drugs become so perversely prevalent in Hip Hop? 
It seems like every other song on popular radio makes mention of the joys of highly addictive pharmaceutical drugs like Oxycontin and Percocet and synthetic (but no less dangerous) drugs like MDMA aka Molly.  Now, let’s be clear and acknowledge there has always seemed to be an embrace of substance use in Hip Hop.  There is no denying that weed and alcohol has always been staples of Hip Hop music and commonplace within the Hip Hop community.  But it seems like things are taking a severe turn for the worse in contemporary Hip Hop.  I want to be careful and avoid presenting my concerns like there is a generational divide and only younger Hip Hop (the Seedz) heads promote this seriously dangerous behavior.  To do so would be misleading and insincere.  And I am not trying to make light of the social dangers caused by alcoholism.  But this new element of being okay with these kinds of mind altering substances is a totally different monster.
Percocet is a highly addictive narcotic prescribed to manage severe pain.  It contains oxycodone which if used in high doses can lead to respiratory distress and even death, particularly when used with alcohol. Oxycodone is an opioid, in the same family as heroin.  Basically, medically prescribed heroin.  Mollie and Ecstasy are synthetic drugs that makes a person prone to experiencing hallucinations and other psychological complications.  These are other substances that if combined with alcohol could lead to severe medical distress.
So, the question is asked again; when did the use of these sort of substances become so acceptable.  I had this conversation with a couple of colleagues and one traced the origins of this embrace to the Houston, TX based "Chopped and Screwed"movement of the early ‘90’s (a cross section between the Rootz and Treez eras).  Chopped and screwed music became synonymous with the indulgence of “Lean” of “Syrup.”  For the uninitiated, “lean/syrup” is a toxic and addictive mixture of prescription strength, codeine based cough syrup and soda.  Codeine is also a narcotic that can lead to death when mixed with other mind altering substances.  Even though there is a lot of validity to this assertion, I can’t say for sure this was the origin.
What I do know, however, if we the Hip Hop community to not take a stand and hold these artists accountable to the type of degradation they are promoting it will lead to the destruction of Hip Hop.  Think about Future’s "Mask Off".  A very catchy song but what’s disturbing is the first lyrics of this song pays some sought of blasphemous homage to pharmaceutical and synthetic drugs.  Even more disturbing is the song that Mask Off was sampled from was Charlton William’s "Prison Song". The entire premise of William’s song was to be wary and aware of evil social elements leading to the decimation of the Black community. The song is found on the “Selma” album:  A Musical Tribute to Martin Luther King, Jr.  How does a song that pays tribute to a global icon like Dr. King became bastardized with the promotion Mollie and Percocet?  Hip Hop, please be aware that there are elements in the world that want to destroy our culture.  Unfortunately, it’s some of our own shepherding this poisonous behavior as if there will be no ramifications.  To those artists, like Future, I say get your money Bro; it’s on you.  But not at the cost of Hip Hop.
#ThisIsVital
#ReflectTheCulture
#RespectTheLineage
    

Truncate a string


Truncate a string


Truncate a string (first argument) if it is longer than the given maximum string length (second argument). Return the truncated string with a ... ending.

Friday, July 28, 2017

freecodecamp: Confirm the Ending

Check if a string (first argument, str) ends with the given target string (second argument, target).

Thursday, July 27, 2017

Return an array consisting of the largest number from each provided sub-array. For simplicity, the provided array will contain exactly 4 sub-arrays.

Solution:

Create to variables one for the inner array then a second array using a for loop to the largest value in each.

Saturday, July 22, 2017


Rakim Reacts To Jay Z’s 4:44

Everybody is talking about Jay Z's 4:44, even Rakim. I must say is was both enlightening and confirming to hear him speak directly from a perspective that we share at VitalGoundz and, Why We Did It!!! It is also is the reason why we addressed Hip Hop's need for an annual Senior Class. What reasons am I talking about? I can elaborate but I'm sure you'd much rather hear it from the God EmCee himself...



Friday, July 21, 2017

freecodecamp: Title Case a Sentence

GoalReturn the provided string with the first letter of each word capitalized. Make sure the rest of the word is in lower case.


Solution: I used regular expression to select the first letterof each word and converting them to uppercase.



Wednesday, July 19, 2017

freecodecamp: Checking for Palindromes #js: #100daysofcode #vanillajs

#freecodecamp #javascript #loop #string

GoalReturn true if the given string is a #palindrome. Otherwise, return false.

A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.
You'll need to remove punctuation and turn everything lower case in order to check for palindromes.
We'll pass strings with varying formats, such as "racecar", "RaceCar", and "race CAR" among others.

How it got done: Using Reg Ex, all uppercase letter where replaced as lowercase letters. Then we check if the string is the same forward and backwards using split() to separate the original string into indivdual characters, finally reversing it and then putting it back together again.

Friday, July 14, 2017

Sunday, December 6, 2015

Watch The TC Disrupt Hackathon Live Right Here!

all-things-tech: Ahoy, mates! We’re in foggy London town and Disrupt Europe 2015 is officially underway, as the Hackathon presentations kick off right now. In case you have no idea what I’m talking about, here’s the scoop: Before every TC Disrupt conference, we give coders and developers from the area a chance to check out the coolest APIs in the land and throw together a MVP in less than… Read More via TechCrunch http://ift.tt/1XLG1oZ

via Tumblr http://ift.tt/1SGHDtK all-things-tech: Ahoy, mates! We’re in foggy London town and Disrupt Europe 2015 is officially underway, as the Hackathon presentations kick off right now. In case you have no idea what I’m talking about, here’s the scoop: Before every TC Disrupt conference, we give coders and developers from the area a chance to check out the coolest APIs in the land and throw together a MVP in less than… Read More via TechCrunch http://ift.tt/1XLG1oZ

Saturday, November 7, 2015

JADAKISS: “T5DOA” - Pre-Order Today!!!

vitalgroundz: An album release from Jadakiss is like waiting on the next STAR WARS movie: “EPIC” to Day 1’s and for everyone else, usually worth the wait 100%. Top 5 Dead or Alive the 4th studio album, is set for Official Release November 20th. But today marked the start of Pre-orders, a perfect way to set off the weekend. “Pre-order T5DOA and on line waiting for Black Ops III. Then on the 20th merk everything moving“ with JASON on REPEAT. But you ain’t here it from me… 19 Tracks Strong & Heavy Hitters on deck, Check out the full tracklist below: 1. “Intro” – First 48? 2. “Shop Talk” (Skit) 3. “You Don’t Eat” (Feat. Puff Daddy) 4. “You Can See” (Feat. Future) 5. “Y.O. (Youthful Offenders)” (Feat. Akon) 6. “Jason” (Feat. Swizz Beatz) 7. “Kill” (Feat. Lil’ Wayne) 8. “Man In The Mirror” 9. “Synergy” (Feat. Styles P) 10. “Ain’t Nothin New” (Feat. Ne-Yo & Nipsey Hussle) 11. “So High” (Feat. Wiz Khalifa) 12. “Ahaa Interview” (Skit) 13. “Critical” (Feat. Jeezy) 14. “Confetti” (Skit) 15. “Cutlass” 16. “Realest In The Game” (Feat. Sheek Louch & Young Buck) 17. “Rain” (Feat. Nas & Styles P) 18. “One More Mile To Go” (Feat. Chayse) 19. “Baby” (Feat. Dyce Payne) PRE-ORDER NOW FOLLOW JADAKISS: Twitter: @Therealkiss | Instagram: therealkiss

via Tumblr http://ift.tt/20DxF1N vitalgroundz: An album release from Jadakiss is like waiting on the next STAR WARS movie: “EPIC” to Day 1’s and for everyone else, usually worth the wait 100%. Top 5 Dead or Alive the 4th studio album, is set for Official Release November 20th. But today marked the start of Pre-orders, a perfect way to set off the weekend. “Pre-order T5DOA and on line waiting for Black Ops III. Then on the 20th merk everything moving“ with JASON on REPEAT. But you ain’t here it from me… 19 Tracks Strong & Heavy Hitters on deck, Check out the full tracklist below: 1. “Intro” – First 48? 2. “Shop Talk” (Skit) 3. “You Don’t Eat” (Feat. Puff Daddy) 4. “You Can See” (Feat. Future) 5. “Y.O. (Youthful Offenders)” (Feat. Akon) 6. “Jason” (Feat. Swizz Beatz) 7. “Kill” (Feat. Lil’ Wayne) 8. “Man In The Mirror” 9. “Synergy” (Feat. Styles P) 10. “Ain’t Nothin New” (Feat. Ne-Yo & Nipsey Hussle) 11. “So High” (Feat. Wiz Khalifa) 12. “Ahaa Interview” (Skit) 13. “Critical” (Feat. Jeezy) 14. “Confetti” (Skit) 15. “Cutlass” 16. “Realest In The Game” (Feat. Sheek Louch & Young Buck) 17. “Rain” (Feat. Nas & Styles P) 18. “One More Mile To Go” (Feat. Chayse) 19. “Baby” (Feat. Dyce Payne) PRE-ORDER NOW FOLLOW JADAKISS: Twitter: @Therealkiss | Instagram: therealkiss

Random Influence...

vitalgroundz: We Rep #OLDSCHOOL | #NEWSCHOOL & Everything in Between! @VitalGroundz is officially killing the derogatory phrase #OLDSCHOOL & preserving the title #ROOTZ while the New Breed will rise as #SEEDZ Respect for All Generationz

via Tumblr http://ift.tt/1MEk7Zv vitalgroundz: We Rep #OLDSCHOOL | #NEWSCHOOL & Everything in Between! @VitalGroundz is officially killing the derogatory phrase #OLDSCHOOL & preserving the title #ROOTZ while the New Breed will rise as #SEEDZ Respect for All Generationz

Tuesday, October 20, 2015

Options for MySQL Database

jpstream: Almost all the websites on internet are built using the server-side scripting, hence, it is very much predicted for dedicated servers to have some form of database management system, either it can be a database server or a set of database libraries. MySQL is one of the world’s most popular open source Relational Database Management Systems (RDBMS). It is a most important part of the LAMP (Linux, Apache, MySQL, PHP) family. Customers opting for cheap web hosting services, will possibly expect the latest version of MySQL installed on the server. However, if you have your own server, you might want to take a look at the following choices for MySQL database. MySQL Database Alternatives MariaDB is a database software created by the MySQL founder, Michael Widenius (often called Monty), by bifurcating the MySQL software after the Oracle acquired Sun. MariaDB is a completely free and open source version which includes some unique features and functionality. PostgreSQL is one of the rivals of MySQL. It is an object relational database management system (ORDBMS) providing various appealing features and high-level performance. SQLite is a kind of relational database libraries, which doesn’t need a database server. These libraries are completely portable and simple to use, even in those situations where full database servers are not possible. Cassandra is an open source Apache project originally designed and developed by Facebook Inc. It is also known as a NoSQL solution, that offers greater scalability and several appealing features that makes it ideal for high traffic and high content websites, which is being used by sites like Digg. If you search you will find plenty of alternatives to MySQL database with many appealing features and functions. Though MySQL is known as one of the most popular database in the Japanese web hosting market, but it is surely not the only one.

via Tumblr http://ift.tt/1XiZBoY jpstream: Almost all the websites on internet are built using the server-side scripting, hence, it is very much predicted for dedicated servers to have some form of database management system, either it can be a database server or a set of database libraries. MySQL is one of the world’s most popular open source Relational Database Management Systems (RDBMS). It is a most important part of the LAMP (Linux, Apache, MySQL, PHP) family. Customers opting for cheap web hosting services, will possibly expect the latest version of MySQL installed on the server. However, if you have your own server, you might want to take a look at the following choices for MySQL database. MySQL Database Alternatives MariaDB is a database software created by the MySQL founder, Michael Widenius (often called Monty), by bifurcating the MySQL software after the Oracle acquired Sun. MariaDB is a completely free and open source version which includes some unique features and functionality. PostgreSQL is one of the rivals of MySQL. It is an object relational database management system (ORDBMS) providing various appealing features and high-level performance. SQLite is a kind of relational database libraries, which doesn’t need a database server. These libraries are completely portable and simple to use, even in those situations where full database servers are not possible. Cassandra is an open source Apache project originally designed and developed by Facebook Inc. It is also known as a NoSQL solution, that offers greater scalability and several appealing features that makes it ideal for high traffic and high content websites, which is being used by sites like Digg. If you search you will find plenty of alternatives to MySQL database with many appealing features and functions. Though MySQL is known as one of the most popular database in the Japanese web hosting market, but it is surely not the only one.