readme: add documentation for GCS_HELPER_MAP_EXTRA_PREFIXES

Codecov Report

Merging #6 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   77.68%   77.68%
=======================================
  Files           5        5
  Lines         251      251
=======================================
  Hits          195      195
  Misses         50       50
  Partials        6        6

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 18d4464...7412cd9. Read the comment docs.


Add a way to set the logging level for libmoon internal code

There is currently no way to disable logging messages originating from internal libmoon code.
Running the following script still prints warnings to stdout:
local log = require "log"
log:setLevel("ERROR")
local lm = require "libmoon"

function master()
end

Output:
[WARN]  malloc() allocates objects >= 1 MiB from LuaJIT memory space.
[WARN]  Install libjemalloc if you encounter out of memory errors.

Expected output:

This is problematic in automated work flows, where adherence to certain output format, such as csv, is expected.

Sorry, won't fix.

too annoying since the memory lib needs to be loaded before the user script
DPDK generates some uncontrollable spam anyways


Fix for #7 Next page navigation issue

Fix for #7. Made a small changes to fix the next page navigation issue.

Thanks!


CLI v1.4.0-rc.1 ng new --routing generates erroneous app-routing.module.ts

Bug Report or Feature Request
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.4.0-rc.1
node: 8.3.0
os: win32 x64
Repro steps.
ng new TESTPRO --routing
ng serve
To see the source generated (without ng serve):  ng new TESTPRO -st -si --routing suffice.
app-routing.module.ts is generated in form:
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})

The log given by the failure.
Error: No provider for ChildrenOutletContexts!
Desired functionality.
A main routing module generated with .forRoot(routes)
@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})

Hello,
I am still facing this issue with new project in angular-cli, how to resolve this issue?
Thanks

Actually I resolved the issue by using the command below for creating app-routing
ng g module app-routing
the link below help me fix it
https://shermandigital.com/blog/configure-routing-in-an-angular-cli-project/

I get one the best to understand about Angular routing and navigation including route params


Add an example with multiple axes representing different units

Please confirm that this PR has done the following:

[ ] Tests Added
[ ] Documentation Added
[ ] Name of contributors Added to AUTHORS.rst
[ ] Description in RELEASE_NOTES.md Added

Adding to RELEASE_NOTES.md (remove section after adding to RELEASE_NOTES.md)
Please add a single line in the release notes similar to the following:
- (#XX)[http://link-to-pr.com] Added feature which does something

Description of PR
Please describe the changes introduced by this PR.

Awesome, thanks @maartenbrinkerink and @danielhuppmann ! =)


Text Embeddings Reveal (Almost) As Much As Text

Text Embeddings Reveal (Almost) As Much As Text

Why (Motivation)
What (Action/Method)
Why (Justification/Outcome)

Concern over privacy threats in vector databases, questioning if original text can be reproduced from embeddings.
Developed Vec2Text, a multi-step method for embedding inversion, aiming to reconstruct input text from embeddings.
Demonstrated that text embeddings reveal substantial information about the original text, recovering 92% of 32-token inputs exactly, thus highlighting privacy concerns.

Need to understand if embeddings, used widely for efficiency in large language models (LLMs), compromise the privacy of the original text.
Investigation into the capability of embedding inversion to recover full texts, employing controlled generation for accurate reconstruction.
Found that embeddings can indeed compromise privacy by allowing the recovery of sensitive information like full names from clinical notes, necessitating the same privacy measures as for raw data.

The growing popularity of vector databases for storing dense embeddings without a comprehensive exploration of their privacy risks.
Examined the potential of inverting dense text embeddings to the original text, challenging the non-triviality of inverting neural network outputs.
Showed that with sufficient input-output pairs from a network, it's possible to approximate the network’s inverse, thus revealing private information embedded within.

In addition to the primary expression for the optimization problem in text recovery from embeddings, the document discusses a recursive model formulation for Vec2Text. This recursive model iteratively refines hypotheses about the original text. Here are the key mathematical expressions related to this model:
Initial Hypothesis Generation:
$$
p(x^{(0)} | e) = p(x^{(0)} | e, \emptyset, \phi(\emptyset))
$$

$x^{(0)}$ represents the initial text hypothesis.
$e$ is the target embedding vector.
$\phi(\emptyset)$ denotes the embedding of an empty or null text input, serving as the starting point for hypothesis generation.

Recursive Correction and Refinement:
$$
p(x^{(t+1)} | e) = \sum_{x^{(t)}} p(x^{(t)} | e) \cdot p(x^{(t+1)} | e, x^{(t)}, \phi(x^{(t)}))
$$

$x^{(t+1)}$ is the text hypothesis at iteration ( t+1 ).
$x^{(t)}$ is the text hypothesis from the previous iteration.
The expression models the probability of the next hypothesis $x^{(t+1)}$ given the current hypothesis $x^{(t)}$, the target embedding $( e )$, and the embedding of the current hypothesis $( \phi(x^{(t)}) )$.

Embedding Projection:
$$
\text{EmbToSeq}(e) = W_2 \cdot \sigma(W_1 \cdot e)
$$

This function projects a single embedding vector $e$ to a larger size suitable for input to the model's encoder, where $W_1$ and $W_2$ are weight matrices and $( \sigma )$ is a nonlinear activation function.

These expressions illustrate the theoretical foundation of the Vec2Text model's approach to iteratively refining text hypotheses to recover the original text from its embedding. The process involves generating an initial hypothesis, applying recursive corrections, and utilizing embedding projections to adapt the embedding vector for iterative refinement.


docs: add community links

:tada: This PR is included in version 2.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


WIP: Cumulative F4F rebase after tiiuae/main

ATTENTION: WORK IN PROGRESS!
In this PR

