Documentation issue

in url (https://cloud.google.com/kubernetes-engine/docs/how-to/exposing-apps), the name of the pods are incorrect and lead to confusion.
Here is a manifest for a Deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-deployment
spec:
selector:
matchLabels:
app: metrics
department: sales
replicas: 3
template:
metadata:
labels:
app: metrics
department: sales
spec:
containers:
- name: hello
image: "gcr.io/google-samples/hello-app:2.0"
Copy the manifest to a file named my-deployment.yaml, and create the Deployment:
kubectl apply -f my-deployment.yaml
Verify that three Pods are running:
kubectl get pods
The output shows three running Pods:
NAME                              READY     STATUS    RESTARTS   AGE
service-how-to-76699757f9-h4xk4   1/1       Running   0          4s
service-how-to-76699757f9-tjcfq   1/1       Running   0          4s
service-how-to-76699757f9-wt9d8   1/1       Running   0
In

Hello, thank you for raising this issue. The Exposing Apps doc is now updated to reflect the correct my-deployment name: https://cloud.google.com/kubernetes-engine/docs/how-to/exposing-apps
I'm going to close this issue. Thanks!


filter-as-set not working when only peer ASN is in the specified AS-set

Describe the bug
When filter-as-set is set to true, generation of the configuration fails with an error message of FATA[0001] peer has filter-as-set enabled but no members in it's as-set if only the peer's ASN is in the AS-set without any others present.
Environment
Pathvector 6.3.2
Built c35220bf121f366ff05a51d93c6236e8c324d682 on 2023-06-11T07:03:14Z
No plugins
BIRD: ready.

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian

To Reproduce
Steps to reproduce the behavior:

Ensure the specified AS-set for a peer only contains said peer's ASN.
Enable filter-as-set on the peer's session configuration
Receive error of FATA[0001] peer has filter-as-set enabled but no members in it's as-set

Expected behavior
Generation succeeds without error

Partially resolved, filter-as-set also requires auto-as-set-members to be enabled to ensure it can fetch the AS-set members to filter on.
One thing I noticed is that the filter logic for filter-as-set only checks that the first ASN in the path, instead of the last ASN which is usually the originating ASN. I'm making a pull request now to fix this to ensure the function works as intended.


Get rid of csv import/export support

Remove csv imex (import/export) support from the following graphical tools:

Text editor
System editor

Reduces maintenance costs.

Thx!

Thx!


Fix up some build issues.

Description
Fixes some minor build issues:
CMake caches PUGIXML_INCLUDE_DIR on first invocation of find_path making the conditional never taken on re-configure.
nvcc complains about the usage of stderr in OSL_ASSERT_XXX, so make it use printf
nvcc warns about break never being reached

LGTM!
I will merge after the CI tests come back.


Update dependencies

Failing due to

⚠ at least 10% of the update proposals do not change the maximum block-size     39% ██████▊············ ✗ 40%

:/ We need to check those coverage thresholds. Sorry.


Avoid printing columnValues

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Describe your test plan
Write there any instructions and details that should be tested during the QA.

Superseded by https://github.com/DataDog/datadog-agent/pull/7732 and https://github.com/DataDog/datadog-agent/pull/7731


DTU vs eDTU

Please give consideration to removing "elastic pools"  from first sentence.

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

ID: 94c33577-a694-bd91-d0fa-791ff3cbee13
Version Independent ID: 449ad3ed-7959-aca2-07aa-e4e43d333ec7
Content: Azure SQL Database DTU-based resource limits single databases
Content Source: articles/sql-database/sql-database-dtu-resource-limits-single-databases.md
Service: sql-database
GitHub Login: @sachinpMSFT
Microsoft Alias: carlrab

@DoyleJOfTexas Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Can you assign this to carlrab instead ?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Mike Ubezzi<EMAIL_ADDRESS>Sent: Thursday, August 9, 2018 12:07:47 PM
To: MicrosoftDocs/azure-docs
Cc: Sachin Phadke; Assign
Subject: Re: [MicrosoftDocs/azure-docs] DTU vs eDTU (#13153)
Assigned #13153https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F13153&data=02|01|sachinp%40microsoft.com|0cede9343f424ad5060d08d5fe2b658d|72f988bf86f141af91ab2d7cd011db47|1|0|636694384699938224&sdata=6rVlbZgg2%2BbSHTM3FFWkw%2BL%2Bx8A5SZRzGX%2B6W4HgFFI%3D&reserved=0 to @sachinpMSFThttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FsachinpMSFT&data=02|01|sachinp%40microsoft.com|0cede9343f424ad5060d08d5fe2b658d|72f988bf86f141af91ab2d7cd011db47|1|0|636694384699938224&sdata=cImrviKrvlutc49MHMFdiB5z7mgzeARt9ubvw74arl0%3D&reserved=0.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F13153%23event-1780965126&data=02|01|sachinp%40microsoft.com|0cede9343f424ad5060d08d5fe2b658d|72f988bf86f141af91ab2d7cd011db47|1|0|636694384699938224&sdata=564ZfyGNo7PyMUSEgZdjywIowZlCErWxLs8gK4I9ZIw%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAmw-KiwLoSPoul6ZX9JLQd0n3JtzKlRtks5uPIiDgaJpZM4V12CG&data=02|01|sachinp%40microsoft.com|0cede9343f424ad5060d08d5fe2b658d|72f988bf86f141af91ab2d7cd011db47|1|0|636694384699938224&sdata=eKOeZQr6gaV6cU1jD6hep31P7kqSBtBFTm5j6TZVLDY%3D&reserved=0.

@DoyleJOfTexas thank you for pointing this out - PR to fix is pending - https://github.com/MicrosoftDocs/azure-docs-pr/pull/48691
FYI - you can also edit yourself by clicking Edit in the upper right of the document.
This fix should be live by 10 AM Seattle time tomorrow

@DoyleJOfTexas @CarlRabeler We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


[8.x] Add default options to Http client

Hi,
This PR gives a way to globally configure options on the http client.
In the test I added an example using headers to make it easy, however this the PR is motivated by the same needs described in https://github.com/laravel/framework/discussions/36710. This would be possible by just doing :
Http::defaultOptions([
    'timeout' => 10
])

Have a good day.

This would probably mean the Http Factory needs to be registered as a singleton otherwise these options would be lost when facades are flushed such as when using Octane or maybe during a queue worker, etc.


Clearer message for no-var-keyword rule

Instead of just telling someone what they can't do, give suggestions about how to fix it and what they should do as an alternative.
Currently the rule no-var-keyword complains with

forbidden var keyword

But that really doesn't help, especially if someone is new to TypeScript and is not even aware that let and const are possibilities.
Now it will complain with this message

forbidden 'var' keyword, use 'let' or 'const' instead

lgtm 👍  thanks @chrismbarr!

Awesome!  Should this also be put in the 3.8 milestone?


Is there documentation and ASDocs?

Is there a site with documentation? I'm looking for examples and to see all the properties and API calls.
I found this but I don't see any documentation
https://meltingice.github.io/psd.js/

I found the documentation here.
The navigation is in the upper right hand corner and it is a scroll list.


Prevent replay attacks on Control Graphql's authentication

Security of the control graphql as described in issue #12811 has a drawback: a request formed by the Orchestrator and sent to one node can be taken by it and sent to another node, thus making a successful replay attack.
A proposed flow that allegedly removes the replay attack possibility:

In auth endpoint return an UUID unique for the Mina node's launch (i.e. new with every restart, but same if the node continues running)
In payload of every mutation and query include the UUID and the sequential identifier of the request
Assume sequential identifier of request to increment with every request from the same pk (i.e. triple uuid, pk, sequential_id is unique across all requests to all nodes), where pk is Ed 25519 public key of the Orchestrator

The Ed25519 public key is made available in the Authorization header. The HTTP headers are not passed to the GraphQL code that services queries and mutations.
Can I suggest that the UUID, sequence no. pair be also placed in a header, maybe called Sequencing, rather than in the GraphQL requests? That way, we don't have to change any of the GraphQL query and mutation code, and we won't forget to add the sequencing check.
The HTTP code will need to know about the auth request, and not do the sequencing check for that particular query.
Maybe we need to add something like a  currentSequenceNo request.

@psteckler I agree with your idea, but I would suggest adding these to Authorization header (just a few more items separated by spaces)

I would suggest adding these to Authorization header

Proposed format for Authorization header:
Signature the-pubkey the-signature ; Sequencing the-uuid the-sequence-no

Sounds good


[2pt] Create Database Schema

Description to be added

Create a schema.sql file with tables that will be analogical to the structure of the classes in the app.


docs: add reference to guide & example file for meta meta service

Issue or need
New APIs to provide a manager (provideNgxMetaManager) add a section in docs mentioning the old APIs guide and example app file. Same could be useful for meta elements old service.

Proposed changes
Do that!

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#951  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


Update README.md

Uploading StressConfig.gp2040 is not necessary and overrides the default mapping in firmware.
I had issues configuring my Stress Pad because the configuration in StressConfig.gp2040 contains non-standard configuration settings as well as having the player number light enabled causing the k1 button to flash seemingly randomly

Hello you could also try the original firmware for the stress ...sorry that i did not update the readme https://gp2040-ce.info/#/download


Keep getting conflict from log created by Make.md plugin

I have Make.md install with obsidian-livesync, Make.md create Context/spacesLastSync.log file and everytime I make any change, I keep getting conflict in this file. Does anyone know what happen here?

Thank you for opening this issue!
I am afraid to be less familiar with the Make.md, does the file spacesLastSync should be synchronised?
If the file controls that synchronising status, or should be handled on each device, perhaps this should be ignored. Ignoring files can be configured at Regular expression to ignore files on the Sync Settings pane.

I asked Make.md maintainer and this is what they say about the file "The file helps keep track of the sync status of the Spaces database". So I think it doesn't have to be sync. Let me try ignoring this file. Thank you for your help!


Entering IDs for each individual markdown block is tedious

Entering unique IDs for each ID block is pretty tedious, it would be great if one was generated automatically, and then any following validation steps have that ID as well.

Makes sense. I think I still want to keep the option of adding a script name as you may not always want the sequential, but have and auto-gen default makes perfect sense.


Add missing count site and siteAreas

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: AlixH:x: RizzoMichaelYou have signed the CLA already but the status is still pending? Let us recheck it.


Adding yml for Windows builds

PR Summary
As part of improving the build process, the UI build pipeline for Windows Builds was converted to a yml-based pipeline. (everything minus compliance tasks)
Verified on AzureDevOps mirror (pipeline WIP-PowerShellCore-WindowsBuild-Yaml): automated and manual runs.
PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[X] Change is not breaking
[X] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[X] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[X] Not Applicable or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

Fixed CodeFactor issues.

@adityapatwardhan pls look again.


Allow to override faker's attributes in the seed and make methods

With Laravel factories, you can do this:
$user = factory(App\User::class)->create([
    'type' => 'Admin',
]);

Which is great, because it allows to quickly create many entities with the specified attributes. Right now this is not possible in typeorm-seeding and you're forced into writing something like this:
const bruce = await factory(User)().make();
const em = connection.createEntityManager();

bruce.name = 'Bruce Lee';
await em.save<Entity>(bruce);

Or for many users:
const tenAdmins = await factory(User)().makeMany(10);
const em = connection.createEntityManager();
tenAdmins.forEach(user => user.type = 'Admin');
await Promise.all(tenAdmins.map(user => em.save<Entity>(user)));

Which feels awkward to do.
Using the map() method feels less awkward. For a single key you can get away inlining the function but for multiple keys overriding you'll need to make it too verbose or lose some type safety.
const tenAdmins = await factory(User)()
  .map((user) => {
     user.type = 'Admin';
     user.name = 'John Doe';
     return user;
  })
  .seedMany(10);

I'm proposing that we make the methods make and seed (and as the second argument for makeMany and seedMany) that accepts an object that overrides the faker attributes.

I'm not sure about the actual implementation proposed, but I would love a way to seed my own json/yaml files which could be an big or multiple jsons or yaml files, and use it to import my old data to a freshh new postgresql/typeorm dtabase
+1 for that

@agustif, like this? https://github.com/RobinCK/typeorm-fixtures

Hi @clovis1122 I merged the feature and release a new version, which also include a cli.


bug: If analysis fails outside a Protocol Engine command, app allows proceeding with the run anyway

Overview
The v5.0.0-beta.0 app doesn't block you from trying to run a protocol that's known to have fatal errors.
Steps to reproduce
Upload this protocol through the v5.0.0-beta.0 app:
metadata = {
    "apiLevel": "2.11"
}

def run(protocol):
    tip_rack = protocol.load_labware("opentrons_96_tiprack_300ul", 1)
    pipette = protocol.load_instrument("p300_single_gen2", tip_racks=[tip_rack])

    raise RuntimeError()

    well_plate = protocol.load_labware("biorad_96_wellplate_200ul_pcr", 2)

    pipette.pick_up_tip()
    pipette.return_tip()

Current behavior

The server responds with an analysis of "not-ok" (that nonetheless has some succeeded commands).
The app shows a deck map with all the labware that had successfully loaded before the error. In the example above, the tip rack, but not the well plate.
The app allows proceeding with the run.
The run eventually hits the error and the app shows a red "run failed" banner, with no further details.

Expected behavior

The app should not allow proceeding with the run.
The app should probably not even show a deck layout?
The app should explain why the analysis failed. For example, if the user uploaded a Python protocol and had bad Python syntax, they should get to see the Python syntax error.

The app should explain why the analysis failed. For example, if the user uploaded a Python protocol and had bad Python syntax, they should get to see the Python syntax error.

For this part, we'll probably have to come up with more structured error schemas.


No working examples?

I have downloaded, tried to run the \network examples but no any working examples. I see inly an empty window.
How to fix it?

@ZedZipDev Please prodide more information if you want help! You find working examples here: https://visjs.github.io/vis-network/examples/

@ZedZipDev You should start a local http server, instead of preview the html.


Bugs

File opening - reads from the second line in the file
line deletation - crashes because it uses forbidden sh rules

Fixed both bugs. Now everything works as expected.


Update engines in package.json

Updated this. It seems to work fine with 0.10 and 0.11. Haven't tested 0.12.

@rockitbaby Cheers! Could you do a new release on npm soon?


Blog Post: Top 10 reasons to use 6to5

I've been asked for something like this by a few people now.

Here are my reasons:

I can start using ES2015+ code today without waiting for browser support.
There is no runtime dependency.
Babel is available everywhere: Node.js, Meteor, Rails, Grunt, Gulp...
Babel (and JavaScript/ECMAScript) is constantly evolving.
The output is readable.
Every transformation can be turned off.
Babel has a REPL.
Babel supports JSX and React.
The level of ES2015+ support is ahead of most (if not all) of the alternatives.
The documentation is fantastic.

(Moreover, corporations such as Netflix, Yahoo!, PayPal, and SoundCloud are using Babel now.)

What is a browser support for babeljs? I mean if I compile my code is it will work for example in ie9?


Make Async

The NATS API supports async, but we're ignoring it currently with run_until_complete() calls. Let's support that functionality in the backend interface to get the performance gains. This would also mean making all the backend implementations support async, at least at face value, for consistency's sake. This could mean placing dummy async calls (hopefully something better than asyncio.sleep()) until the backend APIs catch up to NATS.

What would the sleep() calls be for?  I assume you'd just call the existing backend APIs with non-async blocking calls until they were upgraded.

I've never declared a function async without containing any actual await calls. Can this be done?

Sure, no problem.


[core] Align the eslint configuration with the main repository

One step closer to https://github.com/mui-org/material-ui/issues/19706, the same as https://github.com/mui-org/material-ui-x/pull/23. I have copied & past the eslint configuration of the main repository.
TODO

[ ] Fix the errors

@dmtrKovalenko Do you think that you could take this task over me? I don't think that I will have the time to solve all the eslint errors. Making smaller chunks, like #1937 would be ideal.

@oliviertassinari, sure will take it. Thanks for the opening!


authentication to github should take place in the browser not the app itself

The current version of the app has the user sign in to github inside of the app to add the oauth token.  this is insecure as there is no way of knowing that this is a real github page, it also defeats purpose of oauth token in first place.  Could be fixed by popping it out to users web browser.

This is fixed in 2.1, done in the regular browser instead. This is the Personalize button now.


Access Denied To you Launch Stack

When trying to launch a template, says access denied to your s3 bucket. Although I can clone, would rather go straight to the source. Thanks.

Thanks for the report and sorry for the slow reply. I didn't configure this repo properly to actively notify me on new issues 😞 . This issue should be fixed now, both the stack and the release.zip have public read access now.

I'm gonna close this. Let me know if you encounter any more issues.


How add a few different leon's element on page?

Without using additional libs or iframes?
Started trying, but… )
https://github.com/mevius6/test-leonsans

You can create several LeonSans class, like
const leon1 = new LeonSans();
const leon2 = new LeonSans();

Ok, I'll try later )
Thanks for the answer and for sharing your work )


