Fix warnings when running BMS about invalid data

What we used elsewhere (and which the author used was):
import warnings
warnings.filterwarnings("ignore")

I can understand if this isn't an ideal solution


Async (not ready yet)

Early version of conversion from Future/Stream APIs to async/await/await for
DO NOT MERGE (yet)

@larsbak and @munificent could you please check my diffs and see if there's anything you think should be done differently?

Thanks for the review, @munificent! I still have some more samples to convert, so... more from me later.

@Sfshaza could you check whether any of these changes are still relevant?

I went through the changes in this PR. Most were already incorporated. Some examples have been removed after this PR went live. I also took the opportunity to run all of the examples through dartfmt again.
Closing.
commit


updated ramen dependencies

Updated the ramen dependencies and added the DRPolicy

@umangachapagain should the version be >=4.11.0?

@umangachapagain should the version be >=4.11.0?

It should be the exact same version as MCO i.e. =4.11.0.
>=4.11.0 would allow Ramen 4.12.0 to be installed with MCO 4.11.0. These might not be compatible.

/test integration-test


Control the camera position

It would be nice to offer an API for the camera. An app using the library could offer some controls, for example

to zoom on a specific segment
to have a top/front/side view
reset the initial view

I don't have a particular design in mind, but it would be nice to have a layer of abstraction over three.js that hides the complexity of calculating position relative to the build volume and part dimensions.

maybe we can add these buttons for restoring the camera position in this change? https://github.com/remcoder/gcode-preview/pull/139/commits/d44c38efa58576152bdfdf9510ffbfaff7aaa57a

Yes!


WIP: Add parsing of Area Interchange records

needs tests for v29 data!

Codecov Report

Merging #30 (e791e2b) into main (5de16a9) will increase coverage by 0.17%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   90.62%   90.79%   +0.17%
==========================================
  Files           3        3
  Lines         160      163       +3
==========================================
+ Hits          145      148       +3
  Misses         15       15

Impacted Files
Coverage Δ

src/parsing.jl
96.90% <100.00%> (+0.06%)
:arrow_up:

src/types.jl
96.36% <100.00%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5de16a9...e791e2b. Read the comment docs.


⚠ Bofrost.de has degraded performance

In 98d67aa, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1865 ms

Resolved: Bofrost.de performance has improved in 72458fd.


'Built with Bootstrap' examples are using 1.x

Kippt, Fleetio, and JSHint are all using Bootstrap 1.x. Wouldn't it be best to highlight websites and web applications using Bootstrap 2.0?
As a matter of fact I have been unable to find any websites (on the tumblr blog) using Bootstrap 2.

Confirmed

Isn't that an unofficial tumblog? Might want to ping bwbootstrap or simonhamp on twitter

Yup, it'll take some time for folks to get up to 2.0 since it was only release three weeks ago. Consider that 1.4 had 6 months for folks to use and develop on. We're looking out for new examples as we go though :).


Add API to allow read data from a specific URI

Details
The most recent Android API's, handle the files as a database of URI's, so we can handle it by adding support for cursor queries, as required by #10, thanks @ankitparmar007.
Tasks

[x] Search and add experimental APIs to allow this usecase.
[x] Add support for initialUri.
[x] Add copy API to allow export files.
[ ] ~Get data dir from a specific app (package id)~ (Not covered by this package).

Issues

[x] Avoid using listFiles with large data sets.

Useful resources

How to list files in an android directory.
Check query public method API from DocumentProvider class.
THIS is what I was looking for... maybe. Useful to query a large data set as we can see here.
Implement initial dir param.
Remember: Tree Document URI is not Single Document URI.

@LaksCastro  When You are planning for package update ?

When I get some free time on the weekend

Great news that package update will be available on this weekend :)
Also Flutter 2.8.0 • channel stable is live on • github.com/flutter/flutter.git
Make sure package is compatible with the latest version.
Huge Thanks in advance :)

Nice!! I did start work right now, later you'll see some updates man and maybe on sunday I'll publish the new release if everything goes fine! thanks for all

Snapshot 13 Dec. 2021
News

Added support for large data sets and removed the API DocumentFile.listFiles due to low performance issue
Refactor of SAF API splited into modules to allow safe and easy refactor and new API implementations
Added support to these DocumentsContract and DocumentFile APIs:

const val GET_DOCUMENT_THUMBNAIL = "getDocumentThumbnail"
const val BUILD_DOCUMENT_URI_USING_TREE = "buildDocumentUriUsingTree"
const val BUILD_DOCUMENT_URI = "buildDocumentUri"
const val BUILD_TREE_DOCUMENT_URI = "buildTreeDocumentUri"

Added optional argument grantWritePermission to the openDocumentTree API

Missing:

Support to copy a document to another location
Support to initialDir of the openDocumentTree API

Definitely a nice progress ! hopefully on next weekend package will be updated with  Missing APIs and version code 0.3.0 :)

hey @LaksCastro
Hope You are doing well :)
Btw When are you planning for next package update ?

All features mentioned in this issue are available on v0.4.x except by the last one that doesn't make sense for this package.


Problem in loading a subset of Dixit dataset

Hi,
I am having a trouble loading a subset of the dixit dataset and get the following error. I try to follow the tutorial provided on https://github.com/snap-stanford/GEARS/blob/master/demo/data_tutorial.ipynb, but have not been able to figure out the issue! Any guidance would be highly appreciated!
    304 gears_pert_data.prepare_split(split = 'simulation', seed = 1) # get data split with seed
    305 gears_pert_data.get_dataloader(batch_size = 32, test_batch_size = 128) # prepare data loader
pertdata.py in get_dataloader(self, batch_size, test_batch_size)
    306             for i in splits:
    307                 cell_graphs[i] = []
    308                 for p in self.set2conditions[i]:
    309                     cell_graphs[i].extend(self.dataset_processed[p])
    310

KeyError: 'val'

Thanks a lot!

 This error probably means that you have too few perturbations in your dataset to split between training, validation and test. We haven't added any error handling yet to deal with datasets with less than one perturbation condition in either train, val or test.

Redundant with #19


[firebase_messaging] iOS onMessage inconsistency

The message in ios comes in this form
{gcm.message_id:<PHONE_NUMBER>558818, thread_id: -LlwL2xHCWRXSCuFIJ3U, google.c.a.e: 1, aps: {alert: {title: abcd, body: abcd}, category: /*Package */_TARGET_NOTIFICATION}}
please look at aps and alert which different from notification on the android side

@dvird
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1049. Any further collaboration will be done there.


HIVE-COTE 1.0 fix

Fixes to the HIVE-COTE 1.0 classifier and additional functionality. See #674.
Documentation updates for other classifiers.

so HC doesnt coerce to numpy, but each component does? Do they do it differently?

Thanks @MatthewMiddlehurst for the fixes!
Can this be merged yet?

Dear @mloning , @TonyBagnall and @MatthewMiddlehurst , thank you for your quick support on this issue!
I tested it, the execution on my small dataset (500x10) now doesn't run limitlessly +30h anymore and there are some verbose outputs! So thanks again!!


Reoder of C++ project to give better overview.

I.m.h.o the Cpp folder was a bit unclear on how to start and make it work, so before running this in my work dojo. I cleaned up the folders, only keeping one C++ based test version using gtest and gmock as test start point. All building with mordern, i.e. 3.5 and later CMake.

Thankyou!


Legacy Dll connection: minor issues

The field for the library path could use a placeholder (such as 'automatic detection') in addition to the tooltip that should be corrected, as it may be more obvious to the user in this way. The header selection deserves an icon just like the library path selection.

Any volunteer @Ecpy/owners @Qcircuits

@galactikvoyager This could be a good starting point to get to know the GUI system

closed by #42


Feature/amp addon tech debt

Issue #, if available: AMP Addon Tech Debts and Improvements.
Description of changes:
This PR is to improve Tech Debts on AMP Addon to make it consistent with XRAY and CW Addon on minor tech debts.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This will need to be rebased after CW is merged. In general, please branch off upstream main rather than your main branch, that will reduce the noise in the PR and need to rebase.
Sounds good, Will follow this.

/do-e2e-tests


Possible to define a system as generic over SystemParam and provide concrete type?

Here's a minimal example of what I'm trying to do:
#![allow(dead_code)]

use bevy::prelude::*;
use bevy::ecs::system::SystemParam;

fn main() {
    App::build()
        .add_system(generic_system::<NullImpl>.system())
        .add_system(bound_generic_system.system())
        .run()
}

fn generic_system<T>(t: T) {}
fn bound_generic_system(t: NullImpl) {}

#[derive(SystemParam)]
pub struct NullImpl<'a> {
    marker: Res<'a, ()>,
}

AFAIU, the problem is that generic_system::<NullImpl> is implicitly binding NullImpl<'_>, so that it doesn't satisfy for<'a>. I would think it should work if I were able to write something like: generic_system::<for<'a> NullImpl<'a>>.system(), but that doesn't parse.
Is there something I can do to make this compile? I've tried to make a non-bevy example to ask the broader Rust community, but I haven't been able to reproduce.

Your reasoning that it implicitly binds a concrete version, i.e. the 'static version is correct
I think one way to work around this would be would be to create a struct StaticSystemParam<'a, T>(<T as SystemParam<'a>>::Item) (or whatever the right syntax is)
The alternative is to use RunSystem instead, which should work as required.

I'm looking into how to do this in 0.5.0. I've tried making a wrapping type with the goal of erasing the lifetime of the normal system param. It looks like even if I were to get it working, rust would still complain. I can't figure out a lifetime to add in the creation of the system that makes rust not complain about the lifetimes. Even adding 'static doesn't work, because it needs to be for<'all>.
It's possible that there is a doable lifetime change to the IntoSystem impls that will let 'static work.
Also, I don't understand the way the lifetimes work out to reproduce without bevy. If anyone can make a reproduction, I'll ask the broader rust community for help.


Name confusion

I know this isn't a software bug as such, so please forgive me if this is inappropriate.
I heard there was a go client, so I ended up installing it with apt-get , which of course got me https://github.com/aviau/gopass . I decided against it. Then I heard that there was another gopass, so I looked at https://www.passwordstore.org/ and found https://github.com/cortex/gopass
It was only by a fluke that I realised that there was a third gopass.
I've been using the original pass, qtpass, and the android client for several years, and I've played with some of the other clients too. This is the best client out there. I'm sure other people have missed out on it entirely due to naming confusion.
Have you considered a rename?

