Optimize RMSNormalize with Trident

Trident is a performance library for machine learning applications intended for acceleration of training and inference. By using this, RMSNormalization is optimized up to 375%.
Forward: 300% imporved.

rms norm forward:
    num_batches  deepspeed   trident
0           8.0   0.595187  0.164108
1          16.0   1.160047  0.316602
2          24.0   1.729097  0.467994
3          32.0   2.298062  0.619279
4          40.0   2.869373  0.771031
5          48.0   3.443560  0.923193
6          56.0   4.016168  1.074962
7          64.0   4.583026  1.226469
8          72.0   5.162269  1.379118
9          80.0   5.734089  1.530237
10         88.0   6.303471  1.683501
11         96.0   6.892024  1.842064
12        104.0   7.460018  1.989293
13        112.0   8.035017  2.139457
14        120.0   8.605481  2.292632
15        128.0   9.177083  2.458444
16        136.0   9.839646  2.608704
17        144.0  10.418415  2.751219
18        152.0  10.990133  2.904988
19        160.0  11.564123  3.072404

Backward: 425% imporved.

rms norm backward:
    num_batches  deepspeed    trident
0           8.0   2.120994   0.645962
1          16.0   4.144986   1.248506
2          24.0   6.184935   1.850989
3          32.0   8.232182   2.461058
4          40.0  10.320722   3.063013
5          48.0  12.374214   3.670382
6          56.0  14.414406   4.280997
7          64.0  16.460709   4.888706
8          72.0  18.535572   5.521905
9          80.0  20.623859   6.119478
10         88.0  22.607237   6.740535
11         96.0  24.656746   7.357850
12        104.0  26.721840   7.988555
13        112.0  28.772961   8.591690
14        120.0  30.819403   9.201213
15        128.0  32.843903   9.770794
16        136.0  34.955204  10.564815
17        144.0  37.049259  11.246691
18        152.0  39.073608  11.833549
19        160.0  41.148815  12.440465

@daemyung please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”), and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your contributions to Microsoft open source projects. This Agreement is effective as of the latest signature date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

@microsoft-github-policy-service agree [company="kakaobrain"]

@daemyung the command you issued was incorrect. Please try again.
Examples are:
@microsoft-github-policy-service agree

and
@microsoft-github-policy-service agree company="your company"

@microsoft-github-policy-service agree


Add condition message to event message

If you're using some monitoring solution that aggregates events from your Kubernetes cluster, (e.g., Datadog,) having the underlying reason why a condition triggered could be very useful, especially if you are using custom plugin monitors.
Obviously, the fact that a message field contains the word "message" in it is a little awkward, but I didn't know what else to call it, besides something that seemed redundant like "condition message." I'm totally open to suggestions here, as long as the message contents get included somehow.
I could not find a documented upper bound on the size of the message field in core.v1.Event, so I didn't attempt to truncate the message here. Please let me know if I should do so anyway.

/ok-to-test

Thank you for the helpful suggestion, @mmiranda96. Looks like the tests are all good now.

/lgtm

/assign @andyxning

/approve


improvement Select statement supports insert into variables

Proposed changes
only allow select results to have only one row, such as:
  declare ret;
  select count(1) into ret from tbl;

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Create SQL migrations

This hopefully makes the evolution of the database schema straight-forward. This is intended to be used with the POSTGRES_URL environment variable set. Alternatively a .env can be used. The ./sql/migrate.sh script will apply all the outstanding patches to the database and make sure they are applied in order.

Why does the email field not have the length() > 0 constraint?
Also, using -r[eadable] in migrate.sh is a more sane check for the env file than just -e[xists] :)

@movatica Thanks, I didn't know about -r and the missing constraint was just an oversight when I deleted a more complicated (futile) email check.


Process description link for openeo.cloud

One of the RIDs for SRR2 was:
Could the provided hyperlinks be updated to refer to   https://docs.openeo.cloud/processes/ instead of openeo.org?
@m-mohr currently this is not possible right? Or is there a way to visualize it using the link only?

It is possible, just add the name at the end with a leading #:
Example: https://docs.openeo.cloud/processes/#date_shift

Thanks!


Fix open_next_state_channel

Just thought about this but I need to make sure that we do not go over the max time limit


Meeting 04.02.2021

DESC

meeting protocol
implication of hosting / pricing / consider deployment
https://docs.github.com/en/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site#unpublishing-a-user-or-organization-site

Use cases

able to write but not to delete
three levels: owners (full power) - contributers (netlify CMS / project partners) - members (join chat etc. / see something / cannot modify website + not delete stuff from the chat)

Workshop

prepare / introduc google jambard
'miro' tool also an idea
each one of us is managing one virtual board / collecting requirements / feeedback during the workshop

TODOs

[x] disable github deployment again --> renamed it so it is unpublished!
[x] #92
[x] relabel to e-shop (designs is not the right use-case)
[x] climate change (consider applyign a dark mode) --- only if easy to implement

implemented / created own issues


IMPROVER bugs when handling cubes with negative-stepping y-coordinate.

As a Developer I want IMPROVER to be able to handle negatively-stepping coordinates so that I can use the code base to process data on the current (pre-standard-grids) UK 2km grid.
Why? nimrod_to_cubes loads Nimrod-format data and puts meta-data around it. Because Nimrod-format data usually have the origin at the top-left rather than the bottom-left, this means that the projection-y-coordinate steps from 1220000. to -184000. in steps of -2000.
(It is possible to use np.flipud on the Nimrod data and reverse the y-coordinate which would sweep this bug under the carpet).
Related issues: None known
Where has this been spotted? nbhood modules.
Specifically, improver.utilities.spatial.check_if_grid_is_equal_area()
line 74 should compare abs(x_diff) with abs(y_diff) to see if cube has a square grid.
improver.nbhood.square_kernel.SquareNeighbourhood.pad_coord()
line 152 should use orig_points[0] (not .min())
line 153 should use orig_points[-1] (not .max())
Acceptance criteria:

Existing unit tests should not need to be changed
New unit test to show negative-stepping coords work too.
Existing BATS tests should also not need to be changed

Fixed by #315 .


”Lespezi”, ”Buda”, ”Bursuc-Deal” are listed in the drop-down menu

Description:
When user writes ”Lespezi”, ”Buda”, ”Bursuc-Deal” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Lespezi"

Expected results
The location appears in the drop-down menu as "Sat Lespezi, IAȘI (Lespezi)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Buda"

Expected results
The location appears in the drop-down menu as "Sat Buda, IAȘI (Lespezi)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Bursuc-Deal"

Expected results
The location appears in the drop-down menu as "Sat Bursuc-Deal, IAȘI (Lespezi)".


EAC blocking PimaxXR software, "Untrusted system file"

After realizing that Pavlov VR had a new update, I had wanted to play but was blocked due to the fact that they made it run in OpenXR. From past experiences with BoneLab I installed PimaxXR to help with the issue to let me play, but the game tosses up a message showing "Untrusted system file" as such

