Syntax Errors...!!!

I have successfully installed web3 using cocoapods and it has installed.when i build the project its giving alot of errors in CryptoSwift.
Need Help...

I got the same issue and found that my swift version is 4.0.
The newest version of CryptoSwift is 0.9 that support swift 4.1.
Than I add below to my podfile, it works.
pod 'CryptoSwift', '0.8.3'

I have Updated Xcode and resolved the issue...


Identify appropriate search index database - literature review

Carry out a literature review based on our search requirements to identify candidate search databases.

Hey team! Please add your planning poker estimate with ZenHub @eurolife @kdutia @opyate

Initial literature review based on requirements done on Notion. Opensearch and Vespa chosen as candidate databases to test.


Frequent merge conflicts in assets.gen.go and golden files

Frequent chart changes lead to frequent updates to operator/pkg/assets.gen.go.
Frequent operator code changes can also lead to updates to the goldens in operator/cmd/mesh/testdata.
Both of these are likely to occur around release time.
Because git doesn't know how to correctly resolve either of these, it means that merging or rebasing will lead to frequent conflicts.
It's too late to do anything about it in 1.5, but here's a recipe to make the merges less painful. If you're working on a branch and need to merge from (say) master:
git pull upstream master
<conflicts one or both of the above>
# Regenerate the assets and goldens
make gen-charts refresh-goldens
# Check that there are no other merge conflicts
git diff --name-only --diff-filter=U
# If nothing shows up, proceed, otherwise git mergetool
git add .
git commit

As long as the charts don't have any conflicts you can't perform the above steps without thinking or worrying about it. There's no need to resolve any conflicts in these generated files manually.
We'll be streamlining this process post 1.5, including possibly removing assets.gen.go completely, pruning back the golden file outputs etc.

I think this is also a time to re-evaluate if go-bindata should be used at all. I generally think that hidden configuration should be avoided. I understand that this makes the initial install experience easy, but the chance of inadvertently applying the wrong config is too risky.
I think one way to maintain Simple user experience is to add a fetch-manifest command that will get it From the release site.

The other alternative is not to check-in this file but use go generate to create it during make.

The problem with merge conflicts is that you need to redo your PR. It doesn't matter any commands you can run locally to fix it, if GitHub cannot automatically do it then I need to redo my PR multiple times per day

They use go generate and never check it in., but not having baked in data files is preferred.

I was most referring to the golden files in my comment. I don't think go supports on the fly generation though?

go build does not, but we can do whatever we want with make and use go generate.

I would love to not break go build

For prod or developer use?
go build for developer use can be easily maintained. Checking a file with
static content and then place it in .gitignore.
If you care about the currency of those contents, then you will run go
generate.
Official build will run go generate.
On Thu, Feb 27, 2020 at 8:30 AM John Howard<EMAIL_ADDRESS>wrote:

I would love to not break go build
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/21502?email_source=notifications&email_token=AAGDM52ETF5L2ZHKJAY7G7TRE7TD3A5CNFSM4K33GJL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENE75QI#issuecomment-592051905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGDM5Y672BBCPYEJYPM4Y3RE7TD3ANCNFSM4K33GJLQ
.

This will break anyone importing Istio, running go get, go install, etc. If
we are going through this many hacks lets just remove the generation
On Thu, Feb 27, 2020 at 8:47 AM mandarjog<EMAIL_ADDRESS>wrote:

For prod or developer use?
go build for developer use can be easily maintained. Checking a file with
static content and then place it in .gitignore.
If you care about the currency of those contents, then you will run go
generate.
Official build will run go generate.
On Thu, Feb 27, 2020 at 8:30 AM John Howard<EMAIL_ADDRESS>wrote:

I would love to not break go build
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/istio/istio/issues/21502?email_source=notifications&email_token=AAGDM52ETF5L2ZHKJAY7G7TRE7TD3A5CNFSM4K33GJL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENE75QI#issuecomment-592051905
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAGDM5Y672BBCPYEJYPM4Y3RE7TD3ANCNFSM4K33GJLQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/21502?email_source=notifications&email_token=AAEYGXNRZD25Q4YC7L2UB2TRE7VDHA5CNFSM4K33GJL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENFCCFY#issuecomment-592060695,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXKYOEZPYMQGTI4G7RTRE7VDHANCNFSM4K33GJLQ
.

I think this is in a sufficiently good state now it can be closed.


Unable to build Docs as Fornax needs dotnet3

I was unable to build the Docs, first with the devcontainer where only dotnet5 is installed, because it requires an installed dotnet3 sdk.
Afterwards when trying it locally with an installed dotnet3 sdk
λ dotnet --list-sdks
3.1.408 [C:\Program Files\dotnet\sdk]
5.0.201 [C:\Program Files\dotnet\sdk]

also results in errors:
λ dotnet fake build -t Docs
...
Starting target 'Docs'
docs> "dotnet" fornax build (In: false, Out: false, Err: false)
LOADER ERROR: Load Errors: [|C:\workspace\other\Saturn_orig\docs\loaders\apirefloader.fsx (2,1)-(2,88) parameter error Unable to find the file '../../packages/docs/FSharp.Formatting/lib/netstandard2.0/FSharp.MetadataFormat.dll' in any of
 C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1
 C:\workspace\other\Saturn_orig\docs
 C:\Users\mgrotz\.nuget\packages\fornax\0.13.1\tools\netcoreapp3.1\any\|]
Open Errors: [|input.fsx (1,6)-(1,18) typecheck error The namespace or module 'Apirefloader' is not defined.|]
Get layout Errors: [|input.fsx (1,16)-(1,22) typecheck error The value or constructor 'loader' is not defined. Maybe you want one of the following:
   Loading
   Order|]

I think we need an updated dotnet5 compatible version of the Fornax tool?

Yes, I need to release a new version of Fornax for .NET 5 support.

The Fornax is now updated, no? I just downloaded the code there and the global.json states that the required version is the 5.0.102.

Fornax is updated but need publishing, should happen soon: https://github.com/ionide/Fornax/issues/77
Once that is done I'll update things on this end


apiComplianceSuite Test_managementPolicy should assert on valid return value not just type

Currently the apiComplanceSuite test Test_managementPolicy asserts the returned value from managementPolicy calls is an int but does not further assert that the integer is one of the allowed values.

It is a bit-field, so do we need to test it is less than the max constituent flag value?

It is a bit-field, so do we need to test it is less than the max constituent flags value and greater than zero?

I think we should test all allowed values, i.e. all allowed bit combinations, if this happens to also be within a specific integer range then all good, but it doesn't look like that's the case at the moment (I suspect intentionally to allow room to grow).

managementPolicy returns a traitset now, closing.


Gray screen after installing Big sur

Hi,
I installed Big sur 11.2 using your last files
When the installation process restarted the laptop, It is now stuck at a gray screen and nothing happen after that
I did a reset for the nvram, now the gray screen flashes quickly then it stuck at the apple logo and loading bar at about 5% and doesn’t move
please help me to fix the issue

Hi,
I installed Big sur 11.2 using your last files
When the installation process restarted the laptop, It is now stuck at a gray screen and nothing happen after that
I did a reset for the nvram, now the gray screen flashes quickly then it stuck at the apple logo and loading bar at about 5% and doesn’t move
please help me to fix the issue

Try to overwrite the installation flash drive, I think you have broken system image. ЕFI folder 100% work. I have already install the system twice and have issue with installation.

Hi,
I installed Big sur 11.2 using your last files
When the installation process restarted the laptop, It is now stuck at a gray screen and nothing happen after that
I did a reset for the nvram, now the gray screen flashes quickly then it stuck at the apple logo and loading bar at about 5% and doesn’t move
please help me to fix the issue

Try to overwrite the installation flash drive, I think you have broken system image. ЕFI folder 100% work. I have already install the system twice and have no issue with installation.

Thanks for your response
I really don’t think that the system image is broken
I was on Catalina and I downloaded the installation app from Apple directly
I ran it directly from Catalina and  I didn’t flash it on a flash drive
I will be very grateful if you helped me

Hi,
I installed Big sur 11.2 using your last files
When the installation process restarted the laptop, It is now stuck at a gray screen and nothing happen after that
I did a reset for the nvram, now the gray screen flashes quickly then it stuck at the apple logo and loading bar at about 5% and doesn’t move
please help me to fix the issue

Try to overwrite the installation flash drive, I think you have broken system image. ЕFI folder 100% work. I have already install the system twice and have no issue with installation.

Thanks for your response
I really don’t think that the system image is broken
I was on Catalina and I downloaded the installation app from Apple directly
I ran it directly from Catalina and I didn’t flash it on a flash drive
I will be very grateful if you helped me

You need install only clean install from usb flash. The only way.

Hi,
I installed Big sur 11.2 using your last files
When the installation process restarted the laptop, It is now stuck at a gray screen and nothing happen after that
I did a reset for the nvram, now the gray screen flashes quickly then it stuck at the apple logo and loading bar at about 5% and doesn’t move
please help me to fix the issue

Try to overwrite the installation flash drive, I think you have broken system image. ЕFI folder 100% work. I have already install the system twice and have no issue with installation.

Thanks for your response
I really don’t think that the system image is broken
I was on Catalina and I downloaded the installation app from Apple directly
I ran it directly from Catalina and I didn’t flash it on a flash drive
I will be very grateful if you helped me

You need install only clean install from usb flash. The only way.

But I always upgrade macOS that way, is it something related to big sur?

But I always upgrade macOS that way, is it something related to big sur?
Yes, install and update now totally new. Now for all version you need to make new config.plist

But I always upgrade macOS that way, is it something related to big sur?

Yes, install and update now totally new. Now for all version you need to make new config.plist

I can’t access macOS now, I’m on Windows
What you suggest to do to fix this issue 😢

But I always upgrade macOS that way, is it something related to big sur?

Yes, install and update now totally new. Now for all version you need to make new config.plist

I can’t access macOS now, I’m on Windows
What you suggest to do to fix this issue 😢

Make flash from windows
https://rutracker.org/forum/viewtopic.php?t=5928524

But I always upgrade macOS that way, is it something related to big sur?

Yes, install and update now totally new. Now for all version you need to make new config.plist

I tried the installation from a flash drive but it didn’t work, afternoon the installation process ended it stuck at the grey screen
I used the files from the master branch not the tagged releases
Did you tried it to install 11.2?
I will glad if you helped me figure out how to fix this