All F4F commits rebased after latest tiiuae/fog_sw/main branch (i.e. it's ready to merge)
Also added changes for Drone integration, which were done together with @jnippula

It looks like sub-module versions gets corrupted, I'm working on it right now
PS. Somehow, I cannot add F4F guys as reviewers (o_O)

Need to consider to rename/move "installation" folder in the root as it is related to navigation stack installation, not the whole fog_sw installation.


regex validator refuses params with nil value

Fixes #608

why refuse nil or blank value params? Why not leverage allow_blank to refuse nil if you don't like it. If blank value is allowed, the blank value should not go through regexp validation. Otherwise, user need modify the regular expression to some complex form to support nil value.

@calfzhou Yes yes, this should support allow_blank like everything else. Would appreciate an issue/test/PR.


Support Hadoop indexing of data from partitioned table

SQL on Hadoop like Hive and Impala support partitioned table through making subdirectories for each partitioning column value

Subdirectory structure looks like
.../col1=xxx/col2=yyy/...

With StaticPathSpec, we can add all the data from all partition directories, however, lose partition column values specified in directory path.
This patch introduces new PartitionPathSpec so that reads partition column values from directory path of input files and ingests them as additional dimensions.
PartitionPathSpec has following structure:
{
  "type" : "partition",
  "basePath" : "/xxxx/xxxx/xxxx",
  "indexingPaths": [ "/xxxx/xxxx/xxxx/col1=xxx/", "/xxxx/xxxx/xxxx/col1=yyy/col2=zzz/"],
  "partitionColumns" : [ "col1", "col2", ...]
}

basePath is a base directory path of the partitioned table.
indexingPaths are sub directories under basePath and can be used to additionally limit the scope of ingestion. This is useful because partition columns are added incrementally so that typically we need to ingest added directories only. If not specified, set the same as basePath.
partitionColumns are optional, and if not specified, automatically scan all x=y patterns for the given input file paths.

As a high level comment, I wonder if can we use the FSSpideringIterator to walk through the directory structure and pick up all relevant files?
If we did this, I think we can clean up the API and instead include a list of files/columns to not include as part of indexing, and call this a RecursiveStaticPathSpec
thoughts?

@fjy It's good idea to use FSspideringIterator and it much simplified the code.
I also reflect all the comments. Thank you.

@himanshug can u help review?

@himanshug New InputFormat should wrap any InputFormats to support various split types like ORC, parquet, or plain text with various delimiters and I thought it is too much. Any advice or suggestion plz.
I followed the comments from @fjy and move PartitionPathSpec specific code to that class as possible.

@sirpkt isn't it possible to have an InputFormat that handles partitioned path stuff and delegates rest to another configured InputFormat which would be things like ORC, parquet or text input format etc ?

@sirpkt can we finish this up?

ping @sirpkt

@himanshug I have difficulty in making new InputFormat as you suggest.
For the case that the output of record reader is Map of column to value,
it is easily implemented by just adding several partitioned path related entries to the result of the record reader of delegating InputFormat.
However, if the output is just line of string which will be parsed later,
it is very difficult to add additional information to that output.
For example, if delimiter-separated text file is source,
new InputFormat should append new columns from partitioned path with the same delimiter used in the file.
However, delimiter information is not available to the InputFormat and will be given to the parser on later processing of the data.
And, some InputFormat uses custom output record format.
For example, OrcInputFormat use OrcStruct.
I think that means new InputFormat should handle each delegating InputFormat differently.

@sirpkt I was imagining something like below, that uses configured parser first to convert blob returned from delegate into an InputRow and then wraps that to have additional dimensions. something like below...
public class PartitionedDataInputFormat extends InputFormat<NullWritable, InputRow>
{
  //create instance of this using reflection,
  // name would be set by PartitionedPathSpec into hadoop configuration
  private InputFormat delegate;

  @Override
  public RecordReader<NullWritable, InputRow> createRecordReader(
      InputSplit split,
      TaskAttemptContext context
  ) throws IOException, InterruptedException
  {
    return new PartitionedDataRecordReader(
        delegate.createRecordReader(split, context),
        HadoopDruidIndexerConfig.fromConfiguration(context.getConfiguration()).getParser()
    );
  }
}

public class PartitionedDataRecordReader extends RecordReader<NullWritable, InputRow>
{

  private RecordReader delegate;
  private InputRowParser parser;

  public PartitionedDataRecordReader(RecordReader delegate, InputRowParser parser)
  {
    this.delegate = delegate;
    this.parser = parser;
  }

  @Override
  public boolean nextKeyValue() throws IOException, InterruptedException
  {
    return delegate.nextKeyValue();
  }

  @Override
  public InputRow getCurrentValue() throws IOException, InterruptedException
  {
    final InputRow original = parser.parse(delegate.getCurrentValue());
    //wrap original row with another that has additional dimensions
    return new InputRow() {
      //wraps original
    };
  }
}

Bumping to 0.10.1 as 0.10.0 release is imminent. @sirpkt, @himanshug, are you still interested in continuing the discussion around this patch?


Integrate some remote modules into ITK proper

Some remote modules have been in use for a long time, and should be integrated into the main repository (i.e. https://github.com/InsightSoftwareConsortium/ITK/). Some examples are https://github.com/InsightSoftwareConsortium/ITKSplitComponents/issues/50 and https://github.com/InsightSoftwareConsortium/ITKFastBilateral/issues/2.
I think there are more, and we should review the complete list. Better candidates are the remote modules with just one or two filters.
Then there are some rarely used/unused ones, such as https://github.com/KitwareMedical/MultipleImageIterator. I think we should deprecate that one, and schedule it for removal in ITK6. Are there any more?

It would be appreciated if there are any volunteers for helping with this.

Slicer now uses MGHIO directly as an ITK remote module.  Maintenance is done as an ITK remote module.  I would think that adding it directly to the main repo would simplify the efforts of maintaining the codebase.

OK. It also doesn't have a lot of files, so it should be simple from that point of view.
I guess we could/should use a merge style which preserves file history for all the remotes we decide to merge.

I would offer to help merge ITKLabelErodeDilate into ITK proper (if you agree it is a good candidate).

@dyollb maybe wait until we integrate one or two remotes in order to see how to do it.

Now is a good time to make these larger modifications.

Integrating remote modules which we intend to keep alive will simplify maintenance. There will be just one place to make sweeping changes, and it will be easier to check the scope of change/refactoring under consideration.


JAVA Array Tutorial - Numbers

Probably added a lot more detail than needed, but here's a solution
package arrays;
public class Arrays
{
public static void main(String[] args)
    {
    // TODO code application logic here
    // create the array
    int[] numbers = {1,2,3};
    // setting length to spot 2 as array counter starts at 0.  [0]=1, [1]=2,
    // and [2] = 3
    int length = numbers[2];
    // Declare variable chars of type char
    // at this point length should = 3 and chars will have 4 spots
    char[] chars = new char[length];
    System.out.println(numbers.length);
    // original line: chars[numbers.length+4='y'
    // this will fail due to the array length on being set to 3 and
    // adding 4 will send the array out of bounds.
    chars[numbers.length-1] ='y';
    System.out.println(chars[numbers.length-1]);
    System.out.println("Done!");
    }

}
OUTPUT:
run:
3
y
Done!
BUILD SUCCESSFUL (total time: 0 seconds)

chars[numbers.length-1] ='y';
I don't know this case,Sir. why get equal Y ? char array starts 'a';


Clean up and PR Redox support changes

There are numerous changes made in the Redox OS fork of uutils/coreutils to better support Redox OS that need to be merged upstream
https://github.com/uutils/coreutils/compare/master...redox-os:master

I can take a look at it


[Feature Request] Support JSON Numbers

One of the major motivations for lexical-core's recent developments has been support for parsing floats of different formats, most notably JSON numbers.
A few notable differences exist in comparison to Rust floats, or those in other languages. For example, with rust literals and rust strings. Providing a function of the signature fn parse_tokenized(integral: &[u8], fractional: &[u8], exponent: i32, negative: bool); would therefore allow users to validate their own float formats, while then letting fast-float-rust do the majority of the heavy lifting. It would also not accept special floats.
This should require minimal changes in the parsing implementation, while making the library much more suitable for general-purpose applications.
"NaN"       // valid
"nan"       // invalid
"1.23"      // valid
"1.23e"     // invalid
"1."                // invalid
".1"        // invalid
"1.23e5"    // valid
"+1.23e5"   // invalid
"-1.23e5"   // valid

This can extend to various markup languages, like TOML, YAML (which has the same rules as JSON), XML, and others.

Is -1.23e5 ever invalid?

@lemire Not to my knowledge, and I've tried at least 50 programming and markup languages, from FORTRAN77 to COBOL, to MongoDB floats, to PHP.
It it was, providing negative would still be fine, just up to the caller to ensure that negative is always false, since they are responsible for parsing the sign bit.

@Alexhuszagh This makes sense, agreed. However: if we're planning to try and integrate this crate into core/std (in which case this crate would become redundant), what would happen to extra functionality like this?
Just thinking - ideally, this kind of stuff should be provided in std as well? (e.g., "f64::from_parts(...)").

@aldanor It would be removed, unless we have an RFC to add it. I can proposed a pre-RFC for this, however, on Rust-internals now.
I'm also doing the commits for this right now (it's very rudimentary, but it separates the functionality. The other advantage this has is it would provide easy integration into serde-json, which currently uses a fork of my library, lexical. Everyone wins.

I've added a pre-RFC for this on Rust internals.


Work around problem generated by upgrading Spark

Upgrading Spark past v2.7.0 has failed when we tried to run the server
using a workaround posted on the Spark repo. See lab 2 for more..
This does fix the problem, but at the expense of having to turn off
our use of the debugging tools.

Archiving this repo.


what is the multigrid strategy for det?

The strategy 'multigrid' is shown on https://github.com/soeaver/caffe-model/tree/master/det
Can you explain how to perform multigrid  strategy on detection?

OK I found the paper- -


item.label not present for Range under CurrentRefinement

My Range component is the same that the component provided in the documentation..
I suppose that we missed associate label field 😄
live demo at https://windtoday.co

Hi @Kikobeats,
That's because the label is directly the string "25 <= price <=282" and for the Range, there's no child to display contrary to the Refinement List.
If this structure is not what you want, you can use the connectCurrentRefinements connector to define your own. By using the connector, you will have access to the prop items that have a structure like:
[{
    "attributeName": "category",
    "label": "category: ",
    "currentRefinement": ["Sails"],
    "items": [{
        "label": "Sails"
    }]
}, {
    "label": "4.99 <= price <= 699",
    "currentRefinement": {
        "min": 4.99,
        "max": 699
    },
    "attributeName": "price"
}]

Could be possible modify Range implementation to works as expected? looks a little tricky

In the coded that you paste, category match with attributeName and also is present in the Range and not associated with the label so I suppose that something is wrong.
Also I checked  CurrentRefinements#transformItems beacuse maybe I can use this method for make a workaround but currently is not being used in the implementation. Do you think that is a bug?
I saw that because also I want to avoid this case:

boom.type → "Boom Type"

I'm not sure to follow you entirely on your first point.
transformItems is used by the connector. Our widgets are using under the hood our connectors.
If you're using the props and modify the list of items, then the modification should be taken into account. Did you try it?

Oh sorry, I did something wrong but now CurrentRefinements#transformItems works as expected, I did this workaround:
function isRange (item) {
  return item.currentRefinement.max && item.currentRefinement.min
}

function transform (item) {
  return {
    label: `${item.attributeName}: `,
    items: [{'label': item.label}]
  }
}

function transformItems (items) {
  return items.map(function (item) {
    if (isRange(item)) item = transform(item)
    return item
  })
}

My point is, could be possible encapsulate this inside Range component? Just the thing that I'm doing ins transforming the item from Range into the item expected by CurrentRefinements to be rendered as I expected.
I don't know if I can define something inside Range component for avoid that

React InstantSearch has been moved here: https://github.com/algolia/react-instantsearch
This issue has either been rewritten or placed inside our backlog.


[BUG] q9 regression between 21.10 and 21.12

We had a baseline of 25s for q9 in 21.10, but we have lost around 1.5 or 2 seconds in 21.12 when running in the spark2a environment.
This is to investigate the differences and figure out if we need to raise an issue in cuDF, the plugin or if there's an environmental issue.
"queryTimes" : [ 26977 ],
"queryTimes" : [ 27164 ],
"queryTimes" : [ 27016 ],
"queryTimes" : [ 26903 ],
"queryTimes" : [ 26542 ],

Note that we have identified other issues with q9 that could yield significant performance improvements: https://github.com/NVIDIA/spark-rapids/issues/4189, https://github.com/NVIDIA/spark-rapids/issues/4186, https://github.com/NVIDIA/spark-rapids/issues/4164.
The issue here is somewhat separate from the other issues, but there may be some parallels.

I believe the difference here may be due to enabling nvcomp compression/decompression by default in CUDF.  In branch-22.02, I got times similar to 21.10 when I disabled nvcomp:
spark.executorEnv.LIBCUDF_NVCOMP_POLICY=OFF

Results:
q9-22.02-nonvcomp/tpcds-testjtb_no_nvcomp-gpu-aqe-on-ucx-off-16-cores-decimals-false-q9-1638656812726.json:  "queryTimes" : [ 24593 ],
q9-22.02-nonvcomp/tpcds-testjtb_no_nvcomp-gpu-aqe-on-ucx-off-16-cores-decimals-false-q9-1638656886471.json:  "queryTimes" : [ 25379 ],
q9-22.02-nonvcomp/tpcds-testjtb_no_nvcomp-gpu-aqe-on-ucx-off-16-cores-decimals-false-q9-1638657043868.json:  "queryTimes" : [ 25976 ],

When I run branch-22.02 with default setting (LIBCUDF_NVCOMP_POLICY=STABLE).
I get:
q9-22.02/tpcds-testjtb-gpu-aqe-on-ucx-off-16-cores-decimals-false-q9-1638658371600.json:  "queryTimes" : [ 27203 ],
q9-22.02/tpcds-testjtb-gpu-aqe-on-ucx-off-16-cores-decimals-false-q9-1638658437224.json:  "queryTimes" : [ 27284 ],
q9-22.02/tpcds-testjtb-gpu-aqe-on-ucx-off-16-cores-decimals-false-q9-1638658657588.json:  "queryTimes" : [ 27032 ],

This is the PR for enabling nvcomp in cudf: https://github.com/rapidsai/cudf/pull/9582

Same comment as I had for q88: https://github.com/NVIDIA/spark-rapids/issues/4280

As noted in #4280, the change to nvcomp as the default snappy compressor is in branch-21.12.

I think the difference reported here is explained by the change to make nvcomp the default snappy compressor in branch-21.12.   The nvcomp team is investigating that issue separately.  I think we can close this issue - any objections @abellina or @jlowe?

I think we can close this issue

No objection from me.

+1 closing this.


Add postcss-plugin to keywords

https://github.com/RocketCommunicationsInc/postcss-custom-property-token-fallback/blob/2c24e4d802a3816222086a3da26fd89d8f6a6650/package.json#L15
We maintain a generated list of postcss plugins but this package won't be included unless the postcss-plugin keyword is added in package.json :
https://csstools.github.io/postcss-plugins-directory/

Fixed - thank you!


Unable to use in Linux environment

I am not able to use the jar in linux environment. Getting following error:
java.lang.UnsatisfiedLinkError: /tmp/crfsuite-0.12-libcrfsuite.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/crfsuite-0.12-libcrfsuite.so)
Can you please provide me the steps to compile the native library again for my linux environment?

Hi pushpit,
You can download the linux build from https://dl.dropboxusercontent.com/u/11628772/crfsuite-linux-build.tar.gz
After decompressing, you can run the script build.sh to generate libcrfsuite.so. Then replace the old one in src/main/resources/crfsuite-0.12/Linux/ with it.

@pushpit Hi again pushpit, have you successfully compiled the native library?

I assume that the issue was resolved. Feel free to reopen it.

@vinhkhuc : I am facing the same issue while running on Linux. Unfortunately, your Dropbox link does not work anymore. Any solutions?


Implement inputFunctionName feature for correctnessTest, buggyTest and performanceTest

We are creating the question of  "find closest value in binary search tree", and we need to use the inputFunctionName feature to transform string to BST, and it hasn't been implemented. So we are working on it.

we found that performanceTest does not take inputFunctionName parameter in data schema, so we will not  change this one.

Fixed in #185. Thanks @eprym and @Eumenides2009 !


No DesignTimeAgent found for project python-docs-samples-*

We're hitting quota exceeded errors in samples testing. For example see build log here which has the following error.
429 Quota exceeded for quota metric 'Dialogflow Trial Edition text query operations' and limit 'Dialogflow Trial Edition text query operations per minute' of service 'dialogflow.googleapis.com'

I've opened PR https://github.com/googleapis/python-dialogflow/pull/438 to switch the samples testing to use multiple projects however, I'm getting an the following error with samples test test_detect_intent_texts_with_location:
>           raise _InactiveRpcError(state)
E           grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E           	status = StatusCode.NOT_FOUND
E           	details = "com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project 'python-docs-samples-tests-py36'."
 It's just this one test that is failing. See build log here.

the No DesignTimeAgent found for project 'python-docs-samples-test means that there is not agent for that project, so it either is getting deleted somewhere or not created

This is resolved now. Thanks for solving this @galz10 !
The fix was to make an additional agent in EU-West since you can have agents in different locations.


v1.6.0-rc.0: Increased block process time

Describe the bug
This is from the beta mainnet running v1.6.0, Gossip Block Process time has been increased

Expected behavior
Gossip Block Process time should be the same to stable group (v1.4.2)

Same metric in stable mainnet node

this is mainly due to the notifyNewPayload engine api call

in the stable mainnet node

CPU time in v1.6.0 increased a lot

GC Pause Time Rate tends keeps increasing

Execution engine notifyNewPayload body streaming time is high too

on beta 1k node, submitPoolAttestations increased significantly

@tuyennhv can you take a CPU profile to check's what taking cpu time?

0309_v1.6.0_rc.0_goerli_lg1k.cpuprofile.zip
@dapplion  I'ts just like each api takes more cpu time since we process more gossip messages

validateGossipAttestation takes 8% cpu time
adding attestation to pool takes 8% of cpu time (mainly aggregateAttestationInto)
executeWork takes 5% cpu time

This is on goerli, could be worse on mainnet. I think we can reduce the attestation preaggregation time, we should only preaggregate attestations in the clock slot, also there are some late attestations coming to the pool as I see on mainnet

There is I/O lag issue
at validator side
Mar-27 06:29:40.504[]                debug: HttpClient request routeId=submitPoolAttestations
Mar-27 06:29:45.932[]                debug: HttpClient response routeId=submitPoolAttestations

at beacon-node side
Mar-27 06:29:45.383[rest]            debug: Req req-3e4z <IP_ADDRESS> submitPoolAttestations
Mar-27 06:29:45.956[rest]            debug: Res req-3e4z submitPoolAttestations - 200

was able to catch 700ms lag
vc log
Mar-27 06:35:37.746[]                debug: HttpClient request routeId=submitPoolAttestations
Mar-27 06:35:39.801[]                debug: HttpClient response routeId=submitPoolAttestations

bn log:
Mar-27 06:35:38.438[rest]            debug: Req req-3eb2 <IP_ADDRESS> submitPoolAttestations
Mar-27 06:35:39.812[rest]            debug: Res req-3eb2 submitPoolAttestations - 200

it shows too many validateGossipAttestations in the middle, once it's validated onValidationResult was called synchronously

we can check the time between produceAttestationData and submitPoolAttestations in the attached 7s profile
0327_feat1_lg1k_gossip_queues.cpuprofile.zip
there are also chacha20poly1305 calls which take time but I've checked that network load is just the same to stable group.

This profile from mainnet node shows it takes almost 12% cpu for validateGossipAttestation()

Inside validateGossipAttestation(), it takes 5.8% for computeSiningRoot() and 3.9% for validateHeadBlockAndTargetRoot()

0330_new_gossipsub_mainnet_subscribeAllSubnets.cpuprofile.zip

as tested on mainnet, there are at least 80% of gossip attestations from same clock slot, we can implement some cache to improve validateGossipAttestation() to avoid the above functions running over and over for same data


Remove button for each file

Currently there is no remove button for each file,
If i select 3 files all 3 files are bundled with single cross arrow which should not be the case.

When you select multiple files they cannot be removed individually.

are you sure it can not be removed ?

The file input is read only. If you select several files at once (as a
group) they can only be removed together, as one. The array can not be
changed. Absolutely sure (according to current documentation).
On Tue, 24 Mar 2015 17:35 Utkarsh Patel<EMAIL_ADDRESS>wrote:

are you sure it can not be removed ?
--
Reply to this email directly or view it on GitHub
https://github.com/fyneworks/multifile/issues/17#issuecomment-85611775.

Okay Thank you!


[SPARK-21194][SQL][WIP] Fail the putNullmethod when containsNull=false.

What changes were proposed in this pull request?
Currently there's no check for putting null into a ArrayType(IntegerType, false) ;
It's better to fail the putNull method in OffHeapColumnVector and OnHeapColumnVector when containsNull=false.
How was this patch tested?
Added unit test.

Test build #78529 has started for PR 18405 at commit c5b031f.

Test build #78529 has finished for PR 18405 at commit c5b031f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78529/
Test PASSed.

Merged build finished. Test PASSed.

cc @kiszk

Test build #78590 has started for PR 18405 at commit 255c50a.

Test build #78590 has finished for PR 18405 at commit 255c50a.

This patch fails due to an unknown error code, -10.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78590/
Test FAILed.

Test build #78593 has started for PR 18405 at commit 255c50a.

Test build #78593 has finished for PR 18405 at commit 255c50a.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78593/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, retest this please.

Test build #78604 has started for PR 18405 at commit 255c50a.

Test build #78604 has finished for PR 18405 at commit 255c50a.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78604/
Test FAILed.

Jenkins, retest this please.

Test build #78632 has started for PR 18405 at commit 255c50a.

Test build #78632 has finished for PR 18405 at commit 255c50a.

This patch fails due to an unknown error code, -10.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78632/
Test FAILed.

LGTM
@cloud-fan could you please review this?

@kiszk
Thanks a lot for taking time review this.
I've no idea why test failed :(

Jenkins, retest this please.

Test build #78673 has started for PR 18405 at commit 255c50a.

Test build #78673 has finished for PR 18405 at commit 255c50a.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78673/
Test FAILed.

The test is complaining below, which I think is irrelevant.
Fetching package metadata: ..SSL verification error: hostname 'conda.binstar.org' doesn't match either of 'anaconda.com', 'anacondacloud.com', 'anacondacloud.org', 'binstar.org', 'wakari.io'
.SSL verification error: hostname 'conda.binstar.org' doesn't match either of 'anaconda.com', 'anacondacloud.com', 'anacondacloud.org', 'binstar.org', 'wakari.io'
...
Solving package specifications: .
Error:  Package missing in current linux-64 channels:

pyarrow 0.4|0.4.0*

You can search for this package on anaconda.org with
anaconda search -t conda pyarrow 0.4|0.4.0*

You may need to install the anaconda-client command line client with
conda install anaconda-client

Cleaning up temporary directory - /tmp/tmp.MqyoDpuoee
[error] running /home/jenkins/workspace/SparkPullRequestBuilder/dev/run-pip-tests ; received return code 1
Attempting to post to Github...

Jenkins, retest this please.

Test build #78784 has started for PR 18405 at commit 255c50a.

Test build #78784 has finished for PR 18405 at commit 255c50a.

This patch fails due to an unknown error code, -10.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78784/
Test FAILed.

@HyukjinKwon
I'm not sure what's going on with the test. I think the failure is irrelevant with this PR.
Would you mind help on this?

This one also should not be related with it given my observations.

Thanks for taking time help this. Maybe I should retry this :)

