To be able to use custom endpoints with the latest Spark distribution, one needs to add an external package (hadoop-aws). Then, custum endpoints can be configured according to docs.
bin/spark-shell --packages org.apache.hadoop:hadoop-aws:2.7.2
| #!/usr/bin/env python | |
| """ | |
| Get user_ids for followers of a particular account: | |
| % ./followers_ids.py jack > ids.txt | |
| """ |
| diff --git a/modules/islandora_scholar_embargo/islandora_scholar_embargo.module b/modules/islandora_scholar_embargo/islandora_scholar_e | |
| index a0d3bc7..36f6937 100644 | |
| --- a/modules/islandora_scholar_embargo/islandora_scholar_embargo.module | |
| +++ b/modules/islandora_scholar_embargo/islandora_scholar_embargo.module | |
| @@ -210,8 +210,8 @@ WHERE { | |
| ?embargoed is:$eu ?date ; | |
| is:$np ?notify . | |
| FILTER( | |
| - ?notify < '$now'^^xsd:dateTime && | |
| - ?date > '$pre_expiry'^^xsd:dateTime) . |
| <?php | |
| function getCollectionData($collection_pid) { | |
| $user = user_load(1); | |
| $repository = islandora_get_tuque_connection($user); | |
| $query = <<<EOQ | |
| SELECT ?pid ?label ?cmodel | |
| FROM <#ri> | |
| WHERE { | |
| ?pid <info:fedora/fedora-system:def/relations-external#isMemberOfCollection> <info:fedora/$collection_pid> ; | |
| <fedora-model:label> ?label ; |
To be able to use custom endpoints with the latest Spark distribution, one needs to add an external package (hadoop-aws). Then, custum endpoints can be configured according to docs.
bin/spark-shell --packages org.apache.hadoop:hadoop-aws:2.7.2
| $fedora = Chullo::create('http://127.0.0.1:8080/fcrepo/rest'); | |
| $pcdm = new Porkpie($fedora); | |
| $uri = $pcdm->createObject(); | |
| echo $uri; | |
| echo "\n"; | |
| $preservation_master_path = "/Users/danny/Desktop/memes_collection/condascending_wonka/oh_you're_an_engineer.jpg"; | |
| $thumbnail_path = "/Users/danny/Desktop/memes_collection/condascending_wonka/condascending_wonka_thumbnail.png"; | |
| $mods_path = "/Users/danny/Desktop/memes_collection/condascending_wonka/oh_you're_an_engineer.xml"; | |
| $standard = "http://www.loc.gov/mods/v3"; |
| mods:abstract: |====================== | 22820/25050 | 91% | |
| mods:accessCondition: |===================== | 21213/25050 | 84% | |
| mods:classification: | | 328/25050 | 1% | |
| mods:genre: |======================= | 24037/25050 | 95% | |
| mods:identifier: |======================== | 24966/25050 | 99% | |
| mods:language: | | 51/25050 | 0% | |
| mods:language/mods:languageTerm: |================= | 17787/25050 | 71% | |
| mods:location/mods:physicalLocation: |==================== | 20955/25050 | 83% | |
| mods:location/mods:url: | | 791/25050 | 3% | |
My notes from the Google Hangout organized by Christina Harlow (@cm_harlow) on 7/14/2015
Keep in mind that I captured this as the video call went on and I might have gotten some of it wrong. I'll update this page with a link to the recording once it becomes available.
FRBR (Functional Requirements for Bibliographic Records) is a 1998 recommendation of the International Federation of Library Associations and Institutions (IFLA) to restructure catalog databases to reflect the conceptual structure of information resources. - http://www.oclc.org/research/activities/frbr.html
| @prefix : <http://localhost/jena_example/#> . | |
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
| @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . | |
| @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
| @prefix text: <http://jena.apache.org/text#> . | |
| @prefix fuseki: <http://jena.apache.org/fuseki#> . | |
| ## Example of a TDB dataset and text index | |
| ## Initialize TDB |
Smoothies cannot be edited @anarchivist -- 6:52 PM PDT - 23 Apr 2015
The key question I'm setting out to answer is: How can we account for routine change and updates in our metadata records. An initial attempt to derive a model for change from current practice has led to some corollary questions about the relationship between Records, Documents, Description Sets, Application Profiles, Resources, and RDF Sourceslit review:
Started grid job on trusty.tools.wmflabs.org:
jstart -l release=trusty -N anon /usr/bin/node anon/anon.js --config /data/project/anon/config.json --verbose
But seeing this in /data/project/anon/anon.err
FATAL ERROR: v8::Context::New() V8 is no longer usable
/var/spool/gridengine/execd/tools-exec-12/job_scripts/7335380: line 4: 7662 Aborted (core dumped) /usr/bin/nodejs /data/project/anon/anon/anon.js --config /data/project/anon/config.json --verbose
What's weird is that running the job manually on trusty.tools.wmflabs.org with the command in the error seems to work fine: