Build fails for target i686-pc-windows-msvc

Since onnxRuntime supports, and provides pre-built binaries for Windows 32-bit, it is logical to support this build target for ort as well.
Currently, when trying to build using the following command,:
bash cargo build --target i686-pc-windows-msvc
I get the following output:
error: failed to run custom build command for `ort v1.14.1`

Caused by:
  process didn't exit successfully: `D:\projects\blindpandas\libtashkeel\target\debug\build\ort-84e4d33039989d14\build-script-build` (exit code: 101)
  --- stdout
  [ort] strategy: "unknown"

  --- stderr
  thread 'main' panicked at 'unsupported target architecture: x86', C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\ort-1.14.1\build.rs:385:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Please fix this as it is sometime necessary to provide wheels for 32-bit python versions, or add inference to a 32-bit executable such as NVDA screen reader.
Best
Musharraf

@sudo-carson thanks for the quick fix!

@sudo-carson  When installing from the repo using the commit that closes this issue, the build fails with more than 100 errors.
am I missing something?

Running the following command:
cargo build --target i686-pc-windows-msvc

Gives a long list of errors:
   Compiling tracing v0.1.37
error[E0412]: cannot find type `OrtEnv` in module `sys`
  --> src\environment.rs:25:26
   |
25 |     env_ptr: AtomicPtr<sys::OrtEnv>
   |                             ^^^^^^ not found in `sys`

...

error[E0599]: no method named `lock` found for struct `G_ORT_API` in the current scope
   --> src\lib.rs:102:30
    |