Jenkins, retest this please.

Test build #78796 has started for PR 18405 at commit 255c50a.

Test build #78796 has finished for PR 18405 at commit 255c50a.

This patch fails due to an unknown error code, -10.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78796/
Test FAILed.

Some test cases have been flaky, let's wait and retry tomorrow.

Thanks a lot for quick reply. I hope good luck tomorrow :)

Test build #78846 has started for PR 18405 at commit 0e9316b.

Test build #78846 has finished for PR 18405 at commit 0e9316b.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78846/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, retest this please.

Test build #78850 has started for PR 18405 at commit 0e9316b.

Test build #78850 has finished for PR 18405 at commit 0e9316b.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78850/
Test FAILed.

Test build #78852 has started for PR 18405 at commit c998374.

Test build #78852 has finished for PR 18405 at commit c998374.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78852/
Test FAILed.

Test build #78864 has started for PR 18405 at commit 0163e04.

Test build #78864 has finished for PR 18405 at commit 0163e04.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78864/
Test FAILed.

Jenkins, retest this please.

Test build #78883 has started for PR 18405 at commit 0163e04.

Test build #78883 has finished for PR 18405 at commit 0163e04.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78883/
Test PASSed.

Test build #79379 has started for PR 18405 at commit 1752a1a.

Test build #79379 has finished for PR 18405 at commit 1752a1a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79379/
Test PASSed.

@cloud-fan
More comments on this : ) ?
If this is too trivial, should I close ?

Test build #79494 has started for PR 18405 at commit 32bc6fd.

Test build #79494 has finished for PR 18405 at commit 32bc6fd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79494/
Test PASSed.

Spark SQL doesn't have a data validation framework net, and I'm not sure if it's a good idea to randomly add validations hear and there. Can we hold it back until we have a clear plan about data validation? Thanks!

Sure, I will close this pr for now :)


River banks referenced from downstream facing perspective gramophone references

We use the bank based on the direction the river flows (ie. facing downstream) - says yard is on right bank but it is the "left" bank
memo also mentions "embankment" which is a word I doubt anyone knows what it means.
irvine 2018 ranked it as a high priority for follow up because it was prioritized by Gollner 2013. Gollner prioritized it due to high habitat value.

If there is a significant outlet drop and notable damage/erosion of the culvert we should mention that in the Stream Characteristics at Crossing section

love that the old growth forest detail was included and we can spell out what "mixed" means for the reader

good to mention the location near witset in the conclusion as well as
non-paved road with a crossing location that can be accessed from either side, the costs of the work are low when compared to paved road and highway options

stream should be surveyed to the mouth to determine why there weren't any coho observed.  It says steelhead salmon in the report but steelhead are not salmon.


Loss of template tags

I was trying this project out, and this error jumped out:
Template error
In template gallery\templates\content\gallery\p.classic.html, error at line 1
'feinheit_base' is not a valid tag library: Template library feinheit_base not found, tried django.templatetags.feinheit_base,django.contrib.comments.templatetags.feinheit_base,django.contrib.admin.templatetags.feinheit_base,feincms.templatetags.feinheit_base,feincms.module.page.templatetags.feinheit_base,mptt.templatetags.feinheit_base
1 	{% load feincms_thumbnail feinheit_base i18n %}

Hi bonobow,
I don't think this template tag library is used at all. Maybe you could try removing feinheit_base from the load invocation and try again? (Maybe submit a patch if it works?)
Thanks!

Hi Matthias,
Thanks for the quick response.
In fact, I have tried to remove the 'feinheit_base' tag when the error happened, and it turned into another error:
Template errorIn template gallery\templates\content\gallery\p.classic.html, error at line 17
Invalid block tag: 'context_menu'
17 <div class="gallery-content" {% context_menu content.gallery %}>
So I guess that's beacause of the loss of some template tags, any idea?
Thanks,
Best Regards

Date: Tue, 11 Oct 2011 23:59:44 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: Re: [feincms_gallery] Loss of template tags (#1)
Hi bonobow,
I don't think this template tag library is used at all. Maybe you could try removing feinheit_base from the load invocation and try again? (Maybe submit a patch if it works?)
Thanks!
--
Reply to this email directly or view it on GitHub:
https://github.com/feinheit/feincms_gallery/issues/1#issuecomment-2376383

Yes, the context_menu is a tag that we use internally for our projects. It's in feinheit_base. Just remove the tag. I'll commit an update without the tag.

I now removed all references to our custom module.
Feinheit devs use the feinheit branch. It's still in there.

Wow, it works now.
This project is very helpful, it's great.
Thanks!


feat: upstream ToLevel from mathlib

This PR upstreams the ToLevel typeclass from mathlib and uses it to fix the existing ToExpr instances so that they are truly universe polymorphic (previously it generated malformed expressions when the universe level was nonzero). We improve on the mathlib definition of ToLevel to ensure the class always lives in Type, irrespective of the universe parameter.
This implements part one of the plan to upstream a derive handler for ToExpr, as discussed in #5906 and #5909.

awaiting-review @kmill

CI seems to be unhappy about a bunch of files that should use prelude; I didn't touch any of those files in this PR, though, so I assume that's safe to ignore?

Would you mind merging/rebasing the master branch? I think there could be differences in the CI scripts causing an issue.

(Thanks @tobiasgrosser, merging master worked!)
I just put this on the merge queue. Looking forward to the next PR @alexkeizer.

@alexkeizer, @kmill, it would have been good to get a test against Mathlib before we merged this. There were some changes required in Mathlib to adapt.

Sorry for that! What's the proper workflow for testing things against Mathlib? Should I base the next PR off of nightly-with-mathlib as per the bot's comment?

Sorry for that! What's the proper workflow for testing things against Mathlib? Should I base the next PR off of nightly-with-mathlib as per the bot's comment?

Yes, that's it!


podman: 3.4.2 -> 3.4.3

https://github.com/containers/podman/releases/tag/v3.4.3

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

CVE-2021-4024, CVE-2021-41190


Reboot every 10 minutes

Expected behavior
The weather station runs without a reboot
Actual behavior
After roundabout 10 mins, the software reboots and starts again. Seems to be the case when the weather forecast is updated.
Test code
n.a.
Weather Station Color version
master
Hardware
NodeMCU Lolin V3 Module ESP8266 ESP-12F , ILI9413 2.8"
SerialMonitor.txt

Seemed to be a problem from my translation of English words in Germans.


pinot plugin loader

This PR must be merged after #13845 and it assumes that #13849 uses the same structure of the zipfile.

Superseded by https://github.com/apache/pinot/pull/13930


symbol error while running "pyq -m notebook "

I am installed pyq 4.1.2 succesfully on redhat 2.7. When I run pyq from the shell, everything works fine.
(env_py36) [a393831@lrtp9101 ~]$ pyq
Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 13 2017, 12:05:00)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import pyq
print(pyq.version)
4.1.2

But when I launched the notebook with "pyq -m notebook ", and tried to the above code from notebook. I received the following error (also see the attached screen shot)

ImportError                               Traceback (most recent call last)
/apps/anaconda3/envs/env_py36/lib/python3.6/site-packages/pyq/init.py in ()
21 try:
---> 22     from ._k import K as _K, error as kerr, Q_VERSION, Q_DATE, Q_OS
23 except ImportError:
ImportError: /apps/anaconda3/envs/env_py36/lib/python3.6/site-packages/pyq/_k.cpython-36m-x86_64-linux-gnu.so: undefined symbol: sd1
During handling of the above exception, another exception occurred:
ImportError                               Traceback (most recent call last)
 in ()
----> 1 import pyq
2 print(tf.version)
3 print(pyq.version)
/apps/anaconda3/envs/env_py36/lib/python3.6/site-packages/pyq/init.py in ()
29         else:
30             message += "Use pyq executable."
---> 31         raise ImportError(message)
32     raise
33
ImportError: Importing pyq from stock python is not supported. Use pyq executable.

In order to use pyq in a Jupyter notebook, you need to install pyq-kernel.  See https://pypi.python.org/pypi/pyq-kernel/1.0.
pip install pyq-kernel
pyq -m pyq.kernel install

Alternatively, if you don't need to interact with the kernel via kdb+ IPC, you can simply locate your main kernel.json file (e.g. using the jupyter kernelspec list command) end replace "python" with "pyq" in the "argv" list.

unfortunately, installing pyq-kernel does not help. This issue seems have something to do with anaconda 5.0. I downgraded it to anaconda 4.4 (with python 3.6.3, pyq 4.1.2) and it started working.

How do you get Anaconda 5.0?  I am looking at our recent Travis build https://travis-ci.org/KxSystems/pyq/jobs/305481268 and we seem to pick up conda-4.3.30.

@abalkin anaconda distribution is 5.0.1, but conda package is... different.
@alexzhang2010 when you were using anaconda 5 based virtualenv, after you installed the pyq-kernel, did you change kernel from Python 3.6 to PyQ 3 kernel? Error message you were getting means, that most likely Python 3.6 kernel was used.

https://www.anaconda.com/download/
The latest build is 5.0.1 released on 10/25
From: Alexander Belopolsky<EMAIL_ADDRESS>Sent: Monday, November 27, 2017 8:56 PM
To: KxSystems/pyq
Cc: Zhang, Ray; Author
Subject: Re: [KxSystems/pyq] symbol error while running "pyq -m notebook " (#36)
How do you get Anaconda 5.0? I am looking at our recent Travis build https://travis-ci.org/KxSystems/pyq/jobs/305481268 and we seem to pick up conda-4.3.30.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/KxSystems/pyq/issues/36#issuecomment-347388501, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADp9u7dG782MB1Wz0sr9NfxX3Wgw7aLHks5s62gogaJpZM4QsWCI.

When I was using anaconda 4.4, I don’t have to install pyq-kernel. I just used python 3.6 kernel and import pyq works fine.
After I upgraded to anaconda 5.0.1, I got the same symbol error both with PyQ 3 kernel and with Python 3 kernel.
From: Aleks Bunin<EMAIL_ADDRESS>Sent: Monday, November 27, 2017 9:07 PM
To: KxSystems/pyq
Cc: Zhang, Ray; Mention
Subject: Re: [KxSystems/pyq] symbol error while running "pyq -m notebook " (#36)
@abalkinhttps://github.com/abalkin anaconda distribution is 5.0.1, but conda package is... different.
@alexzhang2010https://github.com/alexzhang2010 when you were using anaconda 5 based virtualenv, after you installed the pyq-kernel, did you change kernel from Python 3.6 to PyQ 3 kernel? Error message you were getting means, that most likely Python 3.6 kernel was used.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/KxSystems/pyq/issues/36#issuecomment-347390318, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADp9u_BTOiNmPxxBbAdNYyJz6NiXihFOks5s62q7gaJpZM4QsWCI.

@alexzhang2010 error you're getting is expected and is not a problem. In order to use IPython Notebooks with PyQ, you need to install ipython-kernel as suggested above by @abalkin, and use PyQ kernel for your notebook. While there you will have access to %q single line magic and %%q multiline magic.

With anaconda 5.0.1, I installed pyq-kernel and used the pyq3 kernel, I ran into the same error.
Why it works with anaconda 4.4 even without installing pyq-kernel?
From: Aleks Bunin<EMAIL_ADDRESS>Sent: Monday, November 27, 2017 10:34 PM
To: KxSystems/pyq
Cc: Zhang, Ray; Mention
Subject: Re: [KxSystems/pyq] symbol error while running "pyq -m notebook " (#36)
@alexzhang2010https://github.com/alexzhang2010 error you're getting is expected and is not a problem. In order to use IPython Notebooks with PyQ, you need to install ipython-kernelhttps://pypi.python.org/pypi/pyq-kernel as suggestedhttps://github.com/KxSystems/pyq/issues/36#issuecomment-347343938 above by @abalkinhttps://github.com/abalkin, and use PyQ kernel for your notebook. While there you will have access to %q single line magic and %%q multiline magic.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/KxSystems/pyq/issues/36#issuecomment-347403562, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADp9u_WT6LhyReSKpHGrw36ueoLZ5W_hks5s639FgaJpZM4QsWCI.


Bump version for VSCode extension 0.8.2 release

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/3780/azure-dev-0.8.2.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file


Versioning of property changes

Are property level changes allowed with respect to ensuring backwards and forwards compatibility? There are multiple types of changes that could break the backwards compatibility requirement, for example:

changing the maxLength on a string attribute, by increasing from 250 to 300 could break an application on an older version of the schema expecting a maxLength of 250 and receiving 300 from an application running on a newer schema that accepts a maxLength of 300{
    "name": "address1_line1",
    "dataType": "String",
    "displayName": "Address 1: Street 1",
    "description": "Type the first line of the primary address.",
    "semanticDomain": {
        "semanticType": "Location.Address.Street",
        "maxLength": 250,
        "inherited": true
    }
}

adding a new value to a constrainedList could break an old application/schema not expecting an new schema with an additional value of 5/Secondary{
    "name": "address1_addresstypecode",
    "dataType": "String",
    "displayName": "Address 1: Address Type",
    "description": "Select the primary address type.",
    "semanticDomain": {
        "semanticType": "Measurement.OptionCode",
        "inherited": true,
        "constrainedList": {
            "name": "account_address1_addresstypecode",
            "displayName": "Address 1: Address Type",
            "description": "Type of address for address 1, such as billing, shipping, or primary address.",
            "items": [
                {
                    "value": 1,
                    "displayName": "Bill To"
                },
                {
                    "value": 2,
                    "displayName": "Ship To"
                },
                {
                    "value": 3,
                    "displayName": "Primary"
                },
                {
                    "value": 4,
                    "displayName": "Other"
                }
            ]
        }
    }
}

You're right. The types of changes you mention could cause back compat issues.
Any change has a non-zero probability of breaking something that depends on the condition that changed, but some changes have a higher probability than others. We'll try to balance requirements to support enhanced functionality and stability with the goal of minimizing breaking changes.
Let's take the example of increasing an attribute's maxLength property. We may have a data loss condition during ingestion from an external source that truncates contents because the string length on the source system was longer, or even worse, that causes a failure in the ingestion process that suppresses the entire row. If we believe increasing the size is well-justified because many customers would be likely to experience similar failures, then we will make the change at the expense of a relatively lower probability of breaking existing applications.
All publishers need to minimize the negative impact of changes to existing specs. We give some examples of changes that aren't allowed because the probability of back compat problems is predictably high (such as changing an attribute property to mandatory from optional), but this cannot preclude all changes.

Rules for how applications should behave when receiving inputs that fall outside their known schema would help with the compatibility goal. For example, that a receiving application should truncate values that exceed the maxLength, and ignore values outside the allowed range or schema definition. Is this within the realm the CDM specification effort?

Prescriptive guidance for application behavior is outside of the scope of the CDM schema specification.

Who will provide this prescriptive guidance? This is fundamental to satisfying backwards and forwards compatibility. Model-driven apps and systems built upon CDM will need an agreed upon set of conventions/behavior in how to handle data input and exchange. I'm sure PowerApps/Dynamics 365 and other common data service implementations inside Microsoft will follow the same conventions, but how will other implementations know what rules to follow to be compatible?

The standard schema published here is a first but significant step toward supporting interoperability across systems, provided those systems represent their data in a way that conforms to the archetypal schema. It does not and cannot guarantee interoperability, and it will change over time in response to legitimate needs.
The "last mile" of application compatibility and interoperability is the responsibility of the applications themselves, as implemented by their respective developers. This includes low-level considerations such as string field lengths, internal representations of dates and date/times, precision/scale of numeric data, option set/picklist domain elements, etc., and extends to structural considerations such as alternate key shapes and specialized entity schema. This responsibility also includes the change management protocols necessary to uptake new versions of schema.
We deliberately chose to base CDM on the "looser" standards characteristic of CRM or xRM schemas, rather than the more restrictive aspects typical of ERP systems. No single schema specification will comprehensively mediate the operational differences between CRM and ERP applications, for example. We're sincerely appreciative of constructive feedback that will help us do better.


Sorting network visualizer rewrite

This PR rewrites the sorting network visualizer from the ground up, in pure Java. This removes the dependency on Python, and makes visualization much faster (because Java is faster than Python).

So are we all ready to merge then?

Are we finally ready then?


In src/agent/dtls_mbedtls.cpp - issue with FD_ISSET()

To start with, I'm not a UDP socket guy - but I think I found a problem dealing with the dtls server in the border router agent, and the commissioning test app
My initial tests (with a fix) seem to be indicate I am correct, but I have not completed my testing.
Step 1: In the main loop, various 'pseudo' tasks are called to set their bits in a select(  ... fd_set ... )
This occurs here, in the commissioner test app:
https://github.com/openthread/borderrouter/blob/master/tests/meshcop/commissioner.cpp#L655
In the AGENT, it occurs here:
https://github.com/openthread/borderrouter/blob/master/src/agent/main.cpp#L68
Step 2: The main loop then calls select, either select times out, or something is readable/writable, etc.
Step 3: The main loop then calls all of the 'pseudo-tasks' - asking them to examine their SelectBits.
I think I see a problem in in the MbedtlsServer::ProcessServer() function, the code does this:
SEE: https://github.com/openthread/borderrouter/blob/master/src/agent/dtls_mbedtls.cpp#L491
snippit below
void MbedtlsServer::ProcessServer( ... )
{
     /* .. snip ... */
     otbrError   error = OTBR_ERROR_ERRNO;
     /* .. snip ... */

    // I THINK THIS IS WRONG...
    VerifyOrExit(recvmsg(mSocket, &msghdr, MSG_PEEK) > 0);

    [ snip ... process the request ...]

exit:
    // abbreviated version...
    if( error ){
           close_socket()
           reopen_socket()
     }
}

I think this is wrong because:
SHORT VERSION
Step A - During the JOINING process, the JOINER sends a RELAY request that is eventually will end up back at the Commissioner
Step B - To do that, when the RELAY request is received, it is decrypted and forwarded -
example in the commissioner test application, here:
https://github.com/openthread/borderrouter/blob/master/tests/meshcop/commissioner.cpp#L212
In the agent, it occurs here (tx & rx are next to each other):
https://github.com/openthread/borderrouter/blob/master/src/agent/border_agent.cpp#L141
Step C - KEY POINT Depending upon timing, that message may or may-not be ready on the relay socket when select is called, due to this issue, the socket is closed & reopened thus the message may or may not be lost. (without a fix, I see the message lost quite often, but it is moody sometimes it works, sometimes it fails always ... Grr...)
LONG VERSION

Initial conditions, when SELECT returns in the main loop

DTLS message is ready on Socket (A) - the secure socket.
Nothing is ready on Socket (B) - the non secure socket.

The process loop runs, we come to the dtls pseudo-process.

The FD_ISSET() == true for Socket(A) -
The message is received and decrypted
The message is then forwarded to Socket (B)

Depending upon TIMING
* Case (A) The forwarded message may be "in-transit"
* Case (B) OR - the message has arrived at the socket quickly.
* In any event, select() was not called again.
What would cause big timing differences? Why do I see this?

I think it is due to network traffic volume .. and this is only a SWAG...
In my environment, I only have my RaspBerryPi/BeagleBone + WifiRouter
* Thus, my environment is super calm from a network point of view.
In the Travis Environment, I presume the data center has LOTS of network activity to sort
Other offices and/or test environments may be just as noisy

Eventually the Process Loop gets to the mbed code (above) that I think is wrong.
* because FD_ISSET(socket B) is FALSE  - the VerifyOrExit() goes to EXIT
* At the exit: label, if an ERROR occurs - the socket is CLOSED
* See: https://github.com/openthread/borderrouter/blob/master/src/agent/dtls_mbedtls.cpp#L538
Because the socket is closed
* In case A - the forwarded message is NOT LOST because it is in transit and not yet delivered
* In case B - the waiting message is LOST
* Again - i'm not a UDP guy, but as I understand a closed socket drops all packets.
* My reference is here: Reference: https://stackoverflow.com/questions/7843644/how-long-does-a-udp-packet-stay-at-a-socket
* In case B - the message SHOULD be re transmitted after a timeout.
* In case B - maybe the 2nd time is a charm and it works... or it is a random test failure
In case A (the message is "in-transit" and not lost)
* In the working situation, the code loops around Select is called again
* Again due to timing -
* the socket is CLOSED and REOPENED
* In the successful case, I assume this occurs quickly
* ie: before the message is delivered by the kernel to the socket
* The second time around, the FD_ISSET() is true - and the socket is not closed.

FYI: @pkanek and @srickardti

Update: After quite a bit of testing (30+ join attempts) - the ONLY type of JOIN_FAIL I have found is when the JOINING_ROUTER does not receive the initial discovery request.
What I cannot do is test with the ThreadGroup Android app because that app does not function in my home network... why I don't know...  The Hurricane Electric Android App, found here:
https://play.google.com/store/apps/details?id=net.he.networktools&hl=en
Can see the Bonjour entry for the Border Router
But the Android App - cannot see the mDNS entry.
I believe this is a bug in the Android mDNS system
Further testing will occur when I am in the office, but now commissioning with the test app is extremely reliable now :+1:

@DuaneEllis-TI thanks for identifying this issue. After a DTLS session is established, the socket used for listening new DTLS requests is different from the socket bound with the existing session, so re-opening the listening socket should not affect existing sessions. However, the listening socket should not be re-open when it's not readable. Are you going to share your fix with a PR?

yes, I hope to push a PR very soon.

See: https://github.com/openthread/borderrouter/pull/90


Enhancement: Remove dependency on IPFS Blockservice

Version: 0.25.3
Platform: All
Subsystem:

Type: Enhancement
Severity: Very Low
Description: IPLD requires a Blockservice but does not define the interface for this Blockservice in the specs or code.  It uses the ipfs-block-service in its example usage and tests thus creating a "soft" dependency on IPFS.  This soft dependency can create confusion because ipfs-block-service provides both a block repository (which IPLD needs) and bitswap (which IPLD does not use).  IPLD understandability would be improved if it was fully self contained without any dependency on IPFS. To accomplish this, the API interface should be defined in the IPLD project along with local implementations.  Since IPLD just needs a repo, it would make sense to name this interface something like ipld-block-repository to avoid confusion with the ipfs-block-service which also adds in bitswap functionality.  Examples showing how to use IPLD with ipfs-block-service can be provided, but would not be the default.
Steps to reproduce the error: N/A

Created a simple ipld-blockstore here: https://github.com/chafey/js-ipld-blockstore

@chafey have a look at https://github.com/ipld/js-block, most of the newer work we're doing on top of IPLD in JS is building on this rather than js-ipld. We're still clarifying how the entire stack should fit together but js-block is worth a look if you're wanting to properly decouple your IPLD usage from the IPFS stack.

OK - this is helpful to know!  A few questions:

Can you confirm that IPLD should not have any dependencies on IPFS?
Is the plan to deprecate js-ipld some day?
What is the current thinking on ipld and persistence (ipd.get, ipld.put, ipld.remove)?  Is defining a persistence interface still part of IPLD scope, or will that be not a concern of IPLD?
What is the current thinking on iplld path resolution (ipld.resolve)?  This currently depends on persistence (getting blocks), but could theoretically be changed to just work on deserialized objects.

Whoops, that posted a little early.
Anyway, we’ve done a few side experiments on what higher order applications might look like or need.  We’ll see where it goes and what I feel has to be added to that interface over time.

What is the current thinking on iplld path resolution (ipld.resolve)? This currently depends on persistence (getting blocks), but could theoretically be changed to just work on deserialized objects.

The new stuff doesn’t really have this beyond the single block level. There’s a resolve() method in the new codec interface https://github.com/ipld/js-codec-interface but it only resolves within the block. We designed it this way because we expect to see codecs in the future that can do fast seeks into the block data and we wanted to make sure that our interfaces were able to leverage those features.
For multi-block lookups, we’re investing heavily in selectors. We’re actively working on those specs and you should see more selector engines implemented in the coming months. The selector engine we have for Go is already in heavy/active use as it’s what graphsync uses, and that’s the primary replication protocol for Filecoin.

Regarding "current thinking on ipld.resolve":
For what it's worth, in the new generation of golang libraries, this is done with the traversal package (docs: https://godoc.org/github.com/ipld/go-ipld-prime/traversal ).
The Node interfaces -- the most core thing that everything revolves around -- have Lookup and LookupIndex functions on them which do single steps of resolution... but anything that crosses more than one Node at a time goes through the traversal package, which just calls these.
The new generation of golang libraries don't really have a 'Block' interface at all.  The closest thing is the Loader and Storer function interfaces.  These use streaming interfaces and never require bringing the whole binary blob into memory at once.  These take a couple of interesting parameters ("LinkContext") that are also meant to enable segmentation of storage on more than just the pure hash, which could be useful for making storage logic that admits some application-specific concepts (we'll see; I haven't actually used it yet, either).
If anything in the future wants to do fast seeks to mid-"block" data without fully parsing the whole thing, I'm expecting to do that by making an implementation of Node that lazily loads things.  It's a speculative feature to date, though.

Thumbs-up'd to pretty much everything else Mikeal said. :)

Thank you for answering my questions, this is very helpful! I am going to submit a PR for this repo with an update to the README that reflects it being "soft deprecated".  Closing this issue


Componentize reducers

Description:
Rebase and finish #3100

How Has This Been Tested?
Manually

Types of changes:
Refactor

Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage decreased (-0.09%) to 22.577% when pulling 0d9598ba1f2fb4db267f29210425e280bbdf1ee0 on korhaliv:refactor/comp-reducers into 576dade8ba80a3201e533ccc18979cf39483ebaf on LN-Zap:next.


File Uploads?

Any Idea on how I'm going to do file uploads. I was searching the source and could only find multipart string upload? Will that be useful?

TL;DR for maintainers: As issues are for bugs, and this doesn't seem like a bug, I believe it can be closed.
I'm pretty sure questions are supposed to be asked in one of the community forums (check https://github.com/process-bot/contribution-checklist/blob/master/issues.md#issues).
I've seen a couple of solutions by doing a quick google search

using the file-reader lib: http://stackoverflow.com/a/35393219
using ports: https://gist.github.com/mmport80/68d142e346cf906f4d9d

If you feel that there's a need for better documentation, or for the implementation of such a functionality in the elm-http package, or even just an entry in the elm FAQ (would it be the correct place for it?), please open an issue for that matter.
Thanks!

Hmm.. Thanks I couldn't find that after searching on github since I thought this was impossible to do in elm and ditched the effort to go further because of this, now I can start playing with it again.


MVI - retry intents

I'm using the Mosby MVI library for a demo app that performs simple CRUD operations on a Restful API  using Retrofit2 in my Interactor.
I constructed the ViewStates very similar as in the sample App, containing Throwable when Retrofit responds with an error. In this case the render() function displays an error screen with a retry button.
When the retry button is clicked I want to re-emit the last item for the Intent that failed.
I would like to do add something like retryWhen() to the Intent, which of course is only triggered by onError()
Is there a simple way of adding this kind of behavior?

Hm, haven't thought about it too much yet, but I could think of the following solution:
Model your error ViewState so that it contains all required data to retry.
I.e. let's say that your Interactor needs some kind of id that is also required when retrying (by clicking on the retry button). Then your ViewState for error must also contain this id. Something like this:
class MyViewState {
     String id;
     Throwable error;
     // ...
}

The rest really depends on how you prefer to model your intents.
i.e. you could have two intents like this:
interface MyView {
  Observable<String>  loadDataIntent(); // Fires in activity.onResume() for example
  Observable<String> retryLoadingIntent() // Fires when retry button clicked
}

class MyPresenter extends MviBasePresenter {

    protected void bindIntents(){
          Observable<String> loadIntent = intent(MyView::loadIntent);
          Observable<String> retryIntent = intent(MyView::retryLoadingIntent);
          Observable<String> merged = Observable.merge(loaodingIntent, retryIntent);

        Observable<MyViewState> vs = merged.flatMap(
                                                             id -> interactor.load(id)
                                                                     .onErrorRetrurn( error -> new MyViewState(error, id) )
                                                                    ...
          );

       subscribeViewState(vs, MyView::render);
   }
}

Or you could already do the merging of both observables in the View Layer like this:
class MyViewAcitiyt extends MviActivity<MyView, MyViewState> implements MyView {

    PublishSubject<String> loadSubject =  ... ; // i.e. fires in onResume()
    PublisSubject<String> retrySubject =  ... ; // fires on retry Button click

   ...

   @Override
  public Observable<String> loadIntent(){
      return Observable.merge(loadSubject, retrySubject);
  }
}

I tend to prefer the first option because it is more explicit about the existence of a retry mechanism: I just have to look at the view interface to know what the view can actually do. It's just a matter of personal preference I guess.
P.S. Docs for merge() operator can be found here http://reactivex.io/documentation/operators/merge.html
btw. could you please post this question on stackoverflow too (and any further questions)? Because github is really bad to be indexed by search engines like google. I'm sure other will have this question too soon or later. Definitely more discoverable if it is put on stackoverflow (There is a Mosby tag on github).

Thanks @sockeqwe ,
actually I resolved the issue using combineLatest very similar to your last approach, with the difference that the retrySubject doesn't need to know the content of the previous intent.
class MyViewAcitiyt extends MviActivity<MyView, MyViewState> implements MyView {
    PublishSubject<Boolean> retrySubject =  ... ; // fires on retry Button click
   ...

   @Override
  public Observable<String> searchIntent(){
      Observable<String> searchObservable = RxSearchView.queryTextChanges(searchView);
      return Observable.combineLatest(searchObservable, retrySubject, (searchString, retryClicked) ->     searchString);
  }
}

There is one thing to notice. combineLatest() only emits items when all Observables emitted a first item after subscribing to them. Thats why I need to initialize the retry after Mosby did its subscriptions.
@Override
  protected void onResume() {
    super.onResume();
    retrySubject.onNext(true);
  }

I will share this and additional questions like this on StackOverflow in the future.
I raised this question, because it took me some time to solve and I'm pretty sure I won't be the only one with this feature in mind.


Codeunit 5750 - event OnBeforeFromSalesLine2ShptLine - missing Header information

On codeunit 5750 "Whse.-Create Source Document"
Following event "OnBeforeFromSalesLine2ShptLine" have missing "WhseShptHeader" paramater in it.
[IntegrationEvent(false, false)]
local procedure OnBeforeFromSalesLine2ShptLine(var SalesLine: Record "Sales Line"; var Result: Boolean; var IsHandled: Boolean)
begin
end;
All other related events dose have it ie.:
[IntegrationEvent(false, false)]
local procedure OnBeforeFromTransLine2ShptLine(var TransLine: Record "Transfer Line"; var Result: Boolean; var IsHandled: Boolean; WarehouseShipmentHeader: Record "Warehouse Shipment Header")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 14158.


Fix a small issue with campfire/arcanist support [phab:D172]

Created by schroederc at 2015-04-14 16:00:44:
Without this redirection to /dev/null and in a clean checkout of the
repository, the campfire root directory is picked up as "target" to be
unit tested by arcanist.  This causes arc unit to fail incorrectly.
This change also adds some more files to the blacklist for copyright
checks.

zarko accepted this revision at 2015-04-14 16:49:41

schroederc closed via commit 5a9a796a9e8ad1b3b1c8250fd5b5be49601b42dd at 2015-04-14 16:51:24


Add new endpoint to verify password reset confirm token

Closes https://github.com/jazzband/dj-rest-auth/issues/65

On further reflection, I don't think this change belongs in the library. It's definitely useful, but not every thing that is useful belongs in here.
It's okay for developers to implement their own endpoints for things like this. Especially since its so easy.

Thank you for submitting this PR nonetheless @mohmyo. It's a good reference that shows other devs to do password reset.

Thank you @iMerica  for your replay, if you change your mind I suggest taking a look for this example with another popular package which implemented this feature.
https://github.com/anexia-it/django-rest-passwordreset#endpoints
I find this has the same point as JWT verify token endpoint.


Fix ref issues

This resolves #3468 by updating all the string refs to use React.createRef() instead.  No more ref errors in the console.

Thanks @Gazook89 ! Looks good. 🎉 ⭐ 💯


Rework icon configuration, add more sliders

Add more sliders to the icon configuration (maybe following HSV or HSL), and refactor it using the icon groups or something similar. However, in the default view, these sliders shall be hidden as good as possible to minimize the visual overlead while creating good-looking icons.

Closed with #149


after 3.1.1 update remote-sync doesn't work anymore

remote-sync worked perfectly for me but after the 3.1.1 update it doesn't do anything anymore. no error message, nothing. it doesn't sync any files.
i know this bug report probably isn't very helpful but i don't know where to start looking for more details about the issue. :)

you can try to add console.log code to coffeescript files in ~/.atom/package/remote-sync, to debug where it stops.

i have added console.log() to every method in RemoteSync.coffee.
hm... the constructor and initIgnore get called but afterwards no method gets called anymore (of course i tried saving some files in my project).

I've been having the same problem, on save, nothing happens. Today I tried to force an upload of a folder or a file (in the tree view, right click, Remote Sync, upload folder, or upload file) and i get an error Uncaught TypeError: Cannot read property 'uploadFile' of undefined.
If there is something I can try, just let me know.

@LordZepto can you give the stack trace of Uncaught TypeError: Cannot read property 'uploadFile' of undefined ?

@0x746f6d can you try as @LordZepto said?

tried to force an upload of a folder or a file (in the tree view, right click, Remote Sync, upload folder, or upload file)

[Enter steps to reproduce below:]

...
...

Atom Version: 0.204.0
System: Mac OS X 10.10.4
Thrown From: remote-sync package, v3.1.1
Stack Trace
Uncaught TypeError: Cannot read property 'uploadFolder' of undefined
At /Users/tomassolerramirez/.atom/packages/remote-sync/index.coffee:66

TypeError: Cannot read property 'uploadFolder' of undefined
  at handleEvent (/Users/tomassolerramirez/.atom/packages/remote-sync/index.coffee:66:29)
  at atom-workspace.disposables.add.atom.commands.add.remote-sync:upload-folder (/Users/tomassolerramirez/.atom/packages/remote-sync/index.coffee:78:42)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:153:19)
  at [object Object].jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:64:23)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:76:67)
  at emitTwo (events.js:87:13)
  at EventEmitter.emit (events.js:169:7)
  at EventEmitter.ipc.sendSync (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21:31)
  at BrowserWindow.RemoteMemberFunction [as emit] (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:110:29)
  at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:170:31)
  at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:149:33)
  at HTMLDocument.handler (/Applications/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:112:34)
  at HTMLDocument.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4681:9)
  at HTMLDocument.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4359:46)

