profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/rrooij/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

casperlamboo/Fourier-Image-Scaler 0

Fourier Image Scaler for the course "Onderzoeks methode voor de Informatica"

rrooij/anbi_recognizer 0

Find ANBI deductable donations from your transactions

rrooij/awesome-FOSS-apps 0

Collection of Free and Open Source Android apps.

rrooij/awesome-rust 0

A curated list of Rust code and resources.

rrooij/awesome-www 0

awesome window manager website

rrooij/Baka-MPlayer 0

The libmpv based media player

rrooij/BlobTools 0

Tools for unpacking & repacking blobs used for updating "hidden" partitions on ASUS Transformer

rrooij/Blockinger 0

Tetris clone for Android

push eventterminusdb/terminusdb-docs

Robin de Rooij

commit sha ec20d7f6eb2f566125e1ce463492fc30f5ec893a

add trailing slash

view details

push time in 2 days

push eventterminusdb/terminusdb-docs

Robin de Rooij

commit sha 80c1ace1fdb01ae101766408acc5330d5557e295

Redirect index.html to new docs subdir

view details

push time in 2 days

push eventterminusdb/terminusdb-docs

Robin de Rooij

commit sha b8da1fb28ae32211fd03ecf3a61f14176d53f9e5

Delete CNAME

view details

push time in 2 days

issue closedterminusdb/terminusdb

AppImage fails to build

It looks like the appimage attempts to build the prolog module using make.sh, a script that has been removed long ago. The proper way to build now is make. If we wish to continue supporting AppImage, someone will have to fix this.

@rrooij do you know more?

closed time in 2 days

matko

issue commentterminusdb/terminusdb

AppImage fails to build

The AppImage build was fixed some time ago, but we decided to stop supporting it.

matko

comment created time in 2 days

issue closedterminusdb/terminusdb

Route handler should return useful error for unexpected content-type

Describe the bug

If I don't provide the HTTP header Content-type: application/json when I create a database (e.g. /api/db/admin/database-name), I get the unhelpful error:

HTTP/1.1 500 Internal Server Error
Date: Wed, 21 Jul 2021 11:07:49 GMT
Connection: Keep-Alive
Content-Type: application/json
Content-Length: 202

{
  "@type":"api:ErrorResponse",
  "api:error": {"@type":"api:APIEndpointFailed"},
  "api:message":"Failed to run the API endpoint goal db_handler(admin,'database-name')",
  "api:status":"api:failure"
}

To Reproduce

curl -i "http://127.0.0.1:6363/api/db/admin/database-name" \
  -u "admin:root" \
  -d '{"comment":"New database","label":"database-name"}' \
  -H 'Content-Type:'

Expected behavior

I would expect an error about a missing or incorrect Content-Type, since that seems to be the first check that should be done.

closed time in 2 days

spl

issue commentterminusdb/terminusdb

Route handler should return useful error for unexpected content-type

It now displays a proper error:


{
  "@type":"api:MissingContentTypeErrorResponse",
  "api:message":"Missing 'Content-Type' header. Expected value: 'application/json'",
  "api:status":"api:failure"
}

Or when I make something up:

{
  "@type":"api:BadContentTypeErrorResponse",
  "api:message":"Bad 'Content-Type' header value: test. Expected value: 'application/json'",
  "api:status":"api:failure"
}
spl

comment created time in 2 days

issue closedterminusdb/terminusdb

Can't find the cli tool on macOS

Describe the bug I'm on macOS 10.15.7 and was going to check out terminusdb, and installed it by downloading .dmg and moving the executable into /Applications. I then wanted to work with the cli tool, but can't find any reference to how to install it / where it is if it is in my current installation. The README points to https://github.com/terminusdb/terminusdb/blob/master/docs/CLI.md but it is not mentioned how i get the terminusdb executable in the first place.

Seems like the code is in src/cli/main.pl, but my only attempt perl main.pl didn't work, so gave up :D

To Reproduce

  1. Be on macOS
  2. Download and install TerminusDB by copying .app into /Applications
  3. Start application
  4. Open terminal and try to run terminusdb

Expected behavior At least some documentation on how to get the cli, or the app automatically symlink it or something.

Info (please complete the following information): macOS 10.15.7

closed time in 2 days

andeplane

issue commentterminusdb/terminusdb

Can't find the cli tool on macOS

We decided to drop the Mac OS .dmg. You can still compile it yourself on Mac OS although we officially don't support it.

andeplane

comment created time in 2 days

issue closedterminusdb/terminusdb

Allow serving HTTP(S) under a URL prefix other than /

Desired Feature

TERMINUSDB_URL_PREFIX (and CLI switches, I guess) existed, could be set to something other than /, and the console worked when hosted on a different URL base (e.g. inside another application).

Motivation

Over on https://github.com/terminusdb/terminusdb-tutorials/pull/31 I've got a brutal, but working, build which starts up an interactive jupyter server with the ability to start the terminusdb server. It mostly works for kernel usage.

However, on Binder, only one port is exposed per session, but we can use a proxy to get other ports exposed, the final URL ends up looking like:

https://hub.gke2.mybinder.org/user/bollwyvl-terminusdb-tutorials-8j8xs8nm/proxy/6363

