Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 09 11:35
    emregulcan starred w3c/ldn
  • Dec 06 16:49
    erhangundogan starred w3c/ldn
  • Oct 26 17:52
  • Sep 23 14:42
    nmerm starred w3c/ldn
  • Jun 14 09:42
    KMax closed #66
  • Jun 14 09:42
    KMax commented #66
  • Jun 14 09:29
    csarven commented #66
  • Jun 14 09:25
    KMax commented #66
  • Jun 14 09:19
    csarven commented #66
  • Jun 14 09:16
    KMax starred w3c/ldn
  • Jun 14 09:16
    KMax opened #66
  • May 28 09:46
    ertugerata starred w3c/ldn
  • May 14 21:37
    QuantumCloudDatabase starred w3c/ldn
  • Apr 17 19:39
    salifm starred w3c/ldn
  • Mar 05 16:44

    plehegar on master

    Boilerplate files (compare)

  • Mar 05 14:51
    AntoniaWild starred w3c/ldn
  • Feb 03 17:03
  • Dec 04 2018 11:49

    csarven on master

    Remove unused CSS/JS in ED Change spacing from 4 to 2 (compare)

  • Oct 05 2018 07:02
    taurenshaman starred w3c/ldn
Melvin Carvalho
@melvincarvalho
:+1:
Sandro Hawke
@sandhawke
which would your money be on? I think it's some of each.
Melvin Carvalho
@melvincarvalho
A little of all of those has some truth I think. During the XG we had big names really pushing decentralization, Chris Messina, David Recordon, Jo Smarr, Brad Fitzpatrick and many others -- they were largely doing so independently and it had a lot of buzz -- over the course of time they were hired by the big companies with the hope of change from within. That hope never really emerged into much concrete as I think all had more pressing duties. The XG had 3 excellent chairs in danbri, dan applequist, and harry (in his prime) -- it was a vibrant and energetic group, I think one aspect was that the only deliverable was the final report and that tends to be be less polarizing as a work item. Also the landscape has changed alot from facebook being a small company to over a billion users. They are really far ahead of most of the work going on and pushing boundaries, so unsure of the incentives.
but i dont think decentralization is a 'fad'
I think it is balkanized
Melvin Carvalho
@melvincarvalho

Linked Data Notifications

Linked Data notifications is a spec that allows you to send a notification to a user's inbox. In this case we will send a summary of the score you got memorizing a selection of words. The inbox is found using the discovery section in the spec and an HTTP POST of the following type is sent to that inbox for further processing.
Melvin Carvalho
@melvincarvalho
Pull request sent
Amy Guy
@rhiaro
Nice one Melvin!
Melvin Carvalho
@melvincarvalho
:)
Amy Guy
@rhiaro
I can't log in to the app though... error I don't think I've seen before "Could not connect to auth server: HTTP -1"
Melvin Carvalho
@melvincarvalho
oh that's strange
i uses databox
Amy Guy
@rhiaro
yeah I can see that
Melvin Carvalho
@melvincarvalho
anything in the console?
Amy Guy
@rhiaro
That was in the console
I can ping databox.me but it won't load in my browser
Maybe the server is having a bad morning
Melvin Carvalho
@melvincarvalho
  // AUTH
  /**
  * TLS Login with WebID
  */
  $scope.TLSlogin = function() {
    var AUTHENDPOINT = "https://databox.me/";
    $scope.loginTLSButtonText = 'Logging in...';
    $http({
      method: 'HEAD',
      url: AUTHENDPOINT,
      withCredentials: true
    }).success(function(data, status, headers) {
      var header = 'User';
      var scheme = 'http';
      var user = headers(header);
      if (user && user.length > 0 && user.slice(0,scheme.length) === scheme) {
        $scope.loginSuccess(user);
      } else {
        $scope.notify('WebID-TLS authentication failed.', 'error');
      }
      $scope.loginTLSButtonText = 'Login';
    }).error(function(data, status, headers) {
      $scope.notify('Could not connect to auth server: HTTP '+status);
      $scope.loginTLSButtonText = 'Login';
    });
  };
I'm just doing a HEAD and looking for the User header
Amy Guy
@rhiaro
Okay, it's back
I think databox.me just had a moment
What do I have to do to make it send a score?
Melvin Carvalho
@melvincarvalho
once you try a few words you'll get a % running total and number of trails
Amy Guy
@rhiaro
does it just send it automatically? I'm not seeing any requests going out in the console
Melvin Carvalho
@melvincarvalho
if you click on the number of of trials it will trigger a send
Amy Guy
@rhiaro
oh okay
Melvin Carvalho
@melvincarvalho
yeah sort of undocumented right now :)
Amy Guy
@rhiaro
hm it didn't look like it did anything
Melvin Carvalho
@melvincarvalho
and you're logged in?
maybe it didnt find your inbox
Amy Guy
@rhiaro
is it looking for ldp:inbox or solid:inbox?
Melvin Carvalho
@melvincarvalho
Solid terms
which do you use?
var ST = $rdf.Namespace("http://www.w3.org/ns/solid/terms#");
Amy Guy
@rhiaro
Heh, if you do a HEAD you get ldp if you check the body of my webid you get solid
But actually everything is really slow right now, I think my internet is being dodgy, so that could be affecting things
It was out altogether most of yesterday
Melvin Carvalho
@melvincarvalho
I seem to recall timbl suggested putting the inbox predicate in the turtle
So that's what I look for right now
but I suppose I'd have to write a bit more code to check the HEAD
Amy Guy
@rhiaro
Sure. As a sender it's up to you what you look for first, although the spec says you should try HEAD if looking in the body fails
Melvin Carvalho
@melvincarvalho
well actually the header should go into the knowledge base of rdflib
Amy Guy
@rhiaro
But in my case body should succeed
So it shouldn't need to check head
Melvin Carvalho
@melvincarvalho
well I assume GET sends the same headers as HEAD?
Amy Guy
@rhiaro
yeah sorry I meant headers, not HEAD
Melvin Carvalho
@melvincarvalho
expect it's a clever 1 liner in rdflib
$scope.inbox = g.any($rdf.sym($scope.user), ST('inbox')) || <something>
Amy Guy
@rhiaro
oh man, my site seems to be down