59  | / lazy_static! {
60  | |     pub(crate) static ref G_ORT_API: Arc<Mutex<AtomicPtr<sys::OrtApi>>> = {
61  | |         #[cfg(feature = "load-dynamic")]
62  | |         unsafe {
...   |
93  | |     };
94  | | }
    | |_- method `lock` not found for this struct
...
102 |       let mut api_ref = G_ORT_API.lock().expect("failed to acquire OrtApi lock; another thread panicked?");
    |                                   ^^^^ method not found in `G_ORT_API`

Some errors have detailed explanations: E0277, E0412, E0425, E0531, E0599, E0618.
For more information about an error, try `rustc --explain E0277`.
warning: `ort` (lib) generated 2 warnings
error: could not compile `ort` due to 152 previous errors; 2 warnings emitted

sorry, fixed (and properly tested) in https://github.com/pykeio/ort/commit/f6135fcb1134e20a8375afb9166f5f7222137a67


Map an area of memory to ROM

I think it s not really necessary providing an ROM image binary file and respecting its boundaries in real mode


Allow AExpr conditions to access global scope

E.g., when generating coverage with istanbul, global variables are inserted into global namespace.
This is the current issue when running npm run coverage.

coverage command not yet solved, as transpiler magic dynamically inject local scope into called functions. Yet globals can be referenced.


[Bug fix] Reset loop index correctly on hash collision.

Where there is a hash collision detected, the entire calculation is attempted with a new hashKey.  The loop var index will be incremented on the next iteration, so needs to be reset to -1 to pick up selector(0).

+1


Fix broken styling on various links

Styling of (for example) the 'memorandum of understanding' reminder link was broken during implementation of the 2FA reset task (PR 931).
https://trello.com/c/eGfyV8mO/69-fix-broken-styling-of-links-on-admin-portal-estimate-small-1-2-days

Sorry ignore me I just read the Trello ticket. Just a sec.

I've followed Robin's suggestion.  I noticed though the the style wasn't actually getting applied on the reset 2FA links (with or without the changes from this task, I believe), as those have govuk-link--no-visited-state rather than plain govuk-link.  I've amended the CSS accordingly.


Inconsistency between lib target and bin target

Since lib target declares it's module by dot-seperated module, I think it's better to do it the same to targets.bin.main.

This has already been fixed on the master branch! elba will accept a dot-separated module name in targets.bin.main.

Great! I haven't found that yet (≧∇≦)b


MACROS config validation

Macros dictionary should be validated against a known list of keys. Reason for this is it is likely that a user writes lefs instead of lef and mistakenly think the the flow is working.

Fixed in #193


Python MCAP Reader doesn't work with 3.8 and before.

Description
When I try to import from mcap_protobuf.reader in python (as per the mcap read example here: https://github.com/foxglove/mcap/blob/main/python/examples/raw/reader.py) I get the following error:
File "/home/jmarple/.local/lib/python3.8/site-packages/mcap_protobuf/reader.py", line 27, in <module>
    source: Union[str, bytes, PathLike[str], McapReader, IO[bytes]],
TypeError: 'ABCMeta' object is not subscriptable

Version: pip3 show mcap shows V1.1.0 & Python 3.8.10
Platform: Ubuntu 20.04

Steps To Reproduce
Open up a Python 3.8 terminal and run from mcap_protobuf.reader import make_reader

Trying a few different versions, it seems you can run the example fine in 3.9.9, 3.10.9 and 3.11.9.  It appears 3.8.10 and before this breaks.
I figure the solution is either fix the typing error, or update the minimum python version on pip to 3.9

This is surprising - we build and run the examples in CI using python 3.8, so I would not expect those to work.
I also tried this locally:
$ cat Dockerfile
FROM python:3.8

COPY . /mcap

WORKDIR /mcap

RUN pip install -e mcap
RUN pip install -e mcap-protobuf-support
$ docker run --rm -it $(docker build -q .) python3
Python 3.8.19 (default, Aug 13 2024, 19:21:02)
[GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from mcap_protobuf.reader import make_reader
>>> make_reader
<function make_reader at 0xffffb67c58b0>
>>>

Hmm, that's interesting.  I was able to reproduce with a fresh python install using pyenv.
pyenv install 3.8.19
pyenv local 3.8.19
python3 --version shows 3.8.19
pip3 install mcap mcap-protobuf-support
The error reproduces the same as above.

I had some trouble getting pyenv up and running and also this is not a pyenv-specific issue (since you reported this initially without pyenv) so I don't feel like it'd be productive to pursue that. I feel pretty confident that the issue you're seeing has to do with your python installation or environment, because this code works fine using the official python 3.8 docker container and also in CI.


grove should have a fixed pyquil dependency

right now it requires any version of pyquil.  As pyquil is evolving quickly, the setup.py for grove should have an explicit dependency on a version of pyquil.

This has been fixed


VSCode cannot display some graphs

Hi,
The graphs for exp.eda() and the window for exp.model_train() displayed fine.

However, exp.model_interpret() and exp.mode l_explain()'s results do not show in the jupyter notebook.

Tried many times, such as restarting the kernel, which didn't solve the problem.
Is there a way to use commands to select the model that display the graphs? I think that after selecting an item, the HTML needs to be re-rendered, and the second re-rendered seemed to fail.
Below are my version:
MacOS: 13.2.1
VSCode: 1.76.2 (Universal)
ipywidgets: 8.0.5
ipykernel: 6.17.1
ipython: 8.11.0
In Colab, all the GUI worked fine. But would like to run the notebook locally.
Appreciate any help!

Hi @faradawn
I tried piml in VScode and get the similar problem. It seems that VScode does not support ipywidgets well.
For now, if you want to run notebook locally, I suggest you to use the "jupyter lab" or "jupyter notebook".
These two platforms we have tested and PiML works well on them.
In the future, we will try to make PiML adapt to more platforms.
Thanks.

Hi Yu Su,
Jupyter lab worked! I started a jupyter server on the remote machine (where the ML model lives), and port-forwarded it using SSH:
# on the server
conda install -c conda-forge jupyterlab
jupyter lab --no-browser --port 5678
http://localhost:5678/lab?token=b9b7357486ca7ad1d10ef361f31ae66cb3427329a6ff4xxx

# on local
ssh -N -L localhost:6789:localhost:5678<EMAIL_ADDRESS>http://localhost:6789/lab?token=b9b7357486ca7ad1d10ef361f31ae66cb3427329a6ff4xxx

The graphs were displayed perfectly!

Thank you so much!


Doesnt set defaultValue correct

When I am using redux to set the default value, i want to use the value from data from the server. I will give it a moment().format() as initial state. However, when the data returns from server, it does not update the new value. If i give it a value it works, but then i cannot change the time.
<Datetime
// value={startScheduleTime}
className={cx('scheduleTime')}
defaultValue={moment(startScheduleTime).format('YYYY/MM/DD HH:mm ZZ')}
dateFormat={'YYYY/MM/DD'}
timeFormat={'HH:mm ZZ'}
onChange={this.props.actions.handleTrendingSchedule.bind(this,'startTime')}/>

im also using immutable js, i dont think thats an issue

Hi @foodaka. It sounds like the server is returning something the component can't handle. As being specified in the API the acceptable formats are a Date object or a moment object.
What is the server returning?

Closing due to inactivity.  Please reopen if you can provide the requested info.


After adding SharedProject to core project and opening Add Reference dialog again, SharedProject is not checked there

Create a core class library
add a SharedProject to solution
Add reference to SharedProject for class library
Wait for restore
Open Add Reference dialog again

Actual Result: SharedProject is not checked
Expected: Shared project to be checked there in dialog

Per Mohit C. commets:
This mail doesn’t have the full description of the RM + Shared project issue; I am guessing you are describing a problem where an added Shared project reference is not showing up as checked in the dialog.
It’s the project systems that inform the Reference Manager about the items that are already referenced, RM does not read the project file directly.
You can set a BP here and that would tell you why the already referenced Shared projects are not being marked for this type of project.
https://devdiv.visualstudio.com/DevDiv/_git/VS?path=%2Fsrc%2Fvsproject%2FReferenceManager%2FProviders%2FProviderImpls%2FSharedProjectProvider%2FSharedProjectReferenceProvider.cs&version=GBlab%2Fd15prerel&_a=contents&line=260&lineStyle=plain&lineEnd=260&lineStartColumn=22&lineEndColumn=44

Is this not related to #954?

no, #954 just displaying data and it is unrelated to add reference dialog

It shouldn't have been, when I opened it everything (including this scenario) was busted. I think it's fine to have a separate bug if we have multiple root causes though, I was curious because the repro you have above is exactly what I was doing when I opened that one.

yes repros are the same, but code paths are completely different. #954 i am fixing right now and on my machine it is working already :)

Same happens when you Browse for assembly reference and add it to project , then re-open Add Reference dialog - check box for assembly would not be checked.

This is a CPS issue - it does not register shared projects correctly. Closing as a duplicate of https://devdiv.visualstudio.com/DevDiv/_workitems/edit/792775


Spotify Authorization not showing up

After installing the extension, the panel just shows that spotify isnt connected but doesnt provide any popup or message to connect it.

same

same


FIX Twig2.0 compatibility

Not extending final function allow this function to work with Twig 2.0

This has been implemented in the 2.0 branch of assetic-php/assetic. Until we tag 2.0, you can pull it in by using "assetic/framework": "dev-2.0/dev" in your composer.json files.


What should be the required API permissions for ClientSecretCredential to obtain arm access token for Video Indexer

I'm currently working on integrating Video Indexer into my application using Azure services. I'm using the ClientSecretCredential method for authentication, and I'm encountering some difficulties in determining the required API permissions for the application to obtain a token for Video Indexer.
Below is the code that am trying to get arm access token
def get_arm_access_token(consts:Consts) -> str:
'''
Get an access token for the Azure Resource Manager
Make sure you're logged in with az first
:param consts: Consts object
:return: Access token for the Azure Resource Manager
'''
credential = ClientSecretCredential(tenant_id, client_id, client_secret)
scope = f"{consts.AzureResourceManager}/.default"
token = credential.get_token(scope)
return token.token

I am getting below error with above token
The client 'xxxx' with object id 'xxxxx' does not have authorization to perform action 'Microsoft.VideoIndexer/accounts/generateAccessToken/action' over scope '/subscriptions/xxxxxx-xxxx-xxxx-xxxx-xxxxxx/resourceGroups/xxxx/providers/Microsoft.VideoIndexer/accounts/XXXXVideoIndexer' or the scope is invalid.
What are the API Permissions that are required for my App to connect to Azure Video Indexer?
Could someone please guide me on the specific API permissions that need to be assigned to the Azure AD App Registration associated with my application in order to successfully obtain a token for Video Indexer using ClientSecretCredential?
Any insights or documentation pointers regarding the necessary permissions would be greatly appreciated.

This worked for me when the app is given owner role on the subscription. Please suggest if there is any specific role that can work in authenticating the app to Azure AI Video Indexer

I am encountering the exact same issue. I've created a trial account, subscribed to services including storage and video indexers, and assigned owner permissions. However, I'm still receiving a 401 error. Could anyone guide us on what mistake we might be making

The documentation to get the access token is confusing, i also tried different methods to get the access token and none is working

For client credentials, you need to add VI Account Contributor role to application registration. This can be done via PSH.
$appregName= "app reg name"
$spnObjId = (Get-AzADServicePrincipal -DisplayName $appregName).Id
$subscription = "subscription ID"
$resourceGroup = "resource group name"
$indexerName = "indexername"
$scope = "/subscriptions/$subscription/resourcegroups/$resourceGroup/providers/Microsoft.VideoIndexer/accounts/$indexerName"
New-AzRoleAssignment -ObjectId $spnObjId     -RoleDefinitionName "Contributor"
-Scope $scope
show the role assignment
get-AzRoleAssignment -scope $scope | Where-Object {$_.ObjectId -like $spnObjId}
You can then get an access token from the VI account using client credential grant, good to test on Postman.
POST https://management.azure.com/subscriptions/{{subscriptionId}}/resourcegroups/{{resourceGroup}}/providers/Microsoft.VideoIndexer/accounts/{{accountName}}/generateAccessToken?api-version={{apiVersion}}
and in the body of your request, add:
{
"permissionType": "Contributor",
"scope": "Account"
}


Fixing autoHeight if slidesPerView is more than 1

Currently Swiper only measures the height of the active slide when setting container height. This fix also looks at other slides in view, and uses the tallest slide's height.
NOTE: This fix doesn't take into account sliders with slidesPerView: 'auto', it only ignores it. A more elaborate fix is needed to support that.

Looks good, thanks, medged


python310Packages.slackclient: 3.20.1 -> 3.21.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.slackclient is: A client for Slack, which supports the Slack Web API and Real Time Messaging (RTM) API
meta.homepage for python310Packages.slackclient is: https://github.com/slackapi/python-slackclient
meta.changelog for python310Packages.slackclient is: https://github.com/slackapi/python-slack-sdk/releases/tag/v3.21.3
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.21.3 with grep in /nix/store/v7w7zlasa3pfrbazymcrar6a15dqna4i-python3.10-slackclient-3.21.3
found 3.21.3 in filename of file in /nix/store/v7w7zlasa3pfrbazymcrar6a15dqna4i-python3.10-slackclient-3.21.3

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

5 total rebuild path(s)

5 package rebuild(s)

First fifty rebuilds by attrpath
errbot
home-assistant-component-tests.slack
opsdroid
python310Packages.slackclient
python311Packages.slackclient

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/v7w7zlasa3pfrbazymcrar6a15dqna4i-python3.10-slackclient-3.21.3 \
  --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 python310Packages.slackclient https://github.com/r-ryantm/nixpkgs/archive/70669f6eab81fb5ce7db6b578f3d1a36b26f6d75.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/v7w7zlasa3pfrbazymcrar6a15dqna4i-python3.10-slackclient-3.21.3
ls -la /nix/store/v7w7zlasa3pfrbazymcrar6a15dqna4i-python3.10-slackclient-3.21.3/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

5 packages built:

errbot
home-assistant-component-tests.slack
opsdroid
python310Packages.slackclient
python311Packages.slackclient

Maintainer pings
cc @flokli @PsyanticY for testing.

@ofborg build python310Packages.slackclient python310Packages.slackclient.passthru.tests


Include 'focus' in search

Would it be possible to include 'focus' in the search?
I completely missed the guide to focus - I checked every section except 'getting started' (which I think seemed the least likely place) - and searched in the header.

Closing this as a duplicate of https://github.com/alphagov/govuk-design-system/issues/1062 but thank you for letting us know this was hard to find


[upstream PR #773]: Fix some compile problems on weird/old compilers.

Generated this PR automatically by taking the upstream merge commit, merging that into secp256k1-zkp, and PR'ing the result. This means a total of 3 merge commits (the one upstream, the local one, and the one created by the PR).
For an alternate approach (where we just look at the upstream PR itself and try to re-PR it to secp-zkp) see https://github.com/ElementsProject/secp256k1-zkp/pull/94

Closing this in favor of #94 -- I think that we shouldn't use this (heavier) approach unless there are conflicts that force us to.


Integrated Tests

Add Cypress Config
Make tests of initialization, CRUD API

There is no need to integrate tests, as my-timetable doesn't have a user interaction code.
I think all tests are covered via storybook tests.


placeholder is not work inside of ba-card

Next time, use the template guide for the description...Literally have no idea what you mean, what you want to accomplish, or what isn't happening.


IGNITE-12300_reproducer

This PR is associated with a resolved ticket. Closing the PR, please reopen it if you still need it.


Improve type_check.argname for optional arguments

This PR improves type_check.argname() (#4680) interface for handling optional arguments nicely.

I finished the implementation of this PR.
The function name argname() may be better to change, for example destructure_types(), before v5 release to reflect the feature introduced here.

Jenkins, test this please.

Jenkins CI test (for commit 12d096a723c16cc9319687c7cbe8ed1d6ecef244, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins CI test (for commit 12d096a723c16cc9319687c7cbe8ed1d6ecef244, target branch master) failed with status FAILURE.


Generate GraphQL codes dynamically

This patch respects to the way to handle query protocol in Java, generating Go codes when building, and add query protocol as submodule, reducing efforts to maintain the changing protocol

Codecov Report

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

@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   54.45%   54.45%
=======================================
  Files           6        6
  Lines         101      101
=======================================
  Hits           55       55
  Misses         39       39
  Partials        7        7

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 faecb18...0a9b99a. Read the comment docs.


Update to UI 0.23.1

Superseded by https://github.com/microsoft/vscode-azurestorage/pull/341

thx


Custom capture questions?

Would it be possible to add an option to define custom capture questions and specific questions?  That way you could only let people in the group chat that know a fact only known to that specific group of people.
Thank you.

Sorry, there are no plans for this feature. It is a bit too niche and complicated for the users


Maximum Sum Decreasing Subsequence Docs

💥 Proposal
Maximum Sum Decreasing Subsequence Docs
Have you read the Contributing Guidelines on Pull Requests?
YES

Kindly assign me this issue @HarshCasper @iamrajiv


Added KTX2Loader.Dispose to prevent memory leak

Hi, loading multiple GLTF files that has KTX2 textures results in a memory leak. For complex scenes it goes as far as 1GB of data.

This PR disposes KTX2loader instances after the gltf is loaded.

I am also curious what is your opinion of disposing draco loader ? I have 20-50 objects that are draco compressed and Draco Loader also stays in memory resulting in few hundreds of MB leaked memory. For now I allocate a draco loader per gltf and then dispose it.
Not disposing KTX2loaders and DracoLoaders

vs
Disposing them removes 2GB of data making Threlte very mobile friendly when dealing with GLTFs that are draco compressed and have KTX textures 🙌

EDIT: I figured that draco loader only uses 30 mb per web worker. So on mobile I can simply setWorkerLimit to minimize extra overhead. So this PR targets KTXLoader only.

Hey thank you so much for making this PR and your discussion over on discord ❤
Looks like a good improvement.

Hey thank you so much for making this PR and your discussion over on discord ❤
Looks like a good improvement.
Would you like me to have a look into prettier's warnings?

Thanks a lot, please do. I confess I did this PR in vscode.dev web version, so I did not compile to see the error. For some reason the GitHub action didn't show what is the issue too.

Thank you! Great fix, could you add a changeset when you get a chance? That'll trigger shipping a new package to NPM when this gets merged.

Fair enough. What're our options? Could we:

Make sure only ever one KTX2/Draco/etc... is used?
Know when all models are loaded and dispose them at that point?

Fair enough. What're our options? Could we:

Make sure only ever one KTX2/Draco/etc... is used?
Know when all models are loaded and dispose them at that point?
other?

I think it would be better to expose custom KTX loader as an option, same way that custom dracoLoader can be passed to useDraco. But by default  uses a single DracoLoader, it's only KTXloaders that get leaked.
@grischaerbe yes it would allocate a loader per gltf and safely dispose it. I did not encounter any problems on a scene with lots of GLTF models 20+ (draco compressed + KTX).

I think that what @grischaerbe is concerned about is useGltf's alternative function signature:
const { load } = useGltf(options)

When it's used this way load can be called any number of times, so diposing the loader after the initial call will cause problems.

Make sure only ever one KTX2/Draco/etc... is used?

I like this solution, since - unless someone can correct me - there shouldn't be an issue with useGltf sharing one loader instance. Something like:
const ktx2Loader: KTX2Loader | undefined

export const useGltf = (...) => {
  // Add this as an option, can be boolean, transcoder path, or loader instance
  if (useKtx) {
    if (useKtx === true && ktx2Loader === undefined) {
      // initialize loader and save it to the global ktx2Loader var
    } else if (typeof useKtx === 'string') {
      // initialize single loader transcoder path, don't save it to the global loader var
    } else {
      // use loader instance
    }
  }
}

What do y'all think?
This is suggestion is also a breaking change, so maybe if we like it then perhaps it should go into [next]?

I think that what @grischaerbe is concerned about is useGltf's alternative function signature:

const { load } = useGltf(options)

When it's used this way load can be called any number of times, so disposing the loader after the initial call will cause problems.

Make sure only ever one KTX2/Draco/etc... is used?

I like this solution, since - unless someone can correct me - there shouldn't be an issue with useGltf sharing one loader instance. Something like:

const ktx2Loader: KTX2Loader | undefined

export const useGltf = (...) => {

  // Add this as an option, can be boolean, transcoder path, or loader instance

  if (useKtx) {

    if (useKtx === true && ktx2Loader === undefined) {

      // initialize loader and save it to the global ktx2Loader var, then use it

    } else if (useKtx === true) {

      // global loader is initialized, use it

    } else if (typeof useKtx === 'string') {

      // initialize single loader transcoder path, don't save it to the global loader var, use it

    } else {

      // use loader instance

    }

  }

}

What do y'all think?

My only worry with complex scenes. It would spawn x number of web workers, so by default the limit is 4. On a complex scenes that would be 8 workers total (4 draco, 4 ktx). After scene is loaded they would stay in memory causing 300MB overhead. Maybe disposing them and recreating once would work. Because every subsequent load would not require all 8 workers.

It would spawn x number of web workers
@clibequilibrium In my example above by default (the first if block) only one KTX2Loader instance would be created for the entire app, so only web worker would be spawned. If users wanted to supply their own instance then it's the same deal, so I think the solution would scale pretty well!

It would spawn x number of web workers

@clibequilibrium In my example above by default (the first if block) only one KTX2Loader instance would be created for the entire app, so only web worker would be spawned. If users wanted to supply their own instance then it's the same deal, so I think the solution would scale pretty well!

No no I understand. But even a single loader can spawn up to 4 workers by default , because default worker limit is 4.
Imagine a scene where there is 1 gltf with KTX , then a single KTXLoader will only create 1 worker.
But in a scene with 10 to 20 gltf files, KTX loader spawns up to 4 web workers (each of those is 30 mb).
So the scenario I am describing is of course having single ktx loader is just on a complex scene it would spawn 4 workers, but then won't dispose them.

I was wondering where this limit of 4 comes from, it's the default value

but then won't dispose them.

Gotcha, thanks for clarifying. I believe that concern would be handed by my proposal as well? If the user wants only one loader and also wants to control its disposal they could do this:
// myKtxLoader.ts
export let ktx2Loader = new KTX2Loader()

// MyComponent.svelte
import { ktx2Loader } from './myKtxLoader.ts'

useGltf('./file1.glb', { useKtx: ktx2Loader })
useGltf('./file2.glb', { useKtx: ktx2Loader })
useGltf('./file3.glb', { useKtx: ktx2Loader })

// Later, when all files are loaded
ktx2Loader.dispose()

but then won't dispose them.

Gotcha, thanks for clarifying. I believe that concern would be handed by my proposal as well? If the user wants only one loader and also wants to control its disposal they could do this:
// myKtxLoader.ts
export let ktx2Loader = new KTX2Loader()

// MyComponent.svelte
import { ktx2Loader } from './myKtxLoader.ts'

useGltf('./file1.glb', { useKtx: ktx2Loader })
useGltf('./file2.glb', { useKtx: ktx2Loader })
useGltf('./file3.glb', { useKtx: ktx2Loader })

// Later, when all files are loaded
ktx2Loader.dispose()

but then won't dispose them.

Gotcha, thanks for clarifying. I believe that concern would be handed by my proposal as well? If the user wants only one loader and also wants to control its disposal they could do this:
// myKtxLoader.ts
export let ktx2Loader = new KTX2Loader()

// MyComponent.svelte
import { ktx2Loader } from './myKtxLoader.ts'

useGltf('./file1.glb', { useKtx: ktx2Loader })
useGltf('./file2.glb', { useKtx: ktx2Loader })
useGltf('./file3.glb', { useKtx: ktx2Loader })

// Later, when all files are loaded
ktx2Loader.dispose()

This would absolutely work!

Thanks @clibequilibrium for your effort ❤
We decided to go for @michealparks implementation of having multiple hooks in #969.

Thanks @clibequilibrium for your effort ❤ We decided to go for @michealparks implementation of having multiple hooks in #969.

Awesome ! please make sure you backport the memory leak fix to Svelte 4 branch, otherwise it's an outstanding issue for anyone who would use Threlte as is right now.


Update appveyor.yml

:x: Build pagarme-sdk-dotnet 1.0.289 failed (commit https://github.com/guibranco/pagarme-sdk-dotnet/commit/e9bf730f37 by @guibranco)

:white_check_mark: Build pagarme-sdk-dotnet 1.0.295 completed (commit https://github.com/guibranco/pagarme-sdk-dotnet/commit/ce974561c9 by @guibranco)

:white_check_mark: Build pagarme-sdk-dotnet 1.0.297 completed (commit https://github.com/guibranco/pagarme-sdk-dotnet/commit/e590353b0c by @guibranco)


Local paths in ihm_external_files.file_path

Does ihm_external_files.file_path require paths to be separated with / or \ or is either acceptable? Windows builds of our software will naturally output paths separated with \ while the provided examples all use /. The docs say "This data item assumes a POSIX-like directory structure" but I'm not sure if that means "you must use / to separate paths".
For local files, the path is required to be a relative path. But relative to what?

I assumed in ChimeraX that any relative path in ihm_external_files.file_path was relative to directory containing the ihm file.

For local supplementary files, the path is relative to master ihm file. I understand restricting to POSIX-like file paths creates problem with Windows builds. We can may be remove that restriction for now.

Yes

Better I think to always use /.  ChimeraX does not know what OS the file was written on so won't know whether to expect / or .

On Mar 29, 2017, at 9:52 AM, Ben Webb<EMAIL_ADDRESS>wrote:
I understand restricting to POSIX-like file paths creates problem with Windows builds
It doesn't cause a problem - I just need to know whether to emit paths using / or . By "POSIX-like file paths" do you mean /?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


139 round_trippers.go:174] CancelRequest not implemented by *exec.roundTripper

I try to use Azure CLI token login (non interactive) from jenkins pipeline to login to AKS with non interactive but got the following error:
+ az login --service-principal --username **** --password **** --tenant mytenant -o none
[Pipeline] sh
+ az aks get-credentials --name mycluster -g mykaas
Merged "mycluster" as current context in /root/.kube/config
[Pipeline] sh
+ export 'KUBECONFIG=/root/.kube/config'
[Pipeline] sh
+ kubelogin convert-kubeconfig -l azurecli
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ kubectl get pods -n fm-gtv
E0728 10:11:50.667941     139 round_trippers.go:174] CancelRequest not implemented by *exec.roundTripper
E0728 10:12:22.668147     139 round_trippers.go:174] CancelRequest not implemented by *exec.roundTripper
Unable to connect to the server: context deadline exceeded

Who can help? Is there something missing?

can you try -v=5 to see where kubectl was stuck? did it happen all the time?

Yes, it happens all the time. Same commands from local machine works fine and can connect to kubernetes cluster successfully, but running on jenkins which is also applied on azure brings the error above. Could this be a proxy problem?!
Here is the result with -v=5:
`[Pipeline] sh

export 'KUBECONFIG=/root/.kube/config'
[Pipeline] sh
kubelogin convert-kubeconfig -l azurecli
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
kubectl '-v=5' get pods -n fm-gtv
E0729 05:55:30.825690     154 round_trippers.go:174] CancelRequest not implemented by *exec.roundTripper
I0729 05:55:30.825737     154 cached_discovery.go:121] skipped caching discovery info due to Get https://mycluster-k8s-486f9d27.hcp.westeurope.azmk8s.io:443/api?timeout=32s: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
E0729 05:56:02.826663     154 round_trippers.go:174] CancelRequest not implemented by *exec.roundTripper
I0729 05:56:02.826778     154 cached_discovery.go:121] skipped caching discovery info due to Get https://mycluster-k8s-486f9d27.hcp.westeurope.azmk8s.io:443/api?timeout=32s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
I0729 05:56:02.826817     154 shortcut.go:89] Error loading discovery information: Get https://mycluster-k8s-486f9d27.hcp.westeurope.azmk8s.io:443/api?timeout=32s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
I0729 05:56:34.827310     154 cached_discovery.go:121] skipped caching discovery info due to Get https://mycluster-k8s-486f9d27.hcp.westeurope.azmk8s.io:443/api?timeout=32s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
E0729 05:56:34.827234     154 round_trippers.go:174] CancelRequest not implemented by *exec.roundTripper
E0729 05:57:06.827729     154 round_trippers.go:174] CancelRequest not implemented by *exec.roundTripper
I0729 05:57:06.827807     154 cached_discovery.go:121] skipped caching discovery info due to Get https://mycluster-k8s-486f9d27.hcp.westeurope.azmk8s.io:443/api?timeout=32s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
E0729 05:57:38.828227     154 round_trippers.go:174] CancelRequest not implemented by *exec.roundTripper
I0729 05:57:38.828357     154 cached_discovery.go:121] skipped caching discovery info due to Get https://mycluster-k8s-486f9d27.hcp.westeurope.azmk8s.io:443/api?timeout=32s: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I0729 05:57:38.828476     154 helpers.go:217] Connection error: Get https://mycluster-k8s-486f9d27.hcp.westeurope.azmk8s.io:443/api?timeout=32s: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
F0729 05:57:38.828494     154 helpers.go:114] Unable to connect to the server: context deadline exceeded (Client.Timeout exceeded while awaiting headers)`

The jenkins agent pod is also applied on kubernetes-cluster with two containers where one container (kubectl) executes the kube-commands and has already set its proxy variables.
`pipeline {
agent {
    kubernetes {
        defaultContainer 'jnlp'
        yaml '''
            kind: Pod
            metadata:
              annotations:
                container.apparmor.security.beta.kubernetes.io/jnlp: runtime/default
                container.apparmor.security.beta.kubernetes.io/kubectl: runtime/default
            spec:
              containers:
              - name: jnlp
                image: 'nexus.mydomain.net/jenkins/inbound-agent:4.7-1\'
                args: ['\$(JENKINS_SECRET)', '\$(JENKINS_NAME)']
              - name: kubectl
                image: nexus.mydomain.net/ventx/terraform-azurecli-kubectl-helm:latest
                command:
                - cat
                tty: true
                env:
                - name: HTTPS_PROXY
                  value: "http://<IP_ADDRESS>:8080"
                - name: HTTP_PROXY
                  value: "http://<IP_ADDRESS>:8080"
        '''
    }
}

...`

i believe the problem is your HTTPS_PROXY. since api-server TLS certificate is issued by cluster CA, it's not trusted by your proxy. Can you remove the proxy and try?

Thanks for your help. I need HTTPS_PROXY, but I added NO_PROXY variable with value ".hcp.westeurope.azmk8s.io" then it works fine!


chore(tooling): add Size Limit

This is a proposal to replace Bundlesize by Size Limit in our tooling to track bundle size increases/decreases.
Output
See CI output →
Success
$ size-limit

  UMD
  Size limit:   80 KB
  Package size: 77.89 KB with all dependencies, minified and gzipped
  Loading time: 1.6 s    on slow 3G
  Running time: 932 ms   on Snapdragon 410
  Total time:   2.5 s

  CJS
  Size limit:   100 KB
  Package size: 91.56 KB with all dependencies, minified and gzipped
  Loading time: 1.9 s    on slow 3G
  Running time: 1.7 s    on Snapdragon 410
  Total time:   3.5 s

  ESM
  Size limit:   100 KB
  Package size: 90.11 KB with all dependencies, minified and gzipped
  Loading time: 1.9 s    on slow 3G
  Running time: 1.3 s    on Snapdragon 410
  Total time:   3.1 s

Failed
$ size-limit

  UMD
  Package size limit has exceeded by 7.89 KB
  Size limit:   70 KB
  Package size: 77.89 KB with all dependencies, minified and gzipped
  Loading time: 1.6 s    on slow 3G
  Running time: 772 ms   on Snapdragon 410
  Total time:   2.4 s

  CJS
  Size limit:   100 KB
  Package size: 91.56 KB with all dependencies, minified and gzipped
  Loading time: 1.9 s    on slow 3G
  Running time: 1.5 s    on Snapdragon 410
  Total time:   3.3 s

  ESM
  Size limit:   100 KB
  Package size: 90.11 KB with all dependencies, minified and gzipped
  Loading time: 1.9 s    on slow 3G
  Running time: 1.2 s    on Snapdragon 410
  Total time:   3 s

  Try to reduce size or increase limit in .size-limit.js

Comparison with Bundlesize
Pros

Works for UMD, CJS and ESM bundles
Shows loading time
Shows running time

Cons

No complete GitHub integrations with reports in checks
Not able to compare with base branch

The major downside that I see is that it doesn't compare the current branch bundle size with the base branch. However, Bundlesize worked only based on master, which was meaningless for us.
Therefore I think this tool brings more value than Bundlesize for now. Let me know what you think!

Closing this PR for now because of the lack of bundle size comparison to another branch.


Doc/formatting improvements

Note: I'm writing this note to inform the maintainers about the absence of labels (GSSOC and Levels) on this PR.

Fixes Issue
Closes #67
Changes proposed
README.md:

Added an About Us section
Added a section outlining the advantages DevsInTech provides
Because they seemed relevant, the prerequisites and installation guide have been moved to CONTRIBUTING.md
Added A Vote of Thanks to Contributors

CONTRIBUTING.md:

Added resources for new contributors
Added instructions to run the project locally on their device
Added instructions about how to raise issues; bug report, documentation issue, style change, and feature request.
Added instructions about how to get an issue assigned by the maintainer/project admin

Screenshots
1. README.md:

2. CONTRIBUTING.md:
There were far too many screenshots to include in this description.

LGTM 👍

I'm glad I was able to make a significant contribution. I humbly request the maintainers to add the GSSOC and Levels labels to this PR in order to help me stand out. Thank you once more for assigning me with this task. 😁


Default user only has guest access by default

With the update to 1.0.0 the default project user only has the guest role which can no longer can access other environments to sync data.
This is an unexpected change as pre 1.0.0 the default project user had access to all environments in a project.
While users are migrating to the new permission model it would be helpful to keep the default access as close to the original approach, users can still restrict the permissions as needed.

With https://github.com/amazeeio/lagoon/issues/1229 each task will run with a Maintainer access token.
Do we think we still need to change the default user? The default user will only be used anymore for SSH access and I think there it is fine that the user is Guest?


KOGITO-5850 Public API: Stateful Rule Unit API

This is a first working round of the "new" rule unit API.
All the following choices are, as usual, still open for debate, but not a blocker for the merging of this PR.
I am marking this as ready for review but I don't want to rush it, so please share your feedback.
In this initial version I had to mix the org.kie.kogito.rules.* API with the incubation API, in particular the RuleUnitData definition and the DataSource declarations need to be mixed. More PRs will make the 2 worlds more consistent to each other (basically we will remove org.kie.kogito.rules.*)
DataSourceService

a DataSourceId is an identifier to a data source
a DataId is an identifier that represents an object added to a data source (similarly to the data handle)
a DataId is always nested to a DataSourceId

e.g. consider the rule unit:
package com.example;
class MyUnit {
    DataStore<Person>
}

then you may access the data source with
// /rule-units/com.example.MyUnit/data-sources/students
DataSourceId dsid = appRoot.get(RuleUnitIds.class).get(MyUnit.class).dataSources().get("students");

you may add data to the data source with:
// /rule-units/com.example.MyUnit/data-sources/students/data/12437247823
DataId dataId = dsSvc.add(dsid, new Person("Paul", 79));

the service may throw if the data source is not capable of the command; e.g. if dsid is a stream:
dsSvc.remove(dsid, dataId);

"Floating" data sources (not implemented yet)
Note: data sources may live "outside" of a rule unit and be defined regardless of them. In that case,
they may also be referred to using a different API
// /data-sources/students
DataSourceId dsid = appRoot.get(DataSourceIds.class).get("students");

In this case, wiring of the data source may occur in the rule unit by ID; e.g.:
package com.example;
class MyUnit {
    @Named("kogito:///data-sources/students") DataStore<Person>
}

the "other" ID (/rule-units/com.example.MyUnit/data-sources/students) would still be valid but would point to the same DS.
Using "floating" DS allows them to be shared.
Note: this makes DSs very similar to Quarkus channels and it is worth investigating how to conflate the two.
StatefulRuleUnitService
Similarly to the Stateless RuleUnitService (we may want to rename these two, making "RuleUnitService" the stateful one), we get the ID to a unit:
var id = appRoot.get(RuleUnitIds.class).get(AnotherService.class);

we then create an instance of the ruleUnitData (as we do in codegen)
public class AnotherService implements RuleUnitData, ReferenceContext {
    // StringHolder is just a domain object:
    // a wrapper for a String for easier pattern matching in rules
    DataStore<StringHolder> strings;
    DataStore<StringHolder> greetings;
    ...
}

AnotherService ruleUnitData =
    new AnotherService(
            DataSource.createStore(),
            DataSource.createStore());

Note: this is org.kie.kogito.rules.DataSource not the "new" version in this PR! needs work to collapse the two!
We create the instance using the service:
var id = appRoot.get(RuleUnitIds.class).get(AnotherService.class);
var result = ruleUnitService.create(id, ExtendedReferenceContext.ofData(ruleUnitData));

the rule unit service gets a reference to the computation context (read more below about DataContext vs. ReferenceContext) and holds onto it; i.e. any change to ruleUnitData will be reflected immediately on the state of the ruleUnitInstance that gets created.
the rule unit instance ID is returned in the result:
var meta = result.as(RuleUnitMetaDataContext.class);
// /rule-units/org.kie.kogito.quarkus.drools.AnotherService/instances/27387289423
var instanceId = meta.id(RuleUnitInstanceId.class);
assertEquals("/rule-units/org.kie.kogito.quarkus.drools.AnotherService",
        instanceId.ruleUnitId().asLocalUri().path());

we then add data to a datasource directly (we may also use the data source service)
    ruleUnitData.getStrings().add(new StringHolder("hello folks"));
    ruleUnitData.getStrings().add(new StringHolder("hello people"));
    ruleUnitData.getStrings().add(new StringHolder("hello Mario"));
    ruleUnitData.getStrings().add(new StringHolder("helicopter"));

we construct a queryId using the returned instanceId; let's assume Strings is the name of a query for unit org.kie.kogito.quarkus.drools.AnotherService:
// /rule-units/org.kie.kogito.quarkus.drools.AnotherService/instances/27387289423/queries/Strings
    InstanceQueryId queryId = instanceId.queries().get("Strings");
    Stream<ExtendedDataContext> result = ruleUnitService.query(queryId, ExtendedReferenceContext.ofData(EmptyDataContext.Instance));

Adapters
The "most natural" way for users to interact with rule units is to get a reference to a RuleUnit/RuleUnitInstances and DataSources without having to fiddle with IDs.
I have introduced here "adapters", which were conceived from the beginning as an optional part of the new API design.
An adapter turns:
svc.action(id, data);

into:
obj.action()

for instance:
var dID1 = dataSourceSvc.add(dsId, data);
var res1 = ruleSvc.fire(ruleUnitId);
data.setSomething("...");
var dID2 = dataSourceSvc.update(dsId, dataId);
var res2 = ruleSvc.fire(ruleUnitId);

may become:
var dataHandle = ruleUnitInstance.context().myDataSource().add(data);
var res1 = ruleUnitInstance.fire();
data.setSomething("...");
dataHandle.update();
var res2 = ruleUnitInstance.fire();

An experimental version of this is already provided; we use CDI to create

the rule unit computational context + data sources:

@ApplicationScoped
public class AnotherService implements RuleUnitData, ReferenceContext {
    @Inject
    DataStore<StringHolder> strings;
    @Inject
    DataStore<StringHolder> greetings;

then inject an instance
@Inject
RuleUnitInstance<AnotherService> instance;

Note: this creates a singleton for AnotherService and a singleton for its RuleUnitInstance. This may be too restrictive for your use cases, and the restriction may be liftable with a notion of scope, and/or by allowing naming rule unit instances explicitly (which is expected in the future)
AnotherService ctx = instance.context();

ctx.getStrings().add(new StringHolder("hello folks"));
ctx.getStrings().add(new StringHolder("hello people"));
ctx.getStrings().add(new StringHolder("hello Mario"));
ctx.getStrings().add(new StringHolder("helicopter"));

and query:
Stream<ExtendedDataContext> result = instance.query("Strings", ExtendedReferenceContext.ofData(EmptyDataContext.Instance));

Note: DataSource types are still org.kie.kogito.* types for the reasons already described above.
DataContext
DataContext was previously defined as a computational context that can be converted into another DataContext and that is supposedly serializable into JSON. The conversion does not preserve data and may be lossy. For instance:
Student(String name, int age, String school)

may be converted into
Person(String name, int age)

but if Person gets converted back into a Student, then school may be null (it not just may in this implementation: it always will, or it may even throw).
The DataContext concepts serves us well in all those situations were we are not really binding data to a computation, but really transferring data back and forth from an engine.
This is always true for "stateless" engines such as PMML and DMN, and for the "stateless" versions of Rules and Processes ("Straight-through processes").
It is also basically true for stateful processes: in the API that we are exposing #1778 we always pass data in. This is reasonable because of the way processes are exposed in Kogito via REST endpoints, where data is always received and returned in its entirety from/to an external serializable, payload.
However, this model is limiting for rules.
ReferenceContext
I am introducing a new concept that I have called ReferenceContext which represents a more general abstraction; i.e. it represents a computational context but without the "serializability" requirement. The term Reference is to indicate "Java references" i.e. pointers to data.
Because it is more general, DataContext now extends ReferenceContext.
(Note: I think we will have to rename DataContext into something like "SerializableContext" or "ConvertibleContext" and use DataContext to indicate ReferenceContext as this is the more general, "root" concept)
The reason is that, in stateful rules, the computational context is "bound" to the rule unit instance (or "session"), and that binding is really a binding on a reference. Users are supposed to interact with that reference.
For instance:
School ( DataStore<Student> students
...
school.students.add( new Student( ... )

Now, it is true that School may be somewhat serializable, but serializing a ReferenceContext won't really produce a meaningful result: the expected result may be "the contents of the students data store", while it would be more serialized into a place-holder value or an identifier/address of that data source.

The (build) optaweb-vehicle-routing check has failed. Please check the logs.

The (build) optaplanner check has failed. Please check the logs.

The (build) optaplanner-quickstarts check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

The (build) optaweb-vehicle-routing check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

The (build) optaplanner-quickstarts check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) optaplanner check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

jenkins retest this

The (build) kogito-examples check has failed. Please check the logs.

jenkins run examples test

jenkins run kogito-examples tests

The (build) kogito-examples check has failed. Please check the logs.

jenkins run kogito-examples tests

@mariofusco @danielezonca this is green

The (build) kogito-runtimes check has failed. Please check the logs.

jenkins run kogito-examples tests

The (build) kogito-examples check has failed. Please check the logs.

jenkins run kogito-examples tests

The (build) kogito-examples check has failed. Please check the logs.

jenkins run kogito-examples tests

The (build) kogito-examples check has failed. Please check the logs.

jenkins run kogito-examples tests


Mac Func:HTTPAPI_ExecuteRequest Line:587 curl_easy_perform() failed: Out of memory

OS and version used:

Python runtime used: <python2.6>

SDK version used:

Description of the issue:

I have build the azure iot hub python SDK by the following steps:

I have build the iot hub c SDK on the c folder in the python SDK by using the steps on the address https://github.com/Azure/azure-iot-sdk-c/blob/master/doc/devbox_setup.md#macos
I have build the iot hub python SDK successfully by running the setup.sh and build.sh and generate the .so file.
I met the problems as follows when I run the services samples in the python SDK:

Error: Time:Wed Apr  4 15:19:18 2018 File:/Users/zhaowenjing/azure-iot-sdk-python/c/c-utility/adapters/httpapi_curl.c Func:HTTPAPI_ExecuteRequest Line:587 curl_easy_perform() failed: Out of memory

Error: Time:Wed Apr  4 15:19:18 2018 File:/Users/zhaowenjing/azure-iot-sdk-python/c/c-utility/adapters/httpapi_curl.c Func:HTTPAPI_ExecuteRequest Line:589 (result = HTTPAPI_OPEN_REQUEST_FAILED)
Error: Time:Wed Apr  4 15:19:18 2018 File:/Users/zhaowenjing/azure-iot-sdk-python/c/c-utility/src/httpapiex.c Func:HTTPAPIEX_ExecuteRequest Line:475 unable to recover sending to a working state
Error: Time:Wed Apr  4 15:19:18 2018 File:/Users/zhaowenjing/azure-iot-sdk-python/c/iothub_service_client/src/iothub_devicemethod.c Func:sendHttpRequestDeviceMethod Line:321 HTTPAPIEX_SAS_ExecuteRequest failed
Error: Time:Wed Apr  4 15:19:18 2018 File:/Users/zhaowenjing/azure-iot-sdk-python/c/iothub_service_client/src/iothub_devicemethod.c Func:IoTHubDeviceMethod_Invoke Line:489 Failure sending HTTP request for device method invoke

Unexpected error IoTHubDeviceMethod.Invoke, IoTHubDeviceMethodResult.ERROR

As the problems is the similar problem as the issue:
https://github.com/Azure/azure-iot-sdk-c/issues/308
I have tried to update my curl version to the latest:

curl --version
curl 7.59.0 (x86_64-apple-darwin17.3.0) libcurl/7.59.0 SecureTransport zlib/1.2.11
Release-Date: 2018-03-14

Code sample exhibiting the issue:

Console log of the issue:

@DandelionWenjing
Please make sure you are following the steps from the C issue you mentioned (#308). I copied them below for convenience.
Please also verify in the debugger the loaded binaries (so) when you try to run the program, just make sure the executable uses the latest curl.
Note: the DYLD_LIBRARY_PATH has to be set in the context of the running application.
Best Regards,
Zoltan
From issue #308
Could you try these updated steps please?
Install the latest version of curl
macosx:~ username$ brew install curl
At the end of the installation you will get this info:
Error: Failed to create /usr/local/opt/curl
...
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
...
==> Summary
🍺  /usr/local/Cellar/curl/7.58.0: 415 files, 3MB
Save the path "/usr/local/Cellar/curl/7.58.0", this is where the library and headers were actually installed.
Force link updates:
brew link curl --force
Set DYLD_LIBRARY_PATH:
export DYLD_LIBRARY_PATH="/usr/local/Cellar/curl/7.58.0/lib:$DYLD_LIBRARY_PATH"

Faced same issue. As @zolvarga you are reminding: I forget to set the DYLD_LIBRARY_PATH in the new openned terminal....I thought it was only needed during build the SDK.
This is not a big issue but annoying. When can we expect a fix?
Thanks @zolvarga

@Xirui can you clarify what type of fix you would like from us? it looks like this is an environment thing: the fix as far as I understand was to update the curl dependency and make sure our SDK could find it.
I'm not an expert on brew and macos but I'm not sure there's anything, from the source-code standpoint, that we can do to fix this.

@DandelionWenjing never got confirmation if you got through this issue with what @zolvarga suggested - would you mind letting us know?
@Xirui no problem - we are fully aware that our MacOS support isn't where it needs to be - we'll see if @DandelionWenjing can confirm anything and I'll try to follow up on a couple of other related issues. if we hear nothing we'll close the issue, but you can expect some improvements in the near future.

@DandelionWenjing @Xirui No updates in a while here so I'm tempted to close the issue. Furthermore, i've released pip packages for macos which should save you the trouble of building the SDK yourself:
Would you mind giving it a try?
pip install azure_iothub_device_client

it will still need to have boost installed, which you can deal with by doing:
brew install boost-python

or in the case of python3:
brew install boost-python3

Please do report if you're running into any sort of issue!

Closing after some inactivity, given we think issues are resolved.

@DandelionWenjing, @Xirui, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey


stops after ICMP redirect

tracetcp, alas, ends after it receives an icmp redirect. (tracert and tcptracroute follow that redirect and give results).
I know I can work around that using -g, but that leaves me with the task of finding out where the hell the redirection went to.
So this would be the feature request:

follow icmp redirects
if not possible, give more info about target of redirect

Best regards, m.

Hi, ICMP redirects have been on my todo list for a while, you are the first person to ask about them in over ten years :-)
I'll take a look at supporting them.

Uh, sorry for having interrupted that blissful state :) I was probably naive thinking the tcp stack might handle that almost on its own. Yeah, would be a nice feature.

Have had the same problem occur - will it be possible to address this issue?


please update to v4.0.0

the baileys repo was update to 4.0.0 and i hope this repo can update to new version, thanks

Sure, i'll do it when i have the free time. But yeah, maybe it'll take some time since there's some changes on how baileys works.

I just finished the Beta Multi-Device implementation, check it out here. It will be on the beta-md branch until the feature is stable. Please let me know if you faced any issues.

yes you are amazing, thanks


Clarifications for Swagger documentation for Java Spring Boot MongoDB Starter project

Blog reference: https://www.mongodb.com/blog/post/rest-apis-with-java-spring-boot-and-mongodb
Clarifications requested for following API calls:
PUT /api/person - Not updating user; adding Path Parameter {id} throws 405 "Method Not Allowed" error
POST/PUT/DELETE calls /api/persons - Spec not clear
GET/DELETE calls /api/persons/{ids} - format of Path Parameter {ids} not clear
Thanks.

I was able to successfully issue the call PUT /api/person. Please ignore this item in the list of clarifications provided.

curl command for POST /api/persons call provided below (returns 500 error):
curl --location --request POST 'http://localhost:8080/api/persons'
--header 'Content-Type: application/json'
--header 'Cookie: connect.sid=s%3AMYWmNGShgy9FoqkfK4_xo0fJqL6cgFJV.pOpjNjc%2FdvfyDgYSjAKRpUTouDZZ8IebIs3jhUuv54A'
--data-raw '[
{
"address": {
"city": "City1",
"country": "USA",
"number": 123,
"postcode": "99999",
"street": "1234 ABC Drive"
},
"age": 29,
"cars": [
{
"brand": "Honda",
"maxSpeedKmH": 100,
"model": "Accord"
}
],
"createdAt": "2022-09-04T06:10:31.410Z",
"firstName": "Test1",
"id": {
"timestamp": 0
},
"insurance": true,
"lastName": "Tester"
},
{
"address": {
"city": "City1",
"country": "USA",
"number": 123,
"postcode": "99999",
"street": "1234 ABC Drive"
},
"age": 29,
"cars": [
{
"brand": "Honda",
"maxSpeedKmH": 100,
"model": "Accord"
}
],
"createdAt": "2022-09-04T06:10:31.410Z",
"firstName": "Test2",
"id": {
"timestamp": 0
},
"insurance": true,
"lastName": "Tester"
}
]'


Provide a list of complete genome assembly and their corresponding SRR accession

(Requested by Vahan for analysis in HIVE)
Collect a list of complete genome assembly (i.e. SARS-CoV-2 variant of concern such as alpha, beta, Gemma, delta, omicron) and their corresponding SRR accession ID's (no more than 20). Email Stephanie the list once done by the end of Friday (2/3).

complete_genome_assembly.txt
I made this from assemblyQC_ncbi in a few seconds.

@HadleyKing this is a separate task. @JingyueWu please disregard his comment.
@JingyueWu I am going to move this to the Developers Issues for Feb 2023. In the future please make sure to create tickets under the correct project. thanks

@steph-sing
I only recorded a few on this spreadsheet: https://docs.google.com/spreadsheets/d/1viutOIEbvFwraZmiMJJyB0fmma68ObA3jxjlA3TRVBQ/edit?usp=sharing
Dilemma that I ran into while doing this task:
A) If I go with the complete genome assembly of SARS-CoV-2, this is the list I found: https://www.ncbi.nlm.nih.gov/data-hub/genome/?taxon=694009
As you can see, the latest submitted SARS-CoV-2 complete genome assemblies were in April, 2020. I could find some SRA that are associated with those SARS-CoV-2 complete genome assembly, but I couldn't find find the variant name (in general and in BioSample)
B) If I go with SARS-CoV-2 variant of interest (i.e. alpha, beta, gemma, delta, and omicron), then this is the list I found: https://www.ncbi.nlm.nih.gov/labs/virus/vssi/#/virus?SeqType_s=Nucleotide&VirusLineage_ss=Severe acute respiratory syndrome coronavirus 2, taxid:2697049&ProtNames_ss=surface glycoprotein&Completeness_s=complete&QualNum_i=0&Lineage_s=B.1.351
The problem with this is that none of them has complete genome assembly.
Please let me know which approach is more logical to take, thanks.

@JingyueWu yes - remember how we only really have one complete genome assembly for SARS-Cov-2 (wuhun) - and this is why we wanted to genreate more genome assemblies? If you can find them, then great, but if you can't then we need to start with SRA data (ngsQC - fastq files). I will take a look today, as I think your search approach can be adjusted. For now, please don't mention this in the Dev meeting. We can tell them that we are still compiling the list and I need to confirm the entries first. We should send the list out to them by tomorrow + load them into HIVE 3 and share the object IDs with Vahan.

assigning the ticket to myself, and giving corrective feedback via email.

completed by @penningtonea and @steph-sing - noted in GW Prod server


WhatsApp doesn't work until I restart it

Describe the bug
I'm using Matterbrdige for Rocket.Chat <---> WhatsApp Business integration. After restarting Mattebridge, it works. But if no message was sent for some time, is stopped working.
I don't know how much time. I tested it about 12 hours ago, and it worked. Now it was broken.
It has happened to me several times.
Expected behavior
It should work without fail :-)
Screenshots/debug logs
I started Mattebrdige using matterbridge -debug. There is a log after the start without sending any message for all night:
Apr 23 22:52:57 example.net matterbridge[3656059]: time="2023-04-23T22:52:57+02:00" level=info msg="Connection succeeded" func=apiLogin file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/bridge/rocketchat/helpers.go:84" prefix=rocketchat
Apr 23 22:52:57 example.net matterbridge[3656059]: time="2023-04-23T22:52:57+02:00" level=info msg="rocketchat.test: joining matterbridge-test (ID: matterbridge-testrocketchat.test)" func=joinChannels file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/bridge/bridge.go:77" prefix=rocketchat
Apr 23 22:52:57 example.net matterbridge[3656059]: time="2023-04-23T22:52:57+02:00" level=debug msg="Choosing login/password based receiving" func=handleRocket file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/bridge/rocketchat/handlers.go:17" prefix=rocketchat
Apr 23 22:52:57 example.net matterbridge[3656059]: time="2023-04-23T22:52:57+02:00" level=info msg="Gateway(s) started succesfully. Now relaying messages" func=main file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/matterbridge.go:68" prefix=main
Apr 24 00:03:21 example.net matterbridge[3656059]: 00:03:21.008 [Client/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF
Apr 24 00:03:21 example.net matterbridge[3656059]: 00:03:21.021 [Client/Socket ERROR] Error closing websocket: tls: failed to send closeNotify alert (but connection was closed anyway): write tcp <IP_ADDRESS>:11292-><IP_ADDRESS>:443: write: connection reset by peer
Apr 24 00:03:21 example.net matterbridge[3656059]: 00:03:21.720 [Client INFO] Successfully authenticated

The messages did not go through. After restarting Matterbridge, it is ok. But for how long? Log after restart:
Apr 24 10:49:52 example.net matterbridge[3954390]: time="2023-04-24T10:49:52+02:00" level=debug msg="message models.Message{ID:"3udtwcynm4LFAtZWC", RoomID:"9tJ98w3kYg8fmBscM", Msg:"test nove verze matterbridge", EditedBy:"", Type:"", Groupable:false, EditedAt:<nil>, Timestamp:time.Date(2023, time.April, 24, 10, 49, 52, 538, time.Local), UpdatedAt:<nil>, Mentions:[]models.User(nil), User:(*models.User)(0xc00081c300), Attachments:[]models.Attachment{}, PostMessage:models.PostMessage{RoomID:"", Channel:"", Text:"", ParseUrls:false, Alias:"", Emoji:"", Avatar:"", Attachments:[]models.Attachment(nil)}}" func=handleRocketClient file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/bridge/rocketchat/handlers.go:70" prefix=rocketchat
Apr 24 10:49:52 example.net matterbridge[3954390]: time="2023-04-24T10:49:52+02:00" level=debug msg="<= Sending message from martin.test on rocketchat.test to gateway" func=handleRocket file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/bridge/rocketchat/handlers.go:22" prefix=rocketchat
Apr 24 10:49:52 example.net matterbridge[3954390]: time="2023-04-24T10:49:52+02:00" level=debug msg="<= Message is &config.Message{Text:"test nove verze matterbridge", Channel:"matterbridge-test", Username:"martin.test", UserID:"5ukxYHDeryxhYjL3f", Avatar:"", Account:"rocketchat.test", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ID:"3udtwcynm4LFAtZWC", Extra:map[string][]interface {}{}}" func=handleRocket file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/bridge/rocketchat/handlers.go:23" prefix=rocketchat
Apr 24 10:49:52 example.net matterbridge[3954390]: time="2023-04-24T10:49:52+02:00" level=debug msg="=> Sending config.Message{Text:"test nove verze matterbridge", Channel:"matterbridge-test", Username:"martin.test", UserID:"5ukxYHDeryxhYjL3f", Avatar:"", Account:"rocketchat.test", Event:"", Protocol:"rocketchat", Gateway:"gateway1", ParentID:"", Timestamp:time.Date(2023, time.April, 24, 10, 49, 52, 750862484, time.Local), ID:"3udtwcynm4LFAtZWC", Extra:map[string][]interface {}{}} from rocketchat.test (matterbridge-test) to whatsapp.499xxxxxx (1203xxxxxxxxxxx597@g.us)" func=SendMessage file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/gateway/gateway.go:499" prefix=gateway
Apr 24 10:49:52 example.net matterbridge[3954390]: time="2023-04-24T10:49:52+02:00" level=debug msg="=> Receiving config.Message{Text:"test nove verze matterbridge"<EMAIL_ADDRESS>Username:"[rocketchat] <martin.test>: ", UserID:"5ukxYHDeryxhYjL3f", Avatar:"", Account:"rocketchat.test", Event:"", Protocol:"rocketchat", Gateway:"gateway1", ParentID:"", Timestamp:time.Date(2023, time.April, 24, 10, 49, 52, 750862484, time.Local), ID:"", Extra:map[string][]interface {}{}}" func=Send file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/bridge/whatsappmulti/whatsapp.go:376" prefix=whatsapp
Apr 24 10:49:53 example.net matterbridge[3954390]: time="2023-04-24T10:49:53+02:00" level=debug msg="mID whatsapp.499xxxxxx<EMAIL_ADDRESS>func=SendMessage file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/gateway/gateway.go:518" prefix=gateway
Apr 24 10:49:53 example.net matterbridge[3954390]: time="2023-04-24T10:49:53+02:00" level=debug msg="=> Send from rocketchat.test (matterbridge-test) to whatsapp.499xxxxxx<EMAIL_ADDRESS>took 964.485442ms" func=func1 file="/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.1-0.20230405213915-89b0d362d291/gateway/gateway.go:508" prefix=gateway

Environment (please complete the following information):

OS: Debian 11 amd64
Matterbridge version: version: 1.26.1-dev
I compiled matterbridge yestarday from master branch: go install -tags nomsteams,nozulip github.com/42wim/matterbridge@master  (last commit https://github.com/42wim/matterbridge/commit/89b0d362d29179b389b203e046b22b5b6e5f8310)
on Debian 11 amd64.

Additional context
My config:
[whatsapp.499xxxxxx]
	Number="+4204499xxxxxx"
	SessionFile="/home/matterbridge/whatsapp-session-499xxxxxx.gob"
	RemoteNickFormat="[{PROTOCOL}] <{NICK}>: "
	Label="+420"
	QrOnWhiteTerminal=false

[rocketchat.test]
	Server="https://rc.test.eu/"
<EMAIL_ADDRESS>	Password="123456789"
	PrefixMessagesWithNick=false
	RemoteNickFormat="[{PROTOCOL}] <{NICK}> "

[[gateway]]
name="gateway1"
enable=true

    [[gateway.inout]]
	account = "whatsapp.499xxxxxx"
	channel =<EMAIL_ADDRESS>
	[[gateway.inout]]
	account="rocketchat.test"
	channel="matterbridge-test"

Same issue here

Is there any workaround how can I fix it?

Guys any updates on this? My services has been down for more then a month already and don't see any recent PR attempting a fix.

delete session-48111222334.gob and log in again.
Every time you restart the bot.

@weskerty  delete session-48111222334.gob and log in again. Every time you restart the bot.

It's not possible.
Here is description from the original problem:

After restarting Mattebridge, it works. But if no message was sent for some time, is stopped working.

It stopped working after some time. I cannot restart it for example every 8 hours and scan QR code again...


Support bean validation

blocked by https://github.com/cuba-platform/restapi/issues/73

Involves changes in:

front-generator: https://github.com/cuba-platform/front-generator/pull/56
cuba-react: https://github.com/cuba-platform/cuba-react/pull/29
cuba: https://github.com/cuba-platform/cuba/tree/feature/get_locale_from_request

Related issue: https://github.com/cuba-platform/cuba/issues/2541


Menubar image, timer image and clock image turned into templates

Was annoyed by the fact that the Tomighty menu bar icon was invisible as per #14 so I made a quick fix. You just need to set the images as templates and they will render correctly in both modes.
Tested on OS X 10.10.1:

Hi @mrknmc, thanks for the work. Merging in to develop now. Apologies for the delay ;)

Ah, sorry, we merged a different PR for this functionality. Apologies for the confusion.


Different result when cracking before and after project restore.

Describe the bug
I'm not sure this is a bug or it is supposed to work this way, but I'm getting a different result for cracking a project that was restored versus non-restored.
To Reproduce
I've created a sample at https://github.com/nojaf/ionide.projinfo.tool-referenced-projects-repro.
Expected behaviour
Project1 has a single reference to Project2, both before and after restoring.
...
ReferencedProjects =
    [{ RelativePath = "..\Project2\Project2.fsproj"
       ProjectFileName =
        "C:\Users\nojaf\Projects\references-repro\Project2\Project2.fsproj"
       TargetFramework = "net6.0" }]
...

Actual behaviour
After restoring, Project3 was added as well:
ReferencedProjects =
    [{ RelativePath = "..\Project2\Project2.fsproj"
       ProjectFileName =
        "C:\Users\nojaf\Projects\references-repro\Project2\Project2.fsproj"
       TargetFramework = "net6.0" };
     { RelativePath = "..\Project3\Project3.fsproj"
       ProjectFileName =
        "C:\Users\nojaf\Projects\references-repro\Project3\Project3.fsproj"
       TargetFramework = "net6.0" }]

Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Windows
dotnet SDK version: 6.0.201
mono / .Net Framework version: net6
ionide.projinfo.tool:      0.58.2

Additional context
If this is indeed a bug and you can provide a pointer, I would be interested to take a look at this.

That doesn't surprise me at all - Restore causes all sorts of state changes, and at the moment at least we treat all of that as outside the bounds of this library.

Alright, that is good enough for me.
Thanks for confirming.


Remove superfluous coldstaking daemon

We should have cold staking in the regular StratisD, since cold staking is going to be an integral part of it.

We can also consider removing the now unused wallet feature and replace it with the cold staking feature.


Failed to download vulcan/verbal-expressions-php from dist: The "https://api.github.com/repos/vulcan-project/verbal-expressions-php/zipball/23018ecf32e0c1de8fe4ed313c38b3e569383999" file could not be downloaded

when downloaded from composer write this error
Failed to download vulcan/verbal-expressions-php from dist: The "https://api.github.com/repos/vulcan-project/verbal-expressions-php/zipball/23018ecf32e0c1de8fe4ed313c38b3e569383999" file could not be downloaded

in the composer.json file, replace
"vulcan/verbal-expressions-php": "^1.0"
with
"verbalexpressions/php-verbal-expressions": "^1.0.0"
I don't know if anyone is accepting pull requests for this repo.


Add Roborock S6 Waterbox correct support

Set the speed 1-15% for soft cleaning
Waterbox option not needed
https://github.com/nicoh88/homebridge-xiaomi-roborock-vacuum/issues/144

@afharo Your assumptions are correct
Do it right 😉👍

Closing this PR in favour of https://github.com/nicoh88/homebridge-xiaomi-roborock-vacuum/pull/164


Password support for private keys

DO NOT MERGE YET, a comparable change needs to be made to 'newt' before this should merge.
This series changes a few things:

Private keys are now written in PKCS#8. It can still read the old format keys, but 'Newt' will have to be modified to support PKCS#8 in order to merge this, because it will now only write the new format.
PKCS1.5 is removed entirely.
It adds support for password protected private keys. The -p argument to keygen will prompt for a password, and any time a password protected key file is used, it will prompt for the password.
The dependencies change, now needing only cryptography instead of several crypto libraries.

Are you planning to run the tests on travis-ci?

Could possibly run the tests with travis, although I'm not real sure how they are even supposed to be run. I didn't try very hard to run the unittest discovery code, but initially, it didn't work.

@d3zd3z running getpub passing the wrong password, throws the exception below:
Enter key passphrase:
Traceback (most recent call last):
  File "/home/utzig/src/mynewt/mcuboot/scripts/imgtool/keys/__init__.py", line 26, in load
    backend=default_backend())
  File "/usr/lib/python3.6/site-packages/cryptography/hazmat/primitives/serialization.py", line 20, in load_pem_private_key
    return backend.load_pem_private_key(data, password)
  File "/usr/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1015, in load_pem_private_key
    password,
  File "/usr/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1234, in _load_key
    self._handle_key_loading_error()
  File "/usr/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1263, in _handle_key_loading_error
    raise ValueError("Bad decrypt. Incorrect password?")
ValueError: Bad decrypt. Incorrect password?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./imgtool.py", line 129, in <module>
    args()
  File "./imgtool.py", line 126, in args
    subcmds[args.subcmd](args)
  File "./imgtool.py", line 54, in do_getpub
    key = load_key(args)
  File "./imgtool.py", line 51, in load_key
    return keys.load(args.key, passwd)
  File "/home/utzig/src/mynewt/mcuboot/scripts/imgtool/keys/__init__.py", line 39, in load
    backend=default_backend())
  File "/usr/lib/python3.6/site-packages/cryptography/hazmat/primitives/serialization.py", line 24, in load_pem_public_key
    return backend.load_pem_public_key(data)
  File "/usr/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1041, in load_pem_public_key
    self._handle_key_loading_error()
  File "/usr/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1292, in _handle_key_loading_error
    raise ValueError("Could not deserialize key data.")
ValueError: Could not deserialize key data.


Typescript Definitions Broken - Missing definitions for primitive.net types

.NET primitives types such as long used to be generated as number instead they use the System.Int64. The bridge.d.ts file contains no definitions for these system types which results in the typescript compiler flagging them as errors. This makes any typescript generation completely unusable. I am I missing a file that contains these definitions?
See attached repro.
BridgeTypescriptTest.zip
Expected Result
Definitions for .NET primitive types should be included in bridge.d.ts
Actual Result
Typescript files are generated but are missing definitions for .NET mscorelib primitives.

I just attempted to integrate this into my existing code base. All the primitives are there but it appears like there is still a missing definition for System.IO.Stream.


RE4R Instant Crash on startup with Fatal Error

I'm getting a fatal error about 10 seconds after starting up the game (Not even making it past a black screen / auto save warning ) after freshly trying to use the Framework, when removing the .dll file game works fine again without any problems. Also for some reason it caused 4 save files to disappear from my list so kinda scared to mess around with it further in case I lose my stuff at this point.
Ideally would like to get this working but not sure where to begin.. no .dmp file is being created but uploaded the .txt file
re2_framework_log.txt

Ensure you aren't using any overlays. Some software you may not expect like: Razer software, ASUS software, Rivatuner, Discord, etc...

hope you will update it to make it work properly i get crashes to and best mods need this. And thank you for this tool.

Graphics card memory is too small will cause problems, at least 8GB

ok i see i'm broke for the moment 😂 so no probleme
Le mer. 3 mai 2023 à 20:49, KsaNL @.***> a écrit :

Graphics card memory is too small will cause problems, at least 8GB
—
Reply to this email directly, view it on GitHub
https://github.com/praydog/REFramework/issues/762#issuecomment-1533535927,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3YU2ZVHYTVP6NFB2GZM5LXEKSDVANCNFSM6AAAAAAXPWO3UY
.
You are receiving this because you commented.Message ID:
@.***>

I'm in a similar vein to the OP I managed to complete the game without using REFramework then installed it to try the auto parry mod on nexus that worked for a good several hours. next day booted up the game constant D3D12 25 errors on startup and the game corrupted my save files which I haven't managed to get back. The game launches fine without REFramework and I have also reinstalled and verified cache but with REFramework it will constantly crash on the RE Engine logo screen or sooner.
re2_framework_log.txt

好吧，我知道我暂时破产了😂所以没问题 Le mer。2023 年 5 月 3 日 à 20:49，KsaNL @.> a écrit :
……
显卡显存太小会出问题，至少8GB——直接回复此邮件，在GitHub上查看< #762（评论） >，或者退订< https://github.com/notifications/unsubscribe-auth/AF3YU2ZVHYTVP6NFB2GZM5LXEKSDVANCNFSM6AAAAAAXPWO3UY > 。您收到此消息是因为您发表了评论。消息<EMAIL_ADDRESS>
I don't think is because of the Graphics card memory, my GPU is 3090 24G this happen on me too

Tested with 2023-06-04 nightly, 'dinput8.dll' size is 11,362,816, "reframework_revision.txt" says 'e072704e5efe620376375e87d93be6a8ba139068'
Same as above, but NO errors of any kind; it simply CTD (note for sure that this game runs just fine without the REF dll in place).
Final log entry is [REFramework] [info] Hooked DirectX 12 6 June re2_framework_log.txt

Tested with regular release from 2023-03-25, 'dinput8.dll' size is 7,962,624, "reframework_revision.txt" says '34f5d2ba6a39fa29f6fad67ae8ec664511f21655'
This older one dumps to desktop just after the RE logo video starts playing (i.e. much further than the nightly build).
25 March 25 re2_framework_log.txt

Tested with 2023-06-04 nightly, 'dinput8.dll' size is 11,362,816, "reframework_revision.txt" says 'e072704e5efe620376375e87d93be6a8ba139068'
Same as above, but NO errors of any kind; it simply CTD (note for sure that this game runs just fine without the REF dll in place).
Final log entry is [REFramework] [info] Hooked DirectX 12 6 June re2_framework_log.txt

Tested with regular release from 2023-03-25, 'dinput8.dll' size is 7,962,624, "reframework_revision.txt" says '34f5d2ba6a39fa29f6fad67ae8ec664511f21655'
This older one dumps to desktop just after the RE logo video starts playing (i.e. much further than the nightly build).
25 March 25 re2_framework_log.txt

Pirated copies are not supported.
I'm going to close this issue because it looks similar to the crash that I've fixed based on the logs.
Latest builds are here: https://github.com/praydog/REFramework-nightly/releases/
If it doesn't fix it then re-open the issue with a new log.


[BUG] Allen & Heath - SQ modules - Slider not released on Fade

I’m finding an issue with the Allen & Heath SQ module.  In particular we are running an SQ-6.  Here’s the issue - if you try to set a “Fader Level to Output” and fading is set to anything other than “Off”, companion grabs that slider and never let’s go.  Additionally, if I set Fading to 3 seconds, the fade happens immediately.  It’s not 3 seconds for it to go from 0 to wherever I want it to go to.  It is instantaneous and then I never have control of my slider until I disable the SQ6 connection.  If I don’t set any fading (ie: Off), then things work fine, but I want to fade this output.  Maybe I am doing something wrong or not applying this correctly.  Happy to report it as a bug but wanted to check first if I am misunderstanding this.

I'm also experiencing this on an SQ6. The fader will lock at the end of a fade and the only way to release the fader is to quit Companion.

The good news is you don't have to quit companion.  Just disconnect from the SQ6.
Sadly, it seems the developer of this module is not maintaining it.  There are other reports of this same issue that have been out there longer than mine.

I'm having an issue where the SQ module will just keep connecting and disconnecting. If I leave it for a day or two, it stabilizes.

Another bump for this issue. Still experiencing this intermittently.
Only solution at the moment is to shutoff and restart the companion module.

The SQ MIDI protocol level controls consist of messages saying, "set this parameter to this level".  There's no grabbing or releasing in any of it.  (The "Fading" option, tho, does for nonzero fades result in Companion sending however many messages in succession to set the parameter to successive levels, with no way to cancel the series.  But after those 1-3s there's still no control retained at all.)
I haven't noticed this in testing on my own SQ-5, or with the most recent module code.  But maybe, once a first release that contains updating to be 3.0-compatible and conversion to TypeScript is out, this can be tested again and it can be figured out who exactly is at fault -- as I don't see how it can be the module at fault (maybe a bug in the SQ MIDI-over-TCP support instead?).


Difference to composer/installers?

I'm struggling to understand what is the difference between this and composer/installers. Both provide the same extra/installer-paths logic. Was this a precursor to what is now in composer core?

Hi,
The composer/installers has logic that works only if you specify a specific type when developing / constructing your package. See here https://github.com/composer/installers#example-composerjson-file
Mine, just works only if you specify the parameters mentioned in the documentation on any composer package.
That is the main difference.


fix: add show_fields to spark_locals_without_parens in formatter

Also updated cheat sheet.

🚀 Thank you for your contribution! 🚀


Typo "@originating_server"→"@originating_server"

bold with escape characters
https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-delete-job-transact-sql?view=sql-server-ver15

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

Thanks.


Add toggle_doc functionality

Refer to #1646
I'm very sorry for the trouble, for some reason GitHub stopped showing all my commits (??).

The implementation is good but I think the API should be cmp.visible_docs(), cmp.open_docs() and cmp.close_docs().
What do you think?

The implementation is good but I think the API should be cmp.visible_docs(), cmp.open_docs() and cmp.close_docs().
What do you think?

Sounds reasonable to me!

@hrsh7th lmk if this looks good to you. I can add a couple of examples and update the documentation to explain how these work :)

