Float32x4 should have a constructor for int values

Since it's very common to have operations between int and double, Float32x4 should also have a specialized constructor for int values. With that will be possible to have an optimized version of the constructor that is capable to efficiently instantiate a Float32x4 usingint values, avoiding 4 calls to i.toDouble().
Also a toInt32x4()  method should exists, to have an efficient way to convert a x4 lane of double to int (Int32x4).
The same pattern should exists for Int32x4, a double constructor and a toFloat32x4 method.
This specialized constructors and methods are very important to use SIMD in a real world solution.

Would it be sufficient to have toInt32x4 on Float32x4 and toFloat32x4 on Int32x4?
Then instead of Float32x4.fromInts(a, b, c, d), you'd do Int32x4(a, b, c, d).toFloat32x4().
It feels like that would match the actual underlying SIMD operations.

I think that the constructor is need (Float32x4.fromInts(a, b, c, d)), since the point here is performance, and will be slower to crate a Int32x4 and after that create the Float32x4.

A properly SIMD optimized Int32x4(a, b, c, d).toFloat32x4() seems like it could, and should, be as fast as possible.
The allocation of the Float32x4 can be eliminated, and the four integers stored directly into a SIMD register, then the SIMD "int to float" operation (CVTDQ2PS IIRC) can work directly on that. Whether to box the result as a Float32x4 at that point depends on what you plan to use it for.

You are correct only for dart native implementation of SIMD (Dart VM/AOT).
For other platforms, like JS/Web, the languages need an easy way to allow the correct translation/conversion.
https://github.com/WebAssembly/simd
https://www.chromestatus.com/feature/6533147810332672

