can not run the project locally

i asked question here with
https://stackoverflow.com/questions/74739404/uncaught-in-promise-typeerror-failed-to-fetch-i-can-not-connect-to-api-from
no connection to the backend

the create post is also not working ? am i wrong ? or i do something wrong ?

Hi @am0029, thanks for the issue. The error in question is related to CORS.
Quoting this answer:

This error occurs when the client URL and server URL don't match, including the port number. In this case you need to enable your service for CORS which is cross-origin resource sharing.

This means that the server (5000) and client (3000) cannot share resources as they are on different ports, which is why we need to enable CORS. Initially, I had allowed resource-sharing between any client but seems like it's resulting in errors locally.
Now, I've changed it to whatever CLIENT_URL you use, i.e.the one that you pass in .env file and on which the client runs. Ex: http://localhost:3000. If you're using live-server, pass that as CLIENT_URL: http://<IP_ADDRESS>:3000
Hope this helps!

I delete the source code after  instantly . when i saw too many errors . and one of them even can not create a simple post .
it simply site has just 1 function : create post . and that 1 function is not working !! after 1 month messing with source code i could not understand why i am not able to post .
it means when some one sighn up in site he can not create post . because of type fetch error . can u look ? because no one will correct someone else source code in stack over flow . 1 month zero answer

the cors error is still there and fetch error . can u test ?
after u change client_url itest but still same error

see can not posthttps://postimg.cc/5X46fQVg
submit button is always off
can u see this problems . i do not know . i know this source is for practice but this too many problems .  do u really not see this problems ?

please see what is problem is
https://stackoverflow.com/questions/74753176/each-child-in-a-list-should-have-a-unique-key-prop-check-the-render-method-o

Did you clone the latest copy (or pull the latest changes) and then tested?

just test if u can register to the website or not . it is impossible to register with this cors error

What usually happens is that over time, things change. Packages get outdated and since I work full-time, I may not be able to monitor the changes regularly. For example, the live version does not work because the backend is hosted on Heroku, which no longer has a free tier. It's paid now so I may or may not upgrade to the paid version to host live. But I just tried it locally and it works as expected.
The fetch error is basically the CORS error. As I said, I've tested and pushed a fix.

submit button is always off

That's a feature. You should not be able to create a post if you don't fill in all the required fields.
Regarding the errors on unique keys, I'm aware of the problem but haven't had the time to fix it. It doesn't affect creating posts or anything else.
Here's a recording of it working.

Hello thanks for answering me problem is i start the project locally right ?
npm start in backend and client they both working and fill 2 .env file
but i connected to backend and i fix the key issue based on answer on stack over flow
https://stackoverflow.com/questions/74753176/each-child-in-a-list-should-have-a-unique-key-prop-check-the-render-method-o
but the problem is
1- .user can not sign up if he wants upload image  because after i spend too much time to talk with cloudinary support and adding api key and secret to project and .... but not working . user just can sign up if he does not wants upload image
2- the second problem is users avatar not showing because of cloudinary problem because nothing will be uploaded to cloudinay
3 the most important section is submit button is disabled all the time no matter what inputs are . fill or not fill
submit button is disabled and no user can create post . no matter with information in input or without information
and of course image no uploaded to cloudinary
i choose this project for my  college but too many error that i can not fix at all . i come here and ask from developer fix this issues .
I spend 1 month fixing this 3  problems but i could not . I have to pay to a developer to fix some one else code for a college project .    if u had time please fix this 3 issues .  i am stocked into your code . i have to pay for developer to fix this issues if u not going to fix this issues .
.


Saving multilayerperceptron/backpropagation trained model

