Skip to content

Instantly share code, notes, and snippets.

View tillmo's full-sized avatar

Till Mossakowski tillmo

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tillmo
tillmo / git-integration.md
Last active August 29, 2016 11:14
Ontohub git integration

We have three proposals for the way of supporting git repositories: #Way 1: Gitlab/Github plus webhooks new Ontohub architecture The backend communicates with any Gitlab instance and/or Github via webhooks. We don't do anything anymore about file hosting, editing and so on. We only serve as a CI-tool. Pros:

  • We concentrate on our expertise and leave the file handling to the guys that know it.
  • Users don't have to wait for file editing features on Ontohub because we don't develop them.
  • We expect that implementing this new ontohub is much easier and finished earlier.

Cons:

@tillmo
tillmo / ontohub-next.md
Last active September 24, 2016 02:11
A new architecture for Ontohub

We have decided to re-implement Ontohub from scratch, because

  • even if there is some decoupling into services, the core service (written in Ruby on Rails 3) is still too monolithic and therefore unmanageably complex. It shall be therefore decoupled into a backend (in Ruby on Rails 5) and a frontend (in ember.js).
  • this further decoupling of services follows the OOR architecture
  • we would need to migrate from Ruby on Rails 3 (which will be no longer maintained) to Ruby on Rails 5 in several steps, which could be even more costly than a re-implementation.
  • we could not get along with many problems in using sidekiq as a background service. We hope that RabbitMQ, a true service broker, will be better here. Moreover, servers providing Hets as a service can be registered more easily
  • new program
logic OWL.NP-ALCIN
Prefix: : <http://ontohub.org/monster-blend/animalsDetailed/shared>
Class: BodyPart
Class: Organism
ObjectProperty: has_part
ObjectProperty: meets
DisjointClasses: AnatomicalBoundary,
CardinalBodyPart,
/var/log/Xorg.0.log
X.Org X Server 1.16.0
Release Date: 2014-07-16
[ 5.435] X Protocol Version 11, Revision 0
[ 5.435] Build Operating System: Linux 3.2.0-70-generic x86_64 Ubuntu
[ 5.435] Current Operating System: Linux mark 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64
[ 5.435] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic root=UUID=1f0dd37d-6e42-42b8-a114-64cb838bccab ro quiet splash vt.handoff=7
[ 5.435] Build Date: 12 February 2015 11:11:26PM
[ 5.435] xorg-server 2:1.16.0-1ubuntu1.2~trusty2 (For technical support please see http://www.ubuntu.com/support)
ProofAttemptsController#locid_for
app/controllers/application_controller.rb, line 67
#<Class:0x00000009412e28>#state_tag
app/helpers/state_helper.rb, line 27
#<Class:0x00000009412e28>#_app_views_shared__state_tag_html_haml___2480582439894726513_44969680
app/views/shared/_state_tag.html.haml, line 1
block in #<Class:0x00000009412e28>#_app_views_proof_attempts_index_html_haml___831238484653688753_78082980
app/views/proof_attempts/index.html.haml, line 37
#<Class:0x00000009412e28>#_app_views_proof_attempts_index_html_haml___831238484653688753_78082980
@tillmo
tillmo / diff
Created January 27, 2015 12:39
diff for server config
diff --git a/.ruby-version b/.ruby-version
index 879b416..7ec1d6d 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-2.1
+2.1.0 # use rbenv alias --auto; this always selects the latest version among 2.1.X
diff --git a/Gemfile b/Gemfile
index 02172e8..55447bb 100644
--- a/Gemfile