Pavlov VR Update 29 is the most recent update as of today.
Pimax is version <IP_ADDRESS> running on the Pimax Artisan
To reproduce what is happening, all you need to do is install PimaxXR on your system and have it running when you open Pavlov VR. A prompt saying that there is an untrusted system file will pop up while the game closes itself out.
What I was expecting was to be able to play with fairly small issues (such as hand tracking may be out of place as that's how it is in BoneLab) but with nothing really going to hinder my session.
pimax-openxr.log

This is Pimax's fault. They aren't signing their own software.
In the meantime, I provided a workaround here: https://github.com/mbucchia/Pimax-OpenXR/wiki/Signed-Pimax-client-DLLs
But as you'll note, I haven't put a DLL for 1.11, because it's difficult to keep up with the new releases. I'll try to add the 1.11 one later this week, meanwhile you can downgrade to 1.10 (or maybe try the 1.10 DLL with 1.11, but I'm not quite sure it'll work).

Alright so the 1.10 DLL works perfectly fine, just needs some fine-tuning on PavlovVR's part, but thank you so much for pointing me in the right direction! My only issues are either related directly to how PavlovVR is taking inputs as their Index control scheme has been kicked out of the door, or to how the game senses that they are WMR controllers (I have it set to emulate the Touch controllers). I don't know if you have anything to say on that as PavlovVR just updated today, but just wanted to let you know that's happening.

Good to know the DLL works. I'm a bit surprised you are having bindings issue because Unreal Engine is usually pretty good with that. Have you tried not using the controller profile override in the Control center app (setting it to nothing)? Really that option was meant for Bonelab prior to me adding proper finger sensing support for Index, and that option should really not be needed. I'm actually considering removing it.

The controller profile override set to nothing works properly, the controllers are sensed as Index controllers with the default bindings. Menus open, sprint sprints, scoreboard shows up.
There also seems to be an old issue mentioning positional and rotational offset and that seems to be happening here in PavlovVR. Would it be better to make a new issue or to keep it in this thread?

There also seems to be an old issue mentioning positional and rotational offset and that seems to be happening here in PavlovVR

I don't understand what you mean by "and old issue". The offsets for the Index controller in PimaxXR pass the conformance usability testing, and therefore are correct. If they don't seem right then it is likely an issue with the game, and nothing I can do about.
I have Pavlov on a different PC so I'll give it a try later.

You should 100% NOT be using the swap option. That option was meant to workaround OpenComposite bugs, and it will be removed.
The controller poses for Vive and Index are working in several apps as of today, so what you are saying really sounds like the game itself is broken.
What type of physical controller do you actually have?

I tested the game and I understand what you mean "gun facing down".
One thing that is interesting is that the aim in the main menu is perfect. I think it's a combination of how the game uses the motion controller and the finger sensing of the Index. I'll have to look into why this happens, it still very much looks like a game issue to me, but we can probably workaround it

Setting grip_pose_rot_x to 40 in the PimaxXR advanced settings to override the game poses is fixing the issue. This isn't good. I'll continue trying to understand why this is happening.

Sorry for the delay, I'm looking at this now and checking the offsets for all controller types in all the games I own.

I have spent now 3 hours on this. The game is 100% at fault. Using offsets that make Pavlov VR work with Index Controller is 100% breaking both the OpenXR Conformance test suite and every other game like Beat Saber...

I'm seeing there is a "Gun Offset Adjust" option in the game. This will be your best bet until the developer fixes the game :(

Please try the new release 0.4.0.
I adjusted the offsets a little. They are still not 100% correct in Pavlov but this is the game's bug. They are now in range of what "Gun Offset Adjust" can deal with.


Web crawler

Add a web crawler to the project to get data from different news feeds and store it in the database.
Use python and SQLite database.
List of RSS URLs stored at the crowler/urls.txt file, the results should be stored in the feeds table in the database.
The results should be in crawler/ folder.
go:

restart:

Save the title, description, date, and URL of the item.

restart:

Save the title, description, date, and URL of the item. Catch exception in case of error during saving url and continue list iteration.

restart:

restart:

go:

restart:

write real code

explain:

go:
   variants: 3


Remove sortable element data from map.

On destroy we need to remove the elements from stores map.
Otherwise if the elements are removed from the DOM, the element references will be available here, which will prevent the GC operation.
https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/memory-problems/dom-leaks

Coverage increased (+0.1%) to 86.441% when pulling 4b9632aab7b6c4b685c872d5b412f4216d8261eb on d-ashokkumar:patch-1 into 712fba1f7413922a2903c678e9fd255e8c64da64 on lukasoppermann:master.


Extract provider status mapper

Refactoring moved to dedicated PR for visibility as suggested in this review
Note that provider resource has no summary status provided by the backend - the condition to state mapping is calculated only in the frontend.

/lgtm


Popover in Wrong Location When Menu Bar is set to Automatically Hide

Prerequisites
Please check that your issue isn't already filed: https://github.com/kmikiy/SpotMenu/issues?utf8=✓&q=
Description
When I have 'Automatically hide and show the menu bar' checked and click on SpotMenu, you can't see the popover. If I close all windows, the popover is positioned so only the bottom 20px or so is visible behind the menu.
Steps to Reproduce
Set Menu bar to 'Automatically hide and show the menu bar'
Click SpotMenu
Expected behavior: [What you expect to happen]
Popover should show
Actual behavior: [What actually happens]
It is positioned in the wrong place and can only see the bottom 20px or so
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
SpotMenu version: [Version of SpotMenu]
You can get this information by highlighting SpotMenu.app (most likely in your Applications folder) in finder and pressing space.
MacOS version: [Version of MacOS]
You can get this information by clicking the  logo on the top left of your menu bar and selecting About This Mac.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

You can downgrade to SpotMenu 1.8 which uses a different popover. Or check out my alternative: https://github.com/dimitarnestorov/MusicBar

MusicBar works great, thanks!

I'm glad you liked it but you shouldn't close this issue since it's not fixed in SpotMenu yet.

Good call, reopened


The appliance labels should be similar to the new EU energy labels

The EU has created new labels (A to G) to replace the old labels (A+++ to D). An A+++ (old label) could be even similar to the new F or G label, depending on the type of appliance.

For more information see: https://ec.europa.eu/commission/presscorner/detail/en/ip_21_818

@MartLubben do you mean that only the visualisation should be changed? Or should also the underlying data be changed and if so, what would that entail?
Other than that, do you have someone in mind to pick this up?

To be honest I only noticed this issue but do not have a clear solution yet.
I can imagine that we would need an estimation of the start value per appliance group and of the impact of increasing it with a label step. I am not sure how we currently set the start value (or start label). It seems we know per appliance group what the start label is:


NoiseSynth will not play more than once.

The NoiseSynth will not play more than once.
let noiseSynth;
document.body.addEventListener("click", function () {
      noiseSynth = noiseSynth || new Tone.NoiseSynth().toDestination();
      noiseSynth.triggerAttackRelease("8n", 0.05);
});

MembraneSynth, MonoSynth, PolySynth ect. will all play again onclick.

Using the single parameter solved the problem:
noiseSynth.triggerAttackRelease("8n")

Thanks, I experienced the same problem. I think the documentation should be updated if this is not a bug.


Add support for deleting CC

This PR will add support for deleting CC.

Could you add some tests here for the unstore method?


Enable CI for this project

Now, the new PRs are not automatically tested.

Great catch! Thanks!
Added:
https://travis-ci.org/SmashingDashboard/smashing


Prepare release 2.0.2

Cherry picked #555 and #577
Bump version to 2.0.2
I deleted the associated changelog fragments since this branch does not use the changelog actions.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.25%. Comparing base (dd62c39) to head (2431e7b).

:exclamation: Current head 2431e7b differs from pull request most recent head f102170. Consider uploading reports for the commit f102170 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           release/2.0     #579   +/-   ##
============================================
  Coverage        94.25%   94.25%
============================================
  Files                7        7
  Lines              783      783
============================================
  Hits               738      738
  Misses              45       45

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Added translation for Japanese

Hi there! I created a translation file for Japanese. I'd be happy if you merged it.

Wow! Thanks for merging them so quickly.
I confirmed the blocks are displayed in Japanese😊
I appreciate that!


createTangentSpaceDebugPrimitive broken

This is not a bug in createTangentSpaceDebugPrimitive itself, but a bug in Primitive asynchronous geometry creation when no _workerName is present.  We could work around this by having createTangentSpaceDebugPrimitive set asynchronous to false, but it might be just as easy to fix Primitive.
Also, createTangentSpaceDebugPrimitive is not marked as private, but it's not showing up in the doc.  I'm not sure why.

Forgot to include the forum post

Fixing async primitives with pre-created geometries was harder than I expected, so simply setting async to false is the way to go.


The log info from the author is wired

Hi, dear author!
I have downloaded the log file of model 'DP&iResnet50' and 'DDP&iResnet50' in the Readme, but I find the values of loss and feature norm are totally different. Could you please have an analysis about this?
logging info  in 'DP&iRestnet50'
Epoch: [24][11300/11372]	Loss 3.239 (3.159)
[debug info]: x_norm mean: 22.36 min: 12.71 max: 30.96
[debug info]: margin mean: 0.49 min: 0.46 max: 0.52
'DDP&iResnet50'
Epoch: [24][11300/11373]	Loss 10.545 (11.059)
[debug info]: x_norm mean: 33.97 min: 25.64 max: 40.67
[debug info]: margin mean: 0.53 min: 0.50 max: 0.56

Hi, this is caused by a bug during testing, where the total loss is calculated by loss=loss_id+num_gpu*lamba_g*loss_mag. Therefore, the lambda_g in the DDP version is actually num_gpu times (8 in our implementation) of that in the DP version.
DDP
Epoch: [24][11300/11373] Loss 10.545 (11.059) L_ID 1.470 (1.972) L_mag 1.134359 (1.135842)

DP
Epoch: [24][11300/11372] Loss 3.239 (3.159) L_ID 1.573 (1.494) L_mag 1.666522 (1.665718)

BTW, the released version does not have the bug.

Thanks for your quick reply!


Implement is_alive method

See details in the parent issue napalm-automation/napalm-base#137

Hey @awlx would you mind having a look at this?

@mirceaulinic will look into it :).


Cannot find module 'Core', 'Components', 'tag'.

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request/question

Current behavior

Unable to compile the code.
Expected behavior

Need to use of the module as in the examples.
Minimal reproduction of the problem with instructions (if applicable)

Added the module and added "Basic example" code to test the module.
While compiling the code the below issue is coming up.
ERROR in xyz/node_modules/ng2-tag-input/dist/modules/components/dropdown/tag-input-dropdown.component.d.ts (3,26): Cannot find module 'core'.

ERROR in xyz/node_modules/ng2-tag-input/dist/modules/components/dropdown/tag-input-dropdown.component.d.ts (4,35): Cannot find module 'components'.
ERROR in xyz/node_modules/ng2-tag-input/dist/modules/components/tag/tag.component.d.ts (2,26): Cannot find module 'core'.
ERROR in xyz/node_modules/ng2-tag-input/dist/modules/components/tag/tag.component.d.ts (3,27): Cannot find module 'tag'.
ERROR in xyz/node_modules/ng2-tag-input/dist/modules/components/tag-input/tag-input.d.ts (8,44): Cannot find module 'core'.
ERROR in xyz/node_modules/ng2-tag-input/dist/modules/components/tag-input/tag-input.d.ts (9,62): Cannot find module 'components'.
webpack: Failed to compile.
What is the motivation / use case for changing the behavior? (if applicable)

What do you use to build your app? (SystemJS, Webpack, angular-cli, etc.). Please specify the version

Webpack
Angular version:

"@angular/core": "^4.0.0"
ng2-tag-input version:

"ng2-tag-input": "^1.3.1"
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

All browsers.

Already filed here: https://github.com/Gbuomprisco/ng2-tag-input/issues/419

Can we get #419  merged and version bumped please?

i'll try get this fixed in the weekend guys

Got the same error, also using angular*: ^4.0.0, ng2-tag-input: "^1.3.2"