Thanks for asking.
The name clash with the "other" gopass in Debian is unfortunate. Especially since it's a very similar project with a completely different feature set. It get's even more confusing if you look at the distros that include "our" gopass as a package.
When choosing the name only knew about github.com/howeyc/gopass (which is something quite different) and https://github.com/cortex/gopass (which was already deprecated back then).
Right now I can't really imagine renaming this project, IMHO this would create even more confusion.
We tried to avoid the confusion around the gopass in Debian by talking to the maintainer but unfortunately that got us nowhere.

I can imagine that it would create confusion, yes.
Perhaps appending a suffix to the project name (but leaving the binary and documentation and so on the same) is an option?
Anyway, thanks for the software.

We tried to avoid the confusion around the gopass in Debian by talking to the maintainer but unfortunately that got us nowhere.

Could you expand on the process which you followed here?
There are various mechanisms in Debian to work around duplicate package names and it should be possible to have both software shipped in Debian, with some compromise.
For example, @aviau's gopass could be named "gopass-aviau" and this one could be "gopasspw" and both would install a "gopass" binary and conflict with each other... the only downside is that apt install gopass would prompt you to choose which binary instead of picking one for you...

I've been using the original pass, qtpass, and the android client for several years, and I've played with some of the other clients too. This is the best client out there.

@amc90 could you expand on why you think this is the best client? just curious. :)

Could you expand on the process which you followed here?

I was contacted personally and asked to remove my package from the Debian archive. I said no and suggested that they find another name if they wanted to avoid confusion.
It looks like @dominikschulz also thought that I packaged my project as a reaction to the release of his, but it was not the case.
Here are some of the elements of my reponses:
I packaged gopass for Debian in July 2017, well before you made your
repository public.

[...]

See the original upload message:
 - https://packages.qa.debian.org/g/gopass/news/20170719T070012Z.html

The Intend to Package bug that I opened in 2015:
 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781494

For example, @aviau's gopass could be named "gopass-aviau" and this one could be "gopasspw" and both would install a "gopass" binary and conflict with each other...

Yeah, there are a number of ways to fix this but I wouldn't hastily rename my package before there is another one available in the archive. Someone can just upload a gopass-pw that conflicts with mine.

@anarcat The mountpoint thing is a slick way of handling multiple repositories. Multiple recipients seem to actually work in practice. Fsck will pick up an incorrect recipient list. The password checker thing is nice too. The gopassbridge browser plugin is actually better than the GUIs I've played with in some respects (the only thing it is missing is free-text).
I like go based applications - they seem to be quite self contained and simple to manage outside of distribution packages, so if I need to distribute it I may be able to get away with puppet copying a binary.

did that bot just mark the issue as stale because it wasn't active since it last marked it as stale? that's frigging annoying...

god i hate that bot :)


Sink class and WriteOperation error

Hello,
I'm trying to develop a set of components for our company for better integration with our ERP.
I already managed to create 3 components. One for connection, one for consumption and the last one to close the connection.
I would like to create a Talend Job like that :

It works well for my tM3ApiConnection and tM3ApiClose, but not for the tM3ApiConsumer component.
The goal is to provide input parameters (from a delimited file in this example) to the tM3ApiConsumer component. This one must call a specific API form our ERP and return errors and/or results.
For the tM3ApiConsumer I have created tM3ApiConsumerDefinition and Properties. The definition implements an OutputComponentDefinition and set a Sink runtime class (M3ApiSink).
Here are my M3ApiSink, M3ApiWriter and M3ApiWriteOperation classes :
public class M3ApiSink extends M3ApiSourceOrSink implements Sink {

    public M3ApiSink() {
    }

    @Override
    public ValidationResult validate(RuntimeContainer runtimeContainer) {
        ValidationResult validationResult = super.validate(runtimeContainer);

        if (validationResult.getStatus() != ValidationResult.Result.ERROR) {
            if (!(properties instanceof tM3ApiConsumerProperties)) {
                return new ValidationResult().setStatus(ValidationResult.Result.ERROR)
                        .setMessage("properties should be of type :" + tM3ApiConsumerProperties.class.getCanonicalName());
            }
        }

        return validationResult;
    }

    @Override
    public WriteOperation<?> createWriteOperation() {
        return new M3ApiWriteOperation(this);
    }

    @Override
    public List<NamedThing> getSchemaNames(RuntimeContainer runtimeContainer) throws IOException {
        return Collections.emptyList();
    }
}

public class M3ApiWriter implements Writer<Result> {

    private static final Logger LOG = LoggerFactory.getLogger(M3ApiWriter.class);

    private final M3ApiSink sink;

    private final WriteOperation writeOperation;

    private IndexedRecordConverter<Object, ? extends IndexedRecord> factory;

    private Result result;

    public M3ApiWriter(WriteOperation writeOperation) {
        LOG.debug("M3ApiWriter :: constructor");
        this.writeOperation = writeOperation;
        sink = (M3ApiSink) writeOperation.getSink();
    }

    @Override
    public void open(String uid) throws IOException {
        LOG.debug("M3ApiWriter :: open");
    }

    @Override
    public void write(Object o) throws IOException {
        LOG.debug("M3ApiWriter :: write");
    }

    @Override
    public Result close() throws IOException {
        LOG.debug("M3ApiWriter :: close");
        LOG.debug("M3ApiWriter :: close :: result " + result);
        return new Result();
    }

    @Override
    public WriteOperation<Result> getWriteOperation() {
        LOG.debug("M3ApiWriter :: getWriteOperation :: writeoperation: " + writeOperation);
        return writeOperation;
    }
}

public class M3ApiWriteOperation implements WriteOperation<Result> {

    private static final Logger LOG = LoggerFactory.getLogger(M3ApiWriteOperation.class);

    private final M3ApiSink sink;

    public M3ApiWriteOperation(M3ApiSink sink) {
        LOG.debug("M3ApiWriteOperation :: constructor");
        this.sink = sink;
    }

    @Override
    public void initialize(RuntimeContainer runtimeContainer) {
        LOG.debug("M3ApiWriteOperation :: initialize");
    }

    @Override
    public Map<String, Object> finalize(Iterable<Result> iterable, RuntimeContainer runtimeContainer) {
        LOG.debug("M3ApiWriteOperation :: finalize");
        return Result.accumulateAndReturnMap(iterable);
    }

    @Override
    public Writer<Result> createWriter(RuntimeContainer runtimeContainer) {
        LOG.debug("M3ApiWriteOperation :: createWriter");
        return new M3ApiWriter(this);
    }

    @Override
    public M3ApiSink getSink() {
        LOG.debug("M3ApiWriteOperation :: getSink :: " + this.sink);
        return this.sink;
    }
}

My problem is that when I run the Talend Job, I have a NullPointerException talking about Avro :
Exception in component tM3ApiConsumer_1 java.lang.NullPointerException 	at org.talend.daikon.avro.AvroUtils.isIncludeAllFields(AvroUtils.java:200) 	at org.talend.daikon.di.DiIncomingSchemaEnforcer.<init>(DiIncomingSchemaEnforcer.java:85) 	at tperroin.test_0_1.test.tFileInputDelimited_3Process(test.java:1200) 	at tperroin.test_0_1.test.tM3ApiConnection_1Process(test.java:453) 	at tperroin.test_0_1.test.runJobInTOS(test.java:2550) 	at tperroin.test_0_1.test.main(test.java:2384) [FATAL]: tperroin.test_0_1.test - tM3ApiConsumer_1 null
Without any concrete examples I have some troubles to find how to resolve this error. The M3ApiWriter is never called. I would like to read the content of my incoming schema to call the API.
Have you some advice ? Am I using the right solution ?
Thank you to share that new way to develop components !
PS : We are in the 6.2.1 version of Talend

Hello!  It is very impressive to see a third party using the API, and thanks so much for your early feedback!
You've probably noticed that we're iterating quickly on the project, so there are many changes between minor versions.  The branch for Talend 6.2.x is maintenance/0.13.  When we judge that we have a stable API, we'll bump the version to 1.0.0 and the component development experience should be much more agreeable, more rigorously backwards compatible and with better documentation!
In the meantime, I'm happy to answer any questions and any feedback is welcome :)
For the components framework, the "gold standard" for exchanging data between components is the Avro IndexedRecord.  We're working on enabling other data containers (see the doc at https://github.com/Talend/components/wiki/6.-Component-Runtime#receiving-data).  In the studio, the incoming object is guaranteed to be an IndexedRecord and you can simple cast the incoming value.
The error that you are getting is a bit odd -- it looks like the Studio is not translating the columns that you specified for the connection into a correct Avro Schema for your record!  This is very strange.  Would it be possible to share the contents of the schema defined on the connection row3 in your above job?
Once again, welcome to the project!  All my best, Ryan

Hello,
It's nice to hear that you are active and you want to create a 1.0.0 version !
For us, this new way to create components is much nicer that the old one. I'm working on the maintenance/0.13 already. And I think I will have a lot of questions during my developments.
You were right about my connection schema for the row3. It's works for now, I can get each row values from the main flux in my Writer class. I'm working now with Avro IndexedRecord.
I have another question about connectors. I tried to create a component that provide two output schemas, like the tESBConsumer.

Is that a way to do that in the current API ?
I already tried to provide schemas in my properties like that :
@Override
protected Set<PropertyPathConnector> getAllSchemaPropertiesConnectors(boolean b) {
      HashSet<PropertyPathConnector> connectors = new HashSet<>();

     if (b) {
        connectors.add(inputConnector);
        connectors.add(outputConnector);
    } else {
        connectors.add(inputConnector);
    }
    return connectors;
}

I'm not sure about this solution. Any advice ?
Thank you !

Hello Thibault,
Yes, you can do it like that.
In a case of an incoming and outgoing component :
protected transient PropertyPathConnector MAIN_CONNECTOR = new PropertyPathConnector(Connector.MAIN_NAME, "schema");
protected transient PropertyPathConnector FLOW_CONNECTOR = new PropertyPathConnector(Connector.MAIN_NAME, "schemaFlow");
protected transient PropertyPathConnector REJECT_CONNECTOR = new PropertyPathConnector(Connector.REJECT_NAME, "schemaReject");