Almost looks good.

sorry for the delay. I've been busy with work...😭
I'll push a new commit for this PR. Please wait.

sorry for the delay. I've been busy with work...😭
I'll push a new commit for this PR. Please wait.

No worries! Take your time, I’m just trying to help :)

Any update on this? :)

I pushed a fix commit. Can you please confirm?

I pushed a fix commit. Can you please confirm?

I just tried it and it works great :) Thank you so much for taking the time to improve and document the feature!

I use
local cmp = require('cmp')
cmp.setup({
  mapping = cmp.mapping.preset.insert({
    ['K'] = cmp.mapping(function(fallback)
      if cmp.visible_docs() then
        cmp.close_docs()
      elseif cmp.visible() then
        cmp.open_docs()
      else
        fallback()
      end
    end),
  })
})

@beh-10257 read the docs: https://github.com/hrsh7th/nvim-cmp/blob/a110e12d0b58eefcf5b771f533fc2cf3050680ac/doc/cmp.txt#L970


refactor(bindings/c): unit tests with cmocka

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
cmocka is an elegant unit testing framework for C with support for mock objects. Licensed under Apache-2.0.

🥺, I don't like introducing things that need extra setup...

Maybe a simple C program is enough? And I expect we don't need do complex unit tests at bindings level.

pleading_face, I don't like introducing things that need extra setup...