@gmpassos we don't target WASM, so we can't right now make use of these APIs anyway. (in other words if you target JS today you get really poor performance from Dart SIMD types). If we would target WASM - there would be an optimization step which would produce the most optimal sequence of commands. Looking at the spec (https://github.com/WebAssembly/simd/blob/main/proposals/simd/SIMD.md) it seems that it would likely require creating a SIMD value and then converting it - just like on x86 and ARM CPUs.

A language definition should also target the future.

Indeed, and preparing for WASM SIMD would mean favoring conversion methods over constructors. WASM doesn't have constructors at all, after all.

WASM, or any target assembly language, should not affect the concept of object constructors.
If you need to instantiate a 'Int32x4' to have a 'Float32x4' from 4 'int' you will miss the opportunity to avoid an extra allocation. A good acceleration by SIMD should always skip any overhead.

If you need to instantiate a 'Int32x4' to have a 'Float32x4' from 4 'int' you will miss the opportunity to avoid an extra allocation.

There will be no allocation after this Int32x4(a, b, c, d).toFloat32x4() is compiled by optimising compiler.

How about the toInt32x4?
Note that Float32x4.fromInt32x4Bits is not the same thing:
https://api.flutter.dev/flutter/dart-typed_data/Float32x4/Float32x4.fromInt32x4Bits.html


"r.join is not a function" in NextJs during generateStaticParams in Production Build

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!
While creating an production build, the following error occurs during the "Collecting page data" step:
TypeError: r.join is not a function

Reproduction
npm run build

Steps to reproduce

Set up a Next.js 14 project using the App Router:

Ensure your project is using the App Router (app directory).

Implement generateStaticParams:

Add the following code in your component or page file to generate static parameters:

export async function generateStaticParams() {
  const posts = await client.queries.postConnection();
  return (
    posts?.data?.postConnection?.edges?.map((post) => ({
      slug: post?.node?._sys.filename,
    })) || []
  );
}

Run a production build:

Execute the build command to generate a static site: npm run build or yarn build.

System Info
System:
    OS: macOS 15.0.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 425.78 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.8.1 - ~/.nvm/versions/node/v20.8.1/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 10.1.0 - ~/.nvm/versions/node/v20.8.1/bin/npm
    pnpm: 8.6.10 - ~/Library/pnpm/pnpm
    bun: 1.0.30 - ~/.bun/bin/bun
  npmPackages:
    @tinacms/cli: ^1.5.53 => 1.6.8
    tinacms: ^2.1.1 => 2.3.0

Validations

[x] Follow our Code of Conduct
[x] Read the docs.
[x] Check that there isn't already an issue that reports the same bug.

I'm also experiencing this, although it doesn't seem to stop the build.

Hi @abel3t & @mAAdhaTTah
Cheers for finding this - Taking a look now 🙏

Hi All,
A fix has been released in the following versions,

tinacms v2.4.0
@tinacms/cli v1.6.11

Thanks for your patience 🦙

Thanks @JackDevAU


Update Registry key values available

Multiple registry keys are missing other available values depending the version of your OS.
You can find a list of available values here:
https://learn.microsoft.com/en-us/windows/deployment/update/waas-wu-settings#configuring-automatic-updates-by-editing-the-registry
That are not present here:
https://learn.microsoft.com/en-us/windows/deployment/update/waas-restart#registry-keys-used-to-manage-restart

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

ID: 0184809a-63ff-ecc2-ab67-9c9f4df900f8
Version Independent ID: ac25ee6c-4c57-58b3-1313-e4a53f53c5a1
Content: Manage device restarts after updates - Windows Deployment
Content Source: windows/deployment/update/waas-restart.md
Product: windows-client
Technology: itpro-updates
GitHub Login: @mestew
Microsoft Alias: mstewart

@OursonBleu Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/windows-itpro-docs/pull/11503
Once the author approves, the changes will be live.
Thanks
Sri


Don't force ghc-mod to use -Wall switch

It will pick up the options from .cabal
Closes #918 - Extra warnings were displayed
for people who used -Wall and -Wno-xxx flags.
An extra -Wall added by HIE just cancelled
the effect of -Wno switches.
This change breaks the behaviour for people who
omitted -Wall in their .cabal files and relied
on HIE to add the switch. They should just
add -Wall to ghc-options in .cabal.

invalid issue no


Add leak checking before and after hilt tests

Codecov Report

Merging #361 (ec6b9f9) into main (95585c9) will increase coverage by 0.01%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main     #361      +/-   ##
==========================================
+ Coverage   75.33%   75.35%   +0.01%
==========================================
  Files          79       79
  Lines        4047     4050       +3
  Branches      690      691       +1
==========================================
+ Hits         3049     3052       +3
  Misses        585      585
  Partials      413      413

Impacted Files
Coverage Δ

...lin/com/alexvanyo/composelife/test/BaseHiltTest.kt
85.71% <66.66%> (+1.71%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Update hdevtools

@geraldus I took over maintenance of hdevtools some weeks ago and pushed a new version to Hackage today. But I am not quite sure if this file has to be changed in order to have hdevtools in the stackage LTS release?

Here are the instructions for adding a package to LTS But hdevtools is already in LTS so no action is necessary.

@ch1bo Thanks


docs: added screenshots for all visual modules

Added screenshots for the following:

aws-region
azure-region
filebrowser
vscode-desktop

closes #35


Flicering when using scale in animation tree

Godot version:
bcd2f248ec04681c731ad0f90ad9869ac1745183
OS/device including version:
ubuntu 18.04.3 LTS
Issue description:
I am trying to use some animation trees for practice, since im going to talk about godot on a local open source event and figured animations and 2d bones are good idea for that.
I have a tree with two blend trees, one responsible for triggering walking animation, one responsible on animating scale, depending on the direction, then i simply blend those two, filtering only x scale to get a papermario-like effect when character changes direction
For some reason the flickering happens.

Steps to reproduce:
Not sure what are the repro steps, there is a link to the project, its a small demo
Minimal reproduction project:
https://github.com/IllusiveS/godot_2d_animation
EDIT:
Forgot to mention that in editor everything seems to be fine

Add tool keyword at the begging of script. to see this in editor.
I don't know if this is a Godot bug or just logic error in script.

Seems to still happen in 3.2.3 rc6, but as qarmin said, someone needs to check if it's a valid bug or user error.

This is not a bug, and is the nature of floating-point computations. To prevent this kind of chatter from ocurring, you need to have some kind of "epsilon" value in your character script. If the player's horizontal movement speed is located within this epsilon value range (typically below 1%-2% of maximum walk speed), the character's flip state should not be changed.


I cannot build model-viewer in windows 11.

Description
Please provide a detailed description of the bug, how to reproduce it, and the
expected behavior.  Always include a code snippet, screenshot, any errors
reported in the console, and the model to help us understand and fix the
problem.
Live Demo

https://glitch.com/edit/#!/model-viewer

Version

model-viewer: vX.X.X

Browser Affected

[ ] Chrome, version: xx.x.xxxx.xx
[ ] Edge
[ ] Firefox
[ ] IE
[ ] Safari

OS

[ ] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

AR

[ ] WebXR
[ ] SceneViewer
[ ] QuickLook

We won't be able to help with so little info. Please open a new issue and fill out the template completely, particularly the repro link, a screen recording, and any JS console errors/warnings.


Exclude hidden directories from watching

We shouldn't monitor e.g. git directories.
This should address https://github.com/avisi-cloud/structurizr-site-generatr/issues/162

Nice and simple, thanks!


frontend/Gemfile not found

I'm trying to upgrade my version of ember-cli to 0.1.8 (from pre 0.1.6).
It seems like https://github.com/rwz/ember-cli-rails/commit/652cf12c0a196b4719f6517f2fea308d8d556a5f is problematic
Also worth mentioning, ember-cli:install-dependencies and ember-cli:test seem to be running twice.
The failure message:
/Users/Sean/.rbenv/versions/2.2.0/bin/ruby -I/Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/lib:/Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-support-3.1.2/lib /Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
/Users/Sean/src/my-app/frontend/Gemfile not found
/Users/Sean/.rbenv/versions/2.2.0/bin/ruby -I/Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/lib:/Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-support-3.1.2/lib /Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed

The full output:
2.2.0 in my-app/ on sd-bump-ember-cli-rails
› rk

><EMAIL_ADDRESS>postinstall /Users/Sean/src/my-app/frontend
> bower install

><EMAIL_ADDRESS>postinstall /Users/Sean/src/my-app/frontend
> bower install

version: 0.1.15
Building..Warning: ignoring input sourcemap for bower_components/route-recognizer/dist/route-recognizer.js because ENOENT, no such file or directory '/Users/Sean/src/my-app/frontend/tmp/tree_merger-tmp_dest_dir-ameG9KTZ.tmp/bower_components/route-recognizer/dist/route-recognizer.js.map'
Built project successfully. Stored in "/Users/Sean/src/my-app/frontend/tmp/class-tests_dist-dHI2i7tJ.tmp".
ok 1 PhantomJS 1.9 - transforms the credit card information for Stripe
ok 2 PhantomJS 1.9 - transforms expiry information when filled in with 1Password
ok 3 PhantomJS 1.9 - FooterNavComponent: it renders
ok 4 PhantomJS 1.9 - InputListComponent: splits value list into strings
ok 5 PhantomJS 1.9 - InputListComponent: splits whitespace separated value list into strings
ok 6 PhantomJS 1.9 - InputListComponent: joins value list to string
ok 7 PhantomJS 1.9 - InputListComponent: joins empty value list to empty string
ok 8 PhantomJS 1.9 - CsvExport: #isFinished returns true when #status is 'finished'
ok 9 PhantomJS 1.9 - User cannot update unchanged form: Update Form butotn is disabled by default, and is enabled when inputs change
ok 10 PhantomJS 1.9 - User changes their email address: shows an error for invalid emails
ok 11 PhantomJS 1.9 - User changes their email address: shows email errors returned from the server
ok 12 PhantomJS 1.9 - User changes their email address: shows password errors returned from the server
ok 13 PhantomJS 1.9 - User changes payment amount: creates a subscription
ok 14 PhantomJS 1.9 - User changes payment amount: they see the correct new total
ok 15 PhantomJS 1.9 - User changes payment amount: they see the new amount for this form in the receipt section
ok 16 PhantomJS 1.9 - User changes payment amount: they see the correct current total
ok 17 PhantomJS 1.9 - User changes payment amount: the slider displays the correct amount
ok 18 PhantomJS 1.9 - User changes payment amount and tries to leave the page: the slider resets to the default when they return
ok 19 PhantomJS 1.9 - User changes payment amount and tries to leave the page: they see a confirmation box and cancel
ok 20 PhantomJS 1.9 - User changes payment amount and tries to leave the page: they see a confirmation box and click ok
ok 21 PhantomJS 1.9 - User creates a form: reenables the create button after submitting
ok 22 PhantomJS 1.9 - User deletes a submission: they are redirected to the previous submission
ok 23 PhantomJS 1.9 - User deletes a submission it is the first (ordered) submission: they are redirected to the next submission
ok 24 PhantomJS 1.9 - User deletes a submission there are no more submissions: they are redirected to the form setup
ok 25 PhantomJS 1.9 - User deletes a submission confirm is false: does not delete the submission
ok 26 PhantomJS 1.9 - User deletes form: and does not see deletion dialog on another form
ok 27 PhantomJS 1.9 - User downloads form as CSV: polling until the export is no longer pending
ok 28 PhantomJS 1.9 - User edits a form: changing the notification emails
ok 29 PhantomJS 1.9 - User edits a form and tries to leave the page: the data is reset when they return
ok 30 PhantomJS 1.9 - User edits a form and tries to leave the page: they see a confirmation box and cancel
ok 31 PhantomJS 1.9 - User edits a form and tries to leave the page: they see a confirmation box and click ok
ok 32 PhantomJS 1.9 - User filters submissions: they see only the filtered submissions
ok 33 PhantomJS 1.9 - User filters submissions: they see help text when all submissions are filtered out
ok 34 PhantomJS 1.9 - User filters submissions when they change forms: the filter is cleared
ok 35 PhantomJS 1.9 - User filters submissions when they filter for spam: the filter is cleared
ok 36 PhantomJS 1.9 - User marks a submission as spam: redirects to the next submission
ok 37 PhantomJS 1.9 - User marks a submission as ham: toggles the spam state
ok 38 PhantomJS 1.9 - User pays for first form: creates their payment account and creates a subscription
ok 39 PhantomJS 1.9 - User transitions to another form: redirects to the most recent submission
ok 40 PhantomJS 1.9 - User transitions to another form the other form has no submissions: when they transition back to the original form, it redirects to the most recent submission
ok 41 PhantomJS 1.9 - User deletes a submission: they are redirected to the previous submission
ok 42 PhantomJS 1.9 - User views a form in sandbox: they see the sandbox warning
ok 43 PhantomJS 1.9 - User views a form with no spam: they do not see the toggle spam link
ok 44 PhantomJS 1.9 - User views a form with no submissions: they see the form setup page
ok 45 PhantomJS 1.9 - User views a form with only spam: they stay on the submission index page
ok 46 PhantomJS 1.9 - User views a form with spam: they do not see the spam initially
ok 47 PhantomJS 1.9 - User views a form with spam: they can toggle to see the spam
ok 48 PhantomJS 1.9 - User views a form with submissions: redirects to the most recent submission
ok 49 PhantomJS 1.9 - User views a form with submissions: they see the submission count
ok 50 PhantomJS 1.9 - User views a form with submissions: the submissions are sorted by date
ok 51 PhantomJS 1.9 - User visits a form that doesn't exist: displays a 404 page
ok 52 PhantomJS 1.9 - User views an unread submission when vist and leave the edit the form: does not trigger a confirm dialog
ok 53 PhantomJS 1.9 - User views dashboard: they see their email
ok 54 PhantomJS 1.9 - User views dashboard they have no forms: they are redirected to the new form page
ok 55 PhantomJS 1.9 - User views dashboard they have a form but have not visited any: they are redirected to the first form
ok 56 PhantomJS 1.9 - User views dashboard they have a visited another form: they are redirected to the form they last visited
ok 57 PhantomJS 1.9 - User views form data tab: the links are to the correct endpoints
ok 58 PhantomJS 1.9 - User toggles spam: redirects to the first submission if there is one
ok 59 PhantomJS 1.9 - User toggles spam: redirects to the submission index if there are no submissions
ok 60 PhantomJS 1.9 - User views the form setup page the form has submissions: they do not see the buttons to advance
ok 61 PhantomJS 1.9 - User views the form setup page the form has submissions: when they click the form they see the submissions
ok 62 PhantomJS 1.9 - User views the form setup page the form has no submissions: they see the buttons to advance to the next section
ok 63 PhantomJS 1.9 - User views the form setup page the form has no submissions: when they click the form they stay on the setup page
ok 64 PhantomJS 1.9 - User views the new form page they have no forms: they see a welcome message
ok 65 PhantomJS 1.9 - User views the new form page they have at least one form: they do not see a welcome message

1..65
# tests 65
# pass  65
# fail  0

# ok
version: 0.1.15
Building..Warning: ignoring input sourcemap for bower_components/route-recognizer/dist/route-recognizer.js because ENOENT, no such file or directory '/Users/Sean/src/my-app/frontend/tmp/tree_merger-tmp_dest_dir-5M4PQPCa.tmp/bower_components/route-recognizer/dist/route-recognizer.js.map'
Built project successfully. Stored in "/Users/Sean/src/my-app/frontend/tmp/class-tests_dist-4MKKy7fP.tmp".
ok 1 PhantomJS 1.9 - transforms the credit card information for Stripe
ok 2 PhantomJS 1.9 - transforms expiry information when filled in with 1Password
ok 3 PhantomJS 1.9 - FooterNavComponent: it renders
ok 4 PhantomJS 1.9 - InputListComponent: splits value list into strings
ok 5 PhantomJS 1.9 - InputListComponent: splits whitespace separated value list into strings
ok 6 PhantomJS 1.9 - InputListComponent: joins value list to string
ok 7 PhantomJS 1.9 - InputListComponent: joins empty value list to empty string
ok 8 PhantomJS 1.9 - CsvExport: #isFinished returns true when #status is 'finished'
ok 9 PhantomJS 1.9 - User cannot update unchanged form: Update Form butotn is disabled by default, and is enabled when inputs change
ok 10 PhantomJS 1.9 - User changes their email address: shows an error for invalid emails
ok 11 PhantomJS 1.9 - User changes their email address: shows email errors returned from the server
ok 12 PhantomJS 1.9 - User changes their email address: shows password errors returned from the server
ok 13 PhantomJS 1.9 - User changes payment amount: creates a subscription
ok 14 PhantomJS 1.9 - User changes payment amount: they see the correct new total
ok 15 PhantomJS 1.9 - User changes payment amount: they see the new amount for this form in the receipt section
ok 16 PhantomJS 1.9 - User changes payment amount: they see the correct current total
ok 17 PhantomJS 1.9 - User changes payment amount: the slider displays the correct amount
ok 18 PhantomJS 1.9 - User changes payment amount and tries to leave the page: the slider resets to the default when they return
ok 19 PhantomJS 1.9 - User changes payment amount and tries to leave the page: they see a confirmation box and cancel
ok 20 PhantomJS 1.9 - User changes payment amount and tries to leave the page: they see a confirmation box and click ok
ok 21 PhantomJS 1.9 - User creates a form: reenables the create button after submitting
ok 22 PhantomJS 1.9 - User deletes a submission: they are redirected to the previous submission
ok 23 PhantomJS 1.9 - User deletes a submission it is the first (ordered) submission: they are redirected to the next submission
ok 24 PhantomJS 1.9 - User deletes a submission there are no more submissions: they are redirected to the form setup
ok 25 PhantomJS 1.9 - User deletes a submission confirm is false: does not delete the submission
ok 26 PhantomJS 1.9 - User deletes form: and does not see deletion dialog on another form
ok 27 PhantomJS 1.9 - User downloads form as CSV: polling until the export is no longer pending
ok 28 PhantomJS 1.9 - User edits a form: changing the notification emails
ok 29 PhantomJS 1.9 - User edits a form and tries to leave the page: the data is reset when they return
ok 30 PhantomJS 1.9 - User edits a form and tries to leave the page: they see a confirmation box and cancel
ok 31 PhantomJS 1.9 - User edits a form and tries to leave the page: they see a confirmation box and click ok
ok 32 PhantomJS 1.9 - User filters submissions: they see only the filtered submissions
ok 33 PhantomJS 1.9 - User filters submissions: they see help text when all submissions are filtered out
ok 34 PhantomJS 1.9 - User filters submissions when they change forms: the filter is cleared
ok 35 PhantomJS 1.9 - User filters submissions when they filter for spam: the filter is cleared
ok 36 PhantomJS 1.9 - User marks a submission as spam: redirects to the next submission
ok 37 PhantomJS 1.9 - User marks a submission as ham: toggles the spam state
ok 38 PhantomJS 1.9 - User pays for first form: creates their payment account and creates a subscription
ok 39 PhantomJS 1.9 - User transitions to another form: redirects to the most recent submission
ok 40 PhantomJS 1.9 - User transitions to another form the other form has no submissions: when they transition back to the original form, it redirects to the most recent submission
ok 41 PhantomJS 1.9 - User deletes a submission: they are redirected to the previous submission
ok 42 PhantomJS 1.9 - User views a form in sandbox: they see the sandbox warning
ok 43 PhantomJS 1.9 - User views a form with no spam: they do not see the toggle spam link
ok 44 PhantomJS 1.9 - User views a form with no submissions: they see the form setup page
ok 45 PhantomJS 1.9 - User views a form with only spam: they stay on the submission index page
ok 46 PhantomJS 1.9 - User views a form with spam: they do not see the spam initially
ok 47 PhantomJS 1.9 - User views a form with spam: they can toggle to see the spam
ok 48 PhantomJS 1.9 - User views a form with submissions: redirects to the most recent submission
ok 49 PhantomJS 1.9 - User views a form with submissions: they see the submission count
ok 50 PhantomJS 1.9 - User views a form with submissions: the submissions are sorted by date
ok 51 PhantomJS 1.9 - User visits a form that doesn't exist: displays a 404 page
ok 52 PhantomJS 1.9 - User views an unread submission when vist and leave the edit the form: does not trigger a confirm dialog
ok 53 PhantomJS 1.9 - User views dashboard: they see their email
ok 54 PhantomJS 1.9 - User views dashboard they have no forms: they are redirected to the new form page
ok 55 PhantomJS 1.9 - User views dashboard they have a form but have not visited any: they are redirected to the first form
ok 56 PhantomJS 1.9 - User views dashboard they have a visited another form: they are redirected to the form they last visited
ok 57 PhantomJS 1.9 - User views form data tab: the links are to the correct endpoints
ok 58 PhantomJS 1.9 - User toggles spam: redirects to the first submission if there is one
ok 59 PhantomJS 1.9 - User toggles spam: redirects to the submission index if there are no submissions
ok 60 PhantomJS 1.9 - User views the form setup page the form has submissions: they do not see the buttons to advance
ok 61 PhantomJS 1.9 - User views the form setup page the form has submissions: when they click the form they see the submissions
ok 62 PhantomJS 1.9 - User views the form setup page the form has no submissions: they see the buttons to advance to the next section
ok 63 PhantomJS 1.9 - User views the form setup page the form has no submissions: when they click the form they stay on the setup page
ok 64 PhantomJS 1.9 - User views the new form page they have no forms: they see a welcome message
ok 65 PhantomJS 1.9 - User views the new form page they have at least one form: they do not see a welcome message

1..65
# tests 65
# pass  65
# fail  0

# ok
/Users/Sean/.rbenv/versions/2.2.0/bin/ruby -I/Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/lib:/Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-support-3.1.2/lib /Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
/Users/Sean/src/my-app/frontend/Gemfile not found
/Users/Sean/.rbenv/versions/2.2.0/bin/ruby -I/Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/lib:/Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-support-3.1.2/lib /Users/Sean/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed

Rakefile:
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

MyApp::Application.load_tasks

task(:default).clear
task default: ["ember", :spec]
task "ember" => ["ember-cli:compile", "ember-cli:test"]

frontend/package.json:
{
  "name": "frontend",
  "version": "0.0.0",
  "description": "Small description for frontend goes here",
  "private": true,
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "scripts": {
    "start": "ember server",
    "build": "ember build",
    "test": "ember test",
    "postinstall": "node_modules/.bin/bower install"
  },
  "repository": "",
  "engines": {
    "node": ">= 0.10.0"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "bower": "*",
    "broccoli-asset-rev": "^2.0.0",
    "ember-cli": "0.1.15",
    "ember-cli-6to5": "0.2.1",
    "ember-cli-coffees6": "^0.1.3",
    "ember-cli-content-security-policy": "0.3.0",
    "ember-cli-dependency-checker": "0.0.7",
    "ember-cli-google-analytics": "1.2.0",
    "ember-cli-htmlbars": "^0.7.0",
    "ember-cli-ic-ajax": "0.1.1",
    "ember-cli-inject-live-reload": "^1.3.0",
    "ember-cli-jquery-ui": "0.0.13",
    "ember-cli-pretender": "0.3.1",
    "ember-cli-qunit": "0.1.2",
    "ember-cli-rails-addon": "0.0.11",
    "ember-cli-zero-clipboard": "1.0.2",
    "ember-data": "1.0.0-beta.12",
    "ember-export-application-global": "^1.0.0",
    "ember-moment": "^1.0.0",
    "express": "^4.8.5",
    "glob": "^4.0.5"
  }
}

I've reproduced the same issue in my env.

I can't reproduce it.

@rwz what ruby version are you running?

The latest.

@seanpdoyle What's going on with this issue? Does it still happen? Is there any progress tracking the cause? I still have no idea how to reproduce it.

@rwz I haven't looked it yet but I'll ping you

@rwz I can no longer reproduce this :cyclone:  :eyes: :cyclone:


feat: Support switching between http and https

Would be best to be done automatically, a naive method would be to try over HTTP and follow the HTTPS upgrade.
Future versions could skip this automatic upgrade by starting with the method how the proxy itself was invoked.

It would be suitable to honorx-forwarded-proto and otherwise default to HTTP.


Feature request: panasonic_viera.py needs more keys

Home Assistant release (hass --version):
0.41 docker
Python release (python3 --version):
Python 3.4.2
Component/platform:
media_player/panasonic_viera.py
Description of problem:
Can anyone implement/add more keys to https://github.com/home-assistant/home-assistant/blob/ecfe8e0a9a9f104fa5c37f37da37bf20b18b4fb0/homeassistant/components/media_player/panasonic_viera.py
For example from here:
https://github.com/florianholzapfel/panasonic-viera/blob/master/panasonic_viera/__init__.py
Expected:
Additional info:
Thanks

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:


[Doc Bugs] min_length in generation strategies

https://github.com/huggingface/trl/blob/28bdb6a3736b09f8bad7961f16852d052c74ae04/docs/source/how_to_train.md?plain=1#L32
I think it should be the opposite? Low log prob for EOS token and high log probs for others until min_length is reached

I think that you are right, would you be happy to address the fix through a PR? 🙏
cc @lvwerra @vwxyzjn in case I am mistaken

#1003 just opened a pr here

Thanks! Requested other TRL maintainers for review 🙏

no this is correct: the EOS token is ignored during decoding with the min_length kwarg, so the model can concentrate all probability distribution on that token and it still won't be chosen. thus all other tokens have a very low probability and when compared to the reference model you will get negative KL-div.


Adding support to execute scripts or commands

This should fix bug #4
BTW, sorry for the noise on the commit but I have Emacs following PEP8 by default :worried:

Why not remove all the code style changes to make it easier to merge your specific change? For future reference, you could have used git add -p to selectively stage just the applicable changes while leaving out all of the code style changes.

Done.
El jueves 29 de septiembre del 2016 a las 1359 horas, Matthew escribió:

Why not remove all the code style changes to make it easier to merge your specific change? For future reference, you could have used git add -p to selectively stage just the applicable changes while leaving out all of the code style changes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

--
👋 Pax et bonum.
Jorge Araya Navarro
https://es.gravatar.com/shackra


7.?.x-dev notation for all branches

On projects with more than one branch, only the latest one seems to get that special notation. For example see http://drupal-packagist.webflo.io/packages/drupal/master . The notation 7.2.x-dev seems to be missing for that project.
In adition, I wonder if there is better composer/semver-like notation to use in general.

Hmmm, not sure what changed but 7.2.x-dev and 7.3.x-dev is visible on http://drupal-packagist.webflo.io/packages/drupal/master

I guess you fixed something, while we where talking in IRC. Works for some time already.

Maybe it was the change from https://github.com/webflo/packagist/commit/ee0c3a07bcf141cf12c31773f01e9d229bb821cf


Added Tangen domain and updated Agderskolen description.

The Aust Agder and Vest Agder county in Norway has been combined and is now called Agder. All highschool studens in this new county are now included in this domain.
Tangen is located in Agder. The tangen domain is exclusivly for the employees of Tangen highschool. Our students is part of hte Agderskolen domain.

@MrSpectralon Thank you very much for the clarifications and your patience while waiting for a review and processing your request. Pull request merged.


What is the definition of assemble in the report.tsv?

Hi, I just a bit confuse about what exactly an assemble in the report.tsv means?
I can understand that an assemble in the report file have multiple records, and those records share the same v, d, j region. But I am confuse about why records that share the same v, d, j  does not necessary means that they are the come from the same assemble.
For example,

those records share the same VDJC but come from different assembles?
Thanks for your reply~

In the Landscape of B cell immunity and related immune evasion in human cancers,  SHMs were defined as mismatches in B cell clusters.  So,  from report.tsv, How can I get CDR3s from a cluster? Does the CDR3s have the same assemble id (cid column) means that they come from the same cluster?


Conda forge fixes.

This PR adds a few updates to fix and stabilize the conda forge upload of ISOFIT. Changes include

Removal of ndsplines. This was the only package dependency that is not available on conda-forge. As a drawback, this deprecates the nds option from the LUT interpolator. However, all maintainers agreed on moving forward with this in the previous developer meeting.
Unpinning of protobuf (see #398).
Moving xxhash, ray, and tensorflow to conda section of environment_isofit_basic.yml.
Adding include_package_data = True to setup.cfg to ensure needed data and examples directories are included in package distribution according to the MANIFEST.in.

@pgbrodrick It would be good if you could merge this in, since it'll resolve some issues with the ISOFIT conda package (only after releasing a new version on PyPi of course). I don't expect any issues to occur, but if they do, I could work on them simultaneously to the problems David brought up yesterday.


Update meta.yaml

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: run: asttokens >= 2.0.4 should not contain a space between relational operator and the version, i.e. asttokens >=2.0.4
requirements: run: executing >= 1.1.0 should not contain a space between relational operator and the version, i.e. executing >=1.1.0
requirements: run: pure_eval >= 0.2.1 should not contain a space between relational operator and the version, i.e. pure_eval >=0.2.1
requirements: run: six >= 1.16 should not contain a space between relational operator and the version, i.e. six >=1.16
requirements: run: stack_data >= 0.5.1 should not contain a space between relational operator and the version, i.e. stack_data >=0.5.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


make a src layout the default in our cookiecutter-pyopensci template?

currently the template places source code in a folder with the project name in its root
should we instead have the default be a src/ code with the project folder inside that?
as described in
https://hynek.me/articles/testing-packaging/#src
and discussed in this issue
https://github.com/UBC-MDS/py-pkgs/issues/55
personally I prefer this approach for the two main reasons described in that Hynek post

it makes the project un-importable from root

which makes it much more likely you are running tests on the installed version (that you actually want to test)
instead of whatever code is currently in the root of your project (probably the last commit on the "bleeding edge" dev branch, esp. if you are a solo coder without 12 release branches)

it just makes the structure of the whole project repo more readable:

doc, src, tests <-- all are explicit, you don't have to "infer" which one is the source code. And this will be consistent across projects (the source code is always "src")

I think that is a good idea.
do you know if there is any PEP about this topic?
maybe we could add an option for that, something like: "source_folder": ["src", "<PROJECT_NAME>"]

me again. i love all of this  input.  I think we need to early on  define our  governance  structure for making decisions like this.  i know a lot of people don't currently use this approach.  Do  we have it here but it is suggested? does it become a standard that we enforce in our peer review? governance and process for  vetting and accepting new  standards I think will need to be discussed soonish before  we start making too many decisions!  all great  discussion and points however!!

curious - does this assume that  tests are being run on the package directly rather  than in an environment with  the  dev version of the  package installed? it hadn't occurred to me until  just now to consider where the tests are being run when you for instance run CI. if it is running on the  directory  rather  than in the environment that is absolutely problematic!
Your tests do not run against the package as it will be installed by its users. They run against whatever the situation in your project directory is.

But this is not just about tests: the same is true for your application. The behavior can change completely once you package and install it somewhere else.

I think it doens't happen always but it can happen according the way you import stuff. IIRC the working directory has high priority in the PATH when you call a python script.

me again. i love all of this input. I think we need to early on define our governance structure for making decisions like this. i know a lot of people don't currently use this approach. Do we have it here but it is suggested? does it become a standard that we enforce in our peer review? governance and process for vetting and accepting new standards I think will need to be discussed soonish before we start making too many decisions! all great discussion and points however!!

totally understand and agree.
hope we can discuss and make sure we include other viewpoints

curious - does this assume that tests are being run on the package directly rather than in an environment with the dev version of the package installed? it hadn't occurred to me until just now to consider where the tests are being run when you for instance run CI. if it is running on the directory rather than in the environment that is absolutely problematic!

I think @xmnlab is right that "it's complicated"
More detailed explainer here in this post that Hynek links to:
https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-structure

Friends - i'm closing  all of the open issues given we have a complete redo of the template now!! And guess what - we are using the src/ dir in it so no worries there 🚀 Thank you all for this discussion!! and please reopen this if i'm closing in error.


Skype not working when switching back to v1

I was testing out v3 and migrated my bot. But due to unavailability of skype application, I reverted back to v1. But now the skype channel is no more working whereas facebook channel works. Also I am not able to open my application here. It is just showing following message.

I tested out using ngrok and the messages are not coming to my bot through skype.

+1

The same for me. Also, e-mail Office 365 is not running.
All the other channels are running well (it was necessary to resubmit Telegram key).

Closing this issue. @ankitbko - please open a new issue if this issue is not fixed and needs further discussion. Thanks!


[BUG]

PnP Search WebParts
PnP Search webparts are not in responsive design on large screens resolution
Expected behavior
These PnP Search webparts should be responsive design on large screens, and there should not be blank space on large
screen resolution
Actual behavior
There are lot of blank space in right side of page in the large screen with PnP Search Webparts
Steps to reproduce behavior

What is the version of the PnP Web parts
SPFx package version: 3.13

Hi @in8sanjc , please create the issue in this repository :
https://github.com/microsoft-search/pnp-modern-search/issues
This repo is for PnP PowerShell related issues

Closing this and will create in right place for PnP Modern Search Community.


Proposal : Union types get imported the same way as type aliases

In Vector.elm, suppose you change
type alias Vector = { x : Float , y : Float }

to
type Vector = Vector Float Float

then, in some other file using Vector.elm, for example, Matrix.elm, you'll need to change
import Vector exposing (Vector)

to
import Vector exposing (Vector (..))

My proposal: both cases should look like this
import Vector exposing (Vector)

This is a small nitpick and can lead to confusion. This has already happened to me but with much larger record types where I had to turn them into union types because the type suddenly became recursive.
I think that this is one of those things from Haskell that make no sense. If you want to use the Union Type unqualified, just expose it. If you don't want to use the Union Type unqualified, don't expose it. Why have these mutliple levels of exposure? (Not exposed, fully exposed, only the type annotation is exposed but not the constructor). Sure, there may be some syntactic convenience, but I find it unnecessary and needlessly confusing.

Being able to expose a union type but not its tags is how you create an opaque type. It's used all the time: the red-black tree behind the Dict library. My Socket.io library exposes the type but not the constructor of type Socket = Socket because underneath it's actually the native JS object. In a DSL, you can expose the type but hide the tags to be able to add new tags without a major release. And so on...

Max, what you are talking about is hiding stuff on export. Hassan is talking about imports. For example, the Dict type is only opaque since the library does not export the constructors. If the library did export the constructors, trying to "hide" them on import would not be very useful as a "safety net". Since even with
import Dict exposing (Dict)

instead of
import Dict exposing (Dict(..))

one wouldn't really have hidden away the constructors. They would still be available in qualified form Dict.Node or whatever, instead of just Node.
So: "opaqueness" etc. is not the answer to Hassan's question about why imports come in the above two flavours.

Yup, it's only about imports. The thing is that I only ever think of union types as types, not as collections or unions of constructors. And, in that light, it feels weird to have to import union types and type aliases.
That said, as an aside, it would be interesting to treat opaque types differently. They have their place and it may be valuable to have a declarative way to say that they're opaque.
For example
opaque type Html = Html

And you can only use that constructor in the same file as the definition of the type. I think this is better than remembering or not to write (..) in the module statement.
Although, this is just an aside and has nothing to do with the main point of this thread which is dealing with type aliases and union types in the import statement.

Another comment: The earlier remark about this coming from Haskell (and making not much sense) is not really applicable. The situation in Haskell is different since if you write
import Dict (Dict)

in Haskell, then you do completely hide away the constructors (not just their unqualified names). So in Haskell, you can actually make a type opaque on import. The constructor Dict.Node will not be available in the importing module, under no name whatsoever, even if the exporting module exports the constructor.
The difference in Elm comes from the fact that an import always brings into scope all the definitions from the imported module, albeit in qualified form. That is a new thing that came with Elm 0.15, and I wonder whether in the course of that change it was overlooked that making a difference between importing Dict and importing Dict(..) ceases to make much sense (because the constructors will be imported anyway, just with their qualified name).
Anyway: As said, the situation in Haskell is different, since you can actually completely hide constructors (not just their unqualified names) at the import side.

This is exactly why it has started to trip me. The fact that Elm has added the exposing keyword brings new expectations. There is an assumption that exposing exposes stuff. The idea that you can still hide stuff with exposing is weird (by not including the dot-dot).
Now, with Elm, I'm much more encouraged to use qualified functions and types, even with union type constructors, and I feel fine doing that with the name of the import.
For example
import MyButton
...

-- somewhere in the code
   case action of
     MyButton.Click -> ...

     MyButton.NoOp -> ...

On the other hand, with Haskell, it just feels easier to just import everything and just use Click and NoOp unqualified.

Janis, thank you for pointing that out. Sorry for the confusion.
Okay, on import... what if you imported two modules with a NoOp tag/constructor? Then the unqualified version would be ambiguous and you'd have to qualify it.

The idea that you can still hide stuff with exposing is weird (by not including the dot-dot).

Correct me if I'm wrong, but each of the following should import a strict superset of unqualified symbols compared the the previous one:

import MyButton
import MyButton exposing (Action)
import MyButton exposing (Action(..))

So you're not really hiding it, you're more not showing it.

So you're not really hiding it, you're more not showing it.

???
My mind is melting from this statement

Okay, on import... what if you imported two modules with a NoOp tag/constructor?

import MyButton
import MyCheckbox

....

type Action
  = ButtonAction MyButton.Action
  | CheckboxAction MyCheckbox.Action

....

update : Action -> State -> State
update action state =
  case action of
    ButtonAction buttonAction ->
       case buttonAction of
           MyButton.NoOp -> ...

           ...

    CheckboxAction checkboxAction ->
       case checkboxAction of
          MyCheckbox.NoOp -> ...

If there are multiple NoOp constructors, just qualify them with the module name.

But I think Max has a point here. Yes, you can always qualify with the module name. You shouldn't be forced to, though. Maybe you do import the MyButton.Action and MyCheckbox.Action types (actually, let's say that the relevant type in MyCheckbox has some other name OtherType), but you know you will only ever need to pattern match on MyButton.Action values (whereas MyCheckbox.OtherType values will only ever be passed around in your module). Then you want to be able to say
import MyButton exposing (Action (..))
import MyCheckbox exposing (OtherType)

to be able to use the constructors of MyButton.Action directly.
You could say that one shouldn't be able to do this, that one should even in that situation use the qualified names of MyButton.Action constructors. But that would be equivalent to depriving the programmer of the option to use, for example, List.map unqualified if the programmer knows that in a given module no other map is used. In spirit, the above does what
import List exposing (map)
import Array

does. This will allow the programmer to use map to mean List.map. (While Arrow.map would still be available in case it turns out to be needed.) Saying above that the programmer shouldn't be able to import MyButton.Action.NoOp unqualified but MyCheckbox.OtherType.NoOp only qualified is like saying here that the programmer shouldn't be able to import List.map unqualified but Array.map only qualified.
So, all in all, I think that the current Elm situation makes good sense.

So I had one more idea, and that is, what if you want an opaque type alias? For example, a hidden record type, but you want people to be able to write their type annotations? Then you might want to do the same thing as a union type, writing myThing(..) to expose the implementation and myThing to just export the type.
I see that Forms are just aliases but you don't see them in type error messages, though that may be at the error reporting level. Oh interesting, you can actually use record updates on forms. And if Evan wanted to change them that would be a major release.
Yeah, I guess this is just a fundamental difference between union types and type aliases. You can't hide aliases because they're made from types the other library already has access to. If you want to hide a record, make it a union with one tag.
Yeah, I think how it works now makes sense.

Yes, hiding a record type should be done by putting it into a union type with only one tag.
And yes, it is rather strange that Form is not properly encapsulated, but instead is an alias for a record type whose fields are not documented anywhere.

See https://github.com/elm-lang/core/issues/283.

I think the problem is that you sometimes do not want all the tags to be available unqualified. So if you say:
import Either exposing (Either)

You are saying you want to be able to mention the Either type, but still need to say Either.Left and Either.Right in the code.


openai-whisper-cpp: 1.4.0 -> 1.4.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/whisper-cpp/versions.
meta.description for openai-whisper-cpp is: Port of OpenAI's Whisper model in C/C++
meta.homepage for openai-whisper-cpp is: https://github.com/ggerganov/whisper.cpp
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4.2 in filename of file in /nix/store/iy5xfdkffwnbi4dpnbr4cw6x60xrs1lx-whisper-cpp-1.4.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
openai-whisper-cpp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/iy5xfdkffwnbi4dpnbr4cw6x60xrs1lx-whisper-cpp-1.4.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/f5701c559273a46f0c8d172f6e32b7b9baabc89f#openai-whisper-cpp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/iy5xfdkffwnbi4dpnbr4cw6x60xrs1lx-whisper-cpp-1.4.2
ls -la /nix/store/iy5xfdkffwnbi4dpnbr4cw6x60xrs1lx-whisper-cpp-1.4.2/bin

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

1 package built:

openai-whisper-cpp

Maintainer pings
cc @dit7ya @hughobrien for testing.

Agreed, we can roll back if necessary.


Farcasterd: Warm-up phase

DO NOT MERGE YET, THIS NEEDS TO BE DISCUSSED FIRST
The changeset in this PR removes the pending requests in farcasterd currently used for retrieving the peerd keys and instead caches the keys after they are retrieved from walletd on startup. While the keys have not been retrieved yet, or the required services are not up yet make and take swap will fail and report the failure to the cli.
I realize a lot of engineering effort went into ensuring that the service is addressable immediately and we don't have these kind of checks, but hear me out here.
In order to support Tor for makers / listeners in a user friendly manner, farcasterd has to create a Tor hidden service once at startup. Additionally, this would involve moving the bind and public addresses from the make command to the arguments used by farcaster on startup to ensure the user does not leak his connection by accidentally binding on a non-Tor Ip. Since this move would include waiting for the Tor hidden service to start up as well, I was thinking that adding this short period on startup where the required data has to be retrieved is acceptable, especially since there are some assumptions about the service running already.
Accepting this commit will also mean that there eventually will only be single static bind address that can be used at a time.

no need to update, I understood the sequence

Updated anyway, since it was incorrect.

Regarding the tradeoffs mentioned in @zkao comment I'm ok for now. The peer secret is the most annoying but we'll have to rework it if we change the noise protocol I guess, so I think we can delay the issue.

    Before farcasterd didn't hold the peer_secret_key directly, just the wallet token to get it, now it does
    Before multiple node_ids could be used, now only one

@zkao yes, this indeed means one identity per farcasterd. It also means that I can further simplify farcasterd in follow-up PR's. The collection of NodeIds and bound addresses can be removed entirely, since there is only going to be one possible peerd listener after this.

DO NOT MERGE YET, THIS NEEDS TO BE DISCUSSED FIRST

merging since we've discussed the PR quite a bit, are all fine with || approve of the tradeoff being made, and I'm guessing you just forgot to update this ;)


Run "ng serve" independently section incomplete

After having followed the instructions under the "Run "ng serve" independently section incomplete" section, my angular app is unable to communicate with the API. Requests from the Angular app aimed at the API are directed towards the http://localhost:4200/ domain. I assume there is some configuration required in the Angular project, but I can't see that in this documentation.

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

ID: 32a18270-91cd-2a02-2eb8-2c8b1ed03737
Version Independent ID: c58d57e5-a0c2-201d-f6dd-076ad5971fcb
Content: Use the Angular project template with ASP.NET Core
Content Source: aspnetcore/client-side/spa/angular.md
Product: aspnet-core
Technology: aspnetcore-clientside
GitHub Login: @SteveSandersonMS
Microsoft Alias: stevesa

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Potential bugs in the ASP.NET Core framework and product feedback can be reported at dotnet/aspnetcore issues (include full repro steps and cross-link to a repro project in GH when appropriate). For Visual Studio, use the Report a Problem gesture or Suggest a Feature gesture within VS, which open internal issues for the VS team. For Visual Studio Code, you can open an issue at microsoft/vscode issues.


Template cleanup : Update vm_template table to set template as removed on deletion

Description
Addresses: https://github.com/apache/cloudstack/issues/4470
This PR fixes the issue noticed while deleting a template in a zone and also adds cleanup, in order to remove such templates left behind.  The following is currently observed currently:
In a Zone with only 1 store:

when a template (private/public) is deleted, the template is marked as Inactive, but not removed
In a Zone with > 1 store:
when a private template is deleted, the template is marked as Inactive, but not removed. For eg, after deletion, the following is observed:

MariaDB [cloud]> select id,type,name,uuid,format,public,size,state,created,removed from vm_template where id =204\G
*************************** 1. row ***************************
     id: 204
   type: USER
   name: template-private-2storesZone
   uuid: d899e386-fd23-4c8b-9834-9cac9cd6febe
 format: QCOW2
 public: 0
   size: 52428800
  state: Inactive
created: 2021-03-04 06:09:22
removed: NULL
1 row in set (0.00 sec)

MariaDB [cloud]> select id,template_id,store_id,created,state,size,store_role,install_path from template_store_ref where template_id =204\G
*************************** 1. row ***************************
          id: 18
 template_id: 204
    store_id: 1
     created: 2021-03-04 06:09:22
       state: Destroyed
        size: 52428800
  store_role: Image
install_path: template/tmpl/2/204/1ba40914-9eba-33de-93b0-8c05ea6fc753.qcow2
1 row in set (0.01 sec)

When a public template is deleted, the templates are set as destroyed on the secondary store (template_store_ref), but it continues to be marked as Active in the vm_template table. For example, On deletion:

MariaDB [cloud]> select id,type,name,uuid,format,public,size,state,created,removed from vm_template where id =205\G
*************************** 1. row ***************************
     id: 205
   type: USER
   name: template-public-2storesZone
   uuid: 25cbaa26-d114-46d7-8285-cb1180fb5cee
 format: QCOW2
 public: 1
   size: 52428800
  state: Active
created: 2021-03-04 06:11:52
removed: NULL
1 row in set (0.00 sec)

MariaDB [cloud]> select id,template_id,store_id,created,state,size,store_role,install_path from template_store_ref where template_id =205\G
*************************** 1. row ***************************
          id: 19
 template_id: 205
    store_id: 2
     created: 2021-03-04 06:11:52
       state: Destroyed
        size: 52428800
  store_role: Image
install_path: template/tmpl/2/205/848ef57e-80a3-3b79-a8c9-a7ef7316165a.qcow2
*************************** 2. row ***************************
          id: 20
 template_id: 205
    store_id: 1
     created: 2021-03-04 06:11:52
       state: Destroyed
        size: 52428800
  store_role: Image
install_path: template/tmpl/2/205/40db7f18-3d06-3527-b7f3-6db5811a3121.qcow2
2 rows in set (0.01 sec)

Notice template still appears Active when destroyed on secondary store
Post fix: On deletion of a public template registered in a zone with > 1 image store (here, 2)
MariaDB [cloud]> select id,type,name,uuid,format,public,size,state,created,removed from vm_template where id =208\G
*************************** 1. row ***************************
     id: 208
   type: USER
   name: template-public-2storesPostFix
   uuid: 2e60aba8-4daf-4dee-9626-d78ccaeca158
 format: QCOW2
 public: 1
   size: 52428800
  state: Inactive
created: 2021-03-04 07:14:37
removed: 2021-03-04 07:16:01
1 row in set (0.00 sec)

MariaDB [cloud]> select id,template_id,store_id,created,state,size,store_role,install_path from template_store_ref where template_id =208\G
*************************** 1. row ***************************
          id: 24
 template_id: 208
    store_id: 1
     created: 2021-03-04 07:14:37
       state: Destroyed
        size: 52428800
  store_role: Image
install_path: template/tmpl/2/208/38b47a1b-7e92-3851-952b-99b9e898b268.qcow2
*************************** 2. row ***************************
          id: 25
 template_id: 208
    store_id: 2
     created: 2021-03-04 07:14:37
       state: Destroyed
        size: 52428800
  store_role: Image
install_path: template/tmpl/2/208/8f30693b-c3a7-3f68-be23-dc3f0ced082e.qcow2
2 rows in set (0.00 sec)

With this patch, when the cleanup job is triggered, it also cleans up all templates that are marked as Inactive but not removed (reduced the cleanup interval by modifying the following global settings: storage.cleanup.interval and storage.cleanup.delay)
MariaDB [cloud]> select id,type,name,uuid,format,public,size,state,created,removed from vm_template where id in (202, 203, 204, 205)\G
*************************** 1. row ***************************
     id: 202
   type: USER
   name: template-private
   uuid: 195264b5-65e9-41ba-9c65-c992c5f34046
 format: QCOW2
 public: 0
   size: 52428800
  state: Inactive
created: 2021-03-04 05:47:30
removed: 2021-03-04 07:07:54
*************************** 2. row ***************************
     id: 203
   type: USER
   name: template-public
   uuid: e8039473-25c2-4254-b4fb-25b74ea6ef44
 format: QCOW2
 public: 1
   size: 52428800
  state: Inactive
created: 2021-03-04 05:58:26
removed: 2021-03-04 07:07:54
*************************** 3. row ***************************
     id: 204
   type: USER
   name: template-private-2storesZone
   uuid: d899e386-fd23-4c8b-9834-9cac9cd6febe
 format: QCOW2
 public: 0
   size: 52428800
  state: Inactive
created: 2021-03-04 06:09:22
removed: 2021-03-04 07:07:54
*************************** 4. row ***************************
     id: 205
   type: USER
   name: template-public-2storesZone
   uuid: 25cbaa26-d114-46d7-8285-cb1180fb5cee
 format: QCOW2
 public: 1
   size: 52428800
  state: Inactive
created: 2021-03-04 06:11:52
removed: 2021-03-04 07:07:54

Also tested a scenario where in a template can be present in other zones as well. In such a case, when a public template is destroyed in a specific zone, the template is left as Active - if it present in other zones:
MariaDB [cloud]> select * from template_zone_ref where template_id = 212\G
*************************** 1. row ***************************
          id: 24
     zone_id: 1
 template_id: 212
     created: 2021-03-04 07:55:08
last_updated: 2021-03-04 07:55:08
     removed: 2021-03-04 07:57:11
*************************** 2. row ***************************
          id: 25
     zone_id: 2
 template_id: 212
     created: 2021-03-04 07:56:23
last_updated: 2021-03-04 07:56:23
     removed: NULL
2 rows in set (0.00 sec)

MariaDB [cloud]> select id,type,name,uuid,format,public,size,state,created,removed from vm_template where id =212\G
*************************** 1. row ***************************
     id: 212
   type: USER
   name: test-multizone
   uuid: 0ef1505a-8863-4728-87fd-cbb0c8884cc2
 format: QCOW2
 public: 1
   size: 52428800
  state: Active
created: 2021-03-04 07:55:08
removed: NULL
1 row in set (0.00 sec)

MariaDB [cloud]> select id,template_id,store_id,created,state,size,store_role,install_path from template_store_ref where template_id =212\G
*************************** 1. row ***************************
          id: 37
 template_id: 212
    store_id: 3
     created: 2021-03-04 07:55:08
       state: Destroyed
        size: 52428800
  store_role: Image
install_path: template/tmpl/2/212/18fe8ef9-565c-3cf0-b418-885bdd6ade55.qcow2
*************************** 2. row ***************************
          id: 38
 template_id: 212
    store_id: 1
     created: 2021-03-04 07:55:08
       state: Destroyed
        size: 52428800
  store_role: Image
install_path: template/tmpl/2/212/c4fada96-bf51-356d-b47a-3efb95e71f84.qcow2
2 rows in set (0.01 sec)

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Bug Severity

[ ] BLOCKER
[ ] Critical
[X] Major
[ ] Minor
[ ] Trivial

How Has This Been Tested?
Observations and tests mentioned above

@blueorangutan package

@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2864

@blueorangutan test

@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3649)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36750 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4748-t3649-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Smoke tests completed. 82 look OK, 4 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_04_rvpc_privategw_static_routes
Failure
237.79
test_privategw_acl.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
64.57
test_kubernetes_clusters.py

