Contribute to Open Source. Search issue labels to find the right project for you!

Are tuples the only "anonymous" types in P4_16?


I believe that the following snippets are illegal P4_16 code: header { bit<20> label; bit<3> tc; bit bos; bit<8> ttl; }[10] mpls; or struct { bit<16> f1; } my_struct; Out-of-curiosity: was this ever considered for inclusion in the language (I’m not saying that it is a good idea, I’m just curious)?

So is it valid to say that header types, structs and header unions always have a name? While tuples and stacks don’t?

Updated 22/03/2018 23:16 1 Comments

Swift-T branch maintenance


The swift-t-integrate branch has several commits that have not been merged to master and has gone severely stale. This needs to be checked out to make sure that important functionality is not lost.

There are potential issues in that branch that break the task execution environment that prevent any system builtins from being available. @annawoodard ’s PR #156 mostly addresses these, but I suspect that there might be more untested issues lurking.

This issue is more of a reminder on the state this topic is left in.

Updated 22/03/2018 22:57

The future of sonar-golang


SonarSource is going to provide its own open source sonarqube plugin for the go language called SonarGo next month.

This is a good news in our opinion since now go will be a language officially supported by SonarQube.

The approach taken by SonarGo seems different from our plugin: instead of retrieving the issues/data from external tools as we do, they are analyzing with their own rules the files.

The advantage is to be able to support the same set of rules across all languages.

The disadvantage may be to loose some rules you are used to with current go linters.

In the long term, it also means a tighter integration with SonarQube.

As such, the future of this plugin is not clear once SonarSource plugin will be available.

If there is no need for this plugin anymore, we are happy to move to SonarGo.

Some people may however prefer to rely on current linters, thus continue to use this plugin. In that case we would be happy to continue maintaining it.

Please feel free to comment in this issue to tell us if you think there is still a need for this plugin.

Updated 22/03/2018 21:47

Allow durable output from DockerCreateContainer


Optionally storing the containerId from the DockerCreateContainer task would facilitate management of background running containers with gradle (along with possible adjustments to other tasks). I’d look to implement this myself after getting some feedback as to whether the idea is sound.

The use of persistent output would also allow for appropriate skipping of up-to-date tasks (with associated toggle-ability due to the stateful nature of containers).

Expected Behavior

If containerId is stored between runs and referenced (specifically by the DockerStopContainer task) then DockerStartContainer could be used to start a background process which could then be later terminated by DockerStopContainer and similarly interacted with using the other container.* Tasks.

Current Behavior

Currently DockerStopContainer cannot access a previously created containerId and is therefore usable for cases such as as the README example where a container is started and stopped during the same gradle invocation but not more general container management.


This will currently lead to some combination of either not using gradle for managing running containers or stitching together additional pieces to handle the above behavior (both of which are not more than mild annoyances but seem to be easily resolvable).

Updated 22/03/2018 21:27 2 Comments

Two times localhost uri's as redirecturi gives errors


Steps to reproduce