Hi there,
is it possible to save the training process of MultilayerPerceptron/backpropagation?
This (http://php-ml.readthedocs.io/en/latest/machine-learning/model-manager/persistency/) won't work because backpropagation is not an instance of Phpml\Estimator.
$network = new MultilayerPerceptron([3, 4, 1]);
$training = new Backpropagation($network);

$training->train(
    $samples = [[0.859, 0.859, 0.859], [0.184, 0.308, 0.308], [0, 0.391, 0], [0.867, 0.719, 0.527],[0.687, 0.187, 0.375],[0.645, 0.164, 0.164],[1, 0.752, 0.792],[0.929, 0.929, 0.816]],
    $targets = [[1], [0], [0], [1], [0], [0], [1], [1]],
    $desiredError = 0.2,
    $maxIteraions = 30000
);
$filepath = __DIR__.'/ai.dat';
$modelManager = new ModelManager();
$modelManager->saveToFile($network, $filepath); // or $training

Thanks in advance!
Kind regards
hansrouge

MultilayerPerceptron and Backpropagation aren't classifiers. In the future (unspecified) it allows us to create MLPClassifier (and MLPRegressor) that  implements a multi-layer perceptron (MLP) algorithm that trains using Backpropagation.
You can try serialize trained network using serialize($network).


Tests fail on this affectation in beforeAll

Do you want to request a feature or report a bug?
Bug report
What is the current behavior?
When modifying the this passed to beforeAll, everything fails silently (as you can do with beforeEach for instance).
Repl.it link to reproduce : https://repl.it/FmAD/8
It behaves as if it was an empty test-suite : https://repl.it/FmAD/11
What is the expected behavior?
You can either use this and assign values to it in beforeAll or it doesn't break or doesn't fail silently

Seems like we should throw a real error, we aren't really supporting this usage.

@cpojer If you can guide me on where I can implement this I will happily submit a PR

I'm running into this. We used the Jasmine feature of setting props on this in the beforeEaches, and then using them within tests.
This behavior seems not to be documented and seems to be fading away in Jest. Is the intent to remove this feature?

Since Jest 20 this inside beforeAll and beforeEach is and empty object and doesn't leak to test cases, nor breaks the tests, which is the decision we made a while ago, forking us a bit more away from Jasmine.
Thanks to @skovhus there's a working codemod which will transform this Jasmine syntax into Jest compliant code.


Big lag when recording camera

The camera recording is very very slow.
When I was recording with an access key on a free plan, the recording was ok, no lag at all.
Now my client has paid the core plan, the recording is very slow. All the things I want to record are slow down. It's not usable.
Here is my recording code :
m_Clock = new RealtimeClock();
m_Recorder = new MP4Recorder(720, 1280, 30, AudioSettings.outputSampleRate, (int)AudioSettings.speakerMode);

m_CameraInput = new CameraInput(m_Recorder, m_Clock, m_Camera);

  if (m_AudioListener != null)
      m_AudioInput = new AudioInput(m_Recorder, m_Clock, m_AudioListener);

Can you help me ?

Are you recording on Windows? If so, this happens when you specify audio settings (the sample rate and channel count) but don't actually commit any audio (i.e., when m_AudioListener is null).

Yes that was it ! Thank you very much.
Howerer i have now another isue inside my webgl build :
NotImplementedException: The method or operation is not implemented.
at NatML.Recorders.Internal.NatCorder.CheckStatus (NatML.Recorders.Internal.NatCorder+Status status) [0x00000] in <00000000000000000000000000000000>:0
The record don't start ...

@MonsieurD I recommend opening a new issue for separate items you want to report. For the error above, you are likely trying to use a recorder that isn't supported on WebGL. WebGL only supports a small set of recorders, see the table.


Structure of the crate

There seems to be a lot of types all over the main module, as well as a bunch of modules with one or two types. As I far as I can see the content in the crate categorize into:

Types used as the first argument in configure: Axis, Grid, Key.
Values used for settings: BoxWidth, Font, FontSize, Label, LineWidth, Opacity, Output, PointSize, ScaleFactor, Size, TicLabels, Title, Axes, Color, LineType, PointType, Range, Scale, Terminal, key::Boxed, key::Justification, key::Order, key::Position, key::Stacked.
Types used inside types used for settings: key::Horizontal and key::Vertical (both used in key::Position).
A bunch of types all named properties: axis::Properties, candlestick::Properties, curve::Properties, errorbar::Properties, filledcurve::Properties, grid::Properties, key::Properties.
Things that can be plotted: candlestick::Candlesticks, curve::Curve, errorbar::Errorbar, filledcurve::FilledCurve.
Some functions that look like constructors: proxy::Font, proxy::Label, proxy::Output, proxy::Title.
Four traits: traits::Configure, traits::Data, traits::Plot, traits::Set.
Other stuff: Figure, VersionError.

I believe the current organization is pretty messy, and we should probably clean it up.
PS: I recommend viewing the documentation from a locally compiled cargo doc while also running cargo test, as otherwise images are not displayed in the doc.

I'd suggest closing this issue, as the main points were addressed at #6 and #8.


Docking is not working properly

We've found the following problem:
Imagine that you have a laptop and a second monitor. The windows (10) has the "Scale and Layout" setting. Usually this setting for laptop monitor has 125% and 100% for second monitor. Run the app on one monitor and then move it to the second one. Then use "Drag & Drop" to try to dock any panel in a different place. You will find that it cannot be done. Dockpanelsuite calculates coordinates incorrectly.
ps: It was not easy to figure out why the problem is happening. You can easy to reproduce on multiple monitors. Just set a different scale for each monitor.

The cause of this bug is this call to Bounds = SystemInformation.VirtualScreen; in DockIndicator here.
                public override void Show(bool bActivate)
                {
                    base.Show(bActivate);
                    Bounds = SystemInformation.VirtualScreen;
                    RefreshChanges();
                }

Because of that the DockIndicator form now spawns all monitors with various DPI, but a form can only know about a single monitor DPI, hence the bug.
To fix it one needs to comment Bounds = SystemInformation.VirtualScreen; and update the DockIndicator form's bounds at the beginning of RefreshChanges() here:
                private void RefreshChanges() {
                    var allScreens = Screen.AllScreens;
                    var mousePos = Control.MousePosition;
                    foreach (var screen in allScreens) {
                       if (screen.Bounds.Contains(mousePos)) {
                         Bounds = screen.Bounds;
                       }
                    }
                    Region region = new Region(Rectangle.Empty);
                    ...

This works because when the mouse is moved over a panel on a screen (B) different than the screen (A) on which the dock-indicator was initiated by a mouse left-button-down, RefreshChanges() is called. Thus the bounds of the DockIndicator form are actualized to the bounds of screen (B). As a consequence the DockIndicator form's DPI value is implicitly set to the DPI value of screen (B).
Note1: This fix works and has been tested on a winforms application with an app.manifest that defines <dpiAware>True</dpiAware> but doesn't define the <dpiAwareness>. Changing <dpiAwareness> might have an impact on the bounds of screen returned by Screen.AllScreens and mouse location returned by Control.MousePosition.
app.manifest file:
...
  <asmv3:application>
    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
      <dpiAware>True</dpiAware>
    </asmv3:windowsSettings>
  </asmv3:application>

Note2: In the app.manifest context described in Note1, when creating a new FloatingWindow by dragging it from a screen (A) to a screen (B) with different (A) and (B) DPI values, the floating-window needs to be re-located to properly adapts to the DPI of screen (B). This secondary problem can be fixed by slightly changing the new FloatingWindow location from within a new a OnLoad() handler here.
  protected override void OnLoad(EventArgs e) {
     this.Location = new Point(this.Location.X + 1, this.Location.Y);
     base.OnLoad(e);
  }

@lextm  do you know if this issue fixed?
I have the same problem with my application if my screen is scaled to 125%. The docking points are displayed incorrectly, but the mouse position is correct (somwhere in the middle as expected). See pictures below.
Incorrect positioning of the docking points:

Mouse position is correctly calculated (somewhere in the middle as expected):

@EmanuelFeru this issue was never fixed, see this issue. I found that the Krypton suite works very well for Windows Forms docking with display scaling above 100%, I'd recommend it.

@nsdrussell thanks for the quick answer. I found that the issue happens only if multiple monitors are connected to the computer, from which at least one monitor is not in 100% scale. If single monitor is used it is working correctly, even in 125% scale.
What is Krypton Toolkit? Sorry first time I hear about it. Is it also a docking system? Yes, I need it for WinForms.

It is a C# library to be used with Windows Forms. One of the components is a good docking system. Have a look at this for examples of docking with it.

Wow, I just tryied it. That works very well... why didn't I find this 3 months ago. Now everything is coupled to dockpanelsuite. It took me a lot of effort to save and restore the docking system created by the user. In krypton this looks much more intuitive with persistence.
Not to mention the tab system in Krypton looks so much better, because the default one in Winforms is so bad, no customization what so ever.


delay sending of messages

Hello,
I have used MS bot framework in past and sending delayed messages is quite simple in MS bot framework. as a reference conversation:
User: Can you please give me details of my last year trips
Bot: Please wait, while I find the information
... after 5 seconds
Bot: Here is the information of last year trips...
How this behavior can be achieved in RASA Core?
Thanks,
Lokesh

This hasn't been implemented yet. But I think it would make a good addition :+1:
You can already send multiple messages between user messages, but you can currently not delay them (at least not from the framework side - you can still write python code that forks a thread and sleeps for a while).

Thank you for the response tmbo. If I am not wrong , then connector/channel will be responsible of sending the delayed outgoing message to the appropriate chat client.
As of now I am using a simple http channel, I believe that also needs to be modified along with appropriate caching mechanism.
Thanks,

an http request can have only one response. if you want to send multiple responses with delays one after the others, you should look at creating a websocket channel... if someone can think of something else ?


Fix incorrect case of weak etag indicator

According to http://tools.ietf.org/html/rfc7232#section-2.3
weakness must be specified via W/ (note "case-sensitive").
Werkzeug's use of w/ causes strict reverse proxies such as
CloudFlare to drop the ETag header entirely.

Meant to say when I opened this: I asked CloudFlare if they would consider being less strict with w/ etags. They said they'd take a look but couldn't provide a timeline or guarantee.

Thanks. This is fixed now.

Thanks @mitsuhiko!


Bash linter doesn't detect whitespace after EOF

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:  1.95.3
OS Version: macOS 14.5

Issue
You can, in bash, read an input stream until a specific delimiter is found. An easy example of this would be:
cat << EOF > hello.txt
Hello World
EOF

The problem with this is that bash only accepts this as a valid delimiter if it matches the pattern ^EOF$.
The problem now is that whitespace at the end marks the delimiter as invalid, which makes bash ignore it.
A script like this would, therefore, not be valid:
cat << EOF > hello.txt
Hello World
EOF

(Note the only difference here is that the last line is EOF  instead of EOF)
Finding such issues is hard, especially if you have another delimiter after this one, like for example:
cat << EOF > hello.txt
Hello
EOF

cat << EOF > world.txt
World
EOF

(The first EOF has a tailing whitespace at the end the second one doesn't)
This script would create one file called hello.txt which has the following content:
Hello
EOF

cat << EOF > world.txt
World

The VSCode syntax highlighter ignores the trailing whitespace at the end of the EOF and marks it as a valid delimiter.
Such issues probably only occur in rare edge cases, but it would be nice if VSCode would mark the EOF as not valid, if it has a tailing whitespace, and also display this in the syntax highlighting. Or maybe even better, display a warning to the user that there is a trailing whitespace.

We use the TextMate grammar from https://github.com/jeff-hykin/better-shell-syntax for shellscript.
You want to file improvement requests for shellscript syntax highlighting there.
That said, I don't think it's the responsibility for syntax highlighting to report errors like this. Instead, this should be done by a linter which also has the capability of showing an error message to explain the problem (and even fix it)
https://marketplace.visualstudio.com/items?itemName=timonwong.shellcheck is a great linter for shell script.


Removed unneeded this keywords

Removed appropriate occurrences of the this keyword. Left the this keyword in places with ambiguity.
Issue #305

Codecov Report

Merging #307 into master will not change coverage.
The diff coverage is 62.50%.

@@            Coverage Diff            @@
##             master     #307   +/-   ##
=========================================
  Coverage     90.00%   90.00%
  Complexity     1438     1438
=========================================
  Files           249      249
  Lines          3943     3943
  Branches        191      191
=========================================
  Hits           3549     3549
  Misses          343      343
  Partials         51       51

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/com/vonage/client/VonageClient.java
86.48% <62.50%> (ø)
5.00 <2.00> (ø)

Since there's been changes to the Hacktoberfest requirements, would you mind giving this the label 'hacktoberfest-accepted' if you find that it is worth?

The changes look good. Just add yourself to the CONTRIBUTORS.md file and I will accept

Alright, I'll do that.


Update rbx sources

Seems like rbx sources on rubi.us are not updated in a while, so I updated this to point to github releases. Which seems a more updated source.
Another mirror could be this which is used by ruby-build too.
By doing this, it's possible to remove the rexml dependency too. And https://github.com/pry/pry-doc/pull/118 would no longer be necessary
irb(main):003:0> Latest.rbx.link
=> "https://github.com/rubinius/rubinius/releases/download/v5.0/rubinius-5.0.tar.bz2"

Super!


[BUG]

Describe the bug
panic: runtime error: index out of range [0] with length 0
Steps To Reproduce
./sigurlfind3r -d example.com -iS
Output
[ INF ] fetching urls for
panic: runtime error: index out of range [0] with length 0
goroutine 18 [running]:
github.com/signedsecurity/sigurlfind3r/pkg/sigurlfind3r/scraping/sources/commoncrawl.(*Source).Run.func1()
/Users/emilaltynbaev/Documents/bugbounty/tools/sigurlfind3r/pkg/sigurlfind3r/scraping/sources/commoncrawl/commoncrawl.go:82 +0x7bc
created by github.com/signedsecurity/sigurlfind3r/pkg/sigurlfind3r/scraping/sources/commoncrawl.(*Source).Run
/Users/emilaltynbaev/Documents/bugbounty/tools/sigurlfind3r/pkg/sigurlfind3r/scraping/sources/commoncrawl/commoncrawl.go:63 +0xf2
Additional context
MacOS 12.1

Fixed in version v1.6.1


Updated note for licensing requirement in teams-panels.md

Marketing recommended we update the note in the licensing requirements section to align with Teams Rooms learn page and call out the 90 day grace period we are giving admins.

@EvieGrimshaw
Hi Evie,
This pull request was opened in the public repo. Content developers should work in the private repo, as described in the authoring guide.
This PR was merged, but we encourage you to use the private repo for future contributions to Microsoft Learn.
Thank you!


List role assignments for a user doesn't display built-in role

Running the following command doesn't display all the roles that are assigned to the given user.
Get-AzureRmRoleAssignment -SignInName {sign_in_name} -ExpandPrincipalGroups
I don't know if this cmdlet requires special privilege, or it is buggy.

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

ID: e65997e4-5f98-0058-4117-7f01673ebceb
Version Independent ID: d019e810-9507-f044-ef1d-d62b256c6728
Content: Manage access using RBAC and Azure PowerShell
Content Source: articles/role-based-access-control/role-assignments-powershell.md
Service: role-based-access-control
GitHub Login: @rolyon
Microsoft Alias: rolyon

@thuansoldier Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@thuansoldier I am unable to reproduce this behavior as it works as expected for me.
Mind sharing the output of running the cmd on your end and also share what the missing roles that you expect to see? Please remove any sensitive details before sharing.

@femsulu  it seems that Get-AzureRmRoleAssignment only results the custom role. My current logged user is part of not assigned to custom role but built-in ones like Contributor or Owner.

@thuansoldier if possible, can you share the output of the command? By default it should lists all role assignments in the selected Azure subscription including built in roles.
https://docs.microsoft.com/en-us/powershell/module/azurerm.resources/get-azurermroleassignment?view=azurermps-6.9.0#description


Isar Web: IsarCollection.clear() seems not to reset autoIncrement id

Unless I'm mistaken, clear() is not resetting autoIncrement id in Isar web.
Steps to Reproduce
Please describe exactly how to reproduce the problem you are running into.

put one or more Items into a collection
get count and last inserted id
invoke clear() on collection
count() is now 0; last id is indeterminate / negative infinity
put another Item into collection
count is now 1, but last inserted id increments previous value instead of restarting at 1

Code sample
  void addItem() async {
    int? newId;
    int? itemCount;
    await db?.writeTxn((db) async {
      newId = await db.items.put(Item());
      itemCount = await db.items.count();
      setState(() {
        _counter = itemCount;
        lastId = newId;
      });
    });
  }

  void clearItems() async {
    await db?.writeTxn((db) async {
      await db.items.clear();
    });
    int newCount = await db!.items.count();
    setState(() {
      _counter = newCount;
    });
  }

Version

Platform: Web
Flutter version: 3.0.1
Isar version: 2.5.0
Isar Generator version: 2.5.0

Unfortunately, indexeddb does not support resetting the auto increment key.
I'll document this as a limitation.

Thanks, another limitation I've discovered is that LinkFilters are unsupported on web.  I won't bother creating another issue for that, but is that planned in the future, or would it be another inherent limitation of IndexedDB?  Thanks.


Fix request: wrong translation in Japanese page

[Enter feedback here]
I have found a wrong translation in Japanese page.
https://docs.microsoft.com/ja-jp/azure/cosmos-db/sql/sql-sdk-connection-modes#service-port-ranges
'Service port ranges' should be translated as 'サービス ポート 範囲' but actually translated as 'ソースポート範囲'
'ソースポート範囲' means 'Source port ranges', that is confusing and misleading customers.
I hope you fix the wrong translation of Japanese page.

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

ID: 6a003a7e-db97-4905-c8c0-8de8663200a8
Version Independent ID: c4d309d5-71cf-fa44-397a-7762f78a5bc2
Content: Azure Cosmos DB SQL SDK connectivity modes
Content Source: articles/cosmos-db/sql/sql-sdk-connection-modes.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @ealsur
Microsoft Alias: maquaran

@shoshii We are reviewing this and will get back to you.

#assign:seesharprun
Thank you for your feedback @shoshii!
We are engaging our localization team right now to get this resolved!

@shoshii,
The header has now been updated. Thank you for your contribution!
#please-close

Hello @seesharprun @Oury-MSFT
I’ve confirmed the header is fixed.
I appreciate your quick work. Thank you!


ui mask filter

It would be great to have ui-mask-like filter.
Example:
{{1234567899 | mask: '(999) 999-9999'}} // -><PHONE_NUMBER>

+1

+1

+1

Does anyone have a current solution or workaround for specifying this type of behavior?

+1 as well.
We would like to keep phone and date formatting when a user fills out this info on our contact form.

UI.Utils modules was split in individuals repositories. If still valid, please consider re-submitting on its dedicated repository: https://github.com/angular-ui/ui-mask
See the README for details.

I don't have an input for phone number and need just show to user masked phone number. Is there any solution? As far as I see you use model property to show it. Have anybody implemented a filter like: {{1234567899 | mask: '(999) 999-9999'}} // -><PHONE_NUMBER>

@alexgoroshko this issue is closed and the repository deprecated. Please consider contributing to https://github.com/angular-ui/ui-mask instead, ideally with a PR.

+1


New version: nkdAgility.AzureDevOpsMigrationTools.Preview version 16.0.8-Preview.1

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-11-15 02:04:48.552 [FAIL] Installer failed security check. Url: https://github.com/nkdAgility/azure-devops-migration-tools/releases/download/v16.0.8-Preview.1/MigrationTools-16.0.8-Preview.1.zip Result: 0x80004005
MSI (s) (EC:98) [02:03:39:686]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (EC:98) [02:03:39:686]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (EC:98) [02:03:39:686]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (EC:98) [02:03:39:686]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (EC:98) [02:03:39:686]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (EC:98) [02:03:40:858]: Executing op: ComponentRegister(ComponentId={A988446B-86C2-5354-AB69-78D3281895F8},KeyPath=2285\SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules\C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.11\mscordaccore.dll,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1)
MSI (s) (EC:98) [02:03:42:249]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules,,BinaryType=1,,)
Property(S): ErrorDialog = ErrorDlg
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
MSI (s) (EC:FC) [02:03:42:733]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (EC:FC) [02:03:42:733]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (EC:FC) [02:03:42:733]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (EC:FC) [02:03:42:733]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (EC:FC) [02:03:42:733]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (EC:A4) [02:03:43:374]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (EC:A4) [02:03:43:374]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (EC:A4) [02:03:43:374]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (EC:A4) [02:03:43:374]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (EC:A4) [02:03:43:374]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (EC:BC) [02:03:44:374]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (EC:BC) [02:03:44:374]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (EC:BC) [02:03:44:374]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (EC:BC) [02:03:44:374]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (EC:BC) [02:03:44:374]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 897.)

@wingetbot run


[Bug] Class method and instance method has the same name

In pymoo.model.population, the class Population has two functions sharing the same name merge.In Python, Class methods and instance methods live in the same namespace, therefore, the latter one will overwrite the former one. My suggestion is to remove the instance method. And let the merge method supports merge multiple populations and multiple individuals.
https://github.com/msu-coinlab/pymoo/blob/4e80b44e8f81dde0f9239656ff16189fb9a5eb68/pymoo/model/population.py#L17-L29

Yeah good catch. I have first used the instance method but then realized it should have been a class method.


Incorrectly calling a command (e.g. with missing required parameters) should show help text

If I call a command incorrectly, such as bosh deploy with no manifest, the CLI exits 1 with a fairly informative error message, but I'd prefer if it also spit out the help text that you'd get with bosh deploy --help.

I think it's a subjective topic, but I disagree. I think the invocation error should be as concisely helpful as possible. I don't want to see a full dump of everything I might possibly find helpful about the command if I typo an option or forget an argument. I find it frustrating when commands do that and I need to scroll back through a bunch of things I really don't care about only to realize it didn't recognize my typo'd option. If I'm interested in full help information or to generally learn, I should be using --help.

agree with @dpb587, though we will descriptions of arguments


plugins: externalize ec2 driver

https://github.com/ansible/molecule/pull/2407 is cooking for this.


[Feature Request]: support auto_clean_logs

Is there an existing issue for the feature request?

[X] I have checked the existing issues.

Feature Description
support auto_clean_logs
Feature Implementation
support auto_clean_logs
Additional information
support auto_clean_logs

done


Implement interface members?

So when I write:
  public class DamageReceiver : IDamageReceiver
  {
  }

  public interface IDamageReceiver
  {
         void ReceiveDamage(float amount);
  }

O# cleverly detects that I'm not implementing the interface's members and I should be doing it. But I couldn't find a way to tell it to do it. OmniSharpGetCodeActions yields in "No code actions found" and OmniSharpFixIssue doesn't do anything. (what does FixIssue do? - again, another instance where documentation would be nice)
Thanks.

@svermeulen, my guess is that the Omni# server is willing to send back code actions and 'fix issue's, but that the client isn't handling them correctly.  fixCodeIssue @ OmniSharp.py :114 and getCodeIssues below it are probably just stubs

This is now supported by GetCodeActions/RunCodeAction, with the OmniSharp-roslyn server


cannot replicate _users

I've been fighting this for hours now, still can't figure this out and cannot seem to find a solution on the internet anywhere...or anybody mentioning the same issue.
I am running express-pouchdb on a VPS. Works great, all is fine, my appswork perfectly.
This instance contains some databases, all is well.
Now I try to setup a local replica of the instance for debugging and testing.
I can replicate all databases from the VPS to my local node server, except for _users
Setup:
running the latest express-pouchdb, express, pouchdb (6.3.4)
_users, contains some users.
No PartyMode, have config.json with admin credentials stored.
myOtherDB, has roles assigned for reading/writing.
I can perfectly replicate all databases (CORS work, Authentication works etc etc.)
But as soon as I try to replicate _users (one way replication, no syncing), it returns an error, without details... (I replicate with admin credentials)
{ ok: false,      start_time: 2017-07-24T08:26:24.454Z,      docs_read: 0,      docs_written: 0,      doc_write_failures: 0,      errors: [],      status: 'aborting',      end_time: 2017-07-24T08:26:24.970Z,      last_seq: 0 }
I tried setting checkpoint: false, since: 1
If I do a https://myserver/_users/_all_docs , I can see the correct contents of my database.
Still no clue...
I even tried it in a browser script...not working there either.
I'm sure it has something to do with the fact that the _users db is some special db, with it's own working.
Any help would be greatly appreciated

do you have access to the CouchDB’s logs? If not through the file system, maybe through GET /_log?bytes=1000? Hard to tell what could go wrong without more details
Is your server running locally and connecting to a remote CouchDB using a URL that contains the admin username / password?

It's not a CouchDB on the far end, but an express-pouchdb in node on both ends.
So one instance creates a local db, lets call it 'localDB' (with leveldb)
Then it instantiates a remote PouchDB through an url (with auth header, containing admin credentials)
This all connects well together and replication of any database goes well. But it simply doesn't seem to work on the _users db
Now, the docs in _users are somewhat special, since they don't store multiple revisions ( I think).
The _changes response does come back, but without the actual full document inside. It just contains the _id, _rev and if not mistaken an seq.
Other databases nicely include the full docs on the _changes response if I'm not mistaken.
Can anybody replicate my experience? (replicating _users from one PouchDB to another PouchDB) over http

the docs in _users are somewhat special, since they don't store multiple revisions ( I think).

the _users database stores revisions just like any other CouchDB database

ok, thanks, I stand corrected on the rev part :-)
Still no clue as to why I cant replicate _users