Cannot read sensor state information since the new update

ISSUE TEMPLATE ver. 0.0.1

Which TurtleBot3 you have?

[x ] burger
[ ] waffle
[ ] waffle pi

Which SBC(Single Board Computer) is working on TurtleBot3?

[ x] Raspberry Pi 3
[ ] Intel Joule
[ ] etc (PLEASE, WRITE DOWN YOUR SBC HERE)

Which OS you installed in SBC?

[ x] Ubuntu MATE 16.04 or later
[ ] Raspbian
[ ] etc (PLEASE, WRITE DOWN YOUR OS)

Which OS you installed in RemotePC?

[ x] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[ ] Linux Mint 18.X
[ ] etc (PLEASE, WRITE DOWN YOUR OS)

Write down software version and firmware version

Software version : [1.0.0]
Firmware version : [1.2.0]

Write down the commands you used in order

[RemotePC] roscore
[SBC] roslaunch turtlebot3_bringup turtlebot3_core.launch
[RemotePC] roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch
[RemotePC] rqt

Copy and Paste your error message on terminal

No error on terminal.

Please, describe detailedly what difficulty you are in

Since a few days, I can't tele-operate Turtlebot3 burger. No error appears on the terminal, the motors simply don't move. When I open rqt, the sensor_state topic displays unknown bandwidth and unknown frequency.
When I use a custom code for OpenCR (similar to the Turtlebot3 Segway one) with pwm control, I can control the motors but the sensor_state remains unknown. Therefore I cannot access encoder values.
The same problem happens on two Turtlebots.
I tried to do Dynamixel motor setup with one motor connected (and powed on), but this error is displayed:
Find Motor...
setbaud : 57600
[TxRxResult] There is no status packet!
setbaud : 1000000
[TxRxResult] There is no status packet!
What do you recommend I do? Should I downgrade to a previous software and firmware version?

