Extreme lag when starting/updating

Whenever the script starts up or updates, my cursor movement starts massively lagging, I'm talking moving every half second or so. It takes several seconds to stop.

I assume this started happening with the latest version. I changed how the client.txt is parsed on startup if the "current char" is specified in the general tab of the settings.
Do you have a "current char" set, and how large is your client.txt?

No, I've been noticing this for several leagues, I just never got around to report it.
My client.txt is 120 megabytes big, I guess that's the reason.

Hmm, okay. You could try renaming the client.txt and let the game create a new one (or simply delete it if you don't need it for other log-related apps).
Let me know if that does anything for startup-times.


Cleanup section implementation in CesiumInspector

Addition to #6956, to make click behavior of  title consistent to checkbox labels click behavior

Headers are now using h3 elements instead of being just text in a div
Full header is now clickable to collapse/expand section instead of just +/-
+/- symbols before section title are now added via css instead of js, so they can be replaced by designer
Title and content of a section are now grouped together into a container

Thanks for the pull request @SunBlack!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Thanks @SunBlack!  I'll take a look at this after the release goes out today


added timeline-gantt.py :)

Hi plotly Team,
I want to add this simple app.
The app lets users create timeline chart (gantt) using editable DASH DataTable.
The csv file that I use if from Plorly Repo Datasets as you asked here.
If you think it can help others I will be happy to contribute, if you have any changes you want me to do in the code please tell me :)
Regards,
Asaf

HI @Asaf95
Thanks!  I think this will be a great addition to the Example Index.  :tada:
To start,  can you make it so that you can run  timeline-gannt.py as a stand alone app?  I tried that and got a bunch of errors.

Thanks for doing the update.  Next step is to eliminate any runtime errors.
Currently if you enter an invalid date in Start column or something non-numeric in the Duration column you will get errors.  This will be a great demo for the typing feature in the DataTable https://dash.plotly.com/datatable/typing.  Try changing the columns to the following:
          columns=[
                {"id": "Task", "name": "Task"},
                {"id": "Start", "name": "Start", "type": "datetime"},
                {"id": "Duration", "name": "Duration in Days", "type": "numeric"},
                {"id": "Resource", "name": "Resource"},
            ],

If you delete all the rows, you will also get an error.  What would you like to do in that case?  Add a reset button to start over? Have an Add Task button?  Here is an example of adding rows:  https://dash-example-index.herokuapp.com/order-entry.
Note that the dcc.Store after the app.run_server has no effect and can be deleted.  The graph is being updated by the data in DataTable.
Next will be style and cleanup.

No worries about the 150 lines - it's a guideline and we're still OK. I :heart: this example.  It's so useful!
I think there will be a few lines of code we can eliminate, plus comment lines don't really count :-)
The final review can be very picky - so I appreciate your patience as this moves towards the finish line :slightly_smiling_face:

The add button works nicely :confetti_ball:
I thought it would also be nice to make the table sortable so you can put a new task in a certain order rather than always being at the end.  (added sort_action="native")  If you would like the figure to update when the table is sorted, then it's necessary to use the derived_virtual_data prop in the callback:

derived_virtual_data (list of dicts; optional): This property represents the visible state of data across all pages after the front-end sorting and filtering as been applied.

When I ran the new version, I noticed that it still has errors if you delete all the rows.  In that case, the table data is [] rather than None  -- so need to check for that in the callback.
Rather than having two callbacks, - one to update the table data and one to update the figure, it's more efficient to combine them into one callback.  (Less code, fewer callbacks triggered, less data going back and forth between the client and server).
Here's an updated callback:
(also changed the name of the new lines to "new_task" rather than "new_order_line")
@app.callback(
    Output("user-datatable", "data"),
    Output("graph", "figure"),
    Input("user-datatable", "derived_virtual_data"),
    Input("add-btn", "n_clicks"),
)
def update_table_and_figure(user_datatable: None or list, n_clicks) -> (list, dict):
    # initialize table when app starts
    if user_datatable is None:
        updated_table = get_default_csv_file()

    # if user deleted all rows, add a default row:
    elif user_datatable == []:
        updated_table = df_new_task

    # convert table data to DataFrame
    else:
        updated_table = pd.DataFrame(user_datatable)

    # add a row
    if ctx.triggered_id == "add-btn":
        updated_table = pd.concat(
            [updated_table, pd.DataFrame.from_records(df_new_task)]
        )

    updated_table = add_finish_column(updated_table)

    fig = plotly.figure_factory.create_gantt(
        updated_table,
        index_col="Resource",
        show_colorbar=True,
        group_tasks=True,
        showgrid_x=False,
        showgrid_y=True,
        bar_width=0.5,
    )

    return updated_table.to_dict("records"), fig

don't worry, you won't break me ;)

Haha - don't be so sure :rofl:   Actually, I like code reviews too.
Latest update is looking good.  I really like how you broke out the table schema as a separate variable.  It makes the table definition much easier to read.
Re comments, I prefer to make the code self documenting with clear code and good variable names rather than a lot of comments.  But I like to save that for the last pass.  No need to fix names or document code that ends up getting cut.
Can delete line 1, then instead of writing pandas.DataFrame it can be pd.DataFrame
import pandas
import pandas as pd

This won't work in production because this is a Pages app, and the title will update automatically, so this line can be deleted:
app.title = 'Time Chart App'

For style, most of the other apps in the Example Index with a DataTable just use CSS.  Would you like to make this a Bootstrap app?  I see you are already using Bootstrap class names here:
html.H1("Project TimeLine", className="bg-primary text-white p-1", style=APP_TOP_MARGIN),

However to make them work, you need to add a Bootstrap stylesheet:
app = Dash(__name__, external_stylesheets=[dbc.themes.SPACELAB], suppress_callback_exceptions=True)