Commands
     -1:06.2.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-atom-dark-ui)
     -0:21.7.0 tree-view:toggle (ul.list-inline.tab-bar.inset-panel)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "linter-jshint",
      "linter-jscs"
    ]
  },
  "remote-sync": {}
}

Installed Packages
# User
aligner-scss, v1.0.1
docblockr, v0.7.2
emmet, v2.3.10
language-SCSS, v0.4.0
language-smarty, v1.0.0
linter, v0.12.6
linter-csslint, v0.0.13
linter-php, v0.0.15
linter-scss-lint, v1.0.4
linter-tidy, v1.0.1
remote-sync, v3.1.1
tabs-to-spaces, v0.11.0

# Dev
No dev packages

BTW @yongkangchen atom redirects me to #142 when the error pops up.

Keeps failing with v3.1.2
This is the stack trace of "upload file"
[Enter steps to reproduce below:]

Right button over file
Remote Sync > Upload File

Atom Version: 0.204.0
System: Mac OS X 10.10.4
Thrown From: remote-sync package, v3.1.2
Stack Trace
Uncaught TypeError: Cannot read property 'uploadFile' of undefined
At /Users/tomassolerramirez/.atom/packages/remote-sync/index.coffee:64

TypeError: Cannot read property 'uploadFile' of undefined
  at handleEvent (/Users/tomassolerramirez/.atom/packages/remote-sync/index.coffee:64:29)
  at atom-workspace.disposables.add.atom.commands.add.remote-sync:upload-file (/Users/tomassolerramirez/.atom/packages/remote-sync/index.coffee:76:40)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:153:19)
  at [object Object].jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:64:23)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:76:67)
  at emitTwo (events.js:87:13)
  at EventEmitter.emit (events.js:169:7)
  at EventEmitter.ipc.sendSync (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21:31)
  at BrowserWindow.RemoteMemberFunction [as emit] (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:110:29)
  at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:170:31)
  at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:149:33)
  at HTMLDocument.handler (/Applications/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:112:34)
  at HTMLDocument.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4681:9)
  at HTMLDocument.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4359:46)