Got the same error, also using angular/*: ^4.0.0, ng2-tag-input: "^1.3.2"

{   "name": "scroll-down",   "version": "0.0.0",   "license": "MIT",   "scripts": {     "ng": "ng",     "start": "ng serve",     "build": "ng build",     "test": "ng test",     "lint": "ng lint",     "e2e": "ng e2e"   },   "private": true,   "dependencies": {     "@angular/common": "^4.0.0",     "@angular/compiler": "^4.0.0",     "@angular/core": "^4.0.0",     "@angular/forms": "^4.0.0",     "@angular/http": "^4.0.0",     "@angular/platform-browser": "^4.0.0",     "@angular/platform-browser-dynamic": "^4.0.0",     "@angular/router": "^4.0.0",     "angular2-useful-swiper": "^4.0.5",     "core-js": "^2.4.1",     "ng2-fullpage": "^2.1.0",     "ng2-owl-carousel": "^0.1.15",     "ng2-tag-input": "^1.2.9",     "primeng": "^4.0.3",     "rxjs": "^5.1.0",     "zone.js": "^0.8.4"   },   "devDependencies": {     "@angular/cli": "1.0.2",     "@angular/compiler-cli": "^4.0.0",     "@types/jasmine": "2.5.38",     "@types/jquery": "^2.0.45",     "@types/node": "~6.0.60",     "codelyzer": "~2.0.0",     "jasmine-core": "~2.5.2",     "jasmine-spec-reporter": "~3.2.0",     "karma": "~1.4.1",     "karma-chrome-launcher": "~2.0.0",     "karma-cli": "~1.0.1",     "karma-coverage-istanbul-reporter": "^0.2.0",     "karma-jasmine": "~1.1.0",     "karma-jasmine-html-reporter": "^0.2.2",     "protractor": "~5.1.0",     "ts-node": "~2.0.0",     "tslint": "~4.5.0",     "typescript": "~2.2.0"   } }

Same error here.
ERROR in C:/dev/coro-joven/webapp/webapp/node_modules/ng2-tag-input/dist/modules/components/dropdown/tag-input-dropdown.component.d.ts (3,26): Canno
t find module 'core'.

ERROR in C:/dev/coro-joven/webapp/webapp/node_modules/ng2-tag-input/dist/modules/components/dropdown/tag-input-dropdown.component.d.ts (4,35): Canno
t find module 'components'.

ERROR in C:/dev/coro-joven/webapp/webapp/node_modules/ng2-tag-input/dist/modules/components/tag/tag.component.d.ts (2,26): Cannot find module 'core'
.

ERROR in C:/dev/coro-joven/webapp/webapp/node_modules/ng2-tag-input/dist/modules/components/tag/tag.component.d.ts (3,27): Cannot find module 'tag'.

ERROR in C:/dev/coro-joven/webapp/webapp/node_modules/ng2-tag-input/dist/modules/components/tag-input/tag-input.d.ts (8,44): Cannot find module 'cor
e'.

ERROR in C:/dev/coro-joven/webapp/webapp/node_modules/ng2-tag-input/dist/modules/components/tag-input/tag-input.d.ts (9,62): Cannot find module 'com
ponents'.

@angular/cli: 1.1.0
node: 6.10.3
os: win32 x64
@angular/animations: 4.1.3
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/router: 4.1.3
@angular/upgrade: 4.1.3
@angular/cli: 1.1.0
@angular/compiler-cli: 4.1.3
npm -v
5.0.2

Same here and can't use 1.2.9 - I get the "readonly" error. any other workaround?

Try 1.2.8

Hi all, this should have been fixed by @eyalhakim. I would have loved to keep the named paths intact, but apparently the CLI won't work with them just yet. Please reopen this ticket if you still have issues.:)


Add Pull Request Template

Basically just move https://github.com/meanjs/mean/blob/master/CONTRIBUTING.md#commit-message-guidelines to a file called PULL_REQUEST_TEMPLATE.
https://github.com/blog/2111-issue-and-pull-request-templates
https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/
(Sorry, no time here for a PR)

I'll add this tomorrow, thanks for the info @simison
Looks like that open letter helped :)

@lirantal What open letter? :-)

I can't believe you missed it!
https://github.com/dear-github/dear-github
You should start following me on LinkedIn/Twitter :)

Ah ye this one! — I indeed did see (and sign) it, I just had forgotten the exact contents of it. Thanks for reminding!


How do i authorize whit Username and Password?

How do i authorize whit Username and Password?
i simply use:
public static async Task Publish_Application_Message()
{
var mqttFactory = new MqttFactory();
using (var mqttClient = mqttFactory.CreateMqttClient())
{
var mqttClientOptions = new MqttClientOptionsBuilder()
.WithTcpServer("Broker")
.Build();
await mqttClient.ConnectAsync(mqttClientOptions, CancellationToken.None);
var applicationMessage = new MqttApplicationMessageBuilder()
.WithTopic("Topic")
.WithPayload("Payload")
.Build();
await mqttClient.PublishAsync(applicationMessage, CancellationToken.None);
await mqttClient.DisconnectAsync();
}
}
The mqtt server i am trying to reach has a  username and a password and i cannot find any such example in your sample data, so my questions is simply where do i put this information so that i can autorize. Currently whitout autorization the application enters breakmode when i try and connect.
Thank you beforehand!

Found it!
public static async Task Publish_Application_Message()
{
var mqttFactory = new MqttFactory();
using (var mqttClient = mqttFactory.CreateMqttClient())
{
var mqttClientOptions = new MqttClientOptionsBuilder()
.WithTcpServer("Broker")
.WithCredentials("username", "password")
.Build();
await mqttClient.ConnectAsync(mqttClientOptions, CancellationToken.None);
var applicationMessage = new MqttApplicationMessageBuilder()
.WithTopic("Topic")
.WithPayload("Payload")
.Build();
await mqttClient.PublishAsync(applicationMessage, CancellationToken.None);
await mqttClient.DisconnectAsync();
}
}


Failure when adding encoding: .JSON to call without parameters

Here in this example:
let URL = MY_URL
let parameters = [:]
let headers    = SharedItemResources.addAuthenticationTokenToHeader()

Alamofire.request(.GET, URL, parameters: parameters, encoding: .JSON, headers: headers).validate().responseJSON { response in
    switch response.result {
            case .Success:
		// Success
            case .Failure:
		// Failure
    }
}

I am adding encoding: .JSON whereas I am not passing any parameters. It used to work in the previous version (3.1.4) but I just did a pod install and now (version 3.3.0) it sends a FAILURE without any information. Here's the response object in XCode:

I tried everything I could but it seems like it is an internal error,
Cheers

You'll need to debug the error being returned. Since you are not receiving a URL response, that means you're not actually able to hit the server and your request is not being formed properly. You should try using the following to debug further:
let request = Alamofire.request(.GET, URL, ...).responseJSON { response in
    print(response)
}

debugPrint(request)

In the future, you should open a question on Stack Overflow. If you do end up finding an actual issue in Alamofire, please comment back with more info and I'll be happy to investigate.
Cheers. 🍻


Please support 'block_size' in clickhouse connection configuration

Initial sync for very large and wide(500columns) table will fail
DB::Exception: Memory limit (for query) exceeded: would use 9.31 GiB (attempt to allocate chunk of 8388608 bytes)
After discover, it cause by clickhouse driver default block_size=1000000.
When the table is too wide, 1million rows will execeed Memory limit 10G.
Add a setting for 'block_size' will solve this.

You can try to use just released prestable version which uses http protocol: https://github.com/mkabilov/pg2ch/releases/tag/v1.0.0

@mkabilov could you please guide me how to build the project from source?
Also what's your plan for production release?


[Bug]: Terms of Services link not working

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When i clicked on terms of services link I found the page to generate the error 404 page not found. To resolve this a file must be created and be implemented on the website
Add Screenshots

What browsers are you seeing the problem on?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

also site map??

yes mam that too


Ignore nested events in GTK shell

Now the GTK shell uses Mutex::try_borrow_mut and thus ignores nested events.
This Closes #735 and Closes #571

What happens to the event when it's ignored? Just dropped? I think a log_dropped_msg like the one in the Windows implementation would be a good idea here.

Well, I still do not truly understand how how druid-shell works but from what I've seen I doubt this can be truly solved without restructuring druid-shell. Also ignoring nested events does not really hurt the user experience as they are rare and do not matter in the cases where they occur.

yes, i think at least being defensive is the right decision for the time being.


Develop

Coverage remained the same at 100.0% when pulling 6c1746be200e8bc9e57de61a630a0344f404d30a on develop into e4589edd18c4471eee7d7990e2888c81a3b9fe01 on master.


Logistic Regression Training Problem

I am trying to use logistic regression classifier for classifying tweets. However I am facing with a very long training time. for 1000 training objects it doesn't even finish in one day.
I have attached my code. every part is working and I am not sure if the problem is with my code or with the repository.
I really appreciate any helps or tips.
LR.txt

If you are attempting to use a very large dataset I would suggest using a more performant library such as theano or scikit, which runs the actual testing code in C as opposed to javascript (both have a python API).

1000 tweets does not sound like a large dataset.

that program is short enough to inline
var async = require("async");
var jsonfile = require('jsonfile');
var util = require('util');
var cutter = require('../controller/removeTags.js');

var natural = require('natural');
var classifier = new natural.LogisticRegressionClassifier();

//////////// TRAINING DATA /////////////////
var trainingData = {
    path: '../path/to/Training/test-data.JSON'
};
var testData = {
    path: '../path/to/Training/test-data.JSON'
};
var dictionary = {
	path:'../path/to/Dictionary/LR_dictionary.JSON'
};

var count = 0;

// Starting to Load Logistic Regression

	var count = 0;
	jsonfile.readFile(trainingData.path, function(err, obj) {
	async.each (
			obj,
			function (item, done) {
				classifier.addDocument(cutter.trim(item.text),item.sentiment)
				count ++;
				console.log(count);
				done();
			},
			function (err) {
				if(err){console.log("Error")}
				else{
					classifier.train();

					classifier.save(dictionary.path, function(err, classifier) {

					console.log(classifier) })
				}
			}
		);
	})

I don't know if this is related but I have found that for some texts the LR classifier training function calls descendGradient and this function never ends, specifically here:
`while(!learningRateFound) {
var i = 0;
last = null;
    while(true) {
        var hypothesisResult = hypothesis(theta, Examples);
        theta = theta.subtract(Examples.transpose().x(
        hypothesisResult.subtract(classifications)).x(1 / Examples.rows()).x(learningRate));
        current = cost(theta, Examples, classifications);

        i++;

        if(last) {
        if(current < last)
            learningRateFound = true;
        else
            break;

        if(last - current < 0.0001)
            break;
        }

        if(i >= maxIt) {
            throw 'unable to find minimum';
        }

        last = current;
    }

    learningRate /= 3;
}`

I have found that learningRateFound is false all the time, for literary hours. Can you try logging this and see if this is indeed the issue?

Same here.


Wire up browse filters for browser

Filters should be added to query parameter string for the browse view to both control state and make the view that is being browsed shareable.


personal_* methods are deprecated / sunset rpcwallet?

while moving wallet-rpc tests from ganache to anvil i discovered that the personal_importkey method returns an method not found error. it turns out the personal_* methods are all deprecated in geth and not implimented in anvil
As OP geth mirrors geth closely its safe to assume these will not work on Cel2 either.
As the RPCWallet at its core depends on calling these personal methods to initialize, setup accounts, and sign transactions, It seems it would be time to submit it for sunset.
For alternative see https://geth.ethereum.org/docs/tools/clef/introduction

the namespace is also used in releasecelo/admin-revoke celocli command https://github.com/celo-org/developer-tooling/blob/master/packages/cli/src/commands/releasecelo/admin-revoke.ts


Label file should be changed in the script

in reference to https://github.com/sct-pipeline/spine-park/issues/27#issuecomment-2083313953, the manual disc labels is incorrectly spelled out in the processing script:
https://github.com/sct-pipeline/spine-park/blob/5c286d475dcfe6c5dfc8884477e59862b382d931/batch_processing.sh#L49-L50

@Kaonashi22 this should now be fixed in the latest version-- can you give it a try?

Thank you, I'll let you know!


Deepface.verify() get stuck on processing

nparr1 = np.frombuffer(base64.b64decode(_json["imgLog"]), np.uint8)
        nparr2 = np.frombuffer(base64.b64decode(_json["ogImg"]), np.uint8)
        print("nparr",type(nparr1))
        image1 = cv2.imdecode(nparr1, cv2.COLOR_BGR2GRAY)
        image2 = cv2.imdecode(nparr2, cv2.COLOR_BGR2GRAY)
        print("image",type(image1))
        try:
            print("verifying face")
            img_result = DeepFace.verify(image1, image2)
            print("done verifying face")
        except Exception as e:
            print("exception in deepface",e)
        print("imgresult",img_result)

It never reaches done verifying face stage.
Ps: I am running it inside docker and using gunicorn and i have tried deepface version 0.0.49 and 0.0.75 scenarios are same in both.
You can see my docker file below.
`FROM python:3.7.9-buster
RUN apt-get update
&& apt-get install -y -qq \
&& apt install cmake -y
&& apt-get install ffmpeg libsm6 libxext6  -y
&& apt-get clean
RUN pip3 install --upgrade pip
Install libraries
COPY ./requirements.txt ./
RUN pip install -r requirements.txt &&
rm ./requirements.txt
Setup container directories
RUN mkdir /app
Copy local code to the container
COPY . /app
launch server with gunicorn
WORKDIR /app
EXPOSE 8080
ENV PORT 8080
ENV FLASK_CONF config.ProductionConfig
CMD ["gunicorn", "main:app", "--timeout=60", "--preload", \
"--workers=1", "--threads=4", "--bind :$PORT"]
CMD exec gunicorn --bind :$PORT main:app  --preload --workers 9 --threads 5 --timeout 120`

	shortcut = tensorflow.keras.layers.Conv2D(filters, 1, strides=stride, use_bias=False, kernel_initializer='glorot_normal', name=name + '_0_conv')(x)

this line gets stuck in the block1 function in arcface.py file

@serengil any updates or solutions ?

no because this is docker dependent bug. you might ask this to docker topic in stackoverflow.


⚠ AsianCinema has degraded performance

In 89b7fc8, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 523
Response time: 1312 ms

Resolved: AsianCinema performance has improved in 0deaca2 after 6 minutes.


TrustKit Integration (certificate pinning library)?

Hey there,
TrustKit is a library for Certificate Pinning implementation. Pretty similar to what you did here with CertificatePinner, but with reporting capability and Network Security Configuration compatibility. Integrating this library with a regular ok client is pretty easy, but integrating it with the client used by React Native is not easy at all (see this issue: datatheorem/TrustKit-Android#6). The main issue is that TrustKit implements pinning using TrustManager, and the API does not expose the host name. Therefore, when creating TrustKit TrustManager, you need to supply it the host. Now, as React Native using one ok client for all network request, I can create it with TrustKit`s TrustManager and set the host to be our domain. But this will cause all network requests that are not to our domain to fail - because of the pinning.
So my question is pretty simple: How will you advise me to integrate TrustKit? One possible solution, used by another library, is using interceptor to update the host name. Another possible solution is using custom CertificatePinner, maybe by inheritance (which is not possible currently as this class is final).
Thanks,
Omer

Interceptors are usually the best fit for problems like this.

It’s unfortunate that TrustKit assumes one TrustManager per host, which doesn’t work nicely with OkHttp. Your other option might be to submit code to them to support multiple hosts.

Agree, I am willing to make changes to existing code, just wondering what will be the best place. When you talking about interceptor - do you reference to the solution I linked above? Or to write interceptor that do the validation manually (without using custom sslfactory/trustmanager in the ok client)?
And could you clarify why not enable custom CertificatePinner?
Thanks!

I had in mind something like that for the network interceptor:
new Interceptor() {
                    @Override
                    public Response intercept(Chain chain) throws IOException {
                        Request request = chain.request();
                        SSLSocket socket = (SSLSocket)chain.connection().socket();
                        trustKit.getInstance().getTrustManager(request.url().host()).checkServerTrusted(socket.getSession().getPeerCertificateChain(), "");
                        return chain.proceed(request);
                    }
                }

This is just demo, I am still not sure about the parameters needed to be passed to the TrustManager. But beside that, does this a good aproach to this problem?

Yeah, looks legit.

Thanks. So I will work on the details with TrustKit guys, and I think we can close it for now - unless there are better suggestions.

@swankjesse Thanks for the quick reply - TrustKit developer here.
I have a quick question: does this interceptor approach mean that the certificate chain will be validated twice in a row?

First by OkHttp
Then by the Interceptor itself (with TrustKit)

The downside of this is that TrustKit will not "see" when the server certificate chain is invalid (because OkHttp's validation will fail first). If that's the case, is there a way to have the interceptor validate certificate before OkHttp does its default validation ?
Supporting multiple hosts would be tricky because older versions of Android don't pass the host to the checkServerTrusted() method.
Thanks!

@nabla-c0d3 Have you considered implementing HostnameVerifier.verify() ?

@swankjesse If I got it correctly, it seems to me that the HostnameVerifier.verify() is called after the handshake (by looking in the code). Doesn't that mean it will happen after OkHttp validated the chain?

It's called after the handshake.

So what the advantage of HostnameVerifier.verify() over Interceptor?

@swankjesse Thanks - that's a really good suggestion and I didn't think of it. @omerlh it solves the problem of not knowing which hostname's identify we are validating (which is why our trustmanager is tied to one specific host).
I need to try it out tho as it might lead to other issues.

@nabla-c0d3 Agree, but this is true also to Interceptor, they have pretty much the same interface.

@swankjesse - why not allow custom CertificatePinner? Currently, the class is sealed, but if that something that can be changed, we can try to integrate it with TrustKit. For example, AlamoFire doing something similar with ServerTrustPolicy and allow customEvaluation.

I guess I don’t understand why certificate pinners need to be pluggable. If there’s a feature ours is missing we should add it.

I see two missing features that TrustKit add:

Android N backward compatibility - meaning, configure the pinning using Network Security Configuration
Reporting on pinning violation
If you consider adding those features, this should be enough. But it might be easier just to integrate TrustKit.

Gotcha. Doing it in an interceptor is probably just as good as a dedicated API. Or perhaps a custom SSL socket factory.

Agreed, but as you can see from this thread, custom SSL socket (which is the current implementation of TrustKit) is not so easy, so interceptor is the preferred option. I just thought that it will be cleaner to use custom CertificatePinner as this is actually what I am doing...

Cool. I think what you're doing is best.


⚠ ClamAV has degraded performance

In 7adb065, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 471 ms

Resolved: ClamAV performance has improved in b9c9bcb.


getLastOracleUcoPrice : nullpointerException

Describe the problem you discovered
The parsing of the content of a ORACLE SUMMARY transaction doesn't work
Describe the solution you'd like
Add the timestamp management and fix the parser

= version 1.0.18


Feature request: ability to change active branch from command line

I was trying to rename a remote Github branch. The procedure for that is to

create a clone of the branch locally,
change the name of the local branch,
push it to Github,
change the active branch of the GIthub repo
delete the remote branch.

I can do all of the above, except for #4, from the command line.
I understand that repos on Github are bare repos. In bare repos, I can switch the active branch using `symbolic-ref (https://stackoverflow.com/a/3302018/4752883, https://feeding.cloud.geek.nz/posts/setting-default-git-branch-in-bare/).
However, this works only if I have direct access to the repo. If I dont have access to the repo, such as for GITHUB repos, I have to do this from the Web UI.
Looking at the hub interface, it seems currently this is not possible. It would be great, if this could be implemented.
Or is there any other plugin that I dont know of, which can switch the active branch of a github repo from the command line?

No sorry, hub cannot change the "active" (I'm guessing you meant "default") branch on a remote repo from the command-line. You will have to do that manually.


Suggestion: Add latest title version and latest title version size in TitleDB

All I'm requesting is to add in latest title version and latest title version size in the title database on the top of the screen (similar to the installed version and the size of the installed version) just to make checking for updates easier. This isn't much of a hassle to add either.

Still waiting on a PR to TitleDB to go through. See https://github.com/Steveice10/FBI/issues/312 and https://github.com/ksanislo/TitleDB/pull/8


fix: not allocating address from specified loadbalancerIP in ipv6

If loadBalancerIP was specified for ipv4 service, the allocator correctly allocates the ip address if it is available in the given group.
But for ipv6, it doesnt work. This is due to a bug in localpool.go contains method.
func (p LocalPool) Contains(ip net.IP) bool {
	if p.v4Range != nil {
		return p.v4Range.Contains(ip)
	}
	if p.v6Range != nil {
		return p.v6Range.Contains(ip)
	}
	return false
}

As per this code, if I have both ipv4range and ipv6range specified in the servicegroup, it just checks if the given ip is within v4range and returns the value. V6range is always ignored.
Thee bug is fixed by ensuring that v4range is compared only if the given IP is ipv4
Signed-off-by: Jayadeep KM<EMAIL_ADDRESS>

Hi! I'm so sorry for how long it took us to find this PR. Our primary repo is https://gitlab.com/purelb/purelb but I've set up notifications so I won't leave future PR's hanging. In any case, thank you for your fix! I've merged it and it will be in the next PureLB release.
I hope that you like PureLB!


Update package description in README

I've created a separate PR for this one since it changes the content of the README. I had the feeling that the initial description was a bit vague. What are (de)serializers, standardized data models, filters and transformers exactly? That might not be clear to many people. I thought it would be better to focus on the problem that Kloppy attempts to solve, rather than the functionality that it provides.

I had the feedback from @willmcgugan to focus more on use-cases instead of just functionality. This is exactly what you did. Thanks a lot for this PR!
ps. I can close the other PR? It seems be a subset of this PR


Use the get() method throughout for strategies

This is for the parse strategy specifically, which used to have a
parse() method instead of a get(), which was fixed in oteapi-core
v0.0.5.
Fixes #41

Codecov Report

Merging #42 (4638b78) into master (2f1c3dd) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   69.49%   69.49%
=======================================
  Files           8        8
  Lines         295      295
=======================================
  Hits          205      205
  Misses         90       90

Flag
Coverage Δ

pytest
69.49% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

app/routers/dataresource.py
32.78% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f1c3dd...4638b78. Read the comment docs.


Add support for enum parameters

Add support for Enum to be used as a parameter to Step implementations.
Example:
export enum ShirtColor {
    RED, ORANGE, YELLOW, GREEN, BLUE, PURPLE;
}

@Step("Buy a <color> shirt")
public async buyAShirt(myColor: ShirtColor) {
     // Implementation goes here
}

Refer https://github.com/getgauge/gauge-java/issues/70

I would say, there is also an issue with other types like number. You always need to work with string and explicitly parse it into the number, that's why the template is using deprecated equal assertion instead of strictEqual. I will update and create PR also for the ts template as well

@pesoklp13 This should be addressed as part of #182
Since typescript support String and Numerical enums, and now we do primitive parsing of parameter,
The type should reflect in methods.


/etc/deb-get.d/**/* user includes feature

