Spotify track playing doesnāt match with whatās shown on Google Chromecast
Yup, I had that too. A work around to get it straightened out is to click shuffle on and off.
taylor price

ē„ę„ / Permanent Vacation

PR's Tumblrdome
Xuebing Du
NASA

romaā

oozey mess

Discoholic šŖ©
Keni

if i look back, i am lost

Love Begins
Show & Tell
wallacepolsom
todays bird
TVSTRANGERTHINGS

@theartofmadeline
art blog(derogatory)
I'd rather be in outer space šø
Misplaced Lens Cap
seen from Germany
seen from United States
seen from Netherlands

seen from United Kingdom
seen from United States

seen from France

seen from Malaysia

seen from Australia
seen from Netherlands

seen from United States

seen from South Korea
seen from Netherlands

seen from United States
seen from United States
seen from United States

seen from Sweden

seen from France
seen from Austria
seen from United States

seen from United States
@1self-co
Spotify track playing doesnāt match with whatās shown on Google Chromecast
Yup, I had that too. A work around to get it straightened out is to click shuffle on and off.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Do you have a publicly available privacy policy that you stand by, similiar to Evernote? Essentially I love your tool and would be tempted to use it for a lot of things but having access to my data AND being able to remove any data of mine with a click of a button is a must for any 'cloud' based data-acquisition. Can you give me an assurance here with my obvious trust issues that I must have? :) Thanks! Keep up the great work. - John
Hi John,
We do have a privacy policy, which can be found in the footer. Weāre still at pretty early stages though so itās likely to be subject to change as we get going.
However, weāre totally committed to notĀ giving your data to anyone elseĀ without your express permissionĀ and for you to have it all for your own use if you want it. Weāll also clear out all of your data at your request if you want to wipe the slate.
At the moment we donāt have a button to do this but we will do in due course.
In the meantime, just email us at āteam [ at ] 1self.coā and weāll sort it out for you.
Cheers,Martin
How to type āpipeā or vertical bar character ā|āĀ on new Surface Book keyboard with English layout.
TL;DR: Shift + Right-Alt + Backslash
So, I bought a Surface Book in America because theyāre available and cheap. But I live in the UK so I changed the keyboard settings to English-UK.
It means that the keys donāt exactly map to whatās written on them. The most obvious examples are that Shift-2 gives me double quote (ā) rather than the @ symbol thatās written on the key.
Iād managed to get on ok with the various swap-arounds - until I tried to type pipe, aka āvertical barā -> |.
It was written on the keyboard just above the enter key.
But if I hit that key it gives me backslash. Shift + that key gives me squiggly / tildeĀ (~).
Eventually I found it. Itās Shift + Right-Alt + That-key.
Easy when you know how although it still requires a bit of finger gymnastics.
Updating member merge fields with Mailchimp API v3.0
Updating fields with the Mailchimp API v3.0 is simply a matter of calling a PATCH on a specific record. Hereās an example using node.js and the Request module.
In order to get the member Id to update you can list members using a different API call.
var requestModule = require('request'); var express = require("express"); var app = express(); app.use(morgan('combined')); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); app.post('/updateMailchimpMember', function(request, response) { Ā var MC_API = process.env.MAILCHIMP_API_KEY; // store your API key in your environment variables Ā var MC_HOST = 'us8'; // this is server location of your profile Ā var API_HOST = "https://" + MC_HOST + ".api.mailchimp.com/3.0/"; Ā var username = "john"; // this isn't used by the MC auth process Ā var listId = 'xxxxxxxxxx'; // the id of the list you're querying Ā var memberId = 'yyyyyyyy'; // the id of the member you're updating Ā var url = API_HOST + "lists/" + listId + "/members/" + member.id Ā var auth = "Basic " + new Buffer(username + ":" + MC_API).toString("base64"); Ā requestModule( Ā Ā { Ā Ā Ā Ā url : url, Ā Ā Ā Ā headers : { Ā Ā Ā Ā Ā Ā "Authorization" : auth Ā Ā Ā Ā }, Ā Ā Ā Ā method: 'PATCH', Ā Ā Ā Ā json: { Ā Ā Ā Ā Ā Ā merge_fields : { MMERGE3: 'this is the update merge text' } Ā Ā Ā Ā } Ā Ā }, Ā Ā function (error, innerResponse, body) { Ā Ā Ā if (!error) { Ā Ā Ā Ā response.send('updated'); Ā Ā Ā } else { Ā Ā Ā Ā response.send('error'); Ā Ā Ā } Ā Ā } Ā ); });
Returning more than 10 members with Mailchimp API v3.0
Mailchimp have updated their API and recommended that we use the latest version as theyāve deprecated the previous versions.
At the time of writing, the documentation for the new API is a little sparse and/or difficult to find the things you need.
One thing that wasnāt immediately obvious was how to return more than 10 members in a list.
Itās pretty easy to call the API endpoint to return members in a list. Hereās some example node.js code that uses the Request module to do the HTTP request:
var requestModule = require('request'); var express = require("express"); var app = express(); app.use(morgan('combined')); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); app.post('/getMailchimpMembers', function(request, response) { Ā var MC_API = process.env.MAILCHIMP_API_KEY; // store your API key in your environment variables Ā var MC_HOST = 'us8'; // this is server location of your profile Ā var API_HOST = "https://" + MC_HOST + ".api.mailchimp.com/3.0/"; Ā var username = "john"; // this isn't used by the MC auth process Ā var listId = 'xxxxxxxxxx'; // the id of the list you're querying Ā var url = API_HOST + "lists/" + listId + "/members"; Ā var auth = "Basic " + new Buffer(username + ":" + MC_API).toString("base64"); Ā requestModule( Ā Ā { Ā Ā Ā Ā url : url, Ā Ā Ā Ā headers : { Ā Ā Ā Ā Ā Ā "Authorization" : auth Ā Ā Ā Ā } Ā Ā }, Ā Ā function (error, innerResponse, body) { Ā Ā Ā if (!error) { Ā Ā Ā Ā var members = JSON.parse(body).members; Ā Ā Ā Ā response.send(members.length); Ā Ā Ā } else { Ā Ā Ā Ā response.send('error'); Ā Ā Ā } Ā Ā } Ā );});
However, what we find is that we only get a maximum of 10 members returned regardless of how many are in our list.
This is because the Mailchimp members get defaults to a limit of 10.
Itās actually very simple to overcome the issue and get all of the list members you need. Itās simply a case of passing count and offset in the querystring of the request url, like this:
var url = API_HOST + "lists/" + listId + "/members?count=20&offset=20";
count tells the API how many records to return on each page and offset tells it how many records to skip (zero indexed). So, the above call would return members 21-40 in the list.
This is documented in the Mailchimp API docs but itās easy to miss.
Martin

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Setting the color of tick labels on a d3 axis
So, youāre getting stuck into the excellent library that is d3 for all your charting needs. Youāve worked out how to add axes and give them a scale and nicely spaced ticks (axis labels). And, all you need to do is change the color of those labels because black is bo-o-oring.
Well, that isnāt quite as simple as I thought itād be so I thought Iād share what I found here, in case youāve stumbled here looking at the same problem.
The tl;dr version of this is that counterintuitively you have to set a fill color on the text element rather than setting a stroke color or just the usual CSS ācolorā style.
So, hereās the code to add an axis:
var yAxis = d3.svg.axis() Ā Ā .scale(yScale) Ā Ā .orient("right") Ā Ā .ticks(4) Ā Ā .tickSize(5); // Add the Y Axis var gy = svg.append("g") Ā Ā .attr("class", "y axis") Ā Ā .call(yAxis); gy.selectAll("g").filter(function(d) { return d; }) Ā Ā .classed("minor", true); gy.selectAll("text") Ā Ā .attr("x", 4) Ā Ā .attr("dy", -4);
Once youāve added the axis to your chart your underlying HTML will look something like this:
<g class="y axis"> Ā Ā <g class="tick" transform="translate(0,265)" style="opacity: 1;"> Ā Ā Ā Ā <line x2="340" y2="0"></line> Ā Ā Ā Ā <text dy="-4" x="4" y="0" style="text-anchor: start;">00m 00s</text> Ā Ā ...
Then in order to style the text labels you simply add this style to your CSS:
.axis text { Ā Ā fill: rgb(169, 178, 189); }
So, there we go. To set the color of a d3 axis tick label, give it a āfillā style.
Martin
Hi Martin, re the URL bar colorizer, just wondering if there is anything checking that the background colour which it auto-generates always assures you of sufficient visual contrast to meet W3C accessibility guidelines? Cheers, Chris A.
Hello.
Good question. Having done a quick bit of testing, it seems that the answer is ānoā. But, I suspect that a future Chrome release will fix the problem because itās partly working, as you can see below.
The color takes effect both in the address bar of the Chrome browser and also in the title bar of the app switcher.
If I set my theme-color to white then the result is that the address in the browser becomes entirely unreadable as itās white on white. It is readable in the app switcher, however.
Browser address bar with theme-color = white:
App switcher with theme-colour = white:
On changing the theme color to black, we find that the address bar is now fully readable with white text on black. The app switcher appears to have a bit more intelligence and changes the text color automatically to retain contrast.
Browser address bar with theme-color = black
App switcher with theme-colour = black:
Colorize the address bar in Chrome for Android
If you have an Android phone then you may have noticed the odd website where the toolbar at the top of the browser gets colored to match the style of the website.
It looks pretty cool and if you have your own website then itās well worth doing as itās suuper easy.
Hereās an example of our 1self website (with a sneak preview of our upcoming ālife cardsā functionality):
You can see that Iāve colored the address bar to match the yellow background of the page. Cool, huh?
It couldnāt be simpler to do. You just need to add the following meta tag to the <head> of your html:
And your done. Bosh.
80bola and Googleās proxy problem
On doing a Google search to try to get to bottom of a coding problem I thought I found the answer presented to me in a familiar Stack Overflow link. On clicking the link I was presented with Stack Overflow but with a huge advertising overlay on top of the page. āUgh, what is Stack Overflow up to?ā, was my immediate thought but it was so out of character I looked more closely and noticed that the page was actually being served via a proxy at 80bola.com.
You can see it in the Google results page:
The content and inadvertent back links (from unsuspecting individuals linking to the proxied version of a page rather than the original) will be giving them extra SEO points, hence their high ranking on Google.
Take care out there because if you log into one of your web accounts on a proxied sites then the proxy provider (80bola.com, in this case) will be able to see your username and password.
Presumably Google will sort this out in due course as it doesnāt look good on them in returning these duff pages in preference to the original content.
In the meantime, if you see something like this you can report it here: https://www.google.com/webmasters/tools/paidlinks?pli=1
If some day I want to delete my account, How I can do it?
Just email us and weāll send you all of your data and delete it from our system.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Messing with a Raspberry Pi
Weāre building an awesome personal sensor-station using a Raspberry Pi.
There will be a full tutorial on how to build your own in the near future but in the meantime, hereās a pic of wired up Pi.
The Pi has two sensors on it for measuring temperature, light level and humidity. It also has a Bluetooth iBeacon built into it so that it can broadcast its location. Personal proximity to the Pi can then be sensed using our 1self companion app. With the two combined, you get sensor information stored in your 1self account for the exact periods when that sensor information is relevant to you (i.e. when youāre in the same environment as the sensor station).
Cool huh?
Managing two Tumblr accounts without having to keep logging in and out
We host the 1self blog on Tumblr, as you can probably tell. I also have a personal Tumblr blog, which is one of my go-to procrastination destinations.
Itās a pain in the ass to have to keep switching between the two accounts in order to post or browse on each account.
So, hereās a top tip:
Use Chrome for one Tumblr account and Firefox / Safari for the other. Stay logged in in each browser and just fire up the browser you need to manage the blog youāre after. No more logging in and out.
Simples.
@edsykes and @chinmay185Ā talk d3 and design constraints to a full-house Expertalks.
Serious business ;)
Some days are more musical than others
My music listening seems to follow a pattern. I either listen to no music all day. Or maybe I listen to a handful of tracks. An album perhaps. Or I listen to loads and have the music on all day. It's a bit of feast or famine in a music sense.
Sometimes it's task dependent. Certain tasks such as coding really lend themselves to a non-intrusive musical background. Other tasks that don't require much mental input are suited to more involving music. This phenomenon is described in loads of detail in this blog post.
Oftentimes when it's just an album's worth of music that I've listened to it's just something to make the commute more bearable. Plug into my own world on a busy train. It makes standing, squashed up to loads of strangers just about bearable.
Then I have the glut days. I switch on in the morning and then the music is a soundscape for my whole day. This is usually when I'm working from home. I switch on some of my favourite long-running Spotify playlists and just let the sound fill the room around me.
Martin
Failing at meditating every day
UPDATE
I managed to keep it going for a week. But, have broken the habit again. My meditation graph in the original post looks great. Unfortunately, as i write this, my meditations looks horrible: (No meditation to display).
Hopefully, by the time you read this, things will have improved. Here is a live graph of my progress:
If you'd like to improve your meditiation, or just leave me a message to encourage my meditation, sign up to 1self, track your meditation and share your data with us!
=====
I'm trying desperately to develop a daily meditating habit. Pre 1self I could convince myself that I was actually doing ok. Doesn't revealing and acknowledging this to yourself bring pain, doubt and despair.
Absolutely not.Ā
It makes me more determined to achieve what I set out to do - and failed - on thursday. I'm going right now, at this late hour, to meditate for 10 minutes. And I make a pledge now - which you'll see as my data scrolls along - to meditate every single day.Ā
Please, write me a word of encouragement on the days when I manage it.
Ed
window.addEventListener("message", receiveMessage, false); function receiveMessage(event) { console.log(event.data); if(event.data.loginUrl !== undefined){ var loginUrl = event.data.loginUrl + '?redirectUrl=' + window.location.href; loginUrl = loginUrl + '&intent=' + event.data.intent; console.log(loginUrl); window.location.href = loginUrl; } }

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
The Quantified Self: What sort of data are you tracking? Dave Schumaker, engadget.com
The year is still young and a few of us are barely clinging to our resolutions. Whether we vowed to be more active, eat healthier or drink more water, thereās a variety of things to keep track of (and make us feel bad about ourselves). Are you usiā¦
6 reasons Meteor makes a great hackathon
TLDR; Recently at 1self we ran a hackathon. We used meteor as the development platform for the hackathon - it gave us more hack and less thon.
I've been to a bunch of hackathons and one thing that always kills the fun is getting set up. It's worse in recent times with the migration from windows. Read on for how meteor works.
1. Setup takes minutes
Just curl the installation script and pipe it to shell. Even on windows, it's getting easier, since there is a very early version of official windows support. In many hackathons I've been to, the joy of learning has been crushed by the setup process.
2. Instructions can be written cross platform
The same command line across all platforms. It makes issuing an instruction to today's choose-a-funny-dev-platform developers easier.Ā
3. Hack straight to the web
There's something so encouraging about actually deploying what you built to the web in a hackathon. In meteor deploying to the web is as easy as running locally.
4. Hack in your favourite editor
Since there is no presumed development environment, windows users can hack in notepad; OSXers in textmate. Or use Sublime or whatever other flavor of text editor takes your fancy.Ā
5. Automatic reloading
This was a surprise - things went much faster with meteor's deploy to the browser on code change.
6. Great for beginners
We had a VB coder at the hackathon - oy leave him alone they are essential in banking - and he was able to participate. With no prior experience he was able to build and deploy a web app. Pretty amazing for 2 hours. Of course, it helped that the 1self api is really easy to learn and user.
WINDOWS CAVEAT
The official Windows version of meteor is in preview and at version 0.1.1 - pretty early doors. As such, on one participant's machine, the rebuild on each code change took a long time and occasionally meteor crashed, locking the database. To remedy, we just had to delete .meteor/local/db