Commands
     -0:56.1.0 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)
     -0:55.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:43.7.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:43.4.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:43.4.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:42.9.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:42 core:move-down (atom-text-editor.editor.is-focused)
     -0:41.2.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:40.7.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:40 core:move-up (atom-text-editor.editor.is-focused)
     -0:39.7.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
 10x -0:39.3.0 core:select-down (atom-text-editor.editor.is-focused)
     -0:37.6.0 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)
     -0:36.9.0 emmet:toggle-comment (atom-text-editor.editor.is-focused)
     -0:36.9.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
 16x -0:36.5.0 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "linter-jshint",
      "linter-jscs"
    ]
  },
  "remote-sync": {}
}

Installed Packages
# User
aligner-scss, v1.0.1
docblockr, v0.7.2
emmet, v2.3.10
language-SCSS, v0.4.0
language-smarty, v1.0.0
linter, v0.12.6
linter-csslint, v0.0.13
linter-php, v0.0.15
linter-scss-lint, v1.0.4
linter-tidy, v1.0.1
remote-sync, v3.1.2
tabs-to-spaces, v0.11.0

# Dev
No dev packages

no, i don't get any errors. nothing happens if i force an upload in the tree view.

@0x746f6d can you try as @LordZepto said?
tried to force an upload of a folder or a file (in the tree view, right click, Remote Sync, upload folder, or upload file)

sorry for the issue, this error means that upload file does not belong to the project or the project not configure with remote-sync yet.

You can update this package to the latest and check config, then try again


Cow: Watch recoveryhacker101(?:@gmail.com)?

Cow requests the watch of the watch_keyword recoveryhacker101(?:@gmail\.com)?. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

recoveryhacker101(?:@gmail\.com)? has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


Add CI using Github actions

Based heavily on Vapor's configuration

@gwynne for master we should use the 5.1 images since they include OpenSSL

