profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/analytically/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.
Mathias Bogaert analytically London, UK

analytically/camelcode 81

Java+Play Framework tech demo that imports the CodePoint Open UK postcode dataset and offers a Geocoding REST API and a postcode map.

analytically/capsulecrm-ciscoipphonedir 9

Use Capsule CRM on a Cisco IP phone. Scala+Spray+SBT with a dash of Google Guava.

analytically/capsulecrm-java 7

Unofficial Capsule CRM API Java Client

analytically/docker-overlayfs-bug 4

Demonstration docker image for https://github.com/docker/docker/issues/12080

analytically/Best-websites-a-programmer-should-visit 2

:link: Some useful websites for programmers.

analytically/1on1-questions 0

Mega list of 1 on 1 meeting questions compiled from a variety to sources

analytically/akka 0

Akka Project

analytically/akka-http-cors 0

akka-http 2.x directives implementing the CORS specifications defined by W3C

analytically/akka-macro-logging 0

Lightweight logging for Akka using Scala Marcros

analytically/alluxio 0

Alluxio, formerly Tachyon, Memory Speed Virtual Distributed Storage System

PR opened sveltejs/svelte

Changing tutorial - HTML and CSS order and button style

Hi. The result of changes: Screenshot 2021-04-19 181107

+40 -36

0 comment

4 changed files

pr created time in 28 minutes

push eventtailwindlabs/tailwindcss

David Luhr

commit sha 3963d0b3d2c7732fdc4fd33b1ba23a02d4060079

Change sort order for background origin

view details

push time in an hour

PR opened JanusGraph/janusgraph-docker

The default remote-objects.yaml has the wrong host

The default remote-objects.yaml has the wrong host i.e. hosts: [localhost] rather than hosts: [janusgraph].

hosts: [localhost]
port: 8182
serializer:
  className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0
  config:
    ioRegistries:
    - org.janusgraph.graphdb.tinkerpop.JanusGraphIoRegistry
+21 -0

0 comment

1 changed file

pr created time in an hour

create barnchhashicorp/nomad-autoscaler

branch : contributind-md

created branch time in an hour

startedJakeWharton/twirl-maven-plugin

started time in an hour

pull request commentprometheus/node_exporter

Add a new ethtool stats collector

Almost there folks, lets make it happen!

ventifus

comment created time in an hour

pull request commentJanusGraph/janusgraph-docker

Remote subgraph traversal

<a href="https://api.easycla.lfx.linuxfoundation.org/v2/repository-provider/github/sign/1543822/146313205/87/#/?version=2"><img src="https://s3.amazonaws.com/cla-project-logo-prod/cla-missing-id.svg" alt="CLA Missing ID" align="left" height="28" width="328" ></a><br/><br /><ul><li> :x: The commit (7898b05d3227a0ebc39410179f58be27c1d413e3 ,b2d78cedb907be57218554cfda750efa0b48f272 ,5598aaa142257001626fdbf91abf3127c3534be0) is missing the User's ID, preventing the EasyCLA check. <a href='https://help.github.com/en/github/committing-changes-to-your-project/why-are-my-commits-linked-to-the-wrong-user' target='_blank'>Consult GitHub Help</a> to resolve.For further assistance with EasyCLA, <a href='https://jira.linuxfoundation.org/servicedesk/customer/portal/4' target='_blank'>please submit a support request ticket</a>.</li></ul>

phreed

comment created time in 2 hours

PR opened JanusGraph/janusgraph-docker

Remote subgraph traversal

The ability to return subgraphs is not possible because the TinkerIoRegistryV3d0 is not included in the gremlin-server.yaml.

serializers:
...
  - className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0
    config:
      ioRegistries:
        - org.janusgraph.graphdb.tinkerpop.JanusGraphIoRegistry
        - org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV3d0
...

As was pointed out by @mkaisercross a similar behavior can be achieved with environment parameters. The question is whether subgraph serialization should be allowed by default or not.