Hi :)
I assumed Dynamixel has broken since unknown error.
You can try firmware recovery by using RoboPlus Manager 2.0
After uploading firmware to Dynamixel, attempt to motor setup and launch teleop.
Thanks

Hi! :)
Thanks for the reply.
Ok, I will attempt to make a firmware recovery of Dynamixel. To use RoboPlus Manager, I need to connect Dynamixel to PC with a connector (for instance U2D2), is that right?

That's right, Or else you can use OpenCR which is uploaded usb_to_dxl as U2D2.

Thanks for your help, I use several Turtlebot3 for academic purposes in my university laboratory and I really appreciate your reactivity.
I have tried the same motors with another OpenCR board and strangely, everything works well. So maybe the Dynamixel is not broken.
I now have two OpenCR boards that can read the sensor_state from the motors and two OpenCR boards that cannot (with the same two motors). Is it a problem from the OpenCR or is it still a problem from the Dynamixel?

Hi :)
It looks like problem from the OpenCR. Then, please try re-update bootloader to OpenCR and upload turtlebot_core (v.1.2.0).
After that, if the problem is not solved, please contact ROBOTIS customer support team<EMAIL_ADDRESS>Thanks

Thank you for your reply! I re-burned the bootloader and updated the latest turtlebot3_core on OpenCR but still, the sensor_state topic is not published correctly (unknown bandwith and unknown frequency). It looks a lot like this issue: https://github.com/ROBOTIS-GIT/turtlebot3/issues/162 but I don't know if it is the same case.
Should I send the two OpenCR boards with this issue for repair?

Yes, it might be hardware fault from OpenCR. Please contact ROBOTIS customer support team. Then they are going to inform you where to send yours.
Sorry for inconveniences
Thanks

I will do that, thank you very much!

Great.  If you will face similar problem when you replace OpenCR, you would re-open this issue.
Thanks :)


Say dialog character image source image sprite name.

Is your feature request related to a problem? Please describe.
I made a code that checks say dialog character image source image sprite name and does stuff if certain words are in the sprite name.

With some testing, I only managed to get it to work with Fungus 3.11.4 and with 3.11.5 it did not work. After multiple say commands(in runtime with 3.11.4) you could visually see the sprite name changed in the inspector, game and scene window, and my code worked too. But in version 3.11.5, the sprite name did not change in inspector(name stayed as it was before runtime, but sprite did change in game and scene view) and the code also did not work, as it supposed to.
I assume it is something to do with, what got fixed in Fungus 3.11.5 (Portrait sprite issue in Unity 2019 #743)
Describe the solution you'd like
Is it possible that I could get the say dialog character image source image sprite name to change (like in Fungus 3.11.4), depending on what sprite, say command it's showing.

Most likely your code needs to include in its logic, a check against the image.sprite and the image.overrideSprite. As that was the change made in response to underlying changes in Unity's UI.
Presuming you code looks something like
if(sayDialog.characterImage.sprite.name.IndexOf("happy") != -1)
{
    //do something cool as the character portrait in the say dialog has happy in its name
}

it'll end up something like this
if(sayDialog.characterImage.sprite.name.IndexOf("happy") != -1 ||
  sayDialog.characterImage.overrideSprite.name.IndexOf("happy") != -1 )
{
    //do something cool as the character portrait in the say dialog has happy in its name
}

That should have you covered in code that is both prior to 3.11.5 and after. If you only care newer versions of Fungus and Unity, you only have to check the overrideSprite.
If you are looking to do a similar thing with stage portraits, you'll want to look at PortraitController and the PortraitState class. They both had changes 3.12 and 3.13 releases in response to similar bugs, see also #817.


[vcpkg] How to delete a certain port_triplet from the binary cache?

add answer to docs ;)

In ~/AppData/Local/vcpkg/archives (Windows), ~/.cache/vcpkg/archives (Linux)
find -type f -name '*.zip' -exec unzip -p -C {} CONTROL \;

will print the CONTROL files with ABI hashes, so that the user can decide which zip files to delete.


fix, chore, refactor(egen): REST api fixes, KFP v2 refactor, new template

This PR includes the following updates to the `pipeline_intro_kfp.ipynb` notebook:

Refactors code to use KFP v2.
Fixes the REST API request payload for pipeline job creation.
Updates the cleaning up section: include local files, remove pipeline jobs (not needed).
Adds Colab authentication and kernal restart steps.
Adds colab enterprise logo with link.
Makes Heading changes according to template guidelines.
Remove duplicate sentences / explanation.
Fix unnecessary "``" code highlight usage.
Replace REGION with LOCATION.
Removes IS_TESTING condition.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

/gcbrun


WordVectorSerializer loadGoogleModel

There are a couple of issues with loading the Word2Vec model.
When loading the pretrained model from the project homepage (GoogleNews-vectors-negative300.bin.gz), the first letter of each word is cut off because the loader expects newlines at the end of every vector, but this model does not have these newlines.  This was mentioned in the comments of issue #121 before, but has not been fixed.  Removing dis.read(); at the end of the while loop and adding a "if (b == 10) b = dis.readByte();" after "byte b = dis.readByte();" in readString (in case the newline does appear) seems to fix the problem.
There also seem to be problems caused by the "UNK" unknown word that is added to the cache in its constructor.  It causes the vectors to be misaligned when loading because the code assumes vectorPaths to be the same size as cache.numWords(), but numWords is one larger.

https://github.com/SkymindIO/deeplearning4j/blob/5d1f52a82fd4d4e3f476dbe93a34e3f9e22b7818/deeplearning4j-scaleout/deeplearning4j-nlp/src/test/java/org/deeplearning4j/models/word2vec/WordVectorSerializerTest.java#L47
Downloads current ---> runs it ---> works. Made more efficient in the process.


Use h2 in default slide and h2 in section

Add to docs this good practice

It should be h1 in section layouts


Allow audience & issuer to be specified

👋 Hey,
When decoding a JWT, I need to specify an audience and issuer.
Currently I get
Wrong token: Invalid audience

Looking at the code there's no way to pass in the intended audience or issuer.
with jose I would do
decoded = jwt.decode(token, public_key, algorithms=[alg], audience=aud, issuer=issuer)

In my opinion this is a serious disadvantage of this library and the only one stopping me from getting it to work. I'd recommend allowing passing arbitrary parameters that can be used by jose's decode method.

I added fixes for this and other payload-related issues: https://github.com/k4black/fastapi-jwt/pull/26


Tina weekend comments

Tooltips keep showing, should only show them when needed.
Edit personal info modal keeps showing on submit. It should close.
Done, see NB-1 below 3. Buddies list overflows the page, we should have overflow as hidden or through pagination
Done, see note-2 below: 4. Buddies dates don't appear on my machine under buddies view. It's items all the time
note-1: I've changed positioning of the outer containers to keep the titlebar fixed at the top and to adjust everything for web view. These will have to be overridden for mobile view. There's docs in bootstrap to help here.
note-2: buddies now appear on the timeline when the buddies tab is selected. All initial rendering data shows now with a timeout hack.

Tina, agree on all, esp 3: the dashboard should be kind of a fixed full screen thing I think

The 'background' image is nice for the sign-up and login screens but slivers of it show behind our dashboard -- in general styling of dashboard now seems inconsistent with login/sign-up. Discuss on Monday how to spruce it up?

Default 'until date' to one day after, or at least check that is not before the 'free from' date


Magnetometer calibration isn't obvious when it's done incorrectly

Hey sorry  maybe it's just me having this issue but  my controllers are backwards http://imgur.com/1kGIHeup
I'm using vridge and the calibration mat to calibrate.  For the final part of calibration I put my hmd facing forward and it Matches with the test tracking. Just my controllers are backwards and reverse
My. Camera placement http://i.imgur.com/REoiVWy.png
Am I calibrating my controllers wrong?

 The forward direction you pick for your magnetometer calibration should match the HMD forward.

thanks will give it a try! thats probably the reason why. When i calibrated the controller i had the ps buttons facing me instead of my monitor. like this https://goo.gl/OxUusV.
another side question when i calibrate it on my desk by standing the controller on a flat surface it matches with what i see on the screen but when i pick it up and holding it straight up like on the desk. it starts to turn by it self without me moving.. is that supposed to happen? I guess its becasue my calibration is off right? Sorry for being a complete noob to this.
thank you guys for the work and time you put into this =).

@Bear12  When calculating the reference pose the PS button should face you and the trigger should be facing the forward direcion (assuming that the controller is in front of you).
When you populate the sphere in step 2 of the calibration process how evenly distributed are the white dots? If you have a very uneven distribution this could be why the calibration isn't working that well. On the other hand, there could be something on your desk which is deforming the local magnetic field. You could try to check this by using a compass perhaps.

@zelmon64

in the psmove config test tracking its correct my HMD is facing the correct way, my controllers when i move it close to my hmd it moves in teh right direction just in steam vr it doesnt.

also my vive controller model is missing in the lab? i remember having it when i had my leap controller plugged in

@Bear12 That magnetometer sphere looks reasonable but perhaps a little sparse in places.
I just checked The Lab with alpha4.2 and the controllers should appear as PSMove controllers.
I don't know why the controllers would move differently in SteamVR than in the calibration tool. Do they still move the same with respect to the PSEye models in SteamVR?

