Not Running  speechEmotionRecognition.py

When I try to run the app, I have this error :
Using TensorFlow backend.
/usr/local/lib/python3.6/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Traceback (most recent call last):
File "./src/speechEmotionRecognition.py", line 21, in
model = tf.keras.models.load_model('model/lstm_cnn_rectangular_lowdropout_trainedoncustomdata.h5')
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/save.py", line 146, in load_model
loader_impl.parse_saved_model(filepath)
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/saved_model/loader_impl.py", line 83, in parse_saved_model
constants.SAVED_MODEL_FILENAME_PB))
OSError: SavedModel file does not exist at: model/lstm_cnn_rectangular_lowdropout_trainedoncustomdata.h5/{saved_model.pbtxt|saved_model.pb}
Can you help me ?

src/speechEmotionRecognition.py , line 21,
model = keras.models.load_model('model/lstm_cnn_rectangular_lowdropout_trainedoncustomdata.h5')
maybe try using the absolute path of the file on your system.

Thanks for your quick response. And congratulation for your work.
I already tried multiple solutions :

absolute path
move h5 file in the same location as
use \ as oposite /
No solution found

file_name = os.path.dirname(__file__) +'\\model\\lstm_cnn_rectangular_lowdropout_trainedoncustomdata.h5' model = tf.keras.models.load_model(file_name)
model = tf.keras.models.load_model('model/lstm_cnn_rectangular_lowdropout_trainedoncustomdata.h5')
model = tf.keras.models.load_model('lstm_cnn_rectangular_lowdropout_trainedoncustomdata.h5')

Let's try some Debugging.
try Creating a New file just loading the model
import keras
model = keras.models.load_model('model/lstm_cnn_rectangular_lowdropout_trainedoncustomdata.h5')
print(model.summary())

if it doesn't work , try loading other models present in /src/model directory.
problems seems to be with the path I reckon .
try going inside /src running the code

$ cd src/
$ python speechEmotionRecognition.py

Hello,
try Creating a New file just loading the model. I don't know how to do this
if it doesn't work , try loading other models present in /src/model directory. Do not work
$ cd src/
$ python speechEmotionRecognition.py. Ok this is working. When I launch from src/ I passed a step. I don't the same issue anymore. Now I have a GPU issue.
toolkits.initialize_GPU(args) AttributeError: module 'toolkits' has no attribute 'initialize_GPU'
I tried to install Cuda and Nvidia drivers but no success.
Is it a possibility into your app to change GPU by CPU ? I didn't where I can do this. Or may be you think about another solution

Ok when I put in comment the line #toolkits.initialize_GPU(args), it seems to work without GPU. But now I don't see the CSV generated. Any idea ?

 with open('SER_'+subdir+'.csv', 'w') as csvFile:
            writer = csv.writer(csvFile)
            for i in range(len(filenames)):
                csvData = [filenames[i], 'person01',predictions[i][0],'person02',predictions[i][1]]
                print("filename:",filenames[i],",Predicted Emotion := Person1:",predictions[i][0],",Person2:",predictions[i][1])
                writer.writerow(csvData)
        csvFile.close()

check out .csv files starting with "SER_"

Yes I saw this part of the code but I don't know why it isn't working. And I have no errors displayed

Hey @lenoirdevinci,
I think there are some dependency issues. With the last commit, we should have fixed it. Try cloning the master branch and repeat the dependency installation process with the updated setup.sh again. (We have updated the README.md. Please refer to it if you have any doubt about installing dependencies  and running the code.) Let us know if you have any other problems.
Best,
Chinmay

Thank you a lot. I will try this quickly

Closing Issue for now. Let us know if you face any other issues!
Regards,
Suyash


Organize notebook with documentation

This PR adds tons of missing documentation and explanation to the analytics notebook, as well as pulls out the essential parameters to control the type of runs to the top for ease of access. This should make things so much cleaner and more understandable to work with.

I like your comment about what should a user actually do once the MPI is seeded, so I've added another steps list to the documentation reflecting the right order to run the notebook and where to code new updated values in


Users are missing in the Microsoft Teams Company Communicator app's send delivery report.

Hi Team,
Regarding the case that we have created below. As far as we can tell, you have closed this case without our confirmation. Could you kindly confirm, Also kindly keep this case open as issue is not fixed yet. Please refer below issue link for your reference. Thanks
Below are the two GitHub cases you have closed till now.
https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/1482
https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/1442

Hello @SachinWandale111 ,
The previous issue was closed in accordance with GitHub policies while we were coordinating internally to troubleshoot.
We have already provided a workaround for this issue over call; however, we were evaluating the implementation of these steps for a large records, which necessitated some investigation on our part, thus leading to the delay.
We will keep the discussion going internally. Thank you for your ongoing patience.

Thanks @v-jaygupta for call.
As discussed over call, could you kindly share the details steps for next action plan. So we can refer it accordingly to fix this issue. Thanks

Hi @v-jaygupta,
Gentle reminder! Could you kindly share the details steps for next action plan. So we can refer it accordingly to fix this issue. Thanks

Hi @v-jaygupta,
Gentle reminder! Could you kindly share the details steps for next action plan. So we can refer it accordingly to fix this issue. Thanks

Hi @v-jaygupta,
Gentle reminder as we are following up with you since long! Could you kindly share the details steps for next action plan. So we can refer it accordingly to fix this issue. Thanks

Hi @v-jaygupta,
Thanks for sharing details steps internally. Please keep this case open until our next response. We are checking the steps shared by you and if we have any further queries we will let you know. Thanks

@SachinWandale111 ,
We have answered all your queries internally, please let us know if we can close this issue?

Sure we will update you soon. Thanks


Adds support for custom status code along side Bad Request default

My markdown editor screwed up your line endings in the README. Sorry about that.

Looks good, thank for your contribution!
I'm going to merge it separately so it doesn't clobber my readme. 😄

Merged via #2


Opening issues against upstream docs should happen in the upstream repo

Most significantly, the CLI doc bugs should go to docker/cli

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


modify description of README

iss1 - add bio

just fyi, you could also open an issue:

And then link the issue in this PR using #resolve keyword (see here). Then, the issue would be automatically closed once the PR is merged.


Trying to recover a blank file replaces the buffer with NERDTree

vim -r ""
Trying to open a 'No Name' file in vim results in
"Error detected while processing function nertree#checkForBrowse...215..216:"
The recovered file is opened momentarily and then NERDTree opens right away, replacing the buffer.
I observed this behavior even when I cleared out my .vimrc. So I do not think this is a configuration issue. The only way I got around this behavior was by setting -u NONE flag when opening the vim to avoid loading the plugin.
Also Changing NERDTreeChDirMode did not do anything to resolve this issue. How could I suppress this behavior so that I could edit my recovered file?

@Forethinker , Is this still happening? A lot has changed to NERDTree since you reported this. I'm going to close this, as I cannot reproduce it. Reopen if necessary.


Run mypy as part of tests and fix existing errors

Fixes #95

Just to confirm that mypy reports errors with the current state of the repo: https://github.com/christophebedard/dco-check/pull/102/checks?check_run_id=2025549639#step:5:1
I'll then push the commit that fixes them.


Data tables counts - duplicate and missing table

In the clinical data table counts:

drug exposure listed twice (line 11 and line 23)
visit occurrence is missing
Inconsistent naming (sometimes table name with underscore, sometimes without)

Also, a consisted sorting would be nice. Either on table name or on count (descending).
https://github.com/EHDEN/CdmInspection/blob/daeadb7a2ad7423691f8c9a92259c47f40f6556b/inst/sql/sql_server/checks/data_tables_count.sql#L1-L40

Great thanks


Issue when deleting files from S3

I just upgraded my app from L4 to L5 and encountered an issue when deleting a file from S3. An exception is thrown when validating the delete request to S3:
{"error":{"type":"InvalidArgumentException","message":"Found 1 error while validating the input provided
 for the DeleteObjects operation:\n[Delete] is missing and is a required parameter","file":"\/www
\/htdocs\/vendor\/aws\/aws-sdk-php\/src\/Api\/Validator.php","line":38}}

Which would seem very weird to me. I did check the message (see attachment) and as far as I can see, the [Delete] component is actually available. Any idea what this could be?

I'm using the following stack:

L5.1
laravel-Stapler 1.0.05
stapler 1.0.06
aws/aws-sdk-php 3.4.0

Much appreciated

@elimentz
I think there is a problem with the version of S3Client. I think they changed the arguments for deleteObjects in version 3.*
I fixed it temporarily by changing the remove function in stapler/src/storage/s3.php to the following:
public function remove(array $filePaths)
    {
        if ($filePaths) {
            $this->s3Client->deleteObjects([
                                            'Bucket' => $this->attachedFile->s3_object_config['Bucket'],
                                            'Delete'  => [
                                                'Objects' => $this->getKeys($filePaths)]
                                            ]);
        }
    }

The Objects array needs to be inside a Delete array.

I fixed the issue by downgrading the version of amazon aws to "~2.0", previously "~3.0". That solved the issue for me.

did you do this in s3_client_config array with 'version' => '~2.0' instead of latest. ?

No, I modified my composer file. the 2.0 refers to the composer tag, not the API version. See below
// composer.json

"require": {
        "php": ">=5.6.0",
        "laravel/framework": "5.1.*",
        "aws/aws-sdk-php-laravel": "~2.0",                       <=== This is what you're looking for
        "codesleeve/laravel-stapler": "1.0.*"
    },

thanks for your answer.

Hate to bring this up again, but here I am. Due to new features, we actually need to use v3 of the Amazon SDK so this issue is popping up again. Could you please let me know if this is Amazon related or is the issue related to the package? I'd hate to bother the wrong people...

I also very much need this fixed.  If I find an elegant solution I'll submit a PR

+1

Also in need of a fix for this. I'll try and put something together myself and do a PR, since this seems to be a long-standing issue.

Is there already a fix to use this along v3?

This version of Stapler is not made to work with v3 of the S3 client. I'm sorry, but that's not going to change in the near future. I'm working on getting 2.0 released and it's built on top of flysystem, which does use the v3 client. You are more than welcome to test things out (it's currently sitting on the dev branch), but I'm still working on getting the documentation updated and there are some backwards compatibility breaking changes (e.g it requires php 7^ now).

@tabennett I'm currently on V2, but would like to take advantage of Flysystem/v3.
Aside from requiring php7, are there any other key breaking changes I should look out for?

@tabennett I'd like to try out 2.0 👍   Aside from the PHP 7 requirements, are there any other breaking changes?


Change p2p fetch records query to fix slowness (#2554)

Fixes #2536
IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #[issue number] or Closes #[issue number]
Engineer Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the FHIRCore app to verify my change fixes the issue and/or does not break the app
[ ] I have checked that this PR does NOT introduce breaking changes that require an update to Content and/or Configs? If it does add a sample here or a link to exactly what changes need to be made to the content.

Code Reviewer Checklist

[x] I have verified Unit tests have been written for any new feature(s) and edge cases
[x] I have verified any strings visible on UI components are in the strings.xml file
[x] I have verifed the CHANGELOG.md file has any notable changes to the codebase
[x] I have verified the solution has been implemented in a configurable and generic way for reuseable components
[x] I have built and run the FHIRCore app to verify the change fixes the issue and/or does not break the app

@pld Thanks :pray:


fix(ngAnimate): buffer repeated calls to RAF to improve performance for animations

Prior to this patch ngAnimate buffered all repeated calls to
requestAnimationFrame into a task queue that is flushed once the next
animation frame has passed. While this works it causes a random lag to
jump out when any CPU intensive rAF requests are processed. This patch
sets a configurable task range which then offsets followup rAF requests
into the next available frame.
Closes #12280

LGTM
The implementation seems unnecessarily complex imo. I don't have proof though and since I can't spot any functional issue/bug (e.g. as was the case with the previous implementation), I'll leave it to the LGTM :smile:

Closed in favour of: https://github.com/angular/angular.js/pull/12619


[Bug] Invoices with 0 balance due because of deposit being applied result in incorrect revenue on P&L

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
We have clients that pay an upfront deposit and then when we complete work for them, we apply that deposit to their final invoice.  The workflow is described in this Quickbooks article.
We've found that if the total balance of the invoice is 0, then the revenue from that invoice isn't being counted in the quickbooks__profit_and_loss model.
Relevant error log or model output
No response
Expected behavior
Given: A customer has a $10k deposit in a liability account and then we apply that $10k deposit to their last invoice which has $10k in charges resulting in a $0 invoice total, the resulting stg_quickbooks_invoice_line table looks like:

Invoice ID
Index
Amount
Detail Type
Sales Item Account ID

14510
0
10000
SalesItemLineDetail
218

14510
1
-10000
SalesItemLineDetail
210

14510
2
0
SubTotalLineDetail

If that's the only invoice for the month, I should see $10k in revenue from account 218 on the Profit and Loss statement.
dbt Project configurations
name: "bug_report"
version: "1.0.0"
require-dbt-version: ">=1.7.0"
config-version: 2

profile: "bug_report"

model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]

clean-targets:
  - "target"
  - "dbt_packages"

models:
  salesforce:
    +schema: sales
  salesforce_source:
    +schema: stg_salesforce
  quickbooks:
    +schema: finance
    double_entry_transactions:
      +schema: int_quickbooks
  quickbooks_source:
    +schema: stg_quickbooks

vars:
  using_department: false
  using_estimate: false
  using_invoice_bundle: false
  using_refund_receipt: false
  using_sales_receipt: false
  using_purchase_order: false

Package versions
packages:
  - package: fivetran/salesforce
    version: [">=1.0.0", "<1.1.0"]
  - package: fivetran/quickbooks
    version: [">=0.12.0", "<0.13.0"]

What database are you using dbt with?
snowflake
dbt Version
Core:
  - installed: 1.7.10
  - latest:    1.7.11 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - snowflake: 1.7.2 - Update available!
  - duckdb:    1.7.3 - Up to date!

  At least one plugin is out of date or incompatible with dbt-core.
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Additional Context
If the invoice has a non-zero total, then the revenue shows up as expected.  It seems like the problem is with these lines in int_quickbooks__invoice_double_entry.sql.  I'd be happy to contribute a PR, but I don't understand enough about why the logic was added (in this commit).  It seems like changing it incorrectly could break other things.
Are you willing to open a PR to help address this issue?

[ ] Yes.
[ ] Yes, but I will need assistance and will schedule time during our office hours for guidance
[ ] No.

Also, the "office hours" Calendly link from the template is currently not working.

Hi @sbrudz , thanks for bringing this issue to our attention!
It looks like this other customer originally introduced this logic this to ensure discount line items are being included, but didn't account for situations where invoices could be zero where the invoice lines are non-zero, since they were primarily focused in on discounts which are rarely cancelling out the total invoice.
I think it might be worth getting on a call to discuss this in more detail, but I do think that in most cases that just taking in the invoice_lines.amount makes the most sense. Can you think of any cases where that might be the case?
Great job noticing the Calendly link! We've actually moved on from using Calendly, so if you'd like to set up a time to schedule an office hours, you can book a time on my Calendar, or if those times don't work we recommend you contact us via our<EMAIL_ADDRESS>email and we figure out a time that works for both of us.

@fivetran-avinash I've booked a meeting with you to discuss further.

Hi @sbrudz, thank you again for taking the time out to discuss this with us. Debugging this with you live helped us reach a likely path to resolving this issue.
After some further investigation with our team, we discovered that the initial reason we introduced the invoice.total_amount = 0 logic was due to some irregular behavior with invoice_line_bundles, where bundles would have line amounts that summed to zero, but the total_amount would instead be zero. So we accounted for those cases by deferring to the total_amount.  This might be due to some irregularities we saw with the customer's data at the time though, as this logic was introduced sometime ago.
Therefore, our plan is to proceed forward with reconfiguring this logic so that in most cases, the invoice_line.amount is what is brought in for the transaction amount, while we figure out the best way to account for potential edge cases in the invoice bundle.
Our plan is to take this task in a coming sprint and hopefully have a branch for you to test the changes after completion.
Thanks for all your patience, and we hope to have an update for you in the coming weeks!

Great — Thank you so much!
I am willing to contribute a PR but wouldn’t have time to work on it until the week of May 6th. I’ll check back in with you then to see where things are at.

Hi @sbrudz! We're taking this on this sprint and wanted to see if you had a chance to get started on a PR? I've started making updates on our end, but feel it's always good to check with customers who may be more tuned-in based on their data.

Hi @fivetran-reneeli, I haven't had a chance to start on a PR yet.  Since you've started making updates on your end, I'll hold off.  When there's a branch ready for testing, please let me know. I'll be happy to help test it out against our data.

Thanks @sbrudz ! I've applied changes on this working branch below. Let me know how it goes!

  - git: https://github.com/fivetran/dbt_quickbooks.git
    revision: bugfix/v0.12.5
    warn-unpinned: false

@fivetran-reneeli I tested using your branch and it fixed the issue for us!  Thank you!

Great @sbrudz , thank you for confirming! This is slated to be released in the next few days :)


Fixed uploadMultiple and parallelUpload for multiple files upload

I have fixed the issue with POST REQUEST actually inside index.vue already was uploadMultiple function but npm package is outdated and uploadMultiple is missing inside npm but there was another issue with parallelUploads that defaults 2 files per one POST REQUEST and inside index.vue was no override for that function so I have added that missing piece of code just make shure that u update npm package after this so other user's can have all updates :)

@atheleron Ohh gosh! My bad :see_no_evil: ! Don't know but I really forgot to add this parameter while fixing other issues. True saying Make sure your one fix doesn't create other issue. Learning from experience. @atheleron thanks for taking your time.

I'll resolve conflicts and merge it soon :timer_clock: .

ohh gosh dont know why those bundle.js files are here anyway maybe I should just git index.vue

@atheleron that bundle files contains compiled code which you modified. Don't worry.
Happy Coding. :+1:


Performance on benchmark

This is amazing work.
Have you tested it on KITTI or CityScapes datasets?
How does it compare to other SLAM pipelines?

Hi @adizhol
Thanks! Currently, gradslam only supports dense RGB-D SLAM pipelines - so we have only tested this on indoor reconstruction datasets.
In our paper, we compare reconstruction (and egomotion) performance against their non-differentiable SLAM counterparts and find we perform on par.


Feat: Show monitor ID in Details

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Fixes #4274
Type of change

User interface (UI)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[ ] I have commented my code, particularly in hard-to-understand areas (including JSDoc for methods)
[x] My changes generates no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)

I am not quite convinced the current design fits as is.
I think adding this as a tag (like "web" in the screenshot) or as as a grayer, smaller #ID next to the tilte could work better. Have you experimented with these approaches?

Personally, I don't like the "Tag that is not a Tag" design, and the font size had to be further reduced to fit in the same layout.
Putting it next to the title looks fine, but because the title is variable length, the location would move around, which is not convenient for finding it, and we have to deal with overflow.
Using # is also undesirable since it makes selecting only the ID for copying harder.

Using # is also undesirable since it makes selecting only the ID for copying harder.

What? Just double-click on number: #1421343224
This is what will be selected - no # in selection:

Or you can implement copy ID button :)

since it makes selecting only the ID for copying harder