There are indeed some unit testing libraries that are head-only. I just want to avoid copying files directly.
Let me reconsider it during the day, in any case, I think testing (may be simple) is necessary.

Yes, I do think testing is important. But we can do this without introducing any other deps.

IMHO, you can use rust-bindgen to generate Rust bindings for the C-API and write tests in Rust instead so you can just run cargo test. 😂

Thank you for your effort. I will close this PR to give you more space to continue your work. You are welcome to reopen this PR when you are ready for reviewing. Thank you once again!


license missing

Please add a LICENSE file. Thanks. Nice project!

Yes, please add a Free license <3
Note that this is actually a requirement for any Toolforge Tool :)

Thanks for the reminder. The MIT license has been added now.

You're the best :rocket:


build(devcontainer): enable local development via jekyll serve

Added a VSCode dev container definition that contains Ruby and Jekyll
Declared the gem dependencies so that bundle install can be used to
install the build dependencies which then enable jekyll serve to locally
host and render the themed version of the TOC website.
This will unlock easier modification to the theme which is a pre-condition
of being able to debug CSS/theme/styling changes such as the width issues
I discovered recently on the new project dashboard page where the last few
columns are cut off from the view.

Signed-off-by: Peter Somogyvari<EMAIL_ADDRESS>

I don't object to it, but I don't think I would use it.


