by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 27 2019 06:08
    User @Mitzi-Laszlo unbanned @in1t3r
  • May 23 2019 06:49
    @Mitzi-Laszlo banned @in1t3r
  • May 16 2019 09:49
    @Mitzi-Laszlo banned @mediaprophet
  • Feb 01 2019 22:04
    User @melvincarvalho unbanned @namedgraph_twitter
  • Feb 01 2019 21:49
    @melvincarvalho banned @namedgraph_twitter
Angelo Veltens
@angelo-v
It tried to re-post the whole data with slug: card to /profile but had no authorization to do that
This seams not to be a good practice to handle profile data ;)
@acg96 You should send a SPARQL update instead
Andrés CG
@acg96
@Julian-Cole I've been working on that problem in the morning, now is on github but it's not on ghpages yet. I hope it'll be available this afternoon. Now it fills the screen on computers and it scales to other devices. I was waiting to have it available to answer you :).
Andrés CG
@acg96
@angelo-v the unknown.Contacts.json file is only available when someone who is not in your friends list chat to you, but the application always check it, even if it doesn't exist. Sorry about the deletion of your POD, it has happened to us a few times on the beginning due to refreshments of the page while it was uploading the changes, but lately it hadn't happened. I recomend to check the app with uninportant POD or to make a backup first because we have checked a lot of things but I'm sure it has problems yet.
@angelo-v have it showed you any kind of error on the console when you have lost the data?
Angelo Veltens
@angelo-v
@acg96 It just shows up empty. Did not notice a special error about it in the console, but there are many anyway, so its easy to overlook something. Its a bad, error prone idea to delete amd recreate the whole profile as you have seen yourself during development. Just update the profile without deleting it
I have git version control luckily. Solid apps and panes break things regulary, i got used to it :)
Brad Bader
@bradbader_twitter
Wish my car worked with version control that way.
Angelo Veltens
@angelo-v
Haha, yeah, would make life easier in so many areas :)
cezjah
@cezjah

Good evening, and I hope you are all having a great weekend. Does anyone have a version of the Solid ReactJS application (https://solid.inrupt.com/docs/writing-solid-apps-with-react) that does not throw a permission denied error on the following command?

yo @inrupt/solid-react

Jeff Zucker
@jeff-zucker
@cezjah, you saw the part about needing admin priveleges? it works for me with sudo yo @inrupt/solid-react. make sure you run that in a folder you have perms on
cezjah
@cezjah
Thanks @jeff-zucker I did precede with sudo AND I ran chmod -R 755 against the insight-nodejs/ folder. I am still getting the Error: EACCES: permission denied, open '/Users/cezjah/Library/Preferences/insight-nodejs/insight-yo.json.2638342249'
I saw a note on the solid site: Note: We have noticed an error is sometimes thrown when the Generator tries to install one of the dependencies of application. If this occurs, try installing Git and then rebuilding your application.
Jeff Zucker
@jeff-zucker
Well give that a try then ... git is kind of handy to have anyway
cezjah
@cezjah
OK thank you.
Jeff Zucker
@jeff-zucker
sure , come on back if that doesn't work, good luck!
cezjah
@cezjah
@jeff-zucker I am up and running now :-) Thanks so much for your prompt response. Have a great weekend.
Jeff Zucker
@jeff-zucker
:thumbsup:
Fabian Cook
@fabiancook

I've managed to pull the glob portion of the GET handler from NSS, I'm allowing users to provide a glob class, which I then replace a couple of prototype functions with ones that will fetch the details from a remote service (like NSS or something else):

https://github.com/o-network/http-rdf-glob/blob/master/src/glob.7.1.3.ts

But the usage of the npm module glob allows more than what the spec says, so I have also made a very simple "globber" that matches the spec and only allows for "*" at the end of the pathname:

https://github.com/o-network/http-rdf-glob/blob/master/src/simple-glob.ts