CircleCI config will need to be removed from this repo's config if/when this is merged.
@0xTim Whoops, didn't realize this PR was targeted to the wrong base branch!

Ugh, wish GH's UI could understand doing rebase-onto...

@gwynne will a git commit --allow-empty trigger CI?

@gwynne will a git commit --allow-empty trigger CI?

@0xTim I think so.

Merging as it's just CircleCI that's failing now


POST login query using native javascript browser fetch or xhr are rejected with CORS not same origin policy

Describe the bug
POST login query using native javascript browser fetch or xhr are rejected with CORS not same origin policy.
So temporal cloud servers (on this part of this API) are restricted to the SAME ORIGIN policy.
(I "presume" this is a bug because otherwise i dont see why the documentation would give a sample of code suggesting the possibility of doing such action)
To Reproduce
Steps to reproduce the behavior:

Take the "official" code from the documentation api available here
https://gateway.temporal.cloud/ipns/docs.api.temporal.cloud/account.html#post-login
Insert valid credentials in the sample code (tested before with a classic login on the platform)
Execute the code in a javascript browser environment AND from a domain that is not temporal.cloud or any other subdomains of temporal.cloud

Expected behavior
As the API documentation display a solution with a native XHR 100% browser javascript,
the average front end web developer (like me) expect or make the assumption that this endpoint api will be accessible from any domain
and so will return the information about the session and token
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I can do nevertheless a simple XHR or fetch NATIVE BROWSER (e.g opening my browser console from within your domain) only from within the TLD temporal.cloud or any other subdomains authorized
otherwise the query will be rejected
I dont know if i am alone experiencing this issue
but my unique solution for now is to send my post login request (which will come obviously from another domain than temporal.cloud) thru a serverless proxy serversided script service like aws lambda or webtask.io

Thanks for the detailed bug report, will be looking into this today :ok_hand:

@chisNaN I am unable to reproduce. Can you show me your request and response headers and reproducer? You can send it to my email at<EMAIL_ADDRESS>or post it here with your account credentials removed.

Thanks for your reactivity.
Right now it is working and i have no more cors rejection on this part of this api
(i presume there was something "temporally" wrong in the server like cache etc during an update or something like this)
Nevertheless after thinking about the possibility to fetch post login in js browser there are little chances the developer would apply that scenario because its credentials would be clearly visible
(Unless for an application to be used personally from home or kinda intranet)
Thanks again

Credentials are never visible. A JWT authentication header is used, and headers are encrypted as part of the authentication process.


Typo causes build failure when using a custom layouts_dir

Here are reproducible steps
middleman init foo
cd foo/source
middleman build
# OK
mkdir assets
mv layouts assets
echo "set :layouts_dir, 'assets/layouts'" >> ../config.rb
middleman build --verbose
# error: undefined local variable or method `layout_dir' for
# #<Middleman::Application:0x70337227908940>

This seems to be l.153 in rendering.rb.
The variable used in the error message is "layout_dir", singular instead of "layouts_dir", plural. This seems to be a typo.
echo "set :layout_dir, 'assets/layouts'" >> ../config.rb
middleman build --verbose
# error: Tried to render a layout (calls yield) at ****/foo/source/assets/layouts/layout.erb
# like it was a template. Non-default layouts need to be in source/assets/layouts.

I'm still having this issue with latest middleman. Why was this issue closed?

@dblessing Can you open a new ticket. Sometimes things get closed just because there has been no further reports in months.

But I even provided a repo with reproduction, see above. :weary:

I'm suffering this issue too.


Support 'group:name' notation for compile-only dependencies

329293473e9bd22417176f2c68293b66608a3e38 added support for the convenient 'group:name' notation instead of the file name. This commit extends this functionality to also work for dependencies that are not in the runtime classpath (i.e. statically required modules).

Thank you @TheMrMilchmann. This is a great addition.

Right, it seems like I made a mistake when setting up a test with one of my projects. I seem to be running into some weird caching issue. Using the artifact coordinate notation in my local repository fails with the error below but seems to work correctly on GitHub Actions. Sorry for the confusion, this is a mistake on my end.
* What went wrong:
Execution failed for task ':quitte:compileJava'.
> Could not resolve all files for configuration ':quitte:compileClasspath'.
   > Failed to transform jsr305-3.0.2.jar (com.google.code.findbugs:jsr305:3.0.2) to match attributes {artifactType=jar, javaModule=true, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
      > Execution failed for ExtraModuleInfoTransform: C:\Users\REDACTED\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar.
         > Not a module and no mapping defined: jsr305-3.0.2.jar

Ha! That's actually a valid problem. Thanks for sharing the error message. I now remember that Gradle can also take artifacts out of the local .m2 repository if they exist there. In this case the assumption I make in the code that the 'jar' is always inside the Gradle cache does not work anymore. I will look into fixing this.

Thanks! I'm afraid I can't reproduce this anymore either at the moment but I'll let you know when I stumble into any issues while switching to the new behavior in my projects.


Efficiency Analysis of SGC

I found the training time improvements of SGC vary on different datasets. For example, SGC was trained 28 times faster than GCN on Pubmed dataset, while it is only < 5 times faster than GCN on TWITTER-WORLD, Cora and Citeseer. I wonder what the reason is to come out these kinds of results. Is there a theoretical guarantee? Or only the empirical results?
The other question is how we can quantitatively analyze the training time of these GCNs? Are there any approaches to do this? I think it is not enough if only analyze the time complexity of matrix multiplication during forward/backward propagation with ignoring the time consuming of non-linear transformation.
I would appreciate your help if you could provide the answers/insights of the above questions.

Hi there,
Thank you for your interest in SGC.
The efficiency of SGC comes from several different aspects:

SGC precomputes feature-propagation A^KX.
SGC collapes K linear transformations into one. Namely, there is only one weight matrix and only 1 matrix multiplication is required for the forward pass.
Once the feature-propagation is pre-computed, only training data needs to be computed during the forward and backward propagation. In contrast, GCN computes both the training and testing data because of its transductive nature.

When analyzing the speedup of SGC, you have to take all of these factors into consideration. Therefore, the actual dataset characteristics are very important and can lead to different amount of acceleration.
Hope this answer helps.

An additional reason is that TWITTER-WORLD don't fit into our GPUs and the geographconv code base uses CPUs instead.
The speedups on GPUs and CPUs can be different.

Thanks for your answers. I wonder whether you can provide more details of SGC and GCN models you used when reporting their efficiency in your paper. For example, the number of layers and the numbers of hidden units in GCN as well as the K you used in SGC.


fix: django 2.2 compatibility

CASBackend.authenticate needed request parameter
Fixed login, logout imports in middleware

Nice, thanks for fixing this. :shipit:


Resizing the windows terminal issue

Windows build number: 10 19041
Windows Terminal version (if applicable): 1.3.2651.0
I'm getting weird behavior after use VIM or do something in the terminal.
At the beginning worked so good when I resized the window, but then, it had a strange behavior as I show below:

This sounds like the same problem as described in issue #7466, which has been marked as a duplicate of #3088.

Thank you, @j4james! /dup #3088.


Test ghcr.io as an alternate container registry and update necessary permissions

ghcr.io may serve as an alternate container registry should dockerhub change free limits in the future
Currently dockerhub limits to 100 downloads per IP in 6 hours, which we will never exceed as different VMs are used in parallel

As far as I can tell from github's documentation, there are no limits for a public ghcr.io registry.
Maintenance for ghcr.io will not be an overhead as the same gh actions script is used to build and push images to dockerhub and ghcr.io
speeds are comparable.

By default, ghcr.io registries are private, and we must make them public from the settings. While private images have a difficult authentication process, public images are similar to dockerhub. Thoughts?

The images can be published on ghcr.io as well but won't be public. We will think about making them public when the need arises.


Improve load testing loop to prevent timeouts

Small improvement for the load testing loop (that's waiting for the test to finish) to prevent timeouts.
This closes issue #535 found by @svgupta97!

Tested here: https://dev.azure.com/Mission-Critical/Online/_build/results?buildId=1867&view=results

@svgupta97 now that this PR was merged you shouldn't see any timeouts due to failed load tests anymore.


Support Phantomjs

Support Phantomjs

@labolado could you make a PR in https://github.com/brutuscat/medusa?


lxd/projects: Ensure default project has features.networks

Fixes a regression introduced by c6d0928b0f5ad63d8eb835d0ff454e14b4931b16
Closes #10776
Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

The lxd/db/migration.go part isn't strictly needed as such a DB then goes through the DB patches which would add it anyway, but figured we should be consistent with what's there already.


Add validation to pki CertificateTemplate functions

Pull Request Motivation
If the CertificateRequest or CertificateSigningRequest is not valid, the pki CertificateTemplate functions functions should return an error. This prevents us from signing a certificate with the wrong "privileges" (= wrong IsCA value or wrong (Extended)KeyUsages) in case the IsCA or (Extended)KeyUsages values don't match what is encoded in the CSR blob.
Kind
/kind cleanup
/kind feature
Release Note
The pki CertificateTemplate functions now perform validation of the CSR blob, making sure we sign a Certificate that matches the IsCA and (Extended)KeyUsages that are defined in the CertificateRequest resource.

/unhold


CI: Prioritize tags on release

Closes #330

Codecov Report
Patch coverage has no change and project coverage change: +2.65 :tada:

Comparison is base (3e110b9) 66.10% compared to head (3a4f1a9) 68.75%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #331      +/-   ##
==========================================
+ Coverage   66.10%   68.75%   +2.65%
==========================================
  Files          20       20
  Lines        1354     1354
  Branches      227      227
==========================================
+ Hits          895      931      +36
+ Misses        398      355      -43
- Partials       61       68       +7

Flag
Coverage Δ

ds005
57.23% <ø> (+3.10%)
:arrow_up:

ds054
45.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 4 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.