Oculus Quest 2 controllers not showing up

Hi,
I tried in both editor and on Oculus Quest 2 device run the InputVR scene.
In the editor I can't do anything and it looks like this:

On Oculus device I could see only virtual hand but without controller. And when I clicked grip button animation of the hand was fired up, but that's it.
My config:
Unity: 2021.3.4f1
Oculus: 3.0.2
Settings:
XR Plug-in Management:
Desktop:
Initialize XR on Startup: True
Oculus: True
Open XR: False
Mock HMD Loader: True
Android:
Initialize XR on Startup: True
Oculus: True
Please let me know how can I actually use the virtual controllers in the editor and on Oculus Quest 2 device? I am not sure if this is some kind of bug or maybe I missed something in configuration part?

Hi @wozniakm93, were you able to figure out the issue?

i am having this problem. using quest 2 connecting through the link my headset tracks but hands will not

Make sure you've got Oculus selected as provider in your XR Plug-in Management settings instead of OpenXR:

does this mean it wouldn't work for other headsets on the XR? i don't want it to only work for the oculus i wanted XR so it works with all

The OpenXR integration is still not fully supported by all headsets and vendors, and even when supported it lacks features in some of them.
You can target all devices using all the other options (Oculus, SteamVR, PicoXR, WaveXR, Windows Mixed Reality).


