Add process to transform "incomplete" OTS proofs to complete proofs

Currently, the OTS proofs are "incomplete" meaning that the proof does not include anchoring on the Bitcoin blockchain. That takes time (perhaps 6 to 15 hours), so we need a separate process to go through and retrieve the complete proofs and add them to the Hyperbee instance.

It's more on the level of hours than minutes. Each calendar server lists "Average time between transactions in the last week". As an example, the lowest currently is 3.5 hours, and the highest is 15.27.

It's more on the level of hours than minutes. Each calendar server lists "Average time between transactions in the last week". As an example, the lowest currently is 3.5 hours, and the highest is 15.27.

Are we sure that "time between transactions" isn't the time between requests? The incomplete file says "waiting on Bitcoin confirmation" and the merkle tree is already created at that point, so no more hashes would be added to that submission. It'd be very strange for calendars to wait for no reason before submitting a bitcoin transaction if they can't add new hashes.
I think an incomplete file can be completed as soon as the Bitcoin transaction is confirmed. The documentation says: "It takes a few hours for the timestamp to get confirmed by the Bitcoin blockchain; we're not doing one transaction per timestamp."

the merkle tree is already created at that point, so no more hashes would be added to that submission

My understanding is this is not correct. More hashes are added before making a Bitcoin transaction.

what the aggregation system actually does is aggregates all submitted timestamps in a one second interval into a merkle tree, and submits the tip of that tree - which we call a “commitment” - to a public calendar server. - Source

