Subscribe: Web Things, by Mark Baker
http://www.markbaker.ca/blog/feed/atom/
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
appeared web  appeared  baker  context  day  mark baker  mark  roy  things mark  things  web things  web  years ago  years 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Web Things, by Mark Baker

Web Things, by Mark Baker





Updated: 2016-02-10T04:04:13Z

 



Your bidecadal note on state and self-description

2016-02-10T04:04:13Z

Tap, Tap. Is this thing on? So if you’ve read this blog at all in the past, you know that this topic pops up every so often. That would be because it’s difficult. The context for this instance of the discussion is a Twitter thread started by Erik let's say your JSON-LD takes over the […]

The post Your bidecadal note on state and self-description appeared first on Web Things, by Mark Baker.

Tap, Tap. Is this thing on? So if you’ve read this blog at all in the past, you know that this topic pops up every so often. That would be because it’s difficult. The context for this instance of the discussion is a Twitter thread started by Erik I argue that what Erik called “by value” semantics, violates REST’s stateless constraint (and therefore self-description, as stateless is a sub-constraint). This is because the constraint is defined as;
[…] each request from client to server must contain all of the information necessary to understand the request, and cannot take advantage of any stored context on the server
And this leads us to look at a sample document, a JSON-LD document with an @context declaration as a message, and how we determine what that message means. Using the example from the front of the JSON-LD site;
{
  "@context": "http://json-ld.org/contexts/person.jsonld",
  "@id": "http://dbpedia.org/resource/John_Lennon",
  "name": "John Lennon",
  "born": "1940-10-09",
  "spouse": "http://dbpedia.org/resource/Cynthia_Lennon"
}
… sending this to someone is intended to communicate a set of RDF triples, including this one, where the “name” string is supposed to expand to the full FOAF name property URI;
“John Lennon” .
So to even “understand” the request, we need to resolve the @context URI to receive additional information. Therefore, stateful, and also not self-descriptive. Another way to look at this is from an archivist POV. If I store that JSON-LD document away for 10 years, restore it, and try to understand it what it meant, can I? Obviously in this case you’d need for that resolved document to have not changed in ways which change the meaning of our JSON-LD document. For example, by not re-binding “name” to rdfs:label.

The post Your bidecadal note on state and self-description appeared first on Web Things, by Mark Baker.




A new Day

2009-01-29T16:00:32Z

Well, that didn’t take long. The day after I posted it, I got an email from David Nüscheler, CTO at Day Software, asking if I’d be interested in working with them. Given that my friend and accidental mentor Roy works there, and that the company is obviously very clueful about the Web and open source, […]

The post A new Day appeared first on Web Things, by Mark Baker.

Well, that didn’t take long. The day after I posted it, I got an email from David Nüscheler, CTO at Day Software, asking if I’d be interested in working with them. Given that my friend and accidental mentor Roy works there, and that the company is obviously very clueful about the Web and open source, it seemed like a terrific fit. In my discussions with them since then, that impression has been confirmed over and over again. Honestly I don’t know why I didn’t approach them.

I’ll be joining their solutions team, which means I’ll be helping with the design, development, and deployment of custom solutions built upon Day’s product line. The position isn’t unlike the consulting work I’d been doing much of the past six years, only more hands-on (yeah!), and of course, Day-specific.

It also means a lot more travel, so watch for me in your neck of the woods on Dopplr.

The post A new Day appeared first on Web Things, by Mark Baker.




Yet Another Job Hunt

2009-01-05T17:36:45Z

Alas, I’m once again looking for work, if anybody’s got any cool Web-ish – or would-be Web-ish – projects or products that they’re working on. Contract, full time, part time, I don’t care, as long as it’s interesting, challenging, and I can learn something.

The post Yet Another Job Hunt appeared first on Web Things, by Mark Baker.

Alas, I’m once again looking for work, if anybody’s got any cool Web-ish – or would-be Web-ish – projects or products that they’re working on. Contract, full time, part time, I don’t care, as long as it’s interesting, challenging, and I can learn something.

The post Yet Another Job Hunt appeared first on Web Things, by Mark Baker.




Drunk

2009-01-02T15:20:26Z