Then you can  delete the APP_TOP_MARGIN variable (which doesn't contain margin anyway) and change the line to:
html.H1("Project TimeLine", className="bg-primary text-white p-1 text-center")

You can find more info here:  https://hellodash.pythonanywhere.com/adding-themes/bootstrap-utility-classes
We have a little room to add some more features.  What do you think about adding the Finish date to the table?  We could make that column "editable": False.  (Another good example -- this came up on the forum recently) Plus we could add a light grey background color - typical of disabled features.  That would be great since we don't have any conditional formatting examples in Index yet

Ok let me know when #122 is ready for review.  No need to close this one yet until #122 is completed.

Thank you @AnnMarieW for you guidance here. And thank you @Asaf95 for working on this. This will be a very good app for Dash users.

Closed by merging #122


Bug with getUploader API

https://github.com/ArweaveTeam/arweave-js/blob/92d690a52ed0b647f36d58a6eba28542ef609b18/src/common/transactions.ts#L347
When I pass the transaction ID to the getUploader method, the data gets the transaction information through the get API, but the returned upload data without the chunks field.
This causes the chunks check to not pass fromSerialized, so it will throw an error named Transaction chunks not prepared

i believe this issue may be resolved now. Can you check again?

no further issues being reported since previous fixes on uploader. marking as closed


Documentation – Change Template for E-Mail

How do I configure the E-Mail-Template for the Registration activation in /Configuration/Views.yaml
I tried
-
  requestFilter: 'mainRequest.isPackage("Neos.Neos") && isPackage("Sandstorm.UserManagement") && isController("Registration") && isAction("register")'
  options:
    templatePathAndFilename: 'resource://xxx.yyy/Private/EmailTemplates/ActivationToken.html'
    partialRootPaths: ['resource://xxx.yyy/Private/Partials']
    layoutRootPaths: ['resource://xxx.yyy/Private/Layouts']

But this changes the output on the website and not the activation mail.

Hey, overriding the E-Mail Templates is documented in the Sandstorm/TemplateMailer Documentation.
Basically you need to copy the template files from Sandstorm.UserManagement/Resources/Private/EmailTemplates to Your.Package/Resources/Private/EmailTemplates and add this little Snippet to your settings.yaml:
Sandstorm:
  TemplateMailer:
    templatePackages:
      20: 'Your.Package'


Make network compatible with bitcoind -chain=NETWORK

It would be nice if Network.to_string() could be used as an argument to bitcoind's -chain flag.
This could be done if Network::from_str supported main as an alias for Network::Bitcoin, and test as an alias for Network::Testnet. regtest and signet are already supported. For completeness, I would also add mainnet as an alias for Network::Bitcoin, since it's probably commonly used as an alias for mainnet that bitcoin.

Sounds good to me. I don't think there's any obvious reason for the existing to_string implementation.

I think changing Display would at least break electrs, probably other things too. ACK parsing aliases.
We could also have fn to_core_arg(self) -> &'static str but not sure if it works with the proposed custom signet support.

We could probably just do to_core_arg() -> String ... it's inefficient but so is everything related to constructing a command-line string, and it's not like it'll be done in a tight loop.


Added instructions to guide a customer to install the SSH extension

Mention of the SSH extension is almost lost in the article.  Updated makes things clearer and guides the customer to a working setup.

@gamcmaho : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Thank you! #sign-off


further edits to getting_started.rst

This is reading a lot better in my opinion
@jstac I was wondering whether you thought it would be a good idea to mention QuantEcon Notes in the "sharing Jupyter notebooks" section?
I fixed some typos etc. and added in links to things not previously mentioned ie. Anaconda and IJulia

Let's add in a mention of QuantEcon notes in the sharing section


base64() doese not work

I want to download an image and convert its content into base64 string.
Here is what I did:
RNFetchBlob
.config({
fileCache : false,
appendExt : imageExtension,
})
.fetch('GET', this.props.imageUrl, {
//some headers ..
})
.then((res) => {
// here the data would be something like {-10: '', -25: null}
const data = res.base64();
})
curiously, sometime later, the data would be changed into something like {-10: '"", -25: "quite long base64 string"}. I guess something done in native thread and changed the data. Anyway , i cannot get the base64 string.   Is there anything I am wrong ?
iOS11
RN 0.48
Thanks

I changed the way and it works as expect. But  it would be better if base64() works
let imagePath = null;
RNFetchBlob
.config({
fileCache : true,
appendExt : imageExtension,
})
.fetch('GET', this.props.imageUrl, {
//some headers ..
})
.then((res) => {
imagePath  = res.path();
// changes to use readFile
return res.readFile('base64');
}).then((base64ImageData)=>{
// I can use the base64 data now
// just for removing template file in case
return RNFetchBlob.fs.unlink(imagePath);
})

I tried, but I'm getting
[Error: RNFetchBlob request error: url == nullnull]

same error


Satndalone Clusters Met  "AttributeError: 'NoneType' object has no attribute 'get'"

I was trying to train a mnist model,but I met this erro:
Caused by: org.apache.spark.api.python.PythonException: Traceback (most recent call last):
File "/home/administrator/spark-2.2.1-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/worker.py", line 177, in main
process()
File "/home/administrator/spark-2.2.1-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/worker.py", line 172, in process
serializer.dump_stream(func(split_index, iterator), outfile)
File "/home/administrator/spark-2.2.1-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/rdd.py", line 2423, in pipeline_func
File "/home/administrator/spark-2.2.1-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/rdd.py", line 2423, in pipeline_func
File "/home/administrator/spark-2.2.1-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/rdd.py", line 2423, in pipeline_func
File "/home/administrator/spark-2.2.1-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/rdd.py", line 346, in func
File "/home/administrator/spark-2.2.1-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/rdd.py", line 794, in func
File "/home/administrator/TensorFlowOnSpark/tfspark.zip/tensorflowonspark/TFSparkNode.py", line 432, in _train
File "./tfspark.zip/tensorflowonspark/TFSparkNode.py", line 65, in _get_manager
logging.info("Connected to TFSparkNode.mgr on {0}, ppid={1}, state={2}".format(host, ppid, str(TFSparkNode.mgr.get('state'))))
AttributeError: 'NoneType' object has no attribute 'get'
this is my spark-env.sh
export SCALA_HOME=/usr/scala/scala-2.12.4
export JAVA_HOME=/usr/java/jdk1.8.0_151
export HADOOP_HOME=/home/administrator/hadoop-2.7.2
export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop
export SPARK_MASTER_IP=master
export SPARK_WORKER_CORES=1
export SPARK_WORKER_MEMORY=1G
export SPARK_WORKER_INSTANCES=1
export SPARK_EXECUTOR_INSTANCES=1
export SPARK_LOCAL_DIRS=/home/administrator/spark-2.2.1-bin-hadoop2.7
export SPARK_DRIVER_MEMORY=512M
I have 3 workers
this is my
spark-submit
--master=spark://master:7077
--num-executors 3
--executor-memory 1024M
--conf spark.dynamicAllocation.enabled=false
--conf spark.yarn.maxAppAttempts=1
--conf spark.executorEnv.LD_LIBRARY_PATH="/usr/java/jdk1.8.0_151/jre/lib/amd64/server"
--conf spark.executorEnv.CLASSPATH="/home/administrator/hadoop-2.7.2/bin/hadoop"
--py-files /home/administrator/TensorFlowOnSpark/examples/mnist/spark/mnist_dist.py,/home/administrator/TensorFlowOnSpark/tfspark.zip
--conf spark.cores.max=3
--conf spark.task.cpus=1 /home/administrator/TensorFlowOnSpark/examples/mnist/spark/mnist_spark.py
--cluster_size 1
--images examples/mnist/csv/train/images
--labels examples/mnist/csv/train/labels
--format csv
--mode train
--model mnist_model
I tried many methods,but they didn't work at all!  crying!

I get the same error when running the 3 step of training the model. I'm running this on Cloudera cluster using YARN. I successfully ran first two steps (store data as CSV and TFRecords ) Attached is the error file for more reference.  Attached PNG file shows more info on the Spark cluster UI in CDH. Not sure why the executors are timing out. I'm guessing that is one of the reasons for failure.
Any assistance will be helpful. Thanks!
tf_train_error_mnist
TF_error_mnist_train.txt

what is your command line?

Ubuntu14.04  I'm using a bash shell.

Sorry, meant: can you post the command line that you used?

No worries. Here is the comman I used:
spark-submit
--master yarn --deploy-mode client
--queue cpu --num-executors 4  --executor-memory 4g
--py-files TensorFlowOnSpark/examples/mnist/spark/mnist_dist.py
--conf spark.dynamicAllocation.enabled=false
--conf spark.yarn.maxAppAttempts=1
--conf spark.executor.heartbeatInterval=3600s
--conf spark.executorEnv.LD_LIBRARY_PATH="/opt/cloudera/parcels/CDH-5.8.2-1.cdh5.8.2.p0.3/lib:$LIB_JVM"
TensorFlowOnSpark/examples/mnist/spark/mnist_spark.py
--images hdfs://cluster-01.example.com:8020/user/mayub/mnist/csv/train/images
--labels hdfs://cluster-01.example.com:8020/user/mayub/mnist/csv/train/labels
--mode train
--model hdfs://cluster-01.example.com:8020/user/mayub/model_tf

Does this help? or we can take this offline to resolve it too.

Can you try --deploy-mode cluster?

thank you very much！But i have given up.i am really too busy to research this

@leewyang  I tried the '--deploy-mode cluster' option it doesn't help. I see that this issue is closed, do you want me to open a new one?

@mohammedayub44 yes, please file a new issue.


Makes tag browsing of blog posts work in languages other than English

This PR makes tag browsing of blog posts work in languages other than English.
The specific changes made were as follows:

Add ui phrase settings for tag search to the i18n/ja.toml
Reflect the latest status of blog posts, including tags to contents in the Chinese, Korean, and Japanese websites.

PR Status:

[x] Local test
[x] Ready for code owner review

Hi, @abangser. Thank you for reviewing!
There are different types of content, such as blogs, whitepapers, etc., and copying procedures are not the same. Therefore, it would be expensive to fully automate and maintain the process to ensure that it works correctly.
It is also difficult to determine what to do when the original text of a translated document is updated.
What about sending a warning message to the PR when the English content is updated and the other languages have not been updated? It is not perfect, but it would be useful to prevent forgetting to update.

What about sending a warning message to the PR when the English content is updated and the other languages have not been updated? It is not perfect, but it would be useful to prevent forgetting to update.

Nice idea @hhiroshell. I wonder if we could put together a simple github action for that? It can be a warning rather than a failure maybe? And maybe an extra enhancement could be a tagging of people who self-nominate as a language maintainer?
I am happy to take a stab at this but it may take a moment for me to get the time so most importantly I just want to see if this is a reasonable solution as I can open an issue and see if you or anyone else can beat me to the implementation!

Thanks, @abangser! I'm happy to try making such a feature with GitHub Actions. Anyway, I agree that we should first discuss whether the feature is reasonable in an issue. I'll create it.

@abangser
I've created an issue, so l think we should continue discussing the GitHub Action there.
Anyway, changes in this PR should be merged to make tag browsing work. I will remind about the review in the TAG Slack channel.

I agree @hhiroshell , I have done a review of the preview deploy and it seems to work as designed. Thank you for opening the other issue and I look forward to that one helping make all of this easier as time goes on!
@lianmakesthings / @joshgav  / @thschue I think you all have the power to approve this?


TX Witness data differs

Why does a same transaction signed separately have different witness values?
I signed a bitcoin testnet transaction using nbitcoin library and got an output:
02000000000101853b6bcbc78cf4cd621abb7edca78383ce15a34b6617347258d72d13ecb8fcbc000000001716001487463af228c128aad9371c3df1236d0518c32f44ffffffff01604898000000000017a9141b16cfd66b7f084bf95baf36d14df67f03ef23048702473044022015499aee1e03fc9dd853abf3a9307ebd19dfd9e4f5209a7810be48dfed1c698002205d6c0da0a26918ca38d5aaf9629f7dd71119334e168aafd9f3363f05cb06c967012102739a2f893507714c7e1b37510dede5aad15862b018f6ad9e9402e0b7290a133300000000
Then I signed the same transaction with bitcoin-core and it returned an output :
02000000000101853b6bcbc78cf4cd621abb7edca78383ce15a34b6617347258d72d13ecb8fcbc000000001716001487463af228c128aad9371c3df1236d0518c32f44ffffffff01604898000000000017a9141b16cfd66b7f084bf95baf36d14df67f03ef23048702473044022015499aee1e03fc9dd853abf3a9307ebd19dfd9e4f5209a7810be48dfed1c698002205d6c0da0a26918ca38d5aaf9629f7dd71119334e168aafd9f3363f05cb06c967012102739a2f893507714c7e1b37510dede5aad15862b018f6ad9e9402e0b7290a133300000000
On comparing the outputs, the txwitness stack value differs.
Bitcoin-core witness data :-
"txinwitness": [
"3044022015499aee1e03fc9dd853abf3a9307ebd19dfd9e4f5209a7810be48dfed1c698002205d6c0da0a26918ca38d5aaf9629f7dd71119334e168aafd9f3363f05cb06c96701",
"02739a2f893507714c7e1b37510dede5aad15862b018f6ad9e9402e0b7290a1333"
]
nBitcoin witness data :-
"txinwitness": [
"30440220376c73ba8bacbc791fc45ed596c8f973fe79ef0c1bb37a16fb2043dc0998ea62022027c7135359a103f243d865d89eb913e180ea751669b7a2f910b08eb3edcc76f501",
"02739a2f893507714c7e1b37510dede5aad15862b018f6ad9e9402e0b7290a1333"
]
But still, I'm able to send the transaction signed by nBitcoin.
So my questions are:

what are the values in witness stack?
why the same transaction have different txwitness value?

No idea. We use deterministic ECDSA with grinding to get 72 bytes sig instead of 73, which is what bitcoin core do. Maybe bitcoin core grind in a different way.

But still, I'm able to send the transaction signed by nBitcoin.

Are you sure you can send it? I mean, is it really accepted by the network?
I ask this because I think we found a case similar to this, but in our case electrs replied with this error message when trying to broadcast it (which we guess is forwarded from bitcoin-core):
 sendrawtransaction RPC error: {"code":-26,"message":"non-mandatory-script-verify-flag (Witness program hash mismatch)"}

/cc @canndrew

No idea. We use deterministic ECDSA with grinding to get 72 bytes sig instead of 73, which is what bitcoin core do. Maybe bitcoin core grind in a different way.

Ah interesting I came across a similar issue in the BOLT test vectors, does NBitcoin allow to configure the grinding?

Closing this one, related to https://github.com/MetacoSA/NBitcoin/issues/1008


Error: 13 INTERNAL: Received RST_STREAM with code 2 triggered by internal client error: read ECONNRESET

I got this error on Firebase Functions with firestore.document('...').onUpdate(...
while trying to call .set(newData, {merge: true})
The document was never updated with the newData
This happens occasionally (once every 200~1000 triggers or so)
Running this on firebase functions
Node@14
<EMAIL_ADDRESS><EMAIL_ADDRESS>Error: 13 INTERNAL: Received RST_STREAM with code 2 triggered by internal client error: read ECONNRESET
    at Object.callErrorFromStatus (/workspace/node_modules/firebase-admin/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/workspace/node_modules/firebase-admin/node_modules/@grpc/grpc-js/build/src/client.js:176:52)
    at Object.onReceiveStatus (/workspace/node_modules/firebase-admin/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/workspace/node_modules/firebase-admin/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /workspace/node_modules/firebase-admin/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
    at processTicksAndRejections (internal/process/task_queues.js:77:11)

@schmidt-sebastian Do you think you can take a look please?

Cuz someone explain alittle better?
Sent from my iPhone
On Jul 8, 2021, at 9:57 PM, Google Open Source Bot @.***> wrote:

I found a few problems with this issue:
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
This issue does not seem to follow the issue template. Make sure you provide all the required information.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

This is a duplicate of https://github.com/googleapis/nodejs-firestore/issues/1023. Let's discuss over there.


Implement WPD beamformer

I did not fully check the detailed lines, but the current design looks good to me.

there are several ASR related options (e.g., nlsyms, fbank_pitch) in wsj0-2mix/enh1/enh.sh. Do you keep them intentionally? --> correction. Now I found that you also include the ASR evaluation. This is very very good!!!

Hmm, I think they are just to be removed later. We are current not including ASR part in enh.sh.

I thought that it is good to have dnn_wpe in espnet2/asr/frontend/nets/dnn_wpe.py. What is your intention of using espnet.nets.pytorch_backend.frontends.dnn_wpe

Previously I was trying to design a multi-output WPE module for the multi-speaker case. After discussing with Aswin, I feel that may not be necessary for now. So I simply use the existing espnet.nets.pytorch_backend.frontends.dnn_wpe. If we want to make some changes to that module, I will create a new one in espnet2/asr/frontend/nets/dnn_wpe.py.

there are several ASR related options (e.g., nlsyms, fbank_pitch) in wsj0-2mix/enh1/enh.sh. Do you keep them intentionally? --> correction. Now I found that you also include the ASR evaluation. This is very very good!!!

Hmm, I think they are just to be removed later. We are current not including ASR part in enh.sh.

I thought that it is good to have dnn_wpe in espnet2/asr/frontend/nets/dnn_wpe.py. What is your intention of using espnet.nets.pytorch_backend.frontends.dnn_wpe

Previously I was trying to design a multi-output WPE module for the multi-speaker case. After discussing with Aswin, I feel that may not be necessary for now. So I simply use the existing espnet.nets.pytorch_backend.frontends.dnn_wpe. If we want to make some changes to that module, I will create a new one in espnet2/asr/frontend/nets/dnn_wpe.py.

I see.
Thanks!


Add double detection and auto hide.

Checks if new items already exists in any user feed.
If so, it is marked as double and will not be shown.

Your right. You accept it. if i set status REMOVED? or skipp the saving?

Updated Code

Dont know why the tests failed. i close this one and start a new one.


Configure progressive webapp

https://blog.truthlabs.com/building-a-progressive-web-app-in-react-11c77a7fccb3

@connor-g If you want to do any of this to the template, let me know.

OK, we need to add the manifest https://developers.google.com/web/fundamentals/web-app-manifest/ and a service worker. I think I can do the service worker with Workbox. The biggest issue is getting icon versions of the SVG.


Improvement set job failed when toAgentTaskRequest meet error

Proposed changes

set job failed when toAgentTaskRequest meet error
enable expr rewrite on create mv
fix alias agg query meet error
enable aggstate cast on nereids
disable curdate on mv

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall


Added magic str method to Class Maneuver

Fixes #873
After Adding the magic str method
>>> r = [-6045, -3490, 2500] * u.km
>>> v = [-3.457, 6.618, 2.533] * u.km / u.s
>>> ss_0 = Orbit.from_vectors(Earth, r, v)
>>> alt_f = 35781.34857 * u.km
>>> man = Maneuver.hohmann(ss_0, Earth.R + alt_f)
>>> print(man)
Hohmann Maneuver: [[7741.7245792200565 s, [-1198.05694561<PHONE_NUMBER>4<PHONE_NUMBER>4] m / s], [19341.606412234036 s, [1017.87432545 -766.19690196 -594.36550229] m / s]]

@jorgepiloto Do we need to add tests for changes?

@iamabhishek0 Always add tests for changes :)

@astrojuanlu Something like this?
>>> man = Maneuver.hohmann(ss_i, Earth.R + alt_f)
>>> print(man)
Number of impules: 2, Total Cost: 3.0605475392925996 km / s

@iamabhishek0 yes, but with fewer decimal places and without the need of print :)

Now it looks good.
>>> Maneuver.hohmann(ss_i, Earth.R + alt_f)
Number of impulses: 2, Total cost: 3.060548 km / s

This looks good now! Can you please squash all the commits into one?

This looks good now! Can you please squash all the commits into one?

Done!

I'm sorry to inform you that you're on a Git Mess™:

(https://github.com/poliastro/poliastro/network)
I am not sure how did you end up there. In any case, I will merge this PR manually.

Merged manually in 93042f5a3c2b43ab5c55ba7ba3eacb1e6dbb0799. Thanks @iamabhishek0!


Ensures field names are slugified for consistency

I wouldn't do this. They might be trying hard to match the requirements of an external system they are submitting content to, and nothing in Apostrophe or mongo will barf on a field name with an underscore, for instance, if they really want one.


Allow portal frame corners to be any occluding block

I noticed that most of the portal frames on my server do not have obsidian blocks in the corners.  They usually have dirt (at ground level) or stone brick blocks in the corners.  This pull request allows the portal frame corners to contain any occluding block.
I realize the if statement is complicated, but I tested all eight cases carefully, using Spigot 1.16.3.  If a frame block is not obsidian, the new code checks to see if the block is at a corner and if it is an occluding block.  If so, the block is considered valid.
I'm not sure of the purpose of frameBlocks.  I added the non-obsidian corner blocks to the Set to be consistent with the current behavior.  I don't know if having blocks other than obsidian in the Set will cause problems, but I didn't observe any.

In general superb idea, only two conflicting things here:

Material#isOccluding didn't exist in 1.8 so I would replace portalBlock.getType().isOccluding() with me.gorgeousone.netherview. blocktype.BlockType.of(portalBlock).isOccluding()
the BlockChangeListener tries to detect when portals get destroyed by listening to block breaking events. The listeners will check if a portal or obsidian block is being broken to determine that. This logic would need to be changed into checking for any Portal in that world if Portal#contains(new BlockVec(brokenBlock)) returns true.

If you could implement that, that would be awesome. Otherwise I'll have to find out how to merge this with a seperate branch first.

I see Material#isOccluding in https://helpch.at/docs/1.8.8/org/bukkit/Material.html#method_summary which is supposedly the 1.8.8 API.  I also see you using block.getType().isOccluding() in BlockChangeListener.  I tried my modified plugin with 1.8.8, and it appears to work correctly.
Still trying to understand the block breaking event processing. Maybe we can leverage the corner checks for this event.


custom serialization

hi, seems that frpc strictly bounded by databuf.rs, but what if we want to use other serialization system. like a bebop, bincode2 or smth like that?

The main reason is that, you need to generate encoding/decoding for client stub for that serialize format. Currently I only write for JavaScript.
Currently frpc only use subset of databuf crate, which are well defined, standardized and most importantly stable,
It will support more encoding that are both forward and backward compatible just like gRPC.

but what if we want to use other serialization system.

Then you need to generate client stub for that format.
code generation handle in this directory
I welcome any suggestions for improving our data standardization, Feel free to share any idea to improve current encoding strategy.

which are well defined, standardized and most importantly stable,

hi, just found that databuf doesn't useful for long-term systems/api, there's no support for deprecating/reserving fields as it done in protobuf serialization protocol, so, u can easily get messed with api versioning
i talking about Tag Number that describes uniqueness of fields
message Foo {
  double bar = 1; // <-- this `1` is tag number

}

there's no support for deprecating/reserving fields as it done in protobuf serialization protocol

Yes, Currently this API is not yet supported:
#[repr(u16)]
enum Action {
    Noop = 1,
    Add { x: i32, y: i32 } = 2,
    Print(String) = 3,
}

An object can be represent using Vec<Action>


Related issues:

#34

Instructions to review the pull request

The CI tests are enough

I marked it as ready to review, but don't merge otherwise it will conflict with your PR

Sorry merged and only then saw your comment.


[SAML] Enabling Artifact Binding doesn't provide the capability to configure Artifact resolve endpoint URL and other sub configurations.

Describe the issue:
User is unable to configure the Artifact resolve endpoint URL, artifact request/response signing configurations when artifact binding is enabled. User has to save the enable check box for the sub configs to be available. In Management console, once the artifact binding is enabeld, the sub configs are allowed to edit
How to reproduce:

Create a SAML connection
Navigate to the settings of the connections and click on "Enable Artifact bindings"
Verify the configurations below

Screen recording:
https://github.com/wso2/product-is/assets/106053688/4cf6d8d3-606e-42d3-9f7c-98c5f7cea8fb
Expected behavior:
The configurations are not allowed to edit.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

Issues addressed with this task :

[ ] Disable/enable the sub fields based on the state of the checkbox enabling Artifact Binding.
[ ] Remove duplicated hints - Improvement issue: https://github.com/wso2/product-is/issues/18705
[ ] Fix incorrect payload issue on update of artifact request/response signing configuration values


Handling cell details deep link

Why?
Handle in app universal link with /cells path
How?

Added the case in DeepLinksHandler
Resolve cell center in for a cell in DeepLinksHandler

Testing

Run the release scheme and open an explorer link

Additional context
fixes fe-707

Also clicking back from the cell station details doesn't open the explorer (and navigate to the respective cell), is that OK behavior?

Also clicking back from the cell station details doesn't open the explorer (and navigate to the respective cell), is that OK behavior or should it work otherwise?

It's the same approach with station details. I think UX-wise is the expected. Also, a functionality changing tabs and pushing a screen becomes more error-prone

I see, I have this functionality in both station & cells, but I think when we had discussed it back then it was just some kind of bonus if it's easily implemented. So I think we are good with proceeding as is, let's just implement only the other one above, regarding a cell not found.


Support for Touch Bar?

Hey team,
Do we have plan to support for Touch Bar? E.g., The Touch Bar segmented item could let you switch among preference panes.

No plans. The Touch Bar is dead. Even if it weren't, I wouldn't bother to support it personally.

Although I don't think the Touch Bar is killed by Apple (otherwise it shouldn't be appeared in 13-inch M2 MacBook Pro)...
... I do think it is not wise anymore to address Touch Bar support.
When Apple doesn't provide certain API, it will take a lot of work dealing with private APIs communicating with the Touch Bar. These API may be changed as the macOS evolves.


Fixes for Bitcoin Core v0.17 and security false alarm

This PR adds deprecation flags necessary to enable compatibility with the upcoming Bitcoin Core v0.17 release (issue #35). The developer tests needed to be recreated because of changes in signatures. I also discovered and fixed the false alarm in issue #36.
This PR is compatible with both v0.16 and v0.17 and should be merged and released ASAP so that Glacier isn't broken when v0.17 is released.

Note that this patchset is built on top of my segwit changes. If you're not ready to release segwit yet, let me know and I can rebase this onto the current 0.92 Glacier release.
One way or another we need to push out a new release before Bitcoin Core v0.17 is released.

Added the requested break, though I believe the focus on the decode-transactions script is becoming bikeshedding at this point.

LGTM


add mcps sample for galley tools

convenient for mcp server and client

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: irisdingbj
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: cmluciano
If they are not already assigned, you can assign the PR to them by writing /assign @cmluciano in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Patch RECORD file after patch WHEEL.

Updates size and hash of WHEEL file after it was patched.
@Mizux please advice whether this should be merged into stable or some other branch.

I signed it!

Hi,
Sorry for the delay.
I would like the thnak you for this PR even if I will reject this PR since I have done 3f0a13ca47bfc6d41e0ddf5c234d4fb0de9a2a49 (mostly based on your work)
Few points:

branch master is our devel branch, so please make a PR against it (next time ?), default branch stable is our release branch which bump from one release tag to an other...
In your PR you use:$(sha256sum ${FILE_TO_PATCH} | cut -c -64 | xxd -r -p | base64 | tr +/ -_ | cut -c -43)

I feel it, a little bit ad hoc without any reference to the python code (e.g. why using tr or -43) -> I've  prefered to try to use the same code used by setuptools.py -> rewrite it using a small python script
also the first cut -c -64 should have be awk -F '{print $1}' IMHO
In your PR there is no test/check that the sha256sum fix is correctly working -> I added a quick test using pex directly (first, I manage to reproduce your error by removing the sha256= sed)

BTW thanks a lots for this PR, don't hesitate to get back to me if you have some comments etc...
note: there was also a bug on master on Centos7, glog libraries which is installed in lib64 dir was not copied IIRC

Thanks. I'm glad that this got resolved.

In case you are still wondering:

tr +/ -_ because WHL files use URL-safe base64: https://en.wikipedia.org/wiki/Base64#Variants_summary_table

43 is the number of base64 characters needed to encode 256 bits with trimmed = padding: ceil(256/8 * 4/3)

@georgi-yanchev yes I know, I tried to reverse the setuptools.py on last Monday to figure out too ;)
https://github.com/pypa/wheel/blob/64e089fd175e38e0ea77975131384960c6f2223d/wheel/util.py#L26-L28
and
https://github.com/pypa/auditwheel/blob/d99cc1dea74207dc6891085bbb65c87538014d4f/auditwheel/wheeltools.py#L85-L88


GET /bus/wallet endpoint

This PR adds a new GET endpoint to the bus called /wallet.
The idea is to have more consistency between the hostd and renterd APIs so the response matches the response of hostd's /wallet endpoint apart from one missing field which we can't populate yet.
This exposes the scan height of the wallet for the first time, gives more information about confirmed balance and actual spendable balance and makes 2 other endpoints (balance, address) obsolete.
Closes https://github.com/SiaFoundation/renterd/issues/451

If we can't remove the routes that became obsolete, can we move them down and mark them as obsolete in the codebase and stop using them in the autopilot?  Perhaps we can remove them eventually.

If we can't remove the routes that became obsolete, can we move them down and mark them as obsolete in the codebase and stop using them in the autopilot? Perhaps we can remove them eventually.

I marked them as deprecated but left them in the wallet block since it looked kinda weird to move them down.
Ideally we can get rid of them as soon as the UI is updated.


Use new official images (Search Guard)

Do not merge yet, I get the following error in Kibana:
Unhandled rejection Error: Plugin hapi-auth-cookie already registered in: http://<IP_ADDRESS>:5601

@floragunncom do you have any clue why?
ref #95 #96

will have a look

https://github.com/elastic/kibana-docker does already have x-pack pre-installed

Yes, but X-Pack is disabled via env vars. Does it overlap?

you only disabled it for elasticsearch, not kibana. not sure if this is possible.

guess we need the disable config props also in kibana.yml

It's disabled for Kibana in the Docker Compose file  as well. I'll check if I left something behind.

@antoineco @floragunncom tell me when this is ready to merge.

@antoineco so is it ready to merge?

Yup!

Nice !
Thanks for the amazing work @antoineco ! :trophy: :clap:

Great work!


Rename symbol feature

It would be nice to have a feature to rename symbols (variables, structure fields, functions etc) in a syntax-aware way, and across all files of a package (or even inter-package, but I'm not sure about that).

would love to see this merged. it's been 7 months since the pull request I had made.

me too...

@DisposaBoy - Thanks for creating a great plugin for go development. I've written so much code with this tool!
Being able to safely rename a variable across an entire project from within the editor is a powerful capability. This PR would be a great addition to GoSublime. Once you've had the ability to rename any token at will in other languages, programming in go feels clunky. The good news: The go plugin for Intellij already supports this behavior and it's awesome. Just sayin'.

Pretty sure the project is abandoned. What with this pull request being a year old.

A great golang plugin has dead :(


Switch to github.com/atotto/clipboard, fix security bug on windows

I think the current code for WriteToClipBoard on Windows basically allows an attacker to run any commands on your system by sending a text (arbitrary code execution).
And this is done without confirmation (auto-accept).
You should never construct a shell command from user input without proper quoting / escaping.

Actually, exec.Command quotes the arguments, so maybe not very easily exploitable.
But still, can cause unexpected errors or side effects.
It's just not a good practice.

Actually, exec.Command quotes the arguments, so maybe not very easily exploitable. But still, can cause unexpected errors or side effects. It's just not a good practice.

Thank you for pointing out the security vulnerabilities in my project. Initially, I just wanted to create a simple command-line terminal program for file transfer, so I didn't consider all possible security issues. Later, I became busy with other matters and was unable to continue maintaining this project.
I really appreciate your attention and feedback regarding this project, and I will be more mindful of security and maintainability issues in the future. If I have the opportunity, I will consider improving this project and addressing these issues.
Thank you again for bringing these important matters to my attention!


Gene to biological process association

Description
This task involves selection of candidate sentences to annotate followed by manual classification of sentences as having a particular relation or not.

The Multiomics Provider is interested in gene-to-biological process associations mined from the literature generally, and links to apoptosis and cell differentiation processes specifically.

Anti-apoptosis is a common way for abnormal cells including cancer cells. If we can have a better understanding of which genes are associated with apoptosis from text-mining, and if we know gene to gene interactions from multi-omics datasets, we may be able to find a way to induce apoptosis of abnormal cells.  Similar to differentiation, we could also find ways to induce the differentiation of the abnormal cells.


General Menu System: Help

This menu system currently just plains to launch the browser to point to this page - at least until I get around to writing offline help.

Currently this works as described.


Flickering issue in iOS

Recently after updated to flutter 3.17.3, I found out that when the loading is first use in a page, it cause the flickering issue happen, however after that, there is no flickering happen. Maybe can help check what cause this happen? It only happen is iOS
https://github.com/gabriel-x-duarte/basic_loading_overlay/assets/62096300/542b01fa-3c3e-4564-9d05-d9aaa2897bf0

Hello Jacqueline! Thanks for reaching me!
This bug is quite weird. I haven’t seen this issue on my apps. I just ran an application on my mac M1 to try out and see if this bug happens with me, but it doesn’t . Do you know if when this bug happens, in the terminal, does it print any error? And if it do print errors, can you please share this information as well?
But I have a suggestion that might help you. First thing is that you mentioned that the version of flutter you are using is 3.17.3, but the latest stable release is 3.16.2, which is the version that I used to try to catch the error that you showed. I could not catch this bug in my application. So you might be using a Beta version of Flutter. This is actually not good for apps in production, because this versions are not well tested. So the suggestion that I give you is to change your flutter channel to Stable. I think this can solve the problem. If you cannot change to Stable version, another suggestion that I give you, is to try to give a little delay before calling LoadingOverlay.show() with Future.delayed(Duration(milliseconds: 150)). but I don’t think this will help, because I dont think this is the issue. I believe that this version 3.17.3 might have some problem.
Here you can see the flutter versions:
https://docs.flutter.dev/release/archive
Please let me know if you could fix this issue, and if there are any logs of errors in the terminal, please share with me.
Have a good day!


Design System: Item (Non interactive)

[ ] SelectLabel

[ ] ItemButtons

[ ] ItemSimple

@kyranjamie ok to move this one as well now that we have the flag and item layout?

I have already implemented this here: https://github.com/leather-wallet/extension/pull/4881


Powershell stager for http(s) listener

Empire Version
2.5
OS Information (Linux flavor, Python version)
kali-rolling 2019.1 x64, py 2.7.15+
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
The powershell stagers script created for the http listener, having https enabled, when executed generates an error in the communication channel with the server. The problem is the TLS protocol version used by default in powershell cli which is 1.0
Tested on

win10pro x64, PS version 5.1
win 7pro SP1 x64, PS version 3.0

Screenshot of error, embedded text output, or Pastebin link to the error
My http listener configuration

My stager multi/launcher configuration, also tested with windows/launcher_bat and windows/macro

PS payload executed on Win10 ["Request rejected: It's not possible to create a secure SSL\TLS channel..."]

Same thing on Win7

Packets exchanged between the server <IP_ADDRESS> and the win10 machine, same thing happens with the win7 machine

TLS version of the generated certificate used by the listener

Any additional information
I solved the problem forcing the payload agent generation on http.py file to use TLS1.2

I don't know if it's the best approach or solution, in my case it solves all the problems with the stagers

Any additional comments will be very appreciated.
Thank you to the Empire team for this wonderful framework

I this problem and @zinzloun 's solution resolved it for me as well.

What Win10 build and .NET version are you running on? I haven't been able to reproduce this.

What Win10 build and .NET version are you running on? I haven't been able to reproduce this.

I do not think that the problem is related to the .Net, as far as I know the .Net set the TLS version available but not the default used in PS. Anyway following the information that you have requested:

This is the CLR version used in my PS enviroment:

Can confirm. The same issue happened to me as well and @zinzloun's solution worked.


Add vectoriel pictogram field

Because #964 seems quite complicated, we can add a second field pictogram_vecto

In v2 pictograms are SVG


Vis specs: feature card block - medium

User story
As a maker of IBM.com experiences, I need design specs for the layout patterns that accurately reflect what's available in code so that I can design, build, and communicate with a clear understanding of what to expect.
Notes from the epic
There are a few different cases where the design spec may not reflect eh code accurately:

Some of the designs were changed during development for various reasons
Some of the designs specs were not created accurately as we went through the ontological restructuring of the patterns and subpatterns.

Acceptance criteria
All of the following patterns have dedicated, separate, and accurate design specs in their respective Box - [ ] Design specs are available in PDF format in this Box fodler

Have questions on what was changed within dev, versus what was missed between original spec and implementation.  Padding, background colors and hover state colors areas in question. Will check in first thing Monday.

Fyi @wonilsuhibm @larahanlon2 @oliviaflory , if you have input on this meanwhile.

This story is pending a new title for this pattern.  Pete on Reboot team is handling visual spec for the "Feature card", which is just the card part of this one, and will handle the hover states, colors, etc, there.  I will focus just on padding between elements for this spec.

This one is on temporary pause while focusing on Ideation stories around padding and visual spec standards, at least enough work to apply a rough working model for both on this visual spec.


Can't hear any sound on laptop and mobile

Thanks for launching the radio but I'm unable to hear anything. I tried on Chrome(Version 75.0.3770.100 (Official Build) (64-bit)), Firefox 68.0 (64-bit) and on Andriod mobile running latest Chrome and Brave browsers.

Please, and ignore my ignorance, can you confirm you're pushing play? Chrome and especially mobile require a user interaction to play audio automatically. If you just load the page, it won't play.

Just throwing this here, because it stuck me after reading your comment:
The progress animation for the radio could be misleading as the music playing, when it's actually not.
So, it makes sense to turn on the progress bar only when the play button is pressed.

Thanks, it's working now.

Thanks for the update. Let us know if you face this again.

I'm getting this problem too. Google Chrome on Ubuntu 19.04

@usersaurus, thanks for reporting this issue.
We are working on stability as we speak and we resolved a couple of issues that prevented listeners from tuning in.
I was wondering if you are still experiencing this problem.
If yes, could you try switching the stream on the top left side of the desktop view to an option with (relay 1) at the end and clicking on play button.

It's working flawlessly now :D Thank you so much.

@ahmadabdolsaheb Should we unpin this one?


Regex fix and test

@Grokzen I worked on this pull request from the master branch of pykwalify.

removed the encode method called against dictionary which was causing regex failed matches to fault.
added 3 failing unit tests to verify regex matching-rules for default 'any', declared 'any', and declared 'all' would properly run.
'all' was not an allowed unit test, so I updated the test_rule.py unit test to allow 'all'.
updated validation rules doc to clarify a bit what 'any' does, as I assume it should be 'one or more'.
updated failure messages for any or all so they were joined with 'and' or 'or'.  I believe this improves messages.  The previous join used three spaces which did not have provide enough clarity on the break-down of the mulitple regex's matched.
updated formatting on some comments.

I do need clarity on message I found in rule.py
# Verify that the provided rule is part of one of the allowed one
        allowed = ["any", "all"]
# ["none", "one", "all"] Is currently awaiting proper implementation

I presume this an artifact from development phase as 'any' and 'all' are in the documentation as supported.

Also you should add a note in the release notes file with a short description about your changes. Put it in a new section named Next release I will handle the merge conflict between this PR and the other one that is currently open. You can also (if you want) add yourself to Authors list in docs/Authors file.

The problem you are seeing is because of a minor quirk in py3.4 where items is not read and stored in the same way as the file specifies. It is somewhat random the order that it reads and itterates over the standard dict data structure and that causes problems in this case with the regex keys being read from file randomly.

The only good way currently is limit the test to check for the string Key 'foobar3' does not match all regex instead of the entire string and then possibly check if '^foobar.*$' and `'^.*[1-2]$'`` is inside the string but you do not really care in what order they are present.
The longterm solution would be to change how json and yaml is read to only work with OrderedDict:s that will order in a way that can be tested.

I merged the other PR so you should be able to rebase your code ontop of the new commits and resolv the conflicts on your end.

@Grokzen I went ahead and added commit to fix issue #25 and added unit tests to cover.  Release notes are updated to reflect the additional change.  Let me know if there is anything else needed for this PR.

@comagnaw I will review it in detail later today or possibly tomorrow and get back to you

@comagnaw LGTM, merging and will cut a release either later tonight or tomorrow


Get wrong result when I rerun demo

Hi, I ran notebook for segmentation. but I got very bad result.
Could you please tell me why it was happened. The link of notebook.
@sithu31296

Hello, thanks for reporting this. This is an issue related with gdown. Already fixed in latest commit.


Notes needs to be linked to GitHub Repo

Currently notes is fully dependent on s3 - we need to link a github repo to the app to update notes from there.
Two options:

Refresh button (easy)
Github actions bot (hard)

github actions bot done - updates s3 and pinecone


CONTRIBUTING.md clarifies the IP assignment rationale

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 57.081%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1181

Relevant Lines:
2069

💛  - Coveralls


update to angular-in-memory-web-api 0.5.0 and httpClient (#134)

Updated the angular-in-memory-web-api package to 0.5.0.
Updated the project to use HttpClient instead of Http

This pull needs to be accepted. Would prevent confusion associated with the Angular 5.2.6 Anguluar Tour of Heroes tutorial.

fixed, thanks


[Theme voting] Order of choices

Currently the order of choices is +1,  0, -1.

(@timbeaudet)
I feel +1 0 -1 is backwards, the number-line typically works like: -1 0 1

As tim says this is backwards to how these numbers are normally displayed.

And maybe we better change the labels to something more understanable. For example, 👍 , 👎 👌 or something...

I think +1 and bright green and -1 and red would be pretty hard to get confused about.

Yes, but they are gray.

Also remember colour-blindness. Red and Green in particular are two colours
you shouldn't rely on as the only source of information. Fortunately the
+1/-1 work.
I personally think the number system we use makes sense
On Mon, 17 Apr 2017 at 10:53, Egor Dorichev<EMAIL_ADDRESS>wrote:

Yes, but they are gray.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ludumdare/ludumdare/issues/632#issuecomment-294541577,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ13DiqlIifD6bHQfZKv0dT3O4CFz0anks5rw6cLgaJpZM4M_Wk7
.

Looks like this is how we used to do it.

I'm open to changing it if there's a good reason.

I guess it has always been backwards but look at what I've started. The only reason I'm, for the change is following a more natural number-line.

If somebody wants to make the tweak to the code src/com/content-event/event-list.js (??), I will accept it.

Happy Birthday Tim, courtesy of @zwrawr. :smile:

About as many people that complained about the order being backwards complained that the original order was better. Main criticism is that "positive first" is more positive.

Jordan Carroll reached out to me on twitter and had a great point. I asked him to post here, but I couldn't wait. :wink:

Hey! Suggestion for Theme Voting: what if we had three ranked choices instead of +1/-1 on each?
I.e. Three choices to get +30, +20, and +10 or somesuch. Would be more positive than the final choices all having a large negative total. :)

I've always disliked having to report negative scores for themes. If we ditch the -1 and add a +2 that should change the tone nicely. Even though it's effectively the same, positivity FTW. :+1:
Then comes the question of
+0 +1 +2

vs.
+2 +1 +0

:wink:
Also the colors.

Oy vey, look what I started... I'm sorry y'all.

Hey this whole website redesign from-the-ground-up is about making things better. We should be questioning every decision. :wink:

Although it's the same mechanically, +0 +1 +2 seems a bit arbitrary to me.
+0 Implies "I'm neutral towards this theme"
+1 Implies "I like this theme some?"
+2 Implies "I like this theme...2x better than +1?"
With -1/0/+1 you at least get a dislike/like/neutral scale.
You could take the YouTube approach and track likes and dislikes.
You could take the Twitter approach and only track likes.
You could take the Reddit approach and track the delta between likes and dislikes.
I think it's worth noting that none of these platforms have a 'click for no change' option. It might simplify things if you had a positive vote, a negative vote, or do nothing to express neutrality/apathy.
Alternatively, if all the negativity was handled in the Theme Slaughter, just have a like button for the remaining themes.

There was a bit of conversation on IRC about positive to the left making a positive vote the "primary" choice. This was some context provided (afraid I lost who provided the link): https://ux.stackexchange.com/questions/58344/upvote-downvote-button-order
I'll be the first to admit I don't fully understand the implications - votes have been heavily negative in the past, particularly in the last few LDs, so does that mean the primary choice will be selected the least? Or that could simply be a thing which tends to happen when people get emotionally involved with the idea of their favorites winning and a large group of the total participants will always default to mostly negative votes.
Of course, the majority of websites that I have seen which have a horizontal layout of positive and negative things put the positive on the left. I suspect that either there is a fair bit of research that drove so many websites to that decision, or it seems natural (for possibly hard to understand reasons), or it just has become a sort of default. Any of those reasons are worth considering.
I'm not a fan of not having a negative vote, as a theme you hate could make it past the Slaughter and I rather like being able to downvote a theme that is, say, highly similar to a past theme (though having a negative option at all may inevitably lead to the large negative scores we normally see, which I dislike even more). I do like having a neutral choice, as it feels more active - explicitly choosing to have a neutral opinion on a theme. I think moving to a +2 / +1 / +0 scale would just shift things - 0 would not longer be the neutral choice, +1 would be - but might indeed make things feel more positive.
There is also the very different alternative of ranking all themes relative to each other; Theme A is 1, Theme B is 2, etc., then granting the top theme 20 points (or whatever works for the number of themes), the next-to-top 19 points, repeat down to the final point. I only mention this as a side note, since I brought it up during a conversation on this the other day; after thinking on it, I prefer something closer to what Ludum Dare has now.

I agree, having negative votes is important I think and although +0 +1 +2 is technically the same it feels very different.
I also want to say that -1/0/+1 is the way that makes the most sense to me :)  But it's very much a 'bike shed' style issue. It's very trivial, and so everyone has an opinion. Will it really change anything? Almost definitely not. So we should just make some decision and move on, I think.
On ranking the categories: I think ranking themes takes more effort, and you lose the ability to only vote up a few (or only vote down a few).

On the note of repeat themes, I wonder if during the slaughter or suggestion phases we could show all past themes for reference, or a "This might be similar to...." UI element.
As far as voting goes, it's somewhat disheartening to see that the themes are usually ones that ended up being disliked the least, rather than everyone being actually excited about it. To that end, instead of mass-ranking all themes, if instead we picked our top 3? This accomplishes a similar result to ranking without the headaches. You pick one theme to get +3, then +2, then +1, and you're done.

I like the -1 0 +1 better. It's called Theme Slaughter, and it's all about getting rid of themes that suck. -1 for me represents exactly that.
If anything, I could imagine the final voting round adopting a 0/1/2 or even a 1/2/3/4/5 scheme. Here we got rid of all the junk and what remains has to have some merit.

@Cerno-b FYI Theme Slaughter is different to the Theme Voting. Slaughter happens before the voting, where you say good or bad to theme suggestions, out of the pool of every theme that's been suggested, voting is just the thing that happens in the last few weeks.

Ah, sorry, I thought this was about the whole process. Well, then I wouldn't mind either way.
Of course we could try preferential voting, which I generally like a lot.
There are different options:

every user can rank every theme on a scale from 0 to 9
every user has 10 points to give and can distribute them among themes (accumulation on a single theme is allowed)
every user has to rank the themes from best to worst (implying a score from 1 to 20)

However, these can be problematic if people want to game the system, as they could pile up their points on their favorite theme, which is currently possible as well, but with weighted values it would become much easier. On the upside, you may get more fine-grained information, especially with variant 3, which forces people to actually consider how much they like themes compared to others.


outline: 0.69.2 -> 0.70.0

Description of changes
https://github.com/outline/outline/releases/tag/v0.70.0
Starting with outline 0.70.0 DB migrations are run via umzug and no longer by calling the sequelize command at runtime, with this upstream change we can remove our patch and some code from the NixOS unit.
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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

Awesome, thanks!
Mind bumping to 0.70.2 while you're at it?

Would you consider backports for NixOS 23.05 given that current Outline is using Node.js EOL?


RFC: support multi store in single cluster

@xiang90 @hongchaodeng
IIUC, currently one etcd cluster just has one store. I think we should support multi store in single cluster: user create a store first, and then CRUD keys in that store.
The reason I want to support multi-store is: the current k8s put different resource into different etcd cluster(for example, use a dedicate cluster to save hot data Event/Pod/Node). I'd like put different resource in different store(but a in single etcd cluster), and different store could have its own global index, instead of a cluster-global index.
Putting all data in one cluster bring some maintenance benefit, for example, if I want upgrade etcd from v2 to v3, I just need upgrade one cluster.
I can work on it if you guys think this is a good idea.

According to my understanding, the serializable isolation requirement should apply to store, instead of cluster, just like traditional DBMS, we could create several DBs in one server, and configure each's isolation level.

We do not have any plan to support multiple store/raft inside one etcd cluster. It will significantly complicate the design of etcd and bring little benefits in my opinion. User can always set up multiple etcd clusters and shard the data themselves.
One etcd cluster can sever millions of keys and 10,000s requests per second. Can you provide me a use case that you need a metadata store that requires more than this scale?
For Kubernetes, the current bottleneck is not etcd. There are tons of thing we want to solve inside kubernetes before we want to look at etcd. However, that is separate discussion that should happen inside kubernetes repo.

According to my understanding, the serializable isolation requirement should apply to store, instead of cluster, just like traditional DBMS, we could create several DBs on one server, and configure each DB's isolation level.

You can set up multiple etcd clusters on one server, just like you can setup multiple MySQL instances (or other traditional DBMS) on one physical server.

@mqliang
f you want to help us improving the scalability of etcd, the best place is the proxy. We do want to scale read/watch through proxy layer. I
Right now, we have a "working" kv proxy doing basically anything: https://github.com/coreos/etcd/blob/master/proxy/grpcproxy/kv.go#L34.
We want to cache the data we write through the proxy. For range queries, we want to read through the cache first. Also there will be cache invalidation involved.
Moreover, we want to have a watch proxy that coalesce multiple watchers into one watcher.
For you multiple stores idea, we will consider it if there is a strong need from the community. Kubernetes use case is not valid in my opinion.

@xiang90

If you want to help us improving the scalability of etcd, the best place is the proxy.

Ok, I will take a look.

For you multiple stores idea, we will consider it if there is a strong need from the community. Kubernetes use case is not valid in my opinion.

Ok. The reason I'd like to use multiple store is because we use high performance server, one single cluster just use a small part of resource. Then we setup multi cluster on one physical server, but it brings some maintenance burden to us. It's not a really strong need.

:+1:
Agree with both of you.
A very simple use case to think of is to support multiple training/testing environments within an org with the same etcd cluster which simplifies maintainability and cost, instead of going for prefixes that signify environment name (which seems like a hack).
Though I agree that a hack is available easily so this change may not be needed.


Function | decoder parameters

We have a need to access additional device uplink fields inside the decoder function (e.g. dev_eui, fcnt, reported_at, rssi). Currently only payload and port are available as function parameters.

internal ref: 10295


'MLTSVM' object has no attribute 'wk_norms'

When I try to predict test set i have this error:
'MLTSVM' object has no attribute 'wk_norms'
Here is my classifier trained params:
MLTSVM(c_k=0.5, lambda_param=1.0, max_iteration=500, sor_omega=1.0,
threshold=1e-06)

What type do the inputs have? Are they dense (numpy.ndarray) or sparse?


Extension issue

Issue Type: Bug
Extension Name: git
Extension Version: 1.0.0
OS Version: Windows_NT x64 10.0.19043
VS Code version: 1.69.2

:warning: We have written the needed data into your clipboard.

@EricSsSnake, does this happens consistently with a particular folder/workspace?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


gRPC connection hangs on PineA64

Alright, so I've got sound both recording and playing back perfectly using both arecord/aplay as well as the googlesamples.assistant.audio_helpers functions.
However, when I run googlesamples.assistant, I hear nothing, and when I press Enter, I get "Recording audio request." and nothing else. I've tried giving requests, even tried yelling into the mic. Absolutely nothing. Just sits there at Recording.
To be clear, I'm using a different device, however the dependencies have all been met. (PineA64) and as I said, audio is recording and playing back perfectly.
any insight on how I might diagnose the issue?

What happens if you run the samples with -v ?

INFO:ubuntu:Connecting to embeddedassistant.googleapis.com
Press Enter to send a new request...
INFO:ubuntu:Recording audio request.
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/root/env/lib/python3.4/site-packages/googlesamples/assistant/main.p                                                                                y", line 320, in
main()
File "/home/ubuntu/env/lib/python3.4/site-packages/click/core.py", line 722, in cal                                                                                l
return self.main(*args, **kwargs)
File "/home/ubuntu/env/lib/python3.4/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/ubuntu/env/lib/python3.4/site-packages/click/core.py", line 895, in invok                                                                                e
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/env/lib/python3.4/site-packages/click/core.py", line 535, in invok                                                                                e
return callback(*args, **kwargs)
File "/home/ubuntu/env/lib/python3.4/site-packages/googlesamples/assistant/main.p                                                                                y", line 313, in main
continue_conversation = assistant.converse()
File "/home/ubuntu/env/lib/python3.4/site-packages/tenacity/init.py", line 87, in                                                                                wrapped_f
return r.call(f, *args, **kw)
File "/home/ubuntu/env/lib/python3.4/site-packages/tenacity/init.py", line 235, i                                                                                n call
do = self.iter(result=result, exc_info=exc_info)
File "/home/ubuntu/env/lib/python3.4/site-packages/tenacity/init.py", line 194, i                                                                                n iter
return fut.result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 395, in result
return self.__get_result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_resu                                                                                lt
raise self.exception
File "/home/ubuntu/env/lib/python3.4/site-packages/tenacity/init.py", line 238, i                                                                                n call
result = fn(*args, **kwargs)
File "/home/ubuntu/env/lib/python3.4/site-packages/googlesamples/assistant/main.p                                                                                y", line 101, in converse
self.deadline):
File "/home/ubuntu/env/lib/python3.4/site-packages/grpc/channel.py", line 363, in __                                                                                next
return self._next()
File "/home/ubuntu/env/lib/python3.4/site-packages/grpc/_channel.py", line 357, in _n                                                                                ext
raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.                                                                                DEADLINE_EXCEEDED, Deadline Exceeded)>
(env) ubuntu@DietPine:~# python -m googlesamples.assistant -v
DEBUG:google.auth.transport.requests:Making request: POST https://accounts.googl e.com/o/oauth2/token
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1)                                                                                : accounts.google.com
DEBUG:requests.packages.urllib3.connectionpool:https://accounts.google.com:443 "                                                                                POST /o/oauth2/token HTTP/1.1" 200 None
INFO:ubuntu:Connecting to embeddedassistant.googleapis.com
Press Enter to send a new request...
INFO:ubuntu:Recording audio request.
DEBUG:ubuntu:ConverseRequest: config {
audio_in_config {
encoding: LINEAR16
sample_rate_hertz: 16000
}
audio_out_config {
encoding: LINEAR16
sample_rate_hertz: 16000
volume_percentage: 50
}
}

and if I leave it for several minutes(around 5-10?) it spits out this:
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/ubuntu/env/lib/python3.4/site-packages/googlesamples/assistant/main.py", line 320, in
main()
File "/home/ubuntu/env/lib/python3.4/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/env/lib/python3.4/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/ubuntu/env/lib/python3.4/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/env/lib/python3.4/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/ubuntu/env/lib/python3.4/site-packages/googlesamples/assistant/main.py", line 313, in main
continue_conversation = assistant.converse()
File "/home/ubuntu/env/lib/python3.4/site-packages/tenacity/init.py", line 87, in wrapped_f
return r.call(f, *args, **kw)
File "/home/ubuntu/env/lib/python3.4/site-packages/tenacity/init.py", line 235, in call
do = self.iter(result=result, exc_info=exc_info)
File "/home/ubuntu/env/lib/python3.4/site-packages/tenacity/init.py", line 194, in iter
return fut.result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 395, in result
return self.__get_result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
raise self._exception
File "/home/ubuntu/env/lib/python3.4/site-packages/tenacity/init.py", line 238, in call
result = fn(*args, **kwargs)
File "/home/ubuntu/env/lib/python3.4/site-packages/googlesamples/assistant/main.py", line 101, in converse
self.deadline):
File "/home/ubuntu/env/lib/python3.4/site-packages/grpc/_channel.py", line 363, in next
return self._next()
File "/home/ubuntu/env/lib/python3.4/site-packages/grpc/_channel.py", line 357, in _next
raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.DEADLINE_EXCEEDED, Deadline Exceeded)>
and terminates.

Yep, it sounds like something might be off with the networking.
Are you able to call other API successfully from that setup?

I haven't really tried a whole lot else yet, this is a fresh install. but network connectivity for other tasks work fine so I really don't know.

Were you able to run the auth_helpers successfully too?

yep! all setup up to actually running the assistant sample worked perfectly.

@kronflux can you share the details of your setup:

microphone
speaker
board revision

I'd like to try reproducing your issue.

Microphone is a cheap ebay USB one which doesn't have a brand name or markings on it
http://www.ebay.ca/itm/USB-Stand-Instrument-Mic-Microphone-for-Tablet-Laptop-Black-Mini-Studio-/182547604720
Speaker is using the analog audio jack, and is of no particular interest(I built it, but it's working for everything, so any old analog speaker should do)
Board is PineA64 A64-DB-V1.1 2G (201-A64DB110-02)
OS is DietPi(debian based)

Are you connected to the network thru ethernet?

WiFi (signal strength is excellent[using Google OnHub])
Are there any particular ports that it uses, that I might want to try forwarding?

WiFi (signal strength is excellent[using Google OnHub])

Are you using the Pine64 wifi module https://www.pine64.org/?product=wifi-802-11bgn-bluetooth-4-0-module for that?

Are there any particular ports that it uses, that I might want to try forwarding?

Traffic should only be long-lived outbound HTTP/2.0 + TLS

Yep! That's the guy. Came with mine :)


Add dwsq by asd

Song Name
Quintana
Artist Name
Travi$ Scott
Source
Direct file download
Youtube Link
No response
Direct File Link
https://cdn.discordapp.com/attachments/811310573748748318/1256067519966478407/16.mp3?ex=667f6b89&is=667e1a09&hm=5858689dbe41c327af932770bc8f7690f1669718ebf4153300448dea6df98d44&
Song ID
498828
Start Offset [ms]
No response
Extra
Created from Auto Nong.
Created for level: 104161112

discord links are not supported. I suggest uploading it to YouTube or using the original song from YouTube


Unable to perform inference task.

Hi, all
I used 1.5.0 for a few days. I have trained a homo-lr model and I wanted to make an inference task.
But I found I could not selected test data on the UI. I studied the service code (primihub-service) and found it get resource information from local db (not from fusion db).
I also found there was no infer codes (*fbl) for hetero-xgb in "templates" path of primihub-service.  Can the platform now do the inference task for hetero-xgb?
Thanks for your job and looking forward to your reply.

About homo lr reasoning, local data is mainly selected for back-end discovery services.
Please wait patiently for the hetero xgb model. We will integrate and release it as soon as possible.


caddy-auth-portal local authentication password management fails on windows

Describe the issue
When attempting to use caddy-auth-proxy on windows 10 with local authentication configured, I can not set the webadmin password in a way that works in my user-db.json file, following the https://github.com/greenpau/caddy-auth-portal#password-management instructions.
Note that we have found no issue in our linux instance of caddy configured the same way.  A windows based dev team member needing to work with caddy in place is why we are setting up the windows version.
I have installed go and the bcrypt-cli based on the instructions, and generated the new password.
PS F:\caddy> echo -n "TestPass123" | bcrypt-cli -c 10
$2a$10$vjMGojq2Y/RR2FBQSxrtsulyFx2AQ4T1lXm/tzl25v2MeAkV.gKVu

The resulting user_db.json entry looks like this:
{
  "revision": 1,
  "users": [
    {
      "id": "e5b8a095-c5d2-4a02-8bb1-858f5436b65c",
      "username": "webadmin",
      "email_addresses": [
        {
          "address"<EMAIL_ADDRESS>          "domain": "localdomain.local"
        }
      ],
      "passwords": [
        {
          "purpose": "generic",
          "type": "bcrypt",
          "hash": "$2a$10$vjMGojq2Y/RR2FBQSxrtsulyFx2AQ4T1lXm/tzl25v2MeAkV.gKVu",
          "cost": 10,
          "expired_at": "0001-01-01T00:00:00Z",
          "created_at": "2020-12-07T21:37:48.5852725Z",
          "disabled_at": "0001-01-01T00:00:00Z"
        }
      ],
      "created": "2020-12-07T21:37:48.5852725Z",
      "last_modified": "2020-12-07T21:37:48.5852725Z",
      "roles": [
        {
          "name": "superadmin"
        }
      ]
    }
  ]
}

I have tried multiple times but each time the caddy server returns invalid password errors.  You can see the authentication errors at the end of this log.  I've included the startup as well to show caddy loading properly...
2020/12/16 13:45:50.147 ←[34mINFO←[0m   using adjacent Caddyfile
2020/12/16 13:45:50.164 ←[34mINFO←[0m   admin   admin endpoint started  {"address": "tcp/localhost:2019", "enforce_origin": false, "origins": ["localhost:2019", "[::1]:2019", "<IP_ADDRESS>:2019"]}
2020/12/16 13:45:50.164 ←[34mINFO←[0m   tls.cache.maintenance   started background certificate maintenance      {"cache": "0xc000430ee0"}
2020/12/16 13:45:50.172 ←[34mINFO←[0m   http    server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 443}
2020/12/16 13:45:50.172 ←[34mINFO←[0m   http    enabling automatic HTTP->HTTPS redirects        {"server_name": "srv0"}
2020/12/16 13:45:50.173 ←[34mINFO←[0m   tls     setting internal issuer for automation policy that has only internal subjects but no issuer configured  {"subjects": ["<IP_ADDRESS>"]}
2020/12/16 13:45:50.174 ←[34mINFO←[0m   http.handlers.auth_portal       JWT token name found    {"instance_name": "portal-1", "token_name": "access_token"}
2020/12/16 13:45:50.174 ←[33mWARN←[0m   http.handlers.auth_portal       JWT token issuer not found, using default
        {"instance_name": "portal-1"}
2020/12/16 13:45:50.175 ←[33mWARN←[0m   http.handlers.auth_portal       JWT token origin not found, using default
        {"instance_name": "portal-1"}
2020/12/16 13:45:50.175 ←[34mINFO←[0m   http.handlers.auth_portal       local backend configuration     {"db_path": "F:\\caddy\\assets\\conf\\local\\auth\\user_db.json"}
2020/12/16 13:45:50.177 ←[34mINFO←[0m   http.handlers.auth_portal       validating local backend        {"db_path": "F:\\caddy\\assets\\conf\\local\\auth\\user_db.json"}
2020/12/16 13:45:50.183 ←[34mINFO←[0m   http.handlers.auth_portal       JWT token validator provisioned {"instance_name": "portal-1", "access_list": [{"action":"allow","values":["anonymous","guest","*"],"claim":"roles"}]}
2020/12/16 13:45:50.183 ←[34mINFO←[0m   http.handlers.auth_portal       provisioned plugin instance     {"instance_name": "portal-1", "started_at": "2020/12/16 13:45:50.174"}
2020/12/16 13:45:50.184 ←[34mINFO←[0m   http.authentication.providers.jwt       provisioned plugin instance     {"instance_name": "jwt-2", "started_at": "2020/12/16 13:45:50.184"}
2020/12/16 13:45:50.186 ←[34mINFO←[0m   http    enabling automatic TLS certificate management   {"domains": ["<IP_ADDRESS>"]}
2020/12/16 13:45:50.188 ←[33mWARN←[0m   tls     stapling OCSP   {"error": "no OCSP stapling for [<IP_ADDRESS>]: no OCSP server specified in certificate"}
2020/12/16 13:45:50.224 ←[34mINFO←[0m   pki.ca.local    root certificate is already trusted by system   {"path": "storage:pki/authorities/local/root.crt"}
2020/12/16 13:45:50.227 ←[34mINFO←[0m   autosaved config        {"file": "C:\\Users\\melvin\\AppData\\Roaming\\Caddy\\autosave.json"}
2020/12/16 13:45:50.227 ←[34mINFO←[0m   serving initial configuration
2020/12/16 13:45:50.229 ←[34mINFO←[0m   tls     cleaned up storage units
2020/12/16 13:46:30.634 ←[33mWARN←[0m   http.handlers.auth_portal       Authentication failed   {"request_id": "b27665fd-abb8-46fd-a896-e5b0ac12a43a", "error": "invalid password"}
2020/12/16 13:46:41.929 ←[33mWARN←[0m   http.handlers.auth_portal       Authentication failed   {"request_id": "12f304c7-00a6-4f58-b2a0-951cd39ffee0", "error": "invalid password"}

Configuration
Paste full Caddyfile below:
{
	storage file_system {
		root f:\caddy\storage
	}
	local_certs
	http_port 80
	https_port 443
}
https://<IP_ADDRESS> {
	# caddy-auth-portal with local db config
	log {
		level INFO
		format console
		output file F:\caddy\caddy.log
	}
	# caddy auth portal login
	route /auth* {
		auth_portal {
			path /auth
			backends {
				local_backend {
					method local
					path F:\caddy\assets\conf\local\auth\user_db.json
					realm local
				}
			}
			jwt {
				token_name access_token
				token_secret AnExampleSecretString123
			}
			ui {
				theme basic
				links {
					"EM" /
					"EM Config Editor" /cnf/index.html
					"json Editor Demo" /je/
					"json Editor Demo examples" /je/examples/
					"Auth Portal Settings" /auth/settings
					"who am i check" /auth/whoami
					"Add MFA Authentication App" /auth/settings/mfa/add/app
				}
			}
		}
	}
	route /login {
		reverse_proxy http://localhost:1081
	}
	# elite manager running on port 1080 route
	# node red dahsboard running on port 1880 route
	# grafana with modified base URL configuration for /gr running on port 3000 route
	route /gr/* {
		jwt {
			enable claim headers
		}
		reverse_proxy http://localhost:3000
	}
	#strike header providing auth to log out out (example)
	#    route /logoff {
	#               request_header - Authorization:
	#               reverse_proxy http://localhost:1080
	#       }
	route /version* {
		respond * "2.0.0-a" 200
	}
        # caddy serving json editor project samples route
        #route /je/* {
	#	jwt
	#	file_server {
        #        root  /home/eeuser/jsoneditor/
	#	browse
	#	}
        #}
        # caddy servng json editor project samples route
        #route /cnf/* {
        #        jwt
        #        file_server {
        #        root  /home/eeuser/em-cnf-editor/
        #        browse
        #        }
	#}
        # elite manager running on port 1080 route
	route /* {
                jwt {
                        primary yes
                        trusted_tokens {
                                static_secret {
                                        token_name access_token
                                        token_secret AnExampleSecretString123
                                }
                        }
                        enable claim headers
                }
                reverse_proxy http://localhost:1081
        }
}

Version Information
Provide output of caddy list-modules -versions | grep auth below:
(had to run in bash on windows to gather the auth version detail)
$ ./caddy.exe version
v2.2.1 h1:Q62GWHMtztnvyRU+KPOpw6fNfeCD3SkwH7SfT1Tgt2c=
$ ./caddy.exe list-modules -versions | grep auth
http.authentication.hashes.bcrypt v2.2.1
http.authentication.hashes.scrypt v2.2.1
http.authentication.providers.http_basic v2.2.1
http.authentication.providers.jwt v1.2.1
http.handlers.auth_portal v1.3.2
http.handlers.authentication v2.2.1

Expected behavior
I'm expecting to be able to set the password for webadmin following the steps in https://github.com/greenpau/caddy-auth-portal#password-management OR find some way to trigger caddy to announce the default webadmin password so we can log in.
Additional context
Our specific issue is just needing to log in, either by setting the password via brcrypt following the instructions on password management, or via the default login which was not recorded on first startup. Its not clear why this would be failing this way unless the bcrypt-cli on windows is somehow producing invalid hashes?

Its not clear why this would be failing this way unless the bcrypt-cli on windows is somehow producing invalid hashes?

@tgelite , try troubleshooting this one. Also, could you generate a hash that works on Linux, but does not work on Windows?

Yeah I was just doing that and the hash of that same password from our linux dev system works!  So there is something strange going on with the windows go bcrypt-cli?

So there is something strange going on with the windows go bcrypt-cli?

@tgelite , it could be ... my guess is that echo on Windows works differently from Linux. Try looking in that direction.

@tgelite , for example \n (linux) vs \r\n (windows).

ah interesting, I'll take a look at that for a working command line for windows to update the docs later today (meeting hell now)...

@tgelite , also look at echo on and echo off implications.

There is a combination of issues here:
Linux bash handling:
pidev:~/ $ echo "TestPass123"
TestPass123

Windows cmd and powershell (and of course they are different).   Note even without the quotes powershell is breaking, i've tested with "ON" and "OFF" contexts with same results.
d:\caddy>echo "TestPass123"
"TestPass123"

PS C:\> echo "TestPass123"
TestPass123

This approach below with cat worked regardless, creating a text file with no CR/LF after the password and using cat to present the password via stdin on windows:
PS D:\caddy> cat passwd.txt
TestPass123
PS D:\caddy> cat passwd.txt | bcrypt-cli
$2a$10$//om09wPnhTrxHMSmA3GtupIZvykTZKqI8FikgUCWEHTF.9YhVtGO

Sorry about delay - quick note to anyone testing this - exit browser/clear cookies as you iterate through testing this.  You will hit false positive failures on changing password and just restarting caddy.  I got this working, I just need to verify what steps produced a working password hash string.

Ok so I've been able to come back to this and test fresh.  The issue was not properly exiting browser after changing credentials during testing (when performing the bcrypt-cli correctly).
This works in windows 10 on powershell

generate your new password, following the command example.  Make sure you have installed the necessary bcrypt-cli for windows via npm

PS C:\Users\melvin> echo -n "TestPass123" | bcrypt-cli -c 10
$2a$10$CBMccHesp7cPpczbTOzePORcxsZIo6W.GVZDSb4H40qdmro4SDdmG

Stop your caddy server
Edit your user_db.json (or whatever your local authentication file is)
EXIT the browser you previously authenticated with, if necessary clear any cookes (I had none upon retest).  In my previous testing I was NOT doing this.

Ok so I've been able to come back to this and test fresh.  The issue was not properly exiting browser after changing credentials during testing (when performing the bcrypt-cli correctly).
This works in windows 10 on powershell

generate your new password, following the command example.  Make sure you have installed the necessary bcrypt-cli for windows via npm

PS C:\Users\melvin> echo -n "TestPass123" | bcrypt-cli -c 10
$2a$10$CBMccHesp7cPpczbTOzePORcxsZIo6W.GVZDSb4H40qdmro4SDdmG

Stop your caddy server
Edit your user_db.json (or whatever your local authentication file is)
EXIT the browser you previously authenticated with, if necessary clear any cookes (I had none upon retest).  In my previous testing I was NOT doing this.

Sorry for the confusion there, its working OK

Sorry for the confusion there, its working OK


V2 throttle viewer events

These changes throttle the events being received by the viewer, which results in smoother transitions across all devices.

zoom events
rotate events
pan events
render events

Testing was performed across as many devices as possible; PC, mobile phones, and tablets.
Testing was performed across as many browsers as possible; Safari, FireFox, Chrome, Opera.
There's also a late change from V1, which was applied to the latest V2 base.
Fixes #302
All Submissions:

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[X] Does your submission pass tests?

Hi @SimonClark
Can you review? If everything looks fine then please merge as well.


Update rockspec

Hello! Currently there is no rockspec which lists all modules present. E.g. pl.url is not present in the 1.1.0 rockspec in this repo, neither it is in scm-1, scm-2 and 1.3.1 rockspecs on luarocks. I'd suggest removing outdated 1.1.0 rockspec and writing an up-to-date scm-1 rockspec, removing scm-2 rockspec from luarocks and replacing scm-1 rockspec with the new one.

I agree!

New version is underway, soon!
On Tue, Mar 3, 2015 at 3:51 PM, rjpcomputing<EMAIL_ADDRESS>wrote:

I agree!
—
Reply to this email directly or view it on GitHub
https://github.com/stevedonovan/Penlight/issues/137#issuecomment-76948134
.


Question about m_bufferManager setup in TransferManager ctor and dtor

Describe the issue
Hello, I'm trying to understand the TransferManager code and found something that I'm not sure about. Here's my question.
In the ctor it's trying to call PutResource for the m_bufferManager. And in the dtor, it's trying to ShutdownAndWait then delete all the buffer in m_bufferManager. Let's say we have the default m_transferConfig.transferBufferMaxHeapSize which is 50MB, and we set m_transferConfig.bufferSize to be 20MB. In this example, the ctor will call PutResource three times basing on the code here. But in the dtor here, the resourceCount it calculates should be 2: static_cast<size_t>(m_transferConfig.transferBufferMaxHeapSize / m_transferConfig.bufferSize). There's a difference between the resourceCount and the actual resource size. The ShutdownAndWait code is here. If I understand correctly, buffers may not be freed completely in this case.
Maybe I miss something and it's actually a silly question. Please help me figure out if there's anything wrong. Thanks for the help!
Steps to Reproduce
No response
Current behavior
No response
AWS CPP SDK version used
latest
compiler and version used
7.5.0
Operating System and version
Ubuntu 18.04

Hi @junlan28 ,
Hmmm... I think you might be right there, let me do some digging and figure out what is going on, but it might be a kind of "if you changed it, you are expected to know" things.
Anyways, thanks for bringing this up to us

@KaibaLopez hello, thanks for your reply! I'm wondering if there's any further updates?


Maximum query array size of client.executeBatch

Hi,
We would like to know the maximum query array size that is possible to send to client.executeBatch(). We think it is a good idea to document that because we are facing problems with sizes bigger than 4000 +.
We are addressing that for the moment by splicing the array.

@jorgebay - Wouldn't it be more descriptive to say that if any part of the batch fails, the entire batch fails?  I suppose the two are equivalent, but typically "what happens when something fails?" is the main concern.


disabled sha check in photo-supreme-postgresql, upstrea updates in-place

Thank you for the contribution. It was merged directly as 29e0b9b2ac32b3a5ed58b5422420d50ed17e668f to keep commit history cleaner. Your contribution is still credited to you.


{"code":400, "message":"The redirect URL provided does not match the redirect URL registered for the app."}

Describe Your Problem
{"code":400, "message":"The redirect URL provided does not match the redirect URL registered for the app."}
Relevant log output
no log output, issue during setup

Config for homebridge-resideo
using config

Screenshots
No response
Device & Model
homebridge-resideo 1.4.5
Node.js Version
1.6.1
NPM Version
.
Homebridge Version
18.16.1
Homebridge Resideo Plugin Version
1.4.5
Homebridge Config UI X Plugin Version
No response
Operating System
homebridge-reside

First, Please respond and Github so we don't get all the extra stuff from email.
Second, are you using an internal ip address? what are you putting at the end? etc.
This works find for me so there isn't a bug but a setup issue.


Externalize test classes' configs

Move getConfig() to properties
Use common method to load configs for individual test class

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@vinothchandar if the approach looks good, i'll apply it to more test classes. thanks.


Hiro Explorer is missing additional inscriptions on satoshi ordinal page

Describe the bug
On https://ordinals.hiro.so/sat/1446791433368094 it only displays one inscription for this sat. However, there should be two since this API call returns two https://api.hiro.so/ordinals/v1/sats/1446791433368094/inscriptions
Transaction ID
a1c934dd35d5a3abeeba21ac026997e6eb9a0205a173ae32a999fc5b0818d66a
Address
bc1pgu7lvmsnw037v6g4693quckk8asz7mdh3rac4laftxzpv5e039uqc4h8qj
Block#
777530
Time stamp
FEBRUARY 20, 2023 AT 2:15:27 PM
To Reproduce
Steps to reproduce the behavior:

Go to https://ordinals.hiro.so/sat/1446791433368094

Expected behavior
It should display two inscriptions but it's only showing one.

Oh yes -- Thanks, we haven't added this yes. We'll add it to the backlog 🙏


Issue with translations in shared component (using lazy-loaded modules also)

I have a problem using ngx-translate in one specific case. If i have some shared component (like shared-modal for example), that I want to use in multiple lazy-loaded modules, translations don't work.
In my app, I don't have any main module. app.module.ts only aggregates lazy-loaded modules and one special - shared.module.ts.
shared.module.ts doesn't have any main component. It aggregates loose components.
I'm using special option for @ngx-translate - extend: true.
What I want to achieve is to load one global .json file with app.module (works fine), specific .json files for lazy-loaded modules (works fine) and I want shared.module to use already downloaded global.json as his translation file.
I've searched the internet, found nothing on my case. I've really digged into it.
I've modified some stackblitz I found, to simmulate/illustrate my issue:
https://stackblitz.com/edit/angular-sm99qe-ngx-translate-lazy-load-kxqnxt
Probably I need to initialize translateService somewhere, but I can't figure out how or where to config this. Any hacks, workarounds?

No relevant.


AnimationUtil

Let's play around with Lottie.
Some Lottie resources: http://www.lottiefiles.com/

Let's all see https://developer.android.com/reference/android/support/animation/package-summary.html

Lottie included