Shortcut to Restart Firefox on Linux using I3wm

First off if you’re a developer and not using i3wm you should really think about giving it a try, it’s like vim for the desktop. It’s a tiled window manager, but you don’t need to use the tiles, I prefer tabbed layout actually, but the brilliance is things like pressing Shift + mod (window key) + # will move an app to the workspace or window with that number easily. mod + right moves to the next tab over, Shift + mod + right moves the current window to the tab to the right, etc…

However, the BIGGEST feature is the ease of creating tons of customized scenarios for instance I have a custom hotkey in my i3 config that opens firefox, Hubstaff (time tracker), Wavebox (multi-slack app), and Thunderbird from one hotkey that I just use on restarting. You can even have windows and programs load automagically on reboot as well.

One thing I noticed with Firefox using 58 beta is that if I go away for awhile and come back after my pc has been sleeping I’ll sometimes have js popup warnings and my whole computer is basically frozen but not completely frozen. To deal with this at first I created a bash script:

Add this to ~/.bash_aliases and then nt firefox will basically force kill anything with firefox in the name, useful when you know what script to kill and you have access to shell. However, sometimes you don’t really have access to shell, or the computer is so bogged down it won’t let you switch windows or type very easily. So I moved this into my i3 config file as such:

That line is firefox specific and it also restarts firefox-beta, you can edit it however you like if you don’t want to restart just remove that part. 99% of the time firefox is the problem, and the only reason I don’t switch back to chrome is that I have tons of nginx sites using .dev and they fucked everything up by forcing https on .dev and I don’t want to rewrite all my server configs.

So fuck google chrome, I’ll use Firefox. I also prefer sidebar tabs vs horizontal just personal preference I’m hoping performance issues improve with firefox, but till then I got it covered.

Why the Singularity proves Time Travel Impossible

 

time travel possible

The fact is that Ray Kurzweil is a mad genius, he is definitely mad, and he’s definitely a genius, and some of his predictions are quite scary.

Nothing is more scary, and exhilarating as the thought of a technological singularity – the point in time where we–mankind become unecessary. For millenia, since the dawn of history WE humans have propelled ALL scientific discoveries, all progress has been a result of human intellect, and that intellect is what separates us from all other creatures in the world, and maybe even the universe(until proven wrong).

We have the ability to build, change, and disrupt the world around us, and even the universe in great and profound ways. Yet, it is predicted that there is an 80% chance that by 2040 we will have entered the post-human era. What is this? When a super-intelligent AI computer/robot eclipses the intellect and brain processing abilities of a human.

This sounds amazing, fascinating, and like science fiction, but let me ask you does warp drives, wormholes, time travel, blackholes(in a lab), cold fusion, lasers in warfare, space elevators sound like science fiction? What about a brain chip that can control a robot exoskeleton as an extension of the brain, –or a prosthetic device w/ the ability to send REAL touch back to the brain of the user — or printable kidneys? — YET many of these are not only being researched, but some are now a reality!

We are living in an AMAZING era where science fiction ceases to be fiction, and becomes part of reality. This gives me a huge noody™ (nerd woody), and scares the shit out of me at the same time. When we arrive at the point in history where a machine can do everything a human can, and do it better, we become the animal – a nuisance that takes up space, and no longer will we give way to advances in technology, because technology will be able to create new technology faster than we can conceive, research, and develop said technology. In other words, there is no point in us developing or building anything new after this point, as machines will be able to do it at a much faster speed, meaning we may probably not put as much value on education -what is the point when we don’t need to know anything because machines know it all?

Which brings me to time travel, IF time travel were possible it is postulated that we would be surrounded by time travellers, but they would mostly be disguised probably to avoid detection and possible paradoxes, BUT we are closer to AI than time travel, and if time travel is possible at all – it will be an yAI that discovers it, meaning that it will be robot’s that come back in time, and they would surely bring future technology backwards in time, in order to propel future growth even faster. Imagine giving a smartphone to someone in 1890 and all the engineering manuals upto 2010 – then repeating with even more data, and so forth.. .. or if time travel were possible wouldn’t there be a high likely-hood that something like the terminator would have already played out?