Seems like a decent seasonal meme. Hmm, 70%; should I be worried? Manhattan Cocktail Kopi Luwak (Weasle Coffee) French / Swiss Absinthe Rootbeer Gin Martini Sauternes Whole Milk Tequila (100% Agave) XO Cognac Espresso Spring Water (directly from the spring) Gin & Tonic Mead Westvleteren 12 (Yellow Cap) Trappist Ale Chateau d’Yquem Budweiser Maraschino Liqueur […] The post Drunk appeared first on Web Things, by Mark Baker. Seems like a decent seasonal meme. Hmm, 70%; should I be worried? Manhattan Cocktail Kopi Luwak (Weasle Coffee) French / Swiss Absinthe Rootbeer Gin Martini Sauternes Whole Milk Tequila (100% Agave) XO Cognac Espresso Spring Water (directly from the spring) Gin & Tonic Mead Westvleteren 12 (Yellow Cap) Trappist Ale Chateau d’Yquem Budweiser Maraschino Liqueur Mojito Orgeat Grand Marnier Mai Tai (original) Ice Wine (Canadian) Red Bull Fresh Squeezed Orange Juice Bubble Tea Tokaji Chicory Islay Scotch Pusser’s Navy Rum Fernet Branca Fresh Pressed Apple Cider Bourbon Australian Shiraz Buckley’s Cough Syrup Orange Bitters Margarita (classic recipe) Molasses & Milk Chimay Blue Wine of Pines (Tepache) Green Tea Daiginjo Sake Chai Tea Vodka (chilled, straight) Coca-Cola Zombie (Beachcomber recipe) Barley Wine Brewed Chocolate (Xocolatl) Pisco Sour Lemonade Speyside Single Malt Jamaican Blue Mountain Coffee Champagne (Vintage) Rosé (French) Bellini Caipirinha White Zinfandel (Blush) Coconut Water Cerveza Cafe au Lait Ice Tea Pedro Ximenez Sherry Vintage Port Hot Chocolate German Riesling Pina Colada El Dorado 15 Year Rum Chartreuse Greek Wine Negroni Jägermeister Chicha Guiness Rhum Agricole Palm Wine Soju Ceylon Tea (High Grown) Belgian Lambic Mongolian Airag Doogh, Lassi or Ayran Sugarcane Juice Ramos Gin Fizz Singapore Sling Mint Julep Old Fashioned Perique Jenever (Holland Gin) Chocolate Milkshake Traditional Italian Barolo Pulque Natural Sparkling Water Cuban Rum Asti Spumante Irish Whiskey Château Margaux Two Buck Chuck Screech Akvavit Rye Whisky German Weissbier Daiquiri (classic) The post Drunk appeared first on Web Things, by Mark Baker. [...]



WSTF FTW! WTF?

2008-12-18T16:57:41Z

Yes, the WSTF. I don’t have any commentary to offer, I just had to post something so I could use that subject line 8-).

The post WSTF FTW! WTF? appeared first on Web Things, by Mark Baker.

Yes, the WSTF. I don’t have any commentary to offer, I just had to post something so I could use that subject line 8-).

The post WSTF FTW! WTF? appeared first on Web Things, by Mark Baker.




RIM doesn’t get the Web

2008-10-24T13:37:47Z