@Override
public Set<PropertyPathConnector> getAllSchemaPropertiesConnectors(boolean isOutputConnection) {
    HashSet<PropertyPathConnector> connectors = new HashSet<>();
    if (isOutputConnection) {
        connectors.add(FLOW_CONNECTOR);
        connectors.add(REJECT_CONNECTOR);
    } else {
        connectors.add(MAIN_CONNECTOR);
    }
    return connectors;
}

Also, have a look at the WriterWithFeedback interface.

Thanks @undx! This is the correct technique for input components, and WriterWithFeedback is the correct technique for output components.  If you have feedback or suggestions on managing multiple output connections in your components, please don't hesitate to contact!

Thanks a lot @undx and @RyanSkraba ! I understand better the output possibilities of the writer component.
Now, I try to provide an output schema from the ERP Api's response. I keep you in touch about my progresses.

I make a few progresses in my development. However I'm stuck with output functions getSuccessfulWrites and getRejectedWrites.
In my write function, I have this code :
String recordTransaction = mvx.getTransaction();
String repTransaction = recordTransaction.substring(0, 3);
IndexedRecord successRecord = new GenericData.Record(schemaFlow);
while ("REP".equals(repTransaction)) {
    for (Schema.Field field : schemaFlow.getFields()) {
        successRecord.put(field.pos(), mvx.mvxGetField(field.name()));
    }
    successfulWrites.add(successRecord);
    recordTransaction = mvx.mvxRecv();
    repTransaction = recordTransaction.substring(0, 3);
}

It creates a record with all my needs but the output main row doesn't iterate. Maybe it's the behavior that Talend aims to do.

I would like an iterable output after my tM3ApiConsumer (row3) which provides multiple records as : {"CONO": "100", "PUNO": "2441038"}. Those records are already created in my write function.
The successfulWrites function is :
@Override
public List<IndexedRecord> getSuccessfulWrites() {
    return Collections.unmodifiableList(this.successfulWrites);
}

Am I doing it right ? Do I have to modify my output schema or my schema properties ?
Thank you for your help !

I think the same issue has been resolved in the Snowflake component, can you have a look at https://github.com/Talend/components/blob/master/components/components-snowflake/src/main/java/org/talend/components/snowflake/runtime/SnowflakeWriter.java .
Is that what you are looking for ?

hum, I don't really understand this class, sorry...
Actually, I'm looking for a way to create multiple output schemes from one input row.
For example :
The input schema :

Field A
Field B

100
500

the target output schema (it will create an output for each lines) :

Field A
Field B
Field C

100
500
200

100
500
210

100
500
220

So, for now I have a list of IndexedRecord. It doesn't insert data in my output schema and my list is not iterated.
My problem is clearer ? Have you more information about it ?
Thank you !

Hello @tperroin,
You're clear in your explainations !
What do you get if you do some integration tests (ie not in the studio) ?
Is the successfulWrites list correct ?
Maybe a studio issue...

Hello @undx
I was not able to create integration tests... I'm not aware of how to do them...
However, my successfulWrites seems to be OK :
getSuccessfulWrites [{"CONO": "100", "PUNO": "2441034", "PNLI": "10"}, {"CONO": "100", "PUNO": "2441034", "PNLI": "10"}]
getSuccessfulWrites class class java.util.ArrayList
getSuccessfulWrites element class org.apache.avro.generic.GenericData$Record

The first line is the list content, the second the class of that list and the third the class of an element of that list.
How do we set values of a schema from the write function ?

Perhaps, I didn't understood correctly but in your debug  dump you've 2 rows and the screenshot shows 2 output rows on the row3.  Your number of rows seems to fit...
If your schemaFlow is the same as your input schema, you'll have the same output as your incoming flow.
Your code:
  for (Schema.Field field : schemaFlow.getFields()) {
        successRecord.put(field.pos(), mvx.mvxGetField(field.name()));
    }

Is it that the problem or am I missing something?
I think (I may be wrong...) that you should generate an IndexedRecord for each of your output in the loop:
String recordTransaction = mvx.getTransaction();
String repTransaction = recordTransaction.substring(0, 3);
IndexedRecord successRecord;
while ("REP".equals(repTransaction)) {
    successRecord = new GenericData.Record(schemaFlow);
    for (Schema.Field field : schemaFlow.getFields()) {
        successRecord.put(field.pos(), mvx.mvxGetField(field.name()));
    }
    successfulWrites.add(successRecord);
    recordTransaction = mvx.mvxRecv();
    repTransaction = recordTransaction.substring(0, 3);
}

Ok, my bad !
In fact, My input file contains 2 rows with values:
CONO: 100; PUNO: 2441038
CONO: 100; PUNO: 2441034
So, for each line of this tFileInputDelimited I want to call the tM3ApiConsumer. This component will call, for each line, a specific API from our ERP with a socket. That socket will return one or more elements by API call. And that's why you saw 2 rows in my debug trace. Here a screenshot with only one row in my file:

So the code here aims to but all responses of ONE API call:
for (Schema.Field field : schemaFlow.getFields()) {
    successRecord.put(field.pos(), mvx.mvxGetField(field.name()));
}

After that it will be great if I could iterate throw those results and create a schema for all responses. That's why I was talking about an iterable row (Talend meanings) for the row3.
Is it clearer ?

Ok, that's clear ! ;-)
So your Writer class seems to be good according to the debug trace.
What does the tLogRow_2 outputs ?
 CONO: 100; PUNO: 2441034 ?

Nice to hear !
The tLogRow_2 output is:

CONO
PUNO
PNLI

100
2441038
0

But here is not the right behavior for me. I would more than one line in that output and the value PNLI should be valued to 10 :/

Obviously, it can be a Studio issue...
Let's see what the guys say...

Hello guys!
Despite getSuccessfulWrites() and getRejectedWrites() return Iterable, Studio uses only first element from that Iterable. Yes, it is a kind of a bug.
(Actually, not a bug. Rather a feature, which is not implemented yet in new API. However, seems it was available in old API)
For now, we support only one outgoing record per each incoming record.

Oh... Too bad to hear that !
For components, IMO, it will be nice to get back the iterable schema/connector.
But for now, is there another solution for my problem?
And do you support backward compatibility?
Which version do you use for your tests for now?
Thank you a lot for help! It's great to have support!

However I want to understand the logic of your component better.
Because maybe there is an option to implement it as another type of component and it will work.
I'll try to explain what I mean.
There are following types of components: Input, Output, Transform, Standalone
Input is an entry point. It reads some data from data storage.
Output is a destination point. It is the last component in data process. It writes data to some data storage.
Transform component receives some data, process it somehow and passes to next components.
It should support different configurations:
1 input - 1 output
1 input - many output
many input - 1 output
but new API doesn't support it yet (
Stanalone component doesn't deal with data, but it may do some work. (e.g. create/remove table on DB storage)
In your case your consumer component could be either Input or Transform. It depend on what cono and puno is. If it is rather not data, but settings, which are used to make API call, then I would say your component is Input. And cono and puno should be properties.
(In this case you may use iterate flow, which will allow you to start M3ApiConsumer component several times with different settings (cono & puno). Your job design will be something like:
tFileDelimited -- iterate --> tM3ApiConsumer -- flow --> tLogRow.
thus TFileDelimited provides settings for each run of tM3ApiConsumer  -> tLogRow subjob)
But if cono & puno is data itself and purpose of tM3ApiConsumer is to enrich incoming data by adding one more field, then it is Transform component (which is not fully supported yet).
Ivan

Sorry, I didn't understand this point:
"For components, IMO, it will be nice to get back the iterable schema/connector."
"But for now, is there another solution for my problem?"
Yes, there is. You may try to implement your component as Input and use iterate flow (a.k.a connection).
Described above.
"And do you support backward compatibility?"
Yes, we do.
"Which version do you use for your tests for now?"
new API (a.k.a TCOMP, a.k.a Component Framework) is developed in parallel with Studio.
It means:
Studio 6.2.1 is compatible with 0.13.1 TCOMP
6.3.0 -> 0.15.0 TCOMP
6.3.1 -> 0.16.0 TCOMP
The latest TCOMP released is 0.17.0
We use latest release for our tests

Wow! Thank you to get so deep in details for my problem guys!
My component tM3ApiConsumer is for now an Output component. My first idea when I started to develop a component was to create an Input one.
But to call an API we have to provide a kind of schema with for example CONO and PUNO. It's parameters of a function if you prefer. So, when you talked about settings, where do you set those settings in the Studio? They have to be dynamic depending of the API selected in our case.
My design thinking was to create a flux like: one input to multiple output. The input will be a schema given by the API and the output a different one given by the API too.
If I'm right, with Talend we could do:
tFileInputDelimited --> tM3ApiConsumer --> iterate --> log each output of my API in schemes
Do you understand my logic better? Is it possible right now, with the current API state?
Thanks again!

I suggest you to add CONO and PUNO as user properties (which are implemented in ComponentProperties class) Then you will have something like:
Programme ___
API ___
Schema
Schema
Schema
Cono ___
Puno ___

We can't do that with an input schema?
Because some of our APIs had more than 30 parameters in input...
And it will be easier for us to work with schemes.

"We can't do that with an input schema?"
Currently, it is not possible, because "1 input -> many output" is not supported now.
Technically it should be possible in the future.
However, as for me it breaks a concept a little. Parameters for API call is rather settings, than data.
Flows(connections) is supposed to transfer data and properties are designed for settings/parameters.
(Actually, it is an open question for me whether it is acceptable to transfer settings/parameters via flows)

Hum...
So in Talend how can I set dynamically data in settings/parameters? With globalMap?
In design time, we don't know the value of CONO or PUNO for example. Does an input component can get incoming information too btw?
I know it's a lot of questions... But we are new customers of Talend and we expect a lot of your product!

I close this issue and create a new one because I think I have to create a Input component with a Reader and not an Output one.


fixing issue with dockerfile

Overview
Brief description of what this PR does, and why it is needed (use case)?
Testing/Steps taken to ensure quality
How did you validate the changes in this PR?
Notes
Optional. Caveats, Alternatives, Other relevant information.
Testing Instructions
How to test this PR Start after checking out this branch (bulleted)

