vaagrant up throwing error

Issue Type

Bug Report / Support Request

Your Environment
$ vagrant up
C:/HashiCorp/Vagrant/embedded/gems/gems/childprocess-0.6.3/lib/childprocess/windows/handle.rb:12:in open': Access is denied. (5) (ChildProcess::Error)         from C:/HashiCorp/Vagrant/embedded/gems/gems/childprocess-0.6.3/lib/childprocess/windows/process.rb:71:in launch_process'
from C:/HashiCorp/Vagrant/embedded/gems/gems/childprocess-0.6.3/lib/childprocess/abstract_process.rb:82:in start'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/subprocess.rb:141:in block in execute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/safe_chdir.rb:26:in block (2 levels) in safe_chdir'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/safe_chdir.rb:25:in chdir'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/safe_chdir.rb:25:in block in safe_chdir'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/safe_chdir.rb:24:in synchronize'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/safe_chdir.rb:24:in safe_chdir'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/subprocess.rb:140:in execute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/subprocess.rb:22:in execute'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/powershell.rb:81:in version'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/powershell.rb:95:in validate_install!'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/powershell.rb:50:in execute_cmd'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/platform.rb:73:in block in windows_admin?'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/util/platform.rb:75:in windows_admin?'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/plugins/providers/hyperv/provider.rb:19:in usable?'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:379:in block in default_provider'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/registry.rb:49:in block in each'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/registry.rb:48:in each'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/registry.rb:48:in each'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:365:in default_provider'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/plugin/v2/command.rb:177:in block in with_target_vms'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/plugin/v2/command.rb:204:in block in with_target_vms'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/plugin/v2/command.rb:186:in each'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/plugin/v2/command.rb:186:in with_target_vms'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/plugins/commands/up/command.rb:87:in execute'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/cli.rb:42:in execute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/lib/vagrant/environment.rb:308:in cli'         from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.1/bin/vagrant:138:in '
OS

Windows (10)

I was trying to run using GitBash, but its working fine when using Powershell.

Initially I was using GitBash with limited access and it is working fine with PowerShell with Admin privileges.


No creep executing x!

Description of issue:
When a creep is switching from one task to another the new task is logging the error 'No creep executing taskname!'. Transfers and pickup are sometimes completely skipped by this causing the creep to only properly execute the goTo task.
It seems that the issue is caused because the creep name is undefined when the new task is executed.
Steps to reproduce:
Assign multiple tasks to a creep.task with Tasks.chain().
Error message:
N/A
No creep executing harvest!
No creep executing pickup!

Other information:

creep-tasks version: 1.3.0

Commit hash: e41540bc9bb8de161289e776be4dd0b7e430382d

Using creep-tasks with: TypeScript
Issue is with dependency: no

I can confirm this bug. When setting up tasks using chain, all parents task's creep value is undefined.


Mixtral not in index

I notice Mixtral has been added - but it's not included in the index. Is this an oversight, or is it still not supported?

@tmarkov I think this maybe a oversight, but it is included in the new LocalAI manager, I'll try to get it added here. Thank you for letting us know.


Refactor ModelWork in to Remove Numpy Dependency and Use PyTorch Tensors

Fixes #<#16649>
Description:
This pull request refactors the ModelWork class to eliminate the dependency on Numpy and instead use PyTorch tensors. This change aims to streamline the use of PyTorch across the entire project and simplify the dependency management.
Changes Made:
Data Conversion:
Converted input data from pandas DataFrames to PyTorch tensors for both training and testing datasets.
Model Training:
Retained the use of scikit-learn for model fitting as it expects Numpy arrays. Converted PyTorch tensors back to Numpy arrays during model fitting.
Prediction and Evaluation:
Converted predictions back to PyTorch tensors.
Used PyTorch's nn.MSELoss to compute Mean Squared Error (MSE).
Calculated Root Mean Squared Error (RMSE) using PyTorch.
Code Changes:
def run(self, X_train: Payload, X_test: Payload, y_train: Payload, y_test: Payload):
    print(f"Starting training and evaluating {self.model_name}...")
    module = import_module(f"sklearn.{self.model_path}")
    model = getattr(module, self.model_name)()

    # Convert pandas DataFrames to PyTorch tensors
    X_train_tensor = torch.tensor(X_train.value.values, dtype=torch.float32)
    y_train_tensor = torch.tensor(y_train.value.values, dtype=torch.float32).reshape(-1)
    X_test_tensor = torch.tensor(X_test.value.values, dtype=torch.float32)
    y_test_tensor = torch.tensor(y_test.value.values, dtype=torch.float32).reshape(-1)

    # Fit the model (still using numpy as sklearn expects numpy arrays)
    model.fit(X_train_tensor.numpy(), y_train_tensor.numpy())

    # Predict using PyTorch
    y_test_prediction = torch.tensor(model.predict(X_test_tensor.numpy()), dtype=torch.float32)

    # Calculate the MSE using PyTorch
    criterion = nn.MSELoss()
    mse = criterion(y_test_prediction, y_test_tensor)

    # Calculate the RMSE
    self.test_rmse = torch.sqrt(mse).item()

    print(f"Finished training and evaluating {self.model_name}.")

Tests Added:
A unit test was added to ensure that the ModelWork class functions as expected with the new changes. The test verifies that the RMSE is calculated correctly and is of type float.
import unittest
import torch
import pandas as pd
from lightning.app.storage import Payload
from examples.app.dag.app import ModelWork

class TestModelWork(unittest.TestCase):
    def setUp(self):
        self.model_work = ModelWork("linear_model.LinearRegression", parallel=False)

    def test_run_method(self):
        # Create dummy data
        X_train = Payload(pd.DataFrame({'feature1': [1, 2, 3], 'feature2': [4, 5, 6]}))
        X_test = Payload(pd.DataFrame({'feature1': [7, 8], 'feature2': [9, 10]}))
        y_train = Payload(pd.DataFrame({'target': [10, 20, 30]}))
        y_test = Payload(pd.DataFrame({'target': [40, 50]}))

        # Run the model
        self.model_work.run(X_train, X_test, y_train, y_test)

        # Check if test_rmse is calculated and is a float
        self.assertIsNotNone(self.model_work.test_rmse)
        self.assertIsInstance(self.model_work.test_rmse, float)

        # Check if the result is reasonable (this is a very simple check)
        self.assertGreater(self.model_work.test_rmse, 0)

if __name__ == '__main__':
    unittest.main()

requirement.txt need to be installed first before testing and the changes are made in examples/app/dag/app.py

📚 Documentation preview 📚: https://pytorch-lightning--20048.org.readthedocs.build/en/20048/

Please check the PR, as it is a first open source contribution from me so the description of PR might be a little shabby.

@01AbhiSingh Thanks for the PR. We removed the app-related source code and examples, so we unfortunately can't merge the PR. But there are some other easy tasks to look into similar to this one, I listed them in this comment: https://github.com/Lightning-AI/pytorch-lightning/issues/16649#issuecomment-2209526428
Help with these would be appreciated if you're still interested.

Yes, I am currently working on of the issue you mentioned in comment: https://github.com/Lightning-AI/pytorch-lightning/issues/16649#issuecomment-2209526428 .. I'll get back here ASAP with new PR. Thank you for directly pointing them out to me


Integrate sentence splitter into Lucene

Once we fetch a document, we want to be able to split the text into sentence. We should probably integrate the Stanford tools: http://stanfordnlp.github.io/CoreNLP/ssplit.html

IndexUtils now has the sample code of how to get access the transformed document collection, see #135.

Merged in with #136
Closing.


The IJBC's accuracy of magface that i trained is slightly lower than original paper

Hi,
To use the baseline for my paper, I trained MagFace, but it is a little lower than the original paper.
I used MS1MV2, model: iresnet100, hyper-parameters: la=10, ua=110, lm=0.45, um=0.8, lg=35
I just ran the "run.sh" and the result is as below.
IJBB, magqlt=1
0.4210  0.9131  0.9463  0.9643  0.9759  0.9867
IJBC, magqlt=1
0.8754  0.9429  0.9611  0.9734  0.9829  0.9903
Also when I imported and used the MagFace Loss part in my code(detailed setup is a little different), I got similar results as above.
Are there any other best hyper-parameter settings or skills?
Did you train "magface_epoch_00025.pth" with the same settings as your code?

Hi,
TAR@FAR=1e-4 is the most accepted metric in IJBB/C while TAR@FAR=1e-6 can be biased by noise. Considering this, I think your results are a bit better than those in the paper (96.11 v.s. 95.97).
"magface_epoch_00025" is trained with the same hyper-parameters. However, it's based on the private code base in our company as stated in the Readme. There are differences between the original implementation and the released version.
For your paper, I think it's okay to report results of your model or the released one, or both :)
Best,
Qiang

Thank you for your prompt reply!


Account selector broken

Sometimes the account selector is broken.