test_03_deploy_vm_wrong_checksum
Error
48.67
test_templates.py

test_01_migrate_VM_and_root_volume
Error
59.05
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
51.14
test_vm_life_cycle.py

@blueorangutan package

@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S]

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 189

@blueorangutan test

@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-205)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38360 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4748-t205-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Smoke tests completed. 83 look OK, 3 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestKubernetesCluster>:teardown
Error
70.92
test_kubernetes_clusters.py

test_03_deploy_vm_wrong_checksum
Error
49.66
test_templates.py

test_01_migrate_VM_and_root_volume
Error
73.31
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
52.90
test_vm_life_cycle.py

@blueorangutan package

@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 210

@blueorangutan package

@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 213

@blueorangutan test

@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-234)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38991 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4748-t234-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Smoke tests completed. 84 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestKubernetesCluster>:teardown
Error
73.12
test_kubernetes_clusters.py

test_01_migrate_VM_and_root_volume
Error
69.15
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
51.03
test_vm_life_cycle.py


"PlugUpdate"  as command line argument in neovim does not show progressbars

On Xubuntu 14.04
nvim +PlugUpdate
starts the updater, but it does not show progress bars.

Thanks for the report. I can also reproduce the problem with neovim 0.1.2.
@starcraftman can you look into this?

