Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 05 11:02
    timea-solid labeled #164
  • May 03 07:27
    gp125fi opened #164
  • Apr 29 14:07

    github-actions[bot] on gh-pages

    deploy: 6dd19a2832f44262a0a827d… (compare)

  • Apr 29 14:04

    bourgeoa on main

    update dependencies 1.8.3 (compare)

  • Apr 29 14:04

    bourgeoa on v1.8.3

    (compare)

  • Apr 29 09:40

    github-actions[bot] on gh-pages

    deploy: a8f173949d2bc7ed32e107e… (compare)

  • Apr 29 09:37

    timea-solid on main

    Update README.md (compare)

  • Apr 26 11:59
    kakawait commented #100
  • Apr 26 11:58
    kakawait commented #100
  • Apr 15 15:02
    jeff-zucker closed #162
  • Apr 15 08:53

    bourgeoa on jeff-zucker-loginStatusBox-1

    (compare)

  • Apr 15 08:14

    github-actions[bot] on gh-pages

    deploy: d32aa1cd126aa0cdf6f9eef… (compare)

  • Apr 15 08:11

    theRealImy on main

    Mention changed loginStatusBox Merge pull request #163 from So… (compare)

  • Apr 15 08:11
    theRealImy closed #163
  • Apr 15 01:37
    jeff-zucker commented #162
  • Apr 15 01:34
    jeff-zucker review_requested #163
  • Apr 15 01:34
    jeff-zucker review_requested #163
  • Apr 15 01:34
    jeff-zucker opened #163
  • Apr 15 01:34

    jeff-zucker on jeff-zucker-loginStatusBox-1

    Mention changed loginStatusBox (compare)

  • Apr 14 20:07

    github-actions[bot] on gh-pages

    deploy: 1be528cabe05436b8eeb666… (compare)

chunt007
@chunt007
Not sure if this affects us in any way, https://twitter.com/lrvick/status/1523787247706951680?ref_src=twsrc%5Etfw. Apparently someone purchased "foreach" domain.
1 reply
Jeff Zucker
@jeff-zucker

@YetAnotherJonWilson - here's an example of an RDFa triple. The two below are the same as far as RDF is concerned.

Turtle :me schema:name "Jeff".
RDFa <span about="#me" property="schema:name">Jeff</span>

2 replies
Matthias Evering
@ewingson
@bourgeoa yeah sharing questions is a good thing ;-) as we know the answer is 42 ;-)
if I have some var <= this.some_other_var in javascript is then 1 assigned to 2 or 2 assigned to one ? guess some_other_var in this case is assigned to some_var ? other way around ? a digital world ?
Jeff Zucker
@jeff-zucker
<= is the less-than-or-equal operator, if you mean = then 1 becomes 2 and 2 stays 2
Matthias Evering
@ewingson

I ask because of

src/inbox/InboxLogic.ts:30:5 - error TS2322: Type 'NamedNode[]' is not assignable to type 'string[]'.

30     return urls.filter(url => !this.util.isContainer(url));

which of these in the existing code is then Named_Node and which is string ?

guess one named_node and two string ? 1a forrest gump question but my mind is slow
Jeff Zucker
@jeff-zucker
Looup the filter() method it uses => to filter the thing on the left based on the expression on the right for each thing in the group of things the filter is clled on
in that snippet the group of urls is filter such that each url is not a container
Matthias Evering
@ewingson
so filter is the function, url is checked if not (boolean) is the case ?
Jeff Zucker
@jeff-zucker
right newurls = urls.filter( url => condition_to_filter_on)
it returns a list of only the urls that match the condition, in this case the condition is a ! not
This console.log( [1,2,3].filter($_ => $_ < 3) ); // prints [1,2]
Matthias Evering
@ewingson
that helps a lot... simplified enough to catch the principle
Jeff Zucker
@jeff-zucker
:thumbsup:
Timea
@timea-solid
you probably have the error because this.util.isContainer expects url to be string but it is in fact NamedNode
Matthias Evering
@ewingson
yep, I began to change the type systematically. could you (time plays no role) fix that first error in SolidOS/solid-logic#38 so that I have a working example ? for sure I have to dig through the code and look for the Definition of the questionable variables
2 replies
Timea
@timea-solid
I just found out, while working on ui:Options -> our current Edit your profile is creating some decoupled from profile triples.
Frontend example:
image.png
The interface above created a job that looks like
:id1629189983448
    a solid:CurrentRole;
    schema:description "I work on SolidOS";
    schema:startDate "2021-08-02"^^xsd:date;
    vcard:role "Software Engineer";
    org:member :me;
    org:organization :id1629189994814 .