It was about 2.5 years ago now, that I joined Research in Motion – makers of the Blackberry – for what turned out to be the shortest stint of my career. I was brought in as their “Web 2.0” guy, though as part of the standards organization rather than R&D (which should have been a […] The post RIM doesn’t get the Web appeared first on Web Things, by Mark Baker. It was about 2.5 years ago now, that I joined Research in Motion – makers of the Blackberry – for what turned out to be the shortest stint of my career. I was brought in as their “Web 2.0” guy, though as part of the standards organization rather than R&D (which should have been a warning sign). My job, initially, was to write a white paper which described what RIM needed to do to embrace the Web. What’s the standards organization doing defining an R&D roadmap you might ask? Good question. I wondered the same thing. But that’s not what this post is about. What it is about is that earlier this week, at the BBDC, RIM announced what is, AFAIK, its first on the topic of the Web; Web Signals; BlackBerry Web Signals leverages RIM’s unique push technology to allow online content providers to automatically notify BlackBerry smartphone users when relevant content has been published and to allow streamlined, one-click access to the online information. So I dug into the technical overview, and spotted this near the beginning; To push content to users, content providers must first register their web signals with Research In Motion. Bzzt! As they don’t seem to realize, the Web is agreement; a large, complex distributed system made possible by parties who agreed to use its constituent protocols. Publishers agreed because it gave them a low cost path to distribute information directly to the users who had also made those same agreements (by using an agent which implemented the protocols). Imagine now, if you will, what would have happened to the Web, had publishers needed to register with, say, AOL to reach AOL users, or Comcast for Comcast users. What a huge burden! It could be worse, the burden could be on the users, but why bother with one at all? Remember PQA? My point exactly. Always, always, always, try do what you need using existing agreement. In this case – of notification of content changes – RIM had a couple obvious options. Most simply, they could have used email, though of course the user experience is suboptimal, not to mention the privacy concerns of handing out the user’s email address to every publisher. Alternately, there’s RSS/Atom, something publishers are already pretty comfortable with. It might even sound a little familiar, seeing as I described the architecture necessary to support it in that white paper I wrote for them. If you’ve read ahead in that tech overview, you’ll also notice that they predefine their URI structure, and don’t even mention which HTTP method to use on those URIs to send a notification, which probably means that GET does the deed. Yuck. Come on RIM, get your act together. Competition is heating up, and those guys in Cupertino (mostly) have their act together when it comes to the Web.The post RIM doesn’t get the Web appeared first on Web Things, by Mark Baker. [...]



Interface included

2008-10-22T15:42:09Z

It’s good to see Roy take on the pseudo/not-at-all “REST APIs” out there. As I mentioned in a comment there, I’m no stranger to this kind of interface specification, as I’d guess that about 80% of the “APIs” I reviewed as a consultant suffered from at least one of the problems Roy listed. Fortunately, I […]

The post Interface included appeared first on Web Things, by Mark Baker.

It’s good to see Roy take on the pseudo/not-at-all “REST APIs” out there.

As I mentioned in a comment there, I’m no stranger to this kind of interface specification, as I’d guess that about 80% of the “APIs” I reviewed as a consultant suffered from at least one of the problems Roy listed. Fortunately, I found it wasn’t very difficult to get people to see the error of their ways. All I had to do was re-emphasize that REST requires that interfaces be uniform – the same – and therefore that pre-specifying anything specific about a resource, such as URI structure, response codes, media types, resource relationships, etc.. was antithetical to that requirement.

The post Interface included appeared first on Web Things, by Mark Baker.




Google Gears: the SOAP approach to Web app development

2008-09-15T14:17:18Z

I respect what Google’s trying to accomplish with Gears very much, and appreciate that they’re helping draw attention to the need to build out the client-side of the Web a bit more, and that they’re doing it with open source. They’ve nailed the what perfectly. Then again, Web services nailed their requirements perfectly too. I […]

The post Google Gears: the SOAP approach to Web app development appeared first on Web Things, by Mark Baker.

I respect what Google’s trying to accomplish with Gears very much, and appreciate that they’re helping draw attention to the need to build out the client-side of the Web a bit more, and that they’re doing it with open source. They’ve nailed the what perfectly.

Then again, Web services nailed their requirements perfectly too.

I think the how of what Gears is doing is, frankly, misguided. There’s minimal reuse of existing Web technologies, and it’s overly imperative when it could be easily be far more declarative. Each of these issues raise the bar for the kinds of skills a Web developer needs. Not a good thing.

Interestingly, the Web services analogy doesn’t stop at the requirements. When I talk about “minimal reuse”, what I’m referring to is that the Web already has a mature and general API for accessing and manipulating local data-oriented services – the DOM – and no “gear” I’ve seen has yet to use it for data access. So instead of a Javascript GeoLocation object that might expose method calls such as getCurrentLocation() or getLockedSatellites(), why not make the object a DOM Node and treat the data contained within as a document? Something like;


  45.234,-120.999
  4

(or better yet perhaps, microformatted HTML – though there’s issues there)

Then you could use the DOM itself to get at those values, or perhaps even a CSS selector. Simple!. You even get events for free.

Why is it that the industry continues to overlook the value of reusing pervasively deployed generic abstractions, be they network oriented or local? It couldn’t be a case of NIH, because the DOM is unavoidable if you’re a Web dev. I guess it just didn’t occur to the them, though that doesn’t explain the push back.

The post Google Gears: the SOAP approach to Web app development appeared first on Web Things, by Mark Baker.




Ten years of the Web

2008-05-09T01:48:39Z

Well, for me at least, because it was 10 years ago today that Roy sent me the email that rocked my world. I remember barely sleeping for the next few nights as I was struggling to figure out solutions to various problems using HTTP and URIs. This was prior to Roy’s dissertation too, so I […]

The post Ten years of the Web appeared first on Web Things, by Mark Baker.

Well, for me at least, because it was 10 years ago today that Roy sent me the email that rocked my world. I remember barely sleeping for the next few nights as I was struggling to figure out solutions to various problems using HTTP and URIs. This was prior to Roy’s dissertation too, so I had little in the way of guidance. In fact, I think it took me a couple of years to get it all straight in my head.

Thanks, Roy. I owe you one.

The post Ten years of the Web appeared first on Web Things, by Mark Baker.




Will distribute business objects for food

2008-05-07T05:01:38Z

I used the subject line of this blog entry as my signature 11 years ago when I saw the writing on the wall at Nortel, and wanted to announce my interest in looking elsewhere for a job. Ok, perhaps it wasn’t the optimal way to communicate that information to the world, but it was cute, […]

The post Will distribute business objects for food appeared first on Web Things, by Mark Baker.

I used the subject line of this blog entry as my signature 11 years ago when I saw the writing on the wall at Nortel, and wanted to announce my interest in looking elsewhere for a job. Ok, perhaps it wasn’t the optimal way to communicate that information to the world, but it was cute, damnit.

Skip ahead to current day, and I find myself ex-co-founder of a mobile startup which wasn’t able to raise the money it needed, and a consultant who, frankly, got bored answering all the REST 101 questions that came my way. Don’t get me wrong, I love that the Web and REST are finally getting their due, and I was honoured to have folks from all over the world come to me to answer their questions, but unfortunately those questions were rarely a challenge. What I want – nay, what I need – is to work on product or projects for a while where I have the opportunity to be creative once again.

If you’re reading this, you probably know what I’m good it and what I like. For the record, that’s the Web, mobile, open source, and projects/products for the public good. If you know of any opportunities that fall somewhere in that space, please drop me a line. Thanks.

The post Will distribute business objects for food appeared first on Web Things, by Mark Baker.