This is just thoughts and speculation of course, — there’s also the possibility that AI computers do discover time-travel but have a directive NOT to go back in time before the invent of the machine because doing so – and causing some sort of ‘havoc’ on mankind, would essentially wake up mankind to that fact that we’re going to destroy ourselves if we go further, and thus we stop all research on AI, and time travel – – yet, if we live in a multi-verse where that one robot from the future that came back to destroy us before we even discover how to make it — would keep on existing because it comes from a parallel world where it was created even though in this one, that will not happen, but if all time is linear w/out multi-verses or deviations then the question lies – if you remove a piece of history that leads to your creation, and you are currently residing in the history — do you then disappear instantaneously and cease to exist – and if you do cease to exist, how did you remove the piece of history since you weren’t created to do so…. — I guess that’s the nature of a paradox, and would something like this unravel time and space?

Or, what if we are as some scientists are postulating – a scientific computer simulation, at which point –creation of a paradox would not end the universe, but cause the simulation to ‘error out’ and crash. So, to us it will be end game, to the other us – doing the research, it’ll just be a temporary set-back needing further debugging.

The more I think about these topics, the more I feel that you almost need a super-intellect to even understand all the complexities that our future holds, and as I said from the start of this post, I am both exhilarated, and scared shitless at the same time, I say bring it, if we are to be destroyed, let’s just get it out of the way because there’s nothing to stop it – hopefully all generations of AI keep in mind Asimov’s 3 laws of robotics, and maybe we will survive this singularity, or maybe WE will become the machines, and instead of being out-paced by technology actually become the technology that replaces us in the world.

Planet of the Apes meets Terminator.

screen-shot-2013-02-21-at-12-16-40-pm
Cliffnotes version : Monkey gets rewarded for playing video game and hitting targets with controller. Switch to brain interface with robotic arm and he continues to be rewarded – interestingly the 3rd arm is like he really has a 3rd arm, he can now scratch with one arm, eat a banana with another, while using his 3rd arm to hit the target.

Fast forward almost 10 years and the monkey can now control a robot all the way across the planet in Japan. Most importantly the time it takes for the signal to travel from his brain to the robot is 20 milliseconds LESS than it takes to control his REAL body/legs.

Potential uses: The main goal of this project is to give arms and legs back spinal cord injury patients. Other uses though I’m sure will include military (think of an army of robotic avatars that cannot die!), gaming – imagine controlling the characters in Halo using your mind.

Personally, I see stuff like this, and I think I’ve somehow woken up on Star Trek, minus the warp-drive of course (sad, that this will probably not be realized in my life-time, if ever).

Here’s a video presentation that’s pretty awesome:

Source: VentureBeat

The A-toZ List of Internet Acronymns and Abbreviations So far 312. Did I miss any?

 