OK... tested it this morning and seems to work. The feature is in a working state and able to be merged.

No documentation yet. This feature is currently not undocumented.
Please let me know if you want me to add those missing docs.
Or you may otherwise prefer leave as a silent feature for the time being (however you wish).
This was just my take of this feature, you might find things to improve further. Please tweak as you wish.

Feature behaves as follows:

User can optionally make any nested subfolders structure within /etc/deb-get.d/**/*

All regular files within that tree will be bash sourced . $full/path/to/file 2 times

1st time to ascertain the list of deb_* bash functions being imported.

Which is needed for conflict detection, due to the limitations of declare -F behaviour in bash)

2nd time to actually import the user functions

Warning messages printed for conflicts with the official deb-get apps. That user needs to remove manually

Recommendation message printed for any new user added deb_* functions. With a URL link to open a request.

Don't really have anything further to add to it (other than missing docs, if required, or you can if you wish). Development wise I seem to be done here unless you aren't happy with something, and need me to go back and fix or explain anything in the PR. Many thanks for your kind encouragement over on discord.
Implements issue #169

@dreamcat4 Thanks for contributing! Please can you add some basic docs to the README.md?

Absolutely! Will get right on it


Improve FluidObject type errors

The errors look like this, as typescript tries to be smart, and throw away the IFluidObject typing
Property 'IFluidRouter' does not exist on type 'Partial<Pick<unknown, never>>