But I always upgrade macOS that way, is it something related to big sur?

Yes, install and update now totally new. Now for all version you need to make new config.plist

I tried the installation from a flash drive but it didn’t work, afternoon the installation process ended it stuck at the grey screen
I used the files from the master branch not the tagged releases
Did you tried it to install 11.2?
I will glad if you helped me figure out how to fix this

You need to make a clean installation macOS with full format your hdd or ssd. All data will be lost of course.


Do not create superfluous task to run processAll.

A profiling run with VTune showed that a lot of time is spent to acquire the lock in line 153 in SocketTask::addWriteBuffer. When the task is created and added to the job queue, a potentially waiting SchedulerThread immediately gets notified and starts executing the task - and immediately gets blocked when trying to aqcuire the lock, because the lock is actually held by the thread that created the task.
As far as I could see it is not necessary to create these tasks to execute processAll since SocketTask::asyncReadSome (which initially acquires that lock) implicitly calls processAll anyway (my tests all worked fine), but someone who is more familiar with this code should doublecheck this.
 With the original code, a total of 15 SchedulerThread have been created. With this change only 5 SchedulerThread get created and the CPU utilization per thread is much higher. Also, the test ran somewhat faster (I don't have the concrete numbers at hand right now).

Ok so after some analysis I think this fix is incorrect because asyncReadSome()
will only continue calling processAll() while new data is beeing received.
In the case of 2 pipelined HTTP requests, the HTTPCommTask will parse the first request and then set _requestPending = true. Further calls to  processRead(..) will then just return false which causes the loop in processAll().
This means that without the task calling processRead() in SocketTask::addWriteBuffer the second request will not be handled until there is new data coming in on that connection.


Add Scalingo one click deployment

This PR adds the Scalingo deployment button and instructions to do the same manually, you can test it here: https://github.com/whollacsek/parse-server-example.
Scalingo is a French PaaS compatible with Heroku.

Can you rebase this and put the Scalingo section beneath the Azure block?

Just rebased, thanks.


[Feature] Import parse_timedelta instead of pytimeparse

Options
[ ] Related to an issue: (Mention the issue)
[X] Breaking change(s).
[X] Related to a cog. (CustomCooldown)
Content
CustomCooldown is using the module pytimeparse for parsing time, though there is already an import for that in Red.
That will avoid unnecessary import.

Link to the doc


AWS tutorial Docker image update

This PR:

Updates the CUDA AWS Tutorial image for 2024
Verified image works in an AWS instance, and axom tests and executables were able to run in the instance.
AWS Setup instructions were also updated: https://lc.llnl.gov/confluence/display/ASCT/AWS+Setup+Working+Notes
The updated Docker image can be found here: https://hub.docker.com/r/han12/axom-tutorial/tags

A follow-up PR will likely be necessary once #1171 is merged.

I don't recommend doing this last minute but Serac recently added a more up to date CUDA docker image to their CI:
https://github.com/LLNL/serac/pull/1141
As always, good work @bmhan12 !


Rewrite in Rust

This request makes no sense -- this projects entire purpose is to be a "LightWeight Java GameLibrary" (LWJGL!), having the produced product in Rust would defeat the entire point.

Out of scope

@deeprobin
You CAN open a repo named lwrgl instead.
But that is another story.
And seems nobody here are interested in.

There is C/C++ code which could be rewritten in rust. Rust has many advantages

There is C/C++ code which could be rewritten in rust. Rust has many advantages

Would it have equal or even better performance after the rewrite?

@XenoAmess It varies from project to project. However, Rust is largely memory-safe and uses the ownership system instead of reference counting.
And it has often been proven that Rust projects are faster than C/C++ projects - even if it's only a few milliseconds, it certainly makes a difference with an OpenGL wrapper.
Benchmark: Rust vs C
Benchmark: Rust vs Clang
Benchmark: Rust vs C++
Benchmark: Rust vs Go

@deeprobin Sorry but as far as I know this repo has no guys familiar with rust, especially using rust with jni...
And that seems not a easy work to migrate the codes now to rust, as there be so many codes.
If you really want to do this, I guess you can:

ask about @Spasi .
fork this repo and rewrite one native module to rust version.
build dlls.
write tests for showing it really faster than the older dll used.
(you can do this using jmh or something else).
But, as this be a big change, we might better ask @Spasi first.

There seems to be some confusion here, so let's clarify a couple of things:

There is C/C++ code that could be rewritten in rust. Rust has many advantages

There is some C and C++ code in this repository since some modules contain the code of the respective projects. They are kept in sync with the upstreams whenever the bindings are updated (with a few minor fixes for LWJGL interop on top in some cases). Porting those third-party projects to Rust is obviously out of scope for this project.
Additionally, LWJGL generates C files that are needed for JNI. Those are very simple wrappers that bridge Java code and native libraries. Porting those to Rust is extremely unlikely to yield any advantage since they are auto-generated anyway, a C API is required for JNI, and (I assume) the Rust compiler can't properly validate JNI stuff which would void Rust's additional safety features and optimizations.

If you really want to do this, I guess you can:
2. fork this repo and rewrite one of the native modules to rust version.

A rewrite of one of the native modules should not be submitted to LWJGL. It would either need to be maintained as a fork of the upstream project or submitted and integrated into the upstream project. However, if you really want to go down this road, for LWJGL to work, the project would probably need to expose a C API anyway. (In fact, if you port the implementation of a library to Rust but keep the same C API, LWJGL might already be able to load the library.)

Those are very simple wrappers that bridge Java code and native libraries. Porting those to Rust is extremely unlikely to yield any advantage since they are auto-generated anyway,

Yes, this is the reason why I doubt about if the rewrite can increase performance.

a C API is required for JNI,

At least I don't know anything about how to use rust in jni, and I don't think any guys in this repo do...

In fact, if you port the implementation of a library to Rust but keep the same C API, LWJGL might already be able to load the library.

Yes.
And even if he changed something, I guess he might only need to rewrite the modules named -native- .
And if he change it with care, then it can still work perfectly with other original modules from lwjgl.
Just, at least in theory.

that benchmark is stupid, it's basically LLVM(clang) vs GCC, pointless

that benchmark is stupid, it's basically LLVM(clang) vs GCC, pointless

I always not trust any benchmarks.
I'd prefer test it in real situation.
Or, at least, using jmh to test how it goes after it get built.


Name of subpackages

Based on the issue https://github.com/mind-inria/hidimstat/issues/86 :

The names 'models' and 'estimator' can be confusing since they are sometimes used interchangeably. A more explicit name like 'stat_models' and 'prediction_models' could be more transparent.

I agree that names models and estimators are confusing. I could suggest alternative names for models and estimators, but I don't understand the difference between the two in the context of the package.

I think that prediction models refer to mappings from X to y (à la sklearn).
stats_model study the impact of covariates X_i in the prediction, based on the prediction model.

@man-shu, Bertrand answer to your question.

I am fine with the name of 'prediction_models'.
However, I don't like the name 'stat_models' because I find it too large. I propose 'interpretive_model'.

@bthirion @jpaillard

Maybe simply inference.

prediction_models could be prediction in the same vein?


How to reuse or clear qrReader object?

Hello, i have a problem. When i open viewController with qrReader it works very good.
But, when i open normal camera to take a photo, the qrReader do override all camera components, button take photo, preview image etc. How can i reset the camera objects ?
Ps: it happen after open qrReader. When i open normal camera before open qrReader, it works fine.

Any solution ?


python312Packages.boto3-stubs: 1.34.130 -> 1.34.131, python312Packages.botocore-stubs: 1.34.130 -> 1.34.131

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

14 packages built:

aws-sam-cli
aws-sam-cli.dist
python311Packages.boto3-stubs
python311Packages.boto3-stubs.dist
python311Packages.botocore-stubs
python311Packages.botocore-stubs.dist
python311Packages.types-aiobotocore
python311Packages.types-aiobotocore.dist
python312Packages.boto3-stubs
python312Packages.boto3-stubs.dist
python312Packages.botocore-stubs
python312Packages.botocore-stubs.dist
python312Packages.types-aiobotocore
python312Packages.types-aiobotocore.dist


chains/benchmarks

Goal for this branch: demonstrate at least a few benchmarks implemented in AIPL, starting with BIG Bench

[ ] generalize the llm op to route to different specific LLM sources
[ ] write out metrics to JSON file
[ ] generic bigbench binary classification script

closing in favor of #30


Getting Undefined result

My code is

let wavData = fs.readFileSync('./output.flac');

    wavData.toString('base64');
    console.log(wavData);
    const audio = {
        content: wavData
    };

    const config = {
        encoding: 'FLAC',
        //sampleRateHertz: 44100,
        languageCode: 'fr-CA',
        //model: 'default'
        audioChannelCount:1
    };
    const request = {
        audio: audio,
        config: config,
    };

    // Detects speech in the audio file
    //console.log(request);
    const response = await client.recognize(request);
    console.log(JSON.stringify(response.results));
    //console.log(client);
    const transcription = response.results
        .map(result => result.alternatives[0].transcript)
        .join('\n');
    console.log(`Transcription: ${transcription}`);

I have a Flac audio file and I got result like this
[ { results: [ [Object] ] }, undefined, undefined ]
when I read results array it will give me undefined. Please let me know whats wrong here.

Thank you for filing this issue. We asked some clarifying questions a week or more ago and never heard back from you. We are unable to proceed with this issue until then, so we are closing it. Please feel free to re-open this issue with more information.


Bicep - Microsoft.Authorization/roleAssignments - Doc Enhacement

Bicep version
All Versions
Describe the bug
Improve documentation for Bicep Role Assignment page
To Reproduce
Steps to reproduce the behavior:

Issue - Update condition example & link to source docs
The example for condition given in this page for Microsoft.Authorization/roleAssignments is not very helpful.
For reference, the given example states to set the condition property as
@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'
But this is not enough. We also have to add to ActionMatches - aka what actions can be performed on these resources. The working condition property will look something like this
(
 (
  !(ActionMatches{'Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete'})
  AND
  !(ActionMatches{'Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read'})
  AND
  !(ActionMatches{'Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write'})
  AND
  !(ActionMatches{'Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action'})
 )
 OR
 (
  @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:name] StringEquals 'blobs-example-container'
 )
)