Have not tested it, but I think this can be disabled: https://dev.to/smpnjn/how-to-disable-text-selection-with-css-4jan

Using # is also undesirable since it makes selecting only the ID for copying harder.

What? Just double-click on number: #1421343224
This is what will be selected - no # in selection:

Unfortunately does not work on Firefox Mobile, I guess it depends on browser support.
Using CSS to disable selection is a valid option I guess.

I think I may prefer this, but with smaller font size. Because it does not require a new line when there are no tags.
For highlight issue, I think inline-block should do the trick.
https://jsfiddle.net/louislam/cLw0rbxy/

Updated design according to suggestions.


Remove catalog zarr logic

As discussed with @andersy005 earlier I will remove all the logic to create a separate 'catalog zarr' here and we will work with the feedstock/catalog.yaml instead.

@jbusecke, i finally got a chance to look at this and and i'm considering the changes necessary to align it with
https://github.com/leap-stc/data-management/pull/98
"ncviewjs:meta_yaml_url": "https://github.com/leap-stc/proto_feedstock/blob/main/feedstock/meta.yaml"
tags:
  - my-custom-tag
  - zarr
stores:
  - name: small.zarr
    url: "gs://leap-scratch/jbusecke/proto_feedstock/latest/data/small.zarr"
    "ncviewjs:rechunking":
      - path: "gs://some-bucket/small.zarr"
        use_case: "multiscales"

  - name: large.zarr # no pyramids
    url: "gs://leap-scratch/jbusecke/proto_feedstock/latest/data/large.zarr"

i'm curious to hear your feedback on these changes.

That seems perfectly sensible to me.
Let me modify this accordingly.

great... @jbusecke, let me know when this ready

Ok I just ran the recipe and produced this store:

Ready to go from my end. Do you prefer I merge this or is there some reason to wait until we have tested the catalog?

we are missing maintainers in meta.yaml
maintainers:
  - name: "Julius Busecke"
    orcid: "0000-0001-8571-865X"
    github: jbusecke

Ready to go from my end. Do you prefer I merge this or is there some reason to wait until we have tested the catalog?

once we've added maintainers, feel free to merge.

Ah nice. Wondering if we can port some of the schema validation to this repo (which will be a template going forward).


v0.0.19

Notable changes:

Add implementation for wasi docket functions
Fix windows testing to avoid intermittent failures and hangs on failures
Add install targets for uvwasi. This makes it possible for pkg-config or cmake build pipelines to discover globally installed uvwasi.

For reference - https://github.com/nodejs/uvwasi/issues/228. Close that issue once the release goes out.


UI page not rendering

Not sure if I'm doing anything wrong. I have referenced and done the whole setup in the startup class as follows:
 public void ConfigureServices(IServiceCollection services)
    {
         services.AddMvc();
       services.AddSwagger();

  }

public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
app.UseStaticFiles();
app.UseMvc();
app.UseIdentity();
app.UseSwagger();
app.UseSwaggerUi();
}
when I launch and navigate to the doc url e.g. http://localhost:44023/swagger/ui/index.html
there is no doc end-point listed. It basically fails to render the ui. I checked the network calls and I can see the json results coming back from the server but no ui is rendered.
I do see that there is a javascript error after the response comes back in the swagger-ui.min.js: "Invalid string length"

@takazm if you're still experiencing this issue could you take the generated Swagger and run it through the online validator - POST to http://online.swagger.io/validator/debug?

I updated to the latest version and it seems to have sorted the issue. Thanks


tool convert dies on missing output

Thanks for submitting your feedback to Dockstore.
Please fill in the appropriate section depending on whether you want to submit a feature request or a bug report.
Feature Request
When there is no output: feature in the cwl file, dockstore tool convert cwl2json dies.
Desired behaviour
Throw an error that says Missing output feature in cwl file
Actual behaviour
java.lang.NullPointerException
Environment (Browser or OS and Dockstore version)
Dockstore 1.1

Similar to #570
Create a Junit + better error message for this one as well.

Looks good now on staging.dockstore.org
$ dockstore tool convert cwl2json --cwl Dockstore.cwl
problems running command: cwltool --non-strict --validate Dockstore.cwl
stderr for command:
        /usr/local/bin/cwltool 1.0.20170217172322
        Resolved 'Dockstore.cwl' to 'file:///home/dyuen/dockstore_tools/dockstore-tool-bamstats/Dockstore.cwl'
        Tool definition failed validation:
        Dockstore.cwl:3:1: Object `Dockstore.cwl` is not valid because
                             tried `CommandLineTool` but
                               missing required field `outputs`

Thanks @k-cao


[ast] some alignments after ast module ownership transfer

fixing bus synchronization method
hw/top_earlgrey/ip/ast/ast.core
hw/top_earlgrey/ip/ast/rtl/dev_entropy.sv
hw/top_earlgrey/ip/ast/rtl/rglts_pdm_3p3v.sv
solving TODOs on ADC, updating assertions and convertion time
hw/top_earlgrey/ip/ast/rtl/adc.sv
hw/top_earlgrey/ip/ast/rtl/ast_bhv_pkg.sv
using synchronous aon_pok output according to #16721
hw/top_earlgrey/ip/ast/rtl/ast.sv
adding AST_BYPASS_CLK define according to #17492
hw/top_earlgrey/ip/ast/rtl/ast.sv
hw/top_earlgrey/ip/ast/rtl/ast_clks_byp.sv

@meisnere couple of things:

could you add more descriptive commit messages to each commit? You can update commit messages by:

running git rebase -i HEAD~4 locally, which will bring up an editor,
overwriting the word "pick" next to each of your commits with "r" (for reword)
saving and quitting the editor session, which will then trigger two editor sessions to be opened (sequentially) where you can change your commit messages, then save and quit the editor each time
re-push your changes with git push origin ast_PR_230409 --force

if this fixes any issues, could you also link them to this PR with something like: "Fixes #xyz. Fixes #abc".

Hi @meisnere - thanks for the PR.
To @timothytrippel's point, there are a few things that should be cleaned up in the commit structure here so that we can review the PR properly.
Right now it shows two commits with the same commit message, and the latter commit seems to be a merge commit - which we typically do not allow. Also, the commits seem to lump multiple unrelated changes together.
I suggest you structure the PR along the lines of your comment which describes the changes, e.g. create four different commits:

[ast] fixing bus synchronization method
[ast] solving TODOs on ADC, updating assertions and convertion time
[ast] using synchronous aon_pok output according to #16721
[ast] adding AST_BYPASS_CLK define according to #17492

Opened new PR #17967 with the requested changes


Add more convenient way of generating pubkeys for various curves

Public keys of elliptic curves are made by addition/multiplication of private points. For generating public key, each curve needs a lot of parameters: prime P, base points Gx and Gy, coefficient a, coefficient b, order and seed.
By default, pyelliptic provides no means to convert private keys to public keys. In arithmetic.py, which is used in PyBitMessage, there is a method called "privtopub(privkey)", but parameters for multiplication are hardcoded only for secp256k1 curve, which makes most cool functions of arithmetic.py useless for other curves.
Instead of hardcoding parameters for every curve on high level of Python, maybe it is possible to use lower level private->public conversion of OpenSSL. For example, pointMult(secret) in PyBitMessage does it: https://github.com/Bitmessage/PyBitmessage/blob/master/src/highlevelcrypto.py#L42 It just needs one more argument for curve name, and probably moved to ECC.py
@Atheros1 should be able to fix BitMessage easily

If it is the secp256k1 curve, shouldn't there be a parameter B = 7?
http://www.secg.org/sec2-v2.pdf


Polish

move duplicate synthetic patterns to the utility class
remove "throw" in orElseThrow()

Merge this plz. @taeyeon-Kim


Added support for referencing file contents in the contract

without this change large bodies can't be parsed by the compiler
with this change we allow those bodies to be read from files
fixes #357

Codecov Report

Merging #360 into master will decrease coverage by 0.03%.
The diff coverage is 71.42%.

@@             Coverage Diff             @@
##             master    #360      +/-   ##
===========================================
- Coverage     59.44%   59.4%   -0.04%
- Complexity     1620    1625       +5
===========================================
  Files           221     221
  Lines          6793    6824      +31
  Branches        900     902       +2
===========================================
+ Hits           4038    4054      +16
- Misses         2249    2265      +16
+ Partials        506     505       -1

Impacted Files
Coverage Δ
Complexity Δ

...ct/verifier/wiremock/DslToWireMockConverter.groovy
50% <ø> (+7.14%)
2 <0> (ø)
:arrow_down:

...amework/cloud/contract/spec/internal/Common.groovy
29.16% <0%> (-2.66%)
11 <0> (ø)

.../contract/verifier/file/ContractFileScanner.groovy
74.62% <100%> (ø)
28 <0> (ø)
:arrow_down:

...work/cloud/contract/stubrunner/StubRepository.java
68.11% <100%> (ø)
17 <0> (ø)
:arrow_down:

...oud/contract/maven/verifier/GenerateTestsMojo.java
64.61% <57.89%> (-2.06%)
6 <0> (+1)

.../verifier/util/ContractVerifierDslConverter.groovy
64.1% <91.66%> (-17.15%)
7 <4> (+3)

...ework/cloud/contract/verifier/TestGenerator.groovy
72.72% <0%> (+6.06%)
12% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Add capability (to cranelift) to generate .eh_frame

This is a continuation of #53
We save .debug_frame section in wasmtime's JIT and wasm2obj. It will be nice to move this capability to the cranelift level (e.g. cranelift-faerie?).
This issue may intersect with #1181 for linux and macos platforms.

e.g. cranelift-faerie?

Rather add common code to for example cranelift-module and then implement this in both cranelift-faerie and cranelift-object.