Network: Adds support for "none" in "ipv4.address" and "ipv6.address" settings

Testsuite passed

Testsuite passed


Whl failed to parse correctly when using pipkin, works correctly when…

… util is patched with this. Also updated requirements.txt with package used.

Thank you!
What do you think, would it be easy to fix this parsing task without introducing a new dependency? I may want to submit pipkin for inclusion in Debian package repo, and any dependency not already present in Debian would be an obstacle for this.

It's a fairly lightweight dependency that wouldn't almost assuredly never need to be updated. That being said, I understand the aversion to dependencies, so if you wanted to recreate the functionality of it, you can find it defined here

Thanks again!

Yw. I should note I did run into this problem again with tarballs, so I think that part of the code needs to be revised a bit.
I ended up just using upip itself for my project, which works fine in it’s own way, although I think it would be nicer to have some sort of sync-packages-file. My current complaint with using upip is that I can’t subclass anything from packages that need to be upip installed, because the package might not exist when it tries to load class definitions before that occurs.

Can you tell me the names, which were parsed incorrectly?


Fix cf-exports file indentation spaces

I just notice that it's easy to read the attributes of the variables when they are aligned.
In the file cf-exports they are mixed.
Example:
Bad (Current)
"AlbId" = "${aws_lb.ecs.*.id[0]}",
"AlbArn" = "${aws_lb.ecs.*.arn[0]}",
"AlbDnsName" = "${aws_lb.ecs.*.dns_name[0]}"