When you add a client as follow:

  "Clients": [
      "ClientId": "my.client",
      "ClientName": "my.client",
      "RedirectUris": [
      "AllowedCorsOrigins": [

Relevant parts of the log file

Bearer token not found

Is it allowed to have localhost twice in your client definition or do I have to do it differently.

It is needed to use with Angular once to run it locally and twice to run the end to end tests. Both use a different port.

Updated 22/03/2018 21:21 1 Comments

Explanation Request: brain plus config parameters


Hey, wasn’t sure where to post this so hopefully here is ok. I was seeing a lot of switching using zergpool plus and decided to try and decrease it. I doubled the sample size and trendspan size in the brain plus config xml, let it run overnight and saw increased profits today. I know there are many other factors involved, but would you mind explaining a bit how these parameters are meant to change the switching end result, I’d like to play around with them a bit more, but don’t really understand what they do. LIke pros, cons of increasing/decreasing each? Also, what does sample half power do?

your work is much appreciated

Updated 22/03/2018 23:22 1 Comments

Invoke sagemaker-spark SDK deployed models outside of Spark


Is it possible to invoke models trained and deployed using the sagemaker-spark SDK outside of Spark- for example using the Boto3 SageMaker runtime InvokeEndpoint call? I’m attempting to call my model trained and deployed with the sagemaker-spark SDK using the InvokeEndpoint API call and I get the attached error, but when I load this file into a dataframe in a Spark session and use the model’s transform method it works fine. See attached files for my model, test data, and error screenshot. model.tar.gz mnist.single.test.txt error

If this is indeed possible I think an example in the documentation would be very instructive and helpful.

Updated 22/03/2018 22:53

Increase access level of Commands


I am working with a team trying to develop a tool that does some code analysis on iOS projects. We have integrated SwiftLint as part of this tool, however currently we are limited to running SwiftLint from the command line. This poses several problems for us.

We’d like to include SwiftLint directly as a dependency of our project, however unfortunately nothing is marked public.

What would the appetite be for marking some parts of SwiftLint as public so it can be directly incorporated into other tools?

Updated 22/03/2018 23:26 2 Comments

Query strings with http module



How can we set the query string params with the options object?

  const opts = {
     hostname: 'localhost',
     path: '/',
     port: 6969

  const req = http.get(opts, function(resp){


I am guessing that we have to write them to the request stream? but how?


this does not seem to be well documented. :(

With the user-land request package, it would be:

const request = require('request');

but I am looking to do this with the core module if possible.

Updated 22/03/2018 22:42 3 Comments

How to handle user login (and not oauth clients)?


I’ve implemented the oauth2-server which is awesome (but sometimes unclear) library :smile: . The problem is however, separate from oauth clients I also have users who just need to login. Do they do this with another grant then the authorization_code? If so which one?

Currently I’m doing this via my one-page application via a http POST request with username and password.

Updated 22/03/2018 22:18 1 Comments

View initialization when class member


I’m experiencing a similar issue to #1254, but I can’t seem to fix the issue with the advice given.

I have a class that has three Kokkos::Views as class members (no nested Views): ``` typedef Kokkos::HostSpace MemorySpace; typedef Kokkos::OpenMP AccExecSpace; typedef Kokkos::OpenMP ExecutionSpace;

Kokkos::View<Kokkos::vector<double>, MemorySpace> pdf_; Kokkos::View<lbm::NodeStatus, MemorySpace> node_status; Kokkos::View<Kokkos::vector<double>***, MemorySpace> node_solid_and_velocity; ``` I’m compiling for OpenMP, but get the following runtime error:

terminate called after throwing an instance of ‘std::runtime_error’ what(): Constructing View and initializing data with uninitialized execution space Traceback functionality not available

In the class constructor, I’m using the default constructor for the View members in the initializer list: Lattice(...) : ... pdf_(), node_status_(), node_solid_and_velocity_(), ... Then I resize and initialize them in a separate function: ``` Kokkos::resize(pdf, nodes_x, nodes_y, nodes_z); Kokkos::resize(node_status, nodes_x, nodes_y, nodes_z); Kokkos::resize(node_solid_and_velocity, nodes_x, nodes_y, nodes_z);

// Set initial node status to active fluid Kokkos::parallel_for(“init_node_status”, Kokkos::RangePolicy<AccExecSpace>(0, nodes_x * nodes_y * nodes_z), KOKKOS_LAMBDA(const lbm::LatUint& index) { const lbm::LatUint z_index = index / (nodes_x * nodes_y); const lbm::LatUint y_index = (index % (nodes_x * nodes_y)) / nodes_x; const lbm::LatUint x_index = (index % (nodes_x * nodes_y)) % nodes_x; node_status(x_index, y_index, z_index) = lbm::NodeStatus::ACTIVE_FLUID; });

// Allocate memory for discrete velocities in pdf Kokkos::parallel_for(“init_pdfs”, Kokkos::RangePolicy<ExecutionSpace>(0, nodes_x * nodes_y * nodes_z), KOKKOS_LAMBDA(const lbm::LatUint& index) { const lbm::LatUint z_index = index / (nodes_x * nodes_y); const lbm::LatUint y_index = (index % (nodes_x * nodes_y)) / nodes_x; const lbm::LatUint x_index = (index % (nodes_x * nodes_y)) % nodes_x; pdf_(x_index, y_index, z_index) = Kokkos::vector<double>(27, 0.0); }); ```

Based on my understanding, this should work–Kokkos::OpenMP execution space should have access to Kokkos::HostSpace memory space. Am I missing something obvious about why the execution space is uninitialized? Sorry to bother you with simple implementation questions…

Updated 22/03/2018 23:39 6 Comments

How to get adapta desktop environment


Im trying to replicate the image that is on the front of the github page. It has a nice toolbar and search center. I installed the theme and selected adapta theme on desktop theme settings and nothing really changed. How do I recreate that desktop environment. Sorry Im a newbie, just got kde

Updated 22/03/2018 20:23 2 Comments

concept drawings


@phase4space/careful-cots Who would be willing to draw or find someone to draw a set of concept drawings for a high-level proposal review? So far, we have two votes for “6U with ion drive” from team participants as a preferred format.

Updated 22/03/2018 19:01

NEP5: Do the required methods have to be declared `public` per the current specification?


The NEP5 spec ( states that there is a Required and Optional set of methods that need to be implemented and that they need to be declared public. Is this spec up-to-date? For example, the referenced example, declares these methods as private. Is there a specification that is more current/up-to-date?

Updated 22/03/2018 21:32

Proxy not working correct


When I am trying start to register/login with proxy it is not working correctly. I cant update Profile and make a repin when I am using proxy. I tried to debug it with this: if($bot->getHttpClient()->usesProxy()) { echo "proxy"; } But I get “true” each time even when I use not correct proxy host/port, so is it bug?

When I register/login without proxy everything ok. With VPN working fine too. Proxy is valid, I tried with several https and socks5. You can try with my socks5: gilman06: vftloisf

Updated 22/03/2018 20:19 2 Comments

End documentation – a guide for other cities to follow


My project is limited to a single city (although it is a large one). 🏙 I want to produce some easy end documentation showing how others can ‘Kickstart the city’ where they live.

What is the best way to do this:

  • A step-by-step guide to what this project involved?
  • A quick tips post on my blog?
  • What would you want to know?

Comment here or email: with the issue in the subject line.

Updated 22/03/2018 18:43

Meta: How to keep travis green with external deps?

  • examples/github_issues uses ng_bootstrap.
  • examples/registration_form uses angular_components.

… neither of these point to us at HEAD, which means that we can’t make a breaking change on MASTER without our travis becoming red. I’m considering making both of these projects an “allowed failure” - i.e. its just an FYI when broken and we don’t block merges.

Thoughts? @alorenzen @leonsenft @nshahan

Updated 22/03/2018 18:48 2 Comments

Crazy content idea for a traffic light ranking system for privacy?


I want to help people understand their online lives better and improve their digital literacy so they can make more informed choices about their privacy. But it has to be engaging or people won’t come back. I’m playing with an idea around a ‘traffic light system’ or other form of ranking for good/bad players – to rate companies for data privacy…

Eg, could I get a bit of Python code to apply to the terms and conditions of the big tech companies and maybe rate them for different elements, eg, length, readability, privacy terms? Could these be combined into one overall ranking?

Does something like this already exist?

Comment here or email: with the issue in the subject line.

Updated 22/03/2018 21:00

Do you know any tech/privacy celebs who would be a guest editor?


To help with publicity, build community and offer something unique, I think it could be cool to occasionally offer the opening intro section of the newsletter to guest editors – like the foreword of a book where more famous people write a few words.

Does anyone know of any Tech/Data/Privacy celebrities, or other people with a big follower count, who might be willing to write a few paragraphs with their thoughts on data privacy, cybersecurity, open data or the politics of data?

@Snowden…? I can but dream?

Comment here or email: with the issue in the subject line.

Updated 22/03/2018 21:00

question about tombo.tombo_stats module


Hi Marcus

I am interested to use tombo.tombo_stats module to access per read statistics. However do not know what I should pass as interval_data for the function: get_region_per_read_stats(interval_data, num_reads=None)

apparently the following or similar arguments do not work: get_region_per_read_stats(interval_data = ‘pFMP233|601_25mer:3750’, num_reads=None)

Thanks Maryam

Updated 22/03/2018 18:36 1 Comments

Populando Select com dados do bd


Olá pessoal, boa tarde. Já pesquisei diversas formas e estou recorrendo a ajuda de vocês no seguinte problema:

Criei um custom post type para Países e estou criando um outro custom post type de cidades em que o usuário deverá selecionar o país que aquela cidade pertence, porém coloco o array no ‘options’ e a o select não é preenchido com os dados.

Segue o código para análise :

$paises_terms = get_posts( array( 'post_type' => 'pais') ); 
$paises_terms_keys = array(); 
$paises_terms_values = array(); 
foreach( $paises_terms as $paises_term ) { 
    array_push( $paises_terms_keys, $paises_term->ID ); 
    array_push( $paises_terms_values, $paises_term->post_title ); 
function cidade_metabox() {

    $cidades_metabox = new Odin_Metabox(
        'cidade', // Slug/ID of the Metabox (Required)
        'Detalhes da Cidade', // Metabox name (Required)
        'cidade', // Slug of Post Type (Optional)
        'normal', // Context (options: normal, advanced, or side) (Optional)
        'high' // Priority (options: high, core, default or low) (Optional)

             * Default input examples.

                'id'            => 'pais', // Obrigatório
                'label'         => __( 'Text Example', 'odin' ), // Obrigatório
                'type'          => 'select', // Obrigatório
                // 'attributes' => array(), // Opcional (atributos para input HTML/HTML5)
                //'default'       => 'three', // Opcional
                'description'   => __( 'Descrition Example', 'odin' ), // Opcional
                'options'       => $opcoes_paises

agradeço a atenção desde já.

Updated 22/03/2018 23:32

Can you help me get more subscribers?


I need to build subscribers and get the word out. I’ve launched the first newsletter and online support areas – so what are the next steps to maximise reach?

This is an email for Birmingham UK so I appreciate this is a geographically limited project but maybe you could Subscribe if interested in the project, or tweet out the Subscribe link to anyone you know in Birmingham or the Midlands area of the UK?

Thank you!

Updated 22/03/2018 18:45

Can I get some feedback on my launch issue, please?


I picked a great week to launch a data privacy email (Cambridge Analytica undercover investigation)! It was going to just be a draft but I decided to go for it in a basic form that I can refine in the next issue.

What do you think? General feedback/advice would be great – reply here or email ( The web version is online at [Observed City Tinyletter] (

There’s also a new website with sign up link and intro/about: [Observed.City] (

And social media areas for discussion: Twitter account [@observedcity] ( and a [Facebook closed group] (

Updated 22/03/2018 18:37

Migrate service to production server


Currently, this service is running on a free-tier Heroku account, has drawbacks but adequate for initial development and testing.

There are several options for hosting this node.js service: 1. a production Heroku account 2. AWS or Nanobox or Digital Ocean, or ? 3. possibly, co-locate with

Regardless of service location, DNS at would be leveraged to make the public endpoint something like:

Updated 22/03/2018 18:04

A propos du pattern Composite


J'ai une question concernant l'implémentation avec ce pattern : de ce que j'ai compris, le pattern Composite est fait pour avoir plusieurs ramifications d'éléments composites, mais dans notre cas on a un kebab qui possède plusieurs ingrédients, et non pas un kebab qui peut contenir plusieurs kebabs. On perd donc tous l'intérêt du pattern, ou est ce qu'il faut modéliser le projet différemment pour l'adapter au pattern ?

Updated 22/03/2018 17:44

How to test my job?


I wanted to test my job yet: - Job.onRunJob(params) is protected and I can’t execute it in a test. - Params is a final class instead of interface so I can’t mock it.

Even if i would treat it as a wrapper and execute job I still have to deal with params and repacking data just for test purposes is madness. Is there any other solution?

Updated 22/03/2018 20:08 1 Comments

config.json as a volume fails: illegal operation on a directory


Instead of environment variables I am trying to make config.json persistent by mounting a directory from the host into /files like this:

      - /etc/hackmd:/files

In the original working configuration, the environment variables were set like this:

      - HMD_DB_URL=postgres://hackmd:*****@database:5432/hackmd
      - HMD_USECDN=false
      - HMD_URL_ADDPORT=false
      - HMD_ALLOW_FREEURL=true
      - HMD_IMAGE_UPLOAD_TYPE=filesystem

With the volume mounted into the container, the config file has this content:

hackmd@4eb2e4442d8b:/hackmd$ cat config.json
  "production": {
      "dburl": "postgres://hackmd:*****@database:5432/hackmd",
      "usecdn": false,
      "domain": "",
      "urladdport": false,
      "usessl": true,
      "allowfreeurl": true,
      "imageUploadType": "filesystem"

To me this looks like the exact configuration. Still, the app will not come up correctly. The log claims an “illegal operation on a directory”:

$ docker logs hackmd_app_1
2018/03/22 17:20:09 Waiting for host: hackmdPostgres:5432
2018/03/22 17:20:09 Problem with dial: dial tcp getsockopt: connection refused. Sleeping 5s
2018/03/22 17:20:14 Problem with dial: dial tcp getsockopt: connection refused. Sleeping 5s
2018/03/22 17:20:19 Problem with dial: dial tcp getsockopt: connection refused. Sleeping 5s
2018/03/22 17:20:24 Problem with dial: dial tcp getsockopt: connection refused. Sleeping 5s
2018/03/22 17:20:29 Problem with dial: dial tcp getsockopt: connection refused. Sleeping 5s
2018/03/22 17:20:34 Problem with dial: dial tcp getsockopt: connection refused. Sleeping 5s
2018/03/22 17:20:39 Timeout after 30s waiting on dependencies to become available: [tcp://hackmdPostgres:5432]

Sequelize [Node: 6.12.3, CLI: 2.8.0, ORM: 3.30.4]

'db:migrate' errored after 8.79 ms
Error: Error parsing url: undefined
    at Object.urlStringToConfigHash (/hackmd/node_modules/sequelize-cli/lib/helpers/config-helper.js:200:13)
    at Object.parseDbUrl (/hackmd/node_modules/sequelize-cli/lib/helpers/config-helper.js:205:22)
    at /hackmd/node_modules/sequelize-cli/lib/helpers/config-helper.js:21:24
    at tryCatcher (/hackmd/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/hackmd/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/hackmd/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromiseCtx (/hackmd/node_modules/bluebird/js/release/promise.js:606:10)
    at Async._drainQueue (/hackmd/node_modules/bluebird/js/release/async.js:138:12)
    at Async._drainQueues (/hackmd/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/hackmd/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)
2018-03-22T17:20:46.438Z - error: uncaughtException: EISDIR: illegal operation on a directory, read date=Thu Mar 22 2018 17:20:46 GMT+0000 (UTC), pid=33, uid=10000, gid=65534, cwd=/hackmd, execPath=/usr/local/bin/node, version=v6.12.3, argv=[/usr/local/bin/node, /hackmd/app.js], rss=91455488, heapTotal=75583488, heapUsed=44675696, external=41684, loadavg=[0.6572265625, 0.47314453125, 0.49072265625], uptime=686302, trace=[column=null, file=null, function=Error, line=null, method=null, native=true, column=19, file=fs.js, function=Object.fs.readSync, line=733, method=readSync, native=false, column=20, file=fs.js, function=tryReadSync, line=488, method=null, native=false, column=19, file=fs.js, function=Object.fs.readFileSync, line=536, method=readFileSync, native=false, column=13, file=/hackmd/app.js, function=null, line=58, method=null, native=false, column=32, file=module.js, function=Module._compile, line=570, method=_compile, native=false, column=10, file=module.js, function=Module._extensions..js, line=579, method=.js, native=false, column=32, file=module.js, function=Module.load, line=487, method=load, native=false, column=12, file=module.js, function=tryModuleLoad, line=446, method=null, native=false, column=3, file=module.js, function=Module._load, line=438, method=_load, native=false, column=10, file=module.js, function=Module.runMain, line=604, method=runMain, native=false, column=7, file=bootstrap_node.js, function=run, line=383, method=null, native=false, column=9, file=bootstrap_node.js, function=startup, line=149, method=null, native=false, column=3, file=bootstrap_node.js, function=null, line=496, method=null, native=false], stack=[Error: EISDIR: illegal operation on a directory, read,     at Error (native),     at Object.fs.readSync (fs.js:733:19),     at tryReadSync (fs.js:488:20),     at Object.fs.readFileSync (fs.js:536:19),     at Object.<anonymous> (/hackmd/app.js:58:13),     at Module._compile (module.js:570:32),     at Object.Module._extensions..js (module.js:579:10),     at Module.load (module.js:487:32),     at tryModuleLoad (module.js:446:12),     at Function.Module._load (module.js:438:3),     at Module.runMain (module.js:604:10),     at run (bootstrap_node.js:383:7),     at startup (bootstrap_node.js:149:9),     at bootstrap_node.js:496:3]

What’s the matter here?

Updated 22/03/2018 18:59 1 Comments

Purpose of tag method in AbstractSpan


Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [X] Question or discussion
  • [ ] Bug
  • [ ] Requirement
  • [ ] Feature or performance improvement


  • What do you want to know? in AbstractSpan there is a tag method, will the tag value pass to collector and ui? Can we add the getTags method in AbstractSpan as well?


  • Which version of SkyWalking, OS and JRE?

  • Which company or project?

  • What happen? If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

  • Please describe about your requirements or improvement suggestions.
Updated 22/03/2018 23:10 1 Comments

introduce development procedures/community process


In order to engage more fellow hackers to contribute to CCN-lite, I would propose that we first adapt RIOTs development procedures for CCN-lite and second, have a look at RIOTs community Processes.

We don’t have to use RIOTs defined guides and processes, but I think it is a good starting point. I suggest that I will set up the corresponding wiki pages and we can discuss the pages here (in this issue). If it comes down to mailing lists/f2f meetings etc. I think this requires a “critical mass” and can be handled later.

I think we have some bits & pieces already in place (e.g. the PR settings (which require some documentation/guide)), but we can improve. Like the linux kernel janitor project we could for example think of introducing janitor tasks, i.e. simple contributions tasks for people new to CCN-lite (the basis could be our TODO list in the wiki).

Any thoughts? Particularly, @cgundogan @blacksheeep @cmarxer @waehlisch

Updated 22/03/2018 19:00 5 Comments

Question on `sfdx force:lightning:test:install -t jasmine`


I was curious if it is expected that sfdx force:lightning:test:install -t jasmine is run for each CI job? I ask this because after running sfdx force:lightning:test:install -t jasmine I then ran sfdx force:source:pull, expecting to see the Jasmine test runner component show up in my local project, so that I could check it into my project’s SCM. Unfortunately that source code was not pulled.

I’m still getting used to SFDX’s project structure, and from what I can tell, I cannot use my IDE plugin for Eclipse to connect to this scratch org (am I wrong there?) to pull the source.

Thanks for any insights!


Updated 22/03/2018 21:55 1 Comments

How do I instrument .NET Core console app with extension SDK TelemetryModule


Hey folks,

Yesterday I set out to prove that my heartbeat feature would work nicely on any app running on a Linux box in Azure.

.NET Core doesn’t load an ApplicationInsights.config file, so I had to do it like this:

/// This is the method with the setup of the heartbeat.
public static TelemetryClient SetupClient(string ikey)
    TelemetryModules.Instance.Modules.Add(new AzureInstanceMetadataTelemetryModule()); // add before init
    var aiCfg = TelemetryConfiguration.Active;
    aiCfg.InstrumentationKey = ikey;

    // no config, so I have to setup my heartbeat setting manually...
    foreach (var module in TelemetryModules.Instance.Modules)
        if (module is IHeartbeatPropertyManager hbeatManager)
            hbeatManager.IsHeartbeatEnabled = false;
            hbeatManager.HeartbeatInterval = TimeSpan.FromSeconds(31);
            hbeatManager.IsHeartbeatEnabled = true;
    TelemetryClient cli = new TelemetryClient(aiCfg);

    return cli;

…is that expected/correct? it works, but I would love to know if there is a better way for me to do this. I did try this:

// Create a new App Insights telemetry client from a config file...
public static TelemetryClient SetupClientFromConfig(string pathToAppInsightsConfig = "ApplicationInsights.config")
    var appInsightsConfigContent = System.IO.File.ReadAllText(pathToAppInsightsConfig); 
    var aiConfig = TelemetryConfiguration.CreateFromConfiguration(appInsightsConfigContent); 
    TelemetryClient cli = new TelemetryClient(aiConfig); 

    return cli;

…but no dice. The modules specified in my ApplicationInsights.config file never get added to the TelemetryConfiguration.

Updated 22/03/2018 22:19 9 Comments



only SELL order that run is when LIMIT without args. Stop-loss, Take-profit or Iceberg not works: 1.Stop-Loss: signedRequest error: {“code”:-1013,“msg”:“Stop loss orders are not supported for this symbol.”} 2.Take-Profit: signedRequest error: {“code”:-1013,“msg”:“Take profit orders are not supported for this symbol.”} 3.Iceberg: siple not works: array(0) { }

…. how i send a SELL STOP-LIMIT order ?

Updated 22/03/2018 17:22 1 Comments

Tests csw:csw-2.0.2-GetRecords-tc20.1 and csw:csw-2.0.2-GetRecords-tc21.1 fails cause of expected Exception



SUT: TODO Tested with production * ETS CSW 1.16 * TEAM Engine 4.10


Request; Both tests expects an ExceptionReport but the service returns a GetRecordsResponse.

Request (csw:csw-2.0.2-GetRecords-tc20.1): <csw:GetRecords xmlns="" xmlns:csw="" xmlns:ctl="" xmlns:dc="" xmlns:dct="" xmlns:gen="java:com.occamlab.te.Generator" xmlns:gml="" xmlns:ogc="" xmlns:ows="" xmlns:p="" xmlns:parsers="" xmlns:saxon="" xmlns:te="" xmlns:tec="java:com.occamlab.te.TECore" xmlns:tems="java:com.occamlab.te.web.MonitorServlet" xmlns:xi="" xmlns:xlink="" xmlns:xs="" xmlns:xsd="" resultType="results" service="CSW" version="2.0.2"> <csw:Query typeNames="csw:SummaryRecord"> <csw:ElementSetName>summary</csw:ElementSetName> <csw:Constraint version="1.1.0"> <ogc:Filter> <ogc:PropertyIsLike escapeChar="\" singleChar="." wildCard="*"> <ogc:PropertyName>dc:title</ogc:PropertyName> <ogc:Literal>*lorem*</ogc:Literal> </ogc:PropertyIsLike> </ogc:Filter> </csw:Constraint> </csw:Query> </csw:GetRecords>

Failure: ``` Messages from parser p:XMLValidatingParser.OWS: Validation error: cvc-elt.1.a: Cannot find the declaration of element ‘csw:GetRecordsResponse’. 1 validation error detected.

Message d1447e5887_1: [FAILURE] Missing or invalid response entity. ```


  • Test csw:csw-2.0.2-GetRecords-tc21.1 requests with typeNames=“csw:BriefRecord”
Updated 22/03/2018 17:01 1 Comments

Containerize camayoc


Issue type

  • Enhancement (improvement to Camayoc framework other than new test cases)

Description of issue

Currently camayoc only supports certain versions of python 3. We’ve chosen to do this to take advantage of the latest packages and features of python. However, this complicates running camayoc on RHEL 6 and 7 where recent versions of python can be difficult to come by.

I think we should look into what it would take to run camayoc against quipucords when camayoc is in a container. This would allow us to run any tests in camayoc against the container on all platforms we are installing on.

Communicating to the quipucords API over the network seems like it would work “out of the box”. I’m not sure if this is practical from the perspective of needing to have access to the qpc and rho binaries installed on host machine. Perhaps could somehow mount /usr/bin/qpc and/or /user/bin/rho to the container.

Completion checklist

  • [ ] discuss feasibility
  • [ ] if decide to move forward – flesh out this todo list
Updated 22/03/2018 16:57

aws_security_group_rule created intentionally and removed unintentionally


Terraform Version

Running command as: arn:aws:sts::292051043935:assumed-role/sudo_admin/
Terraform v0.11.5
+ v1.7.0
+ provider.mysql v1.0.1
+ provider.template v1.0.0
+ provider.terraform v1.0.2

Affected Resource(s)

  • aws_security_group_rule

Terraform Configuration Files

resource "aws_security_group" "aggregator-alb" {
  name = "${lower(var.product)}-${terraform.workspace}-${lower(var.env_name)}-aggregator-alb-sg"
  vpc_id      = "${local.vpc_id}"

  egress {
    from_port   = 0
    to_port     = 0
    protocol    = "-1"
    cidr_blocks = [""]

  ingress {
    from_port = 80
    to_port = 80
    protocol = "tcp"
    security_groups = [

  # lifecycle {
  #   create_before_destroy = true
  # }

resource "aws_security_group" "container_instance" {
  name = "${lower(var.product)}-${terraform.workspace}-${lower(var.env_name)}-ecs-sg"
  description = "Managed by Terraform"
  vpc_id      = "${local.vpc_id}"

  egress {
    from_port   = 0
    to_port     = 0
    protocol    = "-1"
    cidr_blocks = [""]

  ingress {
    from_port   = 22
    to_port     = 22
    protocol    = "tcp"
    cidr_blocks = ["${local.mgmt_cidr}"]
  ingress {
    from_port       = 32768
    to_port         = 65535
    protocol        = "tcp"
    security_groups = [

resource "aws_security_group_rule" "mgmt-aggregator-connection" {
  type                     = "ingress"
  from_port                = 32768
  to_port                  = 65535
  protocol                 = "tcp"
  security_group_id        = "${}"
  source_security_group_id = "${}"

  depends_on = [

Debug Output

Panic Output

Expected Behavior

I expected the state file to pick up and save ingress rule from aws_security_group_rule.mgmt-aggregator-connection into aws_security_group.container_instance

Actual Behavior

Every terraform plan shows that the aws_security_group_rule.mgmt-aggregator-connection is either being added or removed from aws_security_group.container_instance. We want it added and never removed

Steps to Reproduce

Please list the steps required to reproduce the issue, for example: 1. terraform plan 2. terraform apply

Updated 22/03/2018 18:57 1 Comments

Run Zulip in Subdir with Nginx


I see currently it is officially not supported to have zulip running in domain.tld/zulip. After playing around with the source a while it seems the only breakdown appears to be at the rendering of the relative paths of the css/js and so on, as this alway points to e.g. domain.tld/scripts.

Where in the source can I append the “/zulip” so it will render to load the sources correctly from domain.tld/zulip/scripts./..?


Updated 22/03/2018 21:54 6 Comments

No data collected for default Performance Counters



I’m running Spring app with AI SDK version 2.0.1. I’ve a problem, because I can see a lot of stuff collected from my app (like dependency calls, exceptions etc). However, when I open Servers tab, there is no data for counters like: Process CPU, Available memory, Process Time etc. Only one counter is collected: Process CPU (all cores).

I’m running my app on Windows machine, I read that to collect that data I need to make sure that user which runs application should be in a “Performance Monitor Users" group. I added that user and rebooted machine, but it still doesn’t collect that data. I don’t see any errors related with those counters in my logs.

Any idea what can be wrong with my setup?

Updated 22/03/2018 18:49 1 Comments

Track Kubespray long-polling proxy timeout issues


One one side there’s and

Given history, there’s and

May need to work with @xaf-scality to figure out how to tackle this correctly.

Updated 22/03/2018 16:25

Search on local install seems broken


When installing the docs locally alongside demo, and fundocs for debugging #216. I can no longer perform regular searches.

Just use the search bar, there are always 0 results independent of input.

@eriksiegel can you confirm that search is working as expected in your local copy?

Please provide the following

  • exist-db version: 4.0.0
  • documentation version: 4.0.0
Updated 22/03/2018 16:14

Uncaught Error: cannot open shared object file: No such file or directory.


<!– Which version of electron-builder are you using? –> <!– Please always try to use latest version before report. –> * Version: 20.7.1

<!– Which version of electron-updater are you using (if applicable)? –>

<!– What target are you building for? –> * Target: Linux, MAC, Windows

<!– Enter your issue details below this comment. –> Is there any way to include the sqlcipher shared object in the build config. I’m using SQLCipher with –build-from-source and also attached the build property.


<!– If you want, you can donate to increase issue priority ( –>

Updated 22/03/2018 16:17 1 Comments

Problem with Diff color


Hey! Diff used to look like this: capture d ecran 2018-03-22 a 12 08 02

But now they look like this: capture d ecran 2018-03-22 a 12 08 58

I’m a little bit confused, since the Repo says that the last commit is from 22 Sep 2017, but the files were modified 7 days ago.

I’m not versed enough in Sublime themes to know how to fix the problem. Do you have an idea what changes could have caused this?

Updated 22/03/2018 23:13 9 Comments

Questions for Magnus

  • [ ] What format are the current digitized scores in?
  • [ ] Are there any scores available in TEI yet?
  • [ ] Is any other media material available? (Images, Videos etc)
  • [ ] Is there project background or copy available? (Project proposals, papers etc)
  • [ ] How critical is mobile support? We always make sites responsive but need to investigate how TEI scores will play on mobile. Tablets should be fine.
Updated 22/03/2018 16:16 error


Hi there…great product!! Thank you!

Getting an error when I try to use –plugin=os::linux::snmp::plugin for any mode.

Example and error command:

./ –plugin=os::linux::snmp::plugin –snmp-community=xxxxxxxxx –snmp-version=2 –mode=time – –warning=60 –critical=120 –timezone=‘America/Chicago’

UNKNOWN: Undefined subroutine &SNMP::Session called at /usr/lib64/nagios/plugins/centreon-plugins/centreon/plugins/ line 99.

I feel like it is something I’m doing/have done wrong, but not able to figure it out.


Updated 22/03/2018 17:40 1 Comments

Bungeecord error


[SEVERE] ??? 22, 2018 6:32:03 PM changeskin.hikari.HikariConfig setDriverClassName SEVERE: Failed to load driver class org.sqlite.JDBC from HikariConfig class classloader net.md_5.bungee.api.plugin.PluginClassloader@9f71a9

18:32:03 [SEVERE] [ChangeSkin] Error loading config. Disabling plugin… java.lang.RuntimeException: Failed to load driver class org.sqlite.JDBC in either of HikariConfig class loader or Thread context classloader at changeskin.hikari.HikariConfig.setDriverClassName( at com.github.games647.changeskin.core.SkinStorage.<init>( at com.github.games647.changeskin.core.ChangeSkinCore.setupDatabase( at com.github.games647.changeskin.core.ChangeSkinCore.load( at com.github.games647.changeskin.bungee.ChangeSkinBungee.onEnable( at net.md_5.bungee.api.plugin.PluginManager.enablePlugins( at net.md_5.bungee.BungeeCord.start( at net.md_5.bungee.BungeeCordLauncher.main( at net.md_5.bungee.Bootstrap.main(

can not install on bungeecord help please

Updated 22/03/2018 15:55 1 Comments

[ImplicitFlow] Redirect after authentication to goes nowhere


The issue is that with the quickstart(with entity), I used my own database to authenticate the users and manage claims. I put a simple authetication method into the login model and called it in the login callback. It works and the user authenticates but never redirects to the main page it came from instead it goes back to the login page. Already logged in you can see the username and logout option in top left.

image image image

Updated 22/03/2018 21:20 5 Comments

Mobile Thorium Applications


Requested By: Nathan King

Priority: 1

Version: 0.2.11

We’re exploring the use of Thorium on Android and Apple touch devices–specifically Android tablets and phones and Apple iPads. Do you know of any applications on either or both types of devices that will allow us to use Thorium in a fullscreen kiosk mode? Alternatively, is there any way to package Thorium as a mobile application?


Updated 22/03/2018 22:44 2 Comments

Trello not updated anymore?


Hey guys!

I haven’t been following this project for a while, and i noticed that the Trello board is not been updated since 2015, but the link is still in the Github Readme, is this correct?

Could anyone tell me about if there is currently any ongoing activity here?

I saw that most commits for this year is just to add functionality for newer Unreal versions.

If there is still activity here, i could always produce some PR’s :)

Updated 22/03/2018 21:03 6 Comments

Remote Pagination Error - Server response missing 'last_page' property"


Hi, Oli.

I’m using Tabulator 3.2.2. I need to do remote pagination for the usage log. First of all, I simply displayed all received via ajax data from server in Tabulator without any pagination, it works. Then I add pagination options, but it doesn’t work. I’m getting error “Remote Pagination Error - Server response missing ‘last_page’ property”. But I see the value of last_page in console.log(response.last_page) in ajaxResponse.

I will be grateful if you will advise what the problem is.

Via service response is sended in next format: {“last_page”: 12, “data”: [{“user_id”: 10, “type_id”: “test”, “id”: 1111, “user_name”: “test”,“record_time”: “2018-03-22 14:04:15”, “message”: “test”}]}

Here is the example of tabulator code: $(“#log-records-table”).tabulator({ paginationSize: 20, pagination:“remote”, ajaxURL: ‘http://’ + services_server + “:” + services_port + ‘/get_log’ + “?key=” +services_key, ajaxConfig: “POST”, paginationElement: $(‘#pagination_log_records_table’), columns: [ //….columns definition ], initialSort: [ {column: “record_time”, dir: “desc”} ], ajaxResponse: function (url, params, response) { console.log(response); console.log(response.last_page); return; } });

Sincerely, Anna.

Updated 22/03/2018 20:28 1 Comments

Delete unpublished extensions from SQL


Is there a possibility to completely delete unpublished extensions from the database? Example: I installed 3 different test-extensions, each adding a field to the “Purchases & Payables Setup”. When I uninstall and unpublish all 3, the fields aren’t included anymore in NAV (obvious). However when I look in SQL, the tableextensions still exist. image Shouldn’t these be deleted when I unpublish the extension?

Updated 22/03/2018 16:32 1 Comments

hardware::server::hp::proliant::snmp::plugin - (try --snmp-force-getnext option)



I have a ProLiant DL360 Gen9 with iLO 2.55 and I’m getting this error:

UNKNOWN: SNMP Table Request: problem to get values (try –snmp-force-getnext option)

Command: /usr/lib/centreon/plugins/ --plugin=hardware::server::hp::proliant::snmp::plugin --mode=hardware --snmp-version='2c' --snmp-community='public' --snmp-force-getnext

The verbose output is:

UNKNOWN: fan ‘0.1’ status is other - fan ‘0.2’ status is other | ‘psu_power_0.1’=55W;;500;; ‘psu_voltage0.1’=226V;;;; ‘psu_power_0.2’=50W;;500;; ‘psu_voltage0.2’=226V;;;; ‘temp_0.1_ambient’=22C;;0:42;; ‘temp_0.2_cpu’=41C;;0:70;; ‘temp_0.3_memory’=36C;;0:89;; ‘temp_0.4_memory’=37C;;0:89;; ‘temp_0.7_system’=35C;;0:60;; ‘temp_0.9_system’=38C;;0:105;; ‘temp_0.10_powerSupply’=30C;;0:0;; ‘temp_0.11_powerSupply’=30C;;0:0;; ‘temp_0.12_system’=40C;;0:115;; ‘temp_0.13_system’=31C;;0:115;; ‘temp_0.14_system’=31C;;0:115;; ‘temp_0.15_powerSupply’=40C;;0:0;; ‘temp_0.16_powerSupply’=40C;;0:0;; ‘temp_0.20_ioBoard’=57C;;0:100;; ‘temp_0.21_ioBoard’=74C;;0:100;; ‘temp_0.22_system’=56C;;0:100;; ‘temp_0.23_ambient’=27C;;0:65;; ‘temp_0.24_system’=30C;;0:75;; ‘temp_0.25_system’=36C;;0:75;; ‘temp_0.26_system’=44C;;0:90;; ‘temp_0.27_ioBoard’=36C;;0:70;; ‘temp_0.28_ioBoard’=36C;;0:70;; ‘temp_0.30_ioBoard’=35C;;0:70;; ‘temp_0.31_system’=33C;;0:75;; ‘temp_0.32_system’=26C;;0:60;; ‘temp_0.33_powerSupply’=31C;;0:100;; Product Name: ProLiant DL360 Gen9, Serial: ##########, Rom Version: P89 v1.50 (07/20/2015) Checking cpu cpu ‘0’ [slot: 0, unit: 0, name: Intel Xeon, socket: 1] status is ok. Checking ide controllers Checking ide logical drives Checking ide physical drives Checking power converters Checking power supplies powersupply ‘0.1’ status is ok [redundance: 3, redundant partner: 0] (status noError). powersupply ‘0.2’ status is ok [redundance: 3, redundant partner: 0] (status noError). Checking sas controllers Checking sas logical drives Checking sas physical drives Checking scsi controllers Checking scsi logical drives Checking scsi physical drives Checking fca host controller Checking fca external controller Checking fca external accelerator boards Checking fca logical drives Checking fca physical drives Checking da controller da controller ‘0’ [slot: 0, model: unknown] status is ok. Checking da accelerator boards da controller accelerator ‘0’ [status: enabled, battery status: ok] condition is ok. Checking da logical drives da logical drive ‘0.1’ [fault tolerance: mirroring, condition: ok] status is ok. Checking da physical drives da physical drive ‘0.0’ [status: ok] condition is ok. da physical drive ‘0.1’ [status: ok] condition is ok. Checking fans fan ‘0.1’ status is other, speed is other [location: system, redundance: not redundant, redundant partner: 0]. fan ‘0.2’ status is other, speed is other [location: system, redundance: not redundant, redundant partner: 3]. fan ‘0.3’ status is ok, speed is normal [location: system, redundance: redundant, redundant partner: 4]. fan ‘0.4’ status is ok, speed is normal [location: system, redundance: redundant, redundant partner: 5]. fan ‘0.5’ status is ok, speed is normal [location: system, redundance: redundant, redundant partner: 6]. fan ‘0.6’ status is ok, speed is normal [location: system, redundance: redundant, redundant partner: 7]. fan ‘0.7’ status is ok, speed is normal [location: system, redundance: redundant, redundant partner: 0]. Checking physical nics physical nic ‘1’ [duplex: full, role: notApplicable, state: ok, status: ok] condition is ok. physical nic ‘2’ [duplex: full, role: notApplicable, state: ok, status: ok] condition is ok. physical nic ‘3’ [duplex: full, role: notApplicable, state: ok, status: ok] condition is ok. physical nic ‘4’ [duplex: full, role: notApplicable, state: ok, status: ok] condition is ok. physical nic ‘5’ [duplex: full, role: notApplicable, state: ok, status: ok] condition is ok. physical nic ‘6’ [duplex: full, role: notApplicable, state: ok, status: ok] condition is ok. Checking logical nics logical nic ‘1’ [adapter count: 1, description: Logical Interface for vmnic0, status: ok] condition is ok. logical nic ‘2’ [adapter count: 1, description: Logical Interface for vmnic1, status: ok] condition is ok. logical nic ‘3’ [adapter count: 1, description: Logical Interface for vmnic2, status: ok] condition is ok. logical nic ‘4’ [adapter count: 1, description: Logical Interface for vmnic3, status: ok] condition is ok. logical nic ‘5’ [adapter count: 1, description: Logical Interface for vmnic4, status: ok] condition is ok. logical nic ‘6’ [adapter count: 1, description: Logical Interface for vmnic5, status: ok] condition is ok. Checking temperatures ‘0.1’ ambient temperature is 22C (42 max) (status is ok). ‘0.2’ cpu temperature is 41C (70 max) (status is ok). ‘0.3’ memory temperature is 36C (89 max) (status is ok). ‘0.4’ memory temperature is 37C (89 max) (status is ok). ‘0.7’ system temperature is 35C (60 max) (status is ok). ‘0.9’ system temperature is 38C (105 max) (status is ok). ‘0.10’ powerSupply temperature is 30C (0 max) (status is ok). ‘0.11’ powerSupply temperature is 30C (0 max) (status is ok). ‘0.12’ system temperature is 40C (115 max) (status is ok). ‘0.13’ system temperature is 31C (115 max) (status is ok). ‘0.14’ system temperature is 31C (115 max) (status is ok). ‘0.15’ powerSupply temperature is 40C (0 max) (status is ok). ‘0.16’ powerSupply temperature is 40C (0 max) (status is ok). ‘0.20’ ioBoard temperature is 57C (100 max) (status is ok). ‘0.21’ ioBoard temperature is 74C (100 max) (status is ok). ‘0.22’ system temperature is 56C (100 max) (status is ok). ‘0.23’ ambient temperature is 27C (65 max) (status is ok). ‘0.24’ system temperature is 30C (75 max) (status is ok). ‘0.25’ system temperature is 36C (75 max) (status is ok). ‘0.26’ system temperature is 44C (90 max) (status is ok). ‘0.27’ ioBoard temperature is 36C (70 max) (status is ok). ‘0.28’ ioBoard temperature is 36C (70 max) (status is ok). ‘0.30’ ioBoard temperature is 35C (70 max) (status is ok). ‘0.31’ system temperature is 33C (75 max) (status is ok). ‘0.32’ system temperature is 26C (60 max) (status is ok). ‘0.33’ powerSupply temperature is 31C (100 max) (status is ok). Checking ilo ilo status is ok [message = ].

What am I doing wrong here?

Thanks for your help!

Updated 22/03/2018 17:45 1 Comments

CustomJS /CSS


I understand that this particular feature had been mentioned in one of our earlier calls. I am not quite sure how this works (in connection with DataSet Configuration App), what process we need to follow to use this and what results do we expect based on this. From our earlier discussion it seemed like we need to include it while using the app. Can we have a brief call to discuss the same?

Updated 22/03/2018 15:08

Ingress class processing


I’m not sure whether it’s right behavior or not:

For now, we have this logic to determine if we need to create a route in envoy or not:

But this logic gives us all ingress resources which don’t have ingress class annotation. Is it right or wrong? Maybe we need to filter such ingress resources?

Also, is it ok to start contour ingress controller with same ingress class as default nginx ingress controller? Will it break smth in ingress resources in kubernetes cluster?

Updated 22/03/2018 21:19 1 Comments

silx/test folder


There is a silx/test/ directory that used to be an unused placeholder for the test suite and that now contains code, possibly put there by accident. Should we delete this directory?

Updated 22/03/2018 15:13 1 Comments

Menu Buttons for PR Pane Conflict with Every Other Pan


I recognize that the PR pane is GitHub, versus the others (home and changes in this example) are Team Explorer, however I have noticed a jarring experience when I’m going between PRs and Changes because there is no quick and easy way to get back to the Team Explorer home (where I then have access to the rest of my actions).

Team Explorer Home: <img width=“299” alt=“screen shot 2018-03-21 at 11 14 54 am” src=“”>

Changes: <img width=“303” alt=“screen shot 2018-03-21 at 11 15 00 am” src=“”> I can get back to the Team Explorer home by clicking the Home icon.

PRs: <img width=“303” alt=“screen shot 2018-03-21 at 11 15 07 am” src=“”> I can go back to the list view of PRs or open a browser window into GitHub, but I can’t get back to the Team Explorer home. To get there, I have to go down to the bottom and click on the Team Explorer tab.

This may not be a major issue for most people, but Im' curious about the design decision here (i.e. not having a button up there to go home). I’ve found myself accidentally opening the GitHub browser window multiple times when trying to just get back to the Team Explorer Home pane.


Updated 22/03/2018 15:36 1 Comments

PHP(PHP-FPM)는 Thread Safe 한가? Singleton은?


1. Thread Safe

Java를 사용했을 당시 일단 지원하는 객체가 thread safe 하다는 것을 인지 한 후, 코딩을 했었다.

그리고 어쩌다보니 PHP 하고 있는데… 과연 PHP는 이를 고려해야 할까?

PHP를 download page에 가보면 Thread Safe PHP, Non Thread Safe PHP를 제공한다.

보통 IIS에서 FastCGI를 사용하는 경우 후자를 선택하고, 그 외에는 전자를 선택한다고 한다. 페이지 내용에 의하면 이러하다.

TS refers to multithread capable builds. NTS refers to single thread only builds. Use case for TS binaries involves interaction with a multithreaded SAPI and PHP loaded as a module into a web server. For NTS binaries the widespread use case is interaction with a web server through the FastCGI protocol, utilizing no multithreading (but also for example CLI).

간단히 보자면 Thread Safe를 선택하는 경우, PHP과 SAPI(cgi 같은 중간 인터페이스)를 이용하여 apache와 nginx같은 웹 서버와 상호작용 된다는 말이다. 즉, Thread Safe 하다.

2. Singleton

처음 PHP를 접했을 때, Apache(MPM 모듈을 prefork)를 사용하게 되었을 때, 싱글톤이 전혀 싱글톤이 아닌 것을 보았다. 어찌보면 당연하다. 멀티 프로세스니까.. (그리고 사용하지 말라고 권고한다.)

그런데 1. Apache(MPM 모듈이 work)라면? 2. Nginx를 사용하면? 3. PHP-FPM을 사용하면?

다르게 동작할까? 명확한 답을 찾지는 못 했지만 PHP는 request가 들어올 때마다 매번 새로운 인스턴스를 생성한다. 결과적으로 SAPI나 웹 서버는 프로세스를 효율적으로 관리하고 사용할 뿐이지 PHP에서 생성한 인스턴스를 프로세스 메모리에 적재하고 재사용하지는 않는다.

Updated 22/03/2018 14:49

Date field throwing an error


Steps to reproduce the issue

I’ve been using the date field I’ve mimicked the demo date field but it throws an error not on install but when I try to install the component.

I’ve tried lots of variations but it just throws an error on installation :(

Expected result

expected it to create a table with the date as a field

Actual result

it throws an error CREATE TABLE IF NOT EXISTS `#__websitemanager_magazine` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `date` DATE NOT NULL DEFAULT '', `magazine_file` TEXT NOT NULL,

Worth noting that the date field is actually set to null (it wasn’t initially)

System information (as much as possible)

  • OS Name & Version:
  • MySql Version:
  • Apache Version:
  • PHP Version:
  • Joomla Version:
  • JCB Version:
  • Browser:

Additional comments

I had the exact problem with another field and I had to uninstall the component and then it installed no problem.

Updated 22/03/2018 19:43 5 Comments

Attempting upgrade of version and finding old release notes



I’m comtemplating upgrading our version of your library that we have been using we are currently using v0.9. I looked at Nuget and saw we are well behind, so I’m keen to update, however I wanted to find out if there had been any breaking changes since then. I tried looking for the release notes but the link on the nuget page takes me to a 404.

We are targetting .Net 4.5.1 so I am planning only on upgrading to Tweetinvi v 1.3.

Where can I find old release notes? Or if it’s easier does anyone know of any issues that may arrise for me by upgrading the version we are using?


Updated 22/03/2018 20:08 2 Comments

Interest in porting to VSCode


For some reason I’ve switched to vscode. The one thing I’m really missing is atom-notes. I’m looking into creating a package with the same functionality. I would of course mention atom-notes loudly in any documentation!

It would be nicer to share code with atom-notes rather than copying it; possibly by pulling the core note-handling functionality into a package. It would add some complexity to atom notes. Does the atom-notes community have any interest in this?

At first glance the code with a good ratio of functionality to atom API code is:

  • interlink.js
  • notes-fs.js
  • notes-store.js
  • notes-view-list.js
Updated 22/03/2018 18:00 1 Comments

[question] binary tool settings


I am trying to compile and package a binary tool (jwasm assembler) The recipe is roughly the following: ```python class JWasmConan(ConanFile): name = “jwasm” version = “2.12” settings = “os_build”, “arch_build” exports_sources = “CMakeLists.txt” generators = “cmake”

def source(self):

def build(self):
    cmake = CMake(self)
    cmake.definitions["CMAKE_BUILD_TYPE"] = "Release"
    cmake.configure()["--config", "Release"])

# ...
This does not work:

ERROR: jwasm/2.12@dbely/testing: Error in build() method, line 18 cmake = CMake(self) ConanException: You must specify compiler, compiler.version and arch in your settings to use a CMake generator `` But I would not like to exportcompilerandarchsettings - the package contains only an executable that should be selected depending onos_build,arch_buildand can produce objective files for any host platform. How to build it using currentos,compilerandarchand export onlyos_buildandarch_build`?

Updated 22/03/2018 14:54 2 Comments

getConnection returns WIFI even though it is still on cellular


The problem

I’m using method getConnection to check what network interface device is on, but when I am on cellular data interface and switch to wifi, it takes some time to change it, but getConnection method returns WIFI even though device is still on data as switching interfaces is still in progress. Is there any other way to check or to wait, until the interface switch is finished?


  • Appium version (or git revision) that exhibits the issue: 1.7.2
  • Last Appium version that did not exhibit the issue (if applicable):
  • Mobile platform/version under test: Android 7
  • Real device or emulator/simulator: rea
  • Appium CLI or|exe: CLI
Updated 22/03/2018 14:47 1 Comments

Test readme code examples


I want to introduce some code examples to the readme. I also want to CI test these examples so that we are alerted if they break at any point.
My first thought was to autogenerate the readme from a jupyter notebook, but then if someone wants to edit the readme they need to edit the jupyter notebook instead. Does anyone know how to have the readme pull in some examples from a .py file? Or to scrape the readme for code and test that?

Updated 22/03/2018 14:31

Turn on reading list syncing? panel is presented when sync is already enabled


In the current implementation, we’re attempting to present the “Turn on reading list syncing?” panel before we kick off the first sync. It means that on the first launch, before we hit line 160 in ReadingListsSyncOperation, sync is marked as disabled. You can confirm that that’s what’s happening if you remove the app while being logged in & having sync enabled, re-install, launch and go to Saved articles storage and syncing in Settings. The switch for Sync saved articles and lists will be off. If you tap back and then go back to that view, the switch will be on.

This PR doesn’t solve the problem in Settings, it fixes the panel on launch problem, but in a dubious way. Putting this up with Changes welcome and Question so we can decide how to solve it.

Updated 22/03/2018 18:49 3 Comments

Fork me on GitHub