:id1629189994814 a schema:Corporation; schema:name "Inrupt".
and :id1629189983448is not under :me (it is not linked with any prediacate)
so... is this a problem?
Tim Berners-Lee
@timbl
But it is linked …org:member :me;
Its a graph not a tree .. links either way are just as valid
So no it is not a problem
If you like at fr example store.connectedStatements(me) you will get it
(In N3 you can also write
Tim Berners-Lee
@timbl
:me is org:member  of [ a solid:CurrentRole;
    schema:description "I work on SolidOS";
    schema:startDate "2021-08-02"^^xsd:date;
    vcard:role "Software Engineer";
    org:organization [ a schema:Corporation; schema:name "Inrupt”]].
so the “is .. of’ syntax for reverse links allws you to write it in the file in the order whre everythng is ‘under’ me. Unforuntately the people who wrote the turtle standard left that out against my better judgement.
This is a good example where you have to be equally happy to follow links in either direction.
This included the form system where there is a flag to make a form element so a reverse link.
7 replies
Timea
@timea-solid
oh wow. Ok. I did now know this. I always worked with inverse relations. (and I did miss the org:member :me)
Tim Berners-Lee
@timbl
Yes, I thought you would know rdf graphs well :-) but took the opportunity to make the point for anyone else who is less into RDF.
Timea
@timea-solid
I did not know the :me is org:member of... syntax....
The links yes obviously :)
However having a link from org to :me but not from :me to org is.... well... tedious.. this exact scenario is what I was asking about 'does our forms code support this?'
Tim Berners-Lee
@timbl
When the person is on one dcoument and the org is in another, then another question (whichever way the link goes) is whether to store the link on both sides or just one side (and if so which side)
2 replies
Matthias Evering
@ewingson
@timbl @bourgeoa @jeff-zucker @timea-solid we have this turtle file about providers https://ewingson.solidcommunity.net/public/ttl/pod-provider.ttl . the subject URIs don't really exist. shall we (together with help) make a real existing rdf/turtle file of it and use it as data source for https://solidproject.org/users/get-a-pod ?
Jeff Zucker
@jeff-zucker
@ewingson - Timea and I are working on how to use RDF as a source for solidproject.org pages. If you can develop an ontology to express the pod-provider information, we can certainly use that. You might look at DOAP and other existing ontologies of software. As I've mentioned before, there are issues about what it means to officially list services on solidproject.org and the final decision about which providers are listed will be up to the Solid Team. But we would need a standard set of ontology terms in either case.
Matthias Evering
@ewingson
Jeff Zucker
@jeff-zucker
yes
Matthias Evering
@ewingson
thank you Jeff
Jeff Zucker
@jeff-zucker
@timbl and @timea-solid - great work on the new discovery stuff, how hard would it be to a) make the discovery bits into separately callable apps b) add those apps as addenda to the webid-profile spec that apps can reuse so we don't have everyone and their uncle writing profile-munging code?
5 replies
Or separately callable would work too, an app could import solid-ui and call the ensurePreferencesFile method.
Or there could be one validate-and-fix method/app which ensures a valid profile. Apps could run it on startup so they'd always know they are dealing with a valid profile.
Tim Berners-Lee
@timbl
SolidOS/solid-logic#39 has got the functionality for readding type ndexes and making new ones and registering things
And tests for all non-error paths as far as I can see
Timea
@timea-solid
One way to go is to use solid-logic in the apps... We can talk to Noel and see what format would be best for his use cases for example
Timea
@timea-solid
Let me know when your PR is done so I can review and integrate if necessary
Tim Berners-Lee
@timbl
I think it is good enough. Lots of tests though no use in panes etc yet
1 reply
Matthias Evering
@ewingson
have pinged Timea about SolidOS/solid-logic#38 someone has to review and merge, if possible
1 reply
Alain Bourgeois
@bourgeoa
@timbl @timea-solid cleaned tsc errors and merged https://github.com/SolidOS/solid-logic/pull/39/
5 replies
Tim Berners-Lee
@timbl
Thank you @bourgeoa