Monday, 25 December 2017

Arduino Icons

Here are Aarduino boards in icons for those who like to have it. (transparent background)
link for zip file download 

Logo 400px
Logo 1000px

Logo 48px.ico

IDE 48px.ico




Nano 495px

Uno 795x575px
Uno 48px.ico
Nano 48px.ico



Digispark 303px
ProMini 350px
ProMini 48px.ico
Digispark 48px.ico




Friday, 22 December 2017

Sex, Gender, Identity and Equality

Just a short observation and a (somewhat) sensible proposal

One interesting thing about the identity politics has been the issue of identities itself. I see people going around and demanding others to correctly identify and use their "appropriate" pronouns (all 70+ of them). obviously it's crazy making and a complete nonsense. people somehow think that breaking up identities to more and more fine-grained categories bizarrely is more inclusive.

Additionally some people claim, "he" and "she" are not inclusive enough therefore we need more sub-categories. I'm actually proposing the exact opposite, we should get rid of all the other stuff and just refer to everyone and everything as "It". not only that "It" is much more inclusive within our own species, "It" also reflects our relationship to the rest of the planet, and even the universe more accurately. we are one and the same, made of the same materials and bound by the same physical rules.

So, instead of division, let us unite under one truly all-inclusive pronoun, "It".
The whole universe is made of "It". "It" has been around since the beginning of time and "It" will be around to the very end. "It" is around us, "It" is within us and we are full of "It", just embrace "It" and let "It" move us to a browner (brighter?) future



✝Footnote
Yes I am sick of this identity politics shit.
Yes I am actually serious about using one single pronoun
Yes, the argument of unifying vs. division actually holds

Thursday, 7 December 2017

A collection of quotes (that I relate to) in no particular order


"A preoccupation with the next world clearly shows an inability to cope credibly with this one." Richard K. Morgan

"It is even harder for the average ape to believe that he has descended from man." H. L. Mencken

"Not all those who wander are lost." J.R.R. Tolkien

"Happiness in intelligent people is the rarest thing I know." Ernest Hemingway

"You can easily judge the character of a man by how he treats those who can do nothing for him." James D. Miles

"Shoot myself to love you, If I loved myself I'd be shooting you" Fundamentally Loathsome - Marilyn Manson

"So long & Thanks for all the Fish..." hitchhiker's guide to the galaxy - Douglas Adams

"Some of you say religion makes people happy...., so does laughing gas." Clarence Darrow

"The best time to plant a tree is twenty years ago. The second best is now." Chinese Proverb

"I have loved the stars too fondly to be fearful of the night." Sarah Williams

"Live until you don't" Jeb Corliss (Base Jumper - WingSuit Flyer)

"If the world does come to an end, here, or wherever, who lives into the future, decimated by the effects of a religion inspired nuclear terrorism, let's remember what the problem was; that we learnt how to precipitate mass death before we got past the neurological disorder of wishing for it. That's it, GROW UP OR DIE." Bill Mahr

===== Isaac Asimov =====================
"Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'"

===== Neil deGrasse Tyson ==============
"For me, I am driven by two main philosophies, know more today about the world than I knew yesterday. And lessen the suffering of others. You'd be surprised how far that gets you."

===== House (TV Series) ================
"Somewhere out there is a tree, tirelessly producing oxygen so you can breath. I think you owe it an apology."

"you know I get it people are looking for a way to fill the holes..., but they want the holes, they want to live in the holes, and they go nuts when someone else pours dirt in their holes..., climb out of your holes people!" S02E19

===== Bertrand Russell =================
"Religion is based, I think, primarily and mainly upon fear. It is partly the terror of the unknown and partly, as I have said, the wish to feel that you have a kind of elder brother who will stand by you in all your troubles and disputes. Fear is the basis of the whole thing -- fear of the mysterious, fear of defeat, fear of death. Fear is the parent of cruelty, and therefore it is no wonder if cruelty and religion have gone hand in hand."

===== Mark Twain =======================
"I do not fear death. I had been dead for billions and billions of years before I was born, and had not suffered the slightest inconvenience from it"

"A person who won't read has no advantage over one who can't read."

===== Friedrich Nietzsche ==============
"People don't want to hear the truth because they don't want their illusions destroyed"

===== Jacque Fresco ====================
" I was asked once, "You're a smart man. Why aren't you rich?" I replied, "You're a rich man. Why aren't you smart? "

"I have no notions of a perfect society, I don't know what that means. I know we can do much better than what we've got, I'm no utopian, I'm not a humanist that would like to see everybody living in warmth and harmony: I know that if we don't live that way, we'll kill each other and destroy the Earth."

"The majority of the people of the world today are unsane, not insane, unsane meaning having been exposed to methods of evaluation that have long rendered obsolete, our language in the future will change to a saner language where we have no argument in it, 'can there be such a language?' there is, when engineers talk to each other, it's not subject to interpretation, they use math, they use descriptive systems, if I interpreted what another engineer said in the way I think he meant it: you couldn't build bridges, dams, power transmission lines. The language has to have meaning."

===== Richard Dawkins ==================
"I am against religion because it teaches us to be satisfied with not understanding the world."

===== Ricky Gervais ====================
"Why won't people believe that I am God? It's really annoying. They suddenly want proof. I shouldn't have to prove it. What happened to faith?"

" 'I'll pray for you' = I want some credit for caring, without actually having to do anything that takes any effort or that actually works' "

===== Anonymous ========================
"Only kids count sheep to fall asleep. Count your debts, your mistakes, your heartache and cry yourself to sleep like a grownup!"

