Strengthen testing of CL_DEVICE_TYPE query and use of CL_DEVICE_TYPE* enums in device enumeration or context creation

[ ] Add or modify a test that checks that clGetDeviceInfo called with CL_DEVICE_TYPE  never returns CL_DEVICE_TYPE_DEFAULT or CL_DEVICE_TYPE_ALL
[ ] Add a test that (or check that an existing test) uses CL_DEVICE_TYPE_ALL to enumerate devices using clGetDeviceIDs

At least one device must be returned

[ ] Add a test that (or check that an existing test) uses CL_DEVICE_TYPE_ALL to create a context with clCreateContextFromType

The resulting context must contain at least one device

[ ] Add a test that (or check that an existing test) uses CL_DEVICE_TYPE_DEFAULT to enumerate devices using clGetDeviceIDs

Exactly one device must be returned

[ ] Add a test that (or check that an existing test) uses CL_DEVICE_TYPE_DEFAULT to create a context with clCreateContextFromType

The resulting context must contain exactly one device

@kpet PR created, please take a look is it what You wanted.

Closing as discussed in the August 27th teleconference.


[WIP] simplify mono build

This attempts to remove the use of autoconf in the Mono build.
I'll also check this against the CI process in http://github.com/fsharp/fsharp

OK, this is validated in fsharp/fsharp

This build included some clarifications in netci.groovy.  We should keep an eye on CI to make sure things are OK


Android, xr HitTest bug

