How to flush DNS cache Mac OS X Yosemite 10.10

DNS cache keeps an IP address stored in your computer. If you’re doing web development and you’ve moved your content to a new server sometimes you can’t reach it. The DNS entry needs to be changed.

In Mac OSX 10.10 Mavericks open up your terminal Application located in Applications/Utilities/Terminal

Mac OSX Terminal

One Simple Step to Clear DNS Cache on OS X Yosemite:

sudo discoveryutil udnsflushcaches

Now, ping the domain that was cached and the new IP should show up for you.

Set Default Browser in Mac OS X Yosemite – Chrome, Safari, Firefox

In previous versions of Mac OS X you defined the default browser inside of Safari. In Mac OS X you set the default browser inside of System Preferences -> General -> Default web browser.

Step 1: Open Up System Preferences and click on the “General” icon

Mac-OS-X-Yosemite-set-default-browser-System-Preferences

Step 2: Select your default browser. I am switching from Safari to Google Chrome Canary

Mac-OS-X-Yosemite-set-default-browser-Default-web-browser

Now when you get a link in your email or any other place your new default browser will open up. Happy web surfin’.

View website domain before DNS A record is changed on Mac OS X Yosemite and Mavericks

You’re developing a site on a sub-domain or development server that is setup something like this, dev.YourDomain.com and you want to see if all the files and paths are correct. You’ve moved the site to a new server and IP and you want to check YourDomain.com there without disrupting the live site. Simply edit your /private/etc/hosts file on your Mac OS X box to reflect the new IP you want to test.

Real Live Site: YourDomain.com IP 2.2.2.2
Dev Site: dev.YourDomain.com IP 3.3.3.3
DNS Masked Site: YourDomain.com IP 4.4.4.4

Simply edit /private/etc/hosts and add the line

4.4.4.4 yourdomain.com www.yourdomain.com

Now when you ping yourdomain.com your system will return 4.4.4.4. Open up your browser and test your new site before making the DNS switch on the real DNS servers.

The hosts file is used to map hostnames to IP addresses. With the hosts file you can change the IP to which you resolve a certain domain name.

This is particularly useful when you wish to see how a website will look when hosted on a different server without having to wait for a DNS change to propagate, or avoiding any DNS changes at all.

Google Online Security Blog: This POODLE bites: exploiting the SSL 3.0 fallback

Say Goodbye to SSL 3.0

Today we are publishing details of a vulnerability in the design of SSL version 3.0. This vulnerability allows the plaintext of secure connections to be calculated by a network attacker. I discovered this issue in collaboration with Thai Duong and Krzysztof Kotowicz (also Googlers).

Google Online Security Blog: This POODLE bites: exploiting the SSL 3.0 fallback.

Rosicrucianism – Wikipedia, the free encyclopedia

I’d like to learn a little bit more about this ancient secret group of peoples.

Rosicrucianism is a philosophical secret society said to have been founded in late medieval Germany by Christian Rosenkreuz. It holds a doctrine or theology “built on esoteric truths of the ancient past”, which, “concealed from the average man, provide insight into nature, the physical universe and the spiritual realm.”[1] Rosicrucianism is symbolized by the Rosy Cross.

Rosicrucianism - Wikipedia, the free encyclopedia

 

Between 1607 and 1616, two anonymous manifestos were published, first in Germany and later throughout Europe.[2] These were the Fama Fraternitatis RC (The Fame of the Brotherhood of RC) and the Confessio Fraternitatis (The Confession of the Brotherhood of RC). The influence of these documents, presenting a “most laudable Order” of mystic-philosopher-doctors and promoting a “Universal Reformation of Mankind”, gave rise to an enthusiasm called by its historian Dame Frances Yates the “Rosicrucian Enlightenment”.[3]

Rosicrucianism was associated with Protestantism (Lutheranism in particular),[4] and the manifestos opposed Roman Catholicism and its preference for dogma over empiricism. They traced their philosophy and science to the Moors, asserting that it had been kept secret for 120 years until the intellectual climate might receive it.[citation needed]

Early seventeenth-century occult philosophers such as Michael Maier, Robert Fludd and Thomas Vaughan interested themselves in the Rosicrucian world view.[3] According to historian David Stevenson it was also influential to Freemasonry as it was emerging in Scotland.[4] In later centuries, many esoteric societies have claimed to derive their doctrines, in whole or in part, from the original Rosicrucians. Several modern societies have been formed for the study of Rosicrucianism and allied subjects.

via Rosicrucianism – Wikipedia, the free encyclopedia.

The Sound of Sorting – “Audibilization” and Visualization of Sorting Algorithms – panthema.net