lol brb :-) @

  1. ! – I have a comment
  2. .02 – My two cents worth.
  3. ? – I have a question
  4. – the speaker chuckles
  5. – the speaker is frowning
  6. – Grin
  7. – the speaker is grinning
  8. – the one writing the message is smiling
  9. – the one writing the message is smirking
  10. – the one writing the message is winking
  11. AAMOF – As A Matter Of Fact
  12. AFAIK – As Far as I Know
  13. AFK – away from keyboard (I am gone for a few minutes)
  14. AISI – As I See It
  15. A-OLs – Administrators On-Line
  16. ASAP – As Soon As Possible
  17. ASL – age / sex / location?
  18. ATSL – Along The Same Line
  19. AWHFY – Are We Having Fun Yet?
  20. AYOR – At Your Own Risk
  21. B4N – Bye For Now
  22. BAK – Back At Keyboard
  23. BBFN – Bye Bye For Now
  24. BBIAB – Be Back in a Bit
  25. BBL – Be Back Later
  26. BF – Boy Friend
  27. BFF – Best friends, forever!
  28. BFN – Bye For Now
  29. BIF – Before I Forget
  30. BIO – going for bio break (washroom break)
  31. BION – Believe it or not
  32. BOT – Back On Topic
  33. BRB – be right back
  34. BRB – Be Right Back
  35. BTAIM – Be That As It May
  36. BTHOM – Beats The Hell Outta Me
  37. BTOBD – Be There Or Be Dead
  38. BTW – By The Way
  39. BWL – Bursting With Laughter
  40. BYKT – But You Knew That
  41. BYOB – Bring Your Own Bottle
  42. CMIIW – Correct Mve If I’m Wrong
  43. CU – See You
  44. CU2 – See You, Too
  45. CUL – See you later
  46. CUL8R – See You Later
  47. CWYL – Chat With You Later
  48. CYA – see ya (or it could also be: cover your a*s)
  49. DH – darling husband
  50. DIIK – Damned If I Know.
  51. DIKU? – Do I Know You?
  52. DILLIGAD – Do I Look Like I Give A Damn?.
  53. DIY – Do It Yourself
  54. DK – Don’t Know
  55. F2F – Face To Face
  56. FCFS – First Come, First Served
  57. FISH – First In, Still Here
  58. FITB – Fill In The Blank
  59. FMV – fair market value (for selling items online)
  60. FOAD – F*** off and die
  61. FOAF – Friend Of A Friend
  62. FS – For Sale
  63. FTASB – Faster Than A Speeding Bullet
  64. FTF – Face To Face
  65. FTL – Faster Than Light
  66. FUBAR – Fouled Up Beyond All Repair
  67. FUBB – Fouled Up Beyond Belief.
  68. FUD – Fear, Uncertainty and Doubt
  69. FURTB – Full Up Ready To Burst
  70. FWIW – For What It’s Worth
  71. FYA – For Your Amusement
  72. FYI – For Your Information
  73. G – Grin, or Giggle
  74. G2G – Got to Go
  75. GA – Go Ahead
  76. GAL – Get A Life
  77. GD&R – Grinning, Ducking and Running
  78. GF – Girl Friend.
  79. GFN – Gone For Now.
  80. GG – good game
  81. GIWIST – Gee, I Wish I’d Said That
  82. GLGH – Good Luck and Good Hunting
  83. GMTA – Great Minds Think Alike
  84. GOWI – Get On With It
  85. GTG – Got To Go
  86. GTSY – Great To See You
  87. H&K – Hugs and Kisses
  88. HAK – Hugs And Kisses
  89. IAC – In Any Case
  90. IAE – In Any Event
  91. IANAL – I Am Not A Lawyer (but) A disclaimer which is usually followed by a legal opinion
  92. IAW – In Accordance With
  93. IBTD – I Beg To Differ
  94. IBTL – in before the lock (for when you post a message prior to the administrator locking the heated discussion thread)
  95. IC – I See
  96. IDK – I Don’t Know
  97. IIRC – If I Recall Correctly…
  98. IIWM – If It Were Me
  99. IJWTK – I Just Want To Know
  100. IJWTS – I Just Want To Say
  101. IKWUM – I Know What You Mean
  102. IMA – I Might Add
  103. IME – In My Experience
  104. IMHO – In My Humble Opinion
  105. IMNSHO – In My Not So Humble Opinion
  106. IMO – In My Opinion
  107. IMPOV – In My Point Of View
  108. INPO – In No Particular Order
  109. IOW – In Other Words
  110. IRL – In Real Life
  111. ISS – I’m So Sure
  112. ISSYGTI – I’m So Sure You Get The Idea!
  113. ISWYM – I See What You Mean
  114. ITFA – In The Final Analysis
  115. ITSFWI – If The Shoe Fits, Wear It!
  116. IYSWIM – If You See What I Mean
  117. JAM – Just A Minute
  118. JAS – Just A Second
  119. JFI – Just For Information
  120. lol brb :-) @JIC – Just In Case
  121. JK – Just Kidding
  122. JMHO – Just My Humble Opinion
  123. JMO – Just My Opinion
  124. JTLYK – Just To Let You Know
  125. k – Okay
  126. KISS – Keep It Simple, Stupid
  127. KIT – Keep In Touch
  128. KK – OK (commonly used by online gamers to acknowledge that a message has been received)
  129. KMA – Kiss My A**
  130. KWIM – Know What I Mean?
  131. KYFC – Keep Your Fingers Crossed
  132. L – Laugh
  133. L8R – Later
  134. LABATYD or LAB&TYD – Life’s A B**ch And Then You Die
  135. LJBF – Let’s Just Be Friends
  136. LLTA – Lots and Lots of Thunderous Applause
  137. LMAO – Laughing My A** Off
  138. LMHO – Laughing My Head Off
  139. LOL – Laughing Out Loud
  140. LSHMBH – Laughing So Hard My Belly Hurts.
  141. LTHTT – Laughing Too Hard To Type
  142. LTNS – Long Time No See
  143. LTNT – Long Time, No Type
  144. LTS – Laughing to Self
  145. LY – Love You
  146. MEGO – My Eyes Glaze Over
  147. MLA – Multiple Letter Acronym
  148. MOF – Matter Of Fact
  149. MOSS – Member Of Same Sex
  150. MOTAS – Member Of The Appropriate Sex
  151. MOTD – Message of the day
  152. MOTOS – Member Of The Opposite Sex
  153. MOTSS – Member Of The Same Sex
  154. MT – mistell (commonly used by online gamers to say that they made a mistake and mistyped their last message)
  155. MTFBWY – May The Force Be With You
  156. MYOB – Mind Your Own Business
  157. NAVY – Never Again Voluneer Yourself.
  158. NBD – No Big Deal
  159. NFW – No Friggin’ Way!
  160. NHOH – Never Heard Of Him/Her
  161. NOYB – None Of Your Business
  162. NP – no problem/you’re welcome
  163. NQA – No Questions Asked
  164. NSFW – Not Safe for Workplace viewing (warning that there is sexual or repulsive content)
  165. NTIM – Not That It Matters
  166. NTW – Not To Worry
  167. NTYMI – Now That You Mention It
  168. NVM – Never Mind
  169. NWOT – new without tags (for selling items online)
  170. NWT – New With Tags (for selling items online)
  171. OATUS – On A Totally Unrelated Subject
  172. OAUS – On An Unrelated Subject
  173. OB – Obligatory
  174. OBO – Or Best Offer
  175. OBTW – Oh, By The Way
  176. OIC – Oh, I See
  177. OMG – Oh My God
  178. ONNA – Oh No, Not Again
  179. ONNTA – Oh No, Not This Again
  180. OO – Over and Out (end of communication)
  181. OOAK – one of a kind (for selling items online)
  182. OOTC – Obligatory On-Topic Comment
  183. OP – The Original Poster (who started this
  184. OTF – On the Floor (laughing)
  185. OTFL – On the Floor Laughing
  186. OTL – Out To Lunch
  187. OTOH – On The Other Hand
  188. OTOOH – On The Other Other Hand
  189. OTT – Over The Top
  190. OTTH – On The Third Hand
  191. OTTOMH – Off The Top Of My Head
  192. PABG – Packing a Big Gun
  193. PCMCIA – People Can’t Memorize Computer Industry Acronyms
  194. PD – Public Domain
  195. PDS Please Don’t Shout.
  196. PITA Pain In The A**
  197. PLZ – please
  198. PMBI – Pardon My Butting In
  199. PMF – Pardon My French or Pure Freaking Magic.
  200. PMFBI – Pardon Me For Butting In
  201. PMFJI – Pardon Me For Jumping In
  202. PMIGBOM – Put Mind In Gear, Before Opening Mouth
  203. PMJI – Pardon My Jumping In
  204. PMSL – P*ssing myself laughing (a common UK expression)
  205. PNCAH – Please, No Cursing Allowed Here
  206. POSSLQ – Person of Opposite Sex, Sharing Living Quarters
  207. PPL – People
  208. PTMM – Please Tell Me More
  209. QFT – quoted for truth (a compliment to another person on the forum)
  210. R U THERE? – Are you there?
  211. RAEBNC – Read And Enjoyed, But No Comment
  212. re – Hello again or In Regard To
  213. RHIP – Rank Has Its Privileges
  214. RL – real life
  215. RLCO – Real Life Conference
  216. ROFL – Rolling On Floor Laughing
  217. ROFLAS – Rolling On Floor Laughing And Screaming
  218. ROFLMAO – rolling on floor laughing my a*s off
  219. ROTF – Rolling On The Floor
  220. ROTFL – Rolling On The Floor Laughing
  221. ROTFLMAOTID – Rolling On The Floor Laughing My A** Off Till I Die
  222. ROTFLOL – Rolling On The Floor Laughing Out Loud
  223. ROTFLOLAPMP – Rolling On The Floor Laughing Out Loud And Peeing My Pants
  224. ROTFLTIC – Rolling On The Floor Laughing Till I Cry
  225. RRQ – Return Receipt Request
  226. RSN – Real Soon Now
  227. RSVP – Respondez S’il Vous Plait – please reply
  228. RTBM – Read The Bloody Manual
  229. RTFAQ – Read The Frequently Asked Questions
  230. RTFF – Read The Freaking FAQ
  231. RTFM – read the f***ing manual (to show frustration at someone’s ignorance of basic knowledge)
  232. RTM – Read The Manual
  233. RTWFQ – Read The Whole Friggin’ Question
  234. RYFM – Read Your Friendly Manual
  235. RYS – Read Your Screen
  236. S – Smile
  237. SAPFU – Surpassing All Previous Foul Ups
  238. SCNR – Sorry, Could Not Resist
  239. SEC – Wait a second
  240. SFLA – Stupid Four Letter Acronym
  241. SICS – Sitting In Chair Snickering
  242. SLM – See Last Mail
  243. SMOP – Small Matter of Programming
  244. SNAFU – Situation Normal: All Fouled Up
  245. SO – Significant Other
  246. SOL – SH** Out Of Luck
  247. SOS – Same Old Stuff or Help!
  248. SOW – Speaking Of Which
  249. SWIM – See What I Mean?
  250. TAFN – That’s All For Now
  251. TANJ – There Ain’t No Justice
  252. TANSTAAFL – There Ain’t No Such Thing As A Free Lunch
  253. TARFU- Things Are Really Fouled Up
  254. TBYB – Try Before You Buy
  255. TDM – Too Darn Many
  256. TFS – Three Finger Salute (Ctl-Alt-Del).
  257. TFTHAOT – Thanks For The Help Ahead Of Time
  258. THX – thanks
  259. TIA – Thanks In Advance
  260. TIC – Tongue In Cheek
  261. TINWIS – That Is Not What I Said
  262. TNSTAAFL – There’s No Such Thing As A Free Lunch
  263. TNTL – Trying Not To Laugh
  264. TNX – Thanks
  265. TNXE6 – Thanks A Million
  266. TOBAL – There Oughta Be A Law.
  267. TOBG – This Oughta Be Good.
  268. TOY – Thinking Of You.
  269. TPTB – The Powers That Be
  270. TRDMC – Tears Running Down My Cheeks.
  271. TSR – Totally Stupid Rules.
  272. TTBOMK – To The Best Of My Knowledge
  273. TTFN – Ta Ta For Now
  274. TTYL – talk to you later
  275. TTYT – Talk To You Tomorrow.
  276. TX – thanks
  277. TY – thank you
  278. TYCLO – Turn Your CAPS LOCK Off
  279. TYVM – Thank You Very Much
  280. UOK – Are You OK?
  281. W/E – whatever
  282. WAEF – When All Else Fails
  283. WB – Welcome Back
  284. WDYMBT – What Do You Mean By That?.
  285. WDYT – What Do You Think?
  286. WE – Whatever
  287. WIBAMU Well, I’ll Be A Monkey’s Uncle
  288. WIBNI – Wouldn’t It Be Nice If
  289. WMMOWS – Wash My Mouth Out With Soap
  290. WNOHGB – Where No One Has Gone Before
  291. WOA – Work Of Art
  292. WOTAM – Waste Of Time And Money
  293. WRT – With Regard To, or With Respect To
  294. WT – Without Thinking
  295. WTB – Want To Buy
  296. WTF – What The F***?
  297. WTG – Way To Go!
  298. WTGP – Want To Go Private?
  299. WTH – What the hell?
  300. WTTM – Without Thinking Too Much.
  301. WYGISWYPF – What You Get Is What You Pay For
  302. XOXOXO – Kisses and hugs
  303. YABA – Yet Another Bloody Acronym
  304. YAOTM – Yet Another Off-Topic Message
  305. YAUN – Yet Another Unix Nerd
  306. YGLT – You’re Gonna Love This
  307. YGTI – You Get The Idea?
  308. YGWYPF – You Get What You Pay For
  309. YIU – Yes, I Understand
  310. YIWGP – Yes, I Will Go Private
  311. YKYARW – You Know You’re A Redneck When
  312. YMMV – Your Mileage May Vary (or your experience could be different)