Include test case, and expected output

Is go and bash needed ?

Is go and bash needed ?

I added them as a fix for issue 747


jitsu logs

I'd like to be able to just type jitsu logs to see the logs for my current app. Since I assume jitsu knows the current context/app (like in jitsu deploy), I think this should be doable.
It's a small thing, but would make me uber-happy.

Yeah, this would definitely be cool to have. Thanks for the suggestion!

Review (low priority)? It's gh-135 branch.
Implemented with jitsu logs app. Let me know if I should change it to just jitsu logs.
I'll change the docs after we pull that.

Maybe we could alias jitsu logs app to jitsu show?

jitsu show isn't as clear to me. Also, I think you can make the argument that using jitsu logs makes for a more seamless transition for Heroku users.
Obviously I prefer jitsu logs.

jitsu show sounds like an alias for "jitsu apps list myApp" to me.

@jesusabdullah That's exactly what I thought when I first saw it.

Fixed in 7bacfc8.  jitsu logs will now show logs for the app in process.cwd(), or prompt you for an application name.

Awesome. Thanks, guys.


Let Fn gracefully handle exit code when FDK faces unsupported format

There's the basic idea: If FDK doesn't know how to handle the incoming request (basically, it doesn't know the protocol) it should fail the whole container with the very specific exit code - if HTTP 501 means that something not implemented, maybe FDK exit code 501 should be the mean the same for Fn?
This idea came up during the discussion of how to handle unknown format for FDKs.
cc @zootalures

hopefully we're dropping this field in the near future


[Feature] No "bits/stdc++.h" in macOS/clang

Verify steps

[X]  我已经在 Issue Tracker 中找过我要提出的请求 I have searched on the Issue Tracker for a related feature request.
[X]  我已经仔细看过 Documentation 并无法自行解决问题 I have read the Documentation and was unable to solve the issue.

Description
bits/stdc++.h is a gnu/gcc extension, which is not present in macOS/clang.
https://stackoverflow.com/questions/28994148/how-can-i-include-bits-stdc-in-xcode
Should we fix this rather than letting the users fix this for themselves?
Possible Solution
#ifndef __APPLE__
    #include <bits/stdc++.h>
#else
    // insert #include directives here, or make a copy of gcc's bits/stdc++.h
#endif

Since we are emulating the LeetCode OJ, I think we should ship the bits/stdc++.h for macOS version. Like this one: https://github.com/tekfyl/bits-stdc-.h-for-mac/blob/master/stdc%2B%2B.h

It's better to create a separate PR.

We can use this command to fetch the latest stdc++.h directly from gcc's source repo:
git archive --remote=git://gcc.gnu.org/git/gcc.git HEAD libstdc++-v3/include/precompiled/stdc++.h | tar -xO

What if we run this command on the user's machine?

What if we run this command on the user's machine?

I don't think we should do this automatically. Instead, we should add some instructions to our manual and let the users handle it themselves. Alternatively, we can simply have Mac users run brew install gcc :)


time show bug

after i  push my git repo to gitblit server， i find some  time display bug just like the following  picture ：
the first time should be 8 minute ago，rather than 8 hours ago

Just to make sure that this is not a translation issue, could you check if the current values in the translation file are correct? I am assuming zh_CN locale?
The property is gb.time.minsAgo.
The file is GitBlitWebApp_zh_CN.properties
Current values:
gb.time.minsAgo = {0} \u5206\u949f\u4ee5\u524d  (分钟以前)
gb.time.hoursAgo = {0} \u5c0f\u65f6\u4ee5\u524d (小时以前)


Add methods get_closest_point and get_closest_offset for both Curve2D and Curve3D

These methods allow the programmer to find the closest point/offset to an arbitrary point located inside the path's local space.
Usage:
# local <-> global conversions may not be necessary depending on the case

var local_space_point = path.to_local(global_space_point)
var closest_point = path.curve.get_closest_point(local_space_point)
var global_space_closest_point = path.to_global(closest_point)

var local_space_point = path.to_local(global_space_point)
var closest_offset = path.curve.get_closest_offset(local_space_point)
var closest_point = path.curve.interpolate_baked(closest_offset)
var global_space_closest_point = path.to_global(closest_point)

Possible Uses:

Crash Bandicoot-like camera. (I use this myself.)

I like the feature, but wasn't it already done by the curve editor to find where to split segments?

Even if it was, it wasn't exposed @Zylann

@Zylann mm I guess this is a different subject. As far as I know, there's no way (yet) to programmatically know which point (in curve) is the closest to an arbitrary point.

I was referring to the closest offset, which is something I need currently in a side project. Essentially, it would be a way to know which part of a curve is the closest to a given point. I thought that was path.curve.get_closest_offsetpath.curve.get_closest_offset?

There are several lines with trailing whitespace (either spaces after ; or tabs on empty lines), see https://travis-ci.org/godotengine/godot/jobs/371161773 (you can select over the diff to see where there was actual whitespace).
Once fixed, please squash the commits together as style fixes should be integrated directly in the original commit introducing the style issues. See PR workflow for a howto.

@akien-mga  All done :)


[AIRFLOW-453] Admin page for XComs

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-453

Thanks,
Sumit

Nice. Can you update your commit with a description and proper title?

@msumit Pls provide screen shots in this PR. Also, alter the commit subject to something like "Add XCom Admin Page"

+1

I ran your PR locally. I can understand the need for the list view and delete operation, but not for the create operation. Why would anyone create an xcom object and isn't that both dangerous and undesirable. I realize that flask makes it very easy to add functionality to views that are not intended. A great example is the create view for dag runs, which makes absolutely no sense to me -- I think @normster might have removed it.. (hopefully) ..
Anyway, consider disabling create. Also, this needs tests. I expected to see

@r39132 Thanks for review.. will remove delete option and update the commit msg and PR title as well.. However Im not sure how to add tests for this.. Do we've any UI test coverage as of now?

@msumit tick-tock.. please update and ping me. If not movement, I will need to close.

@r39132 I can update the PR, but now I'm stuck on 2 things: first is @bolkedebruin suggestion to hide from normal users, which I believe should be happening right now as well.. and second is about UI test coverage, something which is missing for the whole project..

The basic test is that the endpoint loads, which we have for all endpoints. We don't have a UI test framework, so that shouldn't be a requirement -- though we do need someone to take ownership of that need in the future. Regarding the "hide from normal users", the entire app is flask-admin. My understanding is that we can enable authentication, but not authorization, because everything is behind the admin URI. So, you should be able to add the @login_required decorator and test with an authentication backend (e.g. ldap). I haven't set that up since Airbnb and Agari both authenticate at an apache reverse proxy, not in Airflow.
Try sending an email to the dev list to help test your feature for this use case and also ask for help is setting up an auth backend to ensure only authenticated users can see it.
For any contributor to test, they just need to run dev/airflowpr work_local. This will set up your PR to test and it's a snap.
cc/ @bolkedebruin

@msumit I'm starting to question the need to edit XCom. What's the need?

@r39132 yeah, only view and search is the main goal here..

Current coverage is 66.28% (diff: 80.00%)

Merging #1756 into master will increase coverage by 1.38%

@@             master      #1756   diff @@
==========================================
  Files           128        127     -1
  Lines          9630       9761   +131
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6250       6470   +220
+ Misses         3380       3291    -89
  Partials          0          0

Powered by Codecov. Last update 3cba29e...35b1ef6

@msumit you do need to add a basic test here..

@msumit This PR is dragging a little bit. Last ping before closing for inactivity.

@msumit

Hmn.. deletion is still possible.

@r39132 I guess delete is good to have.. in case someone wants to do a cleanup of a bad run?

Where are you on this PR? Starting my 3 day counter :-)

@r39132 everything is done.. except travis showing some false failures..

+1


fixed the complaint table UI

Description

I have modified the complaint table, which was previously difficult for the user to understand which column each item belongs to. I also renamed the file committee which was previously named as commitee due to which Node.js could not find it. I have written the title above the image as it is more understandable for which hostel the complaint is registered.
Fixes #4
Type of change

[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots (if appropriate):
Checklist:

[x] I have registered myself at Contrihub website.
[x ] My code follows the code style of this project.
[ ] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] Any dependent changes have been merged and published in downstream modules
[] I have added tests to cover my changes.
[] All new and existing tests passed.

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

It is not expected as you shown!

This type of Ui I was Expecting and don't put contrast colours in the website It looks off

However ur timer has been expired now


Support fallback fonts (code refactoring for #299)

This PR fixes the formats as suggested in https://github.com/memononen/nanovg/pull/299 and fixes the bug that the original implementation only works for stb_truetype but not freetype.

I thought I just found why checking the glyph index doesn't work for me. I found a very weird situation on my iOS environment. The g variable is reset after calling fons__tt_buildGlyphBitmap().
  printf("before: %d\n", g);
  int glyph_index = g;
  fons__tt_buildGlyphBitmap(&font->font, g, size, scale, &advance, &lsb, &x0, &y0, &x1, &y1);
  printf("after: %d\n", g);
  printf("copied value: %d\n", glyph_index);

This prints
before: 298
after: 0
copied value: 298

This is the reason why I always got index 0 when using freetype backend.

Don't exact know why but I make the weird situation gone (as described above) by declaring the g variable separately. Now the latest commit fixes the formats and works on both backends.

@olliwang that usually means that something is overriding the stack. For example changin the order in which the variables are declared can have same effect. Could you try to add a trigger breakpoint to check when the variable changes?
http://stackoverflow.com/questions/18150221/how-do-i-have-a-breakpoint-get-triggered-if-an-instance-variable-in-the-class-ha
Now maybe the advance gets overridden. Also, camelCase not under_score in variable names :)

@memononen Thanks a lot. Putting g behind advance did solve this issue. I've updated the code. 👍 (PS. I couldn't get the breakpoint work on a header file)