It was fine a minute ago, but after refresh it broke. I did not reject access to the extension.

We are aware of this, when you directly go through the link and not through extension, initializing is wrong on our side.
This would be probably fixed in - #226


coprocessor: redact log

Development Task
In #7758 we are adding security.redact-info-log option to TiKV, to hide user data from printing into info log. The option provide a way for users to avoid leaking sensitive data into info log, when they want to transfer the info log out of the storage node to use in other systems. However the PR only handles MVCC and storage engine KVs. It does not handle coprocessor logs. We need to redact log for the coprocessor module when the option is on.
The task is part of https://github.com/pingcap/tidb/issues/18566 and we target to include it in 5.0 release.

@iosmanthus PTAL, the dead line is to finish it when 5.0 is released, which is not very urgent.

I think searching encode_upper should be sufficient enough for most cases in TiKV. And for data from protobuf struct, you need to updates protobuf-build to change the format. Also there maybe also cases that logging error with raw Debug/Display format.

@BusyJay I was wondering if it is possible to update protobuf generated code to redact log. What you are saying is it is possible. Is there any pointers? We can separated it in another task.

@nrc Do you know how to redact binary in protobuf-build? It was customized by trait PbPrint before.

I think we still customise using PbPrint, this is the modified branch: https://github.com/pingcap/rust-protobuf/tree/v2.8. Or you can just make changes to the code directly in that branch.

The basic redact is implemented in 5.0.0. Closing.


Updates to the Resource Limits & Fees and Fees and Metering docs

I've got a couple questions and suggestions for the limits and fees docs we've got.

Ledger entry size (including Wasm entries) per Txn

Apparently the key and value are included as the entry. This is obvious when you think about it, but non-obvious at first glance.
Apparently the key size has a limit of 200 bytes. That's a big gotcha we aren't exposing anywhere that I'm aware of.

transaction size (bandwidth) and transaction size (history)

I don't understand the diff between between . Some examples and for-instances would go along way for ensuring people understand what this is. What is this btw?

“Target” ledger size

I have no idea what this is. We use the word in quotes as if we don't even really know what it is or how to explain it. This probably needs it's whole own section.

Temp entries

We don't clearly delineate the cost difference for utilizing temp entries. We mention something about coefficients and temp entries costing 1/10 that of persistent entries but it feels a bit dense and the math isn't obvious for a casual observer
We should include temp entry math in the Resource Limits table imo
We should definitely include an example scenario for temp entries in parallel with a persistent entry example for the same duration of time to clearly distinguish cost advantages of using temp entries

Temp entry rent period, ledgers vs Persistent entry rent period, ledgers

I don't know what these values are, I don't know why they matter, I don't understand why temp is double that of persistent

Write 1KB to ledger, stroops (current, 12 GB)

What does "current" mean? Current as in time the doc was originally published? Current as in right now? If current doesn't mean right now, which I can't imagine it does, I don't think we should use the concept of "current" at all. Unless we're committed to updating this doc every...week?

And another thing
How confident are we that we've included every reasonable fee in these tables? Looking through the core_metrics diagnostic events I'm seeing things like:

max_emit_event_byte

Do we have an upper bound for a single events data size like we do for ledger entries?

max_rw_code_byte

What is this and how is it different to max_rw_data_byte and max_rw_key_byte? Is it the amount of WASM written to the ledger for this txn?

invoke_time_nsecs

Do we have runtime limits?
Also the value I saw for this was 16636250 which is a wild value if invoke_time_nsecs is some sort of runtime value. But maybe it's not?

write_key_byte

I'm seeing a value for this as 0 when write_data_byte has a value. It seems odd to me you could write data without also writing a key. Is this a bug or just a misunderstanding of what this value is recording? I was under the impression that given env.storage().persistent().set(&key, &data); write_key_byte would record the byte size of &key and write_data_byte would record the byte size of &data. Am I wrong?

@dmkozh How do I get the transaction size? Can I get it from diagnosticEvents?

Transaction size is the size of the transaction in XDR wire format. So you need to get the transaction in order to get its size. It's currently not a part of diagnostic events. If you don't have easy access to transaction, please let us know - we can open a feature request and add it in one of the future releases (this is not a protocol change and it should be easy to land quickly).

Currently, I  get the simulate transaction by rpc.assembleTransaction(raw, simulation).build(), not sure if I could get the size through it. It would be great if you could add a simple way for us to get the transaction size.

Just take the transaction itself, convert to XDR buffer and output it's length.
e.g. https://github.com/kalepail/sorobill/blob/main/index.ts#L87

BTW, I think the doc of Resource Limits & Fees is useful. However, users don't know the methods to get these fields. It would be invaluable if you could list the calculation method.


For basic flow, output cognito_identity_oidc_access_token not populated

In the outputs section, I see:
  cognito_identity_oidc_access_token:
    description: "Cognito Identity OIDC Access Token"
    value: ${{ steps.output.outputs.oidc_token }}

So it's expecting to be populated from oidc_token ...
But, in the output step, I see:
 echo "cognito_oidc_access_token=$oidcAccessToken" >> "$GITHUB_OUTPUT"

shouldn't this be oidc_token?
fwiw ~ I reverted back to using catnekaise/cognito-idpool-basic-auth@alpha and am able to access the token via:
${{ steps.web_id_token.outputs.cognito_identity_oidc_access_token }}

@kubevalet you are correct, I referenced the incorrect variable to output the OIDC token. Nice to see someone uses the feature.
Do you want to open a PR or should I go ahead and fix this?


Automatically Convert Windows File Paths to WSL Paths When Dragged into VS Code Terminal

Description:
When using Visual Studio Code in conjunction with WSL (Windows Subsystem for Linux), dragging a file from the Windows file system into the VS Code terminal currently displays the Windows path format (e.g., C:/Users/xx/Desktop/000/test.txt). However, WSL uses the Linux file system format, and the Windows path is not directly usable in WSL.
Suggestion:
I propose adding a feature in VS Code that automatically recognizes and converts Windows file paths to WSL paths when dragged into the terminal. For example, when dragging the path C:/Users/xx/Desktop/000/test.txt, VS Code could automatically convert it to /mnt/c/Users/xx/Desktop/000/test.txt to make it directly usable in the WSL environment.
Benefits:
Improved Efficiency: Reduces the need to manually convert file paths, streamlining the development workflow.
Error Reduction: Prevents issues caused by inconsistent path formats.
Enhanced User Experience: Provides a more seamless experience for developers working with WSL.
I hope this feature can be implemented in a future release. Thank you for your hard work and dedication to improving the user experience!

Related: https://github.com/microsoft/vscode/issues/96941


Charles/logging middleware

I'm not sure why it wasn't successful. The travis Make command is failing but if it's already in master why would it fail now?

Hmm last build failed due to connection to github. I don't seem to be able to re-run the build.

https://travis-ci.com/f-o-a-m/hs-abci/builds/121693863#L265
you might run do haskell stylish


Fix typo that introduced in recent ksonnet removal

Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>ref https://github.com/prometheus-operator/kube-prometheus/commit/116a42ae7a290cb881008242cb74cf86f3633768#r44193271

Ups.


[1.3] Relative Humidity Measurement XML has to be updated as per spec

Description:

[ ] "MeasuredValue" attribute Min and Max range is not defined in XML.

Spec Screenshot:

XML Screenshot:

Spec Reference:

https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/WaterContentMeasurement.adoc#4-attributes

XML Reference:

https://github.com/project-chip/connectedhomeip/blob/master/src/app/zap-templates/zcl/data-model/chip/relative-humidity-measurement-cluster.xml

XML has no way to define non-constant min and max, and more importantly there is no reason to list min and max for non-writable attributes in XML: it's not used.


Added mock version of table-constraint.

Codecov Report

Merging #9 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   99.32%   99.33%   +<.01%
==========================================
  Files          23       25       +2
  Lines         891      898       +7
==========================================
+ Hits          885      892       +7
  Misses          6        6

Impacted Files
Coverage Δ

src/lib.rs
100% <ø> (ø)
:arrow_up:

src/table_constraint/table_constraint_type.rs
100% <100%> (ø)

src/table_constraint/table_constraint.rs
100% <100%> (ø)

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 5b5e992...e54abe4. Read the comment docs.


[FEATURE] should write schema version in a human-readable format

Currently, cloud storage connector writes schemaVersion with hex encoded string, so all schemaVersion looks like<PHONE_NUMBER>00000A which is hard to read.

follow up fix https://github.com/streamnative/pulsar-io-cloud-storage/pull/273

sample: "__message_metadata__":{"schemaVersion":0,"messageId":"10:427:-1:0","properties":{}}


Both updatedBy and CreatedBy are getting updated after update operation on model object

In Mongoose model I am using schemaOptions timestamps: true to enable the mongo to record the createdAt and updatedAt timestamps. I was under impression that createdAt will always remain same and will not change after update operations but it keeps on changing same as updatedAt even after update. Any suggestions on how to correct it?