we may need to copy and inline the partial and pick typing, such that the error references IFluidObject directly.
related to #7613

this is fixed


Azure App Service - Custom Container quickstart updates

Working with @cephalin on these changes
Tagging @mijacobs @msangapu-msft @cephalin on docs ownership
Replaces #93222 - migrating from Tiago's fork to mine

Adds portal instructions for Custom Container quickstart for Azure App Service
Uses Azure Container Registry for container images
Uses Azure App Service .NET Core hello world

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

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

Hi @sadukie, let me know what I can help you with.

@sadukie @cephalin @msangapu-msft  - just as a heads up:  These changes are too extensive to be handled through the public repo. After the content is approved, you'll need to move the commits (or the files) to a pull request in the private repo so that we can use the validation, staging, and acrolinx tools there.
Thanks.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @cephalin - do you have the link to the private PR where you've pulled in this latest commit?

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

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

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

Hi @cephalin - do you have the link to the private PR where you've pulled in this latest commit?

It's here: https://github.com/MicrosoftDocs/azure-docs-pr/pull/202111

this is published. #please-close


fix(component): Allow Card to have href

Breaking changes
Cards can now have an href:
<Card href="#">

    Noteworthy technology acquisitions 2021

    Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.

</Card>

See the Flowbite docs on Cards, specifically, the Default card example.
Bug fixes

[x] fix(component): Allow Card to have href
[x] fix(docs): Add missing Card examples

Tests
Unit

[x] test(component): Update unit tests for Cards

I still need to change the form inputs to use Flowbite components. However, we can't change the Button in the Pricing card yet because they need to be changed to fill the width of their container.


Firebase Cloud Messaging (FCM) is deprecated

Sending messages (including upstream messages) with the FCM XMPP and HTTP legacy APIs was deprecated on June 20, 2023, and will be removed in June 2024. IrssiNotifier is using FCM to notify a client app.

Indeed. I'm hoping to upgrade the notifications (among other points to upgrade) during April.


add CRN file parser

[x] Closes issue #xxxx
[x] I am familiar with the contributing guidelines.
[x] Fully tested. Added and/or modified tests to ensure correct behavior for all reasonable inputs. Tests (usually) must pass on the TravisCI and Appveyor testing services.
[x] Updates entries to docs/sphinx/source/api.rst for API changes.
[x] Adds description and name entries in the appropriate docs/sphinx/source/whatsnew file for all changes.
[x] Code quality and style is sufficient. Passes LGTM and SticklerCI checks.
[x] New code is fully documented. Includes sphinx/numpydoc compliant docstrings and comments in the code where necessary.
[x] Pull request is nearly complete and ready for detailed review.

Adds a parser for the US Climate Reference Network files available at https://www.ncdc.noaa.gov/crn/qcdatasets.html
The map below shows the locations of these sensors.

Question: what should we do about the columns that pvlib does not use (e.g. precip, soil moisture, surface temp)? I'm keeping them at the moment. I could add a kwarg, but I'd prefer to keep it simple unless there's

At first I only spec-ed the dtype for irradiance since that was the one that caused problems in the test, then I added the others that I actually cared about, but yes, better to just specify all of them. Latest commit also works around some pandas versions issues.

I finally have all of the tests passing. I increased the minimum pandas version to 0.16 so that I could use Series.str.zfill and convert HMM format to HHMM format. Maybe there's another way, but this version of pandas did not remove much, so I don't think it's a problem.

About the non-solar fields: I think it's simpler to return the full CRN file content and let the pvlib user extract the data of interest for their application.

Works for me.
I've found some issues with the read_fwf function default behavior. It seems that only the first line of the file is used to determine the field widths, so we'll need to hard code them. I actually did this in a prototype version of the code but removed them once I had the test data working without them. I'll expand the test data set to cover the problematic cases.

GHI at Tucson AZ

Boulder CO

Oakley KS

Socorro NW

All times are UTC
I've looked at ~50 of ~150 sites and they all look reasonable in the first week of 2019.

If there are no further comments, I think this is ready to merge.

Thanks for the suggestions @mikofski!


VSCodeInstaller DSC class-based resource

[x] I have signed the Contributor License Agreement.
[ ] This pull request is related to an issue.

It would have made sense if we are doing things with VSCode extensions, there would be an installer. First draft of documentation up. Let me know your thoughts @denelon and @ryfu-msft

What is the benefit of this DSC resource as opposed to using the WinGetPackage DSC resource to install vscode through winget? Winget does a better job at handling the installer and ensuring the installer url is valid, secure, and up to date. These are my main concerns about this DSC resource and whether it will be easily maintainable moving forward. I'd rather not have to reinvent the wheel here if it's not absolutely necessary.  Just my opinion though... I'll let @denelon share his thoughts as well.

Mhm... I know there are talks around WinGet and Linux. Even thought the resource doesn't have it, the only benefit would be cross-platform (MacOs/Linux included).