docker run -it -e gremlinserver.serializers[2].config.ioRegistries[+]=org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV3d0 janusgraph/janusgraph:latest janusgraph show-config
+76 -26

0 comment

4 changed files

pr created time in 2 hours

PR closed JanusGraph/janusgraph-docker

Support remote subgraph() traversals cla: external

added TinkerIoRegistryV3d0 into the server and provided a basic remote-subgraphs.yaml on the client

+188 -0

4 comments

5 changed files

phreed

pr closed time in 2 hours

pull request commentJanusGraph/janusgraph-docker

Support remote subgraph() traversals

I will try again.

phreed

comment created time in 2 hours

Pull request review commenthashicorp/nomad

UI: Add job version revert buttons

+import ApplicationAdapter from './application';+import addToPath from 'nomad-ui/utils/add-to-path';++export default class JobVersionAdapter extends ApplicationAdapter {+  revertTo(jobVersion) {+    const jobAdapter = this.store.adapterFor('job');++    const url = addToPath(jobAdapter.urlForFindRecord(jobVersion.get('job.id'), 'job'), '/revert');+    const [jobName] = JSON.parse(jobVersion.get('job.id'));++    return this.ajax(url, 'POST', {+      data: {+        JobID: jobName,+        JobVersion: jobVersion.number,+      },+    });

Looks good!

backspace

comment created time in 3 hours

issue commenthashicorp/nomad

[feature request] Force(fast) job restart

bypass the update stanza's deployment parameters?

This. We could have a job with 100 allocations and max_parallel = 1 but there are cases when we may need to restart them ASAP.

Oloremo

comment created time in 3 hours

Pull request review commenthashicorp/nomad

UI: Add job version revert buttons

+import ApplicationAdapter from './application';+import addToPath from 'nomad-ui/utils/add-to-path';++export default class JobVersionAdapter extends ApplicationAdapter {+  revertTo(jobVersion) {+    const jobAdapter = this.store.adapterFor('job');++    const url = addToPath(jobAdapter.urlForFindRecord(jobVersion.get('job.id'), 'job'), '/revert');+    const [jobName] = JSON.parse(jobVersion.get('job.id'));++    return this.ajax(url, 'POST', {+      data: {+        JobID: jobName,+        JobVersion: jobVersion.number,+      },+    });

ya, I did manually test that but it makes sense to automate, how does c30917f look for that?

backspace

comment created time in 3 hours

issue openedprometheus/prometheus

Getting rid of default metrics

Hi,

I am not sure if I am missing something in the documentation but is there a way of getting rid of default metrics such as coredns_*, go_*, process_* and scrape_* while using Prometheus in Kubernetes? My current config is below as follows.

Thanks

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole

metadata:
  name: monitoring

rules:
  - apiGroups: [""]
    resources: ["services", "pods", "endpoints"]
    verbs: ["get", "watch", "list"]
  - nonResourceURLs: ["/metrics"]
    verbs: ["get"]
global:
  scrape_interval: 15s
  scrape_timeout: 15s
  evaluation_interval: 1m
scrape_configs:
- job_name: application-metrics
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 15s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  relabel_configs:
  - separator: ;
    regex: __meta_kubernetes_service_label_(.+)
    replacement: $1
    action: labelmap
  - source_labels: [__meta_kubernetes_namespace]
    separator: ;
    regex: (.*)
    target_label: namespace
    replacement: $1
    action: replace
  - source_labels: [__meta_kubernetes_service_name]
    separator: ;
    regex: (.*)
    target_label: service
    replacement: $1
    action: replace
  kubernetes_sd_configs:
  - role: endpoints
    follow_redirects: true

created time in 3 hours

PR opened hashicorp/nomad

Reviewers
Enable go-sockaddr templating for `network-interface` theme/client type/enhancement

This adds go-sockaddr templating for the client.network_interface attribute. @lgfa29 helped me write the tests.

Closes #3675 Fixes #5498

+143 -2

0 comment

3 changed files

pr created time in 3 hours

push eventhashicorp/nomad

Buck Doyle

commit sha c30917f42e8cff45ac33946055642f0a86581737

Update reversion call test to be namespace-aware

view details

push time in 3 hours

delete branch hashicorp/nomad

delete branch : f-add-drain-start-time-tmp

delete time in 3 hours

push eventhashicorp/nomad

Buck Doyle

commit sha 2c702dc2a4ef626f51813bcc6c9a12c006b32fb0

Update reversion call test to be namespace-aware

view details

push time in 3 hours

delete branch hashicorp/nomad

delete branch : template-network-interface

delete time in 3 hours

push eventhashicorp/nomad

Charlie Voiselle

commit sha 68224bc4b60d4a97459a1725c7c5a7b1c1f1320f

Add documentation

view details

push time in 3 hours

push eventhashicorp/nomad

Nick Ethier

commit sha b8397a712d77985feec45c16afde91eee5f4addb

fingerprint: implement client fingerprinting of reservable cores on Linux systems this is derived from the configure cpuset cgroup parent (defaults to /nomad) for non Linux systems and Linux systems where cgroups are not enabled, the client defaults to using all cores

view details

Nick Ethier

commit sha 03d6eb82054248940a4f2837274f9e8ec1b1d19f

client: only fingerprint reservable cores via cgroups, allowing manual override for other platforms

view details

Nick Ethier

commit sha cd8fb2d3e3cb45a500d9c6ee24cea700e7040367

cgutil: fix lint errors

view details

Nick Ethier

commit sha 698a014a420b318aa399cef4f3aaeee2a2c6486a

client: fix failing test

view details

Nick Ethier

commit sha d34495e6e09c674bd2b401d60dd5754fde9dc8f4

agent: add test for reserved core config mapping

view details

Nick Ethier

commit sha 84e44d53d0e572a4e92ce96cd6e4463ad25bd906

Apply suggestions from code review Co-authored-by: Drew Bailey <drewbailey5@gmail.com>

view details

Nick Ethier

commit sha 5e7b411deca176828dbc90597436be3bdd30be7b

cgutil: implement cpuset management as seperate package

view details

Nick Ethier

commit sha 85f6a56c6f3b6fa7a8a893e8ba78065e86a6a8c6

lib/cpuset: add String and ContainsAny helpers

view details

Nick Ethier

commit sha 38bc1b1a310dbf5650192ea556fb909a9033dc9b

client/fingerprint: move existing cgroup concerns to cgutil

view details

Nick Ethier

commit sha f897ac79e8a8c315716d65e7e51caae1d3922f9a

client/ar: thread through cpuset manager

view details

Nick Ethier

commit sha 355212c30ce5015435be61a65fa45267093337b5

cgutil: add nil check on AddAlloc

view details

Nick Ethier

commit sha 4a25ec941057df971d32623b1e9825ad742fa49d

testing fixes

view details

Nick Ethier

commit sha d5f97c11a568c54c1bedc37a34c45d04fbf182ac

another testing fix

view details

Nick Ethier

commit sha 9003717ae3cf3a5f7b53e868322b25afa1831f39

client: disable cpuset cgroup managment if init fails

view details

Nick Ethier

commit sha 1925f6b893991996204f82405b374fa2b25eb4dc

cgutil: set reserved mems on init even if already exist

view details

Nick Ethier

commit sha 5377be43ffff00675dab020ccdfffd7deb8aec5b

executor: add support for cpuset cgroup

view details

Nick Ethier

commit sha 377b6ee15d9c969e135790bf4de907c2353b3d49

docker: add support for cpuset cgroup management

view details

Nick Ethier

commit sha 636d6ef1504862b1e93f79e14fbd8792cc8fe59c

drivers/docker: move cgroups logic to linux build file

view details

Nick Ethier

commit sha 9c014b62c69586cf645195f155808c48184365f8

plugins/driver: add cpuset_cpus back and mark cpuset_mems as reserved

view details

Nick Ethier

commit sha a7f079d5b950404970dc2bd98cc68de823b10753

tr: set cpuset cpus if reserved

view details

push time in 3 hours

push eventhashicorp/nomad

Seth Hoenig

commit sha 94399fff0841afabddaab5e32b62c819a935ddf4

client: always set script checks hook Similar to a bugfix made for the services hook, we need to always set the script checks hook, in case a task is initially launched without script checks, but then updated to include script checks. The scipt checks hook is the thing that handles that new registration.

view details

Seth Hoenig

commit sha 2fc19c398d4261c40c996d76fea2ccd77f3086e6

Merge pull request #10403 from hashicorp/b-always-set-scriptchecks-hook client: always set script checks hook

view details

push time in 4 hours

delete branch hashicorp/nomad

delete branch : b-always-set-scriptchecks-hook

delete time in 4 hours

PR merged hashicorp/nomad

Reviewers
client: always set script checks hook

Similar to a bugfix made for the services hook, we need to always set the script checks hook, in case a task is initially launched without script checks, but then updated to include script checks.

The scipt checks hook is the thing that handles that new registration.

+5 -4

0 comment

1 changed file

shoenig

pr closed time in 4 hours

issue commenthashicorp/nomad

[feature]: Enable specifying user/group permissions in the template stanza

Similar use case as above: Nomad postgres job being run in the exec driver as the nobody user, with SSL, pulling PKI certs via consul template from the vault PKI secrets path. All Nomad job files are created as nobody:nobody in the job except for the consul template files which are root:root. Postgres demands perms on the cert secret key file of 0600 (for non-root ownership) or 0640 (for root ownership) which is incompatible with the nobody:nobody user if ownership can't be changed. We can of course copy the secret key and change the ownership by script at the startup of the postgres job, but then when PKI certs expire and are auto-refreshed, the consul template change_mode can't just be SIGHUP, but a more disruptive full job restart to ensure that the scripted change of ownership happens to be able to read the newly rotated private key again.

Maybe there is a way to have the consul template files be written as the nobody:nobody user rather than root:root when the nomad jobs are being run as nobody:nobody?

danlsgiga

comment created time in 4 hours

push eventhashicorp/nomad

Luiz Aoqui

commit sha 911ca57a403383f72caf8d0f7fba6a43de67985c

add tests and check for valid interface

view details

push time in 4 hours

PR opened concourse/concourse

Fix volume GC query to not include volumes with children

What does this PR accomplish?

Bug Fix

closes #1215 #1780.

Changes proposed by this PR:

Notes to reviewer:

Reproduce:

  1. Create a job with get and task step like below.
resources:
- name: booklit
  type: git
  source: {uri: "https://github.com/vito/booklit"}

jobs:
- name: unit
  plan:
  - get: booklit
  - task: test
    file: booklit/ci/test.yml
  1. Trigger a build and hijack into the task step (for making sure container is not GCed)
  2. Change the resource's source i.e. add a branch (to generate a new resource_config and resource_cache)
  3. Note db and web nodes will show the error msg once gc kicks in (because it's trying to destroy the old resource_cache volume but can't since it's the parent of the container volume)

Release Note

Fix query that causes volume cannot be destroyed as children are present in web and update or delete on table "volumes" violates foreign key constraint "volumes_parent_id_fkey" in DB.

Contributor Checklist

<!-- Most of the PRs should have the following added to them, this doesn't apply to all PRs, so it is helpful to tell us what you did. -->

Reviewer Checklist

<!-- This section is intended for the reviewers only, to track review progress. -->

  • [ ] Code reviewed
  • [ ] Tests reviewed
  • [ ] Documentation reviewed
  • [ ] Release notes reviewed
  • [ ] PR acceptance performed
  • [ ] New config flags added? Ensure that they are added to the BOSH and Helm packaging; otherwise, ignored for the integration tests (for example, if they are Garden configs that are not displayed in the --help text).
+27 -5

0 comment

2 changed files

pr created time in 4 hours

fork mbrukman/rttanalyzer

RTTAnalyzer: Real Time Trace Analyzer. The methodology for Oracle SLO performance monitoring and the tool to support that methdology

fork in 4 hours