I'm on Android. I've implemented an AR experience which draws detected planes and a 3d object on the hit test location. Continuously updated each frame.
I'm ciclying through the results of the onHitTestResultObservable similarly to this:
xrHitTestModule.onHitTestResultObservable.add((results) => {
for (var i = 0; i < results.length; i++) {
BABYLON.Tools.Log("xrHitTestModule " + i + " " + results[i].position.x + " " + results[i].position.y + " " + results[i].position.z);
}
...
When I hit multiple planes that are "overlapped" i get the same position for every result[i]. By overlapped I mean they are overlapped in the 2D view plane, but they are really 2 planes at different Z (height), like a table and the ground plane.
In this situation I get 2 hit but with the same position.
When i hit the non overlapped parts I get 1 hit with the correct X/Y/Z position
On the C++ side in the function  Napi::Value GetHitTestResults(const Napi::CallbackInfo& info) of NativeXR.cpp
the line m_frame->GetHitTestResults(nativeHitResults, nativeRay, hitTestSource->GetEntityTypes());
correctly returns 2 hits with different positions.

Sorry for taking so long to answer. As previously written, this is not a bug but a "feature". What a developer sentence...
We can discuss whether or not the default behavior should be setting autoCloneTransformation to true. It will create a few vectors per frame that will be garbage collected if not used, but they are not too many.
Another solution is to clone every vector provided by the hit test, instead of referencing it directly. I leave this issue open for discussion.

I am closing this issue for now, but will be happy to continue the discussion (or re-open the issue) if needed.


Add more functions to the play list page

In the playlist section, there are very few options visible. Please add more options, such as:

Shuffle music
Play as a Queue
Like any music
and so on. Feel free to add other options if you'd like. Here is the screenshot of the playlist section

Hello, I'd like to work on this.

Hello, I'd like to work on this. Since the 'like' option has a separate issue for itself, can I work on the shuffle and play as a queue options?

Sure, please proceed @sushma1031
Happy Coding...!!

Could you please help me with setting up the project locally? I've forked and cloned the repo, but when I open the index.html, it doesn't show all the content that's there in the hosted website link provided.
Could you let me know where I'm going wrong?
Screenshot:

First, check whether your forked repo is updated or not. To do this, follow these steps:

Click the 'Sync fork' button.

Update the branch.

Click on the 'Code' option, copy the link, and create a new file to clone this repo. If you want to continue with the previously cloned file, simply pull it from the repo.

If this process doesn't work, delete your forked repo and fork it again. I think this should work.

If this doesn't work either, make sure you have enabled JavaScript in your browser.

All right, I'll try those steps, thank you.

I tried all the steps, I'm afraid it's still not working. Here's the error I'm getting:

Sorry for the inconvenience, if you could help me through this I'll start working on the features right away

@sushma1031
I think I have solved this error. I usually perform this type of work in VS Code with the Live Server extension. So, I cannot understand why this error is showing. However, when I run the index.html file locally from my system, I encounter the same errors. Therefore, I suggest you open these files in VS Code and run them using Live Server.

@youtanimstar I did what you suggested and it's working perfectly now, thank you!


Add content scope scripts to node modules

Task/Issue URL: https://app.asana.com/0/0/1203004819379165/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #2298   👈

PR #2299

This comment was auto-generated by Graphite.


Types not available for use in Typescript project

It would be great if you could add types of using this plugin in typescript project. Otherwise could you tell how to write custom types for bypass type checks?
I tried adding this to a type definition file but it didn't work -
/**
 * Augment the typings of Vue.js
 */

declare module 'vue/types/vue' {
  import Vue from 'vue';
  export interface Vue {
    $apollo: any;
  }
}

declare module 'vue/types/options' {
  import Vue from 'vue';
  export interface ComponentOptions<V extends Vue> {
    apollo?: any;
  }
}

Here's a stating point :
declare module "vue-apollo" {
  import { ApolloClient } from 'apollo-client';
  import Vue, { PluginObject } from 'vue';

  export const addGraphQLSubscriptions: {};

  class VueApollo implements PluginObject<{}> {
    [key: string]: any;
    install: PluginFunction<{}>;
    constructor (options: {defaultClient: ApolloClient});
    static install(pVue: typeof Vue, options?:{} | undefined): void;
  }
  export default VueApollo;
}

For your question, you're right, here it is :
import Vue from 'vue';
declare module "vue/types/vue" {
  interface Vue {
    $apollo: any;
  }
}

declare module 'vue/types/options' {
  interface ComponentOptions<V extends Vue> {
    apollo?: any;
  }
}

Hi,
The proposed solution by @stphdenis  doesn't work for me.
Has someone figured it out?


Can't install netron because of unknown certifcation

Netron app and version: 4.9.0
OS and browser version: Ubuntu 16.04.7 LTS

Steps to Reproduce:

wget https://github.com/lutzroeder/netron/releases/download/v4.9.0/Netron-4.9.0.AppImage
snap install netron
I get following error message: error: cannot install "netron": Post https://api.snapcraft.io/v2/snaps/refresh: x509: certificate     signed by unknown authority

Sorry, I think this issue is on my side. https://api.snapcraft.io/ is blocked by the company firewall :-(


Could this lib run on nodejs?

Sure! You need webpack or vite, you can check the example
https://github.com/ecies/rs-wasm/tree/master/example


fix(fleet): add values bridges

:tada: This PR is included in version 1.7.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Unrecognized auth provider "0" when using HZ_AUTH environment variable

Server version<EMAIL_ADDRESS>I am trying to use the HZ_AUTH environment variable instead of .hz/config.toml to configure OAuth authentication to avoid committing provider secrets to my source code repository. However this results in an error:
WARNING: Serving app insecurely.
App available at http://<IP_ADDRESS>:8181
Starting Horizon...
debug: Added HTTP handler at /horizon/horizon.js
debug: Added HTTP handler at /horizon/horizon.js.map
debug: Added HTTP handler at /horizon/auth_methods
serve failed with Error: Unrecognized auth provider "0"
    at /usr/src/app/node_modules/horizon/src/serve.js:562:17
    at process._tickCallback (node.js:369:9)
    at Function.Module.runMain (module.js:443:11)
    at startup (node.js:139:18)
    at node.js:968:3

$ echo $HZ_AUTH
google,<REMOVED>.apps.googleusercontent.com,<REMOVED>

.hz/config.toml:
bind = [ "all" ]
port = 8181
project_name = "horizon"
token_secret = <REMOVED>
allow_anonymous = true
allow_unauthenticated = false

If I enter the google authentication options into the [auth.google] section in .hz/config.toml then there is no error.

Hi @jephir, sorry about the delay.  While this is the format you use on the command-line, it is slightly different when specifying via environment variables.  For your example, you would export HZ_AUTH_GOOGLE_ID=<REMOVED>.apps.googleusercontent.com and HZ_AUTH_GOOGLE_SECRET=<REMOVED>.  I added PR #605 to warn when we are ignoring an auth environment variable when the path doesn't match - and to avoid writing it into the options.

Closing since this doesn't seem to be a bug


Add skeleton for config file

As the image generation becomes more and more complex,
a config file is more suitable for generating a windows
image because it can accomodate more options at no expense for
code complexity.

closing this PR, as the Pr shall be made against the experimental branch first


How to retrieve the value of a UI element

using UI element, I can get the name of the window, but I cannot get the value underneath it.
for example, I have a field call text1, it has a value of 1200.
I can get detail of the windows which will give me text1, but I cannot figure how I can get the value 1200.

Hello @ben1628, thank you for using Power Automate Desktop.
As this question is more of a technical issue than a documentation issue, I would kindly ask you to post your question to the Power Automate community, where technical experts can assist you.


Dependencies include Servlet class

According to Servlet Spec 3.0 it is not allowed to include a servlet class in a web app. jxapi has a dependency on javax.servlet (see org.eclipse.jetty.orbit/javax.servlet/3.0.0.v201112011016) which is a problem when using jxapi in a web app.

Deployed to Maven repo.


feat: get charts by specifying the SHA256 checksum as the version.

What this PR does / why we need it:
This worked in version 3.7, but seems to have been lost or removed in
the upgrade to 3.8.
It is useful because not all repositories have immutable tags.
This is tangentially related to this comment:
https://github.com/helm/helm/issues/10312#issuecomment-961396434
Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[X ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

@mattfarina we count on installing helm charts by shasum for security reasons

In the past we have had discussions forcing version to be semver.
IMO the digest field should be additive/separate from version, and image refs should end up in the form:
registry.example.com/myuser/mychart:0.1.0@sha256:...

I'll have to look into this more. The way I understand the code right now, the version is required when pulling from an OCI registry. It seems redundant to require a version when there's a checksum specified already. Assuming I can relax the version requirement when a checksum is present, this should probably be doable (though it will increase the contact points of the change).

Hello, I would appreciate if this feature/pr could be merged.

@ewollesen Wanted to circle back and see whether you might have some availability coming up to look into this issue. No pressure whatsoever, just checking from a planning perspective

@ewollesen Wanted to circle back and see whether you might have some availability coming up to look into this issue. No pressure whatsoever, just checking from a planning perspective

I'll revive this unless Eric is really wanting to work on this

@TerryHowe is this something you can pick up? Like yourself, would be good to get this capability in a supported fashion

@TerryHowe ping

Yeh, I got put on a project that was rather consuming, but I should specifically be freed up to work on projects like this very soon. Sorry, it has been rocky.

@ewollesen good luck to you.

@TerryHowe Any chance that you might be able to pick this up any time soon.
#12558 looks to add support for specifying a tag and ideally we would want to be able to target either a sha256 or tag


DeprecationWarning

in the example start_stop_counter.py I get a warning:
DeprecationWarning: There is no current event loop
asyncio.get_event_loop_policy().get_event_loop().create_task(counter())
I belive it is in conjuntion with Python 3.13

I'll check this after Python 3.13.1 release (~ December 2024)

Actually, it shows warning on Python 3.12 too. I'll just update the example.

Fixed in #128


Updated allowed poster from hard coded GitHub username to configurable GitHub username

Overview
This PR is in reference to an issue I found where the allowedPosters constant (src/lib/content.js line 26) is hardcoded to swyxkit. If someone downloads this to mess with locally, it is not a big deal, but if they want to deploy the blog, it may cause issues with GitHub issues not showing on the page until that line is updated. This way, it is configurable.
Included in the PR are the following changes:

Added GH_USER_NAME const to siteconfig.js and set it to the previously hardcoded GitHub username (Line 2).
Changed the allowedPosters from the hardcoded GitHub username to the imported GH_USER_NAME from siteconfig.js.

Testing

Switch to update-allowed-posters-in-content branch
Run a Git Pull to pull in changes
Run npm install to install deps
Run npm run start
Go to http://localhost:3000/
Confirm you can pull in issues by going to the Blog page

@sw-yx Are we good to merge?


Fix spi_flash_at45 driver and sample

For some reason, use of the DT_NUM_INST macro in this driver was not
replaced with DT_NUM_INST_STATUS_OKAY. In consequence, this driver
could not be compiled successfully. Furthermore, because this now
undefined macro had been used inside UTIL_LISTIFY, gcc was not even
able to report an error, instead the compilation just "freezed".
This patch updates the macro name. It also adds an apparently missing
inclusion of sys/byteorder.h.
The second commit updates the whitelist in the spi_flash_at45 sample description,
so that this sample is again built by sanitycheck and such compilation errors like
the described above cannot go unnoticed.

@anangl You might want to look at #24943 which relates to the usage of fixture for tests requiring additional hardware modifications and filtering those. I would also suggest to modify the sample.yaml and omit using of whitelist attribute as it is being deprecated (#26382). If you think that the building of a sample should be tested by CI I would advise you to use two 'test cases' in the sample.yaml. The first one with build_only: true attribute and with integration: XX where you define for which platform building of the sample will be tested. The second test case would require a fixture and will be run on-target with --device-testing only when the proper hardware is provided.

@PerMac I added a commit with improvements in the test case descriptions, as you suggested.


Executing scripts in parallel - problem with jobs with multiple steps

Hi,
I have some problems with executing OLA maintenance soultion with parallel. I created 2 jobs, each having steps : Integrity Check, Rebuild indexes and Differential backup using OLA stored procedures with parametar 'Parallel' When executing it, the result is twice generated differential backup for all databases. The scenario goes in way, first job runs all steps and creates differential backup for all databases on last step, while the other job at same time is still running integrity check for big database and then when it finishes, runs rebuild and backup with  generatating one more backup for same databases, which have been already done by other job. I have 3 databases ( two small and one big database).  I am not fully understanding why second job just do not skip other two steps ( rebuild indexes and differential backup) as it has already been done by other job (session), than it backuping it all over again.
If you are wondering why I am not going for diving each step in job, that's because I want to ensure that no backups are made if integrity check  step fails. So with this configuration, first step Integrity check will not go on next step if it fails.
I don't know if it is even intended to run paralleling like these ( multiple steps in job), so I am wondering if I am doing domething wrong or is there some other solution to overcome this problem?

Thank you for describing your scenario.
Unfortunately it does not work with the parallel backup feature.
The parallel backup will only work if the backup steps for the different jobs run at the same time. If one job execution has completed, and then another one starts, it is considered a new backup.


[SD][web] Populate checkpoints as dropdown UI

Signed-Off-by: Gaurav Shukla<EMAIL_ADDRESS>

lmk when ready to land -- we can land as long your tests are good since the CI has some failures.


Normal for initalRoute to always mount before the actual navigated route?

I have a few stacknavigators nested inside a drawer.
const TrackerStack = StackNavigator({
  Home: { screen: HomeScreen },
  Settings: { screen: SettingsScreen },
  Progress: { screen: ProgressScreen },
  Add: { screen: AddScreen}
});

//Put all Individual Stacks into a Drawer
const HomeScreenRouter = DrawerNavigator(
  {
    Stack1: { screen: TrackerStack },
    Stack2: { screen: Stack2Screen },
    Stack3: { screen: Stack3Screen },
  },
  {
    contentComponent: props => <SideBar {...props} />
  }
);

In some stacks, you can navigate to any of the pages without having to view the initial route. For example, in the side drawer you can click on any of the items on the TrackerStack (Home, Settings Progress, Add). However, when i navigate to any of the pages besides the default inital "Home", the home page will be mounted and then the actual navigated route will mount.
Is this normal behavior for a stack navigator? Is there any way to not have the inital route mount before?

Does the home screen visibly show or is it just in the state? A running example of this would be very helpful.

@csumrell does this work for you? https://github.com/react-community/react-navigation/issues/2621#issuecomment-338557276

Hi there @csumrell,
In an effort to cleanup this project and prioritize a bit, since this issue had no follow up since Spencer's and Vojtech's last comments I'm going to close it.
If you are still having the issue with the latest version (especially if it's a bug report) please check the current open issues, and if you can't find a duplicate, open a new one that uses the new Issue Template to provide some more details to help us solve it.


Purge not working

Purge data for a sensor does not work. Perhaps it is only clearing the raw data, but it should also purge the data for all time range graphs (eg weekly, yearly etc) based on the conditions and date range set to purge data for.

@seant100 Can you list the MyController version details?

@jkandasa screenshot attached

@seant100 I have modified the source code and updated in SNAPSHOT version. Can you check with this change? Kindly confirm with least priority sensor variable.
NOTE: https://forum.mycontroller.org/topic/362/google-analytics-enabled-from-version-1-4-0

@jkandasa Updated to latest snapshot. Tried to purge with condition = >60 and all dates and when I select "Year" graph it still shows values of 90+. So purge is still not working.
Also the latest snapshot gives lots of errors and is incredibly slow for everything. So I have to now revert back to the previous snapshot version I was using.
For interest I have attached the log file showing errors with latest snapshot which I downloaded on 25 Oct 2018.
mycontroller.zip

@seant100 can you try with the most recent version? I have added a fix.
New option: only for double type data

when you pass value alone it will purge avg data alone. ie. >=45.6
we can specify min, max and avg with comma separated. ie. min>=45.6,max>=78.2,avg>=56.3

Can you check with the most recent version?

@jkandasa Thank you. I will give it a try asap.

@seant100 kindly report back the observations.

@jkandasa Thank you. That works. I would suggest to add some "hints" or "usage examples" onto the purge page


Jabref is outdated

The Chocolatey package is for Jabref 5.8, whereas the latest version of Jabref is 5.11. Could the package be updated?

Thanks for the hint! I'll take a look.

closing as duplicate of re-opened #6


Map in intl/lib/number_symbols_data.dart is untyped

In https://github.com/dart-lang/intl/blob/master/lib/number_symbols_data.dart
Map numberFormatSymbols = const {
should be Map<String, NumberSymbols>

This issue was moved to dart-lang/intl#113


Possible to set Regularisation Strength in LogisticRegression

Firstly, This is amazing!.  Thank you very much for this beautiful library.
I've only just started exploring it for the last 6 hours so apologies if this is obvious but I wanted to check it was / wasn't possible to set regularisation strength for LogisticRegression?  Or perhaps I'm just invoking it incorrectly:  https://gist.github.com/AJamesPhillips/07471da4b4be0190d8e34bf357c3c431
There are two tests with similar data (1 st input dimension uniform random distribution, 2 nd input dimension linear trend from 0 to 99, output dimension 0 if 2nd input dimension < 50 else 1).
On the first small data test, the classifier usually predicts an output value of 1.
On the second larger similar data set the tests fail randomly (I assume this is just overfitting).

Thanks for checking out the AIToolbox library!
You're question is, of course, on the one subject in the framework that I am the least familiar with, and have had the hardest time getting results I am happy with - non-linear regression (of which logistic regression is based on).
There is currently no regularization in the non-linear regression class.  As it is a subject I need to learn more about, I haven't extended it more than the bare minimum.  If you (or anyone else out there in the community) have suggestions for implementation or informational material to use to help in the matter, please pass it along - that is why I made the framework open source!
It is of course also possible that I have something wrong in the library too.  I will take the code from your gist and see if I can figure out what is happening.  Due to my schedule, it may take me a couple of days to get the time though.  I'll post back here as soon as I know something.

I created a quick playground that used your large data set.  I added the following code after data set creation (see the other playgrounds in the AIToolbox code set for examples if needed):
let lr = LogisticRegression(numInputs : 2, solvingMethod: .GaussNewton)
try lr.trainClassifier(data)

let dataView = MLView(frame: CGRect(x: 0, y: 0, width: 480, height: 320))
let dataPlotItem = try MLViewClassificationDataSet(dataset: data)
dataView.setInitialScaleItem(dataPlotItem)

let classifierArea = MLViewClassificationArea(classifier: lr)
classifierArea.granularity = 4
dataView.addPlotItem(classifierArea)

let axisLabels = MLViewAxisLabel(showX: true, showY: true)
dataView.addPlotItem(axisLabels)
dataView.addPlotItem(dataPlotItem)
XCPlaygroundPage.currentPage.liveView = dataView

Note that I changed the solution type to Gauss-Newton.  I was unable to get SGD to converge.  I get Gauss-Newton to converge most of the time.  The plot shows an appropriate decision boundary for the two classes.
What I found is there is no way to set convergence criteria on the non-linear solution method of a LogisticRegression.  I will need to add a set of methods to do that.  The default criteria will sometimes work, but often these hyper-parameters will need to be tuned - and right now there is no way to do that.
Yet another in a list of things to do with the framework!  I will leave this issue open until that particular need is addressed.
Again - thanks for trying out the framework.  I obviously need more people using it and commenting (and hopefully contributing!) to get it into even better shape.

Thanks for the speedy response!  I'll check out your example and see if I can make any headway (I'm completely new to this area myself so can't really help much at the moment.  Saying that I have been using the python sklearn etc as example implementations.  https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/linear_model/logistic.py#L1137 )

Closing for the moment as I'm not working on the project.


Is it possible to add sticky footers?

It's not supported yet.
I'm wondering how it would be UX-wise? Is it because you're using a layout manager which stacks from the end, so your natural way of scrolling would be from bottom to top?

ok thank you
On Mon, Oct 17, 2016 at 9:19 PM, Paul Laturaze<EMAIL_ADDRESS>wrote:

It's not supported yet.
I'm wondering how it would be UX-wise? Is it because you're using a layout
manager which stacks from the end, so your natural way of scrolling would
be from bottom to top?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AcidFlow/sticky-header-recyclerview/issues/4#issuecomment-254247713,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVn7w34RGJ3hZXbDPDczdcr9dNKOSZB7ks5q05kJgaJpZM4KXnhX
.


sig-scale: add perf and scale benchmarks documentation

What this PR does / why we need it:
This PR adds documentation for sig-scale performance and scale benchmarks
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
This will be the technical documentation that will be followed by a user-guide documentation in this issue https://github.com/kubevirt/user-guide/issues/693
Special notes for your reviewer:
This needs to be back-ported to release-v1 branch
Release note:

Add perf scale benchmarks for VMIs

/assign @rthallisey

@prnaraya @rthallisey I have addressed all the feedback, please take a look when you get a chance. Thanks!

cc @vladikr @rmohr @stu-gott @aburdenthehand

/lgtm
Thanks Alay!

@rmohr can you review?

/lgtm

/approve
/retest

/cherrypick release-1.0


bugfixes & enhancements for staging/posting calc_tses

introducing try_calc_ts, which tries to stage and post a calc_ts series (1) for only/exactly those sites that have the requisite data and are not already complete, and (2) without stopping on site-by-site errors.
because i overlooked one fallibility in the first round of SB posting, also had to write new function to delete specific files. enhanced repair_ts to run more quickly b/c gets used within try_calc_ts and was always running 2 locate_ts calls when 1 might do.

Coverage decreased (-0.4%) to 9.961% when pulling 47fdb9999965b612380cb262b0dd4710a360ead3 on aappling-usgs:develop into 7b7d7b4c63e1c706e33e8f5fa94387c27df5698c on USGS-R:develop.

Coverage decreased (-0.4%) to 9.961% when pulling 4829f7280146f494a6778b400e863b67127e2541 on aappling-usgs:develop into 7b7d7b4c63e1c706e33e8f5fa94387c27df5698c on USGS-R:develop.

Coverage decreased (-0.4%) to 9.961% when pulling 4829f7280146f494a6778b400e863b67127e2541 on aappling-usgs:develop into 7b7d7b4c63e1c706e33e8f5fa94387c27df5698c on USGS-R:develop.

Coverage decreased (-0.4%) to 9.944% when pulling de355bf4a2217fbd5c2a49ccb7e3b4fb40591b09 on aappling-usgs:develop into 7b7d7b4c63e1c706e33e8f5fa94387c27df5698c on USGS-R:develop.


udev rules to deprivilege resourcemgr

By default /dev/tpm0 is owned by root. This requires that the resourcemgr run as root as well which is a terrible idea. We need an example udev rule file to cause /dev/tpm0 to be owned by an unprivileged user to allow the resourcemgr to run as the same. This is probably a subtask from #17

Again resolved months ago.


Why is the performance so terrible?

The tor-v3 vanity generator on cathugger/mkp224o has no GPU support and is faster on my 10 year old CPU than the numbers shown in the README here.
I get about 1 vanity hash every 10 seconds for 5 character prefix on my CPU.
I did not test if the numbers are true, cause I do not have Nvidia GPU, but this should be A LOT faster on the GPU than this.
Anyone tested the both implementation side by side? Is tor-v3-vanity really that slow? That does not sound right.
With scallion it was easily possible to have 8 and 9 character prefixes.

Testing using mkp224o on an i7-8565U, even with the best optimization for me (--enable-binsearch --enable-amd64-64-24k --enable-intfilter=64), I'm only getting ~15MH/sec, and on a tor-v3-vanity with a GTX-1660, I'm getting ~5GH/sec.

@FreeApophis is correct, the output information is confusing, it wasn't 5GK/sec, the output was showing me a cumulative count, so the correct count is 297KK/sec.

Thanks for the numbers, so there is defintily something wrong with the implementation when a Raspberry is faster than a GTX-1660.

4x2080Ti

As you can see @23cku0r posted, his benchmark is 8x my raspberry pi 2 performance, so just 2 rasps CPU-based have the equivalent performance of a 2080Ti GPU-based performance. lol

I took a look at the code again, and I don't see an obvious reason why it should be so much slower. This was a weekend pet project I threw together a while back just to try out the nvptx target for rust. I have too much going on right now to look into this, but if anyone takes the time to instrument the code and determine where the bottleneck is, I'm happy to address the problem.

My best guess is that there's an issue with automatic block size detection. 256 threads with 272 blocks seems low for a 2080ti.

Something is definitely wrong here, this is my experience running it on my gtx 1080
=27116== NVPROF is profiling process 27116, command: ./t3v -d keys hello
Launching kernel on device #0 with 256 threads and 60 blocks
Tried 2012160 / 33554432 (expected) keys.
Running for 30 seconds / 8 minutes, 21 seconds (expected).
Tried 4024320 / 33554432 (expected) keys.
Running for 1 minutes, 0 seconds / 8 minutes, 21 seconds (expected).
Tried 6036480 / 33554432 (expected) keys.
Running for 1 minutes, 30 seconds / 8 minutes, 21 seconds (expected).
^C==27116== Profiling application: ./t3v -d keys hello
==27116== Warning: 1 records have invalid timestamps due to insufficient device buffer space. You can configure the buffer space using the option --device-buffer-size.
==27116== Profiling result:
            Type  Time(%)      Time     Calls       Avg       Min       Max  Name
 GPU activities:  100.00%  90.9431s       397  229.08ms  213.42ms  253.10ms  render
                    0.00%  591.57us       794     745ns     351ns  3.0080us  [CUDA memcpy DtoH]
                    0.00%  226.64us       404     561ns     480ns  1.2480us  [CUDA memcpy HtoD]
      API calls:   99.87%  90.9558s       397  229.11ms  213.43ms  253.10ms  cuStreamSynchronize
                    0.11%  100.82ms         1  100.82ms  100.82ms  100.82ms  cuCtxCreate
                    0.01%  10.058ms       794  12.667us  5.8100us  93.444us  cuMemcpyDtoH
                    0.01%  5.0190ms       398  12.610us  9.2540us  72.085us  cuLaunchKernel
                    0.00%  1.7040ms       404  4.2170us  2.4680us  155.27us  cuMemcpyHtoD
                    0.00%  1.6310ms         1  1.6310ms  1.6310ms  1.6310ms  cuModuleLoadData
                    0.00%  255.92us       399     641ns     280ns  1.9780us  cuModuleGetFunction
                    0.00%  109.00us         6  18.166us  1.7130us  99.015us  cuMemAlloc
                    0.00%  9.9490us         1  9.9490us  9.9490us  9.9490us  cuStreamCreateWithPriority
                    0.00%  4.9050us         1  4.9050us  4.9050us  4.9050us  cuDeviceGetPCIBusId
                    0.00%  1.7310us         6     288ns     139ns     553ns  cuDeviceGetAttribute
                    0.00%     832ns         3     277ns     107ns     554ns  cuDeviceGetCount
                    0.00%     555ns         2     277ns     101ns     454ns  cuFuncGetAttribute
                    0.00%     500ns         2     250ns      98ns     402ns  cuDeviceGet

Same issues here. Figured I was just having bad luck, but no.. running on an 8 GPU server produces less result than multi processor mkp224o. Was really looking forward to this too, as it's the ONLY solution currently in existence for v3 onions.


Adds sized (S, M, L) power cells and a generic component for battery powered items

This adds Eris-style power cells that have a size and only fit into devices that have a matching size battery compartment.
While adding these I figured I should make a generic component for a battery-powered (handheld) device that covers the functionality basically all of these will be doing: inserting and removing the cell and having an on state and an off state and sucking power out of the cell. I wasn't sure if it was a reasonable thing to do at first (still unfamiliar with the codebase and engine), but now I'm pretty sure I can do it with component messages.

[x] Add power cell items & sprites & yaml for them
[x] Add slot size to the power cell component
[x] Make a power cell slot component that contains power cells and helps insert and eject them
[x] Switch existing power cell -using things like flashlights over to this new system

The cell capacity values are placeholders and mostly just grabbed out of the Eris code.

The idea of an all-in-one component that also handles sucking power out of the battery was bad after all, it'd be far too overengineered for what's needed right now. A minimal component that just provides a "battery slot" with some convenience for inserting/ejecting power cells and showing nice examine strings for them is probably better, so I'm going with that.

I made flashlights and stun batons use this for now. The third component that used removable batteries were some guns, but I didn't feel like touching those yet. Might touch them tomorrow if I'm feeling wild. They would probably benefit since this kind of standardizes the battery insertion/removal logic which I think is a good thing.

I figured I should add auto-recharging batteries while I'm at it so I did. There's only one auto-recharging power cell in the Eris codebase but it can be a handy feature to have.

It annoyed me how the cell charge indicators didn't really reflect the actual charge all that well. 99% charge would immediately jump to the 75% charge icon state, 1% charge was the same as 25% charge, etc.
So I wrote a (IMO) better helper function to get thresholds like this that finds the closest one out of a given set of thresholds rather than flooring like the existing one does. There may well be nicer ways to do this, and the existing RoundToLevels function could probably be fixed too, but this works. Here's how it changes the indicator behaviour in practice:
Old

New


Fix snps resources import

Codecov Report

Merging #79 into master will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
- Coverage   96.43%   96.39%   -0.05%
==========================================
  Files           4        4
  Lines         421      416       -5
  Branches       59       59
==========================================
- Hits          406      401       -5
  Misses          4        4
  Partials       11       11

Impacted Files
Coverage Δ

src/lineage/resources.py
100.00% <100.00%> (ø)

src/lineage/individual.py
100.00% <0.00%> (ø)

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 9721406...458a495. Read the comment docs.


Use a gen in PartialEq for UseSharedState

So I had tried using a UseSharedState as a dependency for use_future, and it wasn't re-running when it changed. I think this was because it was comparing the .inner values which still were pointing to the same data.
I implemented a special UseFutureDep so it would compare a gen value, sort of following the example of UseRef. I did have to remove the PartialEq here to avoid conflicting with this: impl<A: Dep> UseFutureDep for &A, but this might not be the right thing to do.

Clippy failure is unrelated. This change can potentially be breaking (this could fail to memorize some props). Waiting for a second review before merging


Update cross-tenant-query-and-commands.md

@shsagir
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


fix: use the [dist] section in package dist.tomls

And add errors for cases where a metadata.dist exists but is being ignored.

currently missing: a checked in test that stresses this (did some local edits to axolotlsay-hybrid to smoke test, but we need a real test before landing)


[ Misc ] Support Act Order in Compressed Tensors

Summary
Add support for compressed-tensors models which have been quantized using activation ordering (group-wise quantization in decreasing order of activation).

add actorder argument to CompressedTensorsWNA16
add weight_g_idx layer parameter

Evaluation
Accuracy
Full Precision
vllm (pretrained=Qwen/Qwen2-0.5B-Instruct,add_bos_token=True), gen_kwargs: (None), limit: 250.0, num_fewshot: 5, batch_size: auto
|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value|   |Stderr|
|-----|------:|----------------|-----:|-----------|---|----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match|?  |0.384|?  |0.0308|
|     |       |strict-match    |     5|exact_match|?  |0.384|?  |0.0308|

Group Quantization Only (ksayers/gwen_group)
vllm (pretrained=kylesayrs/gwen_group,add_bos_token=True), gen_kwargs: (None), limit: 250.0, num_fewshot: 5, batch_size: auto
|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value|   |Stderr|
|-----|------:|----------------|-----:|-----------|---|----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match|?  |0.216|?  |0.0261|
|     |       |strict-match    |     5|exact_match|?  |0.196|?  |0.0252|

Activation Ordering (ksayers/gwen_actorder)
vllm (pretrained=ksayers/gwen_actorder,add_bos_token=True), gen_kwargs: (None), limit: 250.0, num_fewshot: 5, batch_size: auto
|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value|   |Stderr|
|-----|------:|----------------|-----:|-----------|---|----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match|?  |0.248|?  |0.0274|
|     |       |strict-match    |     5|exact_match|?  |0.248|?  |0.0274|

Latency Regression
Namespace(model=‘/home/ksayers/llm-compressor/gwen_actorder/’, speculative_model=None, num_speculative_tokens=None, speculative_draft_tensor_parallel_size=None, tokenizer=None, quantization=None, tensor_parallel_size=1, input_len=32, output_len=128, batch_size=32, n=1, use_beam_search=False, num_iters_warmup=10, num_iters=30, trust_remote_code=False, max_model_len=None, dtype=‘auto’, enforce_eager=False, kv_cache_dtype=‘auto’, quantization_param_path=None, profile=False, profile_result_dir=None, device=‘auto’, block_size=16, enable_chunked_prefill=False, enable_prefix_caching=False, use_v2_block_manager=False, ray_workers_use_nsight=False, download_dir=None, output_json=None, gpu_memory_utilization=0.9, load_format=‘auto’, distributed_executor_backend=None, otlp_traces_endpoint=None)

Group Quantization Only
Avg latency: 0.8884373404396076 seconds
10% percentile latency: 0.8715801022946834 seconds
25% percentile latency: 0.8739993472117931 seconds
50% percentile latency: 0.876951577141881 seconds
75% percentile latency: 0.8830150356516242 seconds
90% percentile latency: 0.9393035409972071 seconds
99% percentile latency: 0.9404808702412992 seconds

Activation Ordering
Avg latency: 0.9159474782645702 seconds
10% percentile latency: 0.9001966264098883 seconds
25% percentile latency: 0.9010569080710411 seconds
50% percentile latency: 0.9041027296334505 seconds
75% percentile latency: 0.9064613012596965 seconds
90% percentile latency: 0.9662564094178379 seconds
99% percentile latency: 0.9761117453686893 seconds

LGTM

Do not merge, tensor parallel bug needs to be fixed

False alarm on tensor parallelism bug. Regression testing was performed with TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T with and without activation ordering and tensor_parallel_size=2

Moving to draft while support for static_grouping actorder is added

New requirements have been added to act-order to support different strategies such as weight-only ordering and group ordering. See https://github.com/neuralmagic/compressed-tensors/pull/146
I've made a PR I'd like to merge into this branch which conditions activation ordering on g-idx directly rather than relying on the config

Moved to https://github.com/vllm-project/vllm/pull/8135


Dissolve spack fork

Following our 10 Jan 2023 discussion, this issue is for updating spack-stack/spack fork so as to reduce differences between our spack fork and main spack, with the ultimate goal of eliminating the need for our own fork. The following is intended as a comprehensive running checklist of items to resolve:

[ ] Move jcsda-emc spack extensions to spack-stack (doable; see https://github.com/AlexanderRichert-NOAA/spack-stack/tree/separate_spack)
[ ] Move jcsda-emc spack repos to spack-stack (doable; see https://github.com/AlexanderRichert-NOAA/spack-stack/tree/separate_spack)
[ ] Add extra instructions functionality for container recipes in main spack (waiting on main spack devs; see https://github.com/spack/spack/pull/32478)
[ ] Determine whether module path/hash length-related modifications are still needed
[ ] Resolve package differences:

[ ] ...
[ ] ...

Do we actually believe we'll be able to completely dissolve our spack fork?

@AlexanderRichert-NOAA Do you still believe that this is possible? If so, for which release?

I thought we had reworked this issue, but maybe I'm misremembering. We can see where things stand after the next merge. Given that we have to periodically make and test updates to whichever Spack repo we end up using, the use of the fork doesn't necessarily create a lot more workload. What would you think of moving JCSDA/EMC-specific stuff (the lib/ subdir and the repo dirs) to the spack-stack repository, so we would be using a clean or nearly clean copy of Spack? I don't think it's critical, but the main benefit would be that we could swap in clones of main Spack for testing purposes without having to do a bunch of shuffling things around. I think the idea would be to have steps in setup.sh like what I experimented with a while back to point Spack to the appropriate extensions & spack repos.

Yeah that sounds good. When we/I do the next merge from main Spack I can work on this as well and hopefully get that working for the next release.

@AlexanderRichert-NOAA Any suggestion on how to proceed with this? To me it feels like this should be turned into an epic or project and broken up into individual manageable pieces that we can tackle one at a time as time permits and as we think makes sense?

If you want we can take the checklist and break it out into separate issues? I think pulling the jcsda-emc lib/ and repos/ subdirectories should be reasonably straightforward. I'm not as certain about the whole container build issue.
As far as our wanting to not have hashes in the modulefile directory structure, is that a strict requirement, or did we just remove them because they're ugly/unnecessary? When I talked to the Spack devs about it some months ago, it sounded like there was some openness to letting users set the hash length, but, could we potentially live without that modification?

If you want we can take the checklist and break it out into separate issues? I think pulling the jcsda-emc lib/ and repos/ subdirectories should be reasonably straightforward. I'm not as certain about the whole container build issue.

Maybe there's a way around the container build issue if we can specify our own template (and the location of it) and leave the original template in place. We can consider this in a later step?

As far as our wanting to not have hashes in the modulefile directory structure, is that a strict requirement, or did we just remove them because they're ugly/unnecessary? When I talked to the Spack devs about it some months ago, it sounded like there was some openness to letting users set the hash length, but, could we potentially live without that modification?

I would be very surprised if that was acceptable by the users - it is certainly ugly. We can and should ask our users. I would say let's try to convince the spack-developers to make this configurable, our changes are trivial and not intrusive and do exactly that.

Resolved (in parts, rest will be addressed elsewhere) by https://github.com/JCSDA/spack-stack/pull/961

We may have to revert this, since it breaks the spack container builds.


How to send commands by mqtt (Start, stop, Restart)

The description says:
You can also send commands to start, stop, restart, or remove your containers via MQTT or homeassistant.
After installation the status of all containers is shown in HA, but I find nothing about how to restart containers from HA.

In the latest version i introduced 2 buttons:

manual update even for unsupported registries
manual restart - restart the container
the other ones will follow after reworking some deeper stuff


Add special handling for aggregating and enumerating methods

Some methods of maps returned by System.getProperties() and
System.getenv() do not work with concrete keys. Instead, these methods
aggregate the whole contents of the map (like size() or hashCode()) or
expose the contents to the caller (like iterator() or forEach()). If
such a method is called during the configuration phase then any
change in the environment (environment variable or system property)
can change the behavior of the caller. The configuration cache has no
idea what changes affect the configuration and what don't. Therefore,
the only way to keep correctness is to add a fingerprint of the whole
environment to the cache, and we should discourage build authors from
using such patterns to improve cache hit rates.
This commit moves us closer to the described ideal by fingerprinting
every property/variable if an aggregating or enumerating method is
called. This approach is quicker to implement than adding a full-blown
special fingerprint. While not all environment changes are detected
(e.g. adding a variable will not invalidate the cache), some are and
the sheer number of inputs can highlight to the build author that
they are doing something fishy.
NB: this is the last PR I have in the works for tracking env vars/system variables. Further refinement is postponed.

@bot-gradle test QFL

@bot-gradle test and merge

OK, I've already triggered a build for you.


Adding Excel as a loader

I want to be able to add excel as a load, or upload it and answer questions from a reasonable structureds spreadsheet with product info, description column and pricing.
Is that possible? can this common pattern be added?
Great libary, and do you have a paypal or funding link for a coffee fund! Happy to buy a round of coffee's

The library does not support excel currently. I want to add it but I am not sure what is the right strategy to embed excel files. I will research this and send in a PR.

No paypal or funding link! In my day job, my teams work a lot on ML and GenAI. I created this to just give back to the community.
But I appreciate the sentiment :)

Added experimental support for excel loader in version 0.0.73. Will test this out more and then close the issue soon.

Tested


Admin API endpoints (Feature/314 admin delete ehr)

Changes
Adds Admin API endpoints: Del EHR, Del Composition and Del Contribution. All are cascading into all linked entities for their deletion as well.
See the documentation page in Jira for implementation details.
Related issue
closes https://github.com/ehrbase/project_management/issues/314
closes https://github.com/ehrbase/project_management/issues/320
Additional information and checks

[x] Pull request linked in changelog

Could you please give the pointer to the doc ?

I think deleting a party_identified and system could be performed with a simple function as below:

CREATE OR REPLACE FUNCTION delete_party_identified(party_id UUID)
  RETURNS boolean AS
$func$
BEGIN
   DELETE FROM ehr.party_identified WHERE party_identified.id = party_id; -- or any other identification

   IF NOT FOUND THEN
      RETURN NULL;                        -- UUID not found, return NULL
   END IF;

   RAISE SQLSTATE 'DELPI';                -- If DELETE, raise custom exception (5 positions literal!)

   EXCEPTION
   WHEN FOREIGN_KEY_VIOLATION THEN
      RETURN FALSE;
   WHEN SQLSTATE 'DELPI' THEN
   -- logging should be added here to record: who, when, deleted_object id
      RETURN TRUE;
END
$func$ LANGUAGE plpgsql;

that said, only the party_identifed belonging to the EHR should be delete IMO (that is the subject, the owner of the EHR). The other party (f.e. participant, composer) may be provided by another system upon registration. I would suggest to have a 'clean-up' admin endpoint to allow this specific operation.
The same applied to system.

The deletion should be logged (https://www.postgresql.org/docs/current/plpgsql-errors-and-messages.html)

@wlad Does the sonarcloud code analysis checks the whole project or only the PR's changes here? The "1 Bug" is about a line I never touched in this PR (see what it points to vs. what I did in that file https://github.com/ehrbase/ehrbase/pull/344/files#diff-923a7421d7cc516ab7e680ff6aefc35fe80cefc4d639218a53375e6e8b64f201).
Also the analysis was successful and then suddenly assumes those changes here? I'm confused :D

Regarding https://github.com/ehrbase/project_management/issues/318:

A simple fix like
-- fix bug 318: directory foreign key in ehr table
ALTER TABLE ehr.ehr
DROP COLUMN directory,
ADD COLUMN directory UUID references ehr.folder(id);
will break Folder/Directory PUT or updating. So that would need to be refactored to fix this issue.

So this is definitely out of scope of this feature. Therefore, the malfunctioning fix has been removed again.


Clarification on Transmit

I'm hoping to understand the purpose of Transmit in the app. I'm still learning React and there's many ways of doing things it seems. Here's my question:
Without this code:
/**
 * Use Transmit to query and return GitHub stargazers as a Promise.
 */
export default Transmit.createContainer(Main, {

});

Then the container doesn't return anything.
Compare that to this style:
export default class Home extends Component {
  render() {
    const styles = require('./Home.scss');
    // require the logo image both from client and server
    const logoImage = require('./logo.png');
    return (

Some stuff in here, yo.

    );
  }
}

Why the difference?
Also, I'm wondering if I can include components and stores? Is this a Flux pattern or something different?

The first question: the starterkit uses Transmit.render() and Transmit.renderToString() so it expects the component to be a valid Transmit component. Do you get an error message in the console?
The second question: Transmit does not attempt to solve any require() problems. It solves the problem that if your components are dynamically composed according to some data, the server and client will render the same thing.  For example: let's say you retrieve 10 "posts" from your database and render them on the server. How do you get those 10 "posts" to the client-side so those React can render those on the client-side? Transmit helps you bring that kind of dynamic data from server to client.

So, I have been able to work something out this way:
Here's my base file, like a Template if you will:
import React from "react";
import InlineCss from "react-inline-css";
import Transmit from "react-transmit";
import { Test } from "components";

class App extends React.Component {
    /**
     * Runs on server and client.
     */
    render () {

        return (
            <InlineCss stylesheet={`
                & .card {
                    cursor: pointer;
                    margin: 15px;
                    padding: 15px;
                    text-align: center;
                    height: 200px;
                }
                & img {
                    width: 130px;
                    height: 130px;
                }
                & p {
                    margin: 10px;
                }
                `}>

                        REGULAR PAGE

                    <Test/>

This format will work too, it appears.

                    {this.props.children}

            </InlineCss>

        );
    }
}
export default App;

That works with no problems.
{this.props.children} receives the component from IndexRoute and Classrooms subcomponent is popped in it's place.
Since my routes look like this:
    <Router history={browserHistory}>
        <Route path="/" component={App}>
            <IndexRoute component={Classrooms}/>
        </Route>
        <Route path="/about" component={Home}/>
        <Route name="RegularPage" path="/RegularPage" component={RegularPage} />
    </Router>

/about pulls up the example homepage which comes in the starter kit. So Transmit still works.
One question I have, and I'm hoping you can clarify, is that I'm using InlineCSS in the App class (as you can see above) and i'm seeing an error in the console log:

Any idea how I could work around this?

Any idea how I could work around this?

The easiest way is to set the namespace prop manually to something unique. Then InlineCss will use that instead of the (badly) random-generated id.


Chooser not aligned with TextField

Describe the bug
When a time.Duration field is in a struct that's used in a table, the Chooser is taller than the TextField in the Spinner (for the value) which doesn't look great (maybe this should be an enhancement since it's only visually 'broken').
How to reproduce
Run the code below.
Example code
type SomeStruct struct {
    Took time.Duration
}
core.NewTable(b).SetSlice(&[]SomeStruct{{time.Duration(time.Minute)}, {time.Duration(time.Hour})

Relevant output
No response
Platform
macOS

Thank you for reporting this. I will look into this and see what I can do.


Add param for enabling/disabling estimate sources [inav]

Since there are use-cases where we are using complete offboard fusion of positional data from multiple source, it would be useful to be able to turn off usage of different sources in inav.
For example, in ROS, I'm using GPS data from the PX4 and fusing it in an EKF together with two more visual estimate sources. In this case, I want my local estimate to come only from offboard and not inav's extra fusion. Inav will only use the stream from ROS as the only source (already has all sources fused)
I would like to use the navigation features of GPS in the flight stack though, without using it for local estimates. I'm not sure how GPS navigation works here, but ideally, I would like to use the navigation/waypoint features without fusing GPS into inav.
@LorenzMeier Comments?
@DrTon What do you think?

I think it's worth keeping the position and velocity prediction based on inertial sensors, first to improve the GPS and or vision estimates and second to act as backup between GPS/Vision outages. However, I also think that there are a few problems in the inertial prediction stages of [inav].
On a a related question, is someone actively maintaining [inav] or is it not being used that much these days?

Actually you can simply set INAV_W_XY_GPS_P and it will be completely ignored. If you add some offboard estimate source to inav you can use inav just for filling the gaps between offboard data frames. Estimate will be more fast, and still very close to offboard estimate.
Inav still used as default position estimator for copters and works nice. But code is really very old and must be rewritten. IMO it should be left in codebase anyway, at least as optional solution, because it's much more easy to hack and extend than heavy EKF.

Implemented as INAV_ENABLED.


Correct two typos

Corrects two typos.

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (efdc576) 92.21% compared to head (798c9be) 92.21%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   92.21%   92.21%
=======================================
  Files           4        4
  Lines        1041     1041
=======================================
  Hits          960      960
  Misses         81       81

Impacted Files
Coverage Δ

src/lib.rs
100.00% <ø> (ø)

src/dynamic.rs
97.82% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thanks!


Add safeguards against nameless functions in the ABIgen

Currently, a Function can have an empty string as a name. That should be not possible.
In the same fashion, expand_function and associated should error upon receiving Function arguments with empty names.

I must be missing something as I could not reproduce the first issue. I tried with the following test example:
#[tokio::test]
async fn compile_bindings_from_inline_contract() {
    // Generates the bindings from the an ABI definition inline.
    // The generated bindings can be accessed through `SimpleContract`.
    abigen!(
        SimpleContract,
        r#"
        [
            {
                "type": "function",
                "inputs": [
                    {
                        "name": "only_argument",
                        "type": "u32"
                    }
                ],
                "name": "",
                "outputs": [
                    {
                        "name": "",
                        "type": "bool"
                    }
                ]
            }
        ]
        "#,
    );

    let wallet = launch_provider_and_get_single_wallet().await;
    //`SimpleContract` is the name of the contract
    let contract_instance = SimpleContract::new(null_contract_id(), wallet);

    let call_handler = contract_instance.takes_ints_returns_bool(42_u32);

    let encoded = format!(
        "{}{}",
        hex::encode(call_handler.contract_call.encoded_selector),
        hex::encode(call_handler.contract_call.encoded_args)
    );

    assert_eq!("000000009593586c000000000000002a", encoded);
}

When the name field is empty we get an error and the message: expected identifier, found reserved identifier


[Cosmos] Naming Consistency

Cosmos needs to alias some of our methods and options to match with other Azure SDKs. Some that have been identified already:

maxRetryAttemptCount -> maxTries
maxWaitTimeInSeconds -> timeoutInMs / timeoutInSeconds
FixedRetryIntervalInMilliseconds -> retryIntervalInMs
InMilliseconds -> InMs (in many places)

TODO:

[ ] Full API audit with @bterlson to expand on the above list
[ ] Alias old names to new names

Additional notes from our last meetings:

getPartitionKeyDefinition -> readPartitionKeyDefinition

Top level CosmosClient methods

get -> read

CosmosClientOptions

Should add pipelineOptions on move to core-http

De-pascal case everything external. If it is internal, does not matter

Actual constants -> SCREAMING SNAKE CASE if top level

InMilliseconds -> InMs everywhere

FeedOptions

continuation -> continuationToken

readChangeFeed -> items.changeFeed.read()

QueryIterator - Known issue. Make iterator a async iterator

Brian to follow up on accessCondition vs accessConditions

Top level CosmosClient methods

get -> read

There are only three such methods on CosmosClient, getDatabaseAccount, getWriteEndpoint, and
getReadEndpoint.
None of them sound particularly improved by this conversion, especially the last two: readDatabaseAccount, readWriteEndpoint, readReadEndpoint

CosmosClientOptions

Should add pipelineOptions on move to core-http

This seems like longer-lead work than simple renames. Is it really something we want to bundle with the other work?

De-pascal case everything external. If it is internal, does not matter

I'm not seeing where we have PascalCase methods/properties?

Actual constants -> SCREAMING SNAKE CASE if top level

Is this referring to things like const WindowsInterruptedFunctionCall = 10004; ?

readChangeFeed -> items.changeFeed.read()

I'm confused about this one. Is the idea that readChangeFeed() becomes a getter named changeFeed that still returns a ChangeFeedIterator? Does something in ChangeFeedIterator need to change so it has read instead of fetchNext ?

Brian to follow up on accessCondition vs accessConditions

@bterlson  ?

I'd also appreciate if @southpolesteve or @bterlson could clarify what is meant by 'aliasing'.
For example, I could leave the method getPartitionKeyDefinition and have it simply return the result of calling readPartitionKeyDefinition, but it's subtler what we should do for interfaces.
Like for ErrorResponse if we rename retryAfterInMilliseconds to retryAfterInMs, do we have to go to every implementer and make sure both properties exist and are in sync? Except since it's an optional property, this is tricky to enforce, since it would still be valid to the interface if only one existed.
TBH, it feels weird to strive for backcompat here, either take a major version bump or abandon consistency.

Notes from chatting about this:

[ ] alias changes as best we can (getters, mostly)
[x] skip retryoptions changes
[x] add issue tracking refactoring retryoptions and renaming [Created #6149]
[ ] skip cosmosclient method renames, add issue for refactoring later [Created #]
[ ] add issue for moving to core-http, link to retryoptions [Created #]
[ ] rename readChangeFeed() to changeFeed()


C1001 internal compiler error in VS2017

For Visual Studio 2017 (compiler version Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64), the uniform initialization of the pool tuple in the ComponentPool constructor:
explicit ComponentPool(size_type dim = 4098) noexcept
    : pools{Pool<Component>{dim}, Pool<Components>{dim}...}
{
    assert(!(dim < 0));
}

results in the internal compiler error

1>main.cpp(12): fatal error C1001: An internal error has occurred in the compiler.
1>(compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\yyaction.cpp', line 7249)
1> To work around this problem, try simplifying or changing the program near the locations listed above.

A temporary workaround is to replace the uniform initialization with a standard initialization:
: pools(Pool<Component>{dim}, Pool<Components>{dim}...)

The line can be found here. I reported it as a compiler bug in the Visual Studio Developer Community.

Unfortunately it's an issue of VS compiler. I cannot do much for that. If you find a workaround that works on VS, I'd be glad to integrate it. I've not a copy of Windows on which to test it.

Thanks you for your reply. As I mentioned in the last lines of the initial post, using
: pools(Pool<Component>{dim}, Pool<Components>{dim}...)
instead of
: pools{Pool<Component>{dim}, Pool<Components>{dim}...}
does the trick for VS2017, i.e. not using the uniform initialization syntax for the tuple.

Yeah, I got it. Feel free to put it in a PR. Anyway, I'd like to have a switch like #ifdef WIN32/#endif where WIN32 should be exported from cmake.

Ok, I pushed on branch appveyor and it works.
If you can confirm it, I'll merge the branch on master. Do not forget to build by using cmake, for it exports the expected variable WIN32.
Thank you. I'm looking forward for your feedback.

Are you sure that you only want to enable this when cmake ran? As the registry, etc. is header only I didn't run it and instead directly included the headers.
Alternatives or extensions to your solution would be the macros _MSC_VER for the compiler version and _WIN32 and _WIN64 depending on the target defined by the Microsoft compiler.

Actually I think cmake sets it up also when you run it through cygwin. Good point. _MSC_VER is more appropriate. Can you create a PR for that? Otherwise I'll update it in the afternoon.

Makes sense, using _MSC_VER it's later possible to restrict this fix to older compiler versions when the bug is fixed. I could write a PR but unfortunately I'm not able do this before afternoon either.

Von: Michele Caini<EMAIL_ADDRESS>Gesendet: 23.05.2017 8:27 vorm.
An: skypjack/entt
Cc: Fabian Löschner; Author
Betreff: Re: [skypjack/entt] C1001 internal compiler error in VS2017 (#1)
Actually I think cmake sets it up also when you run it through cygwin. Good point. _MSC_VER is more appropriate. Can you create a PR for that? Otherwise I'll update it in the afternoon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/skypjack/entt/issues/1#issuecomment-303302527, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMXf4Hw7aqi1_Z874LkonpL01ris6-rhks5r8nxrgaJpZM4NivYx.

Found the time to updated it and it works just fine on appveyor as expected.
If you can confirm it your side, I'll merge everything on master and close the issue.
Thank you very much.

Cool. Yes, it is working now.

Upstream. Thank you.


Remove client_secret

When trying to run oauth2ms it complained that the client_secret information can't be present. I removed it from the config.json file but then oauth2ms expects that field. This PR solves this issue by removing the field from oauth2ms. I'm not sure if this depends on the mail server or not, but I can confirm that it works with the one I use.

My org is moving also to client apps with no secret. Perhaps it makes more sense to make client_secret optional, instead of just removing it completely. @harishkrupo would you be happy to merge a patch like such? Thanks.


I don't get it

I can run the the project successfully and also published to Local service fabric cluster. But I don't know how to use them. EG. How to call one of api that hosted at service fabric.

When deployed to local environment, just open a browser at http://localhost:8081
You should see an web-page like this:

Use the top menu bar to test some functionality.

And if you want to see the details from the cluster itself; go to http://localhost:19080 or install the explorer from https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-visualizing-your-cluster


AE Effects

Hello i knew that AE2Unity script doesn't support AE effects like " Radial Wipe "
so is there any other way to make Radial Wipe effect in AE and can work with this script ??
Also i tried Trim Path at line but didn't work too, Also mask didn't work , So please if you know how can
i make this effect and can work with script it will be great , thanks

Hi, I think people use a circle with a wide stroke with trim path as a track matte.


  -Wno-invalid-offsetof -Wno-unneeded-internal-declaration '-std=c++17' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/v8/src/wasm/c-api.cc -o bazel-out/aarch64-opt/bin/external/v8/_objs/wee8/c-api.o)
# Configuration: 9ddb72808eccda63368dbd56a149ab2b37be1c21b96c1705bbcec52c66ca0734
# Execution platform: @local_config_platform//:host
SUBCOMMAND: # @proxy_wasm_cpp_host//:v8_lib [action 'Compiling src/v8/v8.cc', configuration: 9ddb72808eccda63368dbd56a149ab2b37be1c21b96c1705bbcec52c66ca0734, execution platform: @local_config_platform//:host]
(cd /home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/execroot/envoy && \
  exec env - \
    BAZEL_COMPILER=clang \
    BAZEL_LINKLIBS=-l%:libstdc++.a \
    BAZEL_LINKOPTS=-lm \
    CC=clang \
    CXX=clang++ \
    PATH=/bin:/usr/bin:/usr/local/bin \
    PWD=/proc/self/cwd \
  /usr/bin/clang-16 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.d '-frandom-seed=bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.o' -gsplit-dwarf -g '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' -DV8_DEPRECATION_WARNINGS -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_ENABLE_WEBASSEMBLY -DGOOGLE3 -DENABLE_DEBUGGER_SUPPORT -DV8_ADVANCED_BIGINT_ALGORITHMS -DV8_CONCURRENT_MARKING -DV8_TARGET_ARCH_ARM64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DV8_SHORT_BUILTIN_CALLS -DPROXY_WASM_HAS_RUNTIME_V8 -DPROXY_WASM_HOST_ENGINE_V8 '-DBAZEL_CURRENT_REPOSITORY="proxy_wasm_cpp_host"' -iquote external/proxy_wasm_cpp_host -iquote bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host -iquote external/proxy_wasm_cpp_sdk -iquote bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_sdk -iquote external/v8 -iquote bazel-out/aarch64-opt/bin/external/v8 -iquote external/com_googlesource_chromium_base_trace_event_common -iquote bazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/wee8 -Ibazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common/_virtual_includes/trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/noicu/generated_torque_headers -isystem external/v8/include -isystem bazel-out/aarch64-opt/bin/external/v8/include '-DABSL_MIN_LOG_LEVEL=4' -fdebug-types-section -fPIC -Wno-deprecated-declarations '-std=c++17' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/proxy_wasm_cpp_host/src/v8/v8.cc -o bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.o)
# Configuration: 9ddb72808eccda63368dbd56a149ab2b37be1c21b96c1705bbcec52c66ca0734
# Execution platform: @local_config_platform//:host
ERROR: /home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/external/proxy_wasm_cpp_host/BUILD:121:11: Compiling src/v8/v8.cc failed: (Exit 1): process-wrapper failed: error executing command
  (cd /home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/sandbox/processwrapper-sandbox/5937/execroot/envoy && \
  exec env - \
    BAZEL_COMPILER=clang \
    BAZEL_LINKLIBS=-l%:libstdc++.a \
    BAZEL_LINKOPTS=-lm \
    CC=clang \
    CXX=clang++ \
    PATH=/bin:/usr/bin:/usr/local/bin \
    PWD=/proc/self/cwd \
    TMPDIR=/tmp \
  /home/build/.cache/bazel/_bazel_build/install/690906d82aa78975b597bd4f0948f7cd/process-wrapper '--timeout=0' '--kill_delay=15' '--stats=/home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/sandbox/processwrapper-sandbox/5937/stats.out' /usr/bin/clang-16 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.d '-frandom-seed=bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.o' -gsplit-dwarf -g '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' -DV8_DEPRECATION_WARNINGS -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_ENABLE_WEBASSEMBLY -DGOOGLE3 -DENABLE_DEBUGGER_SUPPORT -DV8_ADVANCED_BIGINT_ALGORITHMS -DV8_CONCURRENT_MARKING -DV8_TARGET_ARCH_ARM64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DV8_SHORT_BUILTIN_CALLS -DPROXY_WASM_HAS_RUNTIME_V8 -DPROXY_WASM_HOST_ENGINE_V8 '-DBAZEL_CURRENT_REPOSITORY="proxy_wasm_cpp_host"' -iquote external/proxy_wasm_cpp_host -iquote bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host -iquote external/proxy_wasm_cpp_sdk -iquote bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_sdk -iquote external/v8 -iquote bazel-out/aarch64-opt/bin/external/v8 -iquote external/com_googlesource_chromium_base_trace_event_common -iquote bazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/wee8 -Ibazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common/_virtual_includes/trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/noicu/generated_torque_headers -isystem external/v8/include -isystem bazel-out/aarch64-opt/bin/external/v8/include '-DABSL_MIN_LOG_LEVEL=4' -fdebug-types-section -fPIC -Wno-deprecated-declarations '-std=c++17' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/proxy_wasm_cpp_host/src/v8/v8.cc -o bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.o)
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:22:
external/proxy_wasm_cpp_sdk/proxy_wasm_common.h:59:8: error: no type named 'string' in namespace 'proxy_wasm::std'; did you mean '::std::string'?
inline std::string toString(WasmResult r) {
       ^~~~~~~~~~~
       ::std::string
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/stringfwd.h:77:33: note: '::std::string' declared here
  typedef basic_string<char>    string;
                                ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:71:34: error: no template named 'forward' in namespace 'proxy_wasm::std'; did you mean '::std::forward'?
    return convertWordToUint32(F(std::forward<Args>(args)...));
                                 ^~~~~~~~~~~~
                                 ::std::forward
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/move.h:70:5: note: '::std::forward' declared here
    forward(typename std::remove_reference<_Tp>::type& __t) noexcept
    ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:71:34: error: no template named 'forward' in namespace 'proxy_wasm::std'; did you mean '::std::forward'?
    return convertWordToUint32(F(std::forward<Args>(args)...));
                                 ^~~~~~~~~~~~
                                 ::std::forward
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/move.h:70:5: note: '::std::forward' declared here
    forward(typename std::remove_reference<_Tp>::type& __t) noexcept
    ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:77:7: error: no template named 'forward' in namespace 'proxy_wasm::std'; did you mean '::std::forward'?
    F(std::forward<Args>(args)...);
      ^~~~~~~~~~~~
      ::std::forward
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/move.h:70:5: note: '::std::forward' declared here
    forward(typename std::remove_reference<_Tp>::type& __t) noexcept
    ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:77:7: error: no template named 'forward' in namespace 'proxy_wasm::std'; did you mean '::std::forward'?
    F(std::forward<Args>(args)...);
      ^~~~~~~~~~~~
      ::std::forward
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/move.h:70:5: note: '::std::forward' declared here
    forward(typename std::remove_reference<_Tp>::type& __t) noexcept
    ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:67:22: error: no template named 'function' in namespace 'proxy_wasm::std'; did you mean '::std::function'?
using WasmCallVoid = std::function<WasmCallInFuncType<N, void, ContextBase *, Word>>;
                     ^~~~~~~~~~~~~
                     ::std::function
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/std_function.h:111:11: note: '::std::function' declared here
    class function;
          ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:69:22: error: no template named 'function' in namespace 'proxy_wasm::std'; did you mean '::std::function'?
using WasmCallWord = std::function<WasmCallInFuncType<N, Word, ContextBase *, Word>>;
                     ^~~~~~~~~~~~~
                     ::std::function
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/std_function.h:111:11: note: '::std::function' declared here
    class function;
          ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:151:22: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
  virtual void error(std::string_view message) = 0;
                     ^~~~~~~~~~~~~~~~
                     ::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
  using string_view = basic_string_view<char>;
        ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:152:22: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
  virtual void trace(std::string_view message) = 0;
                     ^~~~~~~~~~~~~~~~
                     ::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
  using string_view = basic_string_view<char>;
        ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:163:34: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
  virtual bool getNullVmFunction(std::string_view function_name, bool returns_word,
                                 ^~~~~~~~~~~~~~~~
                                 ::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
  using string_view = basic_string_view<char>;
        ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:187:11: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
  virtual std::string_view getEngineName() = 0;
          ^~~~~~~~~~~~~~~~
          ::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
  using string_view = basic_string_view<char>;
        ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:206:11: error: no template named 'unique_ptr' in namespace 'proxy_wasm::std'; did you mean '::std::unique_ptr'?
  virtual std::unique_ptr<WasmVm> clone() = 0;
          ^~~~~~~~~~~~~~~
          ::std::unique_ptr
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/unique_ptr.h:277:11: note: '::std::unique_ptr' declared here
    class unique_ptr
          ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:217:21: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
  virtual bool load(std::string_view bytecode, std::string_view precompiled,
                    ^~~~~~~~~~~~~~~~
                    ::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
  using string_view = basic_string_view<char>;
        ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:217:48: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
  virtual bool load(std::string_view bytecode, std::string_view precompiled,
                                               ^~~~~~~~~~~~~~~~
                                               ::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
  using string_view = basic_string_view<char>;
        ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:218:27: error: no template named 'unordered_map' in namespace 'proxy_wasm::std'; did you mean '::std::unordered_map'?
                    const std::unordered_map<uint32_t, std::string> &function_names) = 0;
                          ^~~~~~~~~~~~~~~~~~
                          ::std::unordered_map
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/unordered_map.h:109:11: note: '::std::unordered_map' declared here
    class unordered_map
          ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:218:61: error: no member named 'string' in namespace 'proxy_wasm::std'
                    const std::unordered_map<uint32_t, std::string> &function_names) = 0;
                                                       ~~~~~^
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:227:21: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
  virtual bool link(std::string_view debug_name) = 0;
                    ^~~~~~~~~~~~~~~~
                    ::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
  using string_view = basic_string_view<char>;
        ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:242:11: error: no template named 'optional' in namespace 'proxy_wasm::std'; did you mean '::std::optional'?
  virtual std::optional<std::string_view> getMemory(uint64_t pointer, uint64_t size) = 0;
          ^~~~~~~~~~~~~
          ::std::optional
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/optional:705:11: note: '::std::optional' declared here
    class optional
          ^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:242:30: error: no member named 'string_view' in namespace 'proxy_wasm::std'
  virtual std::optional<std::string_view> getMemory(uint64_t pointer, uint64_t size) = 0;
                        ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Target //source/exe:envoy-static failed to build
INFO: Elapsed time: 23444.323s, Critical Path: 93.05s
INFO: 10905 processes: 4969 internal, 1 local, 5934 processwrapper-sandbox, 1 worker.
FAILED: Build did NOT complete successfully

Build done on host with Fedora 38 with aarch64 architecture.
Here used
[build@sbc-stage-a0 envoy]$  clang -v
clang version 16.0.6 (Fedora 16.0.6-3.fc38)
Target: aarch64-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/aarch64-redhat-linux/13
Selected GCC installation: /usr/bin/../lib/gcc/aarch64-redhat-linux/13
Candidate multilib: .;@m64
Selected multilib: .;@m64

@phlax another build environment question, do we have better guidance on Fedora etc?

another build environment question, do we have better guidance on Fedora etc?

if its me responding i tend to answer that the glibc version is the more important thing in terms of build env (than distro etc)
there is another question about support for legacy glibc environments (which comes up a lot in terms of rh distros) - we dont have a great story there atm, but i think that is probs more the focus


Error While Creating a New Tenant Using a Deleted Tenant Name.

Description:
Getting an error when trying to create a tenant with the same name as deleted one.
Suggested Labels:
Type/Improvement
Affected Product Version:
WSO2IS-5.3.0
Steps to reproduce:

Create a tenant and delete the tenant using the admin service (RemoteTenantManagerService).
Try to recreate the tenant with the same name (domain) as the deleted one an error occurred.
Wait for 15minutes for the cache to get invalidate and try the same. Still, an error occurred.
Try to create the tenant with the same name as the deleted one after a restart, no errors occur and the tenant gets created without any issue. Needs to get this done without restarting the server.

@Kavindu-Dodan , we later fixed the service to address tenant deletion (in a limited manner) and addressed this case.
Could you please point the fix and get this resolved

This issue was caused due to a cache entry and persisted configurations that won't get removed through mentioned admin service.
RemoteTenantManagerService only focuses on clearing up cache entries and database entry on the tenant. But there is another cache entry that won't get cleared through this service. So you must use TenantMgtAdminService to delete a tenant. But this was never used hence there were several unattended bugs.
Following PRs were created to fix these bugs. They further include proper clearing of cache and removal of configurations.

https://github.com/wso2/carbon-kernel/pull/1923
https://github.com/wso2/carbon-multitenancy/pull/149

Use of RemoteTenantManagerService should be discouraged then.
@Kavindu-Dodan
Shall we create another issue to track the doc impact and close this one

Created the issue https://github.com/wso2/carbon-kernel/issues/1967.
I think we must remove/deprecate RemoteTenantManagerService altogether.


Consider adding data to states

should present to OnEnter and OnExit and OnTransition

not in the uml spec - data should be attached to the containing object, won't fix


Publish Windows wheels for Python 3.12

Python 3.12 is slated for release next week, and the Python core developers encourage package developers to publish updated wheels in preparation. Please publish Python 3.12 (win32 and amd64) wheels to PyPI.

CC @JoshData.

Thanks. I added the wheels to the existing release on PyPi. (Hopefully it works fine.)

Works for me, thanks!

Thanks for letting me know!


Support proxy types other than http

What I did
This pool kind of mindlessly grab proxies from the internet assuming they are all HTTP proxies, I think it will be better to change the proxy format to proxy_type://proxy_addr:port, by doing which we can seamlessly support other types of proxy such as socks4 and https as well
validUsefulProxy() has also been revamped to support different proxy types
get_socks api returns a random socks proxy
Several socks proxy sources were added to getFreeProxy.py and enabled in setting.py
Why do we need other types of proxy?
Most HTTP proxies don't allow CONNECT method, they can only be used for web browsing.
If you use proxychains, most of the HTTP proxies provided by this pool are not usable. A socks4/5 proxy can easily solve this problem
PS. Considering we generally don't need socks5's UDP proxy, and socks5 can be used as socks4 (to proxy TCP connections), I assume all socks proxies are socks4 in my code

This commit solves https://github.com/jhao104/proxy_pool/issues/416

Move to https://github.com/jhao104/proxy_pool/tree/jm33-master temporarily

This is a great addition, has it been integrated into the latest release? I guess not, why?


DRC Logs and report redirection

Expected Behavior
Have the option to redirect the reports and logs coming out of the DRC run
Actual Behavior
It is set by the run_drc.py script and can't be changed

@marwaneltoukhy This has been fixed in the new release of the ```run_drc.py``. Please find below the example command:
python run_drc.py --variant=C --path=./testing/testcases/0.0.DM000013_13_1P6M_9kA_MIMB_WEDGE.gds.gz --run_dir=./drc_runs

Why is it not reporting if the design is clean or not anymore?

@marwaneltoukhy I'll make that update.

@marwaneltoukhy Please check it again now.

Thank you @atorkmabrains, sorry for bugging you but I think there was a report that isn't produced anymore, which counted the number of violations, is it possible to get it back?

@marwaneltoukhy I'll address this tomorrow. I have made many changes for today and closed most of the issues.

@FaragElsayed2 Please take a look

@marwaneltoukhy All the requests above has been addressed.


Color names don't show up after creating styles in Figma

Describe the bug
I added color tokens each with a unique name that is different from each other and from existing styles in the Figma file. However, styles created from those tokens don't have any names.
To Reproduce
Steps to reproduce the behavior:
create a color token in the plugin with a name of "c1"
make sure c1 is a unique name in the plugin's JSON and is not a duplicate of any existing Figma styles in the document
create a style from the token c1
Expected behavior
A clear and concise description of what you expected to happen.
I expect Figma styles created from the plugin's tokens to carry over the same names.
Screenshots or Screencasts
If applicable, add screenshots to help explain your problem.

Figma file (optional)
Send us the link to a Figma file containing a reproducible example
JSON (optional)
If possible, attach the JSON that leads to this bug.

Hi, I just stumbled over your post. Is it possible you have checked in your settings the optionIgnore first part of token name for styles? This would explain why your styles have no names. Unchecking it, might resolve your issue.

Closing this in favor of the issue we'll use to track work https://github.com/tokens-studio/figma-plugin/issues/1612


issue176:Catch DateFormat Parse Exception

Dates in some logs are wrong, such as:
Fri Dec 3Fri Dec 30 11:00:00 2016 1 <IP_ADDRESS> 78 /allData/aquarius/L3/mapped/V4/7day_running/SCI/2013/147/Q20131472013153.L3m_R7_SCI_V4.0_SSS_1deg.bz2.md5 b _ o a lftp@ ftp 0 * c
The PR catches date format parse exceptions when log date can't be parsed.

Codecov Report

Merging #180 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           master   #180   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          79     79
  Lines        5028   5033    +5
  Branches      645    645
=====================================
- Misses       5028   5033    +5


fix some typos in german messages

align order in german messages for "session-moved" with "session-scheduled"
add commas and remove some grammatically misplaced 'n'

Thank you!! 😄

Thank you!! 😄


renamed package

Renamed package to match the new @react-three/* namespace.
❗ These packages need to be published at their current version. ❗
❗ I have only renamed the dependencies in the various packages, I have not adjusted the version number. If we bump the version before these PRs get merged, we will need to also change it in each package within the ecosystem. ❗
Next Steps:

[ ] Do a fresh yarn install to regenerate the yarn.lock file.
[ ] Create a dist for the current version (see ❗ warning above)
[ ] Publish the package to npm. This should publish it under the @react-three/* namespace.

You may need to add the --access public option or something similar since scoped packages are by default private. See https://docs.npmjs.com/creating-and-publishing-scoped-public-packages#publishing-scoped-public-packages for more details

[ ] Commit the new yarn.lock file back to this branch.
[ ] Merge the PR.

Note: Some of these packages have dependencies on each other. If you run into a "package not found" error when attempting to yarn install, you might need to run through these steps on a dependent package first. These PRs will likely fail any automated build process if they have dependencies on other packages that need to be published first.

Note: @react-three/drei must be published before the examples will work in this repo.


[Fedora 40] gdk_display_get_primary_monitor() returned NULL

After updating my project from Photino.NET 2.6 to 3, it continues to give me the same error message box "gdk_display_get_primary_monitor() returned NULL" on Linux (Fedora).

I can click on close and it seems like the window does start, however WebMessages are apparently not sent to the window. They do appear within the debug log but don't register on the page itself.
It is worth noting that Fedora 40 apparently does not ship with webkit2gtk-4.0 anymore (they have switched to 4.1), so I had to install it via my package manager.
System information

I'm getting the same error on arch as well. I needed to install the wbekit2gtk package to get the app to launch at all, and after installing that package it launches but that message pops up first. I haven't noticed any other issues outside of the initial popup.

This occurs when centering the window. We have confirmed that this does not happen on Ubuntu 22.04. It does happen on WSL running Ubuntu 22.04. In fact, several windows functions don't work in WSL. There does not seem to be much we can do about that. In any case, we did add that pop up dialog when the Center() call fails to aid in troubleshooting. If you get this popup, the Center() call won't work anyway. Removing the Center() call will get rid of the pop up. Not a great solution, I understand, but all we can do is stop activating the popup in this scenario. We cannot make the centering of the window work. What we know from the GTK docs is this, "The primary monitor, or NULL if no primary monitor is configured by the user." I'm not sure how one configures a primary monitor in Fedora (or WSL) or if it's even possible. We are open to ideas.

Not all Linux distributions allow to check for the primary monitor that is configured in the operating system. This leads to an error and we display a message, instead of failing silently. We can try to figure out a way to get the width and height of the first monitor instead of the configured primary monitor and use that information for centering. If we cannot find this information we may fail silently in the future (with console logging).

I've made a change that should help with this. @MikeYeager could you check out the latest debug commits and try to run that on WSL?
https://github.com/tryphotino/photino.Native/blob/73d762d3d4b0d59365193b4d0a4ce95f977e5e72/Photino.Native/Photino.Linux.cpp#L315

@philippjbauer @MikeYeager I just noticed that this issue of course also drippled down to the examples repo, so none of the examples can actually be run as of now.

@LauraWebdev We are currently working on updating all of the samples. Unfortunately, when we updated the samples that use frameworks like Angular, React and Vue, those samples all broke. We are fixing them and will post new samples soo, followed by new project templates.


Soak testing

Fixes #N/A
Description
How was this change tested?
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5728

Relevant Lines:
7216

💛  - Coveralls