This results in:


Screenshot from 2020-10-17 17-49-32


The console doesn't show any warnings... but is grabbing things from all over the internet... a separate issue, to be sure...

Alternatives

There aren't a lot: I've been through this with a bunch of different tools, and it's just generally hard to compose things if every app expects to be installed on /. Trying to rewrite URLs on the fly in the proxy is basically insane, the brave new SPA era.

Thanks!

Thanks for terminusdb! Looking forward to exploring it more!

closed time in 2 days

bollwyvl

issue commentterminusdb/terminusdb

Allow serving HTTP(S) under a URL prefix other than /

We chose to let people use a reverse proxy instead. If you are still having trouble, please re-open the issue.

bollwyvl

comment created time in 2 days

issue closedterminusdb/terminusdb

TERMINUSDB_CONSOLE_BASE_URL should not be hardcoded in different branches

We currently have different console versions based on the Git branch. This makes sense, as terminusdb-console is an important part of TerminusDB. However, the way it is currently done is a bit dirty. We hardcode the default URL on the different branches. For instance, dev has a different default base_url in terminus_config.pl than canary. This leads to potential merge conflicts and makes it harder to compare differences between different branches.

Instead, we should set it at build-time somehow.

closed time in 2 days

rrooij

issue commentterminusdb/terminusdb

TERMINUSDB_CONSOLE_BASE_URL should not be hardcoded in different branches

We got rid of the CONSOLE_BASE_URL and will introduce a better measure when we re-introduce a console/dashboard.

rrooij

comment created time in 2 days

PR opened terminusdb/terminusdb

benchmark: only run one job at a time

If we want reliable benchmarks, multiple benchmarks shouldn't be run at the same time because this would lead to degraded performance on these benchmarks. <!-- Thanks for taking the time to contribute!

Is this your first pull request? If you don't mind, please read this first.

https://github.com/terminusdb/terminusdb/blob/main/docs/CONTRIBUTING.md -->

+1 -0

0 comment

1 changed file

pr created time in 2 days

create barnchterminusdb/terminusdb

branch : benchmark_concurrency

created branch time in 2 days

PR opened terminusdb/terminusdb

ci: push docker latest tag when a version is pushed

The latest version tag was pushed 6 months ago, but it should always point to the latest version instead.

+6 -2

0 comment

1 changed file

pr created time in 2 days

create barnchterminusdb/terminusdb

branch : ci_latest_docker_fix

created branch time in 2 days

PR opened terminusdb/terminusdb

Remove old data points

We used GitHub Actions to run those benchmarks but it provided unreliable results. Therefore it is better to clean it up now.

+1 -12401

0 comment

1 changed file

pr created time in 3 days

create barnchterminusdb/terminusdb

branch : remove_old_data_points

created branch time in 3 days

pull request commentterminusdb/terminusdb

ci: add benchmarking with external machine

Thanks a lot for your review Sean! I added your suggestions.

rrooij

comment created time in 3 days

push eventterminusdb/terminusdb

rrooij

commit sha 4ac3c89bd44253893110bf45c170035b784f4af9

ci: use $HOME env variable instead of whole path

view details

rrooij

commit sha 727960096205e4dc68535b4a28aca9f8df32a0eb

ci: only run benchmarks when terminusdb is the owner This prevents people that fork our repo from unexpected failures

view details

rrooij

commit sha 83564c2640ce01ac18ced6ce84486b6c68e5c814

ci: set SSH_AUTH_SOCK for whole job

view details

push time in 3 days

PR opened terminusdb/terminusdb

ci: add benchmarking with external machine

Instead of running it entirely within Github Actions, we are now running this on a VM somewhere to provide somewhat stable results instead.

I run it on every push to main. Not every pull request is merged so it will mess up our statistics if we run this on every pull request. We should modify it in the future though, so that you know the difference between pull request performance and main before we merge.

+13 -12

0 comment

1 changed file

pr created time in 3 days

push eventterminusdb/terminusdb

rrooij

commit sha c60f8e16ea37a960c9486b803f5df9a6a3b29d95

ci: add benchmarking with external machine Instead of running it entirely within Github Actions, we are now running this on a VM somewhere to provide somewhat stable results instead.

view details

push time in 3 days

push eventterminusdb/terminusdb

rrooij

commit sha a3f5344c17b06b5b8fe527aa217f3c0ded64ae55

ci: remove k6

view details

push time in 3 days

push eventterminusdb/terminusdb

rrooij

commit sha 21b808edd81c0d0ea71124c1a6508cccb59cced3

Fix double quotes

view details

push time in 3 days

push eventterminusdb/terminusdb

rrooij

commit sha ed563d2baf37051d602c58fe1ede68f390e9f62a

ci: add commit hash

view details

push time in 3 days

push eventterminusdb/terminusdb

rrooij

commit sha 951168419d2c5430a5f490ec476034de0210ed21

ci: remove colon

view details

push time in 3 days

create barnchterminusdb/terminusdb

branch : benchmark_improvement

created branch time in 3 days

PR opened terminusdb/terminus_store_prolog

Remove fedora from deployment

It was used to compile for the fedora binary, but we don't want to release it anymore.

+0 -45

0 comment

2 changed files

pr created time in 4 days