Sorting algorithms are an essential chapter in undergraduate computer science education. Due to their easy to explain nature and fairly straight-forward analysis, this set of algorithms offers a convenient introduction to the methods and techniques of theoretical computer science and algorithm analysis.

This web page presents my own demo program for sortings algorithms, called “The Sound of Sorting”, which both visualizes the algorithms internals and their operations, and generates sound effects from the values being compared. See below for YouTube videos created with the demo.

The demo is implemented using the cross-platform toolkits wxWidgets and SDL, can be executed on Windows, Linux and Mac, and runs in real time.


The Sound of Sorting – “Audibilization” and Visualization of Sorting Algorithms – panthema.net.

Care About Hungry People? Eat More Plants – MFABlog.org

Change the world and yourself people… :)

Love all creatures.

Care About Hungry People? Eat More Plants – MFABlog.org.

If everyone in the United States decided to eat a vegan diet, would there be enough food to feed the 10 billion people the U.N. projects will inhabit the planet by 2011? According to a recent article in Marketplace, the answer is yes. Here’s why:

The article focuses on the corn market, but not the kind of corn that you find canned or frozen at your local grocery store. The corn centered on is used as animal feed. In the United States, field corn is the largest crop in the country, but only 8.5 percent goes into our foods and drinks, leaving the majority of corn grown in the United States to fill up the bellies of animals raised for food.

StopHungerNow.org reports that “one in every nine people on our planet goes to bed hungry each night.” And Bruce Babcock, an economics professor at Iowa State University, says if more people transitioned to a vegan diet, “there would be such a surplus of farmland to grow kumquats and pecans that we would be awash in those, in a heartbeat.”

Reddit, what is an awesome song that I have probably not heard? : AskReddit

Reddit, what is an awesome song that I have probably not heard? : AskReddit.

I’ll have to check out some of these songs:

 