@zelmon64
not sure what i did but i recalibrated it 20x and finally somehow its correct in steam vr lol.
for The Lab. I see the PS eye models. I just dont see the PSmove controller modells. I also ran the SteamVR_ReinstallDriver.bat file.
sorry another question zelmon64 sorry.. =/ When im holding the controllers in front of me in the game its in my chest. How do i fix this?

@Bear12 You can use FreePIE to artificially move with the FreeTrack positioning option in VRidge. Here's the script I use which takes the input from an xbox controller: VRidge_FreeTrack_position.py.txt. You can then simply move yourself back a little so that the controllers are in front of you.

@zelmon64 Thanks for answering all these questions.
@Bear12 Glad to hear you got the orientation working. I need to provide better feedback in the config tool to tell you when the magnetometer calibration is too distorted. Also from your screenshot of the tool those "iw[xw" should actually be number that show the extents of the magnetometer readings. The fact that you are getting garbage in the display is troubling. I must have a bug in the string formatting code. I hope that wasn't leading to a memory corruption issue that was messing up your calibration. I'll have to research this further.
I'm going to re-title this issue to be about making the magnetometer calibration quality more clear.

@HipsterSloth
thank you for all your hard work in making this possible!    When I saw "rotate the ps move controller in all directions".. i took the ps move controller and just started swinging it around in all directions haha. it completed the calibration so i thought oh guess that works haha. I then youtube how to properly do it and i saw some guys  about a drone magnetometer calibration.
@zelmon64  10/10 confirm hero lol thanks for helping out the people on reddit as well. I see your post alot
sadly i dont have a xbox controller. Only have a Steelseries Stratus XL =(

@Bear12 Well you could look at https://github.com/x360ce/x360ce for emulating a 360 controller.

@Bear12 You're very welcome (I thought I recognised your camera placement image from reddit). You can change the input FreePIE uses to almost anything or even just set a specific value. I have it set to an xbox controller because I use a PSNavi as my mouse and that's what it's detected as. For example this script will use the keyboard for input:
VRidge_FreeTrack_position_keyboard.py.txt
(FreePIE uses .py files so delete the .txt part to use it).
Q and A for x displacement
W and S for y displacement
E and D for z displacement
F to reset displacement to 0,0,0
G to reset VRidge forward pose (sends ctrl+shift+alt+R)

@HipsterSloth Thank you very much for your kind words. If it wasn't for your hard work I wouldn't be able to do anything!

I'm not sure if this question was already asked, or asked in this capacity, but I'm trying to map the input of the Vive controller to an Xbox controller. I believe the above comment states it's possible, but again, I'm unsure. Similar to how the Dolphin Emulator maps motion controls to a controller. Is this possible? Also, do I need a camera to do so? Any help would be appreciated.

So, I got the position mapped to an Xbox controller using FreePIE, but what about the Vive controllers? How can I map it's position? Also it's various buttons (Menu button, Trackpad, Trigger, Grip Button)? I'm more than willing to put in the work, just need to know if it's possible.


Vulnerability roundup 103: bitcoin-0.21.1: 1 advisory [6.5]

search, files

[ ] CVE-2021-31876 CVSSv3=6.5 (nixos-21.05)

Scanned versions: nixos-21.05: 0b8b127125e.
Cc @prusnak
Cc @roconnor

Duplicate of https://github.com/NixOS/nixpkgs/issues/124613


type-only import prevents declaration of a value with the same name

TypeScript Version:  4.1.0-dev.20200915
Search Terms: ts1361 type-only import type 'Foo' cannot be used as a value because it was imported using 'import type'.
Code
import type { Foo } from "./Foo";

function Foo(): Foo {
  return {
    name: "index.ts"
  };
}

Foo(); // 'Foo' cannot be used as a value because it was imported using 'import type'.ts(1361)

Expected behavior: Since the import type only creates a symbol in the type realm, I expect to be able to create the same symbol in the value realm without conflict. Especially since it's possible to declare the same symbol as both a type and value from within a single file.
Actual behavior: An error is raised: 'Foo' cannot be used as a value because it was imported using 'import type'.ts(1361), which makes this behavior seem very much intended, though that seems to violate the feature's stated intent. From the description of the feature's Type semantics from #35200:

If the symbol does have a value side, name resolution for that symbol will see only the type side.

Playground Link: https://codesandbox.io/s/wizardly-chatelet-h8zkg?file=/src/index.ts
Related Issues: #35200
cc: @andrewbranch

This is correct, Foo still potentially refers to a value which can only be used in non-emitted positions. If you want to separate the two, consider
import type { Foo as _Foo } from "./Foo";

type Foo = _Foo;
function Foo(): Foo {
  return {
    name: "index.ts"
  };
}
Foo();

or
type Foo = import("./Foo").Foo;
function Foo(): Foo {
  return {
    name: "index.ts"
  };
}
Foo();

Letting @andrewbranch correct me if I'm mistaken though

You got it right 👍

This is correct, Foo still potentially refers to a value which can only be used in non-emitted positions. If you want to separate the two, consider
import type { Foo as _Foo } from "./Foo";

type Foo = _Foo;
function Foo(): Foo {
  return {
    name: "index.ts"
  };
}
Foo();

or
type Foo = import("./Foo").Foo;
function Foo(): Foo {
  return {
    name: "index.ts"
  };
}
Foo();

Sorry for bringing this up after four years, but I'm interested in what way can Foo still be a value if we've explicitly imported it as a type, and there's no e.g. value of the same name as the type in the imported module?

The best way to understand this is that the correct interpretation isn't "Import the type meaning of Foo", it's "Import Foo for use in type positions". For example, let's say you have a class exported in one file
// foo.ts
export class Foo {
  static x = "bar";
}

You can import it elsewhere and use it as a value, in type positions:
import type { Foo } from "./foo.js";
function something(f: typeof Foo) { // <- *value* reference on Foo
  return f.x;
}

Aha. So this is more a feature for avoiding unnecessary imports in the built code. If I want to use a value Foo just to get it's type, then I use import type and I can use the value only on the type position, and this value won't actually be included in the final built JS.


Don't generate a UID name from the macro for the import

This is unnecessary, as the import name is already guaranteed to be unique. By not rewriting the import name, we can make the Babel plugin css prop work with the macro!
Before:
import styled from 'styled-components/macro';

// Before this was turned into
import _styled from 'styled-components';

// Now it's turned into
import styled from 'styled-components';

/cc @satya164

Hold up on merging this, @lucleray correctly pointed out that this breaks if you do
import myStyled from 'styled-components';
import styled from 'another-package';

Gotta think about this a bit more, I guess we have to pass through the unique name to the Babel plugin somehow?

New plan is implemented in latest commit:

Still generate unique name for import
Pass generated name through to Babel plugin via Babel state so that the Babel plugin can basically do const importName = state.customImportName || generateUIDName()

Just gotta update the Babel plugin PR now

This is ready for a review now that the Babel plugin PR is updated! It all works locally perfectly:

I think the issue is /macro isn't included in this list in the babel plugin: https://github.com/styled-components/babel-plugin-styled-components/blob/master/src/utils/detectors.js#L1

Well, that would be an even easier solution if it works...

@probablyup
The styled-components/macro import is replaced by styled-components before it goes through the babel-plugin.
(The babel-macro plugin removes styled-components/macro , and the macro.js files adds styled-components back)

Ah ok, let's ship this then.


Enable pointRotation for pointStyle: image

Feature Proposal
Adding ability to rotate points with image like other types of point.
Feature Use Case
It will be possible to ...

make multiple styles with single image file.
use different rotation for each point. It's good for the vector data (which has both of amplitude and direction).

Possible Implementation
In drawPoint, change
if (style && typeof style === 'object') {
	type = style.toString();
	if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {
		ctx.drawImage(style, x - style.width / 2, y - style.height / 2, style.width, style.height);
		return;
	}
}

to
if (style && typeof style === 'object') {
	type = style.toString();
	if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {
		ctx.save();
		ctx.translate(x, y);
		ctx.rotate(rotation * Math.PI / 180);
		ctx.drawImage(style, -1 * style.width / 2, -1 * style.height / 2, style.width, style.height);
		ctx.restore();
		return;
	}
}

I think this is a good enhancement. Do you want to create a PR for this (including unit tests)?

Like this?
https://jsfiddle.net/nyammy/vx8cd9w4/3/


Do Proper Shell Escaping on Windows

If the comments are too much/over the top, I can remove/reduce them. They were mostly there for my own benefit, but I left them in because exactly what it's doing is a bit cryptic otherwise.

@swift-ci please smoke test

Oh hold up, llvm has a function to quote args which does the same thing, I'll use that instead. However, it doesn't have one to escape the meta chars which we need if we're calling cmd.exe.

Quoting for cmd.exe is different from quoting for CreateProcess, too. The former is much harder...

Finally got around to fixing this. Also enhanced the tests somewhat.
This no longer applies metachar escaping, which is correct for CreateProcessW, but means when it prints out the commands, there are cases (if the command contains a ") where you wouldn't just be able to copy and past the command directly into cmd.exe and press enter. However, this means less visual clutter when printing it out and would still be fine for other shells with more sane quoting (e.g. powershell).

@swift-ci please smoke test


Update README.md

Added some clarifications and minor language fixes, hope that is okay!

Of course, thank you!


seems to be linked to normal maps and how it reflects something, idk what that something is tho

seems odd to me, it doesnt do it with every model i own but sometimes this sort of shadow rim-like thing happen. super spooky

i have tried playing with every settings on it, lights in unity and etc. but it just doesnt want to give up

happens after setting a shadow ramp, ill experiment a bit more

fixed it via remaking a new gradient linear shadow ramp, ill close this and say im sorry for my own stoupidity, hope it can help anyone in the future who has this issue

I'm going to re close this issue after I comment, but the reason it fixed itself upon making a new ramp is because the script clamps the ramp. It sets the wrap mode to "none."
What you're seeing there is the ramp UV actually bleeding into a wrapped version of the ramp, so it goes from 0-1, and then bleeds over a bit back to 0.
The fix, for future reference, is just to set the wrap mode in the import settings of the texture.


Allow dynamic s3 instance/config?

I need to to be able to change s3 credentials depending on request. If you make s3 option a function then a new instance can be created and returned if required. Does it work?

You may want to wrap this library into your own implementation that returns a fresh instance everytime for multer.  You may also need to implement the same multer interface here: https://github.com/expressjs/multer/blob/master/StorageEngine.md


Adding gocheck test framework support (Issue #472)

Please refer https://github.com/vmware/docker-volume-vsphere/issues/472#issuecomment-301007503 for more information.
Testing done: locally with sample testcase
sample output for passed test:
nshukla-mbp:docker-volume-vsphere nshukla$ make e2e-test
/Library/Developer/CommandLineTools/usr/bin/make --directory=vmdk_plugin e2e-test
Makefile:154: warning: overriding commands for target `clean'
../plugin/Makefile:87: warning: ignoring old commands for target `clean'

=> Running target e2e-test Fri May 12 20:57:54 PDT 2017

../misc/scripts/build.sh e2e-dkrVolDriver-test "<IP_ADDRESS>" "<IP_ADDRESS>" "<IP_ADDRESS>"
Makefile:154: warning: overriding commands for target `clean'
../plugin/Makefile:87: warning: ignoring old commands for target `clean'
make: Entering directory `/go/src/github.com/vmware/docker-volume-vsphere/vmdk_plugin'

=> Running target e2e-dkrVolDriver-test Sat May 13 03:57:55 UTC 2017

GO15VENDOREXPERIMENT=1 go test github.com/vmware/docker-volume-vsphere/tests/e2e -v
=== RUN   Test
OK: 1 passed
--- PASS: Test (0.00s)
PASS
ok  	github.com/vmware/docker-volume-vsphere/tests/e2e	0.006s
make: Leaving directory `/go/src/github.com/vmware/docker-volume-vsphere/vmdk_plugin'

sample output for failed test:
nshukla-mbp:docker-volume-vsphere nshukla$ vi tests/e2e/hello_test.go
nshukla-mbp:docker-volume-vsphere nshukla$ make e2e-test
/Library/Developer/CommandLineTools/usr/bin/make --directory=vmdk_plugin e2e-test
Makefile:154: warning: overriding commands for target `clean'
../plugin/Makefile:87: warning: ignoring old commands for target `clean'

=> Running target e2e-test Fri May 12 20:59:51 PDT 2017

../misc/scripts/build.sh e2e-dkrVolDriver-test "<IP_ADDRESS>" "<IP_ADDRESS>" "<IP_ADDRESS>"
Makefile:154: warning: overriding commands for target `clean'
../plugin/Makefile:87: warning: ignoring old commands for target `clean'
make: Entering directory `/go/src/github.com/vmware/docker-volume-vsphere/vmdk_plugin'

=> Running target e2e-dkrVolDriver-test Sat May 13 03:59:52 UTC 2017

GO15VENDOREXPERIMENT=1 go test github.com/vmware/docker-volume-vsphere/tests/e2e -v
=== RUN   Test

----------------------------------------------------------------------
FAIL: hello_test.go:17: MySuite.TestHelloWorld

hello_test.go:18:
    c.Assert(42, Equals, "42")
... obtained int = 42
... expected string = "42"

--- FAIL: Test (0.00s)
OOPS: 0 passed, 1 FAILED
FAIL
exit status 1
FAIL	github.com/vmware/docker-volume-vsphere/tests/e2e	0.007s
make: *** [e2e-dkrVolDriver-test] Error 1
make: Leaving directory `/go/src/github.com/vmware/docker-volume-vsphere/vmdk_plugin'
make[1]: *** [e2e-test] Error 2
make: *** [e2e-test] Error 2

Sample test case has been added to check on CI .. Once testing is done, sample testcase will be removed before merging.

sample test is removed and waiting for CI to pass before merging.


Replaced OsgiClassLoader by managing TCCL

The OsgiClassLoader is causing problems in a dynamic environment. By managing the Thread Context ClassLoader instead of creating a shared ClassLoader makes it possible to use Hibernate in a dymanic environment.

Sorry, but you are going to have to start a discussion about this on the dev list.  OsgiClassLoader and the rest of OSGi support was developed in conjunction with quite a few OSGi community folks.  And I know for a fact after personal discussions with Pax and Karaf developers that the hibernate-osgi code works very very well in OSGi environments.  So again, you are going to have to start a discussion about this on the dev list and convince us why these are needed.

A great starting point for illustrating what exactly you are trying to solve would be to add a test to the Pax Exam + Karaf test set up I moved to on master.

The main reason for this change is to allow updating bundles containing entities. The current hibernate-osgi implementation is working fine with OSGi until you try to update a bundle that's already added to the OsgiClassLoader (at least this was the case with hibernate 4.3).
I'll test things again using the version from master and see how that works out.

As discussed on the Karaf mailing list, that is not supported at all.  And
this is not the way to do that.
On Sun, May 17, 2015 at 9:08 AM, Bram Pouwelse<EMAIL_ADDRESS>wrote:

The main reason for this change is to allow updating bundles containing
entities. The current hibernate-osgi implementation is working fine with
OSGi until you try to update a bundle that's already added to the
OsgiClassLoader (at least this was the case with hibernate 4.3).
I'll test things again using the version from master and see how that
works out.
—
Reply to this email directly or view it on GitHub
https://github.com/hibernate/hibernate-orm/pull/958#issuecomment-102806644
.

I'm aware that it's currently not supported but I wan't to have support for this, maybe this is not "the way to do that" (I'd love to hear why). For me it was kind of a test wether it's possible to apply the approach used in my custom hibernate - OSGi integration in hibernate itself as the custom integration is working fine.
I'm not in any way attached to this implementation so if you have a better idea of how to get support for updating persistence bundles and you can point me in a direction I'd be happy to spend some time on that aswel.

Is there a reason you are against discussing this on the hibernate-dev
mailing list like I asked?
I do have to admit that I find it hilarious that "OSGi folks" spend so much
time bashing libraries for using TCCL (pretty sure I have seen Peter
himself poking fun at Hibernate for its old classloading behavior) and now
here we are having "OSGi folks" suggesting a solution that involves, yep,
using TCCL.
As far as implementation here, I would expect the ability to remove those
bundles from the OsgiClassLoader.  But I would need a better understanding
overall of what you are trying to accomplish here.  What kind of bundle?
On Sun, May 17, 2015 at 3:48 PM, Bram Pouwelse<EMAIL_ADDRESS>wrote:

I'm aware that it's currently not supported but I wan't to have support
for this, maybe this is not "the way to do that" (I'd love to hear why).
For me it was kind of a test wether it's possible to apply the approach
used in my custom hibernate - OSGi integration in hibernate itself as the
custom integration is working fine.
I'm not in any way attached to this implementation so if you have a better
idea of how to get support for updating persistence bundles and you can
point me in a direction I'd be happy to spend some time on that aswel.
—
Reply to this email directly or view it on GitHub
https://github.com/hibernate/hibernate-orm/pull/958#issuecomment-102855372
.

OsgiClassLoader is still needed for several other reasons, especially considering @sebersole's latest work (Steve, feel free to comment with relevant JIRAs, if you're bored).  Sure, this would handle the specific persistence unit bundle's updates, but in a naive way.  Further, that Bundle isn't the only one we need to watch for updates/deactivation/reactivation.  I'm all for better supporting dynamic contexts, but simple TCCL wrappers aren't the way to do that.
As Steve mentioned, would love to continue discussing it on the Hibernate mailing list, if you're up for it.


[WIP] Tentatively fix EDA variants

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue

How Has This Been Tested (if it applies)

Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
[x] All tests passed, and additional code has been covered with new tests.

Correction, it works "most of the time" but still early converges often


Are there any plans to switch to npm instead of bower?

Reason:
bower web-component-tester#^6.0.0          ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/Polymer/web-component-tester.git", exit code of #255 error: cannot for
k() for git-remote-https: Resource temporarily unavailable

Yes, there are long-standing plans to support npm, which we're working on now. There's a lot work to be done though.

Great!


Can't display images on MacOS

When trying to show an image:

heatmap |> Chart.ShowAsImage(ImageFormat.PNG)

I get the following exception (MacOS catalina):
System.ComponentModel.Win32Exception (13): Permission denied
   at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(String fileName)
   at FSharp.Plotly.ChartExtensions.Chart.ShowAsImage.Static(ImageFormat format, GenericChart ch)

I'm surprised to see a Win32Exception on MacOS as well.

Hi @thomasd3 , sorry for the late reply.
I guess then all the other display functions such as Chart.Show dont work either?
The error seems to be related to your OS as Process.start seems only able to open executables on macOS, while on windows using a file opens it with the default program. Seems like we need to adjust this behaviour on runtime based on the OS. I dont have a mac though, so testing this could prove hard. I will push some changes and release a preview package on nuget, would be cool if you could test it when its done.

Take a look at this pull in XPlot.  I fixed it a while ago to work with different OS.
https://github.com/fslaborg/XPlot/pull/83/commits/19c9251d76a8c88cfa8cef96a9510ed5b41ed03a#diff-b135992486db43681541285661efff96

Thanks @zyzhu , this is exacty what i am trying now. However it seems like that xdg-open is not installed on every unix machine. I was testing that with the ubuntu wsl app for windows:
root@Surface:/mnt/c/Users/kevin/source/repos/muehlhaus/FSharp.Plotly/bin/FSharp.Plotly/netstandard2.0# cd /tmp
root@Surface:/tmp# URL="./7fd73ea4-eaa0-4ae0-8381-e15d337a4d5b.html"; xdg-open $URL

Command 'xdg-open' not found, but can be installed with:

apt install xdg-utils

root@Surface:/tmp#

There seem to be a few command line methods around to open the standard browser on a unix system. Currently i am trying to emulate this command:
URL="./7fd73ea4-eaa0-4ae0-8381-e15d337a4d5b.html"; xdg-open $URL || sensible-browser $URL || x-www-browser $URL || gnome-open $URL
which tries the most common ones with fallback. In my case, the third command works:
root@Surface:/tmp# URL="./7fd73ea4-eaa0-4ae0-8381-e15d337a4d5b.html"; xdg-open $URL || sensible-browser $URL || x-www-browser $URL || gnome-open $URL

Command 'xdg-open' not found, but can be installed with:

apt install xdg-utils

Couldn't find a suitable web browser!
Set the BROWSER environment variable to your desired browser.
root@Surface:/tmp#

Any thoughts on that?

I adopted@zyzhu 's code snippet. @thomasd3, the changes are available in v1.2.2 if you want to have a look.


DefaultTextStyle docs are lacking

https://api.flutter.dev/flutter/widgets/DefaultTextStyle-class.html
Doesn't say much.  Topics it might explain are things like "when would you use one of these" or "what widgets set one of these for you", etc.
My understanding is MaterialApp sets a crazy default text style, might be useful to note that here (and how you're expected to interact with that default).

https://github.com/flutter/flutter/pull/12842 is a related fix to errorTextStyle, which DefaultTextStyle might link to.

Things we should mentioned:

if you see red and yellow, it's probably because of MaterialApp's default text style, you need a Material (and why)
explain some of the fields
show some examples of using the fields
link to TextStyle

The documentation for this is still lacking


Put the require of the istanbul-threshold-checker before requiring istanbul.

This way the last istanbul has preference over the istanbul required in the threshold checker, as this is an older version and was (partially) used when generating the reports.
This would show in having the coverage bars filling to 100px instead of 100% as it somehow used the html.js from the 0.3 version required in istanbul-threshold-checker instead of the 0.4 from gulp-istanbul. But with all the new css and stuff.
Environment: Windows 10, npm 3.3.0, node 5.1.0.

Can you add a comment so people knows the next time someone try to rearrange the imports?

PR has been updated.

Thanks!


Wrong link in netlify button

Deploy
...
old: https://github.com/gatsbyjs/gatsby-starter-default
new: https://github.com/diogorodrigues/iceberg-gatsby-multilang

Thank you @gstrainovic ! 👍


Replica vs coordinator

See #521

@tzach let's finish this one and I'll create 3.1 dashboards

The design looks good
I did not check the metric split between Coordinator and replica; I trust you did


Fix expiration problem when callbacks are piling up the loop

See #1061 for the problem description

Current coverage is 98.40% (diff: 100%)

Merging #1162 into master will increase coverage by <.01%

@@             master      #1162   diff @@
==========================================
  Files            28         29     +1
  Lines          6507       6535    +28
  Methods           0          0
  Messages          0          0
  Branches       1093       1096     +3
==========================================
+ Hits           6403       6431    +28
  Misses           54         54
  Partials         50         50

Powered by Codecov. Last update 439168c...70f305b


Update to gogo 1.2.1

Use gogo 1.2.1 based on lightstep-tracer-common 1.0.3

Let's assume we're eliminating gRPC.
I suppose a user might want to use gogo vs protobuf based on other dependencies of their application.
I know that @iredelmeier has wanted to do this too, but I'm afraid we shouldn't block on this work.
@MatthewDolan ^^^

I take it by "overt" you mean the requirement to select the dependency in an import statement. ✅


Missing dependecy version specification for LayoutLM run_seq_labeling: transformers

Which version fo the "transformers" package should I install to run "run_seq_labeling.py" example? I use the latest version installed from pypi, but got the following error:
ModuleNotFoundError: No module named 'transformers.modeling_bert'

Hi,
I'm having the same issue. Which version should we use?
Thanks!

One way you can do is replacing BertLayerNorm with nn.LayerNorm


Psd multitaper per taper

Reference issue
Continuation of my previos PR (#10281).
What does this implement/fix?
This time per taper results can be obtained from psd_array_multitaper as well.
Additional information
This required adding an output arg to psd_array_multitaper, when output='complex' the psd array has tapers dimension. I also return weights in that case as well, but I'm not sure about this - the weights are generally marginally different from 1, so returning weights might not be needed (and it is not done in the tfr_array_multitaper, which does not use any weights, assuming they are all 1). However, weights might be useful at least for testing to check that we can get the same power results from complex output.
Remainging tasks

[ ] decide whether to return the weights or not
[ ] add test
[ ] update whats new

Oh, I think I got the normalization wrong, will fix that.

... oh, you fixed the indentation already :)

The build_docs error looks unrelated: ERROR: Failed building wheel for statsmodels.

Thanks @mmagnuski !

Thanks @larsoner :rocket:!


Badges Bug

With the release of customer configured badges, some code was added to grab the badges field from the API response and use it in a different way.
There is logic in the response transform that checks if the value is an "object". However, the badges feature will return an array of objects - so this needs to be verified in this logic.
https://github.com/searchspring/snap/blob/v0.61.5/packages/snap-client/src/Client/transforms/searchResponse.ts#L217
https://github.com/searchspring/snap/blob/v0.61.5/packages/snap-client/src/Client/transforms/searchResponse.ts#L245
Example API response (returns actual objects):
badges: [
    {
        "tag": "qa-badge-2910",
        "value": "QA Badge 2910"
    },
    {
        "tag": "qa-off-29",
        "value": "QA Off 29"
    },
    {
        "tag": "gift-guide",
        "value": "Gift Guide"
    }
]

Some sites have a field named badges that may be an array, but if it is an array of strings or numbers (not an array of objects) it is not the badge feature field, and instead a field simply called badges - this should not be put into result.badges but instead in result.attributes.badges.

Logic in issue description was incorrect - it has been updated.


Add cycle ended pop up

Add a pop up that indicates when the treatment cycle has ended. It should pop under the following circumstances:

14 days after the date of injecting ovidrelle and if the injection was unique to that month (if the patient indicated taking it)
Or 14 days after decapeptyl
Or 14 days  if no new registry was inserted
Or if patient reports beta results
Or 14 days after last Ultrasound exam

For all sections excpet number 4, should to popup be displayed after app login?

Yes
On Sun, 5 Jun 2022 at 11:47 AssafHizki @.***> wrote:

For all sections excpet number 4, should to popup be displayed after app
login?
—
Reply to this email directly, view it on GitHub
https://github.com/EMMAapp/EMMA/issues/88#issuecomment-1146766578, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKAWWOOLSVSRMQ4GOKQMGMDVNRSTNANCNFSM467YNMHQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Decouple CRD install from operator

Describe the solution you'd like
Currently the Operator applies the CRDs. This is bad if you want to bundle applications and configuration in atomic, versioned bundles as you cant install resources for an CRD that will only pop of after an amount of time.
So the operator should not apply the CRDs, this should be the task of either Helm or the user using kubectl
Describe alternatives you've considered

Make the behaviour optional in the helm chart
publish the CRDs in the gitrepo per Version so that people that build atomic bundles can use them

Also should not have to give a Trident Operator app full CRUD on all CRD's on an API Server


Problems in mobile

It seems that the library is not res

ponsive, I test in the "resizer" tool of Google, image attached.

:+1:

Try use this at the end of your CSS
@media screen and (max-width: 460px) {
.md-table-pagination { display: table !important; margin: 10px auto; padding-top: 10px; }
.md-table-pagination .label, md-table-pagination .md-table-select { display: table-header-group !important; }
.md-table-pagination .label { text-align: center; }
.md-table-pagination .md-table-select .md-select-value { margin: 0 auto; width: 60px; text-align: center; }
.md-table-pagination .md-button:nth-of-type(1) { margin-left: 0 !important; }
}

Thanks, I will try.

solved your problem ? I am also facing the same issue

https://github.com/daniel-nagy/md-data-table/issues/286


feat: add matching pattern for trigger syntax highlighting (Fastfile, Fastfile).

PR that add new file patterns matching and activation events. Details: https://github.com/orta/vscode-ios-common-files/issues/4

Yeah, this makes sense


Sample code is not deployed when installing the package through VCC

Hello,
I just installed the package through VCC, and when reading the doc, it's mentioning templates & examples that were not deployed by VCC (I found them here), but I would have preferred to get them directly in the package with VCC.
Thanks for your feedback :)
Regards,
Thelvaen

This is by design. VCC does not provide any way for package creators to auto import examples. The VRChat docs mention using the Unity Package Manager to import these into your project.
https://vcc.docs.vrchat.com/guides/finding-the-samples#other-package-samples
The issue with auto importing all examples for this package is that there are three different versions of the exact same examples, one per compiler. Since I don't want to bloat user projects with items I know won't be used, I let the user pick which compiler example they intend to work with.


Terraform Backend repository fails with "error writing state file: error uploading state: 400" with Terraform v1.6.3

Describe the bug
terraform apply fails with error "Error writing state file: error uploading state: 400" when using the Artifactory Terraform backend with Terraform v1.6.3.
Requirements for an issue

[x] A description of the bug
[x] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
[x] Your version of artifactory (you can curl it at $host/artifactory/api/system/version
[x] Your version of terraform
[x] Your version of terraform provider

Terraform Snippet
variable "artifactory_url" {
  default = "https://artifactory.mycompany.com/"
}

variable "artifactory_access_token" {
  sensitive = true
}

terraform {
  required_providers {
    artifactory = {
      source  = "registry.terraform.io/jfrog/artifactory"
      version = ">= 8.2.2, <9.0.0" # v9 requires Artifactory (self-hosted) v7.68.7 or later
    }
  }
  backend "remote" {
    hostname     = "artifactory.mycompany.com"
    organization = "terraform-backend-local"
    workspaces {
      name = "artifactory-config"
    }
  }
}

provider "artifactory" {
  url          = "${var.artifactory_url}/artifactory"
  access_token = var.artifactory_access_token
}

resource "artifactory_local_cran_repository" "cran-local" {
  key = "cran-local"
}

Version of Artifactory
7.59.11
Version of Terraform
1.6.3 (windows_amd64, linux_amd64)
Terraform Providers
Tried both v8.9.1 and v9.8.0 with the same error.
Expected behavior
Expected terraform apply to complete with no errors and write state to the remote backend repository in Artifactory.
Additional context

Error does not occur with Terraform v1.5.4.
terraform import with existing resource returns a similar error
If it is more appropriate, I can create a support ticket with JFrog.

@mark-strasser-nnl Are you using Artifactory as your remote backend? If so this may be the answer? https://jfrog.com/help/r/artifactory-how-to-deal-with-terraform-client-returning-error-saving-state-error-uploading-state-400-bad-request-while-terraform-apply-using-backend-repository-in-jfrog-artifactory/terraform-client-output

@alexhung That issue is similar, but applies to an older version of Artifactory v7.55 / v7.56 and Terraform v1.3.8.  I'll file a JFrog Support Ticket, thanks.

@mark-strasser-nnl the Jira issue was closed at the same day without any indication of the exact solutions (e.g. upgrade to newer Artifactory...?). May I know if JFrog Support have given you any further updates on it? Many thanks!

Per JFrog Support:

The Jira ticket is "in place" and "is currently under internal review"
We can "vote and watch the JIRA you can get an email triggered if any updates are made" and "check the [Artifactory] release notes".

My understanding based on the above:

The latest version of Artifactory was affected
The fix will require a new Artifactory release, which occur about every 2 weeks.  So you will need to upgrade.
No estimate on timeline.  If the resolution/status updates can be trusted, it should be fairly soon.

The bugs fixed in each release are listed in the JFrog Artifactory release notes.


Allow AWS account overide

Is your feature request related to a problem? Please describe.
We are looking to build a single ingest route for AWS cloudwatch logs as it helps manage our deployment easier and make life easier for our target teams to get their log data in.
However, this approach means that whilst we are ingesting log files for multiple AWS accounts, the Lambda sets the aws.account.id value to our ingestion AWS account.
Describe the solution you'd like
We'd like to decorate our logs so that the aws.account.id value is set to the originating AWS account.

Hi, you can expect this to be available in near future


vNext brush rendering and image caching changes - WIP

In this PR I've centralized the rendering of labelmap data, so that it is rendered if any brush tool is active/passive/enabled (i.e. any tool which extends baseBrushTool).
The labelmap is always rendered first in the queue, such that all annotations appear in front of it.
WIP:
The bitmap generation is asynchronous, so I need a cache of the previous image before a new one is drawn. I'm currently caching once per toolData, which allows for seemless usage whilst working with multiple cornerstone enabled elements, however I'm going to look if I can cache just one slice per element. (i.e. one x*y image, rather than a potential whole data cube).
Demo: https://deploy-preview-564--cornerstone-tools.netlify.com/

Note, moved to #569.


NNI 2021 Oct~Nov Iteration Plan

This is the plan for the iteration in 2021 Nov~Dec Iteration, it's a 6 weeks iteration.
Release Plan for upcoming release

Release manager: @liuzhe-lz
Feature freeze date: 11-19 11-26 (last delay)
Code freeze and demo date: 12-3 12-8 12-10 (last delay)
Branch cut and next release planning date: 12-7 12-24
Release date: 12-10 12-29

Documentation Update

[x] @ultmaster Check statics

[x] @QuanluZhang Get Ni Yan's account

[x] Decide which ones to keep Chinese doc
[ ] Update docs for current release
[x] Deal with Chinese doc @ultmaster (12.1) #4345
[x] HPO doc hierarchy @ zebin (11.23)

NAS

end2end example for NAS with Retiarii (target starting date 11/17)

[x]  P0 - @JiahangXu evaluate current SPOS support https://nni.readthedocs.io/en/stable/NAS/SPOS.html #4322
[x]  P0 - @JiahangXu evaluate current ProxylessNAS support https://nni.readthedocs.io/en/stable/NAS/Proxylessnas.html (11.19) (Jiahang: the example works, refine its doc in PR #4321 )

[x] P0 - @ultmaster Serialization (11.5 11.12 11.19 11.24) #4337
P1 - @QuanluZhang Fix webui chart

[x] survey (11.3)
[x] fix (11.10) #4304
[x] further design

[x] P1 - @Lijiaoa Trial parameters (11.23) #4314
P1 - @QuanluZhang option of not exit experiment after done #4340

Model Compression

[ ] P0 - @J-shang Add doc for v2 config list
Pruner Improvement

[x] @J-shang Support pruning by step (movement pruning, taylor, activation...). (11.12) #4308

Migrate Pruner from v1

[x] @J-shang AutoCompress Pruner. (11.5) #4280 review: @QuanluZhang @Fiascolsy
[x] P0 - @Fiascolsy AMC Pruner. (11.5 11.12 11.19) #4320

[ ] P2 - @Fiascolsy Fix AutoCompressPruner GPU memory leak.
Doc

[ ] @J-shang Guide on how to customize pruner in v2.
[ ] P1 - @Fiascolsy Report performance of v2 compare with paper / v1. #4365
[ ] Need add: fine-grained with speed up in iteration will case issue. how to write config_list.
review doc & update the outdated doc.

[ ] P1 - @Fiascolsy pruning
[ ] @linbinskn quantize

[x] P1 - @J-shang review overview and tutorial hirachey

[x] P2 - @Fiascolsy More v2 Example #4305
[x] @J-shang pass optimizer to pruner redesign (11.26) #4332

HPO

[ ] @QuanluZhang Survey optuna, onedb, sagemaker
[ ] @QuanluZhang fix dispatcher error, experiment status
[x] P1 - (zebin) improve tuner doc
[ ] @ultmaster Survey ConfigSpace
[x] P1 - @liuzhe-lz TPE (PR #4239)

[x] doc #4339

Nested search space

[x] P1 - @liuzhe-lz Grid search (11.5 11.10 11.19) #4324

nnictl

[x] P0 - @liuzhe-lz Deprecate config v1 (11.1)

[x] ConfigBase class #4303
[x] local training service #4313
[x] All training services #4318
[x] launcher #4330
[x] update nni manager #4355
[x] fix annotation (11.26)
[x] run ITs

[x] P1 - @liuzhe-lz Raise error for setting invalid field on ConfigBase
[x] P0 - @liuzhe-lz add validation for trialGpuNumber/maxTrialNumberPerGpu combination

NNI manager & training service

[x] P1 - @SparkSnail Pipeline for reuse training services (11.5 11.8 11.10) #4310
[x] P1 - @SparkSnail Hybrid for all reuse training services (11.26) #4343

WebUI

[x] Overview page: blank at the bottom (11.16)
[x] Update readthedoc index.html (11.4 11.10)
About trial duration question https://github.com/microsoft/nni/issues/3012

Other

readthedocs dependency
doc translation

Deferred
NAS

[ ] P1 - @JiahangXu a TBD end2end example for NAS with Retiarii
[ ] P1 - @QuanluZhang Support tuner_no_more_trial
[x] P1 - @JiahangXu review graph engine
[ ] P? - @ultmaster Update mnasnet and example refactor (plan: #4249)
[ ] P2 - (zebin) More choice type design
[ ] P2 - (zebin) Survey naslib
[ ] P2 - (zebin) Port Houwen's algorithm
[ ] P2 - @liuzhe-lz Merge RetiariiExperiment back to Experiment
[ ] P3 - Visualization nasbench
[ ] P3 - Support HPO in Retiarii
[ ] P3 - Review one-shot, refactor with lightning

Compression

Pruning Speed Up (check with ningxin)
[ ] P1 - Fine-grained iterative speedup logic.
[ ] P1 - NetAdapt Pruner
[ ] @J-shang Transformer Pruner. (11.5 11.8) #4180
[ ] @zheng-ningxin Function replacement
[ ] P1 - Sensitivity Pruner.
[ ] @J-shang ADMM: support more metrics.
[ ] P2 - Support min_sparsity_per_layer in global mode.
[ ] P2 - Mixed sparse pattern.
[ ] P2 - Support mask output/input.
[ ] P2 - Pruning with constraints (remain 4x channels).
[ ] P2 - @Fiascolsy Iterative pruning starts from any sparsity ratio.
[ ] P2 - KD in pruning scheduler (maybe use original model as teacher).
[ ] @zheng-ningxin Memory usage optimization
[ ] Refactor of model graph generation (as an independent component)
[ ] Speed up with special/customized layer.
Quantization V2

HPO

[ ] P1 - fix len(arr) > 0 problem
[ ] P1 - (zebin) Improve hyperband & PBT with shared storage
[ ] P3 - Multi-objective
[ ] P2 - (zebin) transferable HPO
[ ] P2 - Evolution nested search space

nnictl

[ ] P2 - @J-shang Improve nnictl experiment export
[ ] P2 - @liuzhe-lz auto-completion
[ ] P2 - @liuzhe-lz early validation

NNI Manager

[ ] P2 - Distributed trial
[ ] P1 - @acured Project back-end

Web UI

[ ] Align issue in overview page
[ ] Support searching customized string in the search box
[ ] Experiment list could not open experiment with prefix https://github.com/microsoft/nni/issues/3746 (need backend)

Hi @scarlett2018 I want to add these items for this iteration:

About quantization:

Support dtype & qscheme customization for lsq quantizer and observer quantizer (P0)
upgrade lsq quantizer to lsq+ quantizer, which can used for asymmetric quantization (P0)
add model converter for mnn backend (P1)

About architecture for quantization V2:

Analyze the architecture of the PyTorch quantization tool in the open source community, and summarize the advantages and disadvantages of each tool.(P0), with @linbinskn

A demo case for  quantizing YOLOX and deploy it on PyTorch backend (P1)

#4149 @zheng-ningxin (discuss meeting)
#4239 @QuanluZhang (update)
#4314 @QuanluZhang
#4308 @QuanluZhang (update) @zheng-ningxin
#4307 @QuanluZhang (update)  @Fiascolsy (update)
#4305 @QuanluZhang (update)  @J-shang (update)
#4314 @QuanluZhang @liuzhe-lz
#4318 @J-shang (update) @sparksnail (update)
#4319 @scarlett2018
#4321 @ultmaster @QuanluZhang @liuzhe-lz
#4325 @ultmaster @QuanluZhang @liuzhe-lz
#4328 @J-shang @liuzhe-lz

PRs to be merged before Code Freeze:

[ ] #4304
[ ] #4314
[ ] #4320
[ ] #4322
[ ] #4324
[ ] #4332
[ ] #4337
[ ] #4340
[ ] #4341
[ ] #4343
[ ] #4355
[ ] #4357

Bug Bash
NAS

[ ] @ultmaster SPOS
[ ] @ultmaster ProxylessNAS
[ ] @QuanluZhang Serialization
[ ] @liuzhe-lz NAS visualization

Model Compression

[ ] @JiahangXu Movement pruning
[ ] @JiahangXu AutoCompress Pruner
[ ] @ultmaster AMC Pruner
[ ] @QuanluZhang ptimizer & lr scheduler construct helper
[ ] @J-shang v2 pruning example

HPO

[ ] @J-shang TPE
[ ] @J-shang Grid Search

nnictl

Create experiment

[ ] @QuanluZhang v2 correct config
[ ] @QuanluZhang v2 wrong config
[ ] @QuanluZhang v1 correct config
[ ] @QuanluZhang v1 wrong config (will suggest user to manually convert)
[ ] @QuanluZhang annotation correct config
[ ] @QuanluZhang annotation wrong config
[ ] @J-shang From Python correct
[ ] @J-shang From Python wrong
[ ] @J-shang remote
[ ] @J-shang hybrid
[ ] @SparkSnail AML

[ ] @QuanluZhang Using invalid field
[ ] @QuanluZhang Report error when set trialGpuNumber to zero/undefined and maxTrialNumberPerGpu > 1

Training Service

@liuzhe-lz Hybrid for all reuse training services

Web UI

@liuzhe-lz Style update

[ ] To be fixed: search space not support 1e-5
[ ] Torch lightning

[ ] #4206

[ ] #4243

[ ] #4280

[ ] #4304

[ ] #4305

[ ] #4307

[ ] #4308

[ ] #4320

[ ] #4321

[ ] #4322

[ ] #4328

[ ] #4332

[ ] #4337

[ ] #4338

[ ] #4341

[ ] #4385

[ ] #4390

[ ] #4400

[ ] #4412

[ ] #4418

[ ] #4420

[ ] #4423

[ ] #4428

[ ] #4437

[ ] #4438

[ ] #4440

[ ] #4445

[ ] #4451

[ ] #4457

Model Compression

New Pruner Supported in Pruning V2

Auto-Compress Pruner
AMC Pruner
Movement Pruning Pruner

Support nni.trace wrapped Optimizer in Pruning V2. In the case of not affecting the user experience as much as possible, trace the input parameters of the optimizer.
Optimize Taylor Pruner, APoZ Activation Pruner, Mean Activation Pruner in V2 memory usage.
Add more examples for Pruning V2
Add document for pruning config list
Bug Fix

Fix Slim Pruner in V2 not sparsify the BN weight.
Fix Simulator Annealing Task Generator generates config ignoring 0 sparsity.

NAS

Enhancement to serialization utilities (doc TBD) and changes to recommended practice of customizing evaluators (doc TBD)

Bug fixes

Fix a bug that causes DARTS 2nd order to crash.
Fix a bug that causes deep copy of mutation primitives (e.g., LayerChoice) to crash.

NAS

Refactor NAS examples of ProxylessNAS and SPOS.
Support latency constraint on edge device for ProxylessNAS based on nn-Meter.


rabbitmq-server.ssl.disable_non_ssl_listeners doesn't work

I tried to configure rabbitMQ to accept communication from client with and without TLS. I set following properties:

rabbitmq-server.ssl.enabled = true
rabbitmq-server.ssl.cacert
rabbitmq-server.ssl.cert
rabbitmq-server.ssl.key
rabbitmq-server.ssl.disable_non_ssl_listeners = false

I'm able to connect via TLS on port 5671, but it isn't possible to connect without TLS (on port 5672). The rabbitMQ doesn't listen on port 5672 because the jobs/rabbitmq-server/templates/setup.bash script doesn't specify proper listener. The configure_tls_listeners() function doesn't specified 5672 port in tcp_listeners property (please see this line: https://github.com/pivotal-cf/cf-rabbitmq-release/blob/master/jobs/rabbitmq-server/templates/setup.bash#L125).
I used the v263.0.0 release version because I want to use rabbitMQ 3.6.x but the issue should occur in the latest version (from master) too, because there are no changes in configure_tls_listeners() method.
I suppose that the following lines should fix the issue:
  local cmd="-rabbit tcp_listeners [5672] -rabbit ssl_listeners [5671] -rabbitmq_mqtt ssl_listeners [8883] -rabbitmq_stomp ssl_listeners [61614]"
  local disable_non_ssl_listeners_cmd="-rabbit tcp_listeners [] -rabbitmq_mqtt tcp_listeners [] -rabbitmq_stomp tcp_listeners []"

Is my supposition correct?
Could you tell me if there is another way to configure rabbitMQ to accept client communication with and without TLS?

Hey @golojg,
your suggestion sounds good.
Feel free to create a PR.
In the first line, you can even omit -rabbit tcp_listeners [5672] because RabbitMQ will listen on that port by default.


Feature request: Create a library project like angular/material

Feature request: Create a library project like angular/material
- [X] feature request

ng new --lib materialLikeProject
Creates all the project boilerplate for build a AOT library (multiple modules in one package).
All the things currently in ng-cli can operate well as a testing application of the library.
ng serve: starts a 'demo' application (excluded from output boundle).
ng build: build and rollup the library (commonjs, amd, es6 module packages).
Something planned like that?

This will not be done with Angular CLI 1, but is a main use case taken in the design of version 2. Cheers!

@hansl: Being able to build a library/module similar to angular/material is a critical item for our company to move from AngularJS to Angular, but it is very hard to find any help on how to do this.  If this will be supported by the angular-cli, that will be excellent!  However, is there any estimate as to when this feature may appear?  This feature request came out nearly a year ago.  Thanks!

@bmbell if you want to use this for structuring your app, and you don't have the intention to publish those libraries to the npm registry you can look into https://github.com/nrwl/nx . It offers a great solution for splitting up you Angular application into libraries/modules.
I know it's not the answer to your question but I figured it might help.


Online Counter doesent work

Hi, @sant0ro, how can i fix the online counter?
when I connect it does not put on 1 of my online column user and when I'm disconnected obviously does not put 0

Hi,
caused by missing call to RunQuery in
https://github.com/sant0ro/Yupi/blob/nio/Yupi/Emulator/Game/GameClients/GameClientManager.cs#L326
and
https://github.com/sant0ro/Yupi/blob/nio/Yupi/Emulator/Game/GameClients/GameClientManager.cs#L340

Ah Thanks! @TheDoct0r11

Fixed in 42b0ebc


pull request for e2e test at 11/12/2016 09:26:09

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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


Develop tests and document '/api/prefixes/token/'

Expected response codes for endpoint api/prefixes/token/ on Swagger documentation:

After testing,
expected response: 200 (successful Response)
received response: 200 (Successful Response)
expected response: 400 (Bad request)
received response: 403 (Forbidden)
Update Swagger documentation