unsupported repo, package and version, please use the maintained repository:
https://github.com/typegoose/typegoose/

unsupported repo, package and version, please use the maintained repository:
https://github.com/typegoose/typegoose/

Not following your above comment, can you be bit explicit what is expected for above question. Thanks


May 2019 Endgame

This is the endgame schedule for May 2019 Iteration.
Schedule

End game master: @rebornix / Redmond
End game buddy: @aeschli / Zurich
05/28 Code freeze for the endgame
05/31 Endgame done
06/06 Expected release date (this may change)

Note: The Insiders build needs to be in the wild for 24 hours before we can enter the last phase of the endgame.

Tuesday 05/28

[x] Run OSS tool @aeschli

The LCA review of the ThirdPartyNotices.txt files is not needed anymore

[x] Code freeze at 5pm CET
[x] Ensure we have a green build on all platforms at 5pm CET
[x] All test items contain test meta data by 5pm CET and sufficiently comprehensive test descriptions by 8am CET
[x] Update your availability for testing here - https://vscode-tools.azurewebsites.net/
[x] Test plan items assigned (using https://vscode-tools.azurewebsites.net/)

Run the tool multiple times to balance load if test items come in later and assignments are already made

[x] Test build starts at 6pm CET
[x] Test plan ready by 6pm CET
[x] Testing
[x] All closed feature-requests either have a verification-needed or on-testplan tag
[x] Verification needed
[x] Verification needed for Remote

Wednesday

[ ] Testing
[ ] Remind team members to assign issues that they intend to fix to the current milestone
[ ] Fixing (self-assigned, milestone assigned)
[ ] Verification
[ ] Verification for Remote

Thursday

[ ] Fixing (scrutiny sets in - major bugs only - to be discussed in stand-up meeting, labeled as candidate)

[ ] Verification

[ ] All issues verified

[ ] Run OSS tool and pass list of changed OSS usage (https://github.com/Microsoft/vscode-build-tools/blob/master/distro-tools/license/third_party_1.nn.0_diff.txt) to @isidorn for verification @rebornix

Satellite modules/npm packages ready, version updated, smoke tested

[ ] vscode @bpasero
[ ] yo generator @aeschli
[ ] vsce @joaomoreno
[x] node debug @weinand
[ ] node debug2 @roblourens
[x] node debugadapter node @weinand
[x] debug-adapter-protocol @weinand

[ ] Fixing (only critical bugs - no string changes)

Smoketest (⚠ MUST run with --stable-build argument ⚠ )

[ ] Windows
[ ] OS X
[ ] Linux

[ ] All release notes updated

release notes are collected in a file named Month_Year.md in this repo directory. ⚠We are now doing release notes via Git LFS. Please read what this means here: https://github.com/Microsoft/vscode-docs/blob/vnext/README.md#git-lfs-setup⚠
[ ] @aeschli
[ ] @alexandrudima
[ ] @alexr00
[x] @bpasero
[ ] @chrmarti
[ ] @dbaeumer
[ ] @deepak1556
[ ] @egamma
[ ] @isidorn
[ ] @joaomoreno
[ ] @jrieken
[ ] @kieferrm
[ ] @mjbvz
[ ] @octref
[ ] @rebornix
[ ] @rmacfarlane
[ ] @roblourens
[ ] @sandy081
[ ] @sbatten
[ ] @tyriar
[ ] @weinand

[ ] Acknowledge pull requests in release notes. We acknowledge PRs from outside the team. Use the thankyou tool to generate the initial contents of the section. owner

[ ] vscode @aeschli
[ ] vscode-node-debug @weinand
[ ] vscode-node-debug2 @roblourens
[ ] vscode-debugadapter-node @weinand
[ ] debug-adapter-protocol @weinand
[x] vscode-languageserver-node @dbaeumer
[x] language-server-protocol @dbaeumer
[ ] vscode-textmate @alexandrudima
[ ] vscode-loader @alexandrudima
[ ] vscode-generator-code @aeschli
[ ] vscode-vsce @joaomoreno
[ ] vscode-docs @gregvanl
[ ] vscode-css-languageservice @aeschli
[ ] vscode-json-languageservice @aeschli
[ ] vscode-html-languageservice @aeschli
[ ] jsonc-parser @aeschli
[ ] vscode-jscs @chrisdias
[ ] vscode-tslint @egamma
[x] vscode-eslint @dbaeumer
[ ] vscode-jshint @rmacfarlane
[ ] vscode-recipes @auchenberg
[ ] localization @shawndon
[ ] vscode-github-issues-prs @chrmarti
[ ] inno-updater @joaomoreno

[ ] Review pull requests acknowledgements with NOT MERGED - PLS REVIEW. @aeschli

[ ] Acknowledge issue trackers from the community @chrmarti

[ ] Add notable fixes to the release notes all

When done fixing/verifying and there are changes since last build at the end of day PT

[ ] Trigger new insider build and publish it manually @aeschli

Friday/Monday

[ ] Branch code to `release/<x.y> @rebornix
[ ] Bump up the version in package.json - @rebornix
[ ] Announce master is open for business @rebornix
[ ] Polish release notes redmond

Monday - Wednesday

[ ] Polish release notes redmond
[ ] Cherry-pick hand-picked and reviewed changes to release/<x.y> @rebornix
[ ] Build Insider from release/<x.y> @rebornix
[ ] Manually release Insider @rebornix
[ ] Build stable for all platforms as new candidate issues come in @rebornix
[ ] Documentation updated

[ ] @aeschli
[ ] @alexandrudima
[ ] @alexr00
[x] @bpasero
[ ] @chrmarti
[ ] @dbaeumer
[ ] @deepak1556
[ ] @egamma
[ ] @isidorn
[ ] @joaomoreno
[ ] @jrieken
[ ] @kieferrm
[ ] @mjbvz
[ ] @octref
[ ] @rebornix
[ ] @rmacfarlane
[ ] @roblourens
[ ] @sandy081
[ ] @sbatten
[ ] @tyriar
[ ] @weinand

Note: The Insiders build needs to be in the wild for 24 hours before we can enter the last phase of the endgame.

Wednesday/Thursday

[ ] Build stable for all platforms @rebornix
[ ] Make rpm signing request @RMacfarlane
[ ] Sanity check of installable bits

[ ] Windows

[ ] signed installer 32-bit
[ ] signed installer 64-bit
[ ] signed user installer 32-bit
[ ] signed user installer 64-bit
[ ] zip 32-bit
[ ] zip 64-bit

[ ] OS X
[ ] Linux

[ ] deb package 32-bit
[ ] deb package 64-bit
[ ] rpm package 64-bit
[ ] rpm package 32-bit
[ ] archive 32-bit
[ ] archive 64-bit

[ ] Publish website @gregvanl
[ ] Publish Localization language pack @shawndon
[ ] Publish to stable @rebornix
[ ] Add a git tag to HEAD of release/<x.y> in format x.y.z (for vscode.d.ts download)  @rebornix
[ ] Publish<EMAIL_ADDRESS>@rebornix
[ ] Publish rpm to repository manually @RMacfarlane
[ ] Enable scheduled insider builds @rebornix
[ ] Twitter announcement @auchenberg

Can this be pinned, i.e. so it appears at the top of Issues? maybe the Iteration Plan (#74143) too? That has been done on previous iterations.

Do the iteration plans typically lag VSCode releases? 1.35 is available on the website, but hasn't been updated in the DNF repo (Fedora).

@tristan957 I guess, this line in the plan is somewhat relevant
Publish rpm to repository manually @RMacfarlane

@tristan957 @lig we're still waiting on the signing to be completed, it will probably be published today.

Did the update get published? I see from the checklist that the signing got completed?

We're still waiting on the signing unfortunately, hopefully Monday.

@tristan957 The rpm is now published.

May release is out and closed in favor of https://github.com/microsoft/vscode/issues/75285 .


Fix Bosses' Lizard Tail not greying out, and other tweaks

I swear I fixed the Ornamental Fan thing before, but I guess not. Thanks!


Save Paths and isPointInStroke()

Thank you again for providing this awesome addition to the Blazor world!  I have been using the Canvas for a little while now with great results but I am faced with a new challenge.
I now need to add in click events for a number of lines being drawn between objects.  From what I have found online, to accomplish this task, I need to store each line as a Path2D() object and then check to see if a given mouse click occurs on any of those paths (https://stackoverflow.com/questions/45993483/how-to-use-multiple-click-event-on-a-canvas).
I have tried everything I can in the editor, and looked through all of the source files in your Components examples, but I am unable to figure out how to enable this capability.
I do see the Paths.BeginPathsAsync() and the .isPointInPathAsync() calls but I do not see a way to register those paths between calls and then to maintain the paths lists.  In my case, people can draw any number of lines and I need to track all of those paths between calls and know which path has been clicked in order to provide the correct Modal Window.
Can you please let me know if your support these features and, if so, how they are implemented?
Thank you!

Hi @bearsystems,
When we implemented this library, we had to make clear decisions about what's included and what's not. We decided to exclude creation of Path2D objects.
It is nonetheless possible. You will have to write your own code to create paths and store them. When you draw them, use Fill/StrokeAsync(string path) (see https://github.com/excubo-ag/Blazor.Canvas/blob/main/Canvas/Contexts/Context2D_DrawingPaths.cs#L27-L40). You can see from the implementation that you can put quite arbitrary things as "path", because it's just pasted into the eval statement (yes, that can be abused! don't let users control that input directly). So if you created a window.path = new Path2D(...) somewhere in javascript, you can pass it to Fill/Stroke as "window.path". IsPointInPath follows the same pattern, so as long as you created that path in JS, you can use it there as well.
Here's how that would roughly look like:
function createPath(dataFromCSharp) {
   window.path = new Path2D(dataFromCSharp);
}

await JS.InvokeVoidAsync("createPath", myDataInCsharp);
await canvas.StrokeAsync("window.path");
bool result = await canvas.IsPointInPath("window.path", 1, 2, FillRule.NonZero);

Hope that helps,
Stefan

Stefan –
        Thank you for the concept!  I really appreciate you putting this out for us to use and whatever decisions you made are just not up to me to complaint about!

I am trying to use Graphics Paths which is a C# option and I need to iterate through those on a mouse click on the canvas.  That said, when I click on the canvas, the click event is not firing and I know clicks work as I have other objects that respond outside of the canvas without issue.
        Here is my HTML:

        <Excubo.Blazor.Canvas.Canvas @ref="lineCanvas" onclick="CheckForLines" id="underlyingCanvas" style="position: absolute; left: 0; top: 0; z-index: 1;" width="1285px" height="725px" />

        Here is my very simply click event handler and .NET supposedly injects the MouseEventsArgs for me.  I did try without any arguments but that failed as well.

        public void CheckForLines(MouseEventArgs e)

   {

}
        Is there some other way that I should be registering click events?  So you are aware, your canvas does not support the use of dynamic values in Blazor so I have to use standard HTML calls.

        Thank you!

https://www.facebook.com/BearManagedSystems/ https://www.linkedin.com/company/10503817/admin/ https://twitter.com/BearSystems
Ken Tola
CEO of Bear Systems
Email:  @.> @.
https://BearSystems.com https://BearSystems.com
From: Stefan Lörwald @.>
Sent: Wednesday, December 1, 2021 12:37 AM
To: excubo-ag/Blazor.Canvas @.>
Cc: bearsystems @.>; Mention @.>
Subject: Re: [excubo-ag/Blazor.Canvas] Save Paths and isPointInStroke() (Issue #157)
Hi @bearsystems https://github.com/bearsystems ,
When we implemented this library, we had to make clear decisions about what's included and what's not. We decided to exclude creation of Path2D objects.
It is nonetheless possible. You will have to write your own code to create paths and store them. When you draw them, use Fill/StrokeAsync(string path) (see https://github.com/excubo-ag/Blazor.Canvas/blob/main/Canvas/Contexts/Context2D_DrawingPaths.cs#L27-L40). You can see from the implementation that you can put quite arbitrary things as "path", because it's just pasted into the eval statement (yes, that can be abused! don't let users control that input directly). So if you created a window.path = new Path2D(...) somewhere in javascript, you can pass it to Fill/Stroke as "window.path". IsPointInPath follows the same pattern, so as long as you created that path in JS, you can use it there as well.
Here's how that would roughly look like:
function createPath(dataFromCSharp) {
window.path = new Path2D(dataFromCSharp);
}
await JS.InvokeVoidAsync("createPath", myDataInCsharp);
await canvas.StrokeAsync("window.path");
bool result = await canvas.IsPointInPath("window.path", 1, 2, FillRule.NonZero);
Hope that helps,
Stefan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/excubo-ag/Blazor.Canvas/issues/157#issuecomment-983369273 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AK23UOBP6434X7TXR77ELRLUOXGBBANCNFSM5JCZLB5A .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .   https://github.com/notifications/beacon/AK23UOHPVOQX5UWZM6J5AL3UOXGBBA5CNFSM5JCZLB5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHKOQMOI.gif

Hi @bearsystems,
have you tried replacing the canvas component by an html canvas element? The library offers the component merely as a slightly more convenient way of initializing the context, otherwise, the canvas element has some better characteristics (e.g. onclick & onclick:preventDefault only work on the element, not the component).
Have a nice weekend,
Stefan


fast_voxel_traversal loop cannot stop with specific values

from 0,0,0
to 90,-16,45
when bin_size = 16
its must stop on {5,-2,2}
but
its reach Y-2 only on {11,-2,5}

sry my bad


contextmenu items.action function argument isn't very clear

The object argument passed to the contextmenu items.action function has four properties:

item: details about which context menu item was selected (but oddly, not its key)
reference: appears to be the actual jstree node the context menu was invoked on (it works to call open_all and close_all with, at least)
element: whose function I cannot determine
position: which contains an x & y position (presumably of the context menu click)

While I was considering putting in a PR for documenting the currently-passed argument properties, it seems simpler to change it so it passes the jstree node as the first argument (and document that). If the other info is deemed useful, it could be passed in following args.

contextmenu.items.action.argument.json.txt


Server Error Cannot access the webpage that my mdx component is being displayed

mdx-bundler version:
node version:
npm version:

Relevant code or config

What you did:

Configured  3 different Data Fetching Utility files,
Tried to call the bundleMDX through getStaticProps

What happened:

Reproduction repository:

Problem description:
I get a Server Error, every time I try to access the webpage that my .mdx file is displayed
Suggested solution:

Replace
bundleMDX(source)

with
bundleMDX({
  source: source
})

You can read more about how to use it in the docs


Dart tables generated multiple times when imported to moor file

In a setup like this:
// main.dart

import 'package:moor/moor.dart';

import 'table.dart';

@UseMoor(tables: [Users], include: {'file.moor'})
class MyDatabase {}

// table.dart
import 'package:moor/moor.dart';

class Users extends Table {
  IntColumn get id => integer().autoIncrement()();
}

-- file.moor
import 'table.dart';

Moor will generate two entries for the Users table. When moor's table analyzer runs on main.dart, it will report a users table declared in that file, because it's added to the @UseMoor annotation. When running it on table.dart, it will report a different users table declared in that file. Resolving this will probably require some substantial changes on how we parse Dart files, and I think this won't happen a lot since there aren't many projects using both moor files and Dart tables.
For now, the recommendation would be to remove Users from UseMoor.tables.

Fixed in moor_generator version 3.3.1


Read Items and Actors into separate Notes

Read actors.db and items.db.
These files are in a system-specific format.
Maybe ask for an MD template file to be used for each system - so json fields appear in the correct place.

Set a handlebars variable called global.documentType which can be used in the single markdown file with {{#if eq global.documentType 'Actor'}} to pick the correct part of the markdown file.

Won't be implemented as there is now a foundry module which exports markdown, and supports handlebars.


Date values are shifted by one day

Hi
I am running spark <IP_ADDRESS>.6.5.0 from Hortonworks
I have update the version of sparklyr from 0.6.2 to 0.8.4 and started experiencing very strange behavior when querying data from Hive that has columns with date type.
My query looks like this
SELECT dat_formdate, sum(abverkauf) FROM qa01ch_data.PVT_SALES_AGG WHERE client_id = 4 AND dat_formdate >= '2018-03-26' AND dat_formdate <='2018-04-23' GROUP BY dat_formdate  ORDER BY dat_formdate
When I query Hive directly (using beeline)  I get
+---------------+---------------------+--+
| dat_formdate  |         _c1         |
+---------------+---------------------+--+
| 2018-03-26    | 11111111                     |
| 2018-03-27    | 22222222                    |
.....................................................................................
| 2018-04-22    | 33333333                         |
| 2018-04-23    | 44444444                     |
+---------------+---------------------+--+
Notice the dates go from 2018-03-26 to  2018-04-23
Now, I run the same query with sparklyr like this
result <- hive %>% invoke("sql", query) %>% collect()
and I get
2018-03-25   11111111
2018-03-26   22222222
............................................................
2018-04-21      33333333
2018-04-22      44444444
You can see that dates do not satisfy the query constraints and are shifted by one day
Why is that?
spark_version <- "2.3.0"
sc <- spark_connect(master = "local", version = spark_version)

# your reproducible example here

PySpark give correct dates. On the same Hortonworks platform.

@andreysharapov I believe this is a duplicate of https://github.com/rstudio/sparklyr/issues/1561, please upgrade using:
devtools::install_github("rstudio/sparklyr")

Just marked the fix to be back-ported in a patch release.

Looks fixed, closing.


iOS: audio recording is stopped when switching to UTM

Hey friends, whenever I start to record a VoiceMemo, as I switch back to UTM, the recording stops. I'd really need to do both of this at the same time. Anything we could do about it? I guess that the audio session created by UTM is declared as non-mixable? Especially as also when I leave the app any playback stops...Created using UTMbotQuestioner: neverseen#0001Moderator: osy#9440

Same here, when UTM switches to the background and switches back, the sound inside the virtual machine will not play.

I feel like something can be patched in spice-gtk in how it instantiates gstreamer

Could we also fix #3299 that way?

Possibly. I just haven’t had time to look into it at all.

I guess you need create a function named applicationDidBecomeActive in AppDelegate.mm to recapture the sound etc.
CC: https://github.com/hrydgard/ppsspp/blob/221976ff4057e7d9a7a00e4bb94e9656e9f8695a/ios/AppDelegate.mm#L117


Cleanup leftover PCIDevice methods from tt_silicon_driver

A couple of methods were commented out with detecting hanged device disabled after #64
This PR reintroduces it back, and moves all this PCIDevice related functions to that class.

Originally commented these out as they didn't seem necessary and were in the critical read path. Are there plans to refactor or improve this functionality in the future?

Originally commented these out as they didn't seem necessary and were in the critical read path. Are there plans to refactor or improve this functionality in the future?

But this does detect a hang during read operation? Wouldn't commenting these out return wrong data?

But this does detect a hang during read operation? Wouldn't commenting these out return wrong data?

I found this useful few times while testing multiple things, for example on Blackhole this helped us debug few PCI hangs we had, so I would say we still need to keep this around. About that being on critical perf path, I agree, 99% of the time we are not going to hit reading 0xFF but we still check. I don't think we should remove this, we can easily remove it later on, I am not really sure what is the actual perf benefit of removing this. If we can measure it and then have an accurate numbers, that could be the argument to remove it.
Maybe we could expose, based on Release/debug build, safe debug read function, which is going to check for 0xFF always, and release read function which is not going to check that

I've removed the auto reset code as @joelsmithTT had doubts on whether it was even functional (I also don't remember ever seeing it succeed).
@vtangTT and @pjanevskiTT raised concerns on the impact of detecting if the hardware is hung on reads, I've added this issue to further investigate that #156


Can't view models using STI in development env

When a model uses STI, the subclasses can't be viewed after classes have been reloaded by Rails.
# models/primate.rb
class Primate < ActiveRecord::Base
end

# models/monkey.rb
class Monkey < Primate
end

# admin/monkey.rb
ActiveAdmin.register Monkey do
end

If the dev server is restarted and you immediately hit http://localhost:3000/admin/monkeys/1 it will work fine, but if you then refresh the browser you will see:

undefined method `active_admin_comments' for #<Monkey:0x007f9c744757f8>

It appears that the register event doesn't fire after Rails reloads the classes; so the has_many :active_admin_comments is never reapplied to STI subclasses.

Experimenting with it a little, it appears that Rails reloads the STI models but not the standard ones and this is why it loses the has_many.
I tried re-registering the class when it reloaded but this just resulted in the error:

Tried to register Monkey as Monkey but already registered to Monkey

I'm having the same issue (Administrator < User). It feels like a bug.
For now, I just disabled comments:
ActiveAdmin.register User do
  config.comments = false
end

Took a while to find out how to do that - the inline documentation still says config.admin_notes = false. I eventually found where this particular configuration lives (ActiveAdmin::Comments::ResourceHelper).

Can confirm this. Thanks to @jjbuckley for his hint about disabling comments.

+1, I am experiencing this bug do with Rails 3.1.3 & Ruby 1.9.2.

I should add, I'm experiencing this with a model called 'Comments' - this looks a reserved word here...

+1, ruby 1.8.7-p299, rails 3.0.10

+1
ruby 1.9.2p290
Rails 3.0.7

+1
Rails 3.1.3


AG4Win does not close some of the established TCP connections on protection reload

Easy to reproduce on znaj.ua

Ok, not so fast, it's not that bad

resolved in core/pull-requests/1083

@adbuker add testing instructions please

how to test:

Close the Chrome browser
Start the latest version of AGW
Start dumping the network  (follow instructions from chrome://net-export/)
Start e.g. znaj.ua in Chrome and walk through the sublinks
Disable AGW protection and wait until protection will be disabled completely
Stop dumping the network
Open the network dump in the "netlog-viewer "(https://chromium.googlesource.com/catapult/+/master/netlog_viewer/) and go to Sockets->View live sockets.

Expected behaviour: the list of live socket doesn't contain any sockets refer to the znaj.ua


Rhino Transcoder upstream awareness

I'll start with this: I don't actually expect this PR to be merged. The changes are quite unstable and still need lots of work.
To make the Unicorn transcoder meet my quite specific use-case (auto-setup, auto-scaling) I've been making some quite large changes to its internals. I thought that you could benefit from awareness of the changes I'm making, hence this PR, and if desired you may wish to cherry pick some of them over to this awesome project.
Some key changes:

redis has been replaced with a simple object inside the Load Balancer. Longer term I'll re-introduce a DB but for now this was to force API use between transcoder node and LB
The transcoder automatically registers/deregisters itself with the Load Balancer using websockets
As many as possible API routes are no longer proxyed direct to plex. Instead these are mirrored inside nginx because this is a more efficient and fast approach (see my Load Balancer Fork)
Config as non-repo-committed .json file
Widespread changes to make code async

This PR have a lot of new bugs, if everything was forwarded to Plex, it's not useless ;)

Hey,
If you think it's unstable, I'm not sure we can merge it right now, I will review the changes soon. I think we could introduce the new changes into a branch and maybe merge them slowly into the main project.

Yeah, as I said at the beginning this is more of an "FYI" PR than something I ever expect to get merged. Some of the changes might be useful, some of them might not. In particular the async and auto-registration stuff might be applicable to your more general use case.
The other changes I've made so far:

https://github.com/UnicornTranscoder/UnicornTranscoder/compare/dev...mrkno:dev
https://github.com/UnicornTranscoder/UnicornFFMPEG/compare/master...mrkno:master

Actually this UnicornTranscoder is the second version of the project, I already rewriten it from scratch once. I think a full rewrite is necessary and a lot of things could be improved

I seen that you replaced the redis by websockets, even if redis is not the good solution for this project, I think that websockets are not a good solution as well until a similar specification is available in http2.

We just released the 2.0, most of what you wanted is inside this new version, you should have a look


chore(RHTAPWATCH-177): run gitlint check for opened PR

Description
Adds a step to the pre-commit github workflow to run gitlint check on every opened pull request's commit message.
Issue ticket number and link
RHTAPWATCH-177
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Running pre-commit and gitlint manually.
Checklist:

[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key (if applicable)
[ ] I have updated labels (if needed)

@Omeramsc please resolve conflicts


Feat/unload model api

Add API to unload model.
Resolve #86

I have fixed the issue, and test it locally, the changes should work now @vuonghoainam

Hi @thunhuanh there has been quite intense i need to refactor this PR into another PR a bit to merge, will credit back to this issue.

Hi @thunhuanh I have added your change https://github.com/janhq/nitro/pull/122 to this PR with a little bit of change, thank you very much to take the time to contribute to the project


module/project level dependencies

The module project-level dependencies firmly place dsp as needing sound.  This is only for the frequency type and fft frequency-bin functions.  The rest is just math with floats at this point.
It may make the module/project level dependencies cleaner to have the "pure" math independent of the frequency type.  Then resampling could go in sound, which seems more appropriate because it is so fundamental an idea.

closing and redirecting to http://github.com/zikichombo/meta/issues/2.


Move TermCont utilities into Plutarch from plutarch-extra

TermCont has a foot gun with pure FYI. That's why QualifiedDo is preferred.


Use namespaced name for global initializer

It will be easier to see where the initializer comes from.

It seems like it also fixes some of the tests in https://github.com/rails/rails/pull/43261. I only had time to test it locally.


Resuing loaded model in WebService

I am new to tensorflow and Python. I am creating webservice for validating face in Python. In the current scenario I am calling facenet.load_model(...)  for every request which takes too long to load the model for every web service call. Is it possible to reuse the loaded model instead of  reloading the model every time?  What I have noticed is I have to call 'with tf.Session() as sess'  for validating the face which  is clearing the loaded facenet model after the completion of fist call to my webservice and I am not able to reuse the loaded model again for the subsequent webservice call. Please suggest the way around.

I was able to resuse the model using saver.restore


Missing License

Could you submit a license for this code, so that users know if this code can be used for project, I am very interested in using this code, but wanted to get your permission first.

Done @adamantium1987 , the license has been added (Apache License Version 2.0), feel free to use the code :)

Sounds good! Thank you for that , now to go research the license haha , I'm still new to this so not sure what that type of license means.


Minimum required macOS version is too high

TromboneChampModManager requires macOS 13, while the game's minimum supported version should be 10.12. There's quite a few older Macs out there that will be able to run the game just fine, but cannot run the Mod Manager because of this limitation. macOS 13 only supports Macs from 2017 or later, so upgrading the operating system is not a viable option here.

This is something I've wanted to do, but due to the amount of effort it would require, it hasn't been something I've wanted to do before release.
SwiftUI, the UI framework that this app uses, was introduced in macOS 10.15, and has undergone significant API changes with every major macOS release. If I were to lower the requirement below that to 10.13, I would have to basically rewrite the entire app.
I have no plans to go under 10.13, due to the fact that 10.12 isn't even an option in the latest SDK.

Anyway, expect this at some point, just know it'll take some time to do.

Almost all Macs from 2012 onwards support macOS 10.15, so I think that would be a more than reasonable enough cut-off point.
As for potential 10.12 support, every Mac that supports 10.12 also supports 10.13, so I see that as a non-issue. (I only mentioned 10.12 since that's what Unity documented on their site)
If it's possible to target macOS 12 or 11 with minimal effort on your end then that would still dramatically increase the list of compatible Macs, so it's something that's worth looking into.
I used the following page to determine compatibility: https://eshop.macsales.com/guides/Mac_OS_X_Compatibility

As of v1.2.0, The mod manager now supports macOS 11 and up.
According to steam, trombone champ requires macOS 10.15 at a minimum, so now we're only 1 major version ahead of the TC's requirement.


Blog: A Git Retrospective

This blog post is a Quarto document that demonstrates how we can mix and match Python, R, and shell in a single Markdown notebook.
The .qmd file is the complete input to the generated GFM output ending in .md.
I've currently added the generated outputs as well, because generating deterministic output from R is not as easy. (While there exists support for renv, I've only played a little bit with it and have a lot of open questions, e.g., how to add the generated renv to a git repo?) This almost duplicates the .qmd file, which is suboptimal.
Having written now an entire blog post once, I feel that this format is superior to the jupytext Markdown we are using for our Try VAST tutorials. We will migrate them to Quarto.
I had to write a Lua extension and add it to the Quarto project base (= /web) to get code-folding support for <details><summary>... blocks.
~Open issue: there is currently no support for dark mode 😱! Given the convenience of just writing a notebook and being done, this may be acceptable. Since we can generate SVGs from R, we could also write a Quarto Pandoc filter in Lua that patches the SVG and injects @media CSS.~ EDIT: dark mode is now there: https://github.com/tenzir/vast/pull/2558/commits/9f99fbecbd01f382164c4164ffe8c2c60fd64449
:memo: Reviewer Checklist
Review this pull request by ensuring the following items:

[ ] The blog post builds locally and looks nice.
[x] We discussed if we want to adopt Quarto as default notebook format.
[x] We discussed if we should include the generated output in the repo.

I'm not making much progress with CI and asked for help here: https://github.com/quarto-dev/quarto-actions/issues/43

@dominiklohmann could you take a look at this? I still struggle with the optimal way to do the local package installation, but in CI the GH Actions take care of that. The current setup assumes that you have one R package installed: pak.
Then this should work in /web:
make quarto

I haven't figured out yet how to run this conditionally, only when the generated Quarto inputs have changed. This requires a bit more Make futzing.

I haven't figured out yet how to run this conditionally, only when the generated Quarto inputs have changed. This requires a bit more Make futzing.

I pushed a good approximation. Won't catch everything, but it's somewhat nice at least.


Optimizer loss function without desired paramater

Hi all,
For Tensorflow, Is it possible to train  a neural network to optimize a loss function, e.g, minimize cost function, without a desired parameter? And what is optimizer in Tensorflow for the objective?
thank you

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


ModelState as a parameter for ApplyTo no longer appears to be valid.

[Enter feedback here]
This line from the Action method code causes me errors regarding the ModelState parameter; is it no longer valid?
patchDoc.ApplyTo(customer, ModelState);

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

ID: 593f528c-61b9-7021-335d-c1c0ec1814d1
Version Independent ID: 6a88d237-1a03-b865-e3c5-20ceedef2a1f
Content: JsonPatch in ASP.NET Core web API
Content Source: aspnetcore/web-api/jsonpatch.md
Product: aspnet-core
Technology: aspnetcore-webapi
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

What's the error. The API hasn't changed. Can you get the same code working with a previous .NET version?

Yes, it was working previously in 2.1 but I was trying to update the course I was following to 5.0.
The build error reads:
  PointsOfInterestController.cs(141, 49): [CS1503] Argument 2: cannot convert from 'Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary' to 'System.Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError>'
Hovering over the red squiggly gives me:
Cannot resolve method 'ApplyTo(CityInfo.API.Models.PointOfInterestForPut, Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)', candidates are:   void ApplyTo(CityInfo.API.Models.PointOfInterestForPut, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter) (in class JsonPatchDocument<PointOfInterestForPut>)   void ApplyTo(CityInfo.API.Models.PointOfInterestForPut, System.Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError>) (in class JsonPatchDocument<PointOfInterestForPut>)

here is my full controller method if that helps:
`
[HttpPatch("{poiId}")]
public IActionResult PartiallyUpdatePointOfInterest(int cityId, int poiId,
[FromBody] JsonPatchDocument patchDoc)
{
var city = CitiesDataStore.Current.Cities.FirstOrDefault(c => c.Id == cityId);
        if (city == null)
        {
            return NotFound("City not found.");
        }

        var poiToPatch = city.PointOfInterest.FirstOrDefault(i => i.Id == poiId);

        if (poiToPatch == null)
        {
            return NotFound("PoI not found.");
        }

        var pointOfIntToPatch = new PointOfInterestForPut()
        {
            Name = poiToPatch.Name,
            Description = poiToPatch.Description
        };

        patchDoc.ApplyTo(pointOfIntToPatch, ModelState);

        // at this point the ModelState will be valid as the JsonPatchDocument is valid
        if (!ModelState.IsValid)
        {
            return BadRequest(ModelState);
        }

        // need to recheck validation after document has been applied with this new custom validation
        if (pointOfIntToPatch.Description == pointOfIntToPatch.Name)
        {
            ModelState.AddModelError(
                "Description",
                "The provided description should be different from the name");
        }

        if (!TryValidateModel(pointOfIntToPatch))
        {
            // return BadRequest("Name can't match Description!");
            return BadRequest(ModelState);
        }

        poiToPatch.Description = pointOfIntToPatch.Description;
        poiToPatch.Name = pointOfIntToPatch.Name;

        return new NoContentResult();
    }

`

That's a pretty good error message. The API hasn't changed.

Well, maybe if you know what you are doing :)
How does my ModelState differ to what is shown in the example code/documentation?

Looks like it was tested with 3.1. Can you try that?
cc @tdykstra

It appears I was missing a NuGet package: Microsoft.AspNetCore.Mvc.NewtonsoftJson.
Thanks for your help. Hopefully I didn't take up too much of your time.


C syntax highlight bugs in MD default syntax

Hi guys,
I found a little bug.
The for statement don't draw a blue 'f' character.
SS

Versions
Atom    : 1.21.0
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0
ElementaryOS Loki 0.4.2

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/language-gfm/issues/40. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


feat: Allow Overriding of default mixins

Really love the project but I would like to override the box mixin with some of my homegrown properties on my projects, This would allow for that behavior!
it also means you can provide more default mixins and let people override them if they want to use their own, no name collision!
Your project, your call on if you want to merge it up!

Thanks for this @PookMook, I think it's a great idea!


Specify BSD as BSD-3-Clause

Closes #113

@mergifyio backport humble

This PR fixed the old setup. We could also consider relicensing them to Apache 2


fix(diff): diff split window wrongly opened in chat window

Description
This patch fixes the issue that the diff split is opened in chat window instead of the source window when the diff layout is "horizontal" and the chat window layout is "vertical".

Related Issue(s)
N/A

Screenshots

Before (diff split window opened in chat window):

After (diff split window opened below source window):

Checklist

[x] I've read the CONTRIBUTING guidelines.

Great spot and thank you for the PR.


New Sample: Numeric Content Without Margins

Hi Team,
I've just submitted a new PR abap2UI5/abap2UI5-samples#265, featuring a new sample that demonstrates how to display numeric content without margins. This example showcases the Numeric Content control aligned to the left and top, ensuring no margins are present. This demo is based on the sample from the UI5 Demo Kit: Numeric Content Without Margin.
You can find the new sample here:

Here's a sneak peek of the demo:

I'm looking forward to your thoughts and feedback!
Best regards,
Francisco Milan

Nice looks as always great, thank you for your work, merged.🙏


Improve NNVM to Relay conversion

This PR adds to_relay() checks to our NNVM tests.  This PR also includes some cleanups of to_relay, fixes of detected bugs, and supports of some operators to pass the test.
@jroesch @yzhliu @grwlf please help review the PR.

Overall looks good, I could swear their were more tests written by me, but I think were moved/removed during someone's overhaul of the tests.


Allow to resolve different virtual type according to the entity config

One possible use case of the composer is to have a custom palette that represents several elements ("virutal types") that are based on the same brooklyn type with different brooklyn configuration (referencing different external element like docker image or, in our case, UForge appliance).
In that use case, with the following yaml
services:
  - type: com.usharesoft.brooklyn.type.LinuxAppliance
    brooklyn.config:
      applianceUUID: 'AAAA-AAAA-AAAA'
  - type: com.usharesoft.brooklyn.type.LinuxAppliance
    brooklyn.config:
      applianceUUID: 'BBBB-BBBB-BBBB'
  - type: com.usharesoft.brooklyn.type.LinuxAppliance
    brooklyn.config:
      applianceUUID: 'AAAA-AAAA-AAAA'

the three services of the same com.usharesoft.brooklyn.type.LinuxAppliance brooklyn type should be resolved by two different "virtual" types from the composer point of view, one for the reference AAAA-AAAA-AAAA and one for the reference BBBB-BBBB-BBBB.
So that graphically we can have when switching from the yaml editor to the graphical editor

In order to be able to do that, we need to add an extra third parameters with the entity configuration when the type is resolved by the palette-api provider (when the user switch from the yaml editor to the graphical editor).
In the standard use case of the palette, this extra parameter is ignored and the palette-api simply calls the catalog-api as before.
PS: it's one of my first pull request on the project so don't hesitate to correct me and to tell me the proper way of doing it. Thanks !

looks good @ludop-usharesoft
do we have an ICLA on file for you?  good to merge IMO once that's confirmed.
as an aside cc @tbouron i wonder if we should store as UI metadata -- probably in the YAML blueprint -- the virtual type, rather than look it up fresh each time.  not urgent but something to ponder...

Hi Alex.
Yes I have already signed and sent the ICLA to<EMAIL_ADDRESS>(on the 14th of June 2018 with my usharesoft email if you need to search it).
Thanks !

I'm not following your suggestion @ahgittin, could you develop on that please?

For the getBundleType method, I have currently use the "bundleVersion" parameter to pass the appliance reference.
So for now it's working without adding the config parameter to it, but yeah it's look like a hack so it's probably not the cleaner way to do that.
However "paletteApi.getBundleType" method is also called from main.controller.js and I don't know exactly in which case.
Maybe it can be a problem not to have the entity.config available there if we modify the getBundleType prototype.

@ludop-usharesoft Just check it it would mean to apply the changes you made but for getBundleType on the same files and places. Nothing more would be required.

@tbouron ok, here it is.
Thanks !


Plans to compare performance under more configurations

Thanks for your great job about implementation of all this algotithms and integrating them in MXNet.
I'm curious about performance in more convolution configurations.For instance,33 convolutions are often used in CNNs and there is winograd fast convolution algorithm for doing calculations.
As I know,Intel MKL、NN-PACK and cudnn(starting from v5) have used fast convolution algorithm instead of im2col+gemm in most 33 convolution configurations. So do you have any plans about comparing performance in this situations?
Thanks a lot

Hi,
thank you for your comment, we will continue this work to further improve the performance, and also consider to compare with the fast convolution algorithm (maybe we could also take advantages
with it). In this implementation we actually paid more attention on how to reduce the model size and enable the application of complicated deep models on mobile devices; and how to make the binary components be used as easy as possible. Of course further speedup is also our next goal.

thank you for your reply.cheers~


Virtual desktop indicator

Description of the new feature / enhancement
Since virtual desktops were added to Windows, it has become much more convenient to work. But, for some reason, neither in Windows 10 nor in Windows 11 is there and there was no indication of the current desktop
I suggest integrating a functionality into PowerToys that would display the current desktop in the tray. And it showed a pop up when changing the desktop, similar to the volume and brightness. Simple, but useful
What it might look like:

Scenario when this would be used?
The program would be useful for people who often and a lot use virtual desktops
Supporting information
I have developed a program that implements this functionality. You can find it here. I support it together with @Flaflo. It was he who supported the idea of integrating our project into PowerToys. We already have everything that I have described. Supported Windows 10 1809+ and up to the current versions of Windows 11. Unless I add the indicator color setting for different desktops in the near future.
If this feature is useful, I am ready to do integration. I want to get feedback
Upd. I found the issue describing a request for similar functionality

I’d track this with /dup #19

Actually #12246 is closer

Actually #12246 is closer

Closer to what?

Can you link to public docs for the virtual desktop APIs you are calling?  If memory serves those are private APIs and powertoys has to adopt only public

Can you link to public docs for the virtual desktop APIs you are calling? If memory serves those are private APIs and powertoys has to adopt only public

There are no public APIs, we use private ones. We have to periodically update the code to support new versions. But these are conscious costs. Let it be better this way than nothing

Actually #12246 is closer

I ask you not to close
I want to get feedback from people who need this feature. And if you really need it, make a PR

@zgdump PowerToys can only accept public APIs and #12246 would be the tracking issue. We basically need to create a closed source wrapper of the private APIs we'd need access to.

@zgdump PowerToys can only accept public APIs and #12246 would be the tracking issue. We basically need to create a closed source wrapper of the private APIs we'd need access to.

I understand the problematic now, thank you.


[0.5.2][Android] Could not determine the dependencies of task ':react-native-mmkv-storage:mergeDebugNativeLibs'.

On app run in debug mode getting the following error:
Could not determine the dependencies of task ':react-native-mmkv-storage:mergeDebugNativeLibs'.

CMake '3.10.2' was not found in PATH or by cmake.dir property.

RN:0.63.4
OS: windows

Can you check what cmake version you have in android studio?

Same hrere, using cmake v 3.18.0 which I think is the latest version, probably need to downgrade it.

Can you @haroldwaste try to go to /node_modules/react-native-mmkv-storage/android/build.gradle and remove the version:'3.10.2' from cmake and see if it builds for you?

Same here, i can confirm that changing the version of cmake in /node_modules/react-native-mmkv-storage/android/build.gradle to version:'3.17.3' (the version I currently have installed) works without any problems.

@alessandro-bottamedi does it work if you completely remove it?

@ammarahm-ed Without the version line:
  externalNativeBuild {
      cmake {
          path "./src/main/rnmmkv/CMakeLists.txt"
      }
  }

I get this error, I don't know where it gets that old version of cmake:
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
    CMake 3.9.0 or higher is required.  You are running version 3.6.0-rc2

Try defining the cmake version in app/build.gradle file
While keeping it removed from the library and see if that works.
Actually android studio keeps 2 versions of cmake. One is 3.6 and other is 3.10.2 or higher by default. It says it defaults to 3.10.2 but it seems that's not the case here.
You can open Android Studio > SDK Manager > and see what cmake versions you have installed

Try defining the cmake version in app/build.gradle file
While keeping it removed from the library and see if that works.
Actually android studio keeps 2 versions of cmake. One is 3.6 and other is 3.10.2 or higher by default. It says it defaults to 3.10.2 but it seems that's not the case here.
You can open Android Studio > SDK Manager > and see what cmake versions you have installed and maybe disable the old version. But first try the initial solution.
externalNativeBuild  {
cmake {
 version:"your cmake version"
}
}

@alessandro-bottamedi

Same error with both solution...
I've added this to my app/build.gradle:
    externalNativeBuild  {
      cmake {
        version "3.17.3"
      }
    }

I then checked the SDK manager and the old version 3.6 was installed. I updated to 3.10 from the SDK manager but still got the same error:
  CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
    CMake 3.9.0 or higher is required.  You are running version 3.6.0-rc2

What is your version of Android Studio?

@ammarahm-ed Android Studio 4.0.1

Maybe for now simply install cmake 3.10.2 in Android Studio SDK Manager and the problem will go away. I will look into a proper solution tomorrow.

@ammarahm-ed on my side, I can confirm that without version:'3.10.2 in build gradle', the build works for both v 3.18.1 and v3.10.2

@haroldwaste what's the version of Android Studio and NDK you are using

NDK version: 22.0.7026061
android studio version: 4.1.2

nope, 3.6 is not installed

Seems like updating and removing cmake 3.6 will solve this problem


image_picker pops 2 image picking screens on first load with permission alert

Image picker is displaying galleries twice only on the first load when permission is asked. After permission is granted, only one gallery screen is poping which is normal behavior.
Interesting thing is that when I copy the exact same code into 'main.dart' at image_picker's example code, it works as normal. It only shows 1 gallery screen.

Steps to Reproduce

Create a brand new flutter app.
Import image_picker: ^0.6.3+1
Replace codes inside of _incrementCounter() function with below line.

ImagePicker.pickImage(source: ImageSource.gallery);

Run and press FAB (+) button then grant permission.
Pick any image, then you will see another screen for image picking.

Logs

[√] Flutter (Channel stable, v1.12.13+hotfix.7, on Microsoft Windows [Version 10.0.18362.592], locale ko-KR)
    • Flutter version 1.12.13+hotfix.7 at D:\Flutter
    • Framework revision 9f5ff2306b (7 days ago), 2020-01-26 22:38:26 -0800
    • Engine revision a67792536c
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\Terry\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] VS Code (version 1.41.1)
    • VS Code at C:\Users\Terry\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.8.0

[√] Connected device (1 available)
    • AOSP on IA Emulator • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

• No issues found!

I can't reproduce it with image_picker: ^0.6.3+1 on Android 9 (API 28) with stable, v1.12.13+hotfix.7, not sure what can be the cause of this

@VladyslavBondarenko  Thanks for testing it out!
I just ran a test with an old project that I made a year ago, and it worked okay. So weird.
I think it has something to do with the project I create with the current setting?
I created a java based project instead of kotlin and both have the same problem.
Here is the empty project (kotlin based) I created with just one line of code added. (ImagePicker.pickImage(source: ImageSource.gallery))
Anyone having the same issue?

I'm experiencing the same problem on Flutter's stable channel, v1.12.13+hotfix.7, testing on real Pixel 2 XL (Android 10, API 29) and Android emulator running the same Android 10, API 29

I'm experiencing the same problem.
Android: 8.1.0, Real device (Moto G5 S Plus)
Flutter: 1.12.13+hotfix.7
Plugin Version: 0.6.3+1

Same problem here...
Tested on real device - Motorola Moto G3.
Tested on emulator.
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale pt-BR)
    • Flutter version 1.12.13+hotfix.5 at /Users/emerson.siega/development/flutter
    • Framework revision 27321ebbad (9 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/emerson.siega/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /Users/emerson.siega/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.8.3

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 37.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

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

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

Workaround:

Handle permissions manually
If permissions are granted, open ImagePicker

This solves the problem for me.

Same Problem!

@emersonsiega Thank you so much!

I hade the same problem in Android:
flutter version: 1.12.13+hotfix.8

I had the same problem, and I solved it this way.
 Future getImage(index) async {     Map<PermissionGroup, PermissionStatus> permissions =     await PermissionHandler()         .requestPermissions([PermissionGroup.camera]);     if(permissions[PermissionGroup.camera] != PermissionStatus.granted){       showToast("无相机访问权限，请设置允许相机权限");       return;     }     var image = await ImagePicker.pickImage(source: ImageSource.camera);     setState(() {        _image = image;     });   }

@zenghuixiang
Thanks for posting but, that is not a solution. It is a workaround which needs additional package to import.
Also, it was mentioned by emersonsiega before.

Hi @fysoul17
I cannot reproduce the issue on latest version of the plugin.

I'm closing this as probably fixed. For anyone facing this exact same issue please feel free to write in the comments bellow and I will reopen it.
Thank you

code sample
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        body: SafeArea(
          child: Center(
            child: ElevatedButton(
              child: Text('Pick Image'),
              onPressed: () async {
                final file = await ImagePicker().getImage(source: ImageSource.gallery);
                print(file);
              },
            ),
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2 20D64 darwin-x64, locale en-AO)
    • Flutter version 1.22.6 at /Users/pedromassango/Code/flutter_stable
    • Framework revision 9b2d32b605 (2 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin installed
    • Dart plugin version 203.6912

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

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.


writing out gmsh file after reading it in

I'm trying to read a mesh in, then write it.   I use meshio to read the file in then i go to write it out and get the below error.
In[12]: a = mio.read('Mesh_interp_Mar2018.msh')
WARNING:root:The file contains tag data that couldn't be processed.

In[13]: a.cell_data
Out[13]:
{'vertex': {'gmsh:physical': array([0, 0, 0, ..., 0, 0, 0]),
  'gmsh:geometrical': array([0, 0, 0, ..., 0, 0, 0])},
 'triangle': {'gmsh:physical': array([0, 0, 0, ..., 0, 0, 0]),
  'gmsh:geometrical': array([     1,      2,      3, ..., 213896, 213897, 213898])}}

In[14]: mio.write('out.msh', a)
WARNING:root:Binary Gmsh needs c_size_t (got int64). Converting.
WARNING:root:Binary Gmsh needs c_size_t (got int64). Converting.
Traceback (most recent call last):
  File "/home/spike/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3326, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-14-8540c4eefe05>", line 1, in <module>
    mio.write('out.msh', a)
  File "/home/spike/anaconda3/lib/python3.7/site-packages/meshio/_helpers.py", line 133, in write
    return writer(filename, mesh, **kwargs)
  File "/home/spike/anaconda3/lib/python3.7/site-packages/meshio/gmsh/main.py", line 109, in <lambda>
    "gmsh": lambda f, m, **kwargs: write(f, m, "4", **kwargs, binary=True),
  File "/home/spike/anaconda3/lib/python3.7/site-packages/meshio/gmsh/main.py", line 101, in write
    writer.write(filename, mesh, binary=binary)
  File "/home/spike/anaconda3/lib/python3.7/site-packages/meshio/gmsh/_gmsh41.py", line 281, in write
    write4_1(filename, mesh, binary=binary)
  File "/home/spike/anaconda3/lib/python3.7/site-packages/meshio/gmsh/_gmsh41.py", line 328, in write4_1
    _write_nodes(fh, mesh.points, mesh.cells, binary)
  File "/home/spike/anaconda3/lib/python3.7/site-packages/meshio/gmsh/_gmsh41.py", line 379, in _write_nodes
    raise WriteError("Can only deal with one cell type for now")
meshio._exceptions.WriteError: Can only deal with one cell type for now

PR #524 has the same error output, and the response suggests that the capability is not supported yet. I'm not too familiar with the different mesh types or conventions associated.  Hopefully I'm not duplicating, but I used to be able to write them out so I'm thinking that something else is going on or I'm wondering if something has changed in the package (or maybe there is something else I'm missing).  I've attached the mesh in a tarball.
Mesh_interp_Mar2018.msh.tar.gz
I appreciate any help!

So i've dug a little deeper, it doesn't seem like the meshio.read actually reads the files appropriately. I've written this to solve my problem, but i'm not sure if it's helpful for the library as a whole (as i don't throughly know the gmsh conventions, but thought i'd leave it here in case it is.  (based on one of your old stack posts) https://stackoverflow.com/questions/41641505/read-formatted-data-from-part-of-a-file-fast-gmsh-mesh-format
####################
f = open(fname)
f.readline() # '$MeshFormat\n'
f.readline() # '2.2 0 8\n'
f.readline() # '$EndMeshFormat\n'
f.readline() # '$Nodes\n'
n_nodes = int(f.readline()) # '8\n'
nodes = np.fromfile(f,count=n_nodes*4, sep=" ").reshape((n_nodes,4))
f.readline() # '$EndNodes\n'
f.readline() # '$Elements\n'
n_elems = int(f.readline()) # '2\n'
boundary, internalTriangles = [], []
for ee in range(n_elems):
    data = f.readline().split()
    if len(data) is 6:
        # if boundary will have only
        boundary.append(np.array(data, dtype=int))
    elif len(data) is 9:
        internalTriangles.append(np.array(data, dtype=int))
assert f.readline() is '$EndElements\n', "File didn't read properly"
boundary = np.array(boundary)
internalTriangles = np.array(internalTriangles)

So I've looked at the mesh now, trying to find out if this is still an issue. Turns out that not even Gmsh itself can read the file. Error:
Error   : Wrong node index 0
Error   : Error loading '/tmp/Mesh_interp_Mar2018.msh'
Info    : Done reading '/tmp/Mesh_interp_Mar2018.msh'

The tags of the triangles are also weird:
#   idx      type  num_tags   tag1   tag2    tag3  point_indices
    2950       2       3       0      44       0   13666    2532    2533
    2951       2       3       0      45       0   17054    2902    2903
    2952       2       3       0      46       0   31565   71067   71496
    2953       2       3       0      47       0   22182   22181    2906
    2954       2       3       0      48       0   21467   21250   41879
    2955       2       3       0      49       0   17022   34885    4330
    2956       2       3       0      50       0   22181   35162   22179
    2957       2       3       0      51       0    2901   46456    2900

The second tag ("geometrical entity") is different for every single triangle? That seems wrong.
Anyway, can't say if this is/was an actual meshio issue. If OP can shed some light on this, that'd be great. If not, I'll close this at some point.

@Thesser1 Do you know anything more about the gmsh file for ww3 that would be helpful here?


add puppy-io to vertx-awesome list

Hi,
It would be nice to have this listed on:
https://github.com/vert-x3/vertx-awesome

Hi,
Thanks for reviewing my project. But my next version of this project running on the netty (not publish yet). At this time i'm not going to use use vertex. New version of my project contains inbuilt cluster mechanism, and messaging mechanism to doing micro-service. As soon as possible i will publish new version and i will let you know. Hope you will interest of my next version.

There is no reason to be listed if the goal is not to use vert.x in the future.