@olliwang that solves the problem, but there's still stack overflow.
Can you try to change the following in Freetype version:
int fons__tt_buildGlyphBitmap(FONSttFontImpl *font, int glyph, float size, float scale,
							  int *advance, int *lsb, int *x0, int *y0, int *x1, int *y1)
{
	FT_Error ftError;
	FT_GlyphSlot ftGlyph;
	FT_Fixed advFixed;
	FONS_NOTUSED(scale);

	ftError = FT_Set_Pixel_Sizes(font->font, 0, (FT_UInt)(size * (float)font->font->units_per_EM / (float)(font->font->ascender - font->font->descender)));
	if (ftError) return 0;
	ftError = FT_Load_Glyph(font->font, glyph, FT_LOAD_RENDER);
	if (ftError) return 0;
	ftError = FT_Get_Advance(font->font, glyph, FT_LOAD_NO_SCALE, advFixed);
	if (ftError) return 0;
	ftGlyph = font->font->glyph;
	*advance = (int)advFixed;
	*lsb = (int)ftGlyph->metrics.horiBearingX;
	*x0 = ftGlyph->bitmap_left;
	*x1 = *x0 + ftGlyph->bitmap.width;
	*y0 = -ftGlyph->bitmap_top;
	*y1 = *y0 + ftGlyph->bitmap.rows;
	return 1;
}

I suspect that FT_Fixed is 64bit value (unsigned long), and passing int pointer there stores more than it should messing up the stack.

@memononen  You're right. Your code fixes the stash overflow issue and I changed the order of g back. Thanks. 👍

Great 👍  Merged, and thanks for picking up the fixes and PR updates!


Error(Foreign key for "${relatedClass.name}" is missing

Versions

sequelize: 5.21.3
sequelize-typescript: 1.1.0
typescript: 3.8.3

I'm submitting a ...
[x ] bug report
[ ] feature request
Actual behavior:
Error: Foreign key for "User" is missing on "Session".
Expected behavior:
Following the guide on https://www.npmjs.com/package/sequelize-typescript#one-to-many, it should be working
Steps to reproduce:

i just tried to follow to make association documented in https://www.npmjs.com/package/sequelize-typescript#one-to-many

Related code:
User.ts
@Table({
  timestamps: true,
})
export class User extends Model<User> {
  @Column({
    primaryKey: true,
    defaultValue: uuid
  })
  public id!: string;

  @Column
  public name!: string;

  @Column({
    unique: true,
  })
  public email!: string;

  @Column
  public get password(): string {
    return this.getDataValue('password');
  };

  public set password(value: string) {
    this.setDataValue('password', hashPassword(value));
  }

  @Column({
    defaultValue: 'normal'
  })
  public role!: UserRole;

  @Column({
    defaultValue: 'active'
  })
  public status!: UserStatus;

  @Column
  public resetPasswordToken?: string;

  @Column
  public resetPasswordTokenExpiry?: Date;

  @HasMany(() => Session)
  public sessions!: Session[];
}

Session.ts

@Table({
  timestamps: true,
})
export class Session extends Model<Session> {
  @Column
  public secret!: string;

  @Column({
    defaultValue: () => new Date().getTime() + getConfig('sessionAgeMs')
  })
  public expiry!: Date;

  @ForeignKey(() => User)
  @Column
  public userId!: string;

  @BelongsTo(() => User, 'userId')
  public user!: User;
}

Possible duplicate of https://github.com/RobinBuschmann/sequelize-typescript/issues/748 ?

Hey @hansyulian, thanks for reporting. At what point do you receive this error? Just with the definition of the models or when trying to use them? I tried both and it is working very well for me. Can you provide an example repo which reproduces the issue?

Closing this due to inactivity

Versions
sequelize: 5.21.13
sequelize-typescript: 1.1.0
typescript: 3.7.2
I'm having this exact issue- new issue or re-open?
Models look good, no typescript errors anywhere. It happens when I go to start the service and it runs the compiled code. I'll provide anything you need, thanks in advance.
User.ts: HasMany Workflow
Workflow.ts: BelongsTo User
node ./dist/server.js
./node_modules/sequelize-typescript/dist/associations/foreign-key/foreign-key-service.js:23
        throw new Error(`Foreign key for "${relatedClass.name}" is missing ` +
        ^

Error: Foreign key for "User" is missing on "Workflow".
    at Object.getForeignKeyOptions(./node_modules/sequelize-typescript/dist/associations/foreign-key/foreign-key-service.js:23:15)
    at HasAssociations.getSequelizeOptions(./node_modules/sequelize-typescript/dist/associations/has/has-association.js:17:52)

Same issue here, everything set up

Versions
sequelize: 5.21.13
sequelize-typescript: 1.1.0
typescript: 3.7.2
I'm having this exact issue- new issue or re-open?
Models look good, no typescript errors anywhere in editor. It happens when I go to start the service and it runs the compiled code. I'll provide anything you need, thanks in advance.
User.ts: HasMany Workflow
Workflow.ts: BelongsTo User
node ./dist/server.js
./node_modules/sequelize-typescript/dist/associations/foreign-key/foreign-key-service.js:23
        throw new Error(`Foreign key for "${relatedClass.name}" is missing ` +
        ^

Error: Foreign key for "User" is missing on "Workflow".
    at Object.getForeignKeyOptions(./node_modules/sequelize-typescript/dist/associations/foreign-key/foreign-key-service.js:23:15)
    at HasAssociations.getSequelizeOptions(./node_modules/sequelize-typescript/dist/associations/has/has-association.js:17:52)

Any luck figuring this out??
I'm having the same issue and it's sending me crazy, all my models are set up correctly but I'm stilling getting the Foreign Key missing error!! :

Versions

sequelize: 5.21.3
sequelize-typescript: 1.1.0
typescript: 3.8.3

I'm submitting a ...
[x ] bug report
[ ] feature request
Actual behavior:
Error: Foreign key for "User" is missing on "Session".
Expected behavior:
Following the guide on https://www.npmjs.com/package/sequelize-typescript#one-to-many, it should be working
Steps to reproduce:

i just tried to follow to make association documented in https://www.npmjs.com/package/sequelize-typescript#one-to-many

Related code:
User.ts
@Table({
  timestamps: true,
})
export class User extends Model<User> {
  @Column({
    primaryKey: true,
    defaultValue: uuid
  })
  public id!: string;

  @Column
  public name!: string;

  @Column({
    unique: true,
  })
  public email!: string;

  @Column
  public get password(): string {
    return this.getDataValue('password');
  };

  public set password(value: string) {
    this.setDataValue('password', hashPassword(value));
  }

  @Column({
    defaultValue: 'normal'
  })
  public role!: UserRole;

  @Column({
    defaultValue: 'active'
  })
  public status!: UserStatus;

  @Column
  public resetPasswordToken?: string;

  @Column
  public resetPasswordTokenExpiry?: Date;

  @HasMany(() => Session)
  public sessions!: Session[];
}

Session.ts
@Table({
  timestamps: true,
})
export class Session extends Model<Session> {
  @Column
  public secret!: string;

  @Column({
    defaultValue: () => new Date().getTime() + getConfig('sessionAgeMs')
  })
  public expiry!: Date;

  @ForeignKey(() => User)
  @Column
  public userId!: string;

  @BelongsTo(() => User, 'userId')
  public user!: User;
}

Did you manage to figure this out? Going crazy trying to debug

Did anyone figure this out? It works when I use nodemon, but not when I try to build :(

Cleaning the "build" directory and re-building it, fixed it for me 🤷🏼♂

Cleaning the "build" directory and re-building it, fixed it for me

how did you do that? I have the same issue and i have no idea what to do


kubernetes kubeadm-gce-* tests failing due to missing node configuration

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-gce-cni-flannel/3436
None of the nodes start because:
Sep  6 15:44:40 e2e-3436-098af-node-f2tq kubelet[5051]: F0906 15:44:40.442940    5051 server.go:190] failed to load Kubelet config file /var/lib/kubelet/config.yaml, error failed to read kubelet config file "/var/lib/kubelet/config.yaml", error: open /var/lib/kubelet/config.yaml: no such file or directory
And that may be due to failures in the kubernetes-anywhere Makefile?
W0906 15:41:11.941] 2018/09/06 15:41:11 process.go:153: Running: make -C /workspace/k8s.io/kubernetes-anywhere kubeconfig-path
I0906 15:41:12.041] make: Entering directory '/workspace/k8s.io/kubernetes-anywhere'
I0906 15:41:12.042] util/config_to_json /workspace/k8s.io/kubernetes-anywhere/.config > /workspace/k8s.io/kubernetes-anywhere/.config.json
I0906 15:41:12.063] Makefile:57: recipe for target 'kubeconfig-path' failed
I0906 15:41:12.063] make: Leaving directory '/workspace/k8s.io/kubernetes-anywhere'
I0906 15:41:12.064] make: Entering directory '/workspace/k8s.io/kubernetes-anywhere'
I0906 15:41:12.071] make do WHAT=deploy-cluster
I0906 15:41:12.076] make[1]: Entering directory '/workspace/k8s.io/kubernetes-anywhere'
I0906 15:41:12.085] ( cd "phase1/gce"; ./do deploy-cluster )
W0906 15:41:12.186] Cannot find kubeconfig file. Have you started a cluster with "make deploy" yet?
W0906 15:41:12.186] make: *** [kubeconfig-path] Error 1
W0906 15:41:12.186] 2018/09/06 15:41:12 process.go:155: Step 'make -C /workspace/k8s.io/kubernetes-anywhere kubeconfig-path' finished in 122.252521ms

@dcbw
i've been investigating the same failures except in:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-gce-1-12/3
and the rest of the red k-a tests.
i don't think this is a critical problem:
Cannot find kubeconfig file. Have you started a cluster with "make deploy" yet?
W0906 15:41:12.186] make: *** [kubeconfig-path] Error 1

this is a bit of misconfiguration between the the test-infra anywhere deployment and k-a itself.
the first verification fails bacause make deploy was not called yet.
you can find the same error on green tests.
also a false positive:
failed to load Kubelet config file /var/lib/kubelet/config.yaml, error failed to read kubelet config file "/var/lib/kubelet/config.yaml", error: open /var/lib/kubelet/config.yaml: no such file or directory

this is just an error because the file doesn't exist yet and kubeadm hasn't written it.
works fine for 1.11 and older k8s versions as can be seen here:
https://k8s-testgrid.appspot.com/sig-cluster-lifecycle-all#kubeadm-gce-1.11
i'm looking at something else which happens for all k-a 1.12 tests:
E0906 15:44:38.798398    6289 reflector.go:134] k8s.io/csi-api/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.CSIDriver: csidrivers.csi.storage.k8s.io is forbidden: User "system:node:e2e-3436-098af-master" cannot list resource "csidrivers" in API group "csi.storage.k8s.io" at the cluster scope