Source Ref: https://learn.microsoft.com/en-us/azure/storage/blobs/storage-auth-abac-examples#example-read-write-or-delete-blobs-in-named-containers
Getting this right in bicep with all those single quote escapes and variable susbtitution does not seem trivial. Here is my blog giving an example. - https://github.com/miztiik/azure-identity-rbac-with-bicep

Issue - Highlight conditionVersion is a mandatory property. This is something i am missing throughout bicep documentation. If we can somehow have a way to highlight required properties

Issue - Add a link to Supported Actions for Conditions

As of now only Azure Storage Blob & Queue support conditions on actions - https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-format#actions . It might save some time for someone trying to add conditions for other resources.

@tfitzmac - this is about the template reference.  Can you take a look at it?


Facing timeout issue with 'Inline SQL' in 'WinRM - SQL Server DB Deployment' task

I have added ‘WinRM - SQL Server DB Deployment’ task in release definition and trying to execute SQL procedure using ‘Inline SQL’ option.
Facing a following timeout error:
2017-12-14T13:50:41.7404702Z Deployment failed on machine *** with following message : System.Exception: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
2017-12-14T13:50:41.7404702Z
2017-12-14T13:50:41.7404702Z
2017-12-14T13:50:41.7712513Z
2017-12-14T13:50:41.7712513Z
2017-12-14T13:50:41.7712513Z ##[error]Microsoft.PowerShell.Commands.WriteErrorException: Deployment on one or more machines failed. System.Exception: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
2017-12-14T13:50:41.7712513Z For more info please refer to http://aka.ms/sqlserverdacpackreadme)
2017-12-14T13:50:41.8025023Z ##[error]PowerShell script completed with 1 errors.
2017-12-14T13:50:41.8025023Z ##[section]Finishing: Invoke ETL job and wait till completion
Please note I have tried with timeout = 0 and timeout = 2000 settings. Procedure takes around 15-20 minutes to complete.
Could you please help me understand what could be the issue here?
Thanks

Do try adding these timeouts in additional arguments.
/p:CommandTimeout=1200 /TargetTimeout: 1200
If that doesn't work then please send the debug logs to RM_Customer_Queries[at]microsoft[dot]com. To enable debug logging, add a variable system.debug in your release definition and set its value to true. Then queue a release to get the debug logs.


 I mentioned my concerns in the issue, is it correct for a simple copy to be used when deep cloning is enabled? Should I instead make this a diagnostic errror or would updating the docs and adding a note to the UseDeepCloning attribute be enough?

Added another branch to SpecialTypeMappingBuilder for object->object edge case
Added object->object and object?->object? tests

Codecov Report

Merging #340 (9e55136) into main (dce4b42) will increase coverage by 0.23%.
The diff coverage is 93.88%.

: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
@@            Coverage Diff             @@
##             main     #340      +/-   ##
==========================================
+ Coverage   91.71%   91.94%   +0.23%
==========================================
  Files         109      118       +9
  Lines        3379     3712     +333
  Branches      438      502      +64
==========================================
+ Hits         3099     3413     +314
- Misses        189      205      +16
- Partials       91       94       +3

Impacted Files
Coverage Δ

src/Riok.Mapperly.Abstractions/MapEnumAttribute.cs
100.00% <ø> (ø)

...appings/NewInstanceObjectFactoryPropertyMapping.cs
100.00% <ø> (ø)

...escriptors/Mappings/ObjectPropertyMethodMapping.cs
90.00% <ø> (ø)

...riptors/MappingBuilders/QueryableMappingBuilder.cs
68.42% <68.42%> (ø)

...Descriptors/Mappings/EnumFromStringParseMapping.cs
73.68% <73.68%> (ø)

...criptors/Mappings/PropertyMappings/PropertyPath.cs
89.06% <80.00%> (-3.60%)
:arrow_down:

src/Riok.Mapperly/Helpers/SymbolExtensions.cs
86.56% <81.81%> (+0.85%)
:arrow_up:

...iptors/MappingBuilders/DictionaryMappingBuilder.cs
79.51% <83.33%> (+0.50%)
:arrow_up:

src/Riok.Mapperly/Descriptors/WellKnownTypes.cs
87.23% <83.87%> (-8.92%)
:arrow_down:

...ers/NewInstanceObjectPropertyMappingBodyBuilder.cs
80.43% <91.66%> (+2.83%)
:arrow_up:

... and 43 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Keep getting RS2007, where should I put the new rule?

Keep getting RS2007, where should I put the new rule?

I think the format of the unshipped file is missing the release header. However, you can add it to the shipped file directly anyway.

I was eventually able to add it to the unshipped file 😅
I'll move the rule to shipped under the new release 2.9

The upcoming release is 2.8.0 not 2.9.0. You can add it to 2.8.0


Bugfix/backward compatibility

The recent changes by @tomermoshe caused the user field of loginWithPassword to be of typer UserInput instead String, causing the previous API to break and prevents users to login when using latest version.

This PR changes user argument to type String and added another optional input type for UserInput.

Closed in favor of #19


Italian translation

Ping @srescio.

Just for the record, here is the ideal way of working (for me, at least):

Fork the repository on GitHub;
Open a it branch from gh-pages branch;
Copy index.md to it/index.md;
Translate it. :)

Ping @mattcav.


Error compiling innernet 1.5.4 with Rust 1.64 on Ubuntu 20.04.2

I followed the instructions at #227 and #203 but got an error while building the client:
   Compiling shared v1.5.4 (/home/ubuntu/custom-debian-packages/innernet/innernet-1.5.4/shared)
error[E0700]: hidden type for `impl Iterator<Item = types::CidrTree<'_>>` captures lifetime that does not appear in bounds
   --> shared/src/types.rs:263:9
    |