I think there is a philosophical debate to resolve. We're at the edge of blurring the lines between package management and configuration management. Configuration as Code and Infrastructure as Code don't have "hard" boundaries.
In terms of a declarative configuration file, I'd want to understand some of the separation of concern. On Windows, I'd expect DSC Resources to handle a single concern. This would follow the concept of SOLID OO principles. I'd expect a package manager would handle packages so I'd imagine on Windows you would likely have one of the package managers handle installing things, and given WinGet as the orchestrator (on Windows), that seems a natural fit for "installing/uninstalling/upgrading/downgrading" things. It could certainly be used to install another package manager like Chocolatey, Scoop, or any other package manger and then use a DSC Resource for the other package manager to handle package management.
In the cross-platform world, I would assume DSC.exe would be the orchestrator, and we'd need resources capable of installing other package managers or using the OS native package manager for package management.
Logically the package manager ensures the package is installed, then the package acts as its own DSC Resource for configuration. I wouldn't want to see the massive amounts of duplicated code across all DSC resources, so they have different ways of installing the thing they intend to be used to configure.
I'd be happy to coordinate a meeting/call for anyone interested in discussing ideas and approaches.

I've been in discussions with some of the DotNet folks about cross platform scenarios as well. It might be worth a new GitHub discussion if we want to keep things outside of this PR and we can promote the discussion to get others involved. I'd expect @claudiaregio, @SteveL-MSFT, and @craigloewen-msft would all be interested.

I'd be very interested in pulling a POC together to demonstrate the usage of other package managers and configurations across multiple OSs.

Let's do it @denelon! Really appreciated the detailed philosophical explanation. Would love to have a talk on it.


AttachVolume and other volume endpoints should return Volume, not bool

When running AttachVolume, an updated version of the Volume is returned.
AttachVolume should return this value instead of disgarding it to avoid an requiring an unnecessary GetVolume in some situations.

The LinodeAPI may be returning bool in some of these cases, perhaps inconsistently.  This task should be a best effort to match the API response, a Volume type or a bool.


Train on my own dataset with total loss close to 10 and no more falling down.

Thank you for excellent works, however I met some problems on my own dataset.
Here is my config.json, I detected car, bus, truck on my own labeled dataset(I use labelImg). I generated anchors before training, and modified min_input_size、max_input_size. I didn't modified another thing, but the detection results performed not so well, some cars can not be detected.
I didn't understand how the parameters [grid_scales, obj_scale, noobj_scale, xywh_scale, class_scale] worked, should I modify them according to my own dataset?
Thank you for your help in advance.

@Jiyugaoka
Hey take a look at the explanations for these parameters given in the yolov2 repo
https://github.com/experiencor/keras-yolo2


[Internal Request] Distpatcher to return transformed data

I've setup an API end point and trying to use a regular route to return the transformed data, but only the pre-transformed data is returned by the dispatcher. Is there a way to return the transformed api data with the dispatcher?

Can you please run composer update and try using the fixed raw method.
$response = app('api.dispatcher')->raw()->get('users');

You should then be able to use the getContent method on the response object to get what you need. Note that this will be JSON.

Yup works flawlessly now! Thanks for the quick fix!

Can you add a new function that will return the data that we expect without having to chain raw(), then call getContent() on that data, then call json_decode() on that data?
Imagine that I am creating an API call that calls another API call, currently I seem to have to do this to get the transformed data that I get when I call my 'userinfo' route externally.
        $response = $this->api->be(auth()->user())->raw()->get('userinfo');
        return [
            'token' => $token,
            'user' => json_decode($response->getContent())
        ];

Can you add a new function that will return the data that we expect without having to chain raw(), then call getContent() on that data, then call json_decode() on that data?
Imagine that I am creating an API call that calls another API call, currently I seem to have to do this to get the transformed data that I get when I call my 'userinfo' route externally.
        $response = $this->api->be(auth()->user())->raw()->get('userinfo');
        return [
            'token' => $token,
            'user' => json_decode($response->getContent())
        ];


[Main] Unexpected slice display after adjusting hidden layer's slider position

🐛 Bug Report
Adjusting the slider while the layer is hidden and then making it visible again displays the previously visible slice, not the slice corresponding to the new slider position.
💡 Steps to Reproduce

Open sample Cells (3D+2Ch)
Switch off the visibility of one of the layers (ex. nuclei)
Move the position of the slider
Swich on the visibility of the layer

💡 Expected Behavior
I would expect that after switching on the visibility of the layer the correct slice is displayed.
🌎 Environment
napari: 0.5.0a2.dev606+gb3e15c51
Platform: Windows-10-10.0.19045-SP0
Python: 3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:27:34) [MSC v.1937 64 bit (AMD64)]
Qt: 5.15.2
PyQt5: 5.15.10
NumPy: 1.26.4
SciPy: 1.12.0
Dask: 2024.3.1
VisPy: 0.14.2
magicgui: 0.8.2
superqt: 0.6.2
in-n-out: 0.2.0
app-model: 0.2.5
npe2: 0.7.4
💡 Additional Context
No response

Just checked, this doesn't affect 0.4.19. I'll do some git bisect later to figure out where the source is, but I suspect it's the new slicing machinery for async (even though this occurs with async off).

Looks like it's 47b166cfa3dfd53691bbbc83d80d5426133aa4f0
#6080

Should be able to take a look some time tomorrow.

I have a simple/short fix in: https://github.com/napari/napari/pull/6766
But unfortunately, the explanation is a little more complicated and is related to fundamental differences between sync and async slicing. I tried to make a concise explanation in the PR description and in the code as a comment, but I'm happy to expand more here or on the PR.
The short explanation is that there is a fundamental difference between the way sync and async slicing works and that difference is the main cause of the bug. That is definitely my fault! And I think others anticipated these kinds of issues.
But I also think the difference is still worth keeping because it takes one step towards removing slice state from the layer. Of course, if it continues to generate bugs like these, then it's probably not worth it. But I hope we can make more progress towards moving slice state from the layer soon, so that the current sync slicing approach goes away.

Also thanks so much for the clear bug description, reproducer, and bisect information here - it made fixing this bug so straightforward!


disable option sorting

How can we disable option sorting? We don't need an alphabetic order. We need the options in order we typed them in.

Can you let me know how it is using alpha sort? I can't seem to reproduce this issue:

Please provide the database you're using, I'd bet that plays a role.

the alphabetic sorting happens on mongodb.

installed 1.1.0 but newest is 0.3.7 ???
i can't reproduce now too.

@awunnenb Thanks for confirming.
Might be nbbpm has not caught up yet :)

with 1.1.0 it works fine! ... but we need anonymus voting :-)


feat(apigee): add apigee-addon-configs

Description of your changes

add apigee-addon-configs
we need an apigee organization with an real projectID - deletion takes around 35 minutes

Fixes #565
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[x] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