Should I rebase https://github.com/bytecodealliance/cranelift/pull/902 against wasmtime? That PR added this feature to cranelift-faerie, though I had taken the lack of approval and your comment about cranelift-module to be a request for an approach more like #1181 (specifically: less focused on cranelift-faerie specifically)

Why does this issue close #1284? These two changes seem completely unrelated

Cranelift recently got merged into the wasmtime repo. All issues have been migrated to the wasmtime repo, but this has renumbered all cranelift issues.


payTake()/payDrop() give this error Index 0 out of bounds for length 0

They are not provided anything as it should be by they give an error

couldn't reproduce the error


Cannot combine the ARB_VECTORIZE and ARB_ARCH options in CMake

When trying to configure with both these options I am getting a series of the following errors:
CMake Error at arbor/CMakeLists.txt:96 (target_link_libraries):
  Error evaluating generator expression:

    $<COMPILE_LANGUAGE:CUDA>

  $<COMPILE_LANGUAGE:...> Unknown language.

 -DARB_WITH_ASSERTIONS=ON -DARB_VECTORIZE=ON -DARB_ARCH=broadwell
make -j

The work-around unfortunately has a bug. Will re-open and fix.


Need a way to invalidate a key/reset cache when updates are made to the cached resources.

Need a way to invalidate a key/reset cache when updates are made to the cached resources.
For eg: if the resource is cached, and one of the resource properties is updated, we need to update the resource in the cache. Otherwise, the changes do not get reflected.
I am unsure if this is already possible, but if it is, an example of how to do this would greatly help.

Maybe you can use the CacheStore.Delete or CacheStore.Set directly? https://github.com/chenyahui/gin-cache/blob/main/persist/cache.go#L20

Maybe you can use the CacheStore.Delete or CacheStore.Set directly? https://github.com/chenyahui/gin-cache/blob/main/persist/cache.go#L20

Yes, For now, I have done like that.
It would be better to expose the default CacheStrategy so that it can be used for this purpose. Another option is to implement a custom CacheStrategy. But it is not that simple. This means one has to implement/duplicate CacheKey generator function as well.
It would be nice to expose these functions so that consumer code can use them to generate the CacheKeys and invoke  CacheStore.Delete or CacheStore.Set as you suggested. This avoids duplication of default behavior.

That is indeed a good suggestion, and I will consider implementing it as soon as possible. If you have the time, feel free to submit a pull request as well.

@chenyahui Thank you. Looking forward to the implementation.


Background image adjusted

Added the background for the capcha and the icons as an add-on for the alignment adjustment
Screenshot:

@Pudi-Sravan  You should add image url in html file instead of css file


Fixed Cartfile instructions syntax

Hi @JaviSoto,
Thanks so much for taking the time to PR these changes. They look great! Therefore I am merging this PR!
Have a great weekend :smile:
Cheers!

Thanks a lot for this SDK, it's freaking amazing :D

Thanks so much for the kind words @JaviSoto :smile:
We are really glad that you like it. Once again, thank you for contributing and for helping out to make the App Extension API even more amazing :+1:


cli.js bundle command fails, as bundle is an unrecognized command

So ... I tried pretty much everything ... different XCode versions, different RN versions, I ALWAYS end up with the same error:
main.jsbundle does not exist. This must be a bug with

I then checked the logs and found the bundle command:
node /Users/patrick/dev/orderlion/orderlion_react_native/node_modules/react-native/cli.js bundle --entry-file index.js --platform ios --dev false --reset-cache --bundle-output [...]