Jeff Zucker
@jeff-zucker
you've seen the discussions about eliminating glob from the spec?
Fabian Cook
@fabiancook
Yep, but wanted to see if this was possible in user land, which would be easier to remove from spec
Above allows to be done by userland, so no need for in NSS any more
You pass a fetch function, which can either grab locally if being run on the server, or can go and fetch remotely (from NSS)
It uses the list function of a directory, rather than fs.readdir
Fabian Cook
@fabiancook
The same code can completely replace the code in NSS as well, and its also not fixed to text/turtle, and can instead return the graph as a valid rdf type that rdflib can serialise to
Jeff Zucker
@jeff-zucker
interesting!
Fabian Cook
@fabiancook
If you look at any of my o-network modules, they all work this way :)
My hope is that I will be able to do all this in a cloudflare worker
Fabian Cook
@fabiancook
At this point in time, the only features that I haven't implemented for open network is the OIDC views (I can validate bearer tokens & TLS, but don't do any of the management of accounts)
Jeff Zucker
@jeff-zucker
I hope to have time to look sometime soonish, been too busy on the client side to do anything with the server side
lin onetwo
@linonetwo
@fabiancook This may dispatch thousands of GET, and rejected if any of the elements are rejected.
https://github.com/o-network/http-rdf-glob/blob/2452926790418d98ceb88506b92b7f5a8020fce7/src/combine.ts#L45-L51
Fabian Cook
@fabiancook
@linonetwo it is effectively the same as doing it on the NSS server itself, and will invoke the same code that is run internally for NSS
If its any error in the 400-499 range it won't error
If the module is being used server side, the requests will be routed directly to the fs-store, rather than doing a remote get request
So yes, you're right, it can do hundreds of GET requests, but is only doing those requests for the resources that matched that were requested by the user, and it will only be hundreds if there were hundreds of matching files.
Antonio Malara
@biappi
after quite some time of non-tech distractions, i was refreshing what i know of solid... i figured out some of my difficulties. i don't clearly understand the relation of URIs in the "knowledge graph" rdf space, the separation in turtle files in the solid "filesystem", and HTTP "transport" URLs. i have read the docs several times, and i still don't have it clear. i was trying to read the fetcher sourcecode, but i figured i can also try to ask here =)
Fabian Cook
@fabiancook
I think the best way to think about is to think about nodes in a graph, each node being a turtle resource, each node can reference other nodes by way of a URI, you as a user, or client, interact with nodes, and click through to other nodes using hyperlinks, if you fetch all of these nodes by following all the hyperlinks, you get a graph
@biappi ^
Tim Berners-Lee
@timbl
@biappi Yes. The data web of RDF is like the hypertext web of HTML, except nodes are conceptual things insread of parts of a document, and links have well defined semantics. They both use the ‘#’. In both cases the use of a URI a#b is an invitation to load document a and find out about what it shoses to say about a#b. The document tries to have useful data about a#b and related things those interested in a#b would also be interested in.
Tim Berners-Lee
@timbl
The Fetcher fetches each document into the Store. Its a quad store, so it keeps track of which document each (s,p,o) triple came from by in fact storing (s,p,o,document). The store acts as a local cache of part of the data web. So once it has loaded a few documents, then you can query and navigate the RDF graph locally in memory.
You update the data web using UpdateManager.update() which sends a patch to the server, and makes sure the local Store is kept in sync. The UpdateManager can also subscribe to any changes in a document made by others and let each client app do live updates.
SolidToronto
@SolidToronto
Hey everyone, the Toronto event is set for next Monday, May 13th, at 6pm in the evening. Our meetup group is full but there’s still space. Please RSVP at https://www.llbrandlab.com/events/solid-toronto-meetup
Antonio Malara
@biappi
@fabiancook @timbl thanks! you gave me the key piece of understanding i was missing. i didn't consider the concept of "document" as being part of the "rdf data web"... i was confused because, ignoring documents, i thought all turtle files could be about about every resource, and of course now i have more understanding of the fourth element of the rdf triples =)
i love that "i am an idiot" feeling when the right piece of knowledge fits the slot and everything makes more sense =)
Tim Berners-Lee
@timbl
:thumbsup:
Suji Yan
@Tedko
😄
Tim Berners-Lee
@timbl
Me too