@ulucinar @turkenf i see that addon_configs is created as v1beta2 but the controller tries to find the resource via v1beta1 (https://github.com/crossplane-contrib/provider-upjet-gcp/pull/581/files#diff-2ab997274c1777f13f403d1193ad914fe152b0aeffb8ea42bf223319f5d66950R30)  any hints what i need to configure that this is working here ?

looks like related to: https://github.com/crossplane-contrib/provider-upjet-aws/pull/1367

@ulucinar @turkenf i see that addon_configs is created as v1beta2 but the controller tries to find the resource via v1beta1 (https://github.com/crossplane-contrib/provider-upjet-gcp/pull/581/files#diff-2ab997274c1777f13f403d1193ad914fe152b0aeffb8ea42bf223319f5d66950R30) any hints what i need to configure that this is working here ?

Fix PR was merged. Could you please rebase it and try again?

https://github.com/crossplane-contrib/provider-upjet-gcp/pull/586


Telegram - Join Us

:clipboard: Description
plz add badges for telegram Join Us
plz add badges Witch King Hacker @iamWitchKing
thank you

:link: Data

:microphone: Motivation

I'm going to close this, partly because the issue form data was not included and partly because the ask seems to be for a static badge specific to your handle/channel/etc.
You can use the static badge to build whatever you want:
https://shields.io/#your-badge
https://img.shields.io/badge/join us-Witch King Hacker-blue

and use standard markdown/markup syntax to make the badge navigable as needed
Feel free to follow up with the requisite information requested as part of the issue form for new badges if I've misunderstood, and we'll reopen if there's a real badge request.

Thank you

𝙷𝚎𝚕𝚕𝚘, 𝙸 𝚍𝚎𝚟𝚎𝚕𝚘𝚙𝚒𝚗𝚐 𝚂𝚝𝚛𝚘𝚗𝚐𝚑𝚘𝚕𝚍 𝙲𝚛𝚞𝚜𝚊𝚍𝚎𝚛 𝚅𝚒𝚍𝚎𝚘 𝙶𝚊𝚖𝚎 𝚆𝚒𝚗𝚍𝚘𝚠𝚜 𝙿𝚕𝚊𝚝𝚏𝚘𝚛𝚖. 𝚒𝚏 𝚊𝚗𝚢𝚘𝚗𝚎 𝚕𝚒𝚔𝚎 𝚝𝚑𝚒𝚜 𝚐𝚊𝚖𝚎 𝚘𝚛 𝚠𝚊𝚗𝚝 𝚝𝚘 𝚊𝚝𝚝𝚎𝚗𝚍 𝚝𝚘 𝚑𝚎𝚕𝚙 𝚒𝚖𝚙𝚛𝚘𝚟𝚎 𝚝𝚑𝚒𝚜 𝚐𝚊𝚖𝚎 𝚌𝚊𝚗 𝚌𝚘𝚗𝚝𝚊𝚌𝚝 𝚖𝚎 𝚋𝚢 𝚃𝚎𝚕𝚎𝚐𝚛𝚊𝚖 𝙼𝚎𝚜𝚜𝚎𝚗𝚐𝚎𝚛 𝙸𝙳 𝚄𝚜𝚎𝚛𝚗𝚊𝚖𝚎: @𝚒𝚊𝚖𝚆𝚒𝚝𝚌𝚑𝙺𝚒𝚗𝚐
And also 𝚌𝚊𝚗 𝙹𝚘𝚒𝚗 𝚖𝚢 𝙼𝚊𝚒𝚗 𝙲𝚑𝚊𝚗𝚗𝚎𝚕 𝚗𝚎𝚠𝚜 𝚊𝚋𝚘𝚞𝚝 𝚖𝚢 𝙰𝚌𝚝𝚒𝚟𝚒𝚝𝚢 𝚘𝚗 𝚝𝚑𝚎 𝚃𝚎𝚕𝚎𝚐𝚛𝚊𝚖 𝙲𝚑𝚊𝚗𝚗𝚎𝚕 𝚝𝚘 𝙰𝚍𝚍𝚛𝚎𝚜𝚜 𝚕𝚒𝚗𝚔: @𝙰𝚙𝚙𝚜𝙰𝚕𝚏𝙰


Adding support for Ncloud

Added a step to set the cloud

Hi @ndolker, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Namgyal Dolker). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@ndolker : Thanks for your contribution to the Azure documentation! The author, @TomShinder, has been notified to review your proposed change.

#sign-off

#Sign_Off

#sign-off

@TomShinder Hi Tom. Some of these proposed changes might need further review. For example, lines 15, 24, 25, 39. Thanks.

Why?


fix: maintain failed state while restarting

This avoids flashing in the UI while we try to re-init ipfs
License: MIT
Signed-off-by: Oli Evans<EMAIL_ADDRESS>

@hacdias I'm gonna merge and release this as I need it for https://github.com/ipfs-shipyard/ipfs-webui/pull/802 but please check it makes sense.

@olizilla lgtm 😄


Helm-service and jmeter-service do not support https and x-token based communication with configuration endpoint

When running the helm-service and jmeter-service on the execution plane, they cannot communicate with the control-plane that exposes the configuration endpoint on https . The reason is that the used handlers - like ProjectHandler - have a fallback to http.  https://github.com/keptn/keptn/blob/04ba0b4b0bc41ea20ea4a4d5c9b88d17cf4f0cef/helm-service/main.go#L136
As discussed
The distributor should become the central component for communicating with the control-plane due to the fact that then just the distributor needs to know the access token.
Task

[ ] Enhance the distributor to communicate with the control plane via https:// and an x-token
[ ] Distributor: Intercept calls to the configuration-service
[ ] jmeter-service used CONFIGURATION_SERVICE_URL in code, but in Helm chart CONFIGURATION_SERVICE is defined --> change it to CONFIGURATION_SERVICE in code; https://github.com/keptn/keptn/blob/master/installer/manifests/keptn/charts/continuous-delivery/templates/continuous-deployment.yaml#L275
[ ] In distributor support the possibility to skip TLS certificate validation:

func main() {
    tr := &http.Transport{
        TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
    }
    client := &http.Client{Transport: tr}
    _, err := client.Get("https://golang.org/")
    if err != nil {
        fmt.Println(err)
    }
}

Definition of Done:

Services in the execution plane can communicate with the control-plane (configuration API) via https and x-token

Please check the environment variables as mentioned here: https://github.com/keptn/keptn/issues/2646

Please check the environment variables as mentioned here: https://github.com/keptn/keptn/issues/2646


Remove update and forgot password APIs

Closes #6532

Forgot, so blocking for now
ALSO please go over webui/ and look for these URLs: webui doesn't use a generated client but did use these URLs, so needs to be changed manually and the TypeScript compiler cannot find the change from the OpenAPI spec change.

@arielshaqed Not sure I understand this comment. I removed the calls for update/forgot password from the webui code.
Am I missing anything?

Forgot, so blocking for now
ALSO please go over webui/ and look for these URLs: webui doesn't use a generated client but did use these URLs, so needs to be changed manually and the TypeScript compiler cannot find the change from the OpenAPI spec change.

@arielshaqed Not sure I understand this comment. I removed the calls for update/forgot password from the webui code. Am I missing anything?

Nope, you're right and I'm wrong.
THANKS!


chore: bump dependencies

Checklist

[ ] Tests added / updated
[ ] Docs added / updated

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@philsturgeon This embeds the update to the latest stable Spectral.
Once this is merged, I'm going to publish a minor update to the extension and get it published.

@philsturgeon Don't merge it yet. I'm going to update it tomorrow with latest versions of dependencies

@philsturgeon Don't merge it yet. I'm going to update it tomorrow with latest versions of dependencies

@philsturgeon Updated and rebased. Ready for review.


Change repo links from akesson to leptos-rs.

Not a super big change. You decide if it's necessary. 🙂
I just had some confusion when going to install from source based on the README and it pointed to a different repo.

This can be closed as it's been merged already.


No support for U.S. phone numbers?

+1<PHONE_NUMBER>

Not at the moment - only by using the custom mask.

Hi, you can create a custom mask for it.
If you opened an issue with all the phone mask and validations (the business logic), I can implement.


[6.0] Revert immutable let changes 6.0

Explanation: Revert a series of changes that improved on the modeling of immutability for let properties in initializers in the type checker, because it has caused various regressions.
Reverted PR: ...
Radar/issue:
Risk: Low.

@swift-ci please test

@swift-ci please test macOS

@swift-ci please test


Run Task in activated terminal

VS Code : v1.25.1
Window OS: Win 10
I would like to suggest able to provide a new value for the task's  presentation.panel to support running task in the existing selected terminal.
My reason for this is because I wanted to run 1 task in a left side of a split terminal, and another task in the right side of a split terminal. So that i can monitor the the 2 tasks status at the same time.
Current I can't really achieve this effect.
So to achieve this, I could only think of make the left side of the split terminal active before running the task 1. Then active the right side of the split terminal before running the task 2. But to do that, VS Code should provide this feature of able to run a task in an existing active terminal, instead of auto creating a new terminal

Duplicates https://github.com/Microsoft/vscode/issues/47265.
Running a task in the active terminal is very hard to achieve since it is hard to determine if a terminal is idle or not. Strictly speaking it is impossible to do this reliable. So it will always be some guessing.


createServiceAPI should not delete properties of options parameter

An unexpected result of creating a service with an options object is that the options object is modified (for example, the "version" property is deleted). This means that the same object cannot be used again for a different service instance. Passing an object in as a parameter when creating a service instance should not modified the object.

Fixed in 0.9.20


RWIB Mission 7: FAQ fixes

Link.
The FAQs have
more-or-less been bitrotting since the inception of the project. They
are only slightly better than useless.
Start a thread on users.rlo asking for people to write boths Q's and
A's. Throw away the 3 existing FAQs and write a single new one. Put
this one on the website, linked from the doc
page.
Q's
Why is the Rust [HashMap] so slow?

http://cglab.ca/~abeinges/blah/hash-rs/
https://www.reddit.com/r/rust/comments/3hw9zf/rust_hasher_comparisons/

One thing to note is that some of the material in the existing FAQs is likely worth preserving, although it should be restructured into an actual question-and-answer style. The material needs to be refreshed in many cases, but it shouldn't be removed completely.
I am happy to go through the existing material and update it if that's something we'd like to have done.

@AndrewBrinker yes, I agree. Some of the information is still useful, and refreshing what already exists would be a good starting point.

Per the discussion here, I have begun work on a new FAQ page.
At the moment I am largely just moving over content from the existing FAQ pages. I will then go through and attempt to organize and improve what we have.

A good question I see asked frequently:  What are the weaknesses of Rust?

@Havvy: Absolutely. I'll add that to the list. The answer is going to be something to put serious thought into. It may be something to take to the community and solicit some thoughts on.

Okay. All the usable questions and answers from the existing FAQs have been moved over and updated where necessary. A basic design has also been put together. As I see it, the things remaining to do are:

Solicit questions from the community (http://users.rust-lang.org and http://reddit.com/r/rust are the two places I intend to start).
Write answers to the most common questions.
Review all the answers in the FAQ and make sure they are correct for the latest version of Rust.

Asking on Hacker News and the Twitter account would also possibly help.

Okay, a thread soliciting input for the new FAQ has been posted to:

Hacker News: https://news.ycombinator.com/item?id=10201150
/r/rust: https://www.reddit.com/r/rust/comments/3kgzpd/taking_suggestions_for_the_new_rust_faq/
/r/programming: https://www.reddit.com/r/programming/comments/3kh02t/taking_suggestions_for_the_new_rust_faq/
users.rust-lang.org: https://users.rust-lang.org/t/taking-suggestions-for-the-new-rust-faq/2813

It may also be good to solicit feedback on this through the official Rust Twitter account, which I believe @steveklabnik runs.
Let me know if there's anywhere else this should be posted.

Based on the responses so far, here are the possible questions. I am not necessarily going to include all of these, but each of them will receive consideration for the FAQ:

[ ] Why is Rust's HashMap so slow?
[ ] Why doesn't Rust support try and catch / Why no exceptions? (3 votes)
[ ] Why can't I compare floats?
[ ] Why the split between Eq/PartialEq and Ord/PartialOrd?
[ ] Why curly braces? Why can't everything be like Haskell/Python?
[ ] Why lifetimes? (2 votes)
[ ] What's the deal with unwrap() everywhere?
[ ] I already write perfect C++. What does Rust give me?
[ ] Why is the lifetime syntax the way it is?
[ ] Why do I get an error when I try to run example code that uses the try! macro?
[ ] Can I use unstable features in the beta or stable channel?
[ ] Can I run benchmarks using test::Bencher on the beta or stable channel?
[ ] How can I convert a String or Vec<T> to a slice (&str and &[T])?
[ ] How can I convert from &str to String?
[ ] How can I join a Vec (or an array) of strings into a single string? (2 votes)
[ ] How can I convert a scalar value to a different numeric type?
[ ] How can I iterate over a Vec<T> without moving/consuming it?
[ ] How can I read or write numeric types like i32 or f64 in big-endian or little-endian format in a file or other byte stream?
[ ] How can I implement a graph or other data structure that contains cycles
[ ] How can I define a struct that contains a pointer to its owner, or to one of its own fields?
[ ] How can I convert a C-style enum to an integer, or vice-versa?
[ ] Where do I report issues in the Rust documentation?
[ ] How do I read a file into a String?
[ ] How do I split a String into lines?
[ ] How can I make an HTTP request?
[ ] How can I write a GUI application in Rust? (2 votes)
[ ] How can I parse JSON/XML? (2 votes)
[ ] What does it mean to "consume a value"?
[ ] What is the difference between consuming and moving/taking ownership?
[ ] How do I return a borrow to something I created from a function?
[ ] How do I return a closure from a function?
[ ] Who is using Rust?
[ ] In which projects is Mozilla using Rust?
[ ] Why when I pass a struct to a function the compiler says it's been moved and I can't use it anymore, when the same doesn't happen for integers?
[ ] When are lifetimes required to be defined?
[ ] Why can't the compiler find modules from an imported crate?
[ ] When is it possible to avoid writing *?
[ ] How do deref coercions work?
[ ] Can I override operators? Which ones and how?
[ ] How can I implement something like struct X { static int X; }; in Rust?
[ ] What examples are there of large Rust projects?
[ ] Why is there no literal syntax for dictionaries like in Python, Ruby, Swift, etc?
[ ] I can leave out parentheses on if conditions, why do I have to put brackets around single line blocks? Why is the C style not allowed?
[ ] Why does Rust not have the ? and ! like in Swift?
[ ] Why do I have to declare module files with mod at the top level of the crate, instead of just useing them?
[ ] Why does Rust not have an ABI like C does, and why do I have to annotate things with extern?
[ ] Why is my program compiled with cargo build slow?
[ ] How do I read file input efficiently?
[ ] How do I memcpy bytes?
[ ] How do I configure Cargo to use a proxy?
[ ] How are Go and Rust similar, and how are they different?
[ ] How can I detect when example code doesn't work because it's for an older version of the language (pre-1.0, usually)?
[ ] How can I detect when documentation of a library is outdated?
[ ] Why does storing trait objects in a struct give me a confusing error about Sized?
[ ] How do you deal with a "Use of moved value" error in match statement on an enum or Option?
[ ] Why can't the compiler find the method implementation as Trait even through I'm already useing the crate?
[ ] What are the differences between the different string types?
[ ] How do I map OO concepts to Rust?
[ ] What's the different between a function and a closure that doesn't capture any variables?
[ ] How do I debug Rust programs?
[ ] What is "monomorphisation" in Rust?
[ ] How do I view rustdoc documentation for a library my project depends on?
[ ] How do I build a Windows binary that doesn't display the console window?
[ ] How I make the console-less binary not crash on panic!?
[ ] What's the idiomatic way to express platform-specific behavior in Rust?
[ ] What projects are good examples of idiomatic Rust code?
[ ] Why can't the compiler infer use declarations for me?
[ ] rustc said a panic occurred in standard library code. How do I locate the mistake in my code?
[ ] Is there an easier way to do error handling than having Results everywhere?
[ ] What are the rules for using self, &self, or &mut self in a method declaration?
[ ] Should I default to using f32 or f64?
[ ] gofmt is great. Where's rustfmt?
[ ] How do I handle configuration of an object with optional parameters?
[ ] How do I do the equivalent of C++ template specialization in Rust?
[ ] Can Rust reasonably function without the standard library?
[ ] How do I do global variables in Rust?
[ ] Can Rust be used for Android/iOS programming?
[ ] Can I run my Rust program in a web browser?
[ ] Can I write a macro to generate identifiers?
[ ] What are higher-kinded types, why should I want them, and why doesn't Rust have them?
[ ] Can I write an operating system in Rust?
[ ] How do I do O(1) character access in a String?
[ ] How can I set compile-time constants that are defined procedurally (equivalent to constexpr in C++)?
[ ] Why do I need to type the array size in the array declaration?
[ ] Can I write a video game in Rust?
[ ] When is Rc useful?
[ ] How can I understand the borrow checker?
[ ] Can I run initialization code that happens before main?
[ ] How do I do dynamic Rust library loading?
[ ] Does Rust have type reflection?
[ ] When should I use an implicit return?
[ ] Is there a standard 2D+ dimensional vector and shape crate?
[ ] How do I write an OpenGL app in Rust?
[ ] Why can't I use f32 or f64 as HashMap keys?
[ ] How can I interoperate with C++ from Rust, or with Rust from C++?
[ ] How do I package and archive crates from http://crates.io?
[ ] What do named type parameters in generic types mean?
[ ] How does Rust's ownership system related to move semantics in C++?
[ ] How do Rust traits compare to Haskell typeclasses?
[ ] Why is Rust compilation slow?
[ ] Why has Rust changed so much over time?
[ ] How do I get command line arguments in Rust?
[ ] How do you write a linked list in Rust?
[ ] How do I get help with Rust issues?
[ ] How can I try Rust easily?
[ ] Why are so many Rust answers on StackOverflow wrong?
[ ] Why doesn't http://crates.io have namespaces?
[ ] Why are keywords and names in Rust so short?
[ ] Why doesn't Rust have inheritance?
[ ] How do I cross-compile in Rust?

This is a lot of questions. I am going to be tackling them over the next week or so.

Hi, not sure if you're still watching the users/reddit/etc threads, but I just thought of another question so I'm adding it as a suggestion here; it gets asked about once a month on the subreddit:

[ ] What IDE should I use?

Given that IDE support will change over time, http://areweideyet.com/ might be a good place to link to as an answer?

Yup, that's definitely an important question. I will add it to the list.

Out of the 132 questions (112 from the public, plus 20 from previous FAQs), only 35 remain to be answered.

Only 37 out of 132 questions left to be answered!

Wow! I didn't realize you had so much progress already. Where's your branch with the answers?

Right here: https://github.com/andrewbrinker/rust-www/tree/faq :smile:
For now I'm using JavaScript to generate the Table of Contents and make TODOs more noticeable. This is just to avoid having to reorganize the TOC whenever stuff gets reordered. I'll swap it out for straight HTML before anything gets merged.
There are also some styles I've added that will need some review and cleanup. They work well enough for now though.

Okay, I think I've answered all the questions I can. There are 7 left which I am not sure how to answer:

What projects are good examples of idiomatic Rust code?
How do I package and archive crates from http://crates.io?
Does Rust have type reflection?
rustc said a panic occurred in standard library code. How do I locate the mistake in my code?
How do I build a Windows binary that doesn't display the console window?
How I make the console-less binary not crash on panic!?
How do I do the equivalent of C++ template specialization in Rust?

Here are my thoughts on each:

This may be a good candidate for soliciting answers from the community.
The easiest way I could think of for this would be to periodically grab the latest published version of the crates listed in the index and archive them. If there is a better way, let me know.
I found some material on the Reflect trait, but none of it was super clear, and I don't feel confident doing a write-up.
I've never encountered this particular problem with Rust, and am not sure of the proper way of handling it.
I've never used Rust on Windows, so I am not sure.
Ditto.
I found some material on coherence rules, but nothing that explicitly explained Rust's rules for specialization.

If anyone can point me in the right direction for these, I am happy to do the write-ups.

@AndrewBrinker:
3. The Reflect trait is merely a bound for Any (to prevent using Any on generic type parameters without requiring it in the signature).
All Any can do is type-equality-based downcasting (via TypeId), there is no introspection of types (which is what is usually regarded as "type reflection").

4. This is usually caused by .unwrap().
Using an actual debugger can reveal more useful information.

7. Not currently possible in Rust, but specialization is coming (see rust-lang/rfcs#1210).

Thanks! I've added answers for those questions to the FAQ.

Can we get the current state of this put up on the site?

Yup! Sorry about that. I am doing some cleanup right now, and then I'll make a pull request.

Today I learned about https://old.etherpad-mozilla.org/rust-irc-faq , which might be of use in this mission.

Can we get an answer to this question, please:

[ ] Why do Rust programs use so much more memory than the C, Haskell and OCaml versions? or this link

Thanks.

Another very frequent question that's not on the list yet:

[ ] Why does a tiny program like "Hello World" produce such a large executable file?

(Answer: Because rustc links the program statically by default. To link dynamically, use rustc -C prefer-dynamic.)

This is done. I've opened another issue for additional FAQs.


📖 Create Patching Schedule

User Story
As a… engineer in AP
I need/want/expect to… keep our core products up to date
So that… we provide a secure, up-to-date environment with the latest features for our users
Value / Purpose
A key benefit of keeping software up to date is enhanced security, as updates often include patches for vulnerabilities that protect against potential threats and attacks. Additionally keeping software up to date also ensures better performance, access to new features, improved compatibility with other software, and stability through bug fixes.
Definition of Done

[ ] Documentation what products are included in the patching schedule
[ ] Document how frequently a product should be patched
[ ] Document under which other circumstances a product ought to be patched
[ ] Ensure each product has a method of patching documented in it's README
[ ] Test Patching each product

This ticket is a prerequisite to this ticket.

GDoc https://docs.google.com/document/d/1RQ31ik6jqYGBHsURU0mpoyxeu2egKx787i6OaEbV2-o/edit

GSheet summary / link aggregator

looking for services/products  to be included

to do - finish documenting upgrade/patching process in a run book
update maintenance ticket to point to documentation

Carrying out patching/upgrade to confirm documentation correct.

Updating the readme for each product

Readme 's updated

Pending #5907 for review of APC patching guidance

APC patching guidance approved and published.

Need to create a document that covers maintenance in general


fix: listen for shortcuts even when focused on form elements

Fixes #17

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