"You never see churches with free wifi because no church wants to compete with an invisible power that actually works"

"The Bible is 100% accurate....When thrown at close range.."

===== Rorschach (Watchmen) =============
"None of you seem to understand. I'm not locked in here with you. You're locked in here with *ME*!"

"Never compromise. Not even in the face of Armageddon. That's always been the difference between us, Daniel."

"Men get arrested. Dogs get put down."

"This city's afraid of me... I've seen its true face..."

===== George Carlin ====================
"Inside every cynical person, there is a disappointed idealist."

===== Oscar Wilde ======================
"We are all in the gutter, but some of us are looking at the stars."

===== Carl Sagan =======================
"Science is not perfect. It's often misused; it's only a tool, but it's the best tool we have. Self-correcting, ever changing, applicable to everything: with this tool, we vanquish the impossible."

"Science is a way of thinking much more than it is a body of knowledge."

===== George Bernard Shaw ==============
"A man of great common sense and good taste - meaning thereby a man without originality or moral courage"

"A gentleman is one who puts more into the world than he takes out"

===== George Orwell ====================
"The further a society drifts from the truth, the more it will hate those that speak it."

"Many people genuinely do not wish to be saints, and it is possible that some who achieve or aspire to sainthood have never had much temptation to be human beings"

===== Albert Einstein ==================
"Nationalism is an infantile disease. It is the measles of mankind."

"I have no special talent. I am only passionately curious."

"if you can't explain it simply you don't understand it well enough"

"Why should I memorize something I can so easily get from a book?"

"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."

"The difference between genius and stupidity is that genius has its limits"

"A question that sometimes drives me hazy: am I or are the others crazy?"

===== Sigmund Freud ====================
"Dreams are often most profound when they seem the most crazy"

"Religion is an illusion and it derives its strength from the fact that it falls in with our instinctual desires"

"I have found little that is "good" about human beings on the whole. In my experience most of them are trash, no matter whether they publicly subscribe to this or that ethical doctrine or to none at all. That is something that you cannot say aloud, or perhaps even think"

===== Marilyn Manson ===================
"You get depressed because you know that you're not what you should be."

"Find out what's really out there. I never said to be like me, I say be like you and make a difference"

"A lot of people don't want to make their own decisions. They're too scared. It's much easier to be told what to do"

"Part of me is afraid to get close to people because I'm afraid that they're going to leave"

===== Steven Wright ====================
"A lot of people are afraid of heights. Not me, I'm afraid of widths"

"I drive way too fast to worry about cholesterol"

"I have an existential map. It has 'You are here' written all over it"

"I live on a one-way street that's also a dead end. I'm not sure how I got there"

========================================

Wednesday, 6 December 2017

Portable stereo speaker (digital amp) 5V 3-5W

I was never a fan of internal speakers on phones, even the best of them. the sound is always jarring and too strong in the 1-5kHz band. whilst they rarely can reproduce frequencies under 500Hz. and that is mainly due to the fact that physics is a harsh bitch (the size of the speaker and speaker box dictates the resonance range and hence power output at various frequencies).

So, what's a man to do? well that depends to the type of man. some go and buy a cheap compact speaker that sounds shite, some buy expensive ones (ex. Logitech UE series $100-$400) and live with what has been made for them, OR, he makes his own damn speakers! with all the features he wants and none of the nonsense he doesn't. 




[after 9 months of regular use]


So, here are my criteria:

Want
  • Simple and robust
  • Wired connection
  • Potential for upgrades and add-ons
  • USB rechargeable
  • Long runtime
  • Repairability
  • Modular


Don't want

  • Complication (fidgeting with bluetooth, pairing, hold buttons for on/off or functions, etc)
  • Loads of controls that rarely get used
  • Large or heavy
  • Short battery life (high standby current)
  • Heat management 

Our chip of choice is PAM8406, class-D amp with %90 efficiency and 3W Output at 10% THD with a 4Ω Load and 5V Power Supply. (originally I had made this with PAM8403, it turned out my parts could handle more so I upgraded).

Parts:
  • ABS project box (ebay) ~$5
  • Speakers (ebay) ~$5
  • Amp module (ebay) ~$4
  • Boost circuit (ebay) ~$1
  • Battery li-ion 1000mAh (salvaged off rc toys)
  • Caps 6.3V, 1500/1800µF x 14 low ESR (salvaged off old motherboards)
  • Sockets, pot, leds, resistors (almost all salvaged)
  • Wires (pc power supply quality cables - salvaged)
  • Copper Heatsink (made of reclaimed metal)
  • Paint, hot goop, cardboard, screws, etc (more or less free :D)



Notes:
  • Battery has protection circuit on it
  • Amp doesn't make enough heat to cause trouble with the battery underneath
  • Boost circuit gets a bit toasty at full output (used what I had handy, needs upgrade)
  • Panel could have been done cleaner, alas, "ain't nobody got time for that" :D
  • Base funnel/tube was helpful but not hugely. according to online calculators, with my box size and the low frequency response I wanted, to achieve resonance, tube needed to be +60cm long. my box is 16cm long total soooo ¯\_(ツ)_/¯ 
  • This speaker has much fuller sound than a phone speaker and gets much louder but it's no sub-woofer (physics being a bitch and stuff) lower band is around 200Hz before output starts to take a dive

Future upgrades
  • Replace the battery with one 18650
  • Swap the charger module with one that has micro usb (instead of mini) and has onboard battery protection 
  • Redo the volume knob
  • Redo the lights and light pipes