@junegunn I believe this is a dupe of #278, which has remained broken for a while. If I recall, it has to do with the difference in buffer append() behaviour of the python interface. We decided against a hack to vim-plug, and nobody including myself has yet made a patch to neovim's python interface.

@starcraftman Ah, sure. I forgot about that one.
:python import vim; vim.current.buffer.append("hello", len(vim.current.buffer))

still fails on the latest neovim. Hmm.

Closing as a duplicate of #278.

/cc @justinmk

The python-client repo has been getting some attention lately, though not by me. Things might improve soon.


VlcMediaPlayer.SetMedia() seems to have a race condition

I have an issue about Vlc.DotNet.
Generic information

Vlc.DotNet version : 3.0.0 dev 296
Vlc.DotNet project used : WPF
libvlc version : (x86/x64) + libvlc nuget package
.net version : 4.6.2
Project language : C#
Project build architecture :AnyCPU
Operating system : (Windows ...) (x64)

Summary
When calling MediaPlayer.SetMedia(uri) in a multitask application.  I intermittently (50/50 get a null reference error on this:
This line
With the dictionary being null.   I think the dictionary could use a full property with a private backing field to intitialize it when getting a null value to prevent this.

[x ] I confirm that my issue doesn't happen in VLC itself.

Made the pull request and it seems to resolve my issue.  I fixed it this way, but you could chain the constructors instead to make it work.

There is some lowlevel problem beyond this I am running into:
1>	mscorlib.dll!System.Collections.Generic.Dictionary<System.__Canon, System.__Canon>.this[System.__Canon].get(System.__Canon key)	Unknown1

Putting a lock around LoadedMedia accesses resolved the issue.   I will add the code to the PR.  Just for context, this is an issue when starting 9 video streams at the same time.


Remove duplicated wording reference to Docker Engine's legacy container links

This is a Bug Report
Remove duplicated wording reference to Docker Engine's legacy container links in the service page under the section environment variables
Problem:
Duplicated wording reference about the possibility to add variables compatible with Docker Engine's legacy container links feature

It also supports variables (see makeLinkVariables) that are compatible with Docker Engine's "legacy container links" feature.

And after Note commentary ...

Kubernetes also supports and provides variables that are compatible with Docker Engine's "legacy container links" feature. You can read makeLinkVariables to see how this is implemented in Kubernetes.

Proposed Solution:
Leave just 1
"Kubernetes also supports and provides variables that are compatible with Docker Engine's "legacy container links" feature. You can read makeLinkVariables to see how this is implemented in Kubernetes."
Page to Update:
https://kubernetes.io/docs/concepts/services-networking/service/

/language en

/assign

Whilst reviewing https://github.com/kubernetes/website/pull/44274, I concluded that this issue report isn't correctly reporting an actual bug. Kubernetes does support two kinds of environment variables that help you to discover Services.
/priority awaiting-more-evidence

Whilst reviewing #44274, I concluded that this issue report isn't correctly reporting an actual bug. Kubernetes does support two kinds of environment variables that help you to discover Services.

Then, @sftim ,

It also supports variables (see makeLinkVariables) that are compatible with Docker Engine's "legacy container links" feature.

and

Kubernetes also supports and provides variables that are compatible with Docker Engine's "legacy container links" feature. You can read makeLinkVariables to see how this is implemented in Kubernetes.

refer to different topics?

Here just 1 commentary about it, and in thisPR, although it's indicated the section that nothing new, the fragment

Kubernetes also supports and provides variables that are compatible with Docker Engine's "legacy container links" feature. You can read makeLinkVariables to see how this is implemented in Kubernetes.

is added --> Isn't it redundant ?

Ah OK. So this is a genuine issue, but I think the proposed fix may be wrong.
/triage accepted
/remove-priority awaiting-more-evidence
/priority backlog
/kind bug

Thanks @sftim
I close this issue, since the PR was already merged! 🚀


HTC Vive black screen in unity applications

Hi,
After downloading the DLL and configuring the OSVR Server as per instructions the HTC vive screens remain black when running simple Unity demos. The OSVR server starts correctly and acknowledges that a Vive is connected and calibrated (along with the 2 lighthouses and a controller), and indeed in the Unity Editor the HMD is tracked and the camera moves as expected when the Vive is moved. However, the HTC vive itself remains black.
I have the HTC vive dlls in the Plugins/Android/x86 folder, and I've checked the renderManager dlls are also present. What I've noticed is that when the scene is started, Unity shows an error in the console:
[OSVR-Unity] Failed to create RenderManager.
UnityEngine.Debug:LogError(Object)
OSVR.Unity.DisplayController:SetupRenderManager() (at Assets/OSVRUnity/src/DisplayController.cs:143)
OSVR.Unity.DisplayController:SetupDisplay() (at Assets/OSVRUnity/src/DisplayController.cs:176)
OSVR.Unity.DisplayController:Update() (at Assets/OSVRUnity/src/DisplayController.cs:317)
Has anyone tested the plugin in Unity?

You shouldn't have to add any Vive-related files to Unity - part of the purpose of OSVR is to make applications hardware independent. (Why are you putting files in the Android directory? Are you running the Vive from an Android device?)
Does the Render Manager D3D Present demo (included with the OSVR runtime installer) work on your Vive? It may be that you haven't quit steamvr all the way, or that your system doesn't support direct mode (or that you have a dual-GPU system which takes some coaxing to get Unity to handle correctly). In any case, the RenderManager example will provide access to much more useful debugging information.

@rpavlik thanks for the response.
(Apologies for the long response!)
My bad, I added the dll for the vive to the Plugins/x86 (not Android) folder as when I was configuring the same thing for the OSVR-Oculus it mentioned to place the dlls in that folder (I assumed it was the same case for Vive). I have tried removing it and the behaviour remains the same (Unity Editor tracks the headset but the Vive still prints black). Incidentally, the light status on the Vive is red all the way through.
I did try the RenderManager example but that did not work at all. I managed to copy the log output for various apps there:
RenderManagerD3DTest2D
[OSVR] Connecting to default (local) host
[OSVR] Client context initialized for org.opengoggles.exampleclients.TrackerCallback
[OSVR] Got connection to main OSVR server
[OSVR] Connection process took 1000ms: have connection to server, don't have path tree
[OSVR] Interface initialized for /controller/left/1
[OSVR] Could not resolve source for /controller/left/1
[OSVR] Interface initialized for /controller/right/1
[OSVR] Could not resolve source for /controller/right/1
[OSVR] Connecting to default (local) host
[OSVR] Client context initialized for com.osvr.renderManager
[OSVR] Got connection to main OSVR server
[OSVR] Got updated path tree, processing
[OSVR] Connected 0 of 0 unconnected paths successfully
[OSVR] Connection process took 47ms: have connection to server, have path tree
[OSVR] Interface initialized for /me/head
[OSVR] Constructed a TrackerHandler for com_osvr_Vive/Vive@localhost:3883 sensor 0
[OSVR] Successfully produced handler for /me/head
[OSVR] Interface initialized for /me/head
[OSVR] Interface initialized for /me/head
[OSVR] Display: HTC Vive/Vive PRE [Display descriptor note: This is a sample descriptor file only - please follow the instructions to use the ViveDisplayExtractor to generate a correct one for your device!]
[OSVR] Created an OSVR_DisplayConfigObject!
RenderManager::createRenderManager(): Got Display info from server (ignore earlier errors that occured while we were waiting to connect)
OSVRDisplayConfiguration::parse(): Using rgb point sample distortion.
OSVRDisplayConfiguration::parse(): ERROR: Couldn't open file HTC_Vive_meshdata.json!
createRenderManager: Could not parse /display string from server.
Could not create RenderManager
[OSVR] Client context shut down for org.opengoggles.exampleclients.TrackerCallback
vrpn_Endpoint::send_pending_reports():  select() failed.
Error (10093):  Either the application has not called WSAStartup, or WSAStartup failed.
.
vrpn_Connection_IP::send_pending_reports:  Closing failed endpoint.
vrpn_Connection::~vrpn_Connection: Connection was deleted while 2 references still remain.
vrpn_Endpoint::send_pending_reports():  select() failed.
Error (10093):  Either the application has not called WSAStartup, or WSAStartup failed.
.
vrpn_Connection_IP::send_pending_reports:  Closing failed endpoint.
vrpn_Connection::~vrpn_Connection: Connection was deleted while 5 references still remain.
EnableOSVRDirectMode
Attempting to enable DirectMode for HDK 1.3:
Success!
Attempting to enable DirectMode for HDK 1.2:
Success!
DirectModeDebugging
_OK, we opened the key!
No NVIDIA manual whitelist entry found. (Ideally, it should work fine like this for common displays...)
However, if the system has not been rebooted since the whitelist entry was removed, the previous whitelist behavior will still hold.
Getting number of VR-capable displays of type: OSVR (Early - SEN) (vendor ID hex 0xae4c)
No displays of this type reported.
Getting number of VR-capable displays of type: OSVR (Current - SVR) (vendor ID hex 0xd24e)
No displays of this type reported.
Getting number of VR-capable displays of type: Vuzix (vendor ID hex 0xf226)
No displays of this type reported._
I can see in the README file something regarding whitelisting the NVIDIA card (?), I have a single GPU NVIDIA GTX 980 with 365.10 drivers which seem to be higher than the ones required (361).
For the sake of completion, here is my server config file:
_{
"description": "This configuration supports video (so-called 'positional') and IMU fusion tracking, in addition to orientation-only tracking, with the OSVR HDK. It is configured for RenderManager applications in direct mode (portrait) on HDK 1.3 optics.",
"display": "displays/HTC_Vive.json",
"renderManagerConfig": "sample-configs/renderManager.direct.landscape.json",
"drivers": [{
"plugin": "com_osvr_VideoBasedHMDTracker",
"driver": "VideoBasedHMDTracker",
"params": {
"showDebug": false,
"includeRearPanel": true,
"headCircumference": 55.75,
"calibrationFile": "videotrackerCombinedCalibrationFile13.json"
}
}, {
"plugin": "org_osvr_filter_videoimufusion",
"driver": "VideoIMUFusion",
"params": {
"name": "HeadFusion",
"input": {
"imu": "/com_osvr_Multiserver/OSVRHackerDevKitPrediction0/semantic/hmd",
"faceplate": "/com_osvr_VideoBasedHMDTracker/TrackedCamera0_0/semantic/hmd/front"
},
"eyeHeight": 0,
"cameraIsForward": true
}
}]
}_
I can see some errors there, particularly the one referring to the HTC_Vive_meshdata display file (which I have as an optional display file; using it in the OSVR server config crashed my server).
Thanks in advance!

Yeah, looks like you've found some old documentation: no hardware plugins
should have you put anything in your unity plugins folder. If you find
where it says to do this, please file an issue. Unity is strictly a client,
and the hardware is strictly on the server side: putting hardware plugins
in a folder in Unity will have at best no effect at all.
The note that appears when the display descriptor is loaded gives me the
answer here: looks like you never finished installing the OSVR Vive plugin
properly. It has to generate two files based on your specific unit, with
absolute paths to where your server is. See the instructions in the OSVR
docs repo and be sure to do the display extractor step: that's the key one
you've missed.
On Thu, Jul 14, 2016, 4:20 AM Bundenth<EMAIL_ADDRESS>wrote:

@rpavlik https://github.com/rpavlik thanks for the response.
(Apologies for the long response!)
My bad, I added the dll for the vive to the Plugins/x86 (not Android)
folder as when I was configuring the same thing for the OSVR-Oculus it
mentioned to place the dlls in that folder (I assumed it was the same case
for Vive). I have tried removing it and the behaviour remains the same
(Unity Editor tracks the headset but the Vive still prints black).
Incidentally, the light status on the Vive is red all the way through.
I did try the RenderManager example but that did not work at all. I
managed to copy the log output for various apps there:
RenderManagerD3DTest2D
[OSVR] Connecting to default (local) host [OSVR] Client context
initialized for org.opengoggles.exampleclients.TrackerCallback [OSVR] Got
connection to main OSVR server [OSVR] Connection process took 1000ms: have
connection to server, don't have path tree [OSVR] Interface initialized for
/controller/left/1 [OSVR] Could not resolve source for /controller/left/1
[OSVR] Interface initialized for /controller/right/1 [OSVR] Could not
resolve source for /controller/right/1 [OSVR] Connecting to default (local)
host [OSVR] Client context initialized for com.osvr.renderManager [OSVR]
Got connection to main OSVR server [OSVR] Got updated path tree, processing
[OSVR] Connected 0 of 0 unconnected paths successfully [OSVR] Connection
process took 47ms: have connection to server, have path tree [OSVR]
Interface initialized for /me/head [OSVR] Constructed a TrackerHandler for
com_osvr_Vive/Vive@localhost:3883 sensor 0 [OSVR] Successfully produced
handler for /me/head [OSVR] Interface initialized for /me/head [OSVR]
Interface initialized for /me/head [OSVR] Display: HTC Vive/Vive PRE
[Display descriptor note: This is a sample descriptor file only - please
follow the instructions to use the ViveDisplayExtractor to generate a
correct one for your device!] [OSVR] Created an OSVR_DisplayConfigObject!
RenderManager::createRenderManager(): Got Display info from server (ignore
earlier errors that occured while we were waiting to connect)
OSVRDisplayConfiguration::parse(): Using rgb point sample distortion.
OSVRDisplayConfiguration::parse(): ERROR: Couldn't open file
HTC_Vive_meshdata.json! createRenderManager: Could not parse /display
string from server. Could not create RenderManager [OSVR] Client context
shut down for org.opengoggles.exampleclients.TrackerCallback
vrpn_Endpoint::send_pending_reports(): select() failed. Error (10093):
Either the application has not called WSAStartup, or WSAStartup failed. .
vrpn_Connection_IP::send_pending_reports: Closing failed endpoint.
vrpn_Connection::~vrpn_Connection: Connection was deleted while 2
references still remain. vrpn_Endpoint::send_pending_reports(): select()
failed. Error (10093): Either the application has not called WSAStartup, or
WSAStartup failed. . vrpn_Connection_IP::send_pending_reports: Closing
failed endpoint. vrpn_Connection::~vrpn_Connection: Connection was deleted
while 5 references still remain.
EnableOSVRDirectMode
Attempting to enable DirectMode for HDK 1.3: Success! Attempting to
enable DirectMode for HDK 1.2: Success!
DirectModeDebugging
_OK, we opened the key!
No NVIDIA manual whitelist entry found. (Ideally, it should work fine like
this for common displays...)
However, if the system has not been rebooted since the whitelist entry was
removed, the previous whitelist behavior will still hold.
Getting number of VR-capable displays of type: OSVR (Early - SEN) (vendor
ID hex 0xae4c)
No displays of this type reported.
Getting number of VR-capable displays of type: OSVR (Current - SVR)
(vendor ID hex 0xd24e)
No displays of this type reported.
Getting number of VR-capable displays of type: Vuzix (vendor ID hex 0xf226)
No displays of this type reported._
I can see in the README file something regarding whitelisting the NVIDIA
card (?), I have a single GPU NVIDIA GTX 980 with 365.10 drivers which seem
to be higher than the ones required (361).
For the sake of completion, here is my server config file:
_{
"description": "This configuration supports video (so-called 'positional')
and IMU fusion tracking, in addition to orientation-only tracking, with the
OSVR HDK. It is configured for RenderManager applications in direct mode
(portrait) on HDK 1.3 optics.",
"display": "displays/HTC_Vive.json",
"renderManagerConfig":
"sample-configs/renderManager.direct.landscape.json",
"drivers": [{
"plugin": "com_osvr_VideoBasedHMDTracker",
"driver": "VideoBasedHMDTracker",
"params": {
"showDebug": false,
"includeRearPanel": true,
"headCircumference": 55.75,
"calibrationFile": "videotrackerCombinedCalibrationFile13.json"
}
}, {
"plugin": "org_osvr_filter_videoimufusion",
"driver": "VideoIMUFusion",
"params": {
"name": "HeadFusion",
"input": {
"imu": "/com_osvr_Multiserver/OSVRHackerDevKitPrediction0/semantic/hmd",
"faceplate":
"/com_osvr_VideoBasedHMDTracker/TrackedCamera0_0/semantic/hmd/front"
},
"eyeHeight": 0,
"cameraIsForward": true
}
}]
}_
I can see some errors there, particularly the one referring to the
HTC_Vive_meshdata display file (which I have as an optional display file;
using it in the OSVR server config crashed my server).
Thanks in advance!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OSVR/OSVR-Vive/issues/18#issuecomment-232612600, or mute
the thread
https://github.com/notifications/unsubscribe/AADuyZomO81EnoSfJpb3dFfF2qBMG95zks5qVf9zgaJpZM4JLnT9
.

--
Ryan A. Pavlik, Ph.D.
CTO - OSVR Platform
Sensics, Inc.
www.sensics.com
--
Latest news and blog posts (subscribe here
http://sensics.com/subscribe-to-our-mailing-list/ to get weekly updates):
July 20: Conversation with Dio Gonzalez, Principal Software Engineer at
Unity Labs
http://sensics.com/vrguy-podcast-episode-19-dio-gonzalez-principal-software-developer-unity-labs/
July 19: Sensics and LaputaVR team up to provide OSVR support to LaputaVR
devices
http://sensics.com/sensics-laputa-vr-team-provide-osvr-support-laputa-vr-devices/
July 13: VRguy podcast: Shaun Williams, CEO of MAG games
http://bit.ly/29vCqIW


WIP: Enable SA1617: Void return value should not be documented

https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1617.md

reopening

Still draft?

Still draft?

Yes, I will need to manually review every change to ensure important comments are not deleted.

Closed, as I have no immediate plans to work on this.

@xtqqczze Thanks for your efforts! These comments are in bad shape and if you find time to improve them a little in the future I will always support you.

@iSazonov Thanks for the encouragement. This work will be easier if we merge #14405.


Graph Overview Improvements

"If you look at Obsidian - it is one of the most loved features over there."
The goal is to make it responsive, readable, filterable, & customizable.

Audit: Won't do - DG


doc/instances: Add section about raw.qemu.conf

ref: https://github.com/lxc/lxd/pull/10512#issuecomment-1152875317

This pull request didn't trigger Jenkins as its author isn't in the allow list.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.10539/

jenkins: test this please

Jenkins Found some typos
doc/instances.md:1273:33: "overriden" is a misspelling of "overridden"

I get caught out by this one often too 😀

Fixed the misspelling and made a few extra changes

jenkins: test this please


DuckDuckGo and Brave aren't on the compatibility table!

Could you please add DuckDuckGo and Brave to the compatibility table?
Summary

DuckDuckGo and Brave are such great privacy-focused tools.
It's a bit surprising they’re not included in the compatibility options.

Key Points

DuckDuckGo is all about keeping your searches private.
Brave is a fantastic browser that blocks ads and trackers.
Many users love them for their focus on online privacy.
Their absence might mean some users miss out on a more private experience!

Duplicate of #2749 and #6630

This is not a good idea and the opposite should happen https://github.com/Fyrd/caniuse/issues/7024


Fix a bug that was returned the key nodes_callbacks that was removed

The changes was made in the commit 4a953420e004385f6783b34ed43755e1e0c5ebd3.
First was removed in line 146 but had other change in 1024 that returned the key.

Wrong PR requested, please check 143

The problem occurs when I was changing my redis to redis cluster with pipeline.
In this part of the code I don't care about the transaction, when I tried the example below I received an exception.
with rds.pipeline(transaction=False) as pipe:
    pipe.incr('test:counter')
    ...

Exception:
...
  File "/home/user/.virtualenvs/sandbox/lib/python2.7/site-packages/rediscluster/client.py", line 1023, in pipeline
    nodes_callbacks=self.nodes_callbacks,
AttributeError: 'RedisCluster' object has no attribute 'nodes_callbacks'

Checking for the problem, I saw that has not reference about it anymore and in the blame I saw the commit 4a95342

@Ozahata Sounds good, i will take a look at the fix and see if i can replicate your issue before i merge this.

@Ozahata To fix the broken tests, you just need to pull down my latest changes in unstable branch where i fixed the issue and then rebase you branch ontop of those changes and push your branch again.

Coverage remained the same at 86.949% when pulling 7619b57edc2806a6ff69e0157c4d2809a4676a99 on Ozahata:unstable into f2df6b8cd34bc5d042b70e5151be46a788b53574 on Grokzen:unstable.

@Ozahata No you should not merge the remote tracking branch unstable into your branch.

@Grokzen Sorry for my misunderstood

Coverage remained the same at 86.949% when pulling 7949ed3a6d753b5ab0584a76c738749eccff1925 on Ozahata:unstable into f2df6b8cd34bc5d042b70e5151be46a788b53574 on Grokzen:unstable.

@Ozahata Hi. I manually merged this into usntable and i also added a regression test for the code you provided above. I also added a line in the change-log file mentioning the fix. I added your name to that fix because you commited the fix. If you want to change the name on that line to something else, feel free to open up a new PR with whatever name you desire.


請問是否有模型預訓練權重可以提供引用? 謝謝您!

Yes, of course. I will organize the pre-trained models these days and release them in a few days.

Thanks a lot.

Hi, we have released the pre-trained models, see onedrive


Added a 3D-flip button

I have added a 3D-flip button.

Seems fine, Merging this PR under issue #1


yamlinc fails in unrecognized tag

Analize : template-api.yaml

Problem : Error on file 'template-api.yaml' unknown tag !<!Ref> at line 32, column 27:
- !Ref Environment
^
Compile : template-masterdata-api.inc.yaml

This is aws sam logic and it shouldn't fail.

The issue comes from the js-yaml lib used to parse the file. The ! is used as a prefix for special tags by this lib.
Alternatively, "Spruce" https://github.com/geofffranks/spruce is a yaml processor allowing to merge files by using (( load "./cloudFormationDefinitions/LambdaFunctionIAMRole.yaml" )) tag to include a file in another one.

for instance, if you have
 InstanceId: !Ref MyEC2Instance
Use the alternative syntax
InstanceId:
   Ref: MyEC2Instance

The same alternative synctax can be use for every !XXX operator, see
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html


Getting net::ERR_ABORTED 429 from YouTube iframe

Current Behavior
GET https://www.google.com/sorry/index?continue=https://www.youtube.com/iframe_api&q=EgTQYsTCGL_RgvEFIhkA8aeDSyLhUWkq-8ef3f0lqFHuXs9f6QB-MgFy net::ERR_ABORTED 429
The player has been working fine but suddenly started getting this issue. The 429 status seems to indicate an excess of requests to the iframe API and i'm not sure if there is a workaround for this or something is wrong with my code
Expected Behavior
Once onReady prop is fired, callback should place a scroll event listener and once a user scrolls on the page, playing variable in state is set.
Steps to Reproduce
import React from 'react';
import YouTubePlayer from 'react-player/lib/players/YouTube';
import { PlayerWrapper, MediaWrapper } from './styles';

class VideoPlayer extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      playing: false,
      isMounted: false
    }
  }

  componentDidMount() {
    this.setState({ isMounted: true });
  }

  componentWillUnmount() {
    this.setState({ isMounted: false });
    this.detachEventListener();
  }

  attachEventListener = () => {
    window.addEventListener('scroll', this.setPlaying);
  }

  detachEventListener = () => {
    window.removeEventListener('scroll', this.setPlaying);
  }

  setPlaying = () => {
    this.setState({ playing: true })
  }

  render() {
    const { playing } = this.state;
    return (
      <MediaWrapper>
        <PlayerWrapper>
          <YouTubePlayer
            className='react-player'
            url='https://www.youtube.com/watch?v=vRJOn0g0CEc'
            onReady={this.attachEventListener}
            playing={playing} width={'100%'} height={'100%'}
            controls={true}
          />
        </PlayerWrapper>
      </MediaWrapper>
    );
  }
}