I travel a lot and try my best to check out local music, so here are some I’d recommend:

  1. Adımı Kalbine Yaz by Tarkan (Turkey)[1]  and here’s the original version[2] 

  2. Encontro Marcado by Banda Eva (Brazil)[3] 

  3. Comme Des Enfants by Coeur De Pirate (French Canadian)[4] 

  4. Yoshua Alikuti by The Very Best (Malawi/UK)[5] 

  5. Los Vinos by Otros Aires (Argentina)[6] 

  6. La Paranza by Daniele Silvestri (Italy)[7] 

  7. Ti Porto Via Con Me by Jovanotti ft. Benny Benassi (Italy)[8] 

  8. Infréquentable by Bénabar (France)[9] 

  9. Ich Will by Rammstein (Germany)[10] 

  10. Willst Du by Alligatoah (Germany)[11] 

  11. Ilusión by Fonseca (Colombia)[12] 

  12. Vazgeçmem by Murat Boz (Turkey)[13] 

  13. Pes To Mou Ksana by Nikos Vertis (Greece)[14] 

  14. Azonto Ghost by Bisa Kdei (Ghana)[15] 

  15. Oti Thelis by Giorgos Giannias (Greece)[16] 

  16. Sakuta by Lena Timas (Cape Verde)[17] 

  17. Tum Jo Aaye Zindagi by Rahat Fateh Ali Khan and Tulsi Kumar (India)[18] 

  18. Ringa Ringa by A.R. Rahman, Alka Yagnik & Ila Arun (India)[19] 

  19. Salaam E Ishq by I’m not really sure who sings this (India)[20] 

  20. Aaj Mausam Bada Beimann Hai by Mohammad Rafi (India)[21] 

  21. Deixa A Vida Me Levar by Zeca Pagodinho (Brazil)[22] 

  22. Coração Radiante by Grupo Revelação (Brazil)[23] 

  23. Nho Antone Escaderode by Cesaria Evora (Cape Verde)[24] 

  24. Te Llevaré Al Cielo by Maná (Mexico)[25] 

  25. Seninle Çok İşim Var by Ebru Gündeş (Turkey)[26] 

  26. Brother Down by Sam Roberts (Canada)[27] 

  27. L.I.F.E.G.O.E.S.O.N. by Noah and The Whale (UK)[28] 

  28. Çıkmaz Sokaklar by Eflatun ft. Burcu Güneş (Turkey)[29] 

  29. Sur Toute La Ligne by Alex Beaupain (France)[30] 

  30. Efyge Efyge by Stelios Kazantzidis (Greece)[31] 

  31. Sweater by Willow (Belgium)[32] 

  32. Divaneh Shodam by Sepideh (Persian from France)[33] 

  33. Gol Pari by Shahram Solati (Iran)[34] 

  34. Balanço Rede Mar by Banda Eva (Brazil)[35] 

  35. Lakes by The Strumbellas (Canada)[36] 

  36. Want For Anything by Ernest Ellis (Australia)[37] 

  37. Enter Through The Sun by Young Empires (Canada)[38] 

  38. Bâtard by Stromae (Belgium)[39] 

  39. Parlez-Moi D’Amour by Lucienne Boyer (France)[40] 

  40. La Valse A Mille Temps by Jacques Brel (Belgium)[41] 

  41. 6 AM by J. Balvin ft. Farruko (Colombia)[42] 

  42. Blommorna by Jonathan Johansson (Sweden)[43] 

  43. Sur Ma Route by Black M (France)[44] 

  44. Chunari Chunari by Abhijeet and Anuradha Shriram (India)[45] 

  45. Sideways by Wrabel (US)[46] 

  46. Salt by Bad Suns (US)[47] 

  47. Good Intentions by Robert Ellis (US)[48] 

  48. All In White by The Vaccines (UK) NSFW[49] 

  49. I’m Not Contagious by Chromeo (Canada)[50] 

  50. Carry On by Pat Green (US)[51] 

  51. A Te by Jovanotti (Italy)[52] 

  52. Que Veux-tu (Madeon Remix) by Yelle (France)[53] 

  53. Steal The Light by The Cat Empire (Australia)[54] 

  54. Ohi Den Prepi by Mario Frangoulis and George Perris (Greece)[55] 

  55. Luna Rossa by Mario Frangoulis (Neapolitan by Greek Tenor)[56] 

  56. Reflections by MisterWives (US) Shout out to Murph[57] 

  57. Mala Gente by Juanes (Colombia)[58] 

  58. The Sailor Song by Autoheart (UK)[59] 

  59. Antenna by Fuse ODG (Ghana/UK) check out this dance[60] 

  60. Play With Fire by Vance Joy (Australia)[61] 

  61. Shadow Of A Man by Neulore (US)[62] 

  62. 8 mm by Yann Tiersen (Brittany)[63] 

  63. River Flows In You by Yiruma (South Korea)[64] 

  64. Feels Like Coming Home by Jetta (UK)[65] 

  65. All I Want by Kodaline (Ireland)[66] 

  66. Running To The Sea by Röyksopp ft. Susanne Sundfør (Norway)[67] 

  67. C’est La Vie by Cheb Khaled (Algeria)[68] 

  68. Automagic by Televisor (not sure where from)[69] 

  69. Wonderlust King by Gogol Bordello (US/Ukrainian)[70] 

  70. Pala Tute by Gogol Bordello (US/Ukrainian)[71] 

  71. November by Trampled By Turtles (US)[72] 

  72. I’m Gonna Give My Heart by The London Boys (Germany)[73] 

  73. Now Is Not The Time by CHVRCHES (Scotland)[74] 

  74. Swinging London by The Magnetic Fields (US)[75] 

  75. Thrash Unreal by Against Me! (US)[76] 

Bill Gates: Bitcoin Currency Is Exciting Because It’s Cheap: Video – Bloomberg

Bill Gates was just interviewed by Erik Schatzker because he’s at the Annual Banking and Financial Conference in Boston talking about his foundation’s initiative to help the unbanked. A couple minutes in this question gets asked:

Schatzker: Some of what you just described, the need to move money from place to place, the cost of doing so, the overhead as you put it makes me think, believe it or not, of Bitcoin because some people have said, “Hey Bitcoin is the answer to those problems”. Are you a believer?

Bill Gates: Bitcoin is exciting because it shows how cheap it can be. Bitcoin is better than currency in that you don’t have to be physically in the same place and of course for large transactions currency can get pretty inconvenient. The customers we’re talking about aren’t trying to be anonymous. You know they’re willing to be known so the Bitcoin technology is key and you could add to it or you could build a similar technology where there’s enough attribution that people feel comfortable that this is nothing to do with terrorism or any type of money laundering.

Bill Gates: Bitcoin Currency Is Exciting Because It’s Cheap: Video – Bloomberg.

Mining Bitcoin with pencil and paper: 0.67 hashes per day – Friggin’ Crazy! Ken Shirriff’s blog:

Mining Bitcoin with pencil and paper: 0.67 hashes per day

I decided to see how practical it would be to mine Bitcoin with pencil and paper. It turns out that the SHA-256 algorithm used for mining is pretty simple and can in fact be done by hand. Not surprisingly, the process is extremely slow compared to hardware mining and is entirely impractical. But performing the algorithm manually is a good way to understand exactly how it works.

 

 

 

Ken Shirriff’s blog: Mining Bitcoin with pencil and paper: 0.67 hashes per day.

 

me.stuff(spin());