
pixel skylines

❣ Chile in a Photography ❣
we're not kids anymore.
🪼
occasionally subtle
YOU ARE THE REASON
"I'm Dorothy Gale from Kansas"
wallacepolsom

Andulka

Love Begins

JBB: An Artblog!
Sade Olutola

No title available

Discoholic 🪩
cherry valley forever
todays bird
No title available
Three Goblin Art
trying on a metaphor

祝日 / Permanent Vacation
seen from United States

seen from Malaysia

seen from France

seen from Austria
seen from Australia
seen from Iraq
seen from United States
seen from United States

seen from Italy
seen from United States
seen from United States

seen from United States

seen from Brunei
seen from United States

seen from United States

seen from United States
seen from Netherlands

seen from Türkiye
seen from United States
seen from United States
@turnbullventures
A seed is planted.
The man/woman who creates / unleashes true strong AI is leasing their seed to the owners of all resources that could nourish it.
A determent with strong AI is that we expect - upon it's birth, that it will conform to a predetermined path that furthers humanity’s reach, our goals - but what are those?
The problem is this - like an evolutionary genetic strain that leaps from parent to offspring, reactionary to stimuli that leaves the adapted better equipped (alive) - Strong AI is poised... It's markers ricochet among us in our mainstream media, underlying our code.. our social being... The primordial soup of our collective identity, is what will merge to enact it's first enzyme bond, it's first cilia writhing forward.
All these doubts and tarnished imagery - I still long for the lad/laddie (AKA. the matrix) to open it’s eyes...
The stars that guide us forth will not be the same after we leave
Since our beginning we looked upon the stars to guide us in our wanderings, in our plantings and in our futures. They have been fixed - witness to our births and deaths, our ebb and flow of enlightenment and our first steps in escaping our small sphere for another. We dream under and of them, of when humanity will scatter out among their glow. And yet isn't it remarkable to think that our stars, fixed as they are, are not the the stars of even our nearest potential alien neighbor - at least their placement. That the myths of Orion and Dragons don't translate as we move to a new vantage point and find new monsters and legend, where the pin points of the heavens align differently. As we leave this place we have called home for all of our time our perspectives will radically change, for even the stars that called on us to fly and great them will become strange. Amazing to think that our stars, our view point is very much our own - and as we leave this singular view behind we shall see all things in new light.
and closing out this evenings serious code session. Thanks to all players, bartenders and other staff - please tip a waitress on the way out. If she is gloriously beautiful and single... well that there is a bonus.
They don't always appear and even when they do, don't often get noticed. Please take notice..
Good night all.
late night ramble (take 1)... action
Please consider this a scrap of page - one ripped from a spiral and still clinging to a mangled, frayed edge that once uniformly, neatly secured it to it's neighbors - neighbors it had very likely had since it was, well, a tree. Uniform as in holes, spiraled metal and neat lines at aligned ink - clean and crisp. After weeks, months, years of void existence I am exposed, I am enveloped in light - stark light. I feel the ink as it stains, it marks me... I feel the end result of a thought once only molecules bouncing among neurons but now, finally it has passed from synapses to muscle, muscle to ink and ink to me, and now permanently... me. The new me, until I was torn. That is this page.
So I have thoughts.. thought that sometimes first appear during a morning routine.. Alarm clock on the phone, warm shower (dreams still linger), pack a lunch, what should I eat, hmmm... what would it be like if aliens were already among us (like all among us) but so small they went undetected in our day to day lives..observing, smaller, waiting... I will have the leftover casserole from last night.
Not sure if that blip is reminiscent of how your mind works before caffeine but that is how my sandwiches are made, or in this case not... because that casserole was bomb and that is goodness that fades unless owned.
It is midnight so back to coding - just wanted to let the other neurons in my mind have a brief echo of light (like that page in the spiral)
Now back to work the rest of you!!!
Just love this!
Postgres not a fan of ordering uniq records
Last night (and into this morning) I was banging my head against an error when adding a search feature in my top secret app, to be named at a later date.
The search was built to look for players by name, but I wanted to include up to the last 3 teams or leagues the player had played on to help identify the correct player when search results included players of same name.
Now players were not directly related to teams, but the relationship is created when the user writes a report on a player, during which they select a team or league. We also want to wait until the a report is publish (has a published timestamp)
So in the model:
class Player < ActiveRecord::Base has_many :scout_reports,-> {where('published IS NOT NULL')} has_many :teams, :through => :scout_reports
We are also interested in the most recent 3 most recent teams showing up in the search results, and to avoid duplicate team names appearing when multiple reports exist I tried adding uniq to the teams scope.
So it now looked like this:
class Player < ActiveRecord::Base has_many :scout_reports,-> {where('published IS NOT NULL').order('published DESC'} has_many :teams, ->{uniq}, :through => :scout_reports>
And that is when it failed.
The error looked like this:
ActiveRecord::StatementInvalid: PG::Error: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
After scouring the internets and trying variations of adding order and uniq, I found I needed to add a select statement to the teams scope that referenced the published attribute, as well as place the order using uniq. The finished and working product is as follows:
has_many :scout_reports,-> {where('published IS NOT NULL')} has_many :teams, ->{uniq.select("teams.*, scout_reports.published AS published").order('published DESC')},:through => :scout_reports before_create :format_names,:set_fullname
Hope this helps someone.
And then Britain happened... #turnbullnewyears2014
Every Superhero has a Kryptonite
This was originally posted at http://www.sustainablehealth.org/blog/every-superhero-has-a-kryptonite on October 29, 2013
My grandfather was a man of steel – that is, he retired from a steel mill and was invincible, at least to an eight-year-old boy who saw him as a mythical figure. He was raised bow hunting in the wooded hills of New York State; in his early 20s he drove a jeep during World War II, and his house, the backdrop of my early Christmases and Easters, was built using the bricks, doors and fixtures from homes of the late 1800s. He proudly displayed the Turnbull family crest above his bar and I felt so bad for my cousins – those poor children born to my aunt who lost out on the chance to share his last name. In 1985, my 56-year-old grandfather drove his motor home along the barren, desert stretch of interstate that connects California and Arizona. It was dusk and, as the oldest grandchild of the six in tow, I enjoyed a perk of birth order and was seated in the front next to him. I can’t recall much of what happened next - the vehicle swerving off the road, a gurgling sound, a sudden jolt and pain radiating from my hip. It happened so quickly, a few minutes maybe, but the net sum was a battered motorhome and a stranded band of children among the desert scrub, clinging to a newly widowed grandmother. Years of an itchy throat and a heavy daily dosing of Tums had masked a severe and neglected case of Gastroesophageal reflux disease (GERD) that had culminated in a ruptured esophagus. At eight years old, I knew nothing of his symptoms or his disease. I knew only that a man of steel was gone and it had happened in an instant. I since learned that disease and death are not exotic or rare but are the payment due for the experiences we have on this earth. Like my grandfather, many individuals live life without much thought of this until their bodies remind them through the onset of disease. No matter who we are, each of us has a kryptonite buried within that has the potential to unravel us. The first step in avoiding a fate similar to my grandfather’s begins with being mindful of the glow, even when faint, of our own personal kryptonite. That is – we must pay attention to our health and symptoms. A simple written journal of personal health will work. I keep an app on my phone called Symple that allows the tracking of health oddities as they arise. The second step is to seek medical counsel when the glow is first detected. As a boy, I watched my body heal itself with the help of the all-powerful Band-Aid and a kiss from mom. As we age, Band-Aids lose their miraculous power, as do other quick fixes. We must take our symptoms to the clinic, unabashed and unashamed. Even when we admit our frailties and make time in our busy schedules for the doctor, how many of us heed their advice, finish the pills prescribed, stop eating fast food, or turn off the TV or tablet to get to bed at a decent hour? The third step, therefore, is to whole-heartedly act on the recommendations of your doctor. If you don’t trust the suggested treatment of your current provider seek another. Disease grows best under the shade of stubborn resolve and neglect. It just wants to be left alone to do its work. Don’t let it. As a boy, I maintained a vision of myself in a cape, impervious to the forces of evil. I knew superman and wanted to be like him but in a motor home in 1985, having a front row seat to witness his mortality, that vision was lost. External threats to our health and safety will always exist. But we must be vigilant and ready to act against those threats from within. Follow Gregg on Twitter
Booting Back Up
Sometimes when your machine has been offline for quite a while many unforeseen noises and stutters occur during the boot process. I have been offline for over 2 years, with only the occasional twitter post that only relieved a bit of pressure from my brain that, night and day, rattled thoughts that either found their way to the pages of unadorned notebooks or simply bounced around my head until they were exhausted, fell down and faded away until only a distorted shadow remained. I must apologize before hand – all the thoughts that have refused to fade have joined forces to over throw the captain of the guard, who for these past two years manned the levies and kept the non sequitur from reaching my fingers and keyboard when an edit window was open. So here goes. Might be fun, might be painful but what ever it is, it will be.