i wonder if this is something about the old version (1.12) docker-engine that k-a uses or something about
k8s CSI bugs vs GCE.
@kubernetes/sig-cluster-lifecycle

this is unrelated as well:
E0906 15:44:38.798398    6289 reflector.go:134] k8s.io/csi-api/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.CSIDriver: csidrivers.csi.storage.k8s.io is forbidden: User "system:node:e2e-3436-098af-master" cannot list resource "csidrivers" in API group "csi.storage.k8s.io" at the cluster scope

a just reported it to sig-storage and a separate issue was filed.

let's track this in a single location:
https://github.com/kubernetes/kubernetes/issues/68475
/close


#4482 Correct the DataTypeName for Oracle.

ref #4482
Reference link

dataType
plsql-predefined-data-types
createType

Codecov Report

Merging #4704 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4704      +/-   ##
============================================
+ Coverage     55.43%   55.46%   +0.02%
  Complexity      426      426
============================================
  Files          1136     1133       -3
  Lines         20624    20575      -49
  Branches       3827     3819       -8
============================================
- Hits          11432    11411      -21
+ Misses         8470     8443      -27
+ Partials        722      721       -1

Impacted Files
Coverage Δ
Complexity Δ

...c/jdbc/core/statement/ShadowPreparedStatement.java
40.9% <0%> (-3.54%)
0% <0%> (ø)

...dingjdbc/jdbc/core/statement/EncryptStatement.java
59.75% <0%> (-3.17%)
0% <0%> (ø)

...rdingjdbc/jdbc/core/statement/ShadowStatement.java
64.17% <0%> (-2.95%)
0% <0%> (ø)

.../jdbc/core/statement/EncryptPreparedStatement.java
79.8% <0%> (-1.28%)
0% <0%> (ø)

...impl/EncryptPredicateRightValueTokenGenerator.java
93.33% <0%> (ø)
1% <0%> (ø)
:arrow_down:

...ication/jdbc/wrapper/StatementExecutorWrapper.java
1.61% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...ewrite/sql/token/generator/SQLTokenGenerators.java
21.87% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...tion/center/instance/CuratorZookeeperInstance.java

...rlying/common/metadata/ShardingSphereMetaData.java

...swapper/OrchestrationConfigurationYamlSwapper.java

... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5daaca2...6957a2f. Read the comment docs.

Pull Request Test Coverage Report for Build 10171

0 of 0   changed or added relevant lines in 0 files are covered.
18 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.08%) to 59.023%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-core/src/main/java/org/apache/shardingsphere/orchestration/internal/util/IpUtils.java
3
76.0%

sharding-scaling/sharding-scaling-core/src/main/java/org/apache/shardingsphere/shardingscaling/core/synctask/history/HistoryDataSyncTask.java
7
76.47%

sharding-scaling/sharding-scaling-core/src/main/java/org/apache/shardingsphere/shardingscaling/core/execute/executor/channel/MemoryChannel.java
8
51.85%

Totals

Change from base Build 1043:
-0.08%

Covered Lines:
12144

Relevant Lines:
20575

💛  - Coveralls

@yuzel Good job.


Update "KEP-168-pending-workload-visibility" before deprecation.

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Part of #2256
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/cc @mimowo

/assign @tenzen-y


[feature]  Support for website login / password

Version and OS
v<IP_ADDRESS> Linux/Docker
Is your feature request related to a problem? Please describe.
Lack of Authentication
Describe the solution you'd like
Authentication
Describe the use-case and give concrete real-world examples
Prevent anyone on network being able to see and change configuration.

Not sure how I missed that, I went through the settings.  Thanks.


how to execute macro on a specific link ?

Newsboat version (copy the output of newsboat -v or the first line of git show):
newsboat 2.20.1
System: Linux 5.7.10-artix1-1 (x86_64)
Compiler: g++ 10.1.0
ncurses: ncurses 6.2.20200212 (compiled with 6.2)
libcurl: libcurl/7.71.1 OpenSSL/1.1.1g zlib/1.2.11 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.9.0 nghttp2/1.41.0 (compiled with 7.71.1)
SQLite: 3.32.3 (compiled with 3.32.3)
libxml2: compiled with 2.9.10
Config file (copy from ~/.newsboat/config or ~/.config/newsboat/config):
#show-read-feeds no
#auto-reload yes
auto-reload no

external-url-viewer "urlscan -dc -r 'linkhandler {}'"

bind-key j down
bind-key k up
bind-key j next articlelist
bind-key k prev articlelist
bind-key J next-feed articlelist
bind-key K prev-feed articlelist
bind-key G end
bind-key g home
bind-key d pagedown
bind-key u pageup
bind-key RIGHT open
bind-key LEFT quit
bind-key a toggle-article-read
bind-key n next-unread
bind-key N prev-unread
bind-key D pb-download
bind-key U show-urls
bind-key x pb-delete

color listnormal cyan default
color listfocus yellow default bold
color listnormal_unread blue default
color listfocus_unread yellow default bold
color info red default bold
color article white default bold

# color listnormal cyan default
# color listfocus black yellow standout bold
# color listnormal_unread blue default
# color listfocus_unread yellow default bold
# color info red black bold
# color article white default bold

browser linkhandler
macro , open-in-browser
macro t set browser "qndl" ; open-in-browser ; set browser linkhandler
macro a set browser "tsp youtube-dl --add-metadata -xic -f bestaudio/best" ; open-in-browser ; set browser linkhandler
macro v set browser "setsid -f mpv" ; open-in-browser ; set browser linkhandler
macro w set browser "lynx" ; open-in-browser ; set browser linkhandler
macro p set browser "dmenuhandler" ; open-in-browser ; set browser linkhandler
macro c set browser "xsel -b <<<" ; open-in-browser ; set browser linkhandler
macro C set browser "youtube-viewer --comments=%u" ; open-in-browser ; set browser linkhandler
macro d set browser "curl -LO %u" ; open-in-browser ; set browser linkhandler

highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" black
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
highlight article "(^Link:.*|^Date:.*)" default default
highlight article "https?://[^ ]+" green default
highlight article "^(Title):.*$" blue default
highlight article "\\[[0-9][0-9]*\\]" magenta default bold
highlight article "\\[image\\ [0-9]+\\]" green default bold
highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold
highlight article ":.*\\(link\\)$" cyan default
highlight article ":.*\\(image\\)$" blue default
highlight article ":.*\\(embedded flash\\)$" magenta default

Steps to reproduce the issue:

select a news item with more than one link inside

try to execute macro on a specific link

only the first link is sent to the macro

Other info you think is relevant:
i have news items with few links inside.
one can lead to the web page about the podcast (1st link)
another link can lead to the actual podcast itself for direct download (2nd link)
yet another link can be a picture or whatever (3rd link)
i have defined a macro to have newsboat download through curl.
macro d set browser "curl -LO %u" ; open-in-browser ; set browser linkhandler

but it is always the first link that is being sent to curl through the macro. what is the variable i could use to tell the macro i want   the 2nd or the 3rd link to be downloaded ?
i also tried to copy link to clipboard, and modified the macro to be: curl -LO $(xclip -o -sel c)
but newsboat didn't accept that. (although it works from command line).
where's the list of variable i need to be more specific about the items i want to get ?
i tried to look at docs here: https://newsboat.org/releases/2.20.1/docs/newsboat.htm
but that wasn't clear to me. i could not find what i needed.
is it possible in newsboat to select a specific link to call a macro upon ?
idealy, when i'm listing all the link in a news item ("U"), if i could call the macro on the link that is currently selected that would be good.

idealy, when i'm listing all the link in a news item ("U"), if i could call the macro on the link that is currently selected that would be good.

This is how Newsboat works. Did you actually try this? What errors does Newsboat display? If it doesn't, what errors does Curl print out? (You'll have to quit Newsboat to see Curl's messages).

i also tried to copy link to clipboard, and modified the macro to be: curl -LO $(xclip -o -sel c)
but newsboat didn't accept that. (although it works from command line).

What do you mean by "didn't accept"? Can you quote error messages?
It might be lack of DISPLAY variable. xclip needs it in order to talk to the X server. Are you starting Newsboat from a terminal running under X? Are there any programs in between, like Tmux or Screen?

but it is always the first link that is being sent to curl through the macro. what is the variable i could use to tell the macro i want the 2nd or the 3rd link to be downloaded ?

If you want a macro that always opens the second link, you can use goto-url:
macro d set browser "curl -LO %u" ; goto-url 2 ; set browser /usr/bin/firefox