If your database is not in admin party, this could be caused by not having sufficient rights. _users is a so-called system database, meaning that you cannot replicate from or to it unless you are an admin.
Try if you can replicate between two vanilla express-pouchdb dbs that are in admin party. If that works, add authentication as required. Probably using http basic auth for the local db, and by adding the credentials in the url for the remote one (e.g. http://user:password@db:5984/_users)


When uses custom view...

[LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x600000284060 UIView:0x7fab1b4063a0.centerY == EmptyKit.EmptyView:0x7fab1b40a520.centerY - 44   (active)>",
"<NSLayoutConstraint:0x600000283c00 V:|-(0)-[UIView:0x7fab1b4063a0]   (active, names: '|':EmptyKit.EmptyView:0x7fab1b40a520 )>",
"<NSLayoutConstraint:0x600000284380 V:[UIView:0x7fab1b4063a0]-(0)-|   (active, names: '|':EmptyKit.EmptyView:0x7fab1b40a520 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000284060 UIView:0x7fab1b4063a0.centerY == EmptyKit.EmptyView:0x7fab1b40a520.centerY - 44   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

Can you describe more specific? Which version do you use?

It's solved after updated to the lastest version...Thanks.


[fix] hotkey not work on macOS

l not work on Apple M1 Pro with Ventura 13.0, modify l to L.

Thanks for making that update. The changes seems to work even for Linux, so I will go ahead and approve merging this in. Hopefully it will not cause any issues.


Docs(web-twig): Introduce showcase app localhost url

Description
Adding web-twig demo app showcase localhost URL to the contributing document.
It was missing while @pavelklibani try to run the app.

Additional context

Issue reference

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Follow the PR Title/Commit Message Convention.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

coverage: 96.46%. remained the same when pulling 55cf3ce5c577125a7f7509b95b214d89f1f37d59 on docs/web-twig-demo-app-url into 401c399036766be61bb514292bd7c057132e7f13 on main.


After i install it gave me error in console InjectionToken is not a constructor

zone.js:522 Unhandled Promise rejection: core_1.InjectionToken is not a constructor ; Zone: angular ; Task: Promise.then ; Value: TypeError: core_1.InjectionToken is not a constructor
at Object.1054 (currency-mask.config.js:4)
at webpack_require (bootstrap d02c331fe602561fc89b:52)
at Object.1010 (currency-mask.directive.js:5)
at webpack_require (bootstrap d02c331fe602561fc89b:52)
at Object.1053 (index.js:6)
at webpack_require (bootstrap d02c331fe602561fc89b:52)
at Object.957 (0.chunk.js:5136)
at webpack_require (bootstrap d02c331fe602561fc89b:52)
at src async:15
at ZoneDelegate.webpackJsonp.951.ZoneDelegate.invoke (zone.js:334)
at Object.onInvoke (ng_zone.js:273)
at ZoneDelegate.webpackJsonp.951.ZoneDelegate.invoke (zone.js:333)
at Zone.webpackJsonp.951.Zone.run (zone.js:126)
at zone.js:713
at ZoneDelegate.webpackJsonp.951.ZoneDelegate.invokeTask (zone.js:367) TypeError: core_1.InjectionToken is not a constructor
at Object.1054 (http://localhost:4200/0.chunk.js:4379:32)
at webpack_require (http://localhost:4200/inline.bundle.js:53:30)
at Object.1010 (http://localhost:4200/0.chunk.js:2030:30)
at webpack_require (http://localhost:4200/inline.bundle.js:53:30)
at Object.1053 (http://localhost:4200/0.chunk.js:4366:10)
at webpack_require (http://localhost:4200/inline.bundle.js:53:30)
at Object.957 (http://localhost:4200/0.chunk.js:5136:76)
at webpack_require (http://localhost:4200/inline.bundle.js:53:30)
at http://localhost:4200/main.bundle.js:11818:10
at ZoneDelegate.webpackJsonp.951.ZoneDelegate.invoke (http://localhost:4200/polyfills.bundle.js:2907:26)
at Object.onInvoke (http://localhost:4200/vendor.bundle.js:35548:37)
at ZoneDelegate.webpackJsonp.951.ZoneDelegate.invoke (http://localhost:4200/polyfills.bundle.js:2906:32)
at Zone.webpackJsonp.951.Zone.run (http://localhost:4200/polyfills.bundle.js:2699:43)
at http://localhost:4200/polyfills.bundle.js:3286:57
at ZoneDelegate.webpackJsonp.951.ZoneDelegate.invokeTask (http://localhost:4200/polyfills.bundle.js:2940:31)

What Angular version are you using? You should use the version 2.x.x for Angular 2.x.x applications and the version 4.x.x for Angular 4.x.x applications.

@somnathswami  Change the version in your package.json to "less than 4.x.x" like the following example:
"ng2-currency-mask": "<4.0.0",


Adds Nullable validator

A few minor usabiility issues when I was messing with some Stitch Fix code.
Changes
See commits.
Testing

Notes
Checklist

[x] PR has an informative and human-readable title (this will be pulled into the release notes)
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future TODOs are captured in comments
[x] Project documentation has been updated if adding/changing functionality.
[x] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Python - local testing

[ ] python 3.6
[ ] python 3.7

This is very simple, happy to change names

you going to squash merge with a nice commit?

Going to quickly consolidate into two commits

you going to squash merge with a nice commit?

Nope I'll turn this into two commits then commit them both -- should have been two PRs


Can't create base directory

[8788:14004:0914/073649.932:ERROR:util.cc(129)] Can't create base directory: C:\Program Files\Google\GoogleUpdater
Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="daily-sets"]/mee-card-group[1]/div/mee-card[1]/div/card-content/mee-rewards-daily-set-item-content/div/a/mee-rewards-points/div/div/span[1]"}
(Session info: chrome=105.0.5195.127)
Stacktrace:
Backtrace:
Ordinal0 [0x0090DF13+2219795]
Ordinal0 [0x008A2841+1779777]
Ordinal0 [0x007B423D+803389]
Ordinal0 [0x007E3025+995365]
Ordinal0 [0x007E31EB+995819]
Ordinal0 [0x00810F52+1183570]
Ordinal0 [0x007FE844+1108036]
Ordinal0 [0x0080F192+1175954]
Ordinal0 [0x007FE616+1107478]
Ordinal0 [0x007D7F89+950153]
Ordinal0 [0x007D8F56+954198]
GetHandleVerifier [0x00C02CB2+3040210]
GetHandleVerifier [0x00BF2BB4+2974420]
GetHandleVerifier [0x009A6A0A+565546]
GetHandleVerifier [0x009A5680+560544]
Ordinal0 [0x008A9A5C+1808988]
Ordinal0 [0x008AE3A8+1827752]
Ordinal0 [0x008AE495+1827989]
Ordinal0 [0x008B80A4+1867940]
BaseThreadInitThunk [0x76B2FA29+25]
RtlGetAppContainerNamedObjectPath [0x77527B5E+286]
RtlGetAppContainerNamedObjectPath [0x77527B2E+238]
Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="daily-sets"]/mee-card-group[1]/div/mee-card[3]/div/card-content/mee-rewards-daily-set-item-content/div/a/mee-rewards-points/div/div/span[1]"}
(Session info: chrome=105.0.5195.127)
Stacktrace:
Backtrace:
Ordinal0 [0x0090DF13+2219795]
Ordinal0 [0x008A2841+1779777]
Ordinal0 [0x007B423D+803389]
Ordinal0 [0x007E3025+995365]
Ordinal0 [0x007E31EB+995819]
Ordinal0 [0x00810F52+1183570]
Ordinal0 [0x007FE844+1108036]
Ordinal0 [0x0080F192+1175954]
Ordinal0 [0x007FE616+1107478]
Ordinal0 [0x007D7F89+950153]
Ordinal0 [0x007D8F56+954198]
GetHandleVerifier [0x00C02CB2+3040210]
GetHandleVerifier [0x00BF2BB4+2974420]
GetHandleVerifier [0x009A6A0A+565546]
GetHandleVerifier [0x009A5680+560544]
Ordinal0 [0x008A9A5C+1808988]
Ordinal0 [0x008AE3A8+1827752]
Ordinal0 [0x008AE495+1827989]
Ordinal0 [0x008B80A4+1867940]
BaseThreadInitThunk [0x76B2FA29+25]
RtlGetAppContainerNamedObjectPath [0x77527B5E+286]
RtlGetAppContainerNamedObjectPath [0x77527B2E+238]

Hello there,
I haven't been able to replicate this error, however upon investigating others with similar errors have been able to fix this error by manually creating creating the directory:
C:\Program Files\Google\GoogleUpdater

Please check to ensure you have GoogleUpdater folder on your computer at C:\Program Files\Google


StatsD Documentation

Description
Add documentation describing the StatsD metric events and how to used them.
Success criteria (What criteria will consider this ticket closeable?)
StatsD docs will be present in the website sections: administration, configuration.

fixed by #568


adding a #valid_resource? method to allow overriding.

In the past i've encouraged people to do something like this
class SaveWrapper

  def initialize(obj)
    @obj
  end

  def save
    @obj.valid?
  end
end

Then in the controller
render_wizard SaveWrapper.new(@object)

I'm not in love with adding functionality by introducing over-writeable methods. It's easy to mess up and not spell the method correctly and get no feedback over why it's failing.
For this specific functionality you can wrap in a simple wrapper object or we could expose the save method via a constant that can be changed
def process_resource!(resource)
  return unless resource
  if resource.respond_to?(Wicked::VALID_RESOURCE) && resource.send(Wicked::VALID_RESOURCE)
    @skip_to ||= @next_step
  else
    @skip_to = nil
  end
end

The original point of the save command was to ensure that data was not only valid, but also persisted. The only thing saving state is the URL and the database, and if somethings not in the database and not in the URL then it's lost.

I actually quite like your save wrapper approach.  Should I add that to the documentation? Or should I add the dynamic valid_resouce method?


improvementAdd workload group in audit log and profile

Proposed changes
Add workload group in audit log and profile.

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.25 seconds
stream load tsv:          533 seconds loaded<PHONE_NUMBER>9 Bytes, about 133 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>6 Bytes


Not possible to publish datasets with MaterialCitation of basisOfRecord (GBIF training IPT)

This was reported by one of our Nodes. They can't publish this dataset: https://training-ipt-c.gbif.org/manage/resource.do?r=suelo2 because the basis of record is MaterialCitation. Could it be related to this issue? https://github.com/gbif/ipt/issues/1980

Thanks Marie.
It looks completely like that issue, let me see what's going there

There were two vocabularies loaded. I've removed the older one and it should be working now.
I'm not sure why the IPT did not load the most recent version of the vocabulary though, need to figure that out

Hi @mike-podolskiy90 could you also fix the issue for that IPT? https://cloud.gbif.org/lac/ Thanks!

@ManonGros Done

There is a failing test, need to fix


Add graphene-django-filter to README.md

I didnt know if it goes well under the header APIs (next to graphene-django) or General (next to django-filter).
But I figured this is especially useful to people using graphene-django hence I put this under it in APIs. Let me know if it needs to be put in somewhere else.
resolves #225

Thank you for your contribution!


More last resorts (single versions)

CC0 => CC0-1.0

I like your thinking here!  I'm looking into what licenses-with-one-version your reductions find. We may prefer to bring in spdx-license-ids as a devDependency and generate a list on prepublish, or even hard-code.

I can put the code to generate the list as a comment and hard code the output. Would that be good enough? I can look into automatic generation as well, but might make the process more complex.
BTW, the reason I'm adding this is because I'm running an analysis on published npm packages and just checking what the most common mistakes are and if your corrections make sense. The CC0 was the most common uncorrected one.

Great work!  Always a fan of empirical checks.  The metadata census I did, back in the day, lead right up to the pull requests getting SPDX expressions and validation in npm CLI.
Having given it a little more thought, I'm more and more in favor of packaging a dynamic computation along the lines you proposed. That does mean adding spdx-license-ids as a runtime dependency, but for a few reasons, I think that's fine:

Earlier versions of this package require'd spdx-license-ids.
spdx-license-ids is pretty small, as packages go. Most of the overhead of a package dependency is for resolution, another tarball, and so on, but small tarball counts for something.
Many users of sdpx-correct are likely to have spdx-license-ids elsewhere in their dependency tree already.
We're not talking about a whole lot of cycles or memory for the computation.

On the downside, spdx-expression-parse uses spdx-license-ids as a build dependency to generate its parser.  As a result, it takes a new publish of spdx-expression-parse to catch changes to spdx-license-ids. That means the spdx-license-ids that this package sees via require, and the one it gets transitively from spdx-expression-parse, may differ.

Sure, I'm pretty neutral on that one, I don't have a preference. There is shrinkwrap, but I have never used and not sure if it is any good.
Do you propose any change here, or should we just go with what I proposed?

I'd appreciate you landing https://github.com/zommerfelds/spdx-correct.js/pull/1 if you haven't any objections there.

Sorry I hadn't seen your PR there. Should be good now!

Hi, just want to check back if you still think we should merge this?

@zommerfelds This looks good.

@kemitchell could you please release a newer version with this great feature? I'd be happy to help if that's needed.

@aviadatsnyk that's a good I idea. @kemitchel maybe we can take a look at the other open PRs before making a new version? I can help with the release too, but I don't have access to npm I think.

I will do a patch release shortly. 2.0.1, I believe.
There is a possible edge case here, if spdx-license-ids gets ahead of spdx-expression-parse.  Since spdx-expression-parse hard-codes the license ids, we may end up with different versions in the dependency tree.
I don't foresee any practical problems, short-term.  For long-term maintenance, it may be worth it to rewrite spdx-expression-parse to dynamically load the license list.


create new API endpoint (related to #12)

related to #12

Hey please assign this to me so that i can start working on this

Hey please assign this to me so that i can start working on this

@mlodic
Can you please document the steps to set up the project locally.
I tried installing requirements.txt but received a huge error log

@mlodic
Can you please document the steps to set up the project locally.
I tried installing requirements.txt but received a huge error log

well the technologies and the set up is almost the same of IntelOwl, except that we do not have an helper script.py so you need to use docker-compose commands directly. For now, I have just pushed the commands in the dev branch here. I will move them into the official documentation soon

@mlodic This can be closed now as #25 resolves this


Guidance for bulk insertion?

I don't see any API for bulk insertion.
Am I missing, or is that by design?
Without such an API it seems like inserting many items at start could get very expensive?
The mostly untested workaround that I'm using is to append the items to insert at the end and then using move(fromOffsets:toOffset:) to get them into correct position. Does that seem reasonable?

This is intentional, and is similar to the behavior of OrderedSet. We try to document it here:
https://github.com/pointfreeco/swift-identified-collections/blob/6e21c97fe5c50d3e69214891215d986a5705143d/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray.swift#L235
Things should remain performant when inserting a lot of items by calling reserveCapacity(count + insertions.count) before doing the work.


Feature Form - punctuation

Users should not be able to enter punctuation in the following fields;
Base
High
Users can enter + or - in these fields and submit the address. The punctuation disappears before it hits the change feed. If + or - is entered in Base, an error pops up saying that AddressNumber must be provided.
Unit should also not allow punctuation but does allow _
The _ is passed through to the change feed and can be accepted.

Also, all the road name component fields allow any punctuation but they should not allow any punctuation other than the road name field which should only allow dash, apostrophe and space.

Assigned version 1.1 because the only real risk to the database is that a user can add _ as a unit number. Users can avoid doing that.

You are able to enter punctuation in the QA Update form. When you accept, this is then published in the address publish table.
select changeid, unitvalue, levelvalue, addressnumbersuffix, fulladdressnumber
from aims_stage.change_address
where changeid = 2805089
2805089;"#$";"!@-";"%^";"#$/24%^"
select changeid, unitvalue, levelvalue, addressnumbersuffix, fulladdressnumber
from aims_stage.address_publish
where changeid = 2805089
2805089;"#$";"!@-";"%^";"#$/24%^"
I was prevented entering - in unit and suffix fields.
Reassigned to 0.8.13 because random punctuation can end up in the address publish table by entering it through the QA update.

unit value, level value, num prefix,  base num, num suffix and num high now all have restricted input (\w)
Please test and advise of any other fields that may require further masking.

Tested 0.8.16. Not fixed.
Base - allows - +
High - allows - +
Unit Value - allows _
Level Value - allows _
Address Prefix - allows _
Alpha - pass

Interesting,
Base and High were being passed through a QIntValidator. Now QRegExp(r'[0-9])
Unit, Level and Address Prefix were limited to \w. Now  QRegExp(r'[0-9A-Za-z]')

Tested 0.8.17. Passed.


Create a better icon.

To replace the stock "Hello" thing or whatever it says:

Wink wink, @kuhlenh

This is all my brain could come up with for now:

also what dimensions/file format do you need it in?

@kuhlenh I removed the "-for-github" suffix.
For size, these are the sizes that Chrome uses: https://developer.chrome.com/extensions/manifest/icons (16, 48, 128), but I don't need all sizes to start with. :smile:

(I'm also happy to have the largish banner one for the readme)


tests package installed stupidly

1.5.170 installs the tests in site-packages/tests. This is obviously not a good idea: at the very least, prone to collisions with some other packages. It seems to happen because setuptools.find_packages() correctly finds the tests package and then installs it.
I think there are two viable options of resolving this:

don't install the tests
move the tests into the oauth2 package

I'd be happy to contribute a patch, but I don't think that would be the sticky point here.

We now run tests via py.test and use virtualenv locally. Additionally, we have Travis-CI running.

Specifically #173  should resolve this when merged.

@jaitaiwan Yeah, I think I totally missed what @djc was asking here. As you mentioned, resolved when #173 is merged.


Create a blacklist for plugins / search paths to not load

When reviewing code, it would be handy to quickly switch between what plugins are loaded without having to uninstall and reinstall them from VIPM.
Current workflow.
Get branch from Git.
Uninstall from VIPM.
Open DCAF, add git repo plugin path
Verify change works
Remove git repo from plugin path
When done, re download package from VIPM
Proposed workflow.
Get branch from git
open DCAF. Edit plugin whitelist to include git path, edit plugin blacklist to exclude VIPM path
verify change works
edit paths delete whitelist git path and delete blacklist vipm path.

I'm not sure how much easier this will really make things. I think the package still needs to be uninstalled so that LabVIEW (not just the config. editor) doesn't accidentally link to things in VI.lib and create a mess of conflicts. Also once development is completed and the build server creates a new package, you probably want to download and install the update anyway. You also still have to go and modify the search paths in either case, they just got modified differently.
All of that said, I can't think of any reason why this would hurt, and there are probably some good cases where people do want specific modules excluded from a selected directory. I'm not opposed to adding this. I just don't see how it would help that much for the development use-case that you brought up.


Added listen URL

Was using goploader behind haproxy and wanted to make him only listen through localhost
Feel free to change names !
(i'm not fluent in go, but i might not have made mistakes !)
:)

Amazing, didn't think of that although I usually provide this mechanism.
Could you rename it to Host please ? That would be awesome.

Job done ;)

Amazing ! Thanks !


Remove collection prefix and default mongo URI

This removes the collection prefix and default mongo URI from DatabaseAdapter.
The DefaultMongoURI is now duplicated across the MongoAdapter and GridStore but those are separate adapters that will eventually be in separate repos, so it makes sense for them to be duplicated.

It starts being so beautiful @drew-gross !

Just one tiny suggestion, let me know if you wanna do it, otherwise I'll merge.

Current coverage is 92.87%

Merging #1479 into master will increase coverage by +0.02% as of 4b700a3

@@            master   #1479   diff @@
======================================
  Files           87      87
  Stmts         5499    5491     -8
  Branches      1017    1015     -2
  Methods          0       0
======================================
- Hit           5106    5100     -6
  Partial         10      10
+ Missed         383     381     -2

Review entire Coverage Diff as of 4b700a3

Powered by Codecov. Updated on successful CI builds.


Fix the demo page not loading issue

Following up with GiHub support.

The following fix worked:
http://stackoverflow.com/questions/11577147/how-to-fix-page-404-on-github-page
THe git repo has been re-initialized, so all previous commit history has been lost. The backed up repo was pushed after git was re-initialized.

Four months ago I have contacted the support and they told me it was a problem on their side, they have temporarily fix it (for the current commit).

Today I tried again
I deleted the gh-pages branch on github
git push origin --delete gh-pages
I deleted the gh-pages branch on local
git branch -D gh-pages
I reinitialized git
git init
I recreated the branch on local
git branch gh-pages
I pushed the gh-pages branch to github
git push origin gh-pages
Works fine, I can finally update my files on the page.


How to set quantity ?

I use the following codes to take profit market
client.futures_create_order(symbol='ETHUSDT', side='SELL', positionSide='LONG', type='TAKE_PROFIT_MARKET', stopPrice=1800, closePosition='true')
BUT I cannot set the quantity. How to set quantity ? thanks!

I believe binance has provided an explict instruction in document about this:
STOP_MARKET, TAKE_PROFIT_MARKET with closePosition=true:

    Follow the same rules for condition orders.
    If triggered，close all current long position( if SELL) or current short position( if BUY).
    Cannot be used with quantity paremeter
    Cannot be used with reduceOnly parameter
    In Hedge Mode,cannot be used with BUY orders in LONG position side. and cannot be used with SELL orders in SHORT position side


[Issue-1183] - parent cg not required on all cachegroups

fixes #1183

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/368/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/325/


Document that calling disableOnClickOutside() in componentDidMount will not work

As per the title, calling this.props.disableOnClickOutside() from componentDidMount() doesn't disable listening. This is using ES2015 class syntax (but not ES7/decorator).
Here is the relevent code snippet:
componentDidMount() {
    this.props.disableOnClickOutside();
}

With this code in my component, handleClickOutside is still being called.
Here is a test case file.
It needs to be compiled with Babel+Webpack. If you want my exact config, you could drop the gist code into my basic-react repo as src/main.js (the html grabs main.js, not main.jsx, but I used .jsx so that gist would highlight correctly). You would just need to do npm install react-onclickoutside --save, and npm run dev, then serve public/ however.
I'm looking for a workaround as well. If I find one, I'll report back.
You can work around this by putting disableOnClickOutside in a setTimeout.
componentDidMount() {
    setTimeout(()=>this.props.disableOnClickOutside(), 0);
}

Creating an enabled component, but then immediately disabling it in the componentDidMount life cycle functions means you really should have built the component with the disable flag turned on instead. Using the code shown in the the README.md:
class App extends React.Component {
  ...
  render() {
    return ...
      <ABox clicks={this.state.numClicks} handler={this.handleClick} disableOnClickOutside={true} />
     ...;
  }
  ...

That makes sense practically, but in a real life situation, I don't want to have to set an arbitrary property from my parent. This parent doesn't care if the child is listening or not.
I suppose this would lead to a solution of wrapping the HOCed component in another HOC which sets that property. This seems hacky. Am I missing another obvious solution here?

it's not an arbitrary property, though; the React philosophy is that parent control the bootstrapping of their children by specifying properties, and children control their state (potentially further bootstrapped on the props they received).
The HOC should do a straight up pass through of the properties you pass in the "normal" way (did a quick check, the code suggests that's still true), so setting disableOnClickOutside should work regardless of whether you're setting it on the true component, or on the HOC-wrapped component. Both should do the right thing.

@samsch, if you want the child to have complete control over whether to handle outside-click events, can you add logic to your handleClickOutside handler to fail fast when appropriate?

For now, the setTimeout workaround will work for me. I think what would be nice to close the issue is a small note in the docs that you can't directly call disableOnClickOutside() in componentDidMount (and have it work). That's what initially tripped me up.

morphing to docs issue (if you have some text in mind let me know and I can add it in, or you can actually hit the edit link for the README, drop the text in, and then tell github to just automagically create a PR for that change. Very nice if you don't want to clone/sync remote/add/commit/push, then form a PR!)

Ok, so I took a few minutes to test the mixin version. It seems that for createClass components with the mixin, you can call this.disableOnClickOutside() in componentDidMount.
I'm not sure if that's a big enough inconsistency between the APIs to worry about fixing, or just something to toss in the docs.

I'm 100% for "documenting the fact that you should not be creating the component with listening state X, and then upon mount change it to !X", because that's just plain old bad code. Create the element with initial prop !X, done. If you think that the README.md can do with a docs improvement to make that clear, happy to merge documentation improvements, but code fixes will be the absolute worst option here =)

I realized that a "duh" solution for the mixin is to set disableOnClickOutside to true as a default property on the component. I think this fits closer to the intended pattern?
For the HOC, this approach doesn't work, at least partially due to issue #65.

Sorry for the week long silence, I've been kept busy.... but yes, that's the solution I gave in https://github.com/Pomax/react-onclickoutside/issues/71#issuecomment-203085229 =)
Good point about the HOC having issues here, reading up on those issues now.

I think this issue can be closed since pull #76 is merged, or pending #77 as a fix for HOCs (#65).

closing, we can continue the last bits in the PR


BYG Redwood Trees not fully breaking the entire tree

Thanks for the pic!

The red parts: the trees are too big for default settings; increase maxTreeBlocks to allow more log blocks to be detected
The green parts: I'll need to fiddle with the detection code
Also, since BYG's redwoods are so big, some blocks don't chop right. I'll work on that too.

Thanks for the pic!

The red parts: the trees are too big for default settings; increase maxTreeBlocks to allow more log blocks to be detected
The green parts: I'll need to fiddle with the detection code
Also, since BYG's redwoods are so big, some blocks don't chop right. I'll work on that too.


Inline Code highlighting

Can there be a way to also change the inline code colors, for both background and text color. So we can configure the client to be more appealing and it can be seen easily.
currently it looks like this

and this is how it looks like in slack

@esethna This would be a proposal for webapp. Would you check?

Hi @jethroguce,
Would you like to contribute this in the feature idea forum so it can be discussed, upvoted and considered for a help wanted ticket?
Please include a link back to this GitHub issue. If you're interested in implementing, please say so and we'll prioritize the review.
You get 10 votes in the feature idea forum, and each one influences the future of the project.

Opened one here: https://mattermost.uservoice.com/forums/306457-general/suggestions/36767524-inline-code-highlighting.


How will the fitness score be calculated?

@donghwan-shin So at the moment i have added the necessary code from the cps-tool-competition to run the simulator with the random test generator but it only outputs whether the test has failed or succeeded which is boolean and im not sure how to make that into a fitness score. (this is considering that the objective that the car is trying to achieve is staying in the right lane). Have u got any ideas on how i can implement a fitness score formula and also should i have a fitness score formula as an input for calculateFitnessSim as it would allow the user to use thier own fitness score formula perhaps?
https://github.com/SashaSaw/SAMOTA-Lib/blob/62f291e8a36cf1a19d90849b3dae6832dc2ad2e7/src/FitnessCalculator.py#L8

Take a look at this code: https://github.com/ADS-Testing/cps-tool-competition/blob/a185a047d66cc8c78656a1f2717686a347a2c0ee/sample_test_generators/one_test_generator.py#L66.
max(oob_percentage) is something you can directly use as a fitness score.

Fitness Score has been implemented so the issue can be closed.


Add SSO login form

Add single sign on login form, where e.g. dashboard can redirect it's users to to log in to the system.

@dennyverbeeck Can't we use/reuse part of the implementation of the current login page?

Good point, i'll use that form as a basis, probably very little needs to be adapted from it

SSO login form is now ready for testing in the add_sso_login_form branch. The user authorization endpoint is /oauth/confirm_access and the token endpoint is /oauth/token. You could use e.g. Postman to test (set the authorization type to OAuth2.0), you could use pRMT and client id and leave the client secret empty. I have tested with postman, and with a sample Spring MVC app and both worked without issues. I expect that an Angular app will go without problems as well. Does somebody have a sample angular app already to test with @blootsvoets @nivemaham ?
Still needed: some better error handling when someone tries to authenticate with a non-existing oauth client ID.


Update backend docs

Hey there! I don't think most of these changes are necessary so I'll pass on this one, but thanks for the interest! :coffee:


Cannot start Node Red

I just installed Node Red on Ubuntu 16.04 LTS with the usual
sudo npm install -g --unsafe-perm node-red node-red-admin
and I receive the error...
/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/fs/index.js:93
exports.write = function (fd, buffer, ...args) {
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/index.js:6:3)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)

Please fill in the issue template you are shown as it asks for lots of standard information.
In this instance, the question to ask is what version of node.js are you using? That error suggests you are using too old a version. Node-RED requires Node.js 8.x or later - we recommend Node 12 or later.

What version of NodeJS are you using? (run node --version)

v4.2.6 , ubuntu prompted me to run sudo apt install nodejs-legacy which gave that version, I will upgrade to a later version (14?) now and try again.


Workbench hovers don't support equivalent of "editor.hover.sticky" setting

The workbench hovers (custom views, terminal) don't support the "editor.hover.sticky" setting, which is IMO desired, but there is no equivalent setting
There is also the "editor.hover.delay", but not sure if it matters as much to support this or not (again with its own version IMO)
/cc @alexr00

Pretty sure they do support it?

Remove it from Backlog. It is a serious bug.

What I propose is instead something like workbench.hover.sticky.

Regarding delay, we already have workbench.hover.delay.

Maybe workbench.hover.sticky should be supported too, even for non-interactive items?


Bump Dependencies #5947712870

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/5947712870

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


convert GreenSTEP to VEState

will start from VERSPM

The basic work plan is to:

Test VERSPM code with multiple MAREAS and AZONES
Develop VEState synthetic zone generation modules
Develop complete VEState dataset and test full model run

see #187, #188, #189 instead


Upgrade to ZF3

Update to work on ZF3.
Updates have been made on all packages and on the version of PHP 5.6 or 7.0
I have not yet tested the configuration file, if there is anyone who can help I'll be grateful.

What is the reason that you require php 7 and test only php 7.1? ZF3 has a minimal requirement of php 5.6, so you should create all extensions based on this requirement of 5.6 to keep the environment on one level.

@juizmill @eisbehr- I took an initial stab at moving to ZF3 https://github.com/raykolbe/DOMPDFModule/pull/73
Can you give this a try? It would be most helpful!


Name latest solc and evm version supported by anvil in readme

Component
Anvil
Describe the feature you would like
I would love to have a clear place to check anvil for the latest supported solc and evm versions.
Solc and forge support runs ahead of anvil. This recently created issues for our team and Cancun when we were building and testing with forge, but failing to pass integration tests using anvil. Currently, we have to read through the PRs and commits on this repo to try to understand if/when new versions are supported - which involves time and human interpretation error. Please make a clear place for devs to communicate support.
A simple change, but adds a doc for devs to maintain.
Additional context
No response

Hey @mattsse, @jaketimothy can I work on this one?

Hello Team ! I wish to take this issue and work on it


Issue in app level build.gradle

Describe the bug
app level build.gradle shows an error for storeFile. Commenting out this line lets the app run on the emulator but continually shows errors on the Run Console in Android Studio while on the homepage.
The errors are Render Errors due to calling the toDouble function on null. I suspect it's an issue with the 'Wanna know something cool' part which never loads (atleast for me)
To Reproduce
Steps to reproduce the behavior:

Clone repo
2.Run on Android Studio on a device

Expected behavior
An error free run
Screenshots
If applicable, add screenshots to help explain your problem.

Yes, it's because the domain has been changed for the API. Also, I had plans to change that page to something better. Probably will work on it soon.

can I work on this issue ?

@MnCSSJ4x  I have assigned this issue to you

@MnCSSJ4x I have assigned this issue to you

Can someone describe the issue a bit as of what is is and what is exactly causing this


Exception occur:  java.lang.IndexOutOfBoundsException: readerIndex(11) + length(1) exceeds writerIndex(11)

Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:

Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
<IP_ADDRESS>-RC1
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-Proxy
Expected behavior
Read data correctly from the ByteBuf of sharding-proxy。
source code  of  sharding-proxy：
org.apache.shardingsphere.shardingproxy.transport.mysql.payload.MySQLPacketPayload.readInt1(MySQLPacketPayload.java:49)
MySQLPacketPayload.java：
public int readInt1() {
return byteBuf.readByte() & 0xff;
}
Actual behavior
[ERROR] 16:43:08.056 [ShardingSphere-Command-6] o.a.s.s.f.c.CommandExecutorTask - Exception occur:
java.lang.IndexOutOfBoundsException: readerIndex(11) + length(1) exceeds writerIndex(11): PooledSlicedByteBuf(ridx: 11, widx: 11, ca
p: 11/11, unwrapped: PooledUnsafeDirectByteBuf(ridx: 14, widx: 14, cap: 64))
at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1401)
at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:707)
at org.apache.shardingsphere.shardingproxy.transport.mysql.payload.MySQLPacketPayload.readInt1(MySQLPacketPayload.java:49)
at org.apache.shardingsphere.shardingproxy.transport.mysql.packet.command.query.binary.execute.MySQLComStmtExecutePacket.(MySQLComStmtExecutePacket.java:79)
at org.apache.shardingsphere.shardingproxy.transport.mysql.packet.command.MySQLCommandPacketFactory.newInstance(MySQLCommand
PacketFactory.java:66)
at org.apache.shardingsphere.shardingproxy.frontend.mysql.command.MySQLCommandExecuteEngine.getCommandPacket(MySQLCommandExe
cuteEngine.java:55)
at org.apache.shardingsphere.shardingproxy.frontend.mysql.command.MySQLCommandExecuteEngine.getCommandPacket(MySQLCommandExe
cuteEngine.java:46)
at org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:84)
at org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
This exception occur  when i make a benchmark test of mysql master-slave that is configed read-write spliting with sysbench 1.0.17。
benchmark test script ( Sharding-Proxy node ):
sysbench /usr/local/share/sysbench/oltp_read_write.lua
--time=300
--mysql-host=XX.XX.XX.XX
--mysql-port=3307
--mysql-user=XX
--mysql-password=XX
--mysql-db=db01
--table-size=1000000
--tables=10
--threads=100
--report-interval=10 run
I have only configed config-master_slave.yaml file that used  read-write spliting in mysql master-slave cluster。
config-master_slave.yaml
######################################################################################################

If you want to connect to MySQL, you should manually copy MySQL driver to lib directory.

######################################################################################################
schemaName: db01
dataSources:
master_ds:
url: jdbc:mysql://XX.XX.XX.XX:3306/db01?serverTimezone=UTC&useSSL=false
username: xxxx
password: xxxx
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 50
slave_ds_0:
url: jdbc:mysql://XX.XX.XX.XX:3306/db01?serverTimezone=UTC&useSSL=false
username: xxxx
password: xxxx
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 50
slave_ds_1:
url: jdbc:mysql://XX.XX.XX.XX:3306/db01?serverTimezone=UTC&useSSL=false
username: xxxx
password: xxxx
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 50
masterSlaveRule:
name: ms_ds
masterDataSourceName: master_ds
slaveDataSourceNames:
- slave_ds_0
- slave_ds_1
Example codes for reproduce this issue (such as a github link).
This exception occur  when i make a benchmark test of mysql master-slave that is configed read-write spliting with sysbench 1.0.17。
benchmark test script ( Sharding-Proxy node ):
sysbench /usr/local/share/sysbench/oltp_read_write.lua
--time=300
--mysql-host=XX.XX.XX.XX
--mysql-port=3307
--mysql-user=XX
--mysql-password=XX
--mysql-db=db01
--table-size=1000000
--tables=10
--threads=100
--report-interval=10 run

Can you point out the SQL, or at least the MySQLCommand?
Can you build 4.0.0-RC2-SNAPSHOT and try with it? We have already tested with sysbench successfully on 4.0.0-RC2-SNAPSHOT.

1、I think i find the problem.  I check this error that is reported by the sysbench, and i foud this exception occur when the sysbench execute a query ( SQLCommand  BEGIN)  by calling oltp_common.lua script.  And  i think it should be sysbench enable prepared statements by default beginning with sysbench 1.0,  so i am to disable prepared statements with --db-ps-mode=disable in sysbench script.  After these changes, this exception  issues did not occur.
sysbench 1.0.17 benchmark test error report:
FATAL: mysql_stmt_execute() returned error 10002 (2Unknown exception: [readerIndex(11) + length(1) exceeds writerIndex(11): PooledSlicedByteBuf(ridx: 11, widx: 11, cap: 11/11, unwrapped: PooledUnsafeDirectByteBuf(ridx: 14, widx: 14, cap: 64))]) for query 'BEGIN'
FATAL: `thread_run' function failed: /usr/local/share/sysbench/oltp_common.lua:405: SQL error, errno = 10002, state = 'C1000': 2Unknown exception: [readerIndex(11) + length(1) exceeds writerIndex(11): PooledSlicedByteBuf(ridx: 11, widx: 11, cap: 11/11, unwrapped: PooledUnsafeDirectByteBuf(ridx: 14, widx: 14, cap: 64))]
But i do this change in sysbench script and make a benchmark test again, sysbench output result( tps :0 ):
....
[ 10s ] thds: 100 tps: 0.00 qps: 5.30 (r/w/o: 0.00/0.00/5.30) lat (ms,95%): 0.00 err/s: 0.00 reconn/s: 0.00
...
I don't know what is reason for this. Thanks a lot.
2、I'm not sure how to compile it, because i am not a programer.  But i try to get developers in our department to help.  By the way, which version of sysbench do you use?   Thx.

We use 1.1.0, can you have a try?

1、Not yet. I just asked the developers in our department to build 4.0.0-RC2.   Is it the same for the source code of sharding-proxy  for version 4.0.0-RC2-SNAPSHOT that you above say  and  4.0.0-RC2 of github?
2、And this morning,  i try to make a benchmark test again for sharding-proxy 4.0.0-RC1 + mysql master-slave.  The sysbench still report exception(tps:0, qps:0) when i make several times test.

Did I ever say 4.0.0-RC2? There's no 4.0.0-RC2 yet. There's only 4.0.0-RC2-SNAPSHOT.
You can use wireshark to capture SQLs and find out which one get a error response.

I get source code for version 4.0.0-RC2 from this address(https://github.com/apache/incubator-shardingsphere/releases/tag/4.0.0-RC2).   If this is not , where do i get source code for version 4.0.0-RC2-SNAPSHOT?  Can you provide the download url?

Please checkout the dev branch and build. (https://github.com/apache/incubator-shardingsphere.git)
That tag is temporary for releasing procedure. The offical release can be found in download page: https://shardingsphere.apache.org/document/current/en/downloads/

Ok, thanks.

No response for more than 7 days.


⚠ Bofrost.at has degraded performance

In d4bcd9b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 878 ms

Resolved: Bofrost.at performance has improved in ed00cce after 22 minutes.


Fix Expo.PO.compose for empty messages

Fixes FunctionClauseError in https://github.com/elixir-gettext/gettext/issues/351#issuecomment-1429531773

Pull Request Test Coverage Report for Build 7a6e53a3378e0993f71f3b4429261f714794dd57-PR-104

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 9c411952961326a753dabf66216c59e6ba726176:
0.0%

Covered Lines:
371

Relevant Lines:
371

💛  - Coveralls

@whatyouhide I guess either that or change the type to nonempty_list and change it in gettext so that it is not empty.
Since nonempty_list is technically a breaking change already, I would probably solve it here.

@whatyouhide The default is also wrong: https://github.com/elixir-gettext/expo/blob/588b5d0d9c76c0caa0632313dca54f20a676331e/lib/expo/message/singular.ex#L58
So the two choices are:

Strict / Require non-empty

Change Type to use nonempty_list
Change Default to [""] instead of []
Is a small breaking change, since we're in a zero-version, that is acceptable though I guess.

Lax

what this PR does.

As long as we don't do breaking changes in Gettext, let's do the "strict" version?

@whatyouhide Changed to the strict approach. I'll have a look next if it was solely caused by the default or if gettext sets an empty list somewhere.

@whatyouhide There was an additional bug if a po file only contained comments.
All fixes are therefore in expo and none needed in gettext.


http: further header map cleanups

Move more headers from default O(1) headers to extensions
Fix an issue where envoy header prefix override is used
with custom registered headers not working.

Risk Level: Low
Testing: Existing tests
Docs Changes: N/A
Release Notes: N/A

@yanavlasov this will fix the issue you reported when using prefix headers. I folded this fix into a larger change that I already had going. If you prefer me to split it out I can do that.


Role fonts

New roles and refactoring

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


vmq 1.6.1 - auth_on_register Lua plugin hook

Hey, Friends.
We are still dealing with our plugin and seems encountered issue with auth_on_register using lua plugin support.
Environment

VerneMQ Version: 1.6.1 stable
OS: ubuntu linux 16.04
Erlang/OTP version (if building from source): erts-<IP_ADDRESS>@OTP 19

Expected behavior
Expected behavior is to disconnect client when auth_on_register() returns false, and allow when returned true.
We actually issue an http request to authentication gateway with some credentials sent by client. I will attach the code snippet and logs below.
CODE:
function my_auth_on_register(reg)
    auth_data = parse_username(reg.username)
    local response = auth_with_xxx(auth_data.auth_type, auth_data.token)
    return (response.status == 200)
end

We later printed the response from this method, as below stated:
RESPONSE: {"headers":{"Connection":"keep-alive","Content-Type":"application/json; charset=utf-8","Date":"Tue, 20 Nov 2018 15:41:08 GMT","Server":"#####","Transfer-Encoding":"chunked"},"ref":"{\"description\":\"description\",\"message\":\"You successfully authenticated with valid apikey\"}\n","status":200.0}
other responses also arrive in terms of 404, 503, etc. when the method returns FALSE, manually we disconnect clients, but for this we need to authorize every request for pub or sub... which we did temporarily... We would like to NOT allow client to connect at all if his credentials invalid.
Actual behaviour
Actual behavior is that whenever register returns false, client hangs on vmq server and can issue sub/pub requests....
Thanks for your kind support :)

Could you do vmq-admin trace client client-id=<clientid> for the client that hangs?

Hi @larshesel , I'm working with @xbugster . Thanks for your support.
This is the trace result:
root@vernemq-0:/# vmq-admin trace client client-id=test_vernemq
No sessions found for client "test_vernemq"

New session with PID <7616.17215.0> found for client "test_vernemq"
<7616.17215.0> MQTT RECV: CID: "test_vernemq" CONNECT(c: test_vernemq, v: 4, u: my_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, p: undefined, cs: 1, ka: 60)
<7616.17215.0> MQTT SEND: CID: "test_vernemq" CONNACK(sp: 0, rc: 0)
<7616.17215.0> MQTT RECV: CID: "test_vernemq" SUBSCRIBE(m60035) with topics:
    q:0, t: "v1/ingest/response/zzzzzzzzzzzz/test6666~dev/thermo1"
<7616.17215.0> Calling auth_on_subscribe(my_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,{[],
                                                                                <<"test_vernemq">>}) with topics:
    q:0, t: "v1/ingest/response/zzzzzzzzzzzz/test6666~dev/thermo1"
<7616.17215.0> Hook returned "ok"
<7616.17215.0> MQTT SEND: CID: "test_vernemq" SUBACK(m60035, qt[0])
<7616.17215.0> MQTT RECV: CID: "test_vernemq" PUBLISH(d0, q0, r0, m0, "v1/ingest/request/zzzzzzzzzzzz/test6666~dev/thermo1") with payload:
    {"id":"test_1542740812492_0","resource":"xxxxxxxx","body":"{\"class\":\"thermometer\",\"object\":\"thermo1\",\"data\":{\ (truncated)
<7616.17215.0> Calling auth_on_publish(my_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,{[],
                                                                                <<"test_vernemq">>},0,v1/ingest/request/zzzzzzzzzzzz/test6666~dev/thermo1,false) with payload:
    {"id":"test_1542740812492_0","resource":"https://xxxxxxxxxxxxxxxxxxxxxxxxxxxx/v1/messages/devices/zzzzzzzzzzzz/test6666~dev/input","body":"{\"class\":\"thermometer\",\"object\":\"thermo1\",\"data\":{\"temperature\":0}}"}
<7616.17215.0> Hook returned "ok" with modifiers:
    {payload,<<"{\"id\":\"test_1542740812492_0\",\"status\":202.0}">>}
    {topic,[<<"v1">>,<<"ingest">>,<<"response">>,<<"zzzzzzzzzzzz">>,
            <<"test6666~dev">>,<<"thermo1">>]}
<7616.17215.0> MQTT SEND: CID: "test_vernemq" PUBLISH(d0, q0, r0, m0, "v1/ingest/response/zzzzzzzzzzzz/test6666~dev/thermo1") with payload:
    {"id":"test_1542740812492_0","status":202.0}
<7616.17215.0> MQTT RECV: CID: "test_vernemq" DISCONNECT()
<7616.17215.0> Trace session for test_vernemq stopped

I don't see any Calling auth_on_register log... not sure why

Is allow_anonymous=on?

Hey, @larshesel
Yeah, allow anonymous is ON.

If allow anonymous is ON then auth_on_register is never called. So this conflicts with your initial report. Has the setting been changed since then?
In any case you have to set allow_anonymous=off if you want the auth_on_register hook to be called.

Thank You. It would clarify a lot for others. :)

Created vernemq/vmq-docs#9 - would that suffice?

Cool, i commented there.


cuDNN v8.2.1

pfnCI, test this please.

Jenkins CI test (for commit 7692d1d535ddae7271ff4bcec704e3339b185d2b, target branch master) succeeded!


Following installation guide qemu is not installed in ubuntu

Following installation guide qemu is not installed in ubuntu (https://github.com/kata-containers/documentation/pull/61)
$ docker run -ti busybox sh
docker: Error response from daemon: OCI runtime create failed: /usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-system-x86_64 does not exist: unknown.

@jcvenegas the same is happening in fedora, qemu is never installed
Installed:
kata-proxy.x86_64 0.0.1+git.de18929-7.1
kata-runtime.x86_64 0.0.1+git.ea789db-10.1
kata-shim.x86_64 0.0.1+git.2bdea2e-7.1
kata-containers-image.x86_64 0.0.1-5.1
kata-ksm-throttler.x86_64 0.0.1.git+fd007ea-4.1
kata-proxy-bin.x86_64 0.0.1+git.de18929-7.1
kata-shim-bin.x86_64 0.0.1+git.2bdea2e-7.1
linux-container.x86_64 4.14.22-94.1

@jcvenegas qemu is not installed as a dependency and it is should be

@erick0z  thanks I just did that and is working properly in ubuntu, however, it is failing in fedora
$ sudo -E dnf -y install kata-runtime kata-proxy kata-shim
Kata Containers official packages (Fedora_27)   6.4 kB/s | 8.1 kB     00:01
Last metadata expiration check: 0:00:00 ago on Tue May  8 18:27:16 2018.
Package kata-runtime-0.0.1+git.ea789db-10.1.x86_64 is already installed, skipping.
Package kata-proxy-0.0.1+git.de18929-7.1.x86_64 is already installed, skipping.
Package kata-shim-0.0.1+git.2bdea2e-7.1.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

As you can see qemu is not installed so when I tried to run a container it says
$ sudo docker run -ti busybox sh
docker: Error response from daemon: OCI runtime create failed: /usr/share/defaults/katacontainers/configuration.toml: file /usr/share/defaults/katacontainers/configuration.toml: file /usr/bin/qemu-system-x86_64 does not exist: unknown.

This issue was solved in Ubuntu and Fedora


TextBlock inside tooltip doesn't wrap long lines in v11

A TextBlock inside a ToolTip doesn't wrap long lines.
<ItemsControl.ItemTemplate>
    <DataTemplate DataType="m:MissableInfo">
        <Border CornerRadius="3" Background="{DynamicResource ThemeAccentBrush4}" Padding="4" Margin="0 4 4 0">
            <ToolTip.Tip>
                <StackPanel MaxWidth="300">
                    <TextBlock Text="{Binding QuestName}" VerticalAlignment="Center" FontWeight="Bold" />
                    <ItemsControl Items="{Binding Notes}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate DataType="s:Array">
                                <TextBlock TextWrapping="Wrap" Text="{Binding ., StringFormat='* {0}'}" Margin="0 10 0 0" />
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>
                </StackPanel>
            </ToolTip.Tip>
            <StackPanel>
                <!-- Snip -->
            </StackPanel>
        </Border>
    </DataTemplate>
</ItemsControl.ItemTemplate>

OS: Arch linux 6.1.12-arch1-1, Windows 10
Version: 11 preview 5

In the dev tools, if I set ToolTip.IsOpen to true, inspect the text block in the visual tree, the TextBlock.TextWrapping property is set to NoWrap. I don't know if that's part of the issue, or just a product of viewing it via the inspector. Manually setting it to Wrap though causes the text to be properly wrapped.

Not sure if I understand issue. By default, text wrapping is NoWrap.
To compare with simple tooltips (i.e. ToolTip.Tip="Simple text"), they have Wrap set for conveniency, as it's normal for text tooltips to have max width and wrap to avoid extra-long lines. While you have tooltip with a custom content, you decide how it wraps.

The second TextBlock inside the tooltip's custom content has Wrap specified yet it isn't being wrapped.
<TextBlock TextWrapping="Wrap" Text="{Binding ., StringFormat='* {0}'}" Margin="0 10 0 0" />

It looks like it has something to do with it being in an ItemPresenter. Setting the first TextBlock to wrap properly wraps. It seems as though multiple things are broken when inside an ItemPresenter. The StringFormat isn't applied either.
Here's a before and after with v9.3 vs v11-preview5:
v9.3

v11-preview5

So, it's a different issue. Nothing to do with wrapping, but whole template isn't applied.
Are you sure that "" is correct? Specifically DataType. It seems like you have array of strings, but you set data type of each item as an array.

🤦 Yep, it should be a string and not an array. Looks like it was my bug. Thanks for spotting that.


bare-metal docs, move the hostname 'known issue' above the installation

Specifically this document: http://docs.deis.io/en/latest/installing_deis/baremetal/#deis-on-bare-metal
If you're installing on bare metal or in VMWare you will have to do this workaround:
Hostname is localhost¶
If your hostname after installation to disk is localhost, set the hostname in user-data before installation:
hostname: your-hostname
The hostname must not be the fully qualified domain name!

This should be moved up with the section about public/private ips. It's incredibly infuriating to do the entire installation on 3 hosts, and then discover that you'll almost certainly have to add this step and have to restart from scratch. It should at least be above the coreos-install line.

@rvm2015 We rely on our community to help us keep the bare metal installation docs up-to-date, as that isn't something we're currently able to test ourselves. We'd welcome a pull request to move that farther up in the documentation - this file is https://github.com/deis/deis/blob/master/docs/installing_deis/baremetal.rst

This is not something we'll be able to get to for the LTS release (#4776), and provisioning Deis v2 is done through installing a vanilla kubernetes cluster so I'm going to go ahead and close this.


Add handling of title dump when the article is a redirect.

This is a minor enhancement, so we don't try to display redirects (which fail with an exception on getMimeType())

The project is stalled since many years and has not reached the v1.0. Archiving the project. Please contact @julianharty if you are interested to work on the project.

The project is stalled since many years and has not reached the v1.0. Archiving the project. Please contact @julianharty if you are interested to work on the project.