I then tried to call the command myself and always end up with the same error: `error Unrecognized command "bundle"``
Running node /Users/patrick/dev/orderlion/orderlion_react_native/node_modules/react-native/cli.js --help only returns 2 commands:
Commands:
  init [options] <projectName>  Initialize a new React Native project named <projectName> in a directory of the same name.
  doctor [options]              [EXPERIMENTAL] Diagnose and fix common Node.js, iOS, Android & React Native issues.

WTF is going on? I lost hours and hours now and I can't figure out what is happening here. A coworker of mine with pretty much the same setup can run the cmd no problem and bundle is a defined cmd for cli.js. Please help!

@Twisterking Can you check which version of @react-native-community/cli is resolved? If you are using yarn, yarn why @react-native-community/cli

@Twisterking Also posting the result of npx react-native info would help.

Closing as stale


pdfpc: Update license to match upstream

Motivation for this change
As noticed by @vbgl in https://github.com/NixOS/nixpkgs/pull/108307#issuecomment-768106025, upstream changed the license.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thanks.

Thanks.


level-zero: 1.13.1 -> 1.13.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/level-zero/versions.
meta.description for level-zero is: oneAPI Level Zero Specification Headers and Loader
meta.homepage for level-zero is: https://github.com/oneapi-src/level-zero
meta.changelog for level-zero is: https://github.com/oneapi-src/level-zero/blob/v1.13.5/CHANGELOG.md
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.13.5 with grep in /nix/store/06h8pj8dp9s11s1mrwhxdqm2401dbndz-level-zero-1.13.5
found 1.13.5 in filename of file in /nix/store/06h8pj8dp9s11s1mrwhxdqm2401dbndz-level-zero-1.13.5

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
intel-compute-runtime
level-zero

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/06h8pj8dp9s11s1mrwhxdqm2401dbndz-level-zero-1.13.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/06h8pj8dp9s11s1mrwhxdqm2401dbndz-level-zero-1.13.5
ls -la /nix/store/06h8pj8dp9s11s1mrwhxdqm2401dbndz-level-zero-1.13.5/bin

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

2 packages built:

intel-compute-runtime
level-zero

Maintainer pings
cc @ziguana for testing.

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

3 packages built:

intel-compute-runtime
intel-compute-runtime.drivers
level-zero


Update workflow.yml

Add codecov to Github Action

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Custom Endpoint Creation

Hello,
Following the tutorial, I am trying to create a Messaging Route called "GBQueueRoute".
But I am stuck trying to link the service bus endpoint to the route on the Add a route form page.
I have successfully created the Service Queue Namespace ("GBServiceQueueNamespace") and a queue ("gbqueue").
In the Add a service bus endpoint form page these are listed. I type my Endpoint name ("CriticalQueue") and click Create. A success message appears. Great!
But when I try to select the newly created endpoint it is not listed in the drop-down.
What am I missing?
Thank you,
Guy

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

ID: f233412c-4242-e9a6-e09d-c5b07775dd00
Version Independent ID: 3a940d2c-77bb-b8ff-8864-9fc6ef16c122
Content: Configure message routing with Azure IoT Hub (.NET)
Content Source: articles/iot-hub/tutorial-routing.md
Service: iot-hub
GitHub Login: @robinsh
Microsoft Alias: robinsh

Thanks for the feedback! We are currently investigating and will update you shortly.

Hello @GuuB are you sitll experiencing this issue? This seems to be a portal issue. Please let us know if you are still blocked? We had some Azure Portal issues which I am wondering if it can be related...
Thank you!

Hi,
I think I have a similar issue. I can create route and custom endpoint in my IoT hub but this endpoint is in status Uknown, and when I send messages from IoT device they are not getting delivered to the service bus queue. Both resources are located in East region.
Thank you

@myszon01 I don't really know why, but my status for the endpoint is always Unknown. I'll pass this on to the PM. Are you sending messages from the IoT device to the service bus queue as described in the article? So you have set up an endpoint for the service bus queue and you are routing to it when level="critical" ? You've put that in the routing query? Are you using the sample to send the messages, and are any of the messages going through, like the ones to the stream analytics or the ones to blob storage? The first question is if the hub is routing at all or if there's a different problem.

@guub Just curious; if you refresh the page, does the endpoint show up?

@sergaz-msft I just tried on a different laptop & browser and the issue persists. I will take a look into the other issues.
@robinshI Sadly no.
I have not tried sending messages to the service bus queue. I can try tomorrow.
Thanks!

@robinsh When I was deploying new custom endpoint a week or two ago the status was always Healthy and routing is working. Yes, I am using the sample application when level="critical" and it is working but now when I am deploying new custom endpoints it seems like something doesn't work and I am doing exactly same steps as I did on my previous development. I will double check if routing is working and I will let you know today. Also, I noticed that when I am trying to synchronize keys for Service Bus Queue from IoT Hub I am getting following error "Error synchronizing access keys on service bus topic..."

@robinsh routing is working when I send messages to the BLOB storage also I noticed that when I created the custom endpoint for the Blob the status was Healthy

@myszon01 Just have to check. Your last comment above says "error synchronizing access keys on service bus topic". Are you using a topic or a queue? I haven't tried this with a topic, so have no idea how that would work. Be sure you're adding it as a queue and not as a topic?
I still have one of these deployed, and I checked it, and the status is healthy, so at least that's working.

Yes, I have double check and I am using Service Bus Queue I have no clue why I am getting this error.

Now it is working. I have deployed a new service bus.

@myszon01  That's great news! I'm glad you got it working.

@guub How's it going? Have you had any success getting the tutorial to work?

@robinsh

When you save the endpoint on the create-an-endpoint screen, it should return to the add-a-route screen with the endpoint info populated, and then you can just save the route.

I have saved the endpoint on the create-an-endpoint screen and it returns to the add-a-route screen but the endpoint is not populated nor is it in the dropdown.
At first I was using my work account when following the tutorial. Today I started over with my personal account and the service bus queue endpoint problem persists.
I have run the simulated device and confirmed that the storage level messages are stored in my container.
Please let me know what I can try to create the service bus queue endpoint.
Thanks!

@guub Are you open to doing a skype meeting and letting me see what you're doing? If so, e-mail me at robin dot shahan at microsoft dot com. This is really strange, and I'd like to see it if that's possible.

Hello @GuuB since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me or @robinsh in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi @GuuB I am also following this tutorial and have exactly the same issue .
Iothub Message Routing -> Add
Click Add next to endpoint Select service bus queue
Endpoint name CriticalQueue ,Select drop down Service bus and queue
Click create it returns back to the Message Routing add form shows :Success
16:41
Successfully created service bus endpoint: 'CriticalQueue'.
but does not populate the endpoint dropdown with the new service bus endpoint.

I'm reopening the issue. I believe we have a similar issue also on MSDN - https://social.msdn.microsoft.com/Forums/en-US/acde3b16-e14f-4ec3-9092-2164e1ce9a7c/routing-to-a-service-bus-queue?forum=azureiothub
@robinsh were you able to reproduce the issue?
Thanks!

 I think the next question for those having problems is have you edited the script used to create the resources? Are you creating a hub with an S1 sku, or are you using a free hub? You can't use a free hub, it only allows 1 endpoint, and to do this tutorial, you need more than one. So what sku are you using for your hub?

Hi Robin
My IOT hub is a F1 free hub .I don’t get any error message when creating the endpoint to the affect that there is only one endpoint allowed it actually returns successfully created message .
 I think the next question for those having problems is have you edited the script used to create the resources? Are you creating a hub with an S1 sku, or are you using a free hub? You can't use a free hub, it only allows 1 endpoint, and to do this tutorial, you need more than one. So what sku are you using for your hub?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/azure-docs/issues/16613#issuecomment-438856063 , or mute the thread https://github.com/notifications/unsubscribe-auth/Am74Le1mCsPK7viwljaaJLf7KU_vZ-jxks5uvKVJgaJpZM4XWWSK .  https://github.com/notifications/beacon/Am74LUAHwZiRIegv8TkIjIZk4jv_SAuFks5uvKVJgaJpZM4XWWSK.gif

@RogerFraserZa I've talked to the engineer and the PM that own that feature. We're going to meet on Monday to finalize the action we'll take. I think we'll end up adding a note to the tutorial warning people not to use a free hub, and they will make it so you can't add more than 1 endpoint, and it gives you an error message. I'll report back early next week.
@Guub Are you also using a free IoT hub rather than the S1 hardcoded in the script used to create the hub?

@GuuB please can you confirm that you used free IoTHub as well? I have assigned the issue to @robinsh that will enhance the doc based on your feedback.
Thanks!

@sergaz-msft @robinsh I can confirm I was using the free F1 IoT Hub pricing tier.
Glad you guys found the cause! Thanks.

I've updated the article to have a note that explains you can't use a free IoT Hub for this tutorial.

This issue can be closed. The problem was that they were using a Free IoT Hub, and you can't do that for this tutorial, as it requires you to set up multiple endpoints.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


so What's the effect

I code it for making Microsoft Word is Crash via Ext rtf

i code it for making microsoft word (with extension .rtf) crash

And can RCE

"Can RCE" sure lmao

This method requires modifying the Windows Registry and also comes with a caveat: “if you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system.”


cmake: Use find_package() to find Snappy

Thank you for your contribution!
We're not currently interested in contributions to the build configuration. We now have a paragraph explaining the situation in  https://github.com/google/leveldb/blob/master/README.md#contributing-to-the-leveldb-project


Include environment variables for CloudFront and WebKnossos

@kabilar -- confirmed that these values are what we have in Heroku currently -- going to merge, but no need to apply the Terraform charts.


Failure in fetch_device_json

For liftmaster garage door.
Started on 2019/2/27
2019-03-02 23:51:06,931 INFO     ==================================STARTED==================================
2019-03-02 23:51:07,595 ERROR    Traceback (most recent call last):
2019-03-02 23:51:07,596 ERROR      File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 331, in _make_request
2019-03-02 23:51:07,598 ERROR    httplib_response = conn.getresponse(buffering=True)
2019-03-02 23:51:07,599 ERROR    TypeError
2019-03-02 23:51:07,600 ERROR    :
2019-03-02 23:51:07,600 ERROR    getresponse() got an unexpected keyword argument 'buffering'
2019-03-02 23:51:07,601 ERROR
During handling of the above exception, another exception occurred:
2019-03-02 23:51:07,601 ERROR    Traceback (most recent call last):
2019-03-02 23:51:07,602 ERROR      File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 516, in urlopen
2019-03-02 23:51:07,605 ERROR    body=body, headers=headers)
2019-03-02 23:51:07,605 ERROR      File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 333, in _make_request
2019-03-02 23:51:07,608 ERROR    httplib_response = conn.getresponse()
2019-03-02 23:51:07,608 ERROR      File "/usr/lib/python3.4/http/client.py", line 1172, in getresponse
2019-03-02 23:51:07,613 ERROR    response.begin()
2019-03-02 23:51:07,614 ERROR      File "/usr/lib/python3.4/http/client.py", line 351, in begin
2019-03-02 23:51:07,617 ERROR    version, status, reason = self._read_status()
2019-03-02 23:51:07,617 ERROR      File "/usr/lib/python3.4/http/client.py", line 313, in _read_status
2019-03-02 23:51:07,620 ERROR    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
2019-03-02 23:51:07,620 ERROR      File "/usr/lib/python3.4/socket.py", line 371, in readinto
2019-03-02 23:51:07,623 ERROR    return self._sock.recv_into(b)
2019-03-02 23:51:07,624 ERROR      File "/usr/lib/python3.4/ssl.py", line 745, in recv_into
2019-03-02 23:51:07,628 ERROR    return self.read(nbytes, buffer)
2019-03-02 23:51:07,628 ERROR      File "/usr/lib/python3.4/ssl.py", line 617, in read
2019-03-02 23:51:07,632 ERROR    v = self._sslobj.read(len, buffer)
2019-03-02 23:51:07,632 ERROR    ConnectionResetError
2019-03-02 23:51:07,633 ERROR    :
2019-03-02 23:51:07,634 ERROR    [Errno 104] Connection reset by peer
2019-03-02 23:51:07,634 ERROR
During handling of the above exception, another exception occurred:
2019-03-02 23:51:07,635 ERROR    Traceback (most recent call last):
2019-03-02 23:51:07,635 ERROR      File "/usr/lib/python3/dist-packages/requests/adapters.py", line 362, in send
2019-03-02 23:51:07,637 ERROR    timeout=timeout
2019-03-02 23:51:07,638 ERROR      File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 559, in urlopen
2019-03-02 23:51:07,641 ERROR    _pool=self, _stacktrace=stacktrace)
2019-03-02 23:51:07,642 ERROR      File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 245, in increment
2019-03-02 23:51:07,644 ERROR    raise six.reraise(type(error), error, _stacktrace)
2019-03-02 23:51:07,644 ERROR      File "/usr/lib/python3/dist-packages/six.py", line 624, in reraise
2019-03-02 23:51:07,648 ERROR    raise value.with_traceback(tb)
2019-03-02 23:51:07,648 ERROR      File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 516, in urlopen
2019-03-02 23:51:07,651 ERROR    body=body, headers=headers)
2019-03-02 23:51:07,652 ERROR      File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 333, in _make_request
2019-03-02 23:51:07,654 ERROR    httplib_response = conn.getresponse()
2019-03-02 23:51:07,655 ERROR      File "/usr/lib/python3.4/http/client.py", line 1172, in getresponse
2019-03-02 23:51:07,660 ERROR    response.begin()
2019-03-02 23:51:07,660 ERROR      File "/usr/lib/python3.4/http/client.py", line 351, in begin
2019-03-02 23:51:07,663 ERROR    version, status, reason = self._read_status()
2019-03-02 23:51:07,664 ERROR      File "/usr/lib/python3.4/http/client.py", line 313, in _read_status
2019-03-02 23:51:07,666 ERROR    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
2019-03-02 23:51:07,667 ERROR      File "/usr/lib/python3.4/socket.py", line 371, in readinto
2019-03-02 23:51:07,669 ERROR    return self._sock.recv_into(b)
2019-03-02 23:51:07,670 ERROR      File "/usr/lib/python3.4/ssl.py", line 745, in recv_into
2019-03-02 23:51:07,674 ERROR    return self.read(nbytes, buffer)
2019-03-02 23:51:07,675 ERROR      File "/usr/lib/python3.4/ssl.py", line 617, in read
2019-03-02 23:51:07,678 ERROR    v = self._sslobj.read(len, buffer)
2019-03-02 23:51:07,679 ERROR    urllib3.exceptions
2019-03-02 23:51:07,679 ERROR    .
2019-03-02 23:51:07,680 ERROR    ProtocolError
2019-03-02 23:51:07,680 ERROR    :
2019-03-02 23:51:07,681 ERROR    ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2019-03-02 23:51:07,681 ERROR
During handling of the above exception, another exception occurred:
2019-03-02 23:51:07,682 ERROR    Traceback (most recent call last):
2019-03-02 23:51:07,682 ERROR      File "myq-garage.py", line 397, in
2019-03-02 23:51:07,685 ERROR    myq_main()
2019-03-02 23:51:07,686 ERROR      File "myq-garage.py", line 365, in myq_main
2019-03-02 23:51:07,688 ERROR    device_instances = myq.get_devices()
2019-03-02 23:51:07,689 ERROR      File "myq-garage.py", line 311, in get_devices
2019-03-02 23:51:07,691 ERROR    res = self.fetch_device_json()
2019-03-02 23:51:07,692 ERROR      File "myq-garage.py", line 293, in fetch_device_json
2019-03-02 23:51:07,694 ERROR    req = self.session.get(self.enumurl, headers=self.headers, params=payload)
2019-03-02 23:51:07,695 ERROR      File "/usr/lib/python3/dist-packages/requests/sessions.py", line 469, in get
2019-03-02 23:51:07,696 ERROR    return self.request('GET', url, **kwargs)
2019-03-02 23:51:07,696 ERROR      File "/usr/lib/python3/dist-packages/requests/sessions.py", line 457, in request
2019-03-02 23:51:07,698 ERROR    resp = self.send(prep, **send_kwargs)
2019-03-02 23:51:07,698 ERROR      File "/usr/lib/python3/dist-packages/requests/sessions.py", line 569, in send
2019-03-02 23:51:07,700 ERROR    r = adapter.send(request, **kwargs)
2019-03-02 23:51:07,700 ERROR      File "/usr/lib/python3/dist-packages/requests/adapters.py", line 407, in send
2019-03-02 23:51:07,701 ERROR    raise ConnectionError(err, request=request)
2019-03-02 23:51:07,702 ERROR    requests.exceptions
2019-03-02 23:51:07,702 ERROR    .
2019-03-02 23:51:07,702 ERROR    ConnectionError
2019-03-02 23:51:07,703 ERROR    :
2019-03-02 23:51:07,703 ERROR    ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

I am closing this due to it now working again. I don't change anything, I wonder if there was a server down somewhere.


participant_id_url is not being recorded

Since approximately March 5, the JSON exports erroneously report the participant_id_url as NULL in the That's My Song exports (and presumably would do the same for any other experiment using them). Could these be returned to the export, please?

It seems that this data is actually not saved to the database at the moment. So the export works, but the ?participant_id= is broken on the version running on production (1.9.0). There were two hotfixes for this in the meantime, but they seem to have not been deployed to production.

If they are not being stored in the database, this is quite a high-priority and urgent issue: it means that the data currently being collected will be unusable for research (or usable only after a complex time/matching process). How difficult will it be to fix?

Fixed as of the lastest release.


Arch ignores members of kvm group?

Even after adding my user to the kvm group, arch still ignores these and will refuse to let me run apps that require access to kvm as a user. Running a KVM app as root or setting /dev/kvm with chmod -R 777 works fine otherwise.
Steps to reproduce the behavior:

Add the user to kvm group usermod -aG kvm $USER
check if the user is a member of said groups via groups $USER
user@localhost:~$ groups user
wheel kvm user
Run a kvm app as user i.e. dosemu2 or qemu-kvm.
user@localhost:~$ dosemu ERROR: KVM: error opening /dev/kvm: Permission denied

Expected behavior
For kvm to honor my user as a member of the kvm group
Screenshots

Enviroment:

Windows build number: [Version 10.0.22000.282]
Security Software: Kaspersky Security Cloud
WSL version 1/2: 2
ArchWSL version: <IP_ADDRESS>
ArchWSL Installer type: Zip
Launcher version: wsldl2, version 21082800  (amd64)

Additional context
I'm trying to run dosemu with kvm, but unfortunately everytime I do so I need to alter the permissions to /dev/kvm since it can't run as root.

Have you tried to reboot wsl2?
(In powershell)'wsl --shutdown '

From: dyharlan @.>
Sent: Saturday, October 30, 2021 4:56:17 PM
To: yuk7/ArchWSL @.>
Cc: Subscribed @.***>
Subject: [yuk7/ArchWSL] Arch ignores members of kvm group? (Issue #256)
Even after adding my user to the kvm group, arch still ignores these and will refuse to let me run apps that require access to kvm as a user. Running a KVM app as root or setting /dev/kvm with chmod -R 777 works fine otherwise.
Steps to reproduce the behavior:

Add the user to kvm group usermod -aG kvm $USER
check if the user is a member of said groups via groups $USER
@.***:~$ groups user
wheel kvm user
Run a kvm app as user i.e. dosemu2 or qemu-kvm.
@.***:~$ dosemu ERROR: KVM: error opening /dev/kvm: Permission denied

Expected behavior
For kvm to honor my user as a member of the kvm group
Screenshots
[Screenshot 2021-10-30 225434]https://user-images.githubusercontent.com/8185389/139538220-2d5fb832-ca0e-410e-8273-d7f969a2f226.png
[Screenshot 2021-10-30 225531]https://user-images.githubusercontent.com/8185389/139538251-ed1897dd-a5de-4f59-80a1-3f91c4f12aa7.png
Enviroment:

Windows build number: [Version 10.0.22000.282]
Security Software: Kaspersky Security Cloud
WSL version 1/2: 2
ArchWSL version: <IP_ADDRESS>
ArchWSL Installer type: Zip
Launcher version: wsldl2, version 21082800 (amd64)

Additional context
I'm trying to run dosemu with kvm, but unfortunately everytime I do so I need to alter the permissions to /dev/kvm since it can't run as root.
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/yuk7/ArchWSL/issues/256, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGIHJGPQ2G5K5ATRDP3QJXDUJQBRDANCNFSM5HBFF7QQ.

Have you tried to reboot wsl2? (In powershell)'wsl --shutdown '
…
________________________________ From: dyharlan @.> Sent: Saturday, October 30, 2021 4:56:17 PM To: yuk7/ArchWSL @.> Cc: Subscribed @.> Subject: [yuk7/ArchWSL] Arch ignores members of kvm group? (Issue #256) Even after adding my user to the kvm group, arch still ignores these and will refuse to let me run apps that require access to kvm as a user. Running a KVM app as root or setting /dev/kvm with chmod -R 777 works fine otherwise. Steps to reproduce the behavior: 1. Add the user to kvm group usermod -aG kvm $USER 2. check if the user is a member of said groups via groups $USER @.:~$ groups user wheel kvm user 3. Run a kvm app as user i.e. dosemu2 or qemu-kvm. @.***:~$ dosemu ERROR: KVM: error opening /dev/kvm: Permission denied Expected behavior For kvm to honor my user as a member of the kvm group Screenshots [Screenshot 2021-10-30 225434]https://user-images.githubusercontent.com/8185389/139538220-2d5fb832-ca0e-410e-8273-d7f969a2f226.png [Screenshot 2021-10-30 225531]https://user-images.githubusercontent.com/8185389/139538251-ed1897dd-a5de-4f59-80a1-3f91c4f12aa7.png Enviroment: * Windows build number: [Version 10.0.22000.282] * Security Software: Kaspersky Security Cloud * WSL version 1/2: 2 * ArchWSL version: <IP_ADDRESS> * ArchWSL Installer type: Zip * Launcher version: wsldl2, version 21082800 (amd64) Additional context I'm trying to run dosemu with kvm, but unfortunately everytime I do so I need to alter the permissions to /dev/kvm since it can't run as root. ― You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#256>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGIHJGPQ2G5K5ATRDP3QJXDUJQBRDANCNFSM5HBFF7QQ.

Yes, I've restarted it multiple times. Still, kvm apps ignore the kvm group.

I've been experiencing similar problems on Ubuntu 20.04 LTS. The root cause was that WSL doesn't give /dev/kvm the correct ownership and permissions on boot, so I had to manually correct them using a WSL startup hack.
What are the ownership and permissions of /dev/kvm upon booting WSL? The correct ownership and permissions are shown below.
$ ls -alh /dev/kvm
crw-rw---- 1 root kvm 10, 232 Nov  1 06:10 /dev/kvm

If your /dev/kvm ownership and permissions differ from what is shown here, you can use the before mentioned WSL startup hack. It is achieved by creating a startup script for WSL to execute. I've placed mine in /usr/local/bin/wslboot, but you may place yours anywhere you want. Below is an example startup script to correct your /dev/kvm ownership and permissions, but again, you may put anything in this script as you please.
#!/bin/bash
#
# WSL startup script. It is meant to run when WSL is booted.

# Set correct ownership and permissions for /dev/kvm
chown root:kvm /dev/kvm && chmod 0660 /dev/kvm

Then you want to modify /etc/wsl.conf to contain a boot command that points to your startup script.
[boot]
; Any startup script location of choice.
command=/usr/local/bin/wslboot

Once everything is set up, you may restart WSL by invoking wsl.exe --shutdown and restarting your terminal emulator of choice. Your /dev/kvm should now have the correct ownership and permissions.

Thanks! the script does in fact work, however after generating a wsl.conf with the example one you have, it seems to just ignore it for some reason?


Add document_enabled_features

Having an function document_enabled_features would be an nice addition to display the set of enabled features to the user of an binary application when implementing an --version command.

But sure I really understand what you're asking. What will call this function and what would be the output for example?

Maybe this could be even realized by exposing an function returning an list of structs like this:
pub struct DocumentedFeature {
  pub feature: &'static str,
  pub description: &'static str,
  pub enabled: bool,
}

Note that document_feature is a proc_macro crate. And i'd like it to stay this way. So we can't have functions and types, only macro.
What is the use case you're looking at?


No 0.4.2 tag on GitHub

It appears that there's a 0.4.2 on PyPI, but the corresponding tag for it has not been pushed to GitHub.

I think it is not even present at all - the 0.4.2 seems to be a backport of #53 - but the changes are not in the 0.4.x branch.
I was working on using directly the appropriate commit to get the latest changes to fedora, but I don't think it is currently possible without redoing the backport to get a similar result the what is on pypi.

Back when I did 0.4.2, I just took the then master branch and locally changed the version to release 0.4.2 since #53 was the only change. Yes, that was bad practice, but I'm certainly not going to fix it now. I'm currently working on fixing tests and ensuring compatibility with the latest python/matplotlib versions and getting CI to work again. I will cut a 0.4.3 or 0.5.0 release properly. Then I will look into existing pull requests and issues again.


⚠ Bofrost.lu has degraded performance

In bbce45b, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 4166 ms

Resolved: Bofrost.lu performance has improved in 2ec6165 after 7 minutes.


Broken types when using render functions with generic components & defineModel

Vue version
3.5.12
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-1b6lrs?file=src%2FApp.vue
Steps to reproduce
The bug is described in the comments of the code.
App.vue
<script setup lang="ts">
import { h, ref } from 'vue';
import Comp from './Comp.vue';

const foo = ref<string>('foo');

// val should be of type 'string', not 'unknown'
const FunctionalComponent = () => h(Comp, {
  /* unknown */ modelValue: foo.value,
  ['onUpdate:modelValue']: (val /* unknown */) => foo.value = val,
});
</script>

<template />

Comp.vue
<script setup lang="ts" generic="T">
defineModel<T>({required: true});
</script>

<template />

What is expected?
Render functions should have proper type based on the provided value to the generic component.
What is actually happening?
Render functions have 'unknown' type, regardless of the provided value to the generic component.
System Info
No response
Any additional comments?
Issue was moved  from language-tools repo.

should be
const FunctionalComponent = () => h(Comp<string>, {
  modelValue: foo.value,
  ['onUpdate:modelValue']: (val) => foo.value = val,
});

So you have to manually specify it, it can't get inferred?

For generic components, you need to specify the type; there is no way to infer it automatically.

Okay, now that I see it, it seems pretty straightforward, but I wonder if this should be mentioned somewhere in the docs?
In any case, the issue can be closed.


[SPARK-6332] [MLlib] compute calibration curve for binary classifier

This PR contains an implementation of a calibration method in the class BinaryClassificationMetrics. The code was adapted from the method for ROC curve construction. Tests on small data sets have been added to BinaryClassificationMetricsSuite, and the current version of the code passes those tests.
In this implementation, the return value of the new method is an RDD[((Double, Double), (Double, Long))]. The first pair describes each bin and the second pair describes the content of each bin. In the first pair, the two values are the least and greatest scores in the bin. In the second pair, the two values are the proportion of positive examples in the bin, and the number of examples in the bin. I chose this representation in order to keep as much information as possible. However, a simpler representation might be better; let's talk about that if anyone is interested.

Can one of the admins verify this patch?

@robert-dodier  Thanks for the PR!  I added a couple of clarification questions to the JIRA

Can one of the admins verify this patch?

ok to test

Can one of the admins verify this patch?

Can you resolve merge conflicts?
I made a quick pass for style and organization; did not check correctness. Overall it looks like there is quite a bit of repeated code between here and cumulativeCounts/confusions which we may be able to refactor out


About the train time, its quite slow

Here is 3090 in win10, I found it quite slow to train, I've spent one hour in 1000 epoch, in low_vram config's stage 1. Is that normal?
Epoch 0: |                                                                           | 1094/? [1:02:51<00:00,  0.29it/s]

Hi @r530044129 ,
That's interesting. Could you please test the MVDream generation first? I can run 10x faster than you with 3090.

MVDream is quite slow too, eg.:
Epoch 0: |                                                                               | 14/? [05:56<00:00,  0.04it/s]
6 mins just finish 14 epoch, i just use the recommend python code in MVDream test:
python launch.py --config custom/threestudio-mvdream/configs/mvdream-sd21.yaml --train --gpu 0 system.prompt_processor.prompt="an astronaut riding a horse"

hey, I've tried the MVDream, with default command:
python launch.py --config custom/threestudio-mvdream/configs/mvdream-sd21.yaml --train --gpu 0 system.prompt_processor.prompt="a dog riding a skateboard"

It's cost about 3.5h to finish 10000 epoch, is that the normal speed?
Epoch 0: |                                                                          | 10000/? [3:31:59<00:00,  0.79it/s][INFO] `Trainer.fit` stopped: `max_steps=10000` reached.
Epoch 0: |                                                                          | 10000/? [3:31:59<00:00,  0.79it/s][INFO] LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]


Listing prices are stored in DB as an integer

The price column of the Listing table is created as an int https://github.com/OriginProtocol/bridge-server/blob/master/database/migrations/versions/47df3d43171e_add_listing_table.py#L27
When listings get indexed, the prices get rounded:

Done via #77 ✅


mod: bump ignition{/v2} dependencies

In order to prepare a tagged version of ign-converter, let's bump the dependencies.

@pothos do you think we could merge this one in order to tag ign-converter and update consequently Ignition dependency ? This bump targets current flatcar-master and main branches from flatcar-linux/ignition

Ah, there is a cycle anyway and ign-converter has to go first


SliverReorderableList adds extra unwanted space when dragging an item, only when prototypeItem is provided

Steps to reproduce

Create a SliverReorderableList in which the prototypeItem is exactly the same as (and has the exact dimensions of) the item built in itemBuilder
Start dragging any item of the list

Expected results
The item being dragged should be kept in place and the space that is "behind" it should be kept unchanged.
Actual results
The space "behind" the item being dragged increases.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  MyHomePageState createState() => MyHomePageState();
}

class MyHomePageState extends State<MyHomePage> {
  final items = [for (int i = 0; i < 10; i++) 'Item $i'];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('SliverReorderableList Example'),
      ),
      body: CustomScrollView(
        slivers: [
          SliverReorderableList(
            itemBuilder: (context, index) {
              return ReorderableDragStartListener(
                key: ValueKey(items[index]),
                index: index,
                child: _Tile(
                  Text(items[index]),
                ),
              );
            },
            itemCount: items.length,
            onReorder: (oldIndex, newIndex) {
              setState(() {
                if (newIndex > oldIndex) {
                  newIndex -= 1;
                }
                final item = items.removeAt(oldIndex);
                items.insert(newIndex, item);
              });
            },
            // Comment `prototypeItem` to fix the issue
            prototypeItem: const _Tile(
              Text('Item 0'),
            ),
          ),
        ],
      ),
    );
  }
}

final class _Tile extends StatelessWidget {
  const _Tile(this.title);

  final Widget title;

  @override
  Widget build(BuildContext context) {
    return Material(
      child: ListTile(
        title: title,
        trailing: const Icon(Icons.drag_handle),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
Actual results
https://github.com/flutter/flutter/assets/4605213/b4ff44aa-4d49-44ae-97a0-97ce19b218bd
Expected results
The expected results were achieved by removing the prototypeItem parameter
https://github.com/flutter/flutter/assets/4605213/16adb90f-87e3-4c14-af58-6a59749e88d0

Logs
No response
Flutter Doctor output
The sample code was made and ran in DartPad stable channel (Flutter 3.16.9 Dart SDK 3.2.6).

Reproduced this issue on master channel as well.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.9 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (14 hours ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.85.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 120.0.6099.234

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.19.0-14.0.pre.21, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.0-14.0.pre.21 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6379378c88 (21 minutes ago), 2024-01-30 22:08:36 -0500
    • Engine revision 2d2d88068a
    • Dart version 3.4.0 (build 3.4.0-92.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.85.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 121.0.6167.85

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.


Can't get any webpack output/webpack-bundle-analyzer output on yarn build -- typescript semantic errors break the build

Version
3.0.0-beta.10
Reproduction link
https://gist.github.com/archSeer/da83151406461966adaa9bd7c4125622
Steps to reproduce
yarn build
What is expected?
⠼  Building for production...

 WARNING  Compiled with 3 warnings                                                                                11:13:50 AM

 warning

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  js/vendors~app.0c7b91b4.js (700 KiB)

 warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  app (992 KiB)
      css/vendors~app.0.0c2d3117.css
      js/vendors~app.0c7b91b4.js
      css/app.db2af613.css
      js/app.ef588c7d.js

 warning

webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

  File                                   Size              Gzipped

  dist/js/vendors~app.0c7b91b4.js        699.72 kb         224.05 kb
  dist/js/app.ef588c7d.js                126.79 kb         22.49 kb
  dist/css/app.db2af613.css              157.99 kb         34.97 kb
  dist/css/vendors~app.0.0c2d3117.css    7.92 kb           1.83 kb

  Images and other types of assets omitted.

 DONE  Build complete. The dist directory is ready to be deployed.

✨  Done in 15.46s.

What is actually happening?
...

 error  in /.../views/Tasks.vue

(81,28): Type '{ assignedTasks: never[]; }' is not assignable to type 'User'.
  Object literal may only specify known properties, and 'assignedTasks' does not exist in type 'User'.

 ERROR  Build failed with errors.
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c vue-cli-service build
Directory: /ui
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "/ui/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I'm using the typescript plugin with the class syntax, and on yarn build, I can't get any useful webpack output in the console (a breakdown of the webpack chunks that you'd usually see on the old cli).
I do have a bunch of errors in typescript, but those are unfixable since a lot of the ecosystem still isn't prepared to work with vue   typescript. I figured it might be that the errors swallow up the output (but I couldn't find any ignore errors flag), so what I did next was add the bundle analyzer. It runs fine on yarn serve, but I can't get any output from it on yarn build, I've tried both static and the server setting. Meanwhile the compressor plugins ran just fine.
I think this issue is related https://github.com/wmonk/create-react-app-typescript/issues/171, there's no way to get typescript semantic errors to not halt the build.

In your case it is not a semantic error, but a type error.
But either way this not fixable in Vue CLI - it has to either happen in ts-loader or TypeScript itself.

@yyx990803 in the linked issue, they made the type checking step optional. vue-cli could offer a flag for that:
(process.env.NO_EMIT_ON_ERROR ? new ForkTsCheckerWebpackPlugin({
      async: false,
      watch: paths.appSrc,
      tsconfig: paths.appTsConfig,
      tslint: paths.appTsLint,
    }) : null),
  ].filter(Boolean),

You can conditionally delete the ForkTSChecker plugin in vue.config.js.


fixAdd wait for full compaction

Proposed changes
test_index_compaction_fault_injection case is unstable.
Add wait to check full compaction is done before assert.

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


Add outputHashes and buildInputs documentation for Rust

From the Nixpkgs manual: "The output hash of each dependency that uses a git source must be specified in the outputHashes attribute."
Ran into this with a user: https://floxtalk.slack.com/archives/C041FC8P41E/p1662495152447749
We should update the rust template as well as the Rust docs
Also ran into needing to add openssl.dev and darwin.apple_sdk.frameworks.SystemConfiguration to buildInputs.

I just now saw that this got reassigned to @ysndr , but I have some work on the template in https://github.com/flox/floxpkgs/pull/46


Image processing with Coil in Android using Kotlin

Proposed title of article
Image processing with Coil in Android using Kotlin
Introduction paragraph (2-3 paragraphs):
An application that doesn't process images, is pretty weird and tedious nowadays. One of the essential skills that an Android developer should have is knowing how to correctly work with images especially from a remote source. Nevertheless, this can be done in different ways based on the feature you want to implement in your app. In most cases, you might need to perform not only loading but also memory and disk caching, down-sampling the image in memory, re-using Bitmaps, and automatically pausing/cancelling requests.
In this tutorial we will learn how to perform the above mentioned tasks and many more using a fast,  lightweight, and easy-to-use library called Coil. This library is made in 100% Kotlin which makes it suitable for modern Android development.
Key takeaways:
By the end of this tutorial, the reader is expected to be able to:

Understand why Coil is preferred over other image processing libraries.
Load images from  remote sources using Coil.
Perform various image transformations.
Effectively handle errors encountered in any task.

References:
N/A

closing for now - can be reopened when the 1st on is published.

Hey @hectorkambow, could you please reopen this! The other one has been merged 🎉

@nonimdiana
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please references any relevant EngEd articles in yours. - Approved


Async writes in appenders?

Hey,
Been looking through this, wanted to check and confirm that there isn't a way to do async writes for each record logged? Is that a feature that is going to be included at some point? Something like https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/AsyncAppender.html

I wrote this a while back: https://www.imperva.com/blog/logging-a-deep-dive/
The issue with full-pipeline async logging is that the actual log message may contain borrowed data. Therefore you must serialize before queuing the data to be written on another thread. In that case, it's probably better to just use a buffered writer (which log4rs does) and amortize the cost of going to disk. The exception to this is if your application is real-time.

Yeah for the application I was working on at the time that wouldn't have worked out. We wanted to to consistent and predictable performance, which is why I wanted to do something with a separate thread.  I ended up hacking something together with tokios tracing crate. I'm also not working on the original project anymore this was going to be used for so I'm kind of indifferent now. Thanks for getting back to me!


Many tests fail on Windows, apparently due to line ending issues

I cloned this project on a PC running Windows 10 and proceded to execute mvn package with
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\opt\apache-maven-3.6.3\bin\..
Java version: 1.8.0_121, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_121\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

The result was:
[ERROR] Tests run: 823, Failures: 77, Errors: 0, Skipped: 2

Looking into the first failure, i.e. io.proleap.cobol.preprocessor.copy.cobolword.variable.CopyCblWrdTest I noticed that the expected string contains CR-LF sequences as line endings, while the actual string only LF. This happens because, while preprocessing replaces line endings with the LF character, FileUtils.readFileToString() does not and on Windows test resources contain Windows line endings.
A simple way to make tests pass would be to replace calls to readFileToString() with something like:
    final List<String> l = FileUtils.readLines(expectedFile, StandardCharsets.UTF_8);
    String expected = "";
    for ( String s: l ) {
        if ( expected != "" ) {
            expected += NEWLINE;
        }
        expected += s;
    }

However I wonder if this is the correct approach or if it wouldn't be better to make the preprocessor itself more platform independent. I only just started looking into this project and I don't have a clear idea of how things work.
Would you be interested in a pull request tackling Windows support? I ask because this project appears to have been quiescent for the last year and a half.

Hi Nicola,
thanks for the issue! I am developing under Mac OS and Linux, and so that error did not occur on my systems.
However, thanks to your issue in the last days I:

bumped dependencies from Java 8 to Java 11
bumped version of the parser from 3.0.0 to 4.0.0
removed Apache dependencies commons-io and commons-lang, so the code now has minimal dependencies
in the end could replace FileUtils.readFileToString and the problematic LF-based custom code in da139ecc4f12ac929d10e32d166da4a0e61898e8 with Files.readString, which was introduced in Java 11.

The new Files.readString hopefully should solve the problem. I will check this weekend on a Windows system, if the problem is solved. A short note from your side would be helpful, if it works for your now.
Thanks, Ulrich

Hi Ulrich,
Thank you for addressing my issue so promptly. Unfortunately my problem is still there. However it appears to be easily fixable by modifying the NEWLINE constant in io.proleap.cobol.preprocessor.CobolPreprocessor from
final static String NEWLINE = "\n";

to
final static String NEWLINE = System.lineSeparator();

With this change all tests pass for me on both Windows and Linux.

Hi Nicola,
I tested mvn clean test on Windows 10 and ran into problems due to charset windows-1252. Therefore in 522630f4a438fb7a49cedb647044573fbd6fc878 I changed default charset to UTF-8. After this change on my Win 10 machine with JDK 11 and Maven 3.6.3 the test suite passes a mvn clean test with Tests run: 823, Failures: 0, Errors: 0, Skipped: 2 -> BUILD SUCCESS. The test suite also passes when running it in Eclipse on Windows 10.
I also thought about switching NEWLINE from \n to System.lineSeparator(). However, this would introduce platform-dependent behavior of the preprocessor, when it creates preprocessed COBOL code for the parser.
If the problem persists on your machine, please let me know. The next step would then be to identify the difference between our machines. If you have other questions regarding the parser, also let me know!
Ulrich

Hi Ulrich,
It's your call obviously, but I'm not convinced that having the intermediate source platform dependent would be that bad. I assume that your main use case is to translate COBOL in something altogether different, however Antlr's TokenRewriteStream makes it very convenient to implement preprocessors. I used Antlr to replace embedded SQL calls with a proprietary implementation. I was actually looking for ways to "modernize" that project when I stumbled upon this one. In similar cases not preserving platform line endings might make it awkward for downstream tools. That said it's not overly important for me as Linux is going to be our main deployment platform.
As soon as I have a moment I'll try and check which of my Windows machine settings may affect line endings.
Nicola


Fix Cargo.toml capitalization

Fixes #776

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.039%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1298

Relevant Lines:
1319

💛  - Coveralls


Add "DAMIP" to "E3SM-1-0" for "hist-GHG" experiments

Hi @doutriaux1, we are about to publish some "his-GHG" experiments for "E3SM-1-0", which I believe belongs to "DAMIP", would you please register the new activity? The linked institution_id should be "E3SM Project". Thanks.

@chengzhuzhang that change should now be in place, please take a peek at CMIP6_source_id.html and confirm no more changes are required

Great! The PR takes care of it. Thank you!


[FEATURE] dry run on dry run?

Now ng-morph saves changes even if it has been started inside NX generator in "dry run" mode. We need to think about this case and either block saving or provide a guideline for this behaviour

Any answer to that?


[Feature Request] Implement some more tests for td.permute

As pointed in here it'd be cool to write some more tests for TensorDict.permute().

I think permute is now well tested, closing for now


Change the Via HTML AWS NGINX to allow larger headers

This fixes sites like youtube.com that send very large headers. We do this in the deployed NGINX, but not the Elastic Beanstalk one.
In our code this is something like:
# Prevent enormous headers (like youtube sends back) from killing
# us. This prevents "upstream sent too big header while reading
# response header from upstream" errors in our output
uwsgi_buffer_size          128k;
uwsgi_buffers              4 256k;
uwsgi_busy_buffers_size    256k;

For the external NGINX it would probably be proxy_... instead of uwsgi_....
Questions

Is this actually what's going on at all?
Can we configure this at all?
If we can where's the best place to do it?

@jon-betts - When you get a moment, can you please devise a method to test this problem. We can then run the test before and after any changes are made to verify if a fix has been implemented.

Due to be working on this the week starting: 2020-09-07

Work here is now complete. I can load the following Prod and QA urls with hitting a 502 error.
https://via3.hypothes.is/html/v/https://twitter.com/JesseLehrich/status/1282089662023176192/photo/1
https://qa-via3.hypothes.is/html/v/https://twitter.com/JesseLehrich/status/1282089662023176192/photo/1
A couple of points to note...
Memory consumption
I am not sure we can provide a finer grained solution without testing the header size of all the sites we are likely to proxy, which could also change over time anyway. Due to this, we might get into the situation where Via uses more memory than it previously use to. It also means we are vastly overspec for the majority of sites we will be working with.
The settings applied mean we will use 640K of RAM for each connection we are proxy. It will soon add up if we are serving many connections at the same time. Some rough sums....
1000 connections = 6.4GB
2000 connections = 12.8GB
3000 connections = 19.2GB
4000 connections = 25.6GB
Container Commands
Elastic Beanstalk is doing something funny when it attempts to validate an nginx config. I don't know exactly what it is doing, but if you define a command to reload nginx after the ebextension has run via the container commands method. The deployment will potentially fail.
I have only been able to cause it to fail in production, it completes successfully in qa. This may have something to do with the deployment types with prod doing a rolling / immutable update, and qa doing it in place. I am not sure...
However, what I can confirm is you don't need to perform the reload via the ebextension. Elastic Beanstalk performs an nginx restart after the deployment has completed successfully, so it removes the need to perform the reload via the extension.
Others have reported similar problems. The stackoverflow post here, provides a response from AWS support: https://stackoverflow.com/a/48203336/434243
Links to PRs with additional commentary...
https://github.com/hypothesis/deployment/pull/130
https://github.com/hypothesis/deployment/pull/133