Good
"AlbId"      = "${aws_lb.ecs.*.id[0]}",
"AlbArn"     = "${aws_lb.ecs.*.arn[0]}",
"AlbDnsName" = "${aws_lb.ecs.*.dns_name[0]}"

I would like to request permission in this repo to work on this and send one PR, please.


WIP. Fix #95. Refactor header

Fix #95.
Refactor the header to use bootstrap and css modules instead of styled components.

After merging #98. We have a clean base to start from. Will start again on a new branch.


Android asks for permission but doesnt load camera, works in iOS

does any body have a fix for why my android camera does not display. i click the button it asks for access to camera and storage and then nothing. on iOS it works fine and the code i am using is:
`private async void SelectProfileImage_Clicked(object sender, EventArgs e)
{
        await CrossMedia.Current.Initialize();
        try
        {
            profilePicture = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
            {
                PhotoSize = Plugin.Media.Abstractions.PhotoSize.Medium,
                CompressionQuality = 92
            });
            if (profilePicture == null)
                return;
            ProfileUpload.Source = ImageSource.FromStream(() =>
            {
                var imageStram = profilePicture.GetStream();
                ProfileFrame.BorderColor = Color.Green;
                return imageStram;
            });
            ProfileFrame.IsVisible = true;
            ProfileButton.IsVisible = false;
        }
        catch (Exception ex)
        {
            Debug.WriteLine(ex.Message);
        }
    }`