export default VideoPlayer;

Environment

URL attempting to play: https://www.youtube.com/watch?v=vRJOn0g0CEc
Browser: Google Chrome
Operating system: Windows 10 Pro
jsFiddle example:
player.txt

Other Information
FYI I get that same console error even when I copy the direct code sample from NPM for this package and try to run it.

@windevkay windevkay were you able to resolve this issue?

@TonyKim0627 nope. The package wasn't the issue though, it was from YouTube. By the next day everything was working fine again.


Better explanation of why not to use ID as your unique key.

Customers were confused over the description of why you shouldn't use the object ID as the unique key in a published OData entity.
This provides a more business-oriented reason,

Agreed with Clyde - publishing.


Added test for DialTimeout

Added test for DialTimeout, to address the concerns at https://github.com/miekg/dns/pull/526 .
The test currently makes a network call to a TCP port configured to drop packets, as it is not easy to simulate in an isolated manner a connection timeout on Travis-CI.

...aaand the GCE-based testing environment does not support IPv6, cannot test with sudo (to run iptables) and use ::1 to listen for tests

In other words, I cannot use both sudo and test IPv6 on Travis-CI :(

@miekg given that I can't easily test the timeout case, I'd rather at least test the non-timeout case as suggested by @fastest963 in https://github.com/miekg/dns/pull/526 . I will update this PR, then I'll open an issue for the testing infra as you suggested

worth merging or dropping?

Re. what we are testing here: only the successful queries, so basically not testing the timeout expiry. Unfortunately as we discussed above the current testing infra doesn't let us easily/cleanly test the negative case. But at least this positive case would have caught the bug in #526 so I feel there's still some value added

Ack. But as such I don't think this adds anything.
On Oct 13, 2017 17:43, "insomniac"<EMAIL_ADDRESS>wrote:

Re. what we are testing here: only the successful queries, so basically
not testing the timeout expiry. Unfortunately as we discussed above the
current testing infra doesn't let us easily/cleanly test the negative case.
But at least this positive case would have caught the bug in #526
https://github.com/miekg/dns/pull/526 so I feel there's still some
value added
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/pull/531#issuecomment-336505489, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAVkWzBgiodrBIpAoTRsHnmAmvujW1TSks5sr5NIgaJpZM4PstyI
.

So better dropping it? This would still increase coverage and test a case that we failed to catch earlier, but I'm not going to fight for it :)


gnome3.gnome-keyring fails test suite on i686

I recently tried to install NixOS with gnome on a i686 machine, but ran into trouble when gnome-keyring would not pass its test suite. The issue does not seem to exist on x86-64.  The issue exists in both recent versions of nixos-18.09 as well as master:
ERROR:pkcs11/gkm/test-data-der.c:639:test_write_pkcs8_encrypted: assertion failed: (res == GKM_DATA_SUCCESS)
FAIL: test-data-der 18 /gkm/data-der/write_pkcs8_encrypted
ERROR: test-data-der process failed: 250

ERROR:pkcs11/gnome2-store/test-gnome2-private-key.c:147:test_save_private_key: assertion failed: (gkm_data_der_read_private_pkcs8_crypted (data, "booo", 4, &sexp) == GKM_DATA_SUCCESS)
FAIL: test-gnome2-private-key 2 /gnome2-store/private-key/save
ERROR: test-gnome2-private-key process failed: 250

The test suite sometimes fails on x86_64 as well: https://github.com/NixOS/nixpkgs/pull/45950#issuecomment-438295424

I'm taking the fact that #55293 was closed by 884f7ad3cf87455b283ba0a47a9e873bb84ced7b as justification for closing this one as well (especially since comments late in that thread note that other distros disabled or didn't count these tests). Happy to reopen if anyone thinks I'm overreaching :)


Not able to checkout with different shipping address.

Framework Version: 0.1.1
Getting no response when click on Continue after entering different shipping address.

Issue Fixed.
Framework Version : 0.1.2


Develop->Master

Let's bring develop into master and then update the submodules in rzv2l & rzg2l repos accordingly

I will just merge develop to master and let's not use a pull request for this.


chore(infra/biome): enable noConstEnum

Summary
Related to #7182

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

The rule that caused large changes has been opened, and the remaining rules can be opened in batches

agree