This one-second interval is what allows the stamping process to only take a second. But the commitments are not submitted as an individual transaction every second, as that would be expensive. Commitments are collected and then submitted altogether, possibly forming another merkle tree. For example looking at the bob server right now, there are over 700 pending commitments. And looking at the server source code we can see there is a minimum interval between timestamp transactions, set to a default of 6 hours.
So my understanding is that the time to when timestamps can be confirmed on chain is determined by the following:
btc-min-tx-interval (and we don't know if the calendars are using the default)
* randomness (up to x2 original interval)
+ bitcoin delays of adding a block (which is about an hour I think based on current fees used by the cal server)
Finally, if you look at the confirmed transaction list on the bob server you can see the delays between them are large, about 9 hours between the most recent two transactions.

Gotcha, thanks for looking this up!

My understanding is this is not correct. More hashes are added before making a Bitcoin transaction.

I was interpreting the "prepend" & "append" values in the incomplete ots file to be merkle tree proofs.
katesills@kates-mbp proofs % ots info 21ded3b14a5f3a400f08e14b8118e5d41ce66cc01fc106f577363e5c8f569311-meta-content.json.ots
File sha256 hash: e40f38c3c1a2ca9e369bca1e156b6214c3586edee8a8755dac74150b53a0dde4
Timestamp:
append 020ffdec192f5f45009480472b67c608
sha256
 -> append 07adeb917415a5be75857a4fafc01184
    sha256
    prepend 629fc238
    append 3a350ecbdd3429e0
    verify PendingAttestation('https://finney.calendar.eternitywall.com')
 -> append 6b7d29ee0b8e69d461632be498d807d2
    sha256
    prepend 629fc238
    append be49eecaef7412d2
    verify PendingAttestation('https://alice.btc.calendar.opentimestamps.org')

If they are merkle tree proofs, then that means nothing more can be added to that merkle tree since any addition changes the root hash and thus changes the proof. But that merkle tree root could be the leaf value of another merkle tree - so that must be how it is done?

Yes, I think the merkle root that you can see just ends up being part of a larger tree. I'm not 100% sure on the details of this though.

FYI in general it's fine to simply store non-upgraded OTS proofs. The public calendar infrastructure is designed to store and make available the rest of the data necessary to validate a non-upgraded proof indefinitely. You can also make your own backup of that data with the otsd-backup tool. OpenTimestamps works this way for the convenience of applications like git timestamping, where it isn't feasible to upgrade the proofs in place.
Of course, if your architecture can do this conveniently, by all means, go ahead!


🐛 Fix SSW.Rules title tag to "SSW.Rules | Secret ingredients to quality software"

Cc: @bradystroud @tiagov8 @BrookJeynes @adamcogan
Hi
The title tag for the rules homepage is "Latest Rules" - this was changed as per https://github.com/SSWConsulting/SSW.Rules/pull/999
Tasks

[x] Change title tag on https://www.ssw.com.au/rules/ to "SSW Rules | Secret ingredients to quality software"
Note: make sure the Latest Rules title tag stays the same https://www.ssw.com.au/rules/latest-rules/?size=50

Figure: Wrong title tag
Thanks!

Done 😊


Set up a prizes for competitions

We should be able to set a reward (e.g. 4000$) from the editor. I don't think we want it to be doable from the competition.yaml file because that should be done only one the "production" version of the competition, after the tests.
The reward could then be reflected in these interfaces:

We keep track of this in #764


Cannot set property 'parentContext' of undefined

I am getting this error with react-lite. The app works fine with react and react-dom. Any suggestions what could be wrong?
Uncaught (in promise) TypeError: Cannot set property 'parentContext' of undefined
    at initVcomponent (react-lite.common.js:433)
    at initVnode (react-lite.common.js:52)
    at initVcomponent (react-lite.common.js:442)
    at initVnode (react-lite.common.js:52)
    at initVchildren (react-lite.common.js:190)
    at initVelem (react-lite.common.js:173)
    at initVnode (react-lite.common.js:49)
    at initVchildren (react-lite.common.js:190)
    at initVelem (react-lite.common.js:173)
    at initVnode (react-lite.common.js:49)

Try breakpoint at this line, and check whether vcomponent.type is valid or not.

vcomponent.type is valid. It is set to a component of this external package - https://github.com/Pomax/react-onclickoutside
Here is the debug session screenshot

OK. Can you add a simple code example to reproduce this problem?

I got the same exception a few days ago and I fixed it after adding "key" prop for  and  of antd. Maybe you can check whether there are some elements created by the same component and having the same parent but do not have "key" prop. "react-lite just follow the best practice of React."XD

@ChieveiT Great!

@Lucifier129
I have the same problem, it persisted for months, checked back today and still the same. Is there anything we can do to help it or at least is there an explanation of what's wrong?

@drcmda It seems like the constructor of super class was not invoked, so this.$cache is undefined, read parentContext property of undefined would throw error.

i has the same error:
Uncaught TypeError: Cannot set property 'parentContext' of undefined
at initVcomponent (react-lite.common.js:433)
beside,this page use react-router,and other pages(no router) work sucessfully

I have gotten the same error verbatim. The likely difference in my setup from others is that I am using electron. I am uncertain if this would impact react-lite in anyway?
Has a solution been reached for this issue or simply an explanation?


Node makedash.js runs out of memory

While running node makedash.js:
<--- Last few GCs --->

 5382881 ms: Mark-sweep 1303.3 (1404.6) -> 1303.2 (1406.6) MB, 1540.7 / 0.0 ms [allocation failure] [GC in old space requested].
 5384277 ms: Mark-sweep 1303.2 (1406.6) -> 1303.2 (1406.6) MB, 1395.6 / 0.0 ms [allocation failure] [GC in old space requested].
 5385622 ms: Mark-sweep 1303.2 (1406.6) -> 1305.1 (1404.6) MB, 1345.0 / 0.0 ms [last resort gc].
 5386890 ms: Mark-sweep 1305.1 (1404.6) -> 1307.1 (1404.6) MB, 1267.4 / 0.0 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x3ff7c8cfb51 <JS Object>
    2: _next [/home/gordonl/Measure/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:~700] [pc=0x51e82082034] (this=0xe9c5a8d3859 <a Cursor with map 0x3a49d2873cd1>,callback=0x3b7e7ca24ec9 <JS Function (SharedFunctionInfo 0x265f061c5641)>)
    3: fetchDocs(aka fetchDocs) [/home/gordonl/Measure/node_modules/mongodb/lib/cursor.js:857] [pc=0x51e822cbcc3] (this=0x3ff7c804381 <undefined>)...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x101167c [node]
 3: v8::Utils::ReportApiFailure(char const*, char const*) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [node]
 6: v8::internal::TypeFeedbackVector::New(v8::internal::Isolate*, v8::internal::Handle<v8::internal::TypeFeedbackMetadata>) [node]
 7: 0xafa2e0 [node]
 8: 0xafa493 [node]
 9: 0xafac08 [node]
10: 0xafb86e [node]
11: 0xb03dbb [node]
12: v8::internal::Compiler::Compile(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag) [node]
13: v8::internal::Runtime_CompileLazy(int, v8::internal::Object**, v8::internal::Isolate*) [node]
14: 0x51e80e092a7
Aborted

Node has its memory usage capped by default, so it may not be taking advantage of the lots of memory in your machine. I can't replicate this problem in normal running, but I can by stepping down the amount of memory available a lot. There is an (undocumented!) V8 option to increase this. Try:
node --max-old-space-size=4096 --max_old_space_size=4096  makedash.js
or maybe higher amounts of memory. It's not very clear what the default is, but it may help. (It also seems to have changed from underscores to dashes at some point in the past, so specifying both may be necessary.) If this alleviates the problem, then I'll take a look into exactly where we're running out of memory and try batching up some more things to fix this more permanently.

Thanks for the suggestion! node --max-old-space-size=8192 makedash.js fixed it for now.

Just submitted a PR with a start script that uses @stuartlangridge's command as the default. Node's default memory limit is 1.76 GB, so I figured that setting an 8 GB limit by default should eliminate most issues.


Confusion regarding TensorFlow licensing

URL(s) with the issue:
https://www.tensorflow.org/install/lang_c
and
https://www.tensorflow.org
Description of issue (what needs changing):

There is no text in the documentation regarding the licensing of the C API.
There is no text in the documentation regarding the licensing of TensorFlow as a whole (see below).

Clear description
When downloading the tar.gz file of the C API, or when building that C API, it comes with two license files: LICENSE and THIRD_PARTY_TF_C_LICENSES. The second file contains the GPL license for everything under ./bench/btl.
Yet, when looking at the package, there is no such path. Actually, this path is not available also in the source code of TensorFlow. This is confusing and may lead to the conclusion that this license is not applicable for the C API code or to TensorFlow as a whole and is provided by mistake.
However, when compiling the TensorFlow code, such a path is created. Yet, still not in the package of the C API.
Could this be clarified: what is the license of the C API libraries? Is it allowed to link these libraries to commercial code without being exposed to GPL?
And what is the license of TensorFlow code as a whole? Is it allowed to, for example, use TensorFlow code as part of a commercial Python application without being exposed to GPL?
I think that this information should come in the above mentioned URLs - the page about C API and the main page of TensorFlow.

All files start with a license header https://github.com/tensorflow/tensorflow/blob/76319741cd303273a542eae0cdf78df61e2c4e83/tensorflow/c/c_api.h#L1-L14
Adding a few more people to answer the questions

@lamberta for potential API doc consequence.
There is no strict need for the documentation to specify the license as it is mentioned in the source.
However, for ease of users recognizing this it's worth considering making this information obvious in documentation.

All files indeed start with a license header. This is correct. But if we look at the example given - the C API library - one will have to go through many many files to check which licenses are used. Moreover, it seems that with respect to the specific issue mentioned above, the Eigen library can be compiled using the EIGEN_MPL2_ONLY flag. And this flag is used in the TensorFlow code, but I am not sure how exactly and if it is used everywhere. The bench/btl that is mentioned above seem to be related to comparing performance and running benchmarks, so probably it does not have to be included when building the C API library or the rest of TensorFlow. But how can a user that download these libraries, when they are already built, know if it is included or not?

For docs and code samples. this is the text at the footer of each developer page (such as https://www.tensorflow.org/install/lang_c):

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

None of the explanations above address the most important issue here: when downloading one of the compiled packages from https://www.tensorflow.org/install/lang_c, it comes with a THIRD_PARTY_TF_C_LICENSES file that contains, among other things, the following:
"Following applies to:
everything under ./bench/btl
                GNU GENERAL PUBLIC LICENSE
                   Version 3, 29 June 2007

..."
Nowhere it is mentioned how the package itself was compiled. This leaves the user with doubts with respect to the licensing of that package. As licensing is a delicate matter, I think that this should be clarified both in the packages themselves and in the page that provides the link to download them.

That is the Eigen license https://github.com/tensorflow/tensorflow/blob/57395f70dbc24d3ac5f97626520194f6773303e8/third_party/eigen3/LICENSE#L1013-L1017
However, we don't import those benchmark files. https://github.com/tensorflow/tensorflow/tree/57395f70dbc24d3ac5f97626520194f6773303e8/third_party/eigen3

Thank mihaimaruseac - you write that the Eigen benchmark files are not imported. Does this mean that the downloads in https://www.tensorflow.org/install/lang_c are built without them? But then, why do the .zip files contain that GPL license in the THIRD_PARTY_TF_C_LICENSES ?
If the DLL is built without the Eigen files, then the GPL license is not applicable for this download, and should be removed from the THIRD_PARTY_TF_C_LICENSES file.
So the question here is simple but crucial for companies that need to work with the TensorFlow C API library - what licenses are applicable to the DLL that is downloaded?

When looking further into this, I find that in https://github.com/tensorflow/tensorflow/blob/master/third_party/eigen.BUILD it is mentioned that

"Eigen is an MPL2 library that includes GPL v3 and LGPL v2.1+ code. We've taken special care to not reference any restricted code."

"Guarantees that any non-MPL2 file added to the list above will fail to compile",

and

"This define (mostly) guarantees we don't link any problematic code. We use it, but we do not rely on it, as evidenced above".

It is therefore looks like it is simply a mistake to include the GPL in the THIRD_PARTY_TF_C_LICENSES file.
Could you please remove the GPL mention from that file, or explain why it is included there?

Could you please react to my last comment above? This issue is a blocking issue for me.
I have just checked the and the file libtensorflow-cpu-windows-x86_64-2.4.0.zip (of the new TensorFlow 2.4.0 release) still contain the mention of GPL with respect to bench/btl.
(please note also that the page https://www.tensorflow.org/api_docs/python/tf is not updated with the correct links to the latest builds).

@theadactyl can you take a look?

@theadactyl can you take a look?

Hi @rani-pinchuk thanks for explaining this issue to us. We will take a look at this in the next couple of days as the team returns from holiday.

Hi @rani-pinchuk thanks for explaining this issue to us. We will take a look at this in the next couple of days as the team returns from holiday.

Thanks, all.
https://github.com/tensorflow/tensorflow/commit/8ab9ab6217aba0b771f05b3bd883ee33ae860931 clarifies that TensorFlow has taken special care to not reference any restricted code and removes the GPL from that license section.

Thanks, all.
https://github.com/tensorflow/tensorflow/commit/8ab9ab6217aba0b771f05b3bd883ee33ae860931 clarifies that TensorFlow has taken special care to not reference any restricted code and removes the GPL from that license section.


Feature Request - no valid commits should not fail

Love the action: I use it to draft release notes with writeToFile: false
At the moment the action will fail if there are no valid commits.
when there are no valid commits it fails with:
Error: No valid commits parsed since previous tag.

I would love to be able to skip the next step (for me here drafting the release) with an if like this:
if: >-
  steps.changelog.outputs.changes  != 'NA'

If there are no valid commits just return 'NA' or '' when not writing to file.
This could also be just an additional mode failWhenResultEmpty: true|false where true is the default and the current behaviour.
Cheers,
Andreas

hey @anden-dev,
might be an old issue but would you mind sharing (if you have one) a temporary workaround for this?


some problems with netty debug log

Expected behavior
netty can print rigth debug log with its parameter.
Actual behavior
can not print its parameter.
[DEBUG][2018-11-08 16:26:58,872][io.netty.util.internal.logging.InternalLoggerFactory]Using SLF4J as the default logging framework
[DEBUG][2018-11-08 16:26:58,882][io.netty.channel.MultithreadEventLoopGroup]-Dio.netty.eventLoopThreads: {}
[DEBUG][2018-11-08 16:26:58,913][io.netty.channel.nio.NioEventLoop]-Dio.netty.noKeySetOptimization: {}
[DEBUG][2018-11-08 16:26:58,913][io.netty.channel.nio.NioEventLoop]-Dio.netty.selectorAutoRebuildThreshold: {}
Steps to reproduce
problem happpened when using slf4j-log4j12 for logger.  when i just  use log4j it is ok.  How to solve?

org.slf4j
slf4j-log4j12
1.7.25

Minimal yet complete reproducer code (or URL to code)
Netty version
4.1.31
JVM version (e.g. java -version)
1.8
OS version (e.g. uname -a)

Should be fixed by #8595


Gauge on GCB does not reflect runner_connection_timeout setting.

Context

I'm trying to incorporate a docker container with gauge installed into Google Cloud Build as a build step.
In the attempts so far, I found that when trying to run gauge (with python) on Docker without setting the runner_connection_timeout to about 240 seconds or more, gauge fails with the error message, 'Failed to start gauge API: Timed out connecting to <IP_ADDRESS>:~'.
So I wrote the Dockerfile so that docker build copies 'gauge.properties' in which runner_connection_timeout is set to enough duration, 600 sec, into '/root/.gauge/config/' in container image.

Expected behavior
Even when the container is incorporated in Cloud Build, the runner_connection_timeout value is recognized as 600 seconds.
Actual Behavior
When executed as a build step from Cloud Build, the runner_connection_timeout value is recognized as the default of 30 seconds. So if you write specs/tests and try to execute it from Cloud Build, then get the error message "Failed to start gauge API: Timed out connecting to ~".
How to replicate the issue
I made a minimal project to reproduce and observe the issue.
You can reproduce it according to the following procedure, but please replace the docker registry name 'gcr.io/gauge-gcb-trial/' in the commands and cloudbuild.yaml with an appropriate one you have access.
~$ cd ~/tmp
tmp $ git clone https://github.com/yasuabe/gauge-docker-issue2
tmp $ cd gauge-docker-issue2
gauge-docker-issue2 $ cd docker
docker $ docker build -t gcr.io/gauge-gcb-trial/gauge-docker-issue2:latest .
docker $ docker run -it --entrypoint '' gcr.io/gauge-gcb-trial/gauge-docker-issue2:latest /bin/ash
/workspace # gauge version
Gauge version: 1.0.5
Commit Hash: 562f036

Plugins
-------
html-report (4.0.8)
python (0.3.5)
screenshot (0.0.1)
/workspace # exit
docker $ docker push gcr.io/gauge-gcb-trial/gauge-docker-issue2
docker $ cd ..
gauge-docker-issue2 $ docker run gcr.io/gauge-gcb-trial/gauge-docker-issue2:latest
Key                           	Value
-------------------------------------------------------------------
check_updates                 	false
gauge_telemetry_enabled       	false
gauge_telemetry_action_recorded	false
gauge_repository_url          	https://downloads.gauge.org/plugin
plugin_connection_timeout     	10000
plugin_kill_timeout           	4000
ide_request_timeout           	30000
gauge_telemetry_log_enabled   	false
gauge_templates_url           	https://templates.gauge.org
runner_connection_timeout     	600000 ★★★ This is the value I intended
runner_request_timeout        	30000

Telemetry
---------

This installation of Gauge collects usage data in order to help us improve your experience.
The data is anonymous and doesn't include command-line arguments.
To turn this message off opt in or out by running 'gauge telemetry on' or 'gauge telemetry off'.

Read more about Gauge telemetry at https://gauge.org/telemetry

gauge-docker-issue2 $ gcloud builds submit --config cloudbuild.yaml .
Creating temporary tarball archive of 4 file(s) totalling 1.7 KiB before compression.
Uploading tarball of [.] to [gs://gauge-gcb-trial_cloudbuild/source/1561610257.16-e5ffadf140b544f3b7b86e7baa359229.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/gauge-gcb-trial/builds/33ab2549-4ac9-4d95-9d67-51e6ca6b5ab3].
Logs are available at [https://console.cloud.google.com/gcr/builds/33ab2549-4ac9-4d95-9d67-51e6ca6b5ab3?project=173910909337].
---------------------------------------------------------------------- REMOTE BUILD OUTPUT ----------------------------------------------------------------------
starting build "33ab2549-4ac9-4d95-9d67-51e6ca6b5ab3"

FETCHSOURCE
Fetching storage object: gs://gauge-gcb-trial_cloudbuild/source/1561610257.16-e5ffadf140b544f3b7b86e7baa359229.tgz#1561610289871946
Copying gs://gauge-gcb-trial_cloudbuild/source/1561610257.16-e5ffadf140b544f3b7b86e7baa359229.tgz#1561610289871946...
/ [1 files][  1.0 KiB/  1.0 KiB]
Operation completed over 1 objects/1.0 KiB.

The data is anonymous and doesn't include command-line arguments.
To turn this message off opt in or out by running 'gauge telemetry on' or 'gauge telemetry off'.

Read more about Gauge telemetry at https://gauge.org/telemetry

PUSH
DONE
-----------------------------------------------------------------------------------------------------------------------------------------------------------------

ID                                    CREATE_TIME                DURATION  SOURCE                                                                                IMAGES  STATUS
33ab2549-4ac9-4d95-9d67-51e6ca6b5ab3  2019-06-27T04:38:11+00:00  17S       gs://gauge-gcb-trial_cloudbuild/source/1561610257.16-e5ffadf140b544f3b7b86e7baa359229.tgz  -       SUCCESS

@yasuabe Thanks for reporting this. We will be looking into this issue soon.

@yasuabe We could not get hold of GCB a GCB account. Instead of copying properties files, you could run gauge config to update the timeout. Once the gauge is installed in the image you could run
gauge config runner_connection_timeout  YOUR_VALUE.
I'm closing this issue. Feel free to reopen it if needed.


SW-2188 Add planting sites to search API

To support the usual filtering and sorting operations on the list of planting
sites, add them to the search API.
The boundary values are returned as strings whose values are JSON objects
in GeoJSON format, suitable for passing verbatim to mapping services that expect
GeoJSON values.
See TrackingSearchTest for an example of the field hierarchy.

Current dependencies on/for this PR:

main

PR #783

PR #784

PR #785

PR #787   👈

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #783

PR #784

PR #785

PR #787   👈

This comment was auto-generated by Graphite.

Looks good to me. Something I realized a bit late, UI will need the bbox of the planting site boundary - in order to fit the map to. Not sure what the best approach would be here, should the UI calculate bbox or get help from the BE. Could get complex depending on number of polygons associated with the boundary. Just thinking aloud at this point, ok for us to make an additional request later if needed?

I take that back, the number of polygons won't complicate the bbox calculation.

The site boundary can be queried as needed here by including the boundary search field. It'll also be returned by the GET endpoints in the PR I just created. Hopefully that covers the UI's needs.

The site boundary can be queried as needed here by including the boundary search field. It'll also be returned by the GET endpoints in the PR I just created. Hopefully that covers the UI's needs.

@sgrimm would it be possible to provide an example of a search response with a boundary (as might be seen by the client)?

Sure. I'll put it in the Jira task so it's easier to find later on.


fix structured logging panic

Fixes #
Description

Fixes a structured logging panic when the node has an error creating (Causing failed tests here https://github.com/aws/karpenter/pull/2883)

How was this change tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.1%) to 74.393%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/scheduling/preferences.go
7
86.81%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
5052

Relevant Lines:
6791

💛  - Coveralls


Mock QA in test

https://github.com/LD4P/sinopia_editor/blob/master/__tests__/utilities/QuestioningAuthority.test.js#L6 does a live query, which is problematic when QA is down (like right now).
It should be mocked.

https://github.com/LD4P/sinopia_editor/blob/master/__tests__/components/search/Search.test.js#L55 might be helpful.


Change all subscribe links to new versions.

 Update "Magazine Subscribe" links

 Update "Subscribe" links


Clarification re: alternate data streams

Hi, I was hoping to get clarification on something.  Can we use the OneDrive API to write and upload alternate data streams for a file?  The docs say that for files, "The default stream represents the contents of the file. Other streams may be used to represent item thumbnails or alternative data formats."  So let's say I have doc called example.docx, and I'd like to add an alternate data stream called example.docx:mystream.  Is it possible to set that and upload it?  Will OneDrive sync it and not overwrite it?  Thanks for your help!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 350cd850-d19a-ef5c-2761-e342fc3c506c
Version Independent ID: 5bf3ef39-f20a-6c7f-77f6-3bc7e9d246f4
Content: Upload small files - OneDrive API - OneDrive dev center
Content Source: docs/rest-api/api/driveitem_put_content.md
Product: onedrive
GitHub Login: @rgregg
Microsoft Alias: rgregg

Thanks for your feedback. This is not currently supported. We'd recommend requesting this over UserVoice, links to do so are here:

If you are planning to share a new feature request (enhancement / suggestion), please use the OneDrive Developer Platform UserVoice at http://aka.ms/od-dev-uservoice, or the SharePoint Developer Platform UserVoice at http://aka.ms/sp-dev-uservoice.


make validator optional

The native validator is built using node-waf, which is not available on Windows or OSX prebuilt nodejs installations. It is therefore not possible to install this package using NPM on these systems.
Would it be possible to make the validator optional, or to skip its installation if there is no node-waf?

I'm on Windows Vista 64 Bit and the following command installed the package without errors:
npm install<EMAIL_ADDRESS>

I was able to get the pre-built validator.js from the ws npm package. On windows, the contents of validator.js are the following:
module.exports.Validation = {
isValidUTF8: function(buffer) {
return true;
}
};
Also, I added MinGW and GnuWin32 to my sytsem in the hope of being able to build. No luck.
TeeTeeHaa's suggestion does work.

I'm going to agree with einaros' approach to this.  Look for an update in the next couple days that will bypass the validator on Windows, and when native module details are more or less figured out in the Windows world, we'll revisit it then.
Alternatively, I could write a pure JS version of the UTF-8 validator if people feel that it would be an important thing to have even at the expense of performance (optional, enabled by a config option, disabled by default)

Sorry for the delay in dealing with this issue.. I just got back from CES a couple days ago.

Apologies again, I've been super busy preparing to present Worlize during NodeJam at Node Summit in SF next week.  I'll get back to this after I get home next Friday.

Yes, should be able to do that.
Sent from my iPhone
On Feb 1, 2012, at 7:35 AM<EMAIL_ADDRESS>wrote:

Just a note - it's not just that windows users need the replaced validator.js, it's that you can't install through NPM because build fails on typical windows systems that aren't set up to do that. Will you be able to fix that as well?

Reply to this email directly or view it on GitHub:
https://github.com/Worlize/WebSocket-Node/issues/28#issuecomment-3760635


Version 2.5.3

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

I also added myself as maintainer

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@saibhargav1508 I updated the recipe to latest version.
As it hadn't been updated in a while, I added myself as maintainer.


Flight Modes and ModalAI SITL

This MR adds the following capabilities to PX4 V1.12.3

Inclusion of ModalAI uart_esc driver
Addition of a modalai_sitl simulation target
Addition of a new Flight Task for altitude control that simplifies the control and removes some assumptions about distance to a ground plane

Thanks!!


Transducers

FYI, looks like both Kefir and Bacon are adding support for transducers based on the potential performance gains.
https://github.com/baconjs/bacon.js/issues/444
Apparently Rx already had support.
https://github.com/Reactive-Extensions/RxJS/blob/master/doc/gettingstarted/transducers.md
Just wanted to put this on your radar if it wasn't already.

Hey @jeffrose!  Yeah, transducers are interesting, I've been following them for a while.
It would be interesting to try an experiment to see if there's a performance gain to be had.  most.js is already extremely fast, and so I'm not sure if we would see an improvement.  I'm certainly open to trying it, though!
Compatibility with other transducer libs, and presenting a familiar API (to folks familiar with transducers that is) might be other reasons to support transducers, even if there is no perf gain.

I added experimental transducer support in the add-transduce branch.  The code is pleasantly simple :)
Here are some initial perf runs using cognitect-labs/transducers-js.  I also tested with jlongster/transducers.js and the perf was nearly identical.
filter -> map -> reduce 1000000 integers
-------------------------------------------------------
most        115.79 op/s ± 16.50%   (36 samples)
most transduce   87.74 op/s ±  5.26%   (76 samples)

filter -> map -> map -> reduce 1000000 integers
-------------------------------------------------------
most         81.69 op/s ±  0.94%   (73 samples)
most transduce   72.81 op/s ±  0.94%   (78 samples)

filter -> filter -> map -> map -> reduce 1000000 integers
-------------------------------------------------------
most         56.69 op/s ±  0.87%   (80 samples)
most transduce   43.31 op/s ±  5.35%   (64 samples)

The performance is good, although most's native combinators are still faster, at least filter and map.  It's probably worthwhile to test some other combinators to get a broader sample.  Regardless, I think the question is: Given that performance probably isn't a benefit, are there other benefits of providing a transducer API that are worth the extra code?
@jeffrose In your view, performance aside, what do you see as the main benefits of a transducer API over simply using the existing combinators?  Are you using transducers already?

@briancavalier We are not using transducers (yet) but we're currently using Bacon.js and have some use cases that could be implemented with them. Aside from performance, the other major benefit I see is integration with libraries like immutable.js.
https://github.com/jlongster/transducers.js#immutable-js

Thanks, @jeffrose.  Are there specific use cases that you could implement with transducers that you feel you couldn't implement easily using Bacon's or most's native APIs?
Can you give an example of what you mean by "integration" in this case?  For example, would supporting transducers somehow allow you to combine most.js reactive streams with immutable-js collections in some way that's not easy otherwise?  I think seeing a simple code example (even if slightly contrived or pseudocode) would help me understand.

@briancavalier We are still in the investigation stages so we do not have specific use cases yet for transducers or even immutable collections. We currently have problems with our current observable model approach and think the use of a library like immutable-js could help. Similarly we have a performance problem and think transducers could help.
Transducers are declarative and provide a solution without the creation of extra streams, which seems to be a performance hit in some libraries.
By "integration" I was referencing the fact that transducers-js and transducers.js both work with immutable-js.
https://github.com/cognitect-labs/transducers-js#immutable-js
https://github.com/jlongster/transducers.js#immutable-js
I will see if I can get you some more concrete use cases.

Given that performance probably isn't a benefit, are there other benefits of providing a transducer API that are worth the extra code?

One benefit would be that custom transducers defined and used in the context of one library could be reused directly with most.
For a few examples of custom transducers, see transduce. Ramda could potentially have support soon. And it's very easy to define your own custom to your own needs.

Thanks @jeffrose and @kevinbeaty.  It does seem like the standard, familiar API across libs, and the ability to reuse custom transducers are both worthwhile benefits.  Given how simple the code is, I'm having trouble finding a reason not to add transducer support :)

Great.
One thing to note after looking at your implementation is that transducers like take, takeWhile can signal early termination using a Reduced wrapper after step.
TransduceSink.prototype.event = function(t, x) {
   var next = this.xf.step(t, x)
   if(next.__transducers_reduced__) // early termination.
};

@kevinbeaty Excellent, thank you!  I'll try to do another pass on the branch at some point soon.

Sorry I haven't had time to get back to this yet.  I've been buried under a mountain of other stuff.  Looks like this weekend or early next week, I'll be able to update the branch with @kevinbeaty's suggestion.

@kevinbeaty @jeffrose Just updated the proof-of-concept in 9d6705e.  I had to defend against null/undefined in the test, but that may be due to the way I'm having to interact with the transducer API.  It seems to work great now, e.g. the take(n) transducer works.
Anything else you can think of that I may need to handle?  Do transducers signal error conditions by throwing synchronously?  Are there any other error handling facilities in the transducer API I need to consider?

@briancavalier It looks like it should work.  I'm not familiar with the internals of most so I can't answer that with confidence.  I would suspect the null check is necessary because return this.sink.event(t, x); is returning null/undefined.

Do transducers signal error conditions by throwing synchronously?

Yes, there is no separate facility for error reporting.

Anything else you can think of that I may need to handle?

Might be helpful to review the documentation for creating transducible processes in Clojure to see if anything sticks out.
Again, I think this looks like it should work.  I would test with take, filter, drop and map and something that steps additional items on result.  That should cover most cases.

It looks like it should work. I'm not familiar with the internals of most so I can't answer that with confidence

Thanks for taking a look.  Understood :)  I'll certainly need to write real unit tests to verify everything.  I'm very happy with the direction so far, and how easy it has been to integrate.

would suspect the null check is necessary because return this.sink.event(t, x); is returning null/undefined.

Yep, that's it.  I wasn't sure exactly where the next value was coming from, but that makes sense.  Most.js doesn't yet make use of sink return values, but it likely will in the future.

Might be helpful to review the documentation for creating transducible processes in Clojure to see if anything sticks out.

Cool, thanks for the pointer.  I'll def take a look.

I would test with take, filter, drop and map

So far, I've tested with take, filter, and map.  I'll start adding unit tests soon and make sure I cover drop as well.

and something that steps additional items on result

Could you point me to an example of this case?  I'm not quite sure what it means.  Thanks!

and something that steps additional items on result
Could you point me to an example of this case? I'm not quite sure what it means. Thanks!

:)  One example is partitionBy.   It will split the input stream in arrays of length n, but if the stream ends with an incomplete stream it will push the last partial array of length n - k.  Does that make sense?

I opened a PR for this, so let's start tracking progress in #109 :)


Generics support for Component?

Hi!
I'm the maintainer of https://github.com/dotansimha/graphql-code-generator .
One of our community members suggested we should add a plugin that generates ready-to-use type-safe Components and hooks using your library.
It sounds like a cool idea, but we currently not able to implement it because your implementation does not allow to override the type of data (https://github.com/FormidableLabs/urql/blob/master/src/components/Query.tsx#L16) or variables.
In the hooks implementation, we can pass the type using generics and override the data and variables types, which is great, because we can generate ready-to-use wrappers for it.
It would be great to have support for generics, and then we'll implement the plugin for the codegen :)

Yes, we weren't quite sure how to implement the generics on the component so that inference works correctly in all edge cases, and since put more focus on our hooks now we haven't quite been spending time on that 😅
Open to suggestions on what's the norm though 👍

@kitten because React Components are just classes, you should easily add generics and then pass it to the props type, something like that:

type QueryProps<T> = {
   variables: T;
}

type QueryState<T> = {
   data: T;
}

export class Query<TData = any, TVariables = any> extends React.Component<QueryProps<TVariables>, QueryState<TData>> {
  render() {
     // ...
  }
}

Then, to override it (we'll generate a similar output with the codegen):
type MyCustomQueryData = {

};

type MyCustomQueryVariables = {

};

export class MyCustomQuery extends Query<MyCustomQueryData, MyCustomQueryVariables> { ... }

@dotansimha yep, that so far is clear, but when I've implemented generics on components in the past that'd mean that when inference breaks on JSX one would have to manually assign generics to the component which is troublesome in a tsx file.

@kitten any chance you can provide an example? I never noticed this issue before...

@dotansimha I don't have any TS codebase readily available, but I did hit this issue a long time ago, so I'm wondering whether it's simply been fixed.

Ok, seems like this is a non-issue now, since JSX+Generics will explicitly become easier in TS https://mariusschulz.com/blog/typescript-2-9-passing-generics-to-jsx-elements

PR up for this in #249. @dotansimha please take a look and let me know if you think this would solve your use case. If so, I'll continue down this path to type Mutation and Subscription.

@parkerziegler looks great! Thank you!


Angular 5 Error ng build --deploy-url

Hello,
I was working with angular 4 with MVC. Recently we upgraded to Angular 5. I got error in index.cshtml in the path $/Views/Home in MVC project at the following line:
fileEntries = Directory.EnumerateFiles(Server.MapPath("~/dist"));
The error is

Error The command "ng build --deploy-url http://localhost:60859/dist/" exited with code 3.

I tried uninstall npm and reinstall it and same for cli angular. Nothing worked.
And Im not able to build the project!

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


ci: fix workflow triggers for forks

PR from forks weren't triggering our main CI workflow, and other workflows were broken. Attempted to fix these problems and tested what I could.

CI workflow now runs on pull_request event also (forks don't run on push).
Code PushUp workflow needs access to secrets, so it is now skipped for forks.
Create a separate Code PushUp workflow without secrets that should run only for forks. It won't upload anything, but the PR comments should still work. Can't test it before merging the workflow though, due to how pull_request_target event works.
Assigning PR author failed for my fork because of invalid permissions, should be solved by changing pull_request to pull_request_target (again, can't test until it's merged).

Tested triggers on:

#742

 :framed_picture:  tested PR from fork

Just to remember there is also this setting, I guess the approve first setting is correct


sourcerer:0.2.1

I am submitting

[ ] a new package
[x] an update for a package

Description: The last version had a bug with it's lang-box, which was placed on the last page of the span of the code block. This is now fixed.

Alright, I've fixed the README.md thing. Apparently the old release also had a bug with the alignment of the table parts, when you centered things for example, but this was also fixed by the new version here.


copyq: 6.0.1 -> 6.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/CopyQ/versions.
meta.description for copyq is: "Clipboard Manager with Advanced Features"
meta.homepage for copyq is: "https://hluk.github.io/CopyQ"
meta.changelog for copyq is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/09gsdaa6q2fcn2v4sjjdcc9p73mcs1wd-CopyQ-6.1.0/bin/copyq had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/09gsdaa6q2fcn2v4sjjdcc9p73mcs1wd-CopyQ-6.1.0/bin/.copyq-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 6.1.0 with grep in /nix/store/09gsdaa6q2fcn2v4sjjdcc9p73mcs1wd-CopyQ-6.1.0
found 6.1.0 in filename of file in /nix/store/09gsdaa6q2fcn2v4sjjdcc9p73mcs1wd-CopyQ-6.1.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
copyq

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/09gsdaa6q2fcn2v4sjjdcc9p73mcs1wd-CopyQ-6.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A copyq https://github.com/r-ryantm/nixpkgs/archive/33a51ae8b0e27b38c340e5d4db0b053973c99c69.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/09gsdaa6q2fcn2v4sjjdcc9p73mcs1wd-CopyQ-6.1.0
ls -la /nix/store/09gsdaa6q2fcn2v4sjjdcc9p73mcs1wd-CopyQ-6.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

copyq

Maintainer pings
cc @artturin for testing.

Result of nixpkgs-review pr 163275 run on x86_64-linux 1

1 package built:

copyq


Reaper-operator failing to register reaper service on openshift 4.7

I’m facing a problem successfully registering reaper-service by the reaper-operator on openshift k8ssandra helm deployment. Rest of the components are working well.
This looks like an RBAC issue. However I’m not sure the specifics of the apiGroup that needs changing.
Can anyone help?
Details are as follows -
k8ssandra chart version
k8ssandra-1.3.3
openshift/k8s version
oc version
Client Version: 4.7.0-0.okd-2021-02-25-144700
Server Version: 4.7.34
Kubernetes Version: v1.20.0+bbbc079

helm version
version.BuildInfo{Version:"v3.5.2", GitCommit:"167aac70832d3a384f65f9745335e9fb40169dc2", GitTreeState:"dirty", GoVersion:"go1.15.7
k8ssandra-reaper-operator logs

oc logs k8ssandra-sb01-reaper-operator-58b989c67c-f9bhv
{“namespace”: “k8ssandra-test”, “name”: “k8ssandra-sb01-reaper-reaper-service”}}
2021-10-29T00:32:09.463Z INFO controllers.Reaper creating service {“reaper”: “k8ssandra-test/k8ssandra-sb01-reaper”, “service”: {“namespace”: “k8ssandra-test”, “name”: “k8ssandra-sb01-reaper-reaper-service”}}
2021-10-29T00:32:09.496Z ERROR controllers.Reaper failed to create service {“reaper”: “k8ssandra-test/k8ssandra-sb01-reaper”, “service”: {“namespace”: “k8ssandra-test”, “name”: “k8ssandra-sb01-reaper-reaper-service”}, “error”: "services “k8ssandra-sb01-reaper-reaper-service” is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can’t set finalizers on: , "}

┆Issue is synchronized with this Jira Task by Unito
┆Issue Number: K8SSAND-1011
┆Priority: Medium

Hi @makeittotop
I came across https://bugzilla.redhat.com/show_bug.cgi?id=1835066. On the surface it doesn't see to be related.
@jdonenine can we get this into the backlog and prioritized?

Hi @jsanda ,
I've fixed it on my end by providing reaper.cassandra-reaper.io apiGroup a blanket access to reapers/finalizer resource.
rules:

apiGroups:

reaper.cassandra-reaper.io

resources:
reapers
reapers/finalizer


Unable to import component: No module named 'homeassistant.components.image' (since v3.5.1)

Since updating to https://github.com/AlexxIT/WebRTC/releases/tag/v3.5.1 and doing the first restart of HA after the update (using HACS), I get this on every HA Core start:

Logger: homeassistant.setup
Source: setup.py:213
First occurred: 18:42:31 (1 occurrences)
Last logged: 18:42:31

Setup failed for custom integration webrtc: Unable to import component: No module named 'homeassistant.components.image'

Maybe because of https://github.com/AlexxIT/WebRTC/pull/619 looking for this entity type which does not exist on older HA Core versions? If true (just a wild guess): in that case the 3.5.1 update should have been flagged with a "breaking change" notification or listing the minimum needed HA Core version.
Home Assistant 2023.4.6
Supervisor 2023.12.0
Operating System 11.2
Frontend 20230411.1 - latest

By the way there's a typo in the date of https://github.com/AlexxIT/WebRTC/releases/tag/v3.5.1.

Edit: v3.5.0 works without any issues. Which HA version is needed to run v3.5.1?

You right. Image require newer Hass version. I think this is bad idea. Will fix this in next release. You can use previous version for now.

Great. Looking forward to an updated version (you'll probably implement a "if availalbe, use it, if not, don't try to implement usage of image entity" check, right?) 🎉

I think this is bad idea. Will fix this in next release.

@AlexxIT do you have any estimations for the new release containing the fix for this? Thanks.

You can try latest master version

You can try latest master version

Is there a new release? I'm only using HACS.

You can install it via HACS. Redownload and select master from dropdown

It's not a release yet.

So when will you make a release?

https://github.com/AlexxIT/WebRTC/releases/tag/v3.5.2


Add Ox integration

Add integration with Ox library. The integration should look like the following:
val result: (Int, String) raises Int =
  par(RaiseErrorMode[Int])(
    {
      sleep(200.millis)
      println("Lambda 1")
      1
    }, {
      sleep(100.millis)
      println("Lambda 2")
      Raise.raise(-1)
    }
  )

Raise.fold(
  block = result,
  recover = error => println(s"Error: $error"),
  transform = tuple => {
    println(s"Success: $tuple._1, $tuple._2")
  }
)

It turns out that Ox had a problem handling ControlThrowable exceptions in the race function (see the issue for further details).
Now, raise4s integrates smoothly with Ox without implementing any custom ErrorMode.


adjust running dispatcher count

Codecov Report

Merging #706 (a3c4378) into master (53779d0) will decrease coverage by 0.03%.
The diff coverage is 73.33%.

: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
@@            Coverage Diff             @@
##           master     #706      +/-   ##
==========================================
- Coverage   42.77%   42.74%   -0.03%
==========================================
  Files          47       47
  Lines        7193     7205      +12
==========================================
+ Hits         3077     3080       +3
- Misses       4116     4125       +9

Impacted Files
Coverage Δ

assemblyline_core/dispatching/dispatcher.py
73.89% <73.33%> (-0.09%)
:arrow_down:

assemblyline_core/expiry/run_expiry.py
61.61% <0.00%> (-2.53%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


feat(PROD-CPC-1233): add image to product

JIRA: link to jira ticket
Context:
The ticket is about letting user see images of the products listed on the store.
Does this PR change the .vscode folder in petclinic-frontend?:
Nope😉
Reviewers need to check for any changes to the
.vscode folder and add a comment about it to their review comments.
Changes

Added an image component to the frontend to display images
Made a new document to hold images
Touched the card.css to make the card bigger to hold the images
Increased the maximum memory size of the products-service
Created a new endpoint for the images -> a lot of files changed (not to worry about)

Before and After UI (Required for UI-impacting PRs)
Before

After

Dev notes (Optional)
Increased the maximum memory size of the api-gateway to handle large images

Great job! Everything works as expected with the product and image being added successfully. However, the ability to edit the image is not yet available since it wasn’t part of your sprint’s story. It will be important to implement this in the next sprint to complete the functionality.

Thanks I planning on talking about it during the next spring planing since it isn't part of my story


Injection not uses limit from settings.js

What are the steps to reproduce?
0, Add in settings.js variable: apiMaxLength: "5mb"
1,Injection node configured for JSON in Payload
3,Add 1MB of data(JSON) to payload
What happens?
ERROR Message "PayloadTooLargeError: request entity too large"
PayloadTooLargeError: request entity too large
    at readStream (/node-red/node_modules/raw-body/index.js:156:17)
    at getRawBody (/node-red/node_modules/raw-body/index.js:109:12)
    at read (/node-red/node_modules/body-parser/lib/read.js:77:3)
    at jsonParser (/node-red/node_modules/body-parser/lib/types/json.js:137:5)
    at Layer.handle [as handle_request] (/node-red/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/node-red/node_modules/express/lib/router/index.js:317:13)
    at /node-red/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/node-red/node_modules/express/lib/router/index.js:335:12)
    at next (/node-red/node_modules/express/lib/router/index.js:275:10)
    at expressInit (/node-red/node_modules/express/lib/middleware/init.js:40:5)

What do you expect to happen?
The bodyParser limit is not set from the settings of
limit　(https://github.com/expressjs/body-parser)
Controls the maximum request body size. If this is a number, then the value specifies the number of bytes; if it is a string, the value is passed to the bytes library for parsing. Defaults to '100kb'.
Please tell us about your environment:
Node-RED version:1.2.9
node.js version:12.18.2
npm version:6.14.5
Platform/OS:any
Browser:any

Solution I search in all starting scripts app.use(express.json());
Replaced it with app.use(express.json({limit:maxApiRequestSize}));
And made sure, that the var maxApiRequestSize is set by the settings file.

where do you find those app.use statements ? Is this in your own wrapper or in the core code ?


Create Custom Filter

Laravel Version: 5.6
PHP Version: 7.2
Laravel-admin: 1.5

I want to add new Filter for date time with Shamsi Calendar.
How can i do this?

You can use the custom filter as follows.
Define custom filter class:
<?php

use Encore\Admin\Admin;
use Encore\Admin\Grid\Filter\AbstractFilter;

class CustomFilter extends AbstractFilter
{
    protected function script()
    {
        return <<<SCRIPT
// initialize your calendar plugin like this
$('#{$this->getId()}').calender({});

SCRIPT;

    }

    public function render()
    {
        // Inject scripts to current page.
        Admin::script($this->script());

        return parent::render();
    }
}

Import your calendar assets in app/Admin/bootstrap.php
Admin::css('your/css/path');
Admin::js('your/js/path');

Then use this filter in your grid:
$filter->use(new CustomFilter('column_name', 'label_name'));


Pypi package out of sync with repo

On pypi, https://pypi.org/project/openpyxl-image-loader/, the current distribution is a buggy version of the code where _images is a static variable, which can cause I/O errors when reading multiple sheets. In main it is resolved though.
The only required action is to create a new pypi release

The problem is the buggy version on pypi remembers the image cells from worksheet to worksheet.
From what I can tell, the code in the repository is version 1.0.1 (which works) and the buggy pypi version is 1.0.5. (A lovely two hours of my morning...)


npm WARN deprecated<EMAIL_ADDRESS>critical bug fixed in v2.0.4

Hi, Install the mysql client for node in my root project, npm install mysql, and this is the result
npm WARN deprecated<EMAIL_ADDRESS>critical bug fixed in v2.0.4
<EMAIL_ADDRESS>node_modules\mysql
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
why is I always get warn deprecated?is that okay ?

It is OK and you can ignore it. We're going to fix it soon in a patch release.

@dougwilson , Thank you for the quick reply.

@dougwilson, can I ask, how can i know if the patch is now available and how to install in my project?
Thank you in advance.

We're going to fix it soon. There is nothing available yet.

@dougwilson , yes i know , I just want to ask if ever the patch is available how can i install it.do I need to issue the command again "npm install mysql" inorder to get the patch?

Gotcha. Typically you would edit your package.json file and change the mysql entry to require at least the version that contains the patch and then you run npm install mysql again.

Okay. That's it thank you :)


Fix MIME type for public/cards.min.js

This script does not load if x-content-type-options: nosniff is enforced due to wrong MIME type
Got some code for us? Awesome 🎊!
Please include a description of your change & check your PR against this list, thanks!

[x] There's a clear use-case for this code change
[x] Commit message has a short title & references relevant issues
[x] The build will pass (run yarn test:all and yarn lint)

More info can be found by clicking the "guidelines for contributing" link above.

Tagging @ErisDS for visibility.

Codecov Report

Merging #13808 (118da87) into main (616cd10) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main   #13808   +/-   ##
=======================================
  Coverage   56.21%   56.21%
=======================================
  Files         554      554
  Lines       46077    46077
  Branches     4129     4129
=======================================
  Hits        25902    25902
  Misses      20132    20132
  Partials       43       43

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 616cd10...118da87. Read the comment docs.

 Really appreciate you raising this as a PR as well ❤ . Now I see it, it's supposed to be application/javascript so I'll merge this and do a further fix.

@ErisDS it should be text/javascript per W3C spec:
https://html.spec.whatwg.org/multipage/scripting.html#scriptingLanguages


Problems with cart.

First scenario:

I'm typing 1 in quantity field, then I'm clicking "Add to cart button",
Next, I'm typing big number in quantity field (bigger than stock) and clicking "Add to cart button",
Success message appears on the screen; quantity of this product in cart is still 1.
Second scenario:
I'm typing big numer in quantity field
System returns following error: ""An exception occurred while executing 'INSERT INTO cart_product (quantity, createdAt, updatedAt, cart_id, product_id, attribute_id) VALUES (?, ?, ?, ?, ?, ?)' with params [87893287498, "2016-02-18 01:57:36", "2016-02-18 01:57:36", 12, 186, null]:SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'quantity' at row 1""

As you can see at https://github.com/WellCommerce/WellCommerce/blob/development/src/WellCommerce/Bundle/CartBundle/Resources/config/doctrine/CartProduct.orm.yml#L11-L13 the quantity field is mapped as integer which only allows values up to<PHONE_NUMBER> (see http://doctrine-orm.readthedocs.org/projects/doctrine-dbal/en/latest/reference/types.html#integer). You have to configure the quantity limit yourself - or use bigint for that field. As with every other e-commerce software you have to configure it to your needs.

@hacfi You're right. What do you think of:

setting a LessThanOrEqual in CartProduct validation

and

implementing an additional check (also against current product stock) here https://github.com/WellCommerce/WellCommerce/blob/development/src/WellCommerce/Bundle/CartBundle/Manager/Front/CartProductManager.php#L95-L106

I don't think that anyone will have to handle quantities greater than 1000-10000pcs.

Sounds good! You can provide a sensible default like 10.000 but should be possible to configure otherwise.

Now i think of custom constraint as i did for UniqueUsernameValidator.(https://github.com/WellCommerce/WellCommerce/blob/development/src/WellCommerce/Bundle/ClientBundle/Doctrine/Validator/Constraints/UniqueUsernameValidator.php) or UniqueEntityValidator (https://github.com/WellCommerce/WellCommerce/blob/development/src/WellCommerce/Bundle/RoutingBundle/Doctrine/Validator/Constraints/UniqueEntityValidator.php).
LessThanOrEqual doesn't accept constants, parameters etc. Quantity checker should be consistent in all places so custom constraint should do the job.

Fixed already - by using additional checks in order total visitor.


Add names, units and icons to APCUPSd Sensor

Description:
Add default names, unit of measurement and icon to APCUPSd sensor platform. This also simplifies configuration of the platform.
PLEASE NOTE: This is a breaking change.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#617
Example entry for configuration.yaml (if applicable):
sensor:
  - platform: apcupsd
    resources:
      - type: alarmdel
      - type: ambtemp
      - type: apc
      - type: apcmodel
      - type: badbatts
      - type: battdate
      - type: battstat
      - type: battv
      - type: bcharge
      - type: cable
      - type: cumonbatt
      - type: date
      - type: dipsw
      - type: dlowbatt
      - type: driver
      - type: dshutd
      - type: dwake
      - type: endapc
      - type: extbatts
      - type: firmware
      - type: hitrans
      - type: hostname
      - type: humidity
      - type: itemp
      - type: lastxfer
      - type: linefail
      - type: linefreq
      - type: linev
      - type: loadpct
      - type: lotrans
      - type: mandate
      - type: masterupd
      - type: maxlinev
      - type: maxtime
      - type: mbattchg
      - type: minlinev
      - type: mintimel
      - type: model
      - type: nombattv
      - type: nominv
      - type: nomoutv
      - type: nompower
      - type: numxfers
      - type: outputv
      - type: reg1
      - type: reg2
      - type: reg3
      - type: retpct
      - type: selftest
      - type: sense
      - type: serialno
      - type: starttime
      - type: statflag
      - type: status
      - type: stesti
      - type: timeleft
      - type: tonbatt
      - type: upsmode
      - type: upsname
      - type: version
      - type: xoffbat
      - type: xoffbatt
      - type: xonbatt

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If code communicates with devices, web services, or a:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[ ] New dependencies are only imported inside functions that use them ([example][ex-import]).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

As it's a breaking change anyway why not change - type: alarmdel to just - alarmdel?

Perfecto 🐬
Please help remind me that we note the breaking change for the release PR.


fixing UsernameJavaRegEx

This is already fixed with https://github.com/wso2/carbon-kernel/pull/257


Downloading gzipped files causes ChunkEncodingErrors, ProtocolErrors, and ConnectionResetErrors on Windows 10

I was trying to download a remote gzipped JSON file from my Win10 box using Python 3.5.1 and 2.7.11, and it kept erroring out. The remote content-encoding header is gzip. I tried using requests 2.9.2 and 2.10.0 on both versions of Python, installed in a virtualenv with pip. I tried the same code on Linux, it doesn't error out at all. I'm not sure if it's requests or Python which causes the problem, so I wanted to start here, since the problem definitely exists specifically on Windows.
With this code (chunk_size does not matter):
data = requests.get(url, stream=True)
with open(url.rsplit("/")[-1], "wb") as fh:
  for chunk in data.iter_content(chunk_size=1024):
    fh.write(chunk)

I would inconsistently get this trace back:
Traceback (most recent call last):
  File "H:\Programming\Python\virtualenvs\warehouse\lib\site-packages\requests\packages\urllib3\response.py", line 228, in _error_catcher
    yield
  File "H:\Programming\Python\virtualenvs\warehouse\lib\site-packages\requests\packages\urllib3\response.py", line 501, in read_chunked
    chunk = self._handle_chunk(amt)
  File "H:\Programming\Python\virtualenvs\warehouse\lib\site-packages\requests\packages\urllib3\response.py", line 461, in _handle_chunk
    value = self._fp._safe_read(amt)
  File "C:\Users\Mike\AppData\Local\Programs\Python\Python35\Lib\http\client.py", line 592, in _safe_read
    chunk = self.fp.read(min(amt, MAXAMOUNT))
  File "C:\Users\Mike\AppData\Local\Programs\Python\Python35\Lib\socket.py", line 575, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "H:\Programming\Python\virtualenvs\warehouse\lib\site-packages\requests\models.py", line 664, in generate
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "H:\Programming\Python\virtualenvs\warehouse\lib\site-packages\requests\packages\urllib3\response.py", line 349, in stream
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "H:\Programming\Python\virtualenvs\warehouse\lib\site-packages\requests\packages\urllib3\response.py", line 526, in read_chunked
    self._original_response.close()
  File "C:\Users\Mike\AppData\Local\Programs\Python\Python35\Lib\contextlib.py", line 77, in __exit__
    self.gen.throw(type, value, traceback)
  File "H:\Programming\Python\virtualenvs\warehouse\lib\site-packages\requests\packages\urllib3\response.py", line 246, in _error_catcher
    raise ProtocolError('Connection broken: %r' % e, e)
requests.packages.urllib3.exceptions.ProtocolError: ("Connection broken: ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)", ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "H:/Programming/Python/warehouse/main.py", line 55, in <module>
    compile_auctions(slugs)
  File "H:/Programming/Python/warehouse/main.py", line 44, in compile_auctions
    for chunk in data.iter_content(chunk_size=1024):
  File "H:\Programming\Python\virtualenvs\warehouse\lib\site-packages\requests\models.py", line 667, in generate
    raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)", ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

That traceback just indicates that the remote peer decided to stop sending data for no reason that it could communicate to us: we were expecting more data, and we didn't get any. In this case, it's right in the middle of a content chunk.
That doesn't really give us much to go with. The server could really be doing anything it wants. Do you happen to have access to server logs for this server?

No, sorry, I don't. I'm filing the bug report because this issue doesn't happen on Linux, using the exact same code. It very specifically happens on Windows. I don't know if Requests handles Windows differently than Linux, so I'd like to make the determination of whether this is a bug with Requests or a bug with Python on Windows.

Requests does very little differently on Windows, at least directly. However, there are a number of things that may accidentally differ between Windows and Linux. For example, OpenSSL versions are different, as are zlib versions. Even Python versions are usually different. This makes it extremely difficult to work out, at a surface level, what's going wrong.
Are you using HTTPS?

Also, are you working through proxies on the Windows machine?

Closing for inactivity.

I'm having a similar issue while using request when I run using python3.6 after few mins I get a response saying connection broken. if I run with python2.7 I get the expected output. I was able to get the expected output using postman, using curl but not with python 3.6 or 3.7.
Yes, it's an HTTPS server.
Any help is appreciated.


Fix handling of invalid values in form numerical inputs

What is the context of this PR?
This adds some extra form data clean up to strip down all supported number symbols but don't cause further errors as a result of bad string to integer/decimal conversion in transforms. It should prevent the issues with invalid number inputs we experienced in the past. Some logic changes were needed for handling all the expected behaviours in runner (eg. percentage field with decimal value as input need to get through process_formdata method and raise ValueError exception in order to fail form validation).
How to review
New tests added, make sure all possible inputs are covered. Are there any other form field classes that require this change?
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

My runner is breaking when inputting NaN.

This should result in "INVALID NUMBER" and "INVALID DECIMAL" form validation errors now, thanks.

Thanks, I've moved all helper methods to form helpers module now.


Updating Movies

When i want to update movie's from actionbar it doesn't work. I can see a notification that updating movie's but then nothing happened.
Same problem when i want to update my Series.

Please do not use Github issues for such reports. Also, I am no longer supporting Mizuu.

Please how I can solve this issue??
On 5 Apr 2016 02:08, "Michell Bak"<EMAIL_ADDRESS>wrote:

Closed #558 https://github.com/MizzleDK/Mizuu/issues/558.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/MizzleDK/Mizuu/issues/558#event-614181528


The sample file you shared doesn't work

This issue has been moved from a ticket on Developer Community.

[severity:I'm somewhat annoyed. A fix would be nice]
The file you shared here https://docs.microsoft.com/pl-pl/samples/xamarin/xamarin-forms-samples/userinterface-mediaelementdemos/  doesn't work. There is a problem visible in the attachment. How to fix that? Or can you send me a file that works?

Original Comments
Feedback Bot on 9/4/2020, 01:34 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Original Solutions
(no solutions)

Haven't heard anything back in 14+ days, so closing this one for now.


converted kernels to nbviewer pages

Converted the links of kaggle kernels to nbviewer pages.

Thank you @Nisag


[feature] increase the time picker steps

Hello,
First of all, thank you for the great plugin. I want to request a feature that improves the publication time setting.
The time picker next to the publish date is displayed per minute. Can this be adjusted to 15 minutes intervals? This functionality is supported by the Strapi TimePicker.
Optionally let users configure the interval option.
Screenshot

Have a nice day.

Same wish here to have configurable steps. Ideally, by half an hour and/or manual editing. Thanks for great work!

Adding it as a configurable option should be possible. I will look into adding this over the weekend.

This functionality has been added in the latest release (v1.2.0)


Update README.md

Added the project DataPond.ai integration with ICP in the AI section. The project participates in the ICP grant program.

Hello. Do I need to provide anything else as information? Will the process be continued/reinitiated automatically or does it need manual intervention?

Thanks for the ping. I re-run the failed job - All good - Thank you for your contribution.


dataset problem - Error deleting submission

Project: HumanMelanocyteDevelopment
I would like to delete a submission from a project in ingest (prod), however I am getting an unusual error trying to do. Would it be possible for a dev to delete the submission (and keep the project)?

uuid: a4f154f8-5cc9-40b5-b8d7-af90afce8a8f
ingest ui
dataset ticket: ebi-ait/hca-ebi-wrangler-central#853

This has also happened for an additional project when I tried to delete a submission:
SARS-CoV-2InfectionOralCavity - uuid dcbb50d1-9acf-4f70-9fda-b1f63a948c49
An error has occurred while deleting the submission w/UUID bb8ee0dc-97f9-4340-9c28-831162336a54 (SARS-CoV-2 infection of the oral cavity and saliva.)

Http failure response for https://api.ingest.archive.data.humancellatlas.org/submissionEnvelopes/6315e2c7f720a669b7be9ea0: 0 Unknown Error"

Still investigating.

There is a NullPointerException in the logs:
{"log":"\u0009at org.humancellatlas.ingest.submission.web.SubmissionController.forceDeleteSubmission(SubmissionController.java:372) ~[classes!/:na]\n","stream":"stdout","time":"2022-09-23T18:00:18.262577079Z"}
2022-09-23 19:00:18
{"log":"\u0009at org.humancellatlas.ingest.submission.SubmissionEnvelopeService.deleteSubmission(SubmissionEnvelopeService.java:240) ~[classes!/:na]\n","stream":"stdout","time":"2022-09-23T18:00:18.262571109Z"}
2022-09-23 19:00:18
{"log":"java.lang.NullPointerException: null\n","stream":"stdout","time":"2022-09-23T18:00:18.262566469Z"

DELETE https://api.ingest.archive.data.humancellatlas.org/submissionEnvelopes/6329972dd95e613712f0fe2a

504 GATEWAY TIMEOUT
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.

Ami was able to delete/ import a new submission without problems

I also got this error, but after a few minutes and a refresh it resolved and the submission was deleted

@amnonkhen to check whether still relevant

no longer relevant - closing


Explain "signal: kill" errors during submission

Added comment that better describes the issue as in:
failed to run spark-submit for SparkApplication namespace/job-timestamp: signal: killed #1287

@googlebot I signed it!


nodePackages.orval: init at 6.9.6

Description of changes
Add orval and rebuild node-packages.
Things done

Built on platform(s)

[ ] 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.11 Release Notes (or backporting 22.05 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.

@ofborg build nodePackages.orval

@tfc Please consider squashing and merging for PRs like this in the future, there's no point in having commits like 8ba9b8bed612b9624d0cc03b532a879aebc2b7ce and f46c9675a40e2d75bfbdee458a73f38f855d8c3d in master. Thanks!

Known problems with nix:

Orval generates different outputs as it is a little impure. (6.9.x)

e.g failed to import @tanstack/react-query

Just a brief comment to all users, that want to use the (orval) generator within a seperate build step for your node projects.
Orval in the current version (6.9.x) does search for your package.json and if it does not find anything, because you are in a different build-step in your isolated nix-builds it makes predictions about your project. If you cannot use the generated code you must either manually harmonize the dependencies of orval and your project, or (recommended) include the package.json of the project you want to generate your client for. example see here
#anymaniax/orval/issues/558

@tfc Please consider squashing and merging for PRs like this in the future, there's no point in having commits like 8ba9b8b and f46c967 in master. Thanks!

Why did nobody acknowledge this? It totally breaks git blame.

@dotlambda The only acknowledgement I got was a +1 reaction from the committer who merged it. I assume they've been more careful since :/


Support for New Relic Metrics Provider

Question
So i see that the current list of metric providers include Prometheus, Datadog and Cloudwatch. Is there a plan to add New Relic to that list?  This is perhaps the only thing that is holding us back from using Flagger across the board.
Is there a plan to add support down the line?

I've never used New Relic but I'm open to reviewing a PR for this. Doing a quick Google search for NRQL go-client nothing come up so I don't know how would someone implement it.

I did find something.

This look ok to me https://github.com/newrelic/newrelic-client-go/blob/master/pkg/nrdb/example_query_test.go so it should be doable if a New Relic user wants to add this feature to Flagger.

@stefanprodan can you give me some tips of how this can be done? I'm willing to implement this feature. We use NR a lot, especially NewRelic Insights.

@bernardoVale the NewRelic implementation should be similar to Datadog, please see https://github.com/weaveworks/flagger/blob/master/pkg/metrics/providers/datadog.go

A have added New Relic as a metrics provider in the following pull request: https://github.com/weaveworks/flagger/pull/691
I still have to do manual testing but I wanted to get some initial feedback on whether the work is headed in the right direction. Thanks!

Implemented in #691


.net support

Great product. Since the bulk of Enterprises are with using Java or c#, would be ideal to include .net support.

Thanks for the feedback! We're currently looking into .NET support for Datawire Connect, and we'll reply here when we have more info on that front. Appreciate your interest!


translate [quote] to

[quote]
some text
[/quote]

<blockquote>

some text

</blockquote>

Open to PR


ASP.NET Core Blazor Language Services Does not work with last .net core 3.0 Preview3

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core '...'
Run this code '....'
With these arguments '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Include the output of dotnet --info

Since @ehrojasf didn't really fill out the bug report I'll add my findings here since I'm running into the same issue.
I can't get a Blazor template project to build in VS 2019 Preview 4.1 with .NET Core 3.0 Preview 3.
Steps to Reproduce
After downloading and installing the following

Visual Studio 2019 Professional Preview (Version 16.0.0 Preview 4.1 SVC1)
.NET Core 3.0 Preview 3
ASP.NET Core Blazor Language Services from here

Create a new Blazor project (New -> Project -> ASP.NET Core Web Application -> Blazor)

Try to build project. I get the following errors.

I've gotten this template working after poking around a bit.

The template project is by default targeting .NET Standard 2.0. I changed this to .NET Standard 2.1.

The template .csproj references the wrong Blazor package versions. I changed all references from 0.8.0-preview-19104-04 to 0.9.0-preview3-19121-06.

After building and running I hit an exception and had to go into the bin/Debug/ directory and delete the previously generated directory for netstandard2.0.

Then building/running worked.

Sorry for not including all the information. The problem is happening in
Visual Studio Enterprise 2019 RC.
On Thu, Mar 7, 2019 at 1:12 PM Tyler McEntee<EMAIL_ADDRESS>wrote:

I've gotten this template working after poking around a bit.

The template project is by default targeting .NET Standard 2.0. I
changed this to .NET Standard 2.1.
[image: image]
https://user-images.githubusercontent.com/17259755/53989205-16788480-40eb-11e9-8ce0-d5809073ebf8.png
2.
The template .csproj references the wrong Blazor package versions. I
changed all references from 0.8.0-preview-19104-04 to
0.9.0-preview3-19121-06.
[image: image]
https://user-images.githubusercontent.com/17259755/53989220-1d9f9280-40eb-11e9-85c1-6464ca28b1cb.png
3.
After building and running I hit an exception and had to go into the
bin/Debug/ directory and delete the previously generated directory for
netstandard2.0.
4.
Then building/running worked.
[image: image]
https://user-images.githubusercontent.com/17259755/53989306-4a53aa00-40eb-11e9-87c8-2eb9e2985d37.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/AspNetCore/issues/8296#issuecomment-470695836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfQgUWE81tvbPbHbIznNObnjflTzmyoLks5vUYCrgaJpZM4bj8WE
.

--
Edgar H. Rojas
Sr. Software Engineer

Closing as we need more detailed steps in order to reproduce and investigate this issue. If you're still having this problem please open a new issue with clear steps to reproduce the problem.

Sorry to comment right after closing, but were my instructions not enough to go off of?