You can use any other number, of course. The macro should be invoked from the item view, not the urls dialog. (Giving arguments to operations isn't actually documented, I have it written down somewhere to get around to do that...)

idealy, when i'm listing all the link in a news item ("U"), if i could call the macro on the link that is currently selected that would be good.

This is how Newsboat works. Did you actually try this? What errors does Newsboat display? If it doesn't, what errors does Curl print out? (You'll have to quit Newsboat to see Curl's messages).

well, here, when i am on link list ("U") i cannot use macro at all. i tried like this: i highlight the link i want to work on (the 2nd link in the list) and i press ,d  "comma" then "d". using macro like this in normal view works, but not on link list view. there is no error of any kind. just no response, no reaction. so from link list view the only way i found was to copy link to clipboard, then back on normal view i call macro that use clipboard.
curl with $(xclip -o -sel c) it works but with problem sometimes, i explain below.

i also tried to copy link to clipboard, and modified the macro to be: curl -LO $(xclip -o -sel c)
but newsboat didn't accept that. (although it works from command line).

What do you mean by "didn't accept"? Can you quote error messages?
It might be lack of DISPLAY variable. xclip needs it in order to talk to the X server. Are you starting Newsboat from a terminal running under X? Are there any programs in between, like Tmux or Screen?

curl complains the link is too long and it will not initiate the download:
Warning: r: File name too long
  0 20.8M    0   791    0     0    753      0  8:03:39  0:00:01  8:03:38  8505
curl: (23) Failure writing output to destination

using same link, wget doesn't complain about this, so i will try more with wget.
this is a problem with curl it seems not newsboat.
i thought that i had other kind of error previously but i cannot reproduce them at the moment so maybe i just did some mistake with curl options or something like that. sorry about that point.

but it is always the first link that is being sent to curl through the macro. what is the variable i could use to tell the macro i want the 2nd or the 3rd link to be downloaded ?

If you want a macro that always opens the second link, you can use goto-url:
macro d set browser "curl -LO %u" ; goto-url 2 ; set browser /usr/bin/firefox

You can use any other number, of course. The macro should be invoked from the item view, not the urls dialog. (Giving arguments to operations isn't actually documented, I have it written down somewhere to get around to do that...)

goto-url 2 could be a workaround, i was after that kind of information. but it is a bit static. depending which rss feed i'm currently working with, i might be interested to download different link number, and while i can define 3 or 4 macros, each one to get a specfic link, it is not optimal. it would be better if i could tell newsboat which link number i want to work with, and from there have only one macro.

Hi, sorry I'm slow to respond; I have a slightly hectic schedule at the moment.

well, here, when i am on link list ("U") i cannot use macro at all.

My bad: I didn't read your config as attentively as I should have, and missed the fact that you're using an external url viewer. That explains it: since you're viewing URLs in urlscan, you are outside of Newsboat, so you can't use any of Newsboat features, including macros. I don't think this can be fixed.

curl complains the link is too long and it will not initiate the download:

It says file name is too long. I'd replace that line with a script, and add some logging to figure out what exactly the script gets and why Curl complains like that.

i thought that i had other kind of error previously but i cannot reproduce them at the moment so maybe i just did some mistake with curl options or something like that. sorry about that point.

No problem ;)

is it possible to get the news item title to use in the macro as output filename ?
[…]
also the file type is known apparently, i see: (type: audio/mpeg) if i could use that to make filename extension ? how to pass that kind of info to the macro definition ?

None of that is available from macros or anything else, it's just text in an item view :(
I get a feeling that all of this is really geared towards podcasts. Is it so? Have you tried our podcast support?

Hi, sorry I'm slow to respond; I have a slightly hectic schedule at the moment.

no problem, i'm not in a hurry. thank you for answering.

My bad: I didn't read your config as attentively as I should have, and missed the fact that you're using an external url viewer. That explains it: since you're viewing URLs in urlscan, you are outside of Newsboat, so you can't use any of Newsboat features, including macros. I don't think this can be fixed.

interesting, i will try without urlscan then.
i had just copied config that were available to me and started tweaking from there. i had just assumed this was how it was supposed to be.

curl complains the link is too long and it will not initiate the download:

It says file name is too long. I'd replace that line with a script, and add some logging to figure out what exactly the script gets and why Curl complains like that.

yes i dug a little bit more into this problem. as it turns out, the link itself is very long and doesn't directly point to the file. there's a hop involved. anyway curl and wget too, try use the link itself to make it the destination filename. so right now i'm forced to use a static destination filename such as:
wget $(xclip -o -sel c) -O my_output and i don't even get the file extension that way.
i'll have to make a script and get file my_output info, parse it and finally append it myself that way.
what i wanted was, to confirm if there was any variables available that i could use to dynamically get the newsitem title from and use that in the macro. for example i see %u is available. i hoped there could be more, like a %n to get newsitem name or title so i could do: wget $(xclip -o -sel c) -O %n

is it possible to get the news item title to use in the macro as output filename ?
[…]
also the file type is known apparently, i see: (type: audio/mpeg) if i could use that to make filename extension ? how to pass that kind of info to the macro definition ?

None of that is available from macros or anything else, it's just text in an item view :(
i see .. well,  that answer my question above.

I get a feeling that all of this is really geared towards podcasts. Is it so? Have you tried our podcast support?

no it's more generic, i'm using newsboat to get quite a variety of different things.
from invidio.us / youtube new powsts in a given channel,
also podcast, github commits, new articles on blogs, and so on.
and among all these, my news items from inside newsboat sometimes contain more than one link.
some contains many. and i wanted to know how to tell newsboat : " here, this macro i made, use it specificaly with This particular link, and ignore the rest" so depending the news item i'm reading it can be link number 2 or 4 or 6.. it may vary a lot. usualy what i want is to just download the file localy, and bypass as much as i can the big browsers such as firefox, chrome etc ...

and i wanted to know how to tell newsboat : " here, this macro i made, use it specificaly with This particular link, and ignore the rest"

Got it! I think the native URL view will provide that for you. If you want to stick with an external URL viewer, you'll have to script that to do what you want (e.g. look at the domain in the URL and call youtube-dl/curl/whatever).
It looks like this issue is kind of resolved now, but I'll wait for you to try using the internal URL view. Please tell me if it indeed resolves the problem!

what you're calling "internal / native url view" is the view one can get by pressing "U" key ?
once i'm there i can highlight a particular link but how do i act on it ? the only thing i could do is copy a given link to clipboard then back on normal view call a macro on that clipboard content.
that, or, still from url view "U", i can also call link-handler as you suggest but, in that case how do i do if the link doesn't provide an extension ? for example, here's my link-handler:
#!/bin/sh

# Feed script a url or file location.
# If an image, it will view in sxiv,
# if a video or gif, it will view in mpv
# if a music file or pdf, it will download,
# otherwise it opens link in browser.

# If no url given. Opens browser. For using script as $BROWSER.
[ -z "$1" ] && { "$BROWSER"; exit; }

case "$1" in
	*mkv|*webm|*mp4|*youtube.com/watch*|*invidio.us/watch*|*youtube.com/playlist*|*youtu.be*|*hooktube.com*|*bitchute.com*)
		setsid -f mpv -quiet "$1" >/dev/null 2>&1 ;;
	*png|*jpg|*jpe|*jpeg|*gif)
		curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///")" && sxiv -a "/tmp/$(echo "$1" | sed "s/.*\///")"  >/dev/null 2>&1 & ;;
	*mp3|*flac|*.ogg|*opus|*mp3?source*)
		# setsid -f tsp curl -LO "$1" >/dev/null 2>&1 ;;
		setsid -f curl -LO "$1" >/dev/null 2>&1 ;;
	*)
		if [ -f "$1" ]; then "$TERMINAL" -e "$EDITOR" "$1"
	else setsid -f "$BROWSER" "$1" >/dev/null 2>&1; fi ;;
esac

as you can see, it's based on file extension. but, if the link doesn't point directly on a file (making hops to the real file instead of pointing directly to it) and/or the url is too long that wouldn't work. here is below such an example with a link from one of my feed. it work using "U" -> copy link to clipboard, back to normal view, use macro on clipboard.
macro d set browser "wget $(xclip -o -sel c) -O output.mp3" ; open-in-browser ; set browser linkhandler

and output of a transaction with that macro:
$ newsboat
Starting newsboat 2.20.1...
Loading configuration...done.
Opening cache...done.
Loading URLs from /home/klaus/.config/newsboat/urls...done.
Loading articles from cache...done.
--2020-08-05 14:07:57--  http://click.erfm.fr/click?d=LA_CHRONIQUE_JURIDIQUE_DE_DAMIEN_VIGUIER_N_4_EMISSION_DU_11_JUILLET_2020&t=La+chronique+juridique+de+Damien+Viguier+n%C2%B04+%E2%80%93+%C3%89mission+du+11+juillet+2020&rr
Resolving click.erfm.fr (click.erfm.fr)... 2606:4700:3036::681f:5fcf, 2606:4700:3035::681f:5ecf, 2606:4700:3034::ac43:ab5c, ...
Connecting to click.erfm.fr (click.erfm.fr)|2606:4700:3036::681f:5fcf|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://podcast.erfm.fr/LA_CHRONIQUE_JURIDIQUE_DE_DAMIEN_VIGUIER_N_4_EMISSION_DU_11_JUILLET_2020.mp3 [following]
--2020-08-05 14:07:58--  http://podcast.erfm.fr/LA_CHRONIQUE_JURIDIQUE_DE_DAMIEN_VIGUIER_N_4_EMISSION_DU_11_JUILLET_2020.mp3
Resolving podcast.erfm.fr (podcast.erfm.fr)... 2606:4700:3035::681f:5ecf, 2606:4700:3036::681f:5fcf, 2606:4700:3034::ac43:ab5c, ...
Reusing existing connection to [click.erfm.fr]:80.
HTTP request sent, awaiting response... 200 OK
Length: 7072220 (6,7M) [audio/mpeg]
Saving to: ‘output.mp3’

so it can workaround that way, using macro yes. but for link-hanler ? as you can see my link-handler could only work if it knows the filetype (by using file extension) but how could i proceed if link is too long, doesn't contain filename, or file extension, and require a hop ( resolving link, jumping, from link to link until it finaly reach the file itself) ? would that be a gray area where i have no other option but resort to the "clipboard + macro" workaround as shown above  ?
i understand it's not a problem about newsboat now. i will close this issue, but i just wanted to ask for your advice in such cases. if there's anything you could recommend. if you don't have time to reply to that, i'll understand, that's ok. i'll wait a bit and close the issue. many thanks for the help anyway.

what you're calling "internal / native url view" is the view one can get by pressing "U" key ?

Yep!

as you can see my link-handler could only work if it knows the filetype (by using file extension) but how could i proceed if link is too long, doesn't contain filename, or file extension, and require a hop ( resolving link, jumping, from link to link until it finaly reach the file itself) ? would that be a gray area where i have no other option but resort to the "clipboard + macro" workaround as shown above ?