246 |   impl<'a> CidrTree<'a> {
    |        -- hidden type `std::iter::Map<Filter<std::slice::Iter<'a, types::Cidr>, [closure@shared/src/types.rs:265:21: 265:29]>, [closure@shared/src/types.rs:266:18: 266:26]>` captures the lifetime `'a` as defined here
...
263 | /         self.cidrs
264 | |             .iter()
265 | |             .filter(move |c| c.parent == Some(self.contents.id))
266 | |             .map(move |c| Self {
267 | |                 cidrs: self.cidrs,
268 | |                 contents: c,
269 | |             })
    | |______________^

For more information about this error, try `rustc --explain E0700`.
error: could not compile `shared` due to previous error
cargo-deb: build failed

I'm not that familiar with Rust, so I don't really understand what's going on there. I tried rustc --explain E0700 but didn't understand it, either...

Hey @wpyoga, wow yeah it looks like v1.5.4 does not build with the new stable (or nightly). This is fixed in https://github.com/tonarino/innernet/commit/df3b4ae78f28c0364c2fdc949bd926e18409c1d3, so you can patch that and it should build on the latest rustc, but this is also a reminder for me to push out a v1.5.5 since we need a release that can be built on the latest rust.

Fixed in v1.5.5


[WIP] Make dsl.impl.Path from 0.21 source compatible with Uri.Path from 0.22

helps with https://github.com/guardrail-dev/guardrail/pull/1200
EDIT:
This actually won't work, Uri.Path from 0.22 needs Segments, not Strings.
I need to rework this.

There wasn't any easy way to maintain compatibility with 0.21 (EOL) while enabling compatibility with the current stable versions (0.22 and 0.23), so we just dropped support for 0.21 in Guardrail.
Long live 0.22, 0.23 and 1.0 that Guardrail now seems to be compatible with :tada:


Removing Delay or Repeat in Edit-Device results in bad Config

Removing Delay and/or Repeat in a Device-Config results in a Bad Config.
Could not decode Json for url items: 14 for hue state change request: test from <IP_ADDRESS> body: {"on":true,"bri":18} url items: [{"item":"{\"clientId\":\"HABRIDGE\",\"topic\":\"knx/0/Licht/Licht_schalten/Wohnzimmer_Wandleuchten_schalten/set\",\"message\":\"${intensity.math(X>0)}\"}","type":"mqttMessage","delay":"500","count":""},{"item":"{\"ipAddress\":\"<IP_ADDRESS>\",\"deviceId\":\"12\",\"hueName\":\"Herter\"}","type":"hueDevice","delay":"","count":""},{"item":"{\"ipAddress\":\"<IP_ADDRESS>\",\"deviceId\":\"13\",\"hueName\":\"Herter\"}","type":"hueDevice","delay":"","count":""}]

Well why do you have delay or count that are empty strings any way. They are Integers if you look at the documentation. Also, in JSON, If you don't want to provide those params, do not put them in your JSON.

Because removing them in the WEB-UI creates the empty one, that's what i reported. I know that i could remove them with an editor.

Gotcha, thought you were using the api directly to add devices. will take a look. Thanks

Hi,
Just wanted to point out that I had the same issue. IE Add delay in UI, save it then remove it again and you get the above error.
I just put a "0" in the delay field and it works fine again.
Simon

Yes, observed as well. Sorry for the rough questions.


Benchmark version updates

Also added Functional Java's new PriorityQueue to the bencharking suite.
The verdict: it uses ~2x more additional memory than our implementation and is usually ~15-30x slower (it's even worse than Scalaz):
memory:
for 1000 elements
	`scalaz.Heap$$anon$4` uses `146.7 KB` (`128.8 KB` overhead, `131.9` bytes overhead per element)
	`fj.data.PriorityQueue` uses `123 KB` (`81.6 KB` overhead, `83.6` bytes overhead per element)
	`javaslang.collection.PriorityQueue` uses `60.9 KB` (`43 KB` overhead, `44.0` bytes overhead per element)

for 100 elements
	`scalaz.Heap$$anon$4` uses `14.2 KB` (`12.8 KB` overhead, `131.0` bytes overhead per element)
	`fj.data.PriorityQueue` uses `11.7 KB` (`8 KB` overhead, `81.7` bytes overhead per element)
	`javaslang.collection.PriorityQueue` uses `5.7 KB` (`4.3 KB` overhead, `44.4` bytes overhead per element)

for 10 elements
	`scalaz.Heap$$anon$4` uses `1.5 KB` (`1.3 KB` overhead, `136.0` bytes overhead per element)
	`fj.data.PriorityQueue` uses `1.2 KB` (`832 bytes` overhead, `83.2` bytes overhead per element)
	`javaslang.collection.PriorityQueue` uses `664 bytes` (`480 bytes` overhead, `48.0` bytes overhead per element)

speed:
Ratios slang / <alternative_impl>
Operation Ratio                                       10     100    1000
Enqueue   slang_persistent/java_mutable            0.41x   0.36x   0.59x
Enqueue   slang_persistent/java_blocking_mutable   1.14x   0.96x   1.00x
Enqueue   slang_persistent/scala_mutable           0.58x   0.75x   1.16x
Enqueue   slang_persistent/scalaz_persistent       7.66x   7.03x   5.12x
Enqueue   slang_persistent/fjava_persistent        5.79x   7.06x   8.04x

Dequeue   slang_persistent/java_blocking_mutable   0.74x   0.34x   0.33x
Dequeue   slang_persistent/java_mutable            0.12x   0.12x   0.24x
Dequeue   slang_persistent/scala_mutable           0.19x   0.17x   0.34x
Dequeue   slang_persistent/scalaz_persistent       9.30x  11.61x  11.00x
Dequeue   slang_persistent/fjava_persistent       19.83x  40.76x  53.16x

Sort      slang_persistent/java_blocking_mutable   0.65x   0.30x   0.21x
Sort      slang_persistent/java_mutable            0.16x   0.11x   0.14x
Sort      slang_persistent/java_treeset_mutable    1.18x   0.72x   0.77x
Sort      slang_persistent/scala_mutable           0.24x   0.19x   0.19x
Sort      slang_persistent/scalaz_persistent      12.13x  10.34x   8.17x
Sort      slang_persistent/fjava_persistent       16.43x  28.79x  33.91x

[Current coverage][cc-pull] is 97.07% (diff: 100%)

Merging [#1459][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master      #1459   diff @@
==========================================
  Files            86         86
  Lines         10410      10410
  Methods           0          0
  Messages          0          0
  Branches       1823       1823
==========================================
+ Hits          10105      10106     +1
  Misses          177        177
+ Partials        128        127     -1

Powered by Codecov. Last update [c896f81...b8bb9b0][cc-compare]
[cc-base-branch]: https://codecov.io/gh/javaslang/javaslang/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/javaslang/javaslang/compare/c896f81da11be0560c4d5202bd609da65f9b35f6...b8bb9b0b60cec50e0d63f0a1f8c07430ef00cbe4?src=pr
[cc-pull]: https://codecov.io/gh/javaslang/javaslang/pull/1459?src=pr

@paplorinc nice!


Add ACR Build support to Draft

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-quick-build

I'm gonna pull and try it out.

not yet; gotta rebase this first.

rebase like the wind

This is now working, so I'm removing the WIP label. I'll add tests/docs as others start testing this :)
><> draft up
Draft Up Started: 'example-python': 01CBSX7TJXV32E9KFRRD86WR8J
example-python: Building Docker Image: SUCCESS ⚓  (10.0020s)
example-python: Releasing Application: SUCCESS ⚓  (4.8859s)
Inspect the logs with `draft logs 01CBSX7TJXV32E9KFRRD86WR8J`

To test, here's my Draft config:
><> draft config list
KEY                	VALUE
registry           	bacoacrbuildtest2.azurecr.io
resource-group-name	acrbuildtest
container-builder  	acrbuild

You'll need to do the following:

build draft from this PR
create a resource group in EastUS
create a container registry in that resource group, in EastUS as well
set up your config similar to mine shown above, substituting the resource group and registry values with your own
Call az login
Run the following to test out an example app:

cd examples/example-python
draft create
draft up

Occasionally, I'm noticing the following failure on ACR Build's end, so I'll need to follow up with them to figure out the root cause if it's on my end or not:
><> draft logs
time="2018-04-23T18:51:47Z" level=info msg="Running command docker login -u 00000000-0000-0000-0000-000000000000 --password-stdin bacoacrbuildtest2.azurecr.io"
Login Succeeded
time="2018-04-23T18:51:47Z" level=info msg="Untarring to /root/acr-builder/src"
time="2018-04-23T18:51:47Z" level=error msg="invalid reference format"
Build ID: eastus2 failed because of an internal error after 1.604753761s

good point. I'll file a ticket to do so.

fixed/rebased on master. @squillace if you feel like taking this for a spin, I'd be happy to take you on a magic carpet ride.

docs have been added to this PR; let me know if I missed anything.

Pretty straightforward and the code looks good to me.


fix(txlist): index formatting

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


[iotagent-leshan] Failed to observe resource

I'm using leshan-client-demo and Dojot v0.4.0 tag
Log:

19727  INFO [main] (LwM2MIoTAgent.java:57) - Running lwm2m IoTAgent
19728 ERROR [CoapServer#1] (LwM2mHandler.java:46) - observe request timed out
19729  WARN [CoapServer#1] (LwM2MAgent.java:370) - Failed to observe resource: /5/0/3
19730 DEBUG [CoapServer#1] (LwM2MAgent.java:361) - Observing: fwu_update_result
19731 ERROR [CoapServer#1] (LwM2mHandler.java:46) - observe request timed out
19732  WARN [CoapServer#1] (LwM2MAgent.java:370) - Failed to observe resource: /5/0/5
19733 [CoapServer#1] ERROR org.eclipse.californium.core.network.CoapEndpoint - exception in protocol stage thread: no registration for this Id
19734 java.lang.IllegalStateException: no registration for this Id
19735     at org.eclipse.leshan.server.californium.impl.InMemoryRegistrationStore.validateObservation(InMemoryRegistrationStore.java:400)
19736     at org.eclipse.leshan.server.californium.impl.InMemoryRegistrationStore.add(InMemoryRegistrationStore.java:284)

dojot_iotagent-lwm2m_1.log
capture_coap.zip

Problem is in the device simulator.

Some basics about LWM2M specifications.
A device/client is identified by its endpoint name.
A registration is a kind of "session" which can expired after some time.
A registration is identified by a registration Id.
The error "java.lang.IllegalStateException: no registration for this Id" occurs every time when the server try to interact with one unregistered device.
Considering a device with 3 readable resources (R1, R2 and R3) I was able to reproduce this error doing as follow:

Device register itself in server (iotagent-leshan)
Server try to observe resource R1
Device respond OK to instruction
Server try to observe resource R2
Device can't respond within timeout limit and it implies doesn't make a update request to extend his lifetime inside server
Server unregister device from server, because device does't send an update request
Server try to read R3
The exception "IllegalStateException" is raised because the device session doesn't exist anymore.


Introduce standard devicetree Kconfig symbols for drivers

The intent of this PR is to standardize and hopefully ease some of the boilerplate around driver Kconfig and devicetree.
We already have a number of drivers that utilize the following pattern:
DT_COMPAT_NXP_IMX_CSI := nxp,imx-csi

config VIDEO_MCUX_CSI
   bool "NXP MCUX CMOS Sensor Interface (CSI) driver"
   default $(dt_compat_enabled,$(DT_COMPAT_NXP_IMX_CSI))
   ...

The idea is to introduce drivers/Kconfig.dts that a script can generate by scanning the source tree for all dts bindings and build a list of compatible values from.  The above example than would look like:
DT_COMPAT_NXP_IMX_CSI := nxp,imx-csi

config DTS_HAS_NXP_IMX_CSI
        def_bool $(dt_has_compat,$(DT_COMPAT_NXP_IMX_CSI))

config DTS_HAS_NXP_IMX_CSI_ENABLED
        depends on DTS_HAS_NXP_IMX_CSI
        def_bool $(dt_compat_enabled,$(DT_COMPAT_NXP_IMX_CSI))

and the drivers/video/Kconfig.mcux_csi looks like:
config VIDEO_MCUX_CSI
	bool "NXP MCUX CMOS Sensor Interface (CSI) driver"
	default DTS_HAS_NXP_IMX_CSI_ENABLED
	depends on DTS_HAS_NXP_IMX_CSI
	...

We introduce DTS_HAS_<sanitized compat>_ENABLED to make it a little easier on driver writers and to catch errors like: default $(dt_compat_enabled,${DT_COMPAT_FOOBAR}) (use of {,}  is incorrect.
We introduce DT_HAS_<sanitized compat> so that only drivers that exist in a board's devicetree are exposed (for those drivers that are devicetree based).

Additionally by introducing standardize and generated Kconfig symbols for devicetree compatibles we create an association between devicetree/Kconfig/CMake that we can utilize in the future for various purposes like doc generation or testing.

NOTE: This PR is based on https://github.com/zephyrproject-rtos/zephyr/pull/47158 to show the benefit for something like a build_all test in which just adding having the devicetree node added to the test gets the driver enabled and building.

API meeting:

@carlescufi this will add lots of needless Kconfig options to document
@gmarull mentions that this will not be compatible with OoT drivers
@erwango mentions that it might be a bit burdensome: add the compat to the list, regenerate the Kconfig.dts file, etc.
The list file will likely have conflicts often
Caspar: Could this be done at build time based on your own compatibles? @nashif does not like the idea
@nashif alternative: Use a Kconfig template but without autogenerating anything, just reducing the boilerplate

@carlescufi this will add lots of needless Kconfig options to document

It doesn't look like def_bools show in the Kconfig generated docs today?

@gmarull mentions that this will not be compatible with OoT drivers

Why OoT drivers do or don't in this area shouldn't impact things.  The drivers are OoT.

@erwango mentions that it might be a bit burdensome: add the compat to the list, regenerate the Kconfig.dts file, etc.

The list file will likely have conflicts often

The compat list would need to exist, one script will scan bindings dir and generate Kconfig.dts
Wonder how often we'll have conflicts if the file is sorted by name.  Likely new changes will not be next to each other.

Caspar: Could this be done at build time based on your own compatibles? @nashif does not like the idea

@nashif alternative: Use a Kconfig template but without autogenerating anything, just reducing the boilerplate

Why OoT drivers do or don't in this area shouldn't impact things. The drivers are OoT.

But OOT drivers need to be able to use the same infrastructure as used for in-tree drivers.

In general I like the idea of standardizing these options, but my main concern is the autogenerated file. Ideas/comments:

OOT drivers need to be able to use the same Kconfig patterns
Offline file means more maintenance (e.g. extra CI checks, potential merge conflicts, etc.)
I guess generating such file at runtime takes too much time?
We could generate the file at runtime based on parsed DTS (smaller I guess) and handle non-existing options that have the DT_... pattern as n in Kconfig scripts.

On my side, I'm affraid this might be cryptic to new comers:
How to guess that a script should be run after a new binding is added?

I've updated this to now be handled at runtime.  So this should work for OoT and not require any manual intervention.
@gmarull, @henrikbrixandersen, @erwango take a look.

I think this is a great idea. Have you given any thought to how you want to document it?

What aspect of docs?   I haven't yet given that much thought.

One question I have is related to keeping a "cached" copy of the in dts/Kconfig.dts.
Positives:

reduces execution time of script
reduces how big the generated file is, so a bit easier to read
Allows for "editor" completion of Kconfig symbols.
Able to see some level of what changed, got added between updates

Negatives:

requires update from time to time (maybe just before or after a release) of dts/Kconfig.dts

@henrikbrixandersen, @carlescufi , @MaureenHelm , @nashif, @erwango, @gmarull, @mbolivar-nordic what else needs to be done here?
I know @mbolivar-nordic mentioned docs, so looking for peoples input on what doc updates we should make for this.
Anything else?

I can't find anywhere to put this documentation, which makes me sad. One more bit of proof that our driver documentation is missing a lot of real-world details.

Agreed, was thinking how we don't have a "how to write a driver" guide.

@henrikbrixandersen, @carlescufi , @MaureenHelm , @nashif, @erwango, @gmarull, @mbolivar-nordic what else needs to be done here?

Updated to just have the DT_<COMPAT>_ENABLED symbol.  Its all we actually need.  It doesn't make sense to allow a driver to be compiled in if at least one instance isn't enabled.  Otherwise we'll just get compile errors (and this addresses an issue with singleton devices that use DEVICE_DT_DEFINE.

I can't find anywhere to put this documentation, which makes me sad. One more bit of proof that our driver documentation is missing a lot of real-world details.

Agreed, was thinking how we don't have a "how to write a driver" guide.

I wouldn’t mind working on that if you and @mbolivar-nordic are OK to collaborate on the DT side.


refactor: replace devServer.hot by HotModuleReplacementPlugin

Summary

Test Plan

Require Documentation?

[ ] No
[ ] Yes, the corresponding rspack-website PR is __

!eco-ci


Enable production webpack mode

In #296 we are investigating removing webpack mode in order to fix production bundling. We currently still apply all of our production optimizations, so bundle size should not change from webpack 3.

Trying a different strategy.


NTUEEPLUS-95. delete breadcrumb

What is this PR for?

delete breadcrumb
What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]
bug fix
Todos

[ ] - no

What is the Jira issue?

https://ntueeplus.atlassian.net/browse/NTUEEPLUS-95
Screenshots (if appropriate)

@featherchen finish!


Setup confusion

Hi there!  I've added the integration through HACS, but when I try to set it up, I get a message:

This device can not be added from the UI
You can add this device by adding it to your 'configuration.yaml'. See the documentation for more information.

Based on the readme here, it seems as though there is supposed to be setup process through the UI?  If not, is there a sample configuration.yaml file I can review?
I should add that prior to installing Flair through HACS, I updated my HomeAssistant instance to 2022.11.1, and have fully restarted Home Assistant, Supervisor, and the rpi host itself.
Thanks!

This sounds like it is something HACS related as the integration has never had a YAML setup option. I would go into HACS, go to the Flair integration page there, select redownload, then download the latest version. After doing so, go into the custom components folder and make sure the flair folder is there. If you see it there, then restart Home Assistant and go to the Home Assistant integrations page to add the Flair integration.

Thanks for the fast response!
I have done as you suggested and redownloaded, confirmed the components, and restarted both HA and the host - same error.  I also completely uninstalled and reinstalled via HACS, restarted/rebooted - same error.
I guess I can wait to try again until Home Assistant and/or HACS bump to a new version?

I found the issue - I was using a different flair integration and even though I renamed the folder in custom_components/, it still overlapped the integration name.  After fully removing the old integration, this one works fine.
Closing this issue.

Yup renaming won't work if the domain in the manifest is the same!


DRILL-5002: Using hive's date functions on top of date column gives w…

…rong results for local time-zone

The original description talks about data with local times. The TPC-H data has no TZ. Now, maybe we made one up in creating the Parquet files, but the original date just has dates without a tz.
The fundamental issue is that if we have a tz-less date, 1994-08-12, say, then this cannot be converted to a UTC timestamp. Which of the 23+ time zones would we use? How would the client and server agree on the arbitrary tz? This is like saying that I have a measurement in miles, but we can store distances only in km, so I'll take my length of 5 miles and store it as 5 km, remembering that I'm using km as an alias for miles. Does not make sense.
Your example uses timestamp constants. A timestamp is defined with a timezone, and so it fits Drill's model well. But, TPC dates don't have a timezone. See the TPC-H spec which says:

Date is a value whose external representation can be expressed as YYYY-MM-DD, where all characters are numeric. A date must be able to express any day within at least 14 consecutive years. There is no requirement specific to the internal representation of a date.

That is, TPC-H dates are not midnight on some date in some timezone, they are just dates. The cannot be converted to UTC. And so, they should not be subject to time zone shifting as tzs shift.
My point here is that Hive (according to the docs) implements functions correctly: using tz-less dates. Drill tries to convert to a (fake) UTC and use time-based functions on that data. This is, at best, a hack, and at worst, leads to great complexity and incorrect results.
That said, if all we have is km, and we can't do the miles-to-km conversion correctly, then we do need a way to know that a particular km value is actually miles. Similarly, using the current implementation, how will we know that a particular arbitrary-local-time-encoded-as-fake-UTC value really is local time vs. being an actual UTC time?
All that said, if you fix makes the current implementation work better, then it is a good improvement.
In the interests of moving ahead, let's table the basic discussion and just look at this one fix.


I just removed success

Can there be too much success?

Hi @guillermooo, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

aspnetcore/fundamentals/routing.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Desuccessing successful.

@guillermooo  great work, keep them coming.


Fixed the Open/Closed restaurant issue

Added a check to see if the menu came back with an error. If so, it changes the display on location header to say "closed"

Looks good


Checkbox on consent boolean/array

Not sure if this is an add-on issue, apologies if not...
I’m using a checkbox field as a consent and submitting the form with this checked returns:
Return value of Silentz\Mailchimp\Subscriber::hasConsent() must be of the type bool, array returned
The relevant part of the blueprint:
-
        handle: mailing_list
        field:
          inline: false
          options:
            'true': 'Subscribe me to the mailing list'
          display: 'Mailing List'
          type: checkboxes
          icon: checkboxes
          listable: hidden

Can anything be done to recognise this field/array? I’d guess a radio would work, but would prefer for users to be able to check/uncheck.
Perhaps I need to set this up a different way?

Nice find.

@websmyth what does your template code look like for that mailing_list field?

I’m looping over the fields:

                {{ fields }}

                        {{ if type !== "checkboxes" }}
                            {{ display }}
                        {{ endif }}

{{ field }}

                        {{ if error }}

{{ error }}

                        {{ endif }}

                {{ /fields }}

That produces:

     <input type="checkbox" name="mailing_list[]" value="true" >Subscribe me to the mailing list

ok that's what I thought, easy fix.


Music Player not working

Describe the bug
Music player is not working.
Expected behavior
It should work & play songs.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
Steps Followed✅
Check the box with [x] If you followed all the steps.

[x] Describe the bug
[ ] To Reproduce
[x] Expected behavior
[ ] Screenshots
[ ] Additional context

Code of Conduct✅

[x] I agree to follow this project's Code of Conduct.
[x] I checked the current issues for duplicate problems.
[x] I have gone through project README.

Provide screenshot

It is giving errors when I press any button.


Add tip to fix "RuntimeError: Broken toolchain"

This issue hit me when I tried to install TensorFlow.  I checked the "Common Problems" page and when I didn't see this issue there I searched the interwebz to find the fix.  Only after I found the fix did I notice the helpful You have not agreed to the Xcode license agreements message further up in the Terminal output...
TESTING
Here's a screenshot of how the updated section of the README looks like in my forked repository:

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please


X11 applications with opengl blank window with GPU enabled

Environment
Windows build number: 10.0.22000.0
Your Distribution version: Ubuntu 20.04
Your WSLg version: 1.0.24

Steps to reproduce
glxgears
WSL logs:

Attach WSLg logs from  /mnt/wslg

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

puseaudio.log
weston.log
versions.txt

Expected behavior
show gears
Actual behavior

Does GALLIUM_DRIVER=llvmpipe glxgears wotk?

llvmpipe works fine
here is the output of glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Microsoft Corporation (0xffffffff)
    Device: D3D12 (Intel(R) UHD Graphics) (0xffffffff)
    Version: 21.1.3
    Accelerated: yes
    Video memory: 8179MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (Intel(R) UHD Graphics)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.1.3 - kisak-mesa PPA
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 21.1.3 - kisak-mesa PPA
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.1.3 - kisak-mesa PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

Where can I get the latest driver ? I noticed that the Intel driver in the readme link is more than one year old

intel so far has just released these https://downloadcenter.intel.com/download/29526
They need to release Windows 11 preview drivers yet.
So far Nvidia is the only manufacturer that truly cared about WSL2 support, often releasing drivers especially for CUDA support.

updated to latest Intel driver, the problem still exists

Hi @intellild, could you run dxdiag.exe (windows+r -> dxdiag.exe) on Windows, click on Save All Information... and attach the file here so we can see exactly which driver are you using.

DxDiag.txt
@spronovo

I have the same issue, unfortunately. Using Intel UHD Graphics 630. Can I run wsl on the dedicated NVIDIA GPU (I have a laptop with hybrid graphics)?

I have the same issue with an Intel i5-8250U (Intel UHD Graphics 620). I believe the bug is most likely due to the driver released by Intel, but this information may be of use to the WSLg team. My understanding is that a WDDM 3.0 driver is required. I updated to the latest Intel DCH driver which is a WWDM 3.0 driver, however know I also see a blank, blank viewport for OpenGL applications.
Windows build: Windows 11, 10.0.22000.348
Linux distribution: Ubuntu 20.04, 2021-12-07
WSLg version: 1.0.26
Intel DCH driver: <IP_ADDRESS>9
dxdiag.txt
stderr.log
versions.txt
weston.log
glxinfo -B
inxi -F
I have also tried the beta Intel DCH driver, but this also did not appear to fix the issue.
Intel beta DCH driver: <IP_ADDRESS>1
I sent a bug report to Intel, however someone at Microsoft may have a more direct contact.

https://github.com/microsoft/wslg/issues/455#issuecomment-985210197

I did recieve an update from Intel, with fairly unsatisfactory answer:

This has been checked by our Engineers and their findings are as follows: There are a lot of dependencies, not just the graphics that can cause the blank screen that the customer has encountered. Since the issue is with the WSLg, it would be best if the customer contacts Microsoft about the issue.

We understand that this is not the resolution that you are looking for however, it would be best to contact Microsoft Support.

Not sure on the best way to proceed. Would you have any suggestions or ideas @spronovo to help find the root cause.

Having the same issue, my wsl is up-to-date as of this morning, happy to provide any other info if it will help.

setting LIBGL_ALWAYS_SOFTWARE to 1 fixes it, although then I'm not running with hw accel

On some laptops, e.g. Lenovo T15g, when an external monitor is connected the NVIDIA adapter is activated.
You have to assign nvidia  to the environment variable MESA_D3D12_DEFAULT_ADAPTER_NAME to force OpenGL to use the nvidia graphics card. See GPU selection in WSLg.
export MESA_D3D12_DEFAULT_ADAPTER_NAME=nvidia
glxgears


Discourse plugins: "ELOOP: Too many levels of symbolic links "

Describe the bug
When using some plugins with the new Discourse Module, it creates a directory structure with too many symbolic links.
To Reproduce
My configuration looks like:
{
    systemd.tmpfiles.rules = [
      "d  /etc/discourse 0755 discourse discourse - -"
    ];

    networking.firewall.allowedTCPPorts = [ 80 443 ];

    services.discourse = {
      enable = true;
      hostname = "our-discourse.example.com";
      admin = {
        email =<EMAIL_ADDRESS>        username = "admin";
        fullName = "Administrator";
        passwordFile = config.deployment.keys.discourse-admin-password.path;
      };
      mail.outgoing = {
        serverAddress = "email-service";
        port = 587;
        username = "email-username";
        passwordFile  = config.deployment.keys.discourse-email-password.path;
      };
      plugins = [
        (pkgs.fetchFromGitHub {
          owner = "discourse";
          repo = "discourse-solved";
          rev = "704d2df27a61ac8f9c9e7c0851c1271d45df393d";
          sha256 = "sha256:0r3w9igv9y2acqlxzw1lb6x70ara0ab09v0ivcbkl06skdigf4l6";
        })
        (pkgs.fetchFromGitHub {
          owner = "discourse";
          repo = "discourse-math";
          rev = "143ddea4558ea9a1b3fd71635bc11e055763c8e7";
          sha256 = "sha256:18pq5ybl3g34i39cpixc3nszvq8gx5yji58zlbbl6428mm011cbx";
        })
      ];
      sslCertificate = config.our.certChainPath;
      sslCertificateKey = config.our.privateKeyPath;
    };
}

Expected behavior
Discourse runs
Additional context
Apr 15 16:08:37 host systemd[1]: Starting discourse.service...
Apr 15 16:08:41 host discourse-pre-start[11490]: rake aborted!
Apr 15 16:08:41 host discourse-pre-start[11490]: Errno::ELOOP: Too many levels of symbolic links - /nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/plugins/ln/config/locales
Apr 15 16:08:41 host discourse-pre-start[11490]: /nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/config/application.rb:208:in `[]'
Apr 15 16:08:41 host discourse-pre-start[11490]: /nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/config/application.rb:208:in `<class:Application>'
Apr 15 16:08:41 host discourse-pre-start[11490]: /nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/config/application.rb:71:in `<module:Discourse>'
Apr 15 16:08:41 host discourse-pre-start[11490]: /nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/config/application.rb:70:in `<top (required)>'
Apr 15 16:08:41 host discourse-pre-start[11490]: /nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/Rakefile:7:in `require'
Apr 15 16:08:41 host discourse-pre-start[11490]: /nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/Rakefile:7:in `<top (required)>'
Apr 15 16:08:41 host discourse-pre-start[11490]: /nix/store/k8lda3816mqp8ijhi31awpg12mp3zi78-discourse-ruby-env-2.6.3/lib/ruby/gems/2.7.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Apr 15 16:08:41 host discourse-pre-start[11490]: (See full trace by running task with --trace)

# ls -la /nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/plugins/ln/
ls: cannot access '/nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/plugins/ln/': Too many levels of symbolic links

with no plugins specified it runs Discourse fine.
Notify maintainers

@talyz
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 5.11.13, NixOS, 21.05pre-git (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.10
nixpkgs: /run/current-system/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module: discourse

There is a missing newline in the Discourse prestart script
cp -r /nix/store/rpmy4093wvzy3vg0cccrh3mnaia6hp0r-discourse-2.6.3/share/discourse/plugins.dist/* /run/discourse/plugins/
ln -sf /nix/store/1faxwgpx6ax99a0idnwngajlf0wjzc40-source /run/discourse/plugins/ln -sf /nix/store/021mx28rzsw72ddp4abpl1fq4lrglzqc-source /run/discourse/plug

https://github.com/NixOS/nixpkgs/blob/936f450e3d80d9fe42ad4d825313e766e40919a1/nixos/modules/services/web-apps/discourse.nix#L705

Oh, oops, it should be fixed in #119596.

Thanks! I confirmed this is fixed by the changes.


Special-case variable-length array error message

When trying to Cythonise a file attempting to declare a variable length array, we get the following error:
Error compiling Cython file:
------------------------------------------------------------
...
    cdef double[n] x
                ^
------------------------------------------------------------

file.pyx:10:17: Not allowed in a constant expression

For C users coming to Cython, this may be a bit surprising and certainly not descriptive enough, and it doesn't seem to be mentioned in the documentation (I'm sure somewhere in there is something about Cython generating C89-compliant code, but even that I didn't find, and C programmers would have to know that VLAs were introduced in C99).
My suggestion is to produce a specific error message when a variable-length array is attempted to be declared. This message could be similar to "Cython does not support variable-length arrays".

Supporting this is probably not entirely trivial since I'm sure there are a few places where Cython assumes to know the size of an array statically. n may change later in the example above, so it's not a safe length to use after the declaration. However, that's duplicating #1305.
Improving the error message is a good first step, though. PR welcome.


add bitly command

Support to add validations in Search Widget
Using isResultList to change height of result container
Update limit to 6 from 5
Bitly api support
Added valid-url dependency to validate URL

Thank you so much for this PR — I love the idea of adding bit.ly support to Command! Super excited to get this merged in.
My primary concern is that I don't think Search is the most intuitive for this experience. I'd rather have an experience where a user entered a link and then clicked a "Shorten" button, which then triggered the shortened link to be spit out.
What do you think about that? Would you be up for refactoring along those lines?
Again — really excited to get this merged int!

Glad you liked the idea. 😀
I was also thinking about adding another component with button. But I later go ahead adding validations in search which will hold making any network call until a valid link is entered. I think usually if people are using bitly to shorten link they will be copying the link instead of typing. And adding button after that will just increase the clicks.
I know there is one issue right now that if someone start typing the link to shorten, it will make the shorten link once it found a valid URL even though he didn't finished typing URL 😰. I'll fix that issue in next commit. May be we can have something similar like Bitly site is having. If link is pasted will shorten it then and there otherwise user hits enter or button to shorten it.
Current UX:

Let me know your views. Thanks.
P.S I have also posted an article about your extension medium/sharmasha2nk/command

I like the solution of automatically shortening on paste but requiring a button press when the user types out the link. If you switch to using that UX, we can merge this in!

maybe /bitly [url] then shorten when the user presses enter?

Hi Jesse how about this UX:

@sharmasha2nk yes, that looks awesome - is that in the current PR?

@jessepollak Not yet in PR as I'm planning to add options page also so user can configure his own bitly account. Would be great if you could help to solve #51


Rellax parallax javascript plugin not working when applied to cards of wordpress theme

So I am trying to intergrate the Rellax, parallax plugin into my Wordpress theme.
I have this code which is applying the 'rellax' class and adding a speed to each card randomly:
$(document).ready(function(){

$('.card').each(function() {

$(this).addClass("rellax");
$(this).attr({'data-rellax-speed' : (Math.random() * 20) - 10})

 });
 });

Which is applying, when I go to inspect on chrome, I can see these edits have been applied:

(I also have a bit of javascript applying randomised placement)
But it isn't effecting the way my cards scroll?
I was thinking it was a problem with the css properties of the .card , or the div that surrounds them (.container pt-5 pb-5) , maybe it was contradicting / blocking what the rellax plugin wants to do..
.. so I did a test on my front-page, with some new divs, with the same classes applied, and nested in the same div wrapper that the cards on my pages are:

<?php the_title();?>

 Faster

 No parallax

 Slower

And this was working. So how come it isn't working on my cards in my theme? Is it applying these speeds after it fires the command, so the cards miss the message?
Thanks !

Just solved this, kind of stupid, I was calling rellax in my scripts before I was applying the rellax class to my .cards !
Now (& working !):
$(document).ready(function(){

$('.card').each(function() {

$(this).addClass("rellax");
 $(this).attr({'data-rellax-speed' : (Math.random() * 20) - 10})

  });

  });

 $(document).ready(function(){

 var rellax = new Rellax('.rellax', {

  });

 });


Question: GL_ARB_separate_shader_objects not defining gl_PerVertex or gl_PerFragment

I have a question regarding the extension GL_ARB_separate_shader_objects. When I set it to require, the spec says I need to redefine gl_PerVertex and gl_PerFragment with all used built-ins, so effectively I need something like
struct gl_PerVertex
{
    vec4 gl_Position;
};

However enabling this extension doesn't redeclare it as per the spec. I've searched the SPIRV-Cross source code and there is no mention of it. Is there a reason why they aren't or shouldn't be?

This is indeed not implemented. I suppose we could add an option to enable SSO support. A simple option to emit SSO compatible shaders should be fairly easy.

That's awesome, thank you

PR: https://github.com/KhronosGroup/SPIRV-Cross/pull/188

@redorav, any feedback? If not, I will merge as is.

@HansKristian-ARM My apologies, the task that depends on this has been delayed for a few days due to deadlines and I was hoping to get back to you sooner. I'm happy with it being merged as is and giving feedback later on.

ok, np. I will merge shortly then.

Merged. Feel free to reopen if there are issues or missing functionality.

Hi @HansKristian-ARM I've been able to finally test this. I've tried it by adding a require_extension("GL_ARB_separate_shader_objects") and also enabling the separate_shader_objects = true in the options.
However, the block isn't being redeclared. I've looked at the source and the emit_declared_builtin_block function never gets to the part where it actually emits the builtin block. Am I doing something wrong?

Works for me if I use --separate-shader-objects on CLI though ...

I've sent you the shader I'm using to your email. Does it work for you with it? What GL version are you targeting? I'm trying to target 430.

Reproduced. It seems like HLSL outputs position in a different way, weird ... I'll try to fix this.

Awesome, thanks a lot!

PR: https://github.com/KhronosGroup/SPIRV-Cross/pull/327

Great, I'll test as soon as it goes through


How can I perform the following in multi step task

[Enter feedback here]
I am a MSFT employee, My alias is benyip. The documentation did not specify the following questions

How can I run multi step task without specify the remote source code location?
If Queston 1 is not supported, How can I do it in Azure Devops (not Github)? I cannot get the format of the Azure Devops location correctly?

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

ID: 68343916-56f4-39ad-20f4-8dea8eacb9c2
Version Independent ID: d56f0b27-77c8-a586-e67b-69a9c6f7aab0
Content: Multi-step task to build, test & patch image - Azure Container Registry
Content Source: articles/container-registry/container-registry-tasks-multi-step.md
Service: container-registry
GitHub Login: @tejaswikolli-web
Microsoft Alias: tejaswikolli

@BenoityipMSFT
Thanks for your feedback! We will investigate and update as appropriate.

Solution: The document doesn't require an update
Pass your git credential to the url
az acr run \
 --registry $ACR_NAME \
 --file your_task_file.yaml https://{username}:{password}@{path_to_your_git_repo}

#please-close


Space-Travelers-Hub

Hi 👋,
This is the link to the project https://github.com/vvoo21/Space-Travelers-Hub/projects/1
We are a team of  2 developers.

Hi @vvoo21 and @Zia123456 ,
STATUS: APPROVED 😃
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights

Correct use of project template ✔
All tasks are assigned to the team members ✔
Each member has similar number of points ✔

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Fbo-less support

Fixes #728
GL device: https://github.com/gfx-rs/gfx_device_gl/pull/33
Fixes blitting from a main FBO.
Improves FactoryExt.

@kvark when I get home, I'll see if I can get hematite working in Virtualbox.

@mattico thanks! that would be a good test. I didn't verify that it actually works.

@kvark hematite still doesn't run in VBox after updating gfx-rs and gfx_device_gl. Same panic for no FBO.  I can look into it more next week.


Update UI to use Bootstrap

Most or our team has experience with developing websites with Bootstrap and our main UX designer makes can make awesome websites with it. With that being said let's update the current UI to use Bootstrap so that it's easy to migrate the UI to a new design later on.

While working on the application I noticed that there are several CSS/JS files that were added to the project at some point but then were never used. We should look at removing these files.

I removed the following JS files:

query.fancybox.pack.js
jquery.fancybox-buttons.js
tinynav.min.js
chosen.jquery.min.js
modernizr.js

I also removed the following CSS files:

normalize.css
chosen.css
dev.css
jQuery UI

Removing the files above fixed a bug in the UI that we didn't know were there. That bug being that the progress bar now works when uploading a new profile picture.
I did a quick run through of each page and included a list below of containing the items left to be completed. Once completed this issue can be closed.

[ ] Footer size needs to be decreased to match the production site
[ ] Button width needs to be increased to match the production site (this might be fine as is)
[ ] Remove white space below footer on About page

Some additional issues may crop up after this issue has been completed but we can look at them when they happen.

As part of our roadmap we are working on a new .NET and React site to replace the existing Ruby and Pakyow site. As part of this transition, this enhancement has been removed from our roadmap.


Exported toolbar components

Exported toolbar components. Updated typescript references.
Alternative to #317

Usage:
renderBottomToolbar={({table}) => (
    <>

This is my random content above the normal bottom toolbar

        <MRT_BottomToolbar table={table} />

This is my random content below the normal bottom toolbar

    </>
)}

Nice work. and I don't think the accidental recursive loop is much more of a. problem here than with the other way?


Small fix for Swift2.3 (2)

First thanks for your work!
To allow for compilation in Swift 2.3. Please change the occurrences of
...
return context.countForFetchRequest(request, error: nil)
...
to
...
do {
return try context.countForFetchRequest(request)
} catch {
return 0
}
...

Resolved in #85


Price inverted on Portfolio -> BID FIXED

The Price seems to be inverted when using the experiential feature Portfolio and the slider set to Fixed I could reproduce this on the BID  only.
sell (ask) Supernet for the price of 35 KMD (Portfolio Fixed type 35 Select ASK Supernet) this works.
buy (bid) Supernet for tje proce of 25 KMD (Portfolio Fixed type 25 Select BID Supernet) this show now up in the orderbook as 0.04 which is the inverted price of 25

I hope you can reproduce this.

my bad I did a calc error sorry.


[Web] Replace waitlist with CTAs

Update valoraapp.com

Remove waitlist
Add CTA section

Links:

Google Play: https://play.google.com/store/apps/details?id=co.clabs.valora
App Store: https://apps.apple.com/us/app/id1520414263

Complete


[misc] upgrade qunit to latest

This should fix build errors in Node 4.
I'm going to try seeing if I can do this with a fewer LoC change.

why the change to using QUnit as a global?

@icambron i was following https://qunitjs.com/upgrade-guide-2.x/


Keras model.fit not calling Sequence.on_epoch_end()

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu
TensorFlow installed from (source or binary): binary from pip install tensorflow
TensorFlow version: v2.1.0-rc2-17-ge5bf8de 2.1.0
Python version: 3.6.7

Describe the current behavior
on_epoch_end() from a tf.keras.utils.Sequence is not called on epoch end while training using model.fit().
Describe the expected behavior
on_epoch_end() from a tf.keras.utils.Sequence should be called on epoch end while training using model.fit().
Code to reproduce the issue
import tensorflow as tf
import numpy as np

class ZerosFirstEpochOnesAfter(tf.keras.utils.Sequence):
    def __init__(self):
        self.is_epoch_0 = True

    def __len__(self):
        return 2

    def on_epoch_end(self):
        print('on_epoch_end')
        self.is_epoch_0 = False

    def __getitem__(self, item):
        if self.is_epoch_0:
            print("First epoch")
            return np.zeros((16, 1)), np.zeros((16,))
        else:
            return np.ones((16, 1)), np.ones((16,))

if __name__ == '__main__':
    model = tf.keras.Sequential()
    model.add(tf.keras.layers.Dense(1, input_dim=1, activation="softmax"))

    model.compile(
        optimizer='Adam',
        loss='binary_crossentropy',
        metrics=['accuracy']
    )

    model.fit(ZerosFirstEpochOnesAfter(), epochs=5,)

Other info / logs
Note that print('on_epoch_end') is not called anywhere and "First epoch" is printed every epoch.
Relevant api docs:
https://www.tensorflow.org/api_docs/python/tf/keras/utils/Sequence?version=stable
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2 steps
Epoch 1/5
First epoch
First epoch
2020-01-15 17:57:31.979489: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2/2 [==============================] - 1s 260ms/step - loss: 15.2492 - accuracy: 0.0000e+00
Epoch 2/5
First epoch
First epoch
2/2 [==============================] - 0s 6ms/step - loss: 15.2492 - accuracy: 0.0000e+00
Epoch 3/5
First epoch
First epoch
2/2 [==============================] - 0s 6ms/step - loss: 15.2492 - accuracy: 0.0000e+00
Epoch 4/5
First epoch
First epoch
2/2 [==============================] - 0s 6ms/step - loss: 15.2492 - accuracy: 0.0000e+00
Epoch 5/5
First epoch
First epoch
2/2 [==============================] - 0s 6ms/step - loss: 15.2492 - accuracy: 0.0000e+00

I also have encountered the same issue. Keras model.fit needs at least steps_per_epoch * epochs batches without calling on_epoch_end. It sounds not-conformant with the specification.

I have the same problem too:

TensorFlow 2.1.0 (installed with conda)
Python 3.7.4
Windows 10

Thanks for the issue! This is fixed in the latest tf-nightly, please try with pip install -U tf-nightly

Hi,
Is this fixed if I install tensorflow by pip install tensorflow-gpu==2.1.0?
Or can someone point out which snippet of source code is corrected after this is solved?
Thx

From what I understand it will always be broken on 2.1.0, if they release a fix it will be on 2.1.x
If you are stuck on 2.1.0 and/or don't want to mess with tf-nightly, the notebook I posted above has a snipped to duct tape this issue using Callbacks.
The important part is the OnEpochEnd class and the usage on OnEpochEnd([seq.on_epoch_end]), which registers the Sequence on_epoch_end to be called by OnEpochEnd.on_epoch_end.
https://colab.research.google.com/gist/bfs15/fd18263f788a071225c60cedaf126748/35911.ipynb

I've encountered the same issue. During my test OnEpochEnd is not called in Tensorflow 2.0.2. After upgrading to Tensorflow 2.2.0 OnEpochEnd is being called and the issue is solved.

I have some problem when I am trying to run the code.
model.fit([enc_inp, dec_inp],decoder_final_output,epochs=4)
TypeError: 'NoneType' object is not callable
can anyone help me to this problem?

can anyone help me to solve this problem?

@Abdullah-sta,
Could you please submit a new issue from this link and fill in the template, so that we can track the issue there. Thanks!

good job


Fix/fixed arch FilterList multithreading

Access to FilterList in arch.go wasn't safe.
Also dictionary map was replaces with simple array (check code).
After tests, ECS started to work from multiple goroutines.

Whoops. I have changes from other pull request here

Ended up rewriting this function to not use a common cached map


Move docs to GH Pages

[Updated] Docs-preview: https://www.gonzalezlopes.com/github-pages-test
Branch overview: https://github.com/dgzlopes/powerfulseal/tree/move-docs-to-gh-pages
Todo in this PR:

Improve taxonomy/organization.
Fix links/paths.
Decide where Contributions section lives (Repo or docs? Temporarily added both)
Footer copyright (?)
Expand Docs dev env in the Contributions section.

Todo in other PR's:

Improve the Readme and the docs landing page.
Add some kind of Architecture/Concepts/Terminology section.
Write a real Getting Started.
Integrate docs-schema.
Detail how to extend Powerfulseal.

Scope? Move the ACTUAL docs.
I think this needs a lot of work, but something is something :)
@seeker89 @jcstanaway

In docs-preview some links (like /getting-started) don't work. I think they work with the default Github Pages domain but not with my custom domain.

I had a quick look, and this is looking great! Very neat and clean :)
The contributing doc needs to be linked from the main README.

Thank you for taking the time to review :)
Can you activate GitHub Pages from the settings panel?

Yup, done https://bloomberg.github.io/powerfulseal/!


fix: Fixed typo in the path

Signed-off-by: Anurag Dixit<EMAIL_ADDRESS>Description
This typo is causing issue in CI pipeline. Fixed it
Fixes # (issue)
Type of change
Please delete options that are not relevant and/or add your own.

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project (You can use the linters)
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas and hacks
[ ] I have made corresponding changes to the documentation
[ ] I have added tests to verify my fix or my feature
[x] New and existing unit tests pass locally with my changes

We need both just in case people havent recloned the repo. Its just a search dir. why is it breaking CI?

We need both just in case people havent recloned the repo. Its just a search dir. why is it breaking CI?

A user doesn't need to reclone the repo. They can simply rename their fork. Github has an option to update the name of the fork.
Without this change the CI pipeline is failing to locate the TensorRT header file "NvInfer.h". With this change it is running fine.

No the issue is that bazel uses the name of the parent directory (Torch-TensorRT on a fresh clone) for the name of the workspace. If you have an existing clone it will still call the directory bazel-trtorch even though the repo has a different name

Closing this PR for backward compatibility.


Feat/real world 0x proto

Blocked by #2 #4
I used Meta Mask codebase to generate signature for test data.
const address = ethUtil.addHexPrefix(
  ethUtil.privateToAddress(privateKey).toString('hex'),
);
const data = {
  types: {
    EIP712Domain: [
      { name: 'name', type: 'string' },
      { name: 'version', type: 'string' },
      { name: 'chainId', type: 'uint256' },
      { name: 'verifyingContract', type: 'address' },
    ],
    Order: [
      { name: 'makerAddress', type: 'address' },
      { name: 'takerAddress', type: 'address' },
      { name: 'feeRecipientAddress', type: 'address' },
      { name: 'senderAddress', type: 'address' },
      { name: 'makerAssetAmount', type: 'uint256' },
      { name: 'takerAssetAmount', type: 'uint256' },
      { name: 'makerFee', type: 'uint256' },
      { name: 'takerFee', type: 'uint256' },
      { name: 'expirationTimeSeconds', type: 'uint256' },
      { name: 'salt', type: 'uint256' },
      { name: 'makerAssetData', type: 'bytes' },
      { name: 'takerAssetData', type: 'bytes' },
      { name: 'makerFeeAssetData', type: 'bytes' },
      { name: 'takerFeeAssetData', type: 'bytes' },
    ],
  },
  primaryType: 'Order',
  domain: {
    name: '0x Protocol',
    version: '3.0.0',
    chainId: 137,
    verifyingContract: '0xfede379e48c873c75f3cc0c81f7c784ad730a8f7'
  },
  message: {
    makerAddress: '0x1bbeb0a1a075d870bed8c21dfbe49a37015e4124',
    takerAddress: '0x0000000000000000000000000000000000000000',
    senderAddress: '0x0000000000000000000000000000000000000000',
    feeRecipientAddress: '0x0000000000000000000000000000000000000000',
    expirationTimeSeconds: '1641635545',
    salt: 1,
    makerAssetAmount: '1',
    takerAssetAmount: '50000000000000000',
    makerAssetData: '0x02571792000000000000000000000000a5f1ea7df861952863df2e8d1312f7305dabf2150000000000000000000000000000000000000000000000000000000000002b5b',
    takerAssetData: '0xf47261b00000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619',
    takerFeeAssetData: '0x',
    makerFeeAssetData: '0x',
    takerFee: 0,
    makerFee: 0
  },
}
const signature = signTypedData({
  privateKey,
  data: data as any,
  version: SignTypedDataVersion.V4,
});
console.log(signature, "Signature")
console.log(address, "Address")

I'll put some comments here that were not in the prior merges.

primary_type should be primaryType according to https://eips.ethereum.org/EIPS/eip-712
There is a module ExWeb3EcRecover.SignedTypedData, but it is in the file signed_type.ex.  Should we rename one to make them consistent?

Finally - looks like the encode is not matching the hashed value I am getting from 0x.  Will send over my example in a bit (may be tomorrow).

After further review I am totally fine with the change in primary_type.  It is different from the JS but I believe that name is meta-data only and not ever hashed so I think we should be ok.

I'll put some comments here that were not in the prior merges.

primary_type should be primaryType according to https://eips.ethereum.org/EIPS/eip-712
There is a module ExWeb3EcRecover.SignedTypedData, but it is in the file signed_type.ex.  Should we rename one to make them consistent?

Finally - looks like the encode is not matching the hashed value I am getting from 0x. Will send over my example in a bit (may be tomorrow).

This is rather complicated. But I agree that we should stick to camelCase name here.
Yup that need to be fixed.


Correcting bucket for 95th percentile

Please correct me if I am wrong but with most requests at 220ms, the true histogram should return 200-300ms bucket for 95th percentile.
cc @juliusv

Thanks!


Matlab Mex functions

Dear Blaine,
Interesting work! I just ran into a problem on Matlab when getting started. I followed the installing instructions from source on Mac and tried to test the examples. It seems that the mex files (such as mexImRead3D.c) are not compiled after running setupSift3D.m: "Unrecognized function or variable 'mexImRead3D'".
Did I miss anything? I am only familiar with Matlab :)
Thank you!
Junhao

Hi I got the same error. Did you solve this problem?Thx.


Start-Process -ArgumentList doesn't accept String[] that is not literal

PowerShell documentation on Start-Process states that the type for parameter -ArgumentList is String[].
This appears to hold true when running
$x = '/k','echo foobar'
Start-Process CMD -ArgumentList $x

The result is that I see a CMD window appear with "foobar" as the first line.  $x.GetType() returns Object[].  It also works when $x is manually coerced with [String[]].
However, as soon as I append an addition item to the array...
$x = ,'/k'
$y = $x,'echo foobar'
Start-Process CMD -ArgumentList $y

this error is produced:
Cannot convert 'System.String[]' to the type 'System.String' required by parameter 'ArgumentList'.  Specified method is not supported.

Given that both $x and $y in both scenarios are [String[]], the error seems uncalled for.
Environment data
Name                           Value
----                           -----
PSVersion                      6.2.2
PSEdition                      Core
GitCommitId                    6.2.2
OS                             Microsoft Windows 10.0.19041
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

I believe the issue here is that $y = $x,'echo foobar' produces an array of 2 elements, the first being your $x array and the second being echo foobar.
$x = ,'/k'
$y = $x,'echo foobar'

$y.GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     Object[]                                 System.Array

$y.Count

2

$y[0].GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     Object[]                                 System.Array

$y[1].GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     String                                   System.Object

If you are wanting to add to an array you can use +=  but that can be problematic when you start dealing with large arrays. You are better off using a Generic List like so
$list = [Collections.Generic.List[String]]@('/k')
$list.Add('echo foobar')

You can add and remove any element you want and it's also typed so adding non strings will cast to a string automatically for you.

I believe the issue here is that $y = $x,'echo foobar' produces an array of 2 elements, the first being your $x array and the second being echo foobar.
$x = ,'/k'
$y = $x,'echo foobar'

$y.GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     Object[]                                 System.Array

$y.Count

2

$y[0].GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     Object[]                                 System.Array

$y[1].GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     String                                   System.Object

If you are wanting to add to an array you can use +=  but that can be problematic when you start dealing with large arrays. You are better off using a Generic List like so
$list = [Collections.Generic.List[String]]@('/k')
$list.Add('echo foobar')

You can add and remove any element you want and it's also typed so adding non strings will cast to a string automatically for you.


Add support for .ass/.ssa subtitles

Hi! It will be great to support rendering for .ass/.ssa subtitles which are commonly used. Could you add it in upcoming versions?

Fairly sure that ass subs work already just fine. libass is included, just enable it.

@23doors could you provide an example how to do that?

Also what about fonts? The .ass subtitles support using different fonts, they may not be included on your device, so I would like to have a method to provide a list with links to .ttf fonts files.

Also what about web implemetation for libass, do you support it?

What platform are you using? On desktops and mobile - .ass should work out of the box. Just add PlayerConfiguration(libass:true) to Player(). On web it is limited by what browser supports and none of them supports .ass subtitles.
.ass subtitles I used had embedded fonts and it was working fine. I didnt use external .ass subs, only those defined as tracks within mkv. And they work just fine.

There's libass-wasm to support rendering for .ass subtitle on the web, it will be great to have it implementation here.

Feel free to submit a PR ;)

Feel free to submit a PR ;)

I would love to, I am not sure that I am capable to do it on good quality level. But if no one do that, I will try.

Feel free to submit a PR ;)

I would love to, I am not sure that I am capable to do it on good quality level. But if no one do that, I will try.

Feel free.


Allow custom fields to have a default value

Description
Currently there is no way to have a default value, either through admin UI or through code.
There should be a way to define default value for custom fields.
This will be required in many situations for setting up sane defaults when installing plugins etc.

Hello,
thank you for creating this issue.
I have opened a ticket on our Issue Tracker for you. See the ticket link: https://issues.shopware.com/issues/NEXT-7414
Please use this ticket to track the state of your issue.

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


$response->withJson does not work accentuation!

I commented on a closed issue. After I saw it :)
But the problem is this:

Does not work:
return $response->withJson('Erro na atualização', 400);

It works:
return $response
->withStatus(400)
->withHeader("Content-Type", "application/json; charset=utf-8")
->write('Erro na remoção');

Does anyone know any better solution or are they already aware of the problem?

First, a simple string is not a valid JSON object/array, see the discussion #2453
This is not a Slim issue, by default json_encode encode special characters to unicode like \uxxxx
See http://php.net/manual/pt_BR/function.json-encode.php
But if you want to see those characters use:
json_encode($response, JSON_UNESCAPED_UNICODE);
Read about JSON_UNESCAPED_UNICODE here: http://php.net/manual/pt_BR/json.constants.php

Thank you for clarifying this question.


Report Transaction and Block statuses correctly in RPC responses

Currently they are hard coded
https://github.com/NethermindEth/juno/blob/main/rpc/handlers.go#L90
https://github.com/NethermindEth/juno/blob/main/rpc/handlers.go#L328
after merging https://github.com/NethermindEth/juno/pull/699, these should be updated to reflect the correct statuses

fixed by #828