you didn't finish the setup code - https://github.com/jamesmontemagno/MediaPlugin#android


Multiple Clusters and Idempotency

when I attempt to run this after the cluster-autoscaler IAM role already exists, I get this error
Error: Kubernetes cluster unreachable

  on autoscaler.tf line 63, in resource "helm_release" "cluster-autoscaler":
  63: resource "helm_release" "cluster-autoscaler" {

Error: Post https://4663658293E17DFB6A45DCF1D286FB08.gr7.us-east-1.eks.amazonaws.com/api/v1/namespaces: dial tcp <IP_ADDRESS>:443: i/o timeout

  on efs.tf line 37, in resource "kubernetes_namespace" "support":
  37: resource "kubernetes_namespace" "support" {

Error: Error creating IAM Role cluster-autoscaler: EntityAlreadyExists: Role with name cluster-autoscaler already exists.
	status code: 409, request id: 853efb00-7b45-4b2d-951b-940d723ccd3b

  on .terraform/modules/iam_assumable_role_admin/terraform-aws-iam-2.6.0/modules/iam-assumable-role-with-oidc/main.tf line 43, in resource "aws_iam_role" "this":
  43: resource "aws_iam_role" "this" {

I was wondering if it would be useful and possible for this to be idempotent, so that it would detect the IAM role exists already and skip creating it. This would allow multiple clusters in one account, our current use case for this is that multiple people are trying to work through setting a cluster up to become familiar with it.

@super-cob I think you can achieve this as-written if you do two things:

Make sure the cluster-autoscaler is already managed by Terraform.
Enable a remote backend for Terraform. I have some configuration that sets up an S3 bucket to hold the current Terraform configuration and a DynamoDB table to enable locking.

Notes on each of those:

Terraform is really good at managing / interacting with things it has already setup and not very good at noticing what already exists if you made it another way, eg. AWS Console.
The remote backend is a really good thing to setup if you plan on having multiple manage the cluster anyways.

Oh cool, can I use something you've written as an example? I'd like to try
this
On Fri, Apr 3, 2020 at 4:00 PM Sebastian Alvis<EMAIL_ADDRESS>wrote:

@super-cob https://github.com/super-cob I think you can achieve this
as-written if you do two things:

Make sure the cluster-autoscaler is already managed by Terraform.
Enable a remote backend for Terraform. I have some configuration
that sets up an S3 bucket to hold the current Terraform configuration and a
DynamoDB table to enable locking.

Notes on each of those:

Terraform is really good at managing / interacting with things it
has already setup and not very good at noticing what already exists if you
made it another way, eg. AWS Console.
The remote backend is a really good thing to setup if you plan on
having multiple manage the cluster anyways.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pangeo-data/terraform-deploy/issues/21#issuecomment-608631808,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOZ23BD4BL6D4AF43U242RTRKY56JANCNFSM4L4JTV3Q
.

I just worked with @super-cob a little on this. Based on my understanding of how backends work, the use case is slightly different - we want to have two different instances of the hub infrastructure in the same AWS account. Currently, we don't prefix IAM roles, etc with the cluster name. This means you can't have two instances of this terraform setup on the same AWS account... This is separate from multiple people managing the same hub, which is (IIRC) what the backends fix.
Similar to how in helm we prefix everything with the name of the release (or at least we should), I think we should prefix everything with the name of the cluster here.

We could also use https://www.terraform.io/docs/providers/random/r/pet.html or https://www.terraform.io/docs/providers/random/r/id.html, but for our usage I prefer prefixing instead.

See https://medium.com/@pavloosadchyi/terraform-patterns-and-tricks-i-use-every-day-117861531173 talking about prefixes. I think this matches our use case very well


Error Deploying billing-functions

This is my first time using this library. Following instructions on Deploying page in docs, ran into this issue while deploying billing functions:
Error: failed to create the graph

Caused by:
    Relative import path "@supabase/supabase-js" not prefixed with / or ./ or ../
        at https://deno.land/x/basejump@v2.0.3/billing-functions/src/wrappers/get-billing-status.ts:1:30
error running container: exit 1
Try rerunning the command with --debug to troubleshoot the error.

bump on this ^ running into the same issue

I ended up writing my own backend using NestJs to handle Stripe webhooks. Ooooh the joys of launching a startup SaaS 😂

ended up hosting my own mod.ts and switched out the url in import after fixing the import path in my version.
For anyone who might be getting stuck while deploying the supabase functions:

fork this repo https://github.com/usebasejump/basejump-deno-packages
change the import paths in: billing-functions/src/wrappers/get-billing-status.ts & tests/utils/setup-basejump-account.ts from "@supabase/supabase-js" to "https://esm.sh/@supabase/supabase-js@2"
push your changes to your forked repo
then change the url in the import path found in basejump/supabase/functions/billing-functions/index.ts so that it points to the raw github hosted mod.ts in your forked repo. should look like this:
https://raw.githubusercontent.com/{your-username}/basejump-deno-packages/refs/heads/main/billing-functions/mod.ts
then you can deploy the functions without a problem, as well as make changes to the billing functions to better suit your need

Awesome, thank you so much!