To be fair, Newsboat doesn't always know the filetype either. The filetype (a MIME type, to be precise) is only known for enclosures, e.g. podcasts and their "cover images"; even then, Newsboat relies on the feed not to lie about the type (i.e. Newsboat doesn't download the file to check it). All other links — the "Link:" header before the article and the links inside the article — don't have a MIME type associated with them. Newsboat only knows which tag was used, and classifies links into "images", "videos", and "links" that way. I'd argue it's not Newsboat's job to find out the MIME types for those links.
This means that the only info Newsboat can supply reliably is a URL. The rest has to be done by the link handler. The script you shown already uses a mixed approach: sometimes it uses filename extensions, other times it uses the domain name of the URL. You can also use curl to send a HEAD request, get Content-Type header of the response, and use it to decide on how to proceed. (HEAD, unlike GET, won't download the file; but HEAD might not be supported by some web servers.)
In any case, I don't think you have to resort to the "clipboard + macro" approach. It seems that you can either make the linkhandler "smart enough" to pick the correct tool, or create multiple macros and run them from the URL view.
And I'm fine with discussing these things here, even if it turns out that Newsboat can't really help. I never know what people need until they tell me, so — thanks for opening this issue! :+1:

i will look into it, and also without link-handler too.
many thanks for the suggestions and help.


ExtensionContext.globalStorageUri permissions are not always consistent.

Does this issue occur when all extensions are disabled?: It occurs when only necessary extensions are active.

VS Code Version: 1.58, 1.66, 1.71, 1.75;
OS Version: Windows 10 Pro 22H2

The extension stores some temporary files inside that folder location and upon re-activation tries to delete those previously created.
With varying frequency, it will alert the user that admin-level permissions need to be granted for the operation(s) to complete.
Unfortunately, since we are getting this folder from an internal API, we cannot control it, so we would expect VScode to handle it for us.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.75.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

@bpasero Can extension use VS Code FS provider to do file operations? If so, is there a possibility to elevate permissions?

Yes, extensions can use fs via vscode.fs extension API. There is no support for elevating: https://github.com/microsoft/vscode/issues/48659

@uzust01 Please use our API for fs operations and subscribe to above issue for permission elevations


Implement trajectory-specific generalization methods

Starting points:

General line generalization: Douglas Peucker
More trajectory specific: https://github.com/anitagraser/QGIS-Processing-tools/tree/master/2.12/trajectory_generalization/scripts

Implemented in #128


events.js:141 - app crashed

I tried to run: npm run start but I get:
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::8080
    at Object.exports._errnoException (util.js:870:11)
    at exports._exceptionWithHostPort (util.js:893:20)
    at Server._listen2 (net.js:1237:14)
    at listen (net.js:1273:10)
    at Server.listen (net.js:1369:5)
    at EventEmitter.listen (/home/user/ark/reactjs_koans/node_modules/express/lib/application.js:617:24)
    at Object.<anonymous> (/home/user/ark/reactjs_koans/server.js:28:18)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
[nodemon] app crashed - waiting for file changes before starting...

It seems that the port is already in use. Have you maybe started the koans server before and it's still running? Or maybe you're using some other software which listens at this port, like Java or Rails apps?
See this for possible solutions: http://stackoverflow.com/questions/4075287/node-express-eaddrinuse-address-already-in-use-kill-server

You're right! Thank you.


Some form of user authentication is needed otherwise this service will be abused

It's extremely simple to write a small program to provide a workaround for the 100kb upload limit. Even if you added storage limits per key, it would be trivial to bypass that. I don't quite know where the data is being stored or how, but if you don't want users to flood your service with data, then I suggest making users sign up before giving them a key.
I only say this because I really like this service, and I don't want to see it forced to shutdown, as other services such as https://ptpb.pw have in the past due to people abusing their nature. I have two Proof-Of-Concepts that would, one, allow me to flood the service with large amounts of data indefinitely, and two, store large (think gigabyte) files by spreading them across multiple keys. These took barely any time to write, and it's only a matter of time before someone else thinks of this or acts.
Please make users sign up, with something to stop automation (maybe just a captcha instead), before giving them a key.

This is so true @bluzi, you should look into it...

Thanks guys, however the whole idea of jsonstore is to provide quick access to a datastore without the need of registration or any kind of authentication.
We've been up for more than an year and we're dealing with abuses manually, so far it is working for us.


INIT hangs

When I run NLTK.INIT the application hangs.

When I run NLTK.INIT the application hangs.

Did you try to step-in with debugger inside Nltk.Init? Also verify that paths that you pass to Init exists.

I am running it from visual studio and it's not letting me step inside. The paths are valid, and it does run but takes 6 min to execute the Nltk.Init. Is there any further examples of using this with c#?

@jacobgre I am not sure what causes perfomance issues on your side. On mine it took 5 seconds to pass Init method when running from VS. Probably you have lots of third-party python libraries / or slow PC / or resource consuming Visual Studio add-ins which slows down running application / even security software may block program from running for a while / whatever.

Thanks for the direction. Got me to poking in the right places and got it fixed. I appreciate the help.


PeerCC Unity

Hi there, this is my situation:
I would like to have a Unity PeerCC Client for Hololens and a Unity PeerCC Client for PC (both UWP) talking each other.
I have this working in Debug mode only, because in release mode the compiler can't find MediaEngineUWP.dll and I can't find out how to fix this.
Are you guys able to build in release mode?

I'm able to build in release mode - could you try with the latest and provide an update?  The PeerCC-Sample repo now has the latest Unity code and references the NuGet package so it's much quicker to build: https://github.com/webrtc-uwp/PeerCC-Sample

@jamescadd Hi James, I tried with the new PeerCC-Sample repo, but honestly, I am not able to follow the instructions.
There are broken links in Samples chapter and so I don't have the stuff to build the following:
"Unity 3D Peer Connection Client application - build PeerConnectionClientUnity project in webrtc\windows\solutions\WebRtcUnityD3D.sln"
Am I blind and don't get something simple to do?

If the Unity project is causing issues can you check that version 4.1f is installed, and that you chose to install the .NET Scripting Backend during Unity install (or something similar)? Sorry about the broken links, I'll have to take a look at the documentation.

From: Francesco Cagnetta<EMAIL_ADDRESS>Sent: Wednesday, July 11, 2018 6:42:56 AM
To: ortclib/ortclib-sdk
Cc: James Cadd; Mention
Subject: Re: [ortclib/ortclib-sdk] PeerCC Unity (#9)
@jamescaddhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjamescadd&data=02|01|jacadd%40microsoft.com|eea33dfa0378478ef84908d5e71b10c4|72f988bf86f141af91ab2d7cd011db47|1|0|636669025787840991&sdata=S6xB%2B3s%2BkqSTgrIumD26VvMXJdhtk4%2F0H3nClzIviU0%3D&reserved=0 Hi James, I tried with the new PeerCC-Sample repo, but honestly, I am not able to follow the instructions.
There are broken links in Samples chapter and so I don't have the stuff to build the following:
"Unity 3D Peer Connection Client application - build PeerConnectionClientUnity project in webrtc\windows\solutions\WebRtcUnityD3D.sln"
Am I blind and don't get something simple to do?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fortclib%2Fortclib-sdk%2Fissues%2F9%23issuecomment-404125433&data=02|01|jacadd%40microsoft.com|eea33dfa0378478ef84908d5e71b10c4|72f988bf86f141af91ab2d7cd011db47|1|0|636669025787840991&sdata=gneF6DOrW3YFsQ5UoXo39V3DOIfL7tkON0dHuEG13pI%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACmlAt8P2KkW1Ic_sNb-xIR613Qstd8zks5uFdawgaJpZM4Uc8zd&data=02|01|jacadd%40microsoft.com|eea33dfa0378478ef84908d5e71b10c4|72f988bf86f141af91ab2d7cd011db47|1|0|636669025787851001&sdata=oHaK%2F8SktmT%2F8d31ikdi%2FAdxiAyzvREksRP43%2FTFylw%3D&reserved=0.

Yes, I just tried that branch on a clean machine, but still, the prepare.bat is not working :/
CRITICAL ERROR: Could not generate WebRTC projects for winuwp_10 platform, x64 CPU
FAILURE:Preparing WebRTC development environment has failed.
=======   WebRTC prepare script summary   =======
=======   platform   =========   result   =======
arm                 not run
x64                  failed
x86                 not run
win32               not run

Please run bin\prepare.bat -logLevel 4 and post the output

From: Francesco Cagnetta<EMAIL_ADDRESS>Sent: Wednesday, July 11, 2018 9:37:23 AM
To: ortclib/ortclib-sdk
Cc: James Cadd; Mention
Subject: Re: [ortclib/ortclib-sdk] PeerCC Unity (#9)
Yes, I just tried that branch on a clean machine, but still, the prepare.bat is not working :/
CRITICAL ERROR: Could not generate WebRTC projects for winuwp_10 platform, x64 CPU
FAILURE:Preparing WebRTC development environment has failed.
======= WebRTC prepare script summary =======
======= platform ========= result =======
arm not run
x64 failed
x86 not run
win32 not run
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fortclib%2Fortclib-sdk%2Fissues%2F9%23issuecomment-404172142&data=02|01|jacadd%40microsoft.com|afc11d16c2054bccc7f608d5e7336f18|72f988bf86f141af91ab2d7cd011db47|1|0|636669130448768007&sdata=cI%2FdP6lXkZPD%2F3ysuRpTyGr4zbS%2FUnoOIqA2K4m7wrM%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACmlAt2bIFhyjWkNYx5lyxAjn1muloOUks5uFf-TgaJpZM4Uc8zd&data=02|01|jacadd%40microsoft.com|afc11d16c2054bccc7f608d5e7336f18|72f988bf86f141af91ab2d7cd011db47|1|0|636669130448778021&sdata=YPsOlKZ9ohZiV0Wu%2BvjX4y%2BXU97SOTL%2FLtIvF8l0wxI%3D&reserved=0.

Here it is: https://pastebin.com/hmxbd7Lk

I see in logs:
You must install the "Debugging Tools for Windows" feature from the Windows 10 SDK.

Thanks Robin, missed that x.x I'll try again

Assume this was resolved by installing the debugging tools, reopen if not.


Update dep

IBM Cloud toolchain: Delivery Pipeline deployed long-way-home-callforcode to chatbotSpace, including commit 4d0843b3b782c85d835e49cd98a436680492e794


common: add JsonWebKeyExtended interface for AKP.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.10%. Comparing base (0f8e5db) to head (46e0b35).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #460      +/-   ##
==========================================
- Coverage   88.48%   88.10%   -0.39%
==========================================
  Files          60       60
  Lines        4716     4296     -420
  Branches      448      448
==========================================
- Hits         4173     3785     -388
+ Misses        542      510      -32
  Partials        1        1

Flag
Coverage Δ

unittests
88.10% <ø> (-0.39%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Feature/entry count featuredrift

Changes

Add entry count in feature drift.

@ranjan-stha , @bewakes I have mentioned the pr to be draft. errors will be fixed soon.