Gene set expression with module score?

Hi and thanks for the very useful tool!
Currently gene set expression is calculated as an arithmetic mean, which has pitfalls like sensitivity to outliers. Could you add a feature where expression for gene sets is calculated like the module score in Seurat AddModuleScore? This would provide a sort of per-cell "enrichment" of a gene set, and would be more useful than just the mean.
Best regards,
Daniel

HI Daniel,
Thank you for the suggestion. I agree that the mean is not an ideal measurement, here it just serves as a cheap (in terms of resources) approximation. Not only is it sensitive to outliers, one also has to keep the average number of transcripts per sample/cluster in mind as that affects the average expression of the genes of interest.
I already thought about alternatives, similar to the module score calculated by Seurat which is a very nice solution IMO. The biggest hurdle is of technical nature: the more calculation must be done, the longer it will take and the user has to wait making the interface feel sluggish. This is especially true for older machines.
One way this could be solved is letting the user choose how the gene expression should be calculated: mean, median, or something more sophisticated like a module score. I don't want to put Seurat on the list of dependencies to avoid unnecessarily inflating the size of the standalone version of Cerebro. Therefore, one would either have to copy the module score function and/or make something similar.
TL;DR: It's on the list of things to do :)
Best,
Roman

Thanks for the info!
How about an option to store precomputed values of the module score for gene sets in the crb file? If this is doable, it would be interesting to have stored enrichment scores from AUCell as well:
https://bioconductor.org/packages/release/bioc/html/AUCell.html
Just my two cents. :)


bodyClass: use pageUrl instead of the title.

This broke with the page title was more complex and not just one word. Well, not broke, but wasn't what I'd expect.
Fixes #1142

Actually, it did break things leading to Error 500.


crash after opening file

With conda 3.16.0 on OX 10.10.5, installed latest
artview : de80c70b6f15d4915153f286a79bd92450e94b4a
and pyart: a07b186fd7b9603d5e718daef1ad088bc2510567
I opened a CFRadial file and got the following crash:
Opening file /scr/eldora2/rsfdata/front/cfradial/spol/qpe/20150404/cfrad.20150404_224032.000_to_20150404_224032.000_SPOL_v664_s00_el85.00_SUR.nc
Traceback (most recent call last):
File "/usr/local/anaconda/bin/artview", line 5, in
artview.main.main(sys.argv)
File "/usr/local/anaconda/lib/python2.7/site-packages/artview/main.py", line 18, in main
artview.run(DirIn, filename, field)
File "/usr/local/anaconda/lib/python2.7/site-packages/artview/scripts/standard.py", line 50, in run
parent=MainMenu)
File "/usr/local/anaconda/lib/python2.7/site-packages/artview/components/plot_radar.py", line 137, in init
self.LaunchGUI()
File "/usr/local/anaconda/lib/python2.7/site-packages/artview/components/plot_radar.py", line 166, in LaunchGUI
self._set_figure_canvas()
File "/usr/local/anaconda/lib/python2.7/site-packages/artview/components/plot_radar.py", line 672, in _set_figure_canvas
self.layout.addWidget(self.canvas, 1, 0, 7, 6)
TypeError: arguments did not match any overloaded call:
QGridLayout.addWidget(QWidget): argument 1 has unexpected type 'FigureCanvasQTAgg'
QGridLayout.addWidget(QWidget, int, int, Qt.Alignment alignment=0): argument 1 has unexpected type 'FigureCanvasQTAgg'
QGridLayout.addWidget(QWidget, int, int, int, int, Qt.Alignment alignment=0): argument 1 has unexpected type 'FigureCanvasQTAgg'

@vanandel Thank you for reporting this bug.
Apparently (py)Qt fail to recognize matplotlib canvas as a Widget, I'm not sure why is that, since matplotlib.backends.backend_qt4agg.FigureCanvas is a subclass of QtGui.QWidget and for me isinstance(QtGui.QWidget, self.canvas) returns True as expected.
The following information could help me in debugging this:
python version
Qt version
PyQt version
Matplotlib version

I have found just one reference for a similar error: (http://stackoverflow.com/questions/6723527/getting-pyside-to-work-with-matplotlib)
Any way here is a test script that should isolate the problem :
#!/usr/bin/env python
import sys
import matplotlib

# matplotlib.use('Qt4Agg')
# matplotlib.rcParams['backend.qt4']='PyQt'

from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.figure import Figure

from PyQt4 import QtCore, QtGui

app = QtGui.QApplication(sys.argv)

# generate the plot
fig = Figure(figsize=(600,600), dpi=72, facecolor=(1,1,1), edgecolor=(0,0,0))
ax = fig.add_subplot(111)
ax.plot([0,1])
# generate the canvas to display the plot
canvas = FigureCanvas(fig)

win = QtGui.QMainWindow()
# add the plot canvas to a window
win.setCentralWidget(canvas)

win.show()

sys.exit(app.exec_())

if this don't work, as I expect, try uncommenting the matplotlib line

I have successfully replicated this error. This will happen if one has both PySide and PyQt4 installed and PySide is the default for Matplotlib (for instance because it has installed first). The solution is just to tell Matplotlib to use PyQt (matplotlib.rcParams['backend.qt4']='PyQt4') as in PR #81.
again thank you @vanandel for reporting this bug and helping us making ARTview better.

@vanandel The above solution was merged in #81 . Can you update the code and let us know if this works for you?

If there are no objections, I'd like to close this issue since it in particular has been solved.
Maybe we can open a second issue with the details of the discussion we had in #81 to keep it alive so we can look into this later?

That can be done, but I don't see the point in closing an issue just to open an other one.

Good point. Probably should figure out what we are going to do and just take care of it.

I have give some tough on the matplotlib problem, and decided that I'm in favor of not testing in execution time, simple because it is not really our responsibility to interfere with matplotlib and the environment flags. I don't really agree in how matplotlib is doing things, but I must live with that.
We should rather inform about the need of have matplotlib importing PyQt4 in README as a kind of pre installation testing, we can even make a script that does this testing. If one thinks this is too much for README we can add a INSTALL file.
I also don't think now is the time to expand to other Qt front ends. This decision should be done later, in especial in the transition to PyQt5. To prepare for that we should however centralize all imports to one file, I think this will cost us nothing and may spare some headaches.
If there is no one against it, I may implement. They are small alteration but code-wide.

When you say have matplotlib import do you mean (matplotlib.rcParams['backend.qt4']='PyQt4')  or the answer that was given on the StackOverlow post?
I agree that we should make a note in the README. I would guess this issue won't come up that often, but this way it's a known limitation under specific circumstances.
Do you happen to know the status of PyQt5? I haven't kept abridged.

by matplotlib import I mean that this
 from matplotlib.backends.qt_compat import QtCore, QtGui

should be equivalent to
 from PyQt4 import QtCore, QtGui

PyQt5 is already stable and ready for use. However transition is still not complete and Qt4 is still official supported til the end of this year.  But this does not mean that we should make the transition by then, for instance KDE (that works over qt) have still no single version made with qt5, which means that even if Qt5 can be installed and used in parallel , the KDE application will all still run in Qt4.
So there is for now no reason for going PyQt5, unless there is a feature we want to use. And PyQt4 must still be supported for several years.

One question: when was the backend compatibility implemented? We may need to do a try statement here and then go to directly import from PyQt4 if failure occurs.
Sounds like we should take our time in migrating to qt5 then.

I don't remember when, but it was not too long ago, but that is why I say we concentrate the import in one file, so the other can import from there safely.

Okay, I say go for it and see how it turns out. I'll not make any changes unless something comes up at the conference and a quick fix is needed.

okay.

Closing this issue for now as it has not come up again recently. Can always reopen a similar ticket later.


chore: Validate do not disrupt annotation on node is true

Fixes #1323
Description
Currently we don't validate if do-not-disrupt annotation on a node is set to true and only check if the annotation exists. This PR adds a change to add the validation.
How was this change tested?
Tested on local cluster. Added a functional test for the change.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Files with Coverage Reduction
New Missed Lines
%

pkg/test/expectations/expectations.go
2
93.69%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8322

Relevant Lines:
10238

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
23 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.002%) to 81.287%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/disruption/drift.go
2
89.29%

pkg/controllers/state/statenode.go
21
84.66%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
8323

Relevant Lines:
10239

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/disruption/expiration.go
2
89.66%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8322

Relevant Lines:
10238

💛  - Coveralls

/lgtm

/unhold

/ok-to-test


[Feature Request] Print json schema as (collapsible) table

Hi, really love your extension and it makes pydantic so much more useful. :) Thank you for your work on this.
I was wondering if you had considered adding an option to print the json schema as a table? This would be a nice add-on feature between using erdantic (which makes using the extension more complicated since it adds the graphviz which is not a pure pip-dependency) and displaying the raw json schema.
There is already an extension for sphinx that can convert json schemas into an rst table (sphinx-jsonschema) and you already have a function to extract the raw json schema - so it might be an easy-to-implement yet useful feature.

@lucaslie thanks for raising the idea and for your kind words ;-).
The table format is more human readable than the currently used nested JSON output. Hence, I suggest it would be meaningful to either output the JSON or the TABLE format in the generated documentation. Outputting both seems awkward. Anyway, what is your exact benefit having a potential table format? I would like to better understand your use case.

Thanks for getting in touch. I am using pydantic to validate a user-provided config. So my main motivation is to have a simple overview at the beginning of the docs with field names and default values. So if someone is just looking to make a simple change from the default config, e.g., just change the value of a single field, they can quickly understand how to make that change.
I actually already made a slight modification to your extension that will just print the fields with their default value as json instead of the full json schema.


Disabling the cycling between the computers with simple mouse

Description of the new feature / enhancement
Ability to disable cycling the mouse from the rightmost PC to the leftmost by dragging the mouse through the right border of the rightmost PC or left side of the leftmost PC
Scenario when this would be used?
If using a taskbar situated on the left side of the leftmost PC or the right side of the rightmost PC, this feature would allow to use the taskbar easier. Also if the user just doesn't want the rightmost PC  to be on the "left side" of the leftmost PC
Supporting information
No response

Is this a suggested change to an existing PowerToy utility or a suggestion for a new utility? /needinfo

Is this a suggested change to an existing PowerToy utility or a suggestion for a new utility? /needinfo

This is a suggested new option for the existing "mouse without borders"  utility


golangci-lint: Enable staticcheck

megacheck and staticcheck are enabled by default in golangci-lint.
Drop them from the exclusion list because the OOM issue referenced
has long since been resolved.
Fixes the following issues found by the linter.
codegen/java/gen_classfile.go:19:30: func `(*classFileContext).classFQN` is unused (unused)
codegen/java/gen_defaults.go:169:2: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
codegen/java/gen_program.go:131:10: S1034: assigning the result of this type assertion to a variable (switch node := node.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program.go:133:16: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program.go:449:12: S1034: assigning the result of this type assertion to a variable (switch objectPropertyType := objectPropertyType.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program.go:451:25: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program.go:453:6: S1011: should replace loop with `imports = append(imports, collectObjectImports(innerObject, innerObjectType)...)` (gosimple)
codegen/java/gen_program.go:467:9: S1034: assigning the result of this type assertion to a variable (switch elementType := elementType.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program.go:469:16: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program.go:496:6: S1011: should replace loop with `imports = append(imports, collectObjectImports(object, objectType)...)` (gosimple)
codegen/java/gen_program.go:513:15: S1034: assigning the result of this type assertion to a variable (switch arrayObject := arrayObject.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program.go:515:19: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program.go:516:9: S1011: should replace loop with `imports = append(imports, collectObjectImports(object, arrayInnerTypeAsObject)...)` (gosimple)
codegen/java/gen_program.go:556:11: S1034: assigning the result of this type assertion to a variable (switch invokeArgumentsExpr := invokeArgumentsExpr.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program.go:558:22: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program.go:566:5: S1011: should replace loop with `imports = append(imports, collectObjectImports(argumentsExpr, argumentExprType)...)` (gosimple)
codegen/java/gen_program.go:596:10: S1034: assigning the result of this type assertion to a variable (switch node := node.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program.go:599:16: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program.go:600:4: S1011: should replace loop with `imports = append(imports, collectResourceImports(resource)...)` (gosimple)
codegen/java/gen_program.go:612:6: S1011: should replace loop with `imports = append(imports, g.collectFunctionCallImports(functionCall)...)` (gosimple)
codegen/java/gen_program.go:770:10: S1034: assigning the result of this type assertion to a variable (switch node := node.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program.go:772:16: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program.go:912:13: S1034: assigning the result of this type assertion to a variable (switch firstArg := firstArg.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program.go:914:24: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program.go:996:9: S1034: assigning the result of this type assertion to a variable (switch value := value.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program.go:998:11: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program_expressions.go:283:11: S1034: assigning the result of this type assertion to a variable (switch invokeArgumentsExpr := invokeArgumentsExpr.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program_expressions.go:285:22: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program_expressions.go:298:11: S1034: assigning the result of this type assertion to a variable (switch invokeArgumentsExpr := invokeArgumentsExpr.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program_expressions.go:300:22: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program_expressions.go:470:21: func `(*generator).argumentTypeName` is unused (unused)
codegen/java/gen_program_expressions.go:475:21: func `(*generator).toSchemaType` is unused (unused)
codegen/java/gen_program_expressions.go:483:21: func `(*generator).argumentTypeNameWithSuffix` is unused (unused)
codegen/java/gen_program_expressions.go:513:9: S1034: assigning the result of this type assertion to a variable (switch schemaType := schemaType.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program_expressions.go:515:17: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program_expressions.go:557:13: S1034: assigning the result of this type assertion to a variable (switch firstPart := firstPart.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program_expressions.go:559:20: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program_expressions.go:591:9: S1034: assigning the result of this type assertion to a variable (switch destType := destType.(type)) could eliminate type assertions in switch cases (gosimple)
codegen/java/gen_program_expressions.go:623:16: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program_expressions.go:627:16: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program_expressions.go:630:12: S1034(related information): could eliminate this type assertion (gosimple)
codegen/java/gen_program_expressions.go:671:3: SA9003: empty branch (staticcheck)
internal/fsys/dirfs.go:48:2: S1008: should use 'return pDir != o.dir' instead of 'if pDir == o.dir { return false }; return true' (gosimple)

The following issues have been ignored:
codegen/java/gen_program.go:855:65: SA1019: resource.Name is deprecated: Name returns the variable or declaration name of the resource. (staticcheck)
codegen/java/gen_program.go:899:34: SA1019: resource.Name is deprecated: Name returns the variable or declaration name of the resource. (staticcheck)
codegen/java/gen_program.go:923:39: SA1019: resource.Name is deprecated: Name returns the variable or declaration name of the resource. (staticcheck)
codegen/java/gen_program.go:931:40: SA1019: resource.Name is deprecated: Name returns the variable or declaration name of the resource. (staticcheck)
codegen/java/gen_program.go:964:34: SA1019: resource.Name is deprecated: Name returns the variable or declaration name of the resource. (staticcheck)
codegen/java/gen_program.go:974:32: SA1019: resource.Name is deprecated: Name returns the variable or declaration name of the resource. (staticcheck)
codegen/java/names/ident.go:86:13: SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (staticcheck)

Current dependencies on/for this PR:

main

PR #975

PR #976

PR #977   👈

This comment was auto-generated by Graphite.

⏳ This pull request is set to merge as part of a Graphite merge job
Job ID: 1sYY2QI2MILbhPgOqbLz.
See details on graphite.dev

+ pulumi:pulumi:Stack: (create)
    [urn=urn:pulumi:p-it-fv-az175-6-azure-java-0bef74be::azure-java-appservice-sql::pulumi:pulumi:Stack::azure-java-appservice-sql-p-it-fv-az175-6-azure-java-0bef74be]
error: Could not automatically download and install resource plugin 'pulumi-resource-azure-native' at version v1.94.1-alpha.1675974957+9883672c, install the plugin using `pulumi plugin install resource azure-native v1.94.1-alpha.1675974957+9883672c`.
Underlying error: error downloading plugin azure-native to file: failed to download plugin: azure-native-1.94.1-alpha.1675974957+9883672c: 403 HTTP error fetching plugin from https://get.pulumi.com/releases/plugins/pulumi-resource-azure-native-v1.94.1-alpha.1675974957%2B9883672c-linux-amd64.tar.gz

Blocked on https://github.com/pulumi/pulumi-azure-native/issues/2239


Exception on organizations with disabled api access

Hey,
there is currently an issue with organizations which don't have api access enabled.
If you make requests to such an organization you will receive a 404 Not Found with this message:
{
    "errors": [
        "To make requests you must first enable API access via https://XXXX.meraki.com/o/XXXXX/manage/organization/edit"
    ]
}

which results in an exception on the sdk.
There are 2 problems here:

it will break most scripts, because of the exception
the developers can't see the issue until it occurs as there isn't a "apiEnabled" value in the result of getOrganizations

I can see ways to fix that issue:

Catch that error in the sdk and log a warning without throwing an exception

Pro: Might be the quickest workaround
Con: This will only work for the python sdk. People which are using different programming languages will still have that issue

the endpoint GET /organizations should return an "apiEnabled" attribute.

Pro: developers can see, if they can make api calls to that organization or not
Con: existing scripts will still break and existing and new scripts will have to be changed

the endpoint GET /organizations should get an optional new parameter "showAPIDisabled" (default = false)

Pro:

it will work on existing scripts
it will work on any language

Con:

might confuse some developers in the beginning, because some organizations are not shown.

Additionally: this should probably be implemented together with point 2

I put this issue here up as a discussion base, as I'm unsure, if we should fix this python sdk wise or via meraki endpoint update.
I've also opened a support case on this.

In my opinion Point 3+2 would be the best solution here

I'm not sure this is something that needs to get built into the API or the
SDK because it can be handled client side before running operations if you
are expecting to run into 404s as a result of the organization not having
API access enabled.
Separately, we try to avoid building conditionally shown params into any
endpoint.
If I understand your proposal correctly then you would have every endpoint
always return an additional parameter indicating whether or not API was
enabled?
It seems like the amount of effort involved in checking that client side
before performing operations is about the same as writing the error
handling into the client for 404s (current behavior). I wonder how useful
this would be.
Is there some more specific reason why this is a problem that can only be
solved by the API or the SDK?
On Sun, Dec 27, 2020, 01:10 coreGreenberet<EMAIL_ADDRESS>wrote:

In my opinion Point 3+2 would be the best solution here
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/meraki/dashboard-api-python/issues/134#issuecomment-751443522,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5EUKTO3AC3IH6TZQEM6ELSW32ZXANCNFSM4VKUNV6A
.

for example you have to organizations
A = api enabled
B = api disabled
now you are making a call to /organizations
you get returned A & B
next step would probably be -> getOrganizationNetworks on A -> success
next step would probably be -> getOrganizationNetworks on B -> error
I'm NOT saying to do it on EVERY endpoint. Just on getOrganizations therefore we could filter out all api enabled/disabled organizations and we don't have to worry about it anymore.
On the other hand: Why are api disabled organizations returned by /organizations at all?
The main reason, why I think it should be done in the API is because even all the samples are working like I've described above. So all will fail because of that as soon as you have an organization without api access bind to your user.

This is good feedback and worth considering for handling within the API itself, but we are also open to a community contribution to address this specifically for the SDK.
Otherwise, the SDK is technically operating as designed, so I will close this issue.


Rework xrandrconf-poll to listen to udev events instead

This was intended as a script that automatically setups external display when it is connected and disables an internal display.
Currently it polls xrandr which kills graphical performance even with 1-2 seconds sleep.

Iceboxed for now as Arch host is rarely docked / undocked thus running a bunch of xradr commands manually should not be too big of an issue.

No longer relevant. Linux laptops are no longer used with external monitors.


GH-504 Starting agent pushes journal entry without facility

starting the agent produces a journal entry like:
{
"source": "dracut",
"message": "-rwxr-xr-x   1 root     root          422 Aug  5  2017
usr/bin/dracut-cmdline-ask",
"severity": 7,
"datetime": "2018-03-16T23:48:25.848126+00:00"
}
This breaks our current systemd_journal handling, as we expect
everything to have a SYSLOG_FACILITY
Fixes #504.
Signed-off-by: Will Johnson<EMAIL_ADDRESS>

This change is

As discussed I will pull this build down and test it locally to make sure the agent doesn't throw the error we were previously seeing during startup.

I've pulled this build down and tested locally. After deploying the agent and installing the software on MDS1, I checked to see if there were any errors in the logs related to the SYSLOG_FACILITY. The only error I see in the chroma-agent log file is as follows:
[29/Mar/2018:19:57:32] daemon ERROR Unhandled error in thread HttpWriter: Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/chroma_agent/agent_client.py", line 296, in run
    self._run()

  File "/usr/lib/python2.7/site-packages/chroma_agent/agent_client.py", line 344, in _run
    self.send()

  File "/usr/lib/python2.7/site-packages/chroma_agent/agent_client.py", line 419, in send
    callback()

  File "/usr/lib/python2.7/site-packages/chroma_agent/action_plugins/manage_node.py", line 51, in _reboot
    AgentShell.try_run(["shutdown", "-r", at_time])

  File "/usr/lib/python2.7/site-packages/chroma_agent/lib/shell.py", line 106, in try_run
    raise AgentShell.CommandExecutionError(result, arg_list)

CommandExecutionError: Error (-15) running 'shutdown -r now': '' ''

I don't believe this error is related and appears to have occurred during a reboot of the node. When I initially saw the error related to the SYSLOG_FACILITY, I was able to recreate the stack trace every time I stopped and started the chroma-agent service. I restarted the service a few times and checked the journal entries:
[root@mds1 log]# journalctl -u chroma-agent
-- Logs begin at Thu 2018-03-29 18:09:55 EDT, end at Thu 2018-03-29 20:45:01 EDT. --
Mar 29 19:58:33 mds1.lfs.local systemd[1]: Started IML Agent Daemon.
Mar 29 19:58:33 mds1.lfs.local systemd[1]: Starting IML Agent Daemon...
Mar 29 20:36:59 mds1.lfs.local systemd[1]: Stopping IML Agent Daemon...
Mar 29 20:37:00 mds1.lfs.local systemd[1]: Stopped IML Agent Daemon.
Mar 29 20:37:18 mds1.lfs.local systemd[1]: Started IML Agent Daemon.
Mar 29 20:37:18 mds1.lfs.local systemd[1]: Starting IML Agent Daemon...

I'm no longer seeing the error related to the SYSLOG_FACILITY.


Broken link to docs from README.rst

The link to http://orator-orm.com/docs in the read me redirects to https://orator-orm.com/docs/0.9/ wich is giving me "ERR_CONTENT_DECODING_FAILED" in Chrome

Would love to help improve the content for the documentation, where can I find it?


Bug in vendor credits

[x]  CLOSED STATUS NOT WORKING
[x]  APPLIED INVOICE CAN'T BE DELETED.MESSAGE SHOWN IS- 'IT USED IN PREVIOUS TRANSACTION MESSAGE'

issue fixed !


Odd Point() addition issue when exporting to windows [3.0.0-beta]

package;
import openfl.geom.Point;
import openfl.display.Sprite;
import openfl.Lib;
class Main extends Sprite {
public function new() 	{
super();
var offset:Point = new Point(0, 0);
trace(offset.x +"," + offset.y + 6);
trace( offset.y + 6);
}
}
This Traces
Main.hx:9: 0,06
Main.hx:10: 6
I thought it was causing a crash but it does seem to cause issue

This seems like normal behavior.
If you do trace(0.0 + "," + 0.0 + 6); it will trace 0,06 as you mingle a string inside your params.
If you want addition, add parenthesis to tell trace that you're doing so, like:  (0.0 + "," + (0.0 + 6)) -> will trace 0,6

Seems fair enough.  Works same in Flash output to.  I would close this as not an issue


Unique ID - Not Unique

When using Edit/Copy device the unique ID is not unique.
I'm on latest version 4.2.0.

Minor, but may impact applications that expect the HUE Unique ID to be Unique....

Also, I updated mapId to add a "-copy" to the end of it.

Seems to be the case with Alexa. After Editing the device cannot be Switches Any more by alexa.

I had that problem, also assumed it's the duplicate ID.
I had to restart the service completely, the re-initialize didn't work for me.

After many time of research it looks like many issues are depending to the Unique ID handling in the HABridge.
The UniqueID is not really unique. Renumbering devices will start to pin the UniqueID to new devices. Alexa itself finds the devices but sometimes different named with different HABridge IDs.
Old devices are listed and mess up "Alexa". The only common denominator of the ghost devices is the UniqueID.
Example:
Device A HAID: 1 UID: 00:17:88:5E:D3:64-00
Device B HAID: 2 UID: 00:17:88:5E:D3:65-00
Device C HAID: 3 UID: 00:17:88:5E:D3:66-00
Alexa device count: 3
Renumbered:
Device B HAID: 1 UID: 00:17:88:5E:D3:64-00
Device C HAID: 2 UID: 00:17:88:5E:D3:65-00
Device A HAID: 3 UID: 00:17:88:5E:D3:66-00
Alexa device count: 6 (old devices will be found, same as new ordered)
Device deleted and renumbered:
Device B HAID: 1 UID: 00:17:88:5E:D3:64-00
Device X HAID: 2 UID: 00:17:88:5E:D3:65-00
Device A HAID: 3 UID: 00:17:88:5E:D3:66-00
Alexa device count: 7 (old devices will be found, same as new ordered)
Maybe it makes sense to take a look at the UniqueID handling again.

you can renumber devices and set the starting device number in bridge control to make this more unique.

Sure this will mix the UID´s but the Alexa devices will find them. "Ghost" devices or double devices cause by reachable UIDs.

So I think this still is an issue with devices not being purged properly from the echo. There have been different suggestions on how to do this. The best seems to delete individually on the echo web page not the app.

None of the "device deletion" fixes will work. (Web App All, by hand or IOS App by hand)
Over many months I receive ghost devices. The first time with the newer Versions (5+) of HABridge and the new Echo2 devices.
I removed the HAbridge devices to a minimum cause of this (every scan mess up my whole system).
Renumbering, Deleting, Tracing, .... nothing worked for me. But I found out that THE UID which is normally a HUE unique ID for a lamp is never changed. Regardless of deletion or renumbering, all UID start again from UID: 00:17:88:5E:D3:64-00.
If this UID is cached by Alexa the discovery will find them all the time, ok different devices with the same UID.

What version are you running?


Problems installing vscode in anaconda Linux mint 18.3.

Environment data

VS Code version: 1.2.5
Extension version (available under the Extensions sidebar): NA
OS and version: Linux Mint 18.3
Python version (& distribution if applicable, e.g. Anaconda): Anaconda3 Python 3.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: Navigator & vscode

Actual behavior
Got anaconda installed 3.6 version. Install did not ask if I wanted to install vscode.
Brought up Navigator. There was no option for vscode.
Expected  behavior
The install of anaconda on Linux mint should work and vscode should appear in Navigator along with Spyder and Juypiter and R, etc.. Maybe it doesn't show because of the above issue? I don't know.
Steps to figure a workound by debugging it:
(I found a stackoverflow report like this the above no answers.)
Poked around and I found /home/user/anaconda3/pkgs/vscode_inst.py. Ran it in Spyder debugger and saw some problems.

DISTRO_MAP keys didn't match on my conda path:
"conda/4.5.5 requests/2.18.4 cpython/3.6.5 linux/4.10.0-38-generic linuxmint/18.3 glibc/2.23"
So it comes out with DISTRO_NAME empty.  That defaults to get an .rpm distro. (I didn't instantly realize that the .rpm distro was wrong, so I didn't understand at first why the install dpkg step then failed.) But I could see that the automated download worked.
Did a local fix for that, so it had DISTRO_NAME of ubuntu. That got me  _pkg_type set to 'deb'.
Then it threw an exception on the install for Linux inside installVSCode()
if DISTRO_NAME in ['ubuntu', 'debian']:
subprocess.check_call(_sudo_cmd + ["apt-key", "add", _msft_key_file])
# This can be non-zero if 404s are thrown. Continue anyway
subprocess.call(_sudo_cmd + ["apt-get", "update"])

At this point I decided it was a curiouser and curiouser moment not worth debugging anymore. Although, now that I think about it as I write, maybe the sudo doesn't enter the password? I didn't dive in to see exactly how that works. Or maybe it should have root when running this way? (I'm new to Linux and python, so I'm not sure.) Part of my decision not to debug further was that I knew there was no way I'd be checking in a fix for this - not as a newbie to the whole environment.
So I  used the commands visible in the code. I added the pgp key to my keyring, then update, then used the dpkg command and install. It worked.
But I did notice that for some reason, with 64 bit it executes a whole apt-get command fresh? That looks to me like a hack to fix some problem with getting the wrong package somebody once had, or who knows?  I had the correct file. I know that because in the debugger I got the url string and downloaded it manually and then compared the two files to make sure everything was ok. So, after checking that, I used the dpkg. It makes no sense to me to download it all over again. If this code is going to use apt-get why not just do that in all cases with Linux instead of download first? Wouldn't it be simpler?
I probably worked this problem out the hard way, but that's alright. It was an exercise in figuring out the tools and environment. And once vscode installed, I could get the python and C++ extensions. I haven't tried to use vscode yet for anything quasi real, but no reason to think it won't work. So basically, the guts of this vscode_inst.py program seems to be fine. It's just got some config issues and maybe something with the sudo part of the install.
Over to you guys now. I hope I've reported this well enough for you.
(I'm totally new to python. I've done a lot of C++ programming on Windows. This was my fresh off the boat newbie intro to python and Linux. So if obvious syntax or fix escaped me, be nice.)
Logs
vscode_inst.py.log is empty.
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
NA
I have attached a screenshot for Navigator running and no vscode option.

On Linux Mint you can install VSCode via the .deb packages the VSCode team supply along with their instructions to do so (Note: We're the VSCode-Python extension team, we simply provide an extension).
If Anaconda Python provides an automated installer and it isn't working as you expect, I would take it up with them after reading through their FAQ on installation problems..
Closing this issue as it has to do with the installation of VSCode and not much to do with the VSCode-Python extension itself.


Cow: Watch Gold[\W_]+Pokket[\W_]+LOAN

Cow requests the watch of the watch_keyword Gold[\W_]*+Pokket[\W_]*+LOAN. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Gold[\W_]*+Pokket[\W_]*+LOAN has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Strange Compiler Bugs?

I'm getting a really strange issue where the compiler is throwing a warning that a previous NSDictionary object is being automatically converted to an AEXMLElement. If I remove AEXML my code compiles fine. The model code in my screenshot below is not using AEXML at all. I've never seen this issue before and I'm wondering if this is a Swift 2.0 XCode 7.0 bug or something.

Update - If I copy AEXML.swift into my project directly the issue goes away.

Hello, I've never had this kind of issue, so if you could create some sample project or playground which simulates this then I'll take a look.


[Model] Support Mantis(LLaVA) model

This PR leverages the extensibility of the merged multi-modal processor to add support for Mantis (based on LLaVA), simply by overriding the HF processor to apply to the input data.
FIX #7143

The tests pass locally now, so this PR is ready for review.


1.14 support?

1.14 support is not really something we're focused on right now. This would involve porting the mod to a completely new mod loading system, which isn't trivial. I do believe this will come in the future though, sooner or later.
Of course, as always, we're willing to accept any PRs made for this issue!

Multiversion support is WIP, although of course it will not include 1.14.


Doubt

Aren't you getting CORS error after 3-4mins for only pincode search? Or after 80 attempts or so at 3.5 secs interval?

@hpk22 Nope! Are you getting the same using the App? Share screenshots. Nobody else faced the same issue. Did you try with this as well: ProtectedAPI: IsToBeUsed: false


Cannot install with Django 3 compatible version of Haystack

Currently the only version of django-haystack that supports Django 3 is a pre-release, v3.0b2.
It is currently impossible to install drf-haystack if you are using Django 3 and this pre-release of django-haystack because of drf-haystack's dependency requirements ("django-haystack>=2.8,<2.9").

Fixed in master branch


setup tools or setup.py based install breaks slackclient because of aiohttp alpha

Description
setuptools/easy_install break the installation of slackclient because for whatever reason it installs the alpha release of aiohttp which has breaking changes when you use async (they released a bad build)
While I get that this is an aiohttp issue, it's a problem for users who don't use pip or who are developing their own modules that install from a setup.py
This issue does not exist if you use pip (most users) but causes hell if you use setup.py or easy_install
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackclient version:
latest
python version:
3.6
OS version(s):
os x
Steps to reproduce:

python3 -m venv venv
source venv/bin/activate
easy_install slackclient

Expected result:
aiohttp version 3.6 is installed
Actual result:
aiohttp version 4.0.a is installed
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

Really probably not something fixable


⚠ Bofrost.lu has degraded performance

In f95cbc5, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1314 ms

Resolved: Bofrost.lu performance has improved in c2e0758 after 36 minutes.


OpenSpending Data Portal

Issue: https://github.com/datopian/portaljs/issues/856
Changes:

Initial version of the OpenSpending data portal

@luccasmmg can you please review and merge?
It's not complete yet, but I want to deploy it asap.


Ensure UDN namespace is configured when MultiNetPolicy is disabled

The namespace is currently not getting configured in ovnk and ovn for user defined network when multi network policy is disabled for the cluster. But multinet policy is not a requirement for UDN network policies, hence fixing it so that namespaces get configured for those namespaces on secondary controller and network policies can be created for the same.

We should likely add a unit test for this :)

We should likely add a unit test for this :)

yes @kyrtapz , added a test now, but couldn't check on address set because fake address set doesn't have support for ovsdb operation (at here), so used namespaced port group check for this purpose because that's also added in ensureNamespaceLockedCommon method.

we should move away from fake address set as much as possible - jake is trying to clean up all that to remove that totally - https://github.com/ovn-kubernetes/ovn-kubernetes/pull/4423 I hope you didn't add new instances

we should move away from fake address set as much as possible - jake is trying to clean up all that to remove that totally - #4423 I hope you didn't add new instances

This is because of using FakeAddressSet from ovn test utility https://github.com/ovn-kubernetes/ovn-kubernetes/blob/master/go-controller/pkg/ovn/ovn_test.go#L98. I think this must be fixed separately if we want to avoid fake address sets.

why are we testing EnableEFW when the bug was around NetPol on UDNs ? :D is it because you have no way to enable netpol here and so instead of creating a networkPolicy in UDN you went with the easy way to enable firewall feature to see if namespaces address-sets are configured properly?

The EnableEFW test was added only to cover code changes done in the commit 66844b7. but of course, you're right. we must validate networkPolicy as well. added another commit e5c4c68 to address this.

why are we testing EnableEFW when the bug was around NetPol on UDNs ? :D is it because you have no way to enable netpol here and so instead of creating a networkPolicy in UDN you went with the easy way to enable firewall feature to see if namespaces address-sets are configured properly?

The EnableEFW test was added only to cover code changes done in the commit 66844b7. but of course, you're right. we must validate networkPolicy as well. added another commit e5c4c68 to address this.

https://github.com/ovn-kubernetes/ovn-kubernetes/pull/4789/commits/66844b77fa133db0512d203ea695c306b115e363 is not rendering for me @pperiyasamy can you relink which commit you meant?


FIX - compute - Create snapshot from virtual machine with managed storage

Fixes #807

@blueorangutan package

@rhtyd @svenvogel Please review it. Thanks.

@blueorangutan package

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

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/808 (JID-3591)

@utchoang There also needs to be a check for quiescevm on the volume
https://github.com/apache/cloudstack/blob/master/ui/scripts/instances.js#L1255

@blueorangutan package

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

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/808 (JID-3605)

@rhtyd @davidjumani is this ready to go? 😄

@utchoang There also needs to be a check for quiescevm on the volume
https://github.com/apache/cloudstack/blob/master/ui/scripts/instances.js#L1255

wo what i see is that there is no squeezing in managed storage. we dont need at the moment an quiesed button.

@blueorangutan package

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

@davidjumani Please review again. Thank you.

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/808 (JID-3664)

@davidjumani @utchoang maybe I am wrong but there is NO qiescevm on a managed storage volume. I don’t know if there is something in VMware but I think the mechanism is another one. Please refer #3724 in cloudstack.
https://github.com/apache/cloudstack/pull/3724#issue-346702676
If this so we can remove the quiescing and it’s at the Moment for volume snapshots not important.
@rhtyd can you clarify?

@blueorangutan package

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

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/808 (JID-3678)

@davidjumani can you clarify where you use "quiescevm" in VMware and which feature you want to test? there are normal VM Snapshots and i only know volume snapshot like VVOLs. Do you speak about VVOLs? Can you link or clarify the test?

@svenvogel Not too sure about it but I do see it as a parameter in volume snapshot as well as while creating VMware snapshots

@davidjumani how can we proceed? i see there is a parameter but which time it is used?
if there is no test scenario then why are we testing it? normally functionality is not changed to old UI.
take a look here. its included in the old UI.

@rhtyd @utchoang @davidjumani is the master frozen? i think this is ready to merge.

@davidjumani @rhtyd Do you test OK and ready to merge?

Well, from what I understand, what it matters here is not the hypervisor (VMware). But the volume itself with quiescevm enabled. One can test it by mocking such situation.
Also, the API returns such information on the list volumes call which enabled to implement the UI on same approach as the old UI. I don't see any problem here.

I too don't see any blocker here but would like the snapshot API call tested on a volume with quiescevm enabled (mocked also works fine)

@davidjumani @GabrielBrascher can we merge?

@davidjumani @GabrielBrascher can we merge?

@rhtyd @davidjumani cc @svenvogel Is it possible to merge this PR?

@rhtyd @davidjumani cc @svenvogel Is it possible to merge this PR?

I'm okay with having this merged

I'm okay with having this merged


RemoveFromRoleAsync doesn't work !

I can't Remove user Roles by RemoveFromRoleAsync !
this function do nothing !
public async Task DeleteRolesAsync(List<string> deleteList, long userId)
   {
        foreach (var roleName in deleteList)
           {
               IdentityResult deletionResult = await _userManager.RemoveFromRoleAsync(userId, roleName);
           }
}

Also, there is a problem with AddToRole.

As I tested. These are working in the latest version.


Add zplug installation method to README

Taken from the docs.
Reference: #106.

Pingo-ping-ping :grimacing:


Write testing framework

What Issue Are You Seeing or What Feature Needs To Be Added?
Are There Any Links That Would Be Helpful?

If you have time this would be great.  @michplunkett

I should be able to knock this out before EOD Thursday, starting on Wednesday.

Update: Gonna take care of it this weekend.

If you'd like more info how to test, etc., here's a good place to start: https://sqlmodel.tiangolo.com/tutorial/fastapi/tests/


Modified GET alerts and findings APIs to bulk-get by monitorIds

Signed-off-by: Petar Dzepina<EMAIL_ADDRESS>Description
Modified GET alerts and findings APIs to bulk-get by monitorIds
Issues Resolved
#37
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #67 (28915d3) into main (0d038b0) will decrease coverage by 4.73%.
The diff coverage is 15.76%.

@@             Coverage Diff              @@
##               main      #67      +/-   ##
============================================
- Coverage     58.26%   53.52%   -4.74%
- Complexity      783      804      +21
============================================
  Files           124      139      +15
  Lines          3666     4166     +500
  Branches        536      563      +27
============================================
+ Hits           2136     2230      +94
- Misses         1314     1716     +402
- Partials        216      220       +4

Impacted Files
Coverage Δ

...rch/securityanalytics/SecurityAnalyticsPlugin.java
0.00% <ø> (ø)

...arch/securityanalytics/action/GetAlertsAction.java
0.00% <0.00%> (ø)

...rch/securityanalytics/action/GetAlertsRequest.java
0.00% <0.00%> (ø)

...ch/securityanalytics/action/GetFindingsAction.java
0.00% <0.00%> (ø)

...h/securityanalytics/action/GetFindingsRequest.java
0.00% <0.00%> (ø)

...ecurityanalytics/action/IndexDetectorResponse.java
58.82% <0.00%> (ø)

...rityanalytics/resthandler/RestGetAlertsAction.java
0.00% <0.00%> (ø)

...tyanalytics/resthandler/RestGetFindingsAction.java
0.00% <0.00%> (ø)

...ytics/transport/TransportDeleteDetectorAction.java
0.00% <0.00%> (ø)

...yanalytics/transport/TransportGetAlertsAction.java
0.00% <0.00%> (ø)

... and 14 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


customized ID

The IDs are created in the mongoDB but I would like a short handle for an endpoint like /room1 instead of the long generated ID.  Is this possible already or do I need to write some adaptive code?

Hey, @jessewriter
You will need to write some code.
You can do that whether by changing the default ID type (using something like https://github.com/jjwchoy/mongoose-shortid) or querying for fields other than the actual ID on the controller:
export const show = ({ params }, res) =>
  Room.find({ otherField: params.id })
  ...

nevermind i think the issue was I was working on a branch.  sorry i'm
pretty new at git and like it but not great at it yet.
On 02/26/2017 04:23 PM, Haz wrote:

Closed #64 https://github.com/diegohaz/rest/issues/64.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/diegohaz/rest/issues/64#event-977626764, or mute
the thread
https://github.com/notifications/unsubscribe-auth/APm2Tg-bKNkQdK7MbYF-s_Pg2yOHBGK6ks5rghefgaJpZM4MMlDo.


Change Frame screenshot to static camera screenshot

Right now, user can frame the character to decide what will be the screenshot for the mint, we should just place a camera that renders a view of the character and use the result as the screenhot for the mint

issue solved by @tcm390, merge to branch: https://github.com/webaverse-studios/CharacterCreator/pull/317 , to include it in mint support


Unknown errno: Bad address

This is with the Linux version <IP_ADDRESS> build 919.
The first time the start.sh script is run everything works fine. The second time the script is run, after being shutdown, the following error appears and the server cannot run:
Unknown errno: Bad address

Unknown errno: Bad address

Unknown errno: Bad address

Doing a stacktrace:
Stacktrace:

Native stacktrace:

        mono(+0xc486c) [0x801b586c]
        mono(+0x112758) [0x80203758]
        mono(+0x2cb83) [0x8011db83]
        linux-gate.so.1(__kernel_rt_sigreturn+0) [0xb76fed10]
        mono(+0x23a5c8) [0x8032b5c8]
        mono(+0x22855c) [0x8031955c]
        mono(+0x2299b9) [0x8031a9b9]
        mono(+0x229e0b) [0x8031ae0b]
        mono(+0x22c962) [0x8031d962]
        mono(+0x22cd65) [0x8031dd65]
        mono(mono_gc_collect+0x18) [0x803000d8]
        mono(mono_domain_finalize+0x7e) [0x802ca8fe]
        mono(+0x29c63) [0x8011ac63]
        mono(mono_main+0x129e) [0x801864ce]
        mono(+0x275e6) [0x801185e6]
        /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6) [0xb74c8276]
        mono(+0x279d7) [0x801189d7]

Debug info from gdb:

[New LWP 7395]
[New LWP 7396]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
0xb76fecf9 in __kernel_vsyscall ()
  Id   Target Id         Frame
* 1    Thread 0xb74aec00 (LWP 7394) "Main" 0xb76fecf9 in __kernel_vsyscall ()
  2    Thread 0xb6bffb40 (LWP 7395) "SGen worker" 0xb76fecf9 in __kernel_vsyscall ()
  3    Thread 0xb721fb40 (LWP 7396) "Finalizer" 0xb76fecf9 in __kernel_vsyscall ()

Thread 3 (Thread 0xb721fb40 (LWP 7396)):
#0  0xb76fecf9 in __kernel_vsyscall ()
#1  0xb74dc100 in __GI___sigsuspend (set=0x80503960) at ../sysdeps/unix/sysv/linux/sigsuspend.c:30
#2  0x802fa4e3 in ?? ()
#3  <signal handler called>
#4  0xb76fecf7 in __kernel_vsyscall ()
#5  0xb766f39b in pthread_join (threadid=3071388480, thread_return=0x0) at pthread_join.c:90
#6  0x802a98ae in ?? ()
#7  0x802ca117 in ?? ()
#8  0x802a7394 in ?? ()
#9  0x803699e7 in ?? ()
#10 0xb766e27a in start_thread (arg=0xb721fb40) at pthread_create.c:333
#11 0xb7597b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110

Thread 2 (Thread 0xb6bffb40 (LWP 7395)):
#0  0xb76fecf9 in __kernel_vsyscall ()
#1  0xb7673b9b in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0x80337aad in ?? ()
#3  0xb766e27a in start_thread (arg=0xb6bffb40) at pthread_create.c:333
#4  0xb7597b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110

Thread 1 (Thread 0xb74aec00 (LWP 7394)):
#0  0xb76fecf9 in __kernel_vsyscall ()
#1  0xb7677e0f in waitpid () at ../sysdeps/unix/syscall-template.S:84
#2  0x801b5939 in ?? ()
#3  0x80203758 in ?? ()
#4  0x8011db83 in ?? ()
#5  <signal handler called>
#6  0x8032b5c8 in ?? ()
#7  0x8031955c in ?? ()
#8  0x8031a9b9 in ?? ()
#9  0x8031ae0b in ?? ()
#10 0x8031d962 in ?? ()
#11 0x8031dd65 in ?? ()
#12 0x803000d8 in mono_gc_collect ()
#13 0x802ca8fe in mono_domain_finalize ()
#14 0x8011ac63 in ?? ()
#15 0x801864ce in mono_main ()
#16 0x801185e6 in ?? ()
#17 0xb74c8276 in __libc_start_main (main=0x801184e0, argc=2, argv=0xbff21e44, init=0x8037b150 <__libc_csu_init>, fini=0x8037b1b0 <__libc_csu_fini>, rtld_fini=0xb7710080 <_dl_fini>, stack_end=0xbff21e3c) at ../csu/libc-start.c:291
#18 0x801189d7 in _start ()

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

./start.sh: linje 42:  7394 Afbrudt (SIGABRT)       mono RocketLauncher.exe $INSTANCE_NAME

Please fill in the template which is shown when creating new issues

No plugins are being used. The Linux distribution is Debian Stretch, but if you cared to look at the report, you would see that all you need is supplied in the trace!

No, not all I needed is provided with the report.
First of all, it is a native stack trace, which means its not RocketLaunchers fault, it is happening on monos native code.
I can not get any useful information from that stacktrace except what I wrote above.
I do not know what mono version you are using, what Unturned version you are using, what Linux distro and version you are using and if you have installed all required libraries.
Just copying and pasting the error does not help at all

I fail to see how answering any of the following questions, which is from your template, will help solve the questions you ask:
**What problem did you noticed?**
**What is the expected result?**
**What is the current result?**
**How to reproduce the issue?**

I do not know what mono version you are using, what Unturned version you are using, what plugins you are using, what Linux distro and version you are using and if you have installed all required libraries. There are no ways to reproduce this without any information.

I already provided you with that information, maybe you should have waited a little while with closing the bug report.
Regarding the version of Mono, then this isn't asked in your template, but it's obvious from looking at the packages from Debian Stretch:
https://packages.debian.org/search?keywords=mono&searchon=names&suite=stable&section=all
You just disregarded and closed the bug report even though further helpful information could be provided. You should change your template to actually contain the questions you need answered then.
Keep it closed, we won't be using RocketMod.

Regarding the version of Mono, then this isn't asked in your template, but it's obvious from looking at the packages from Debian Stretch:

https://packages.debian.org/search?keywords=mono&searchon=names&suite=stable&section=all

This is the most ridiculous thing I have ever read about packages on a linux distro.
You know, you can upgrade the distro, you can downgrade the distro, you can upgrade mono, you can downgrade mono? Did you know that there can be different versions of the distro with different mono versions? Debian Strech is a major version which has many different minor versions...

Keep it closed, we won't be using RocketMod.
Good luck with your server.


Launch templates do not support non-ebs volume types

I have issues
I'm submitting a...

[X ] feature request

What is the current behavior?
You can only supply EBS type volumes in worker launch templates.
What's the expected behavior?
You should be able to define instance volume stores for instances with local disk.
Are you able to fix this problem and submit a PR? Link here if you have already.
https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1213
Environment details

Affected module version: 14.0.0
Terraform version: 0.14.4

Not stale.  PR remains unreviewed and unmerged.  Not sure what I can do to get attention here?


fix: use useRef for Host queue to improve stability

While using this library to build "overlay" widgets in our RN project, we discovered that some Portals did not unmount correctly.
For instance, our react-navigation based project has ScreenA containing OverlayA, which are implemented with Portal. When ScreenA is popped, we found that sometimes OverlayA is not unmounted, out of our expectation.
After some digging, it seems that the queue array in Host component might be one of the problem: since Host is a functional component, queue is re-initialized each time Host re-renders. According to the original implementation, queue is a class member, so it should become a RefObject after converting to functional component.
I utilized patch-package to create a hotfix for my project and the behavior becomes expected, so I created this PR to address the problem. This PR rewrites queue into a RefObject with useRef as well as extracts type definition of queue into IPortalAction.

For anyone looking for a patch: https://gist.github.com/lucasjohnston/5bf626fae923009ae1cf5a5db894842f
In the process of debugging our freezing issues I came across this thread and realised modals aren't unmounting properly as OP described.
Currently trying to fix my issue with a combination of this patch and using InteractionManager.runAfterInteractions().


Kotlin backtick surrounded function names

:TestNearest is testing the entire file when I have function names that are surrounded with backticks.
Example:
fun `test something, 123-456`() {
  // test
}

Would it be possible to make this work? I'd be happy to update this regex https://github.com/vim-test/vim-test/blob/2052bd926c37b5c828dd07c47ac676102ca34a0e/autoload/test/kotlin.vim#L4
The gradle command would not work with backticks though.
./gradlew test --tests ExampleTest.`test something, 123-456`

I guess that ` needs to be replaced by " somehow.

Could you put together some examples, either in this issue or ideally creating a PR and updating the specs. Happy to give a hand with this

I created the PR #601

Thank you, this has now been merged in


BUG: Results are not matched with ismev for MLE

Describe the bug
I read a book about extreme value statistics, and found this package. Then, I want to validate the same results are obtained or not.
The resutlts were finally not matched...
import pandas as pd
from pyextremes import EVA
KobeM = pd.Series([129.7,  51.4, 148.8,  76.3,  68.3,  91.8, 116.5,  97.4,  81.3,  65.8,  50.9, 100.2,
  123.2, 199.4, 137.7, 104.7,  72.6,  63.2, 116.5,  71.9, 121.6,  87.8,  89.2,  76.2,
  103.7, 112.0,  60.7,  63.2, 119.7,  75.5,  68.3,  67.6,  62.3,  51.1,  62.5,  99.4,
   81.4,  86.3, 143.8,  44.5,  58.4, 270.4, 103.5,  94.0,  68.9,  80.0, 112.5,  73.4,
  262.8,  58.1,  43.3,  59.0, 181.8, 117.1, 109.4, 115.9, 116.2, 175.8,  73.4,  83.7,
  165.6,  56.8, 123.4, 142.2, 195.2, 130.1,  64.5,  97.1, 219.4,  95.7, 319.4,  72.5,
  115.5,  53.0,  81.0, 152.0,  68.5,  83.5,  77.0,  77.5,  67.5,  91.0,  86.5,  77.0,
   57.0, 125.5, 197.0, 105.5,  75.5, 128.0,  70.0, 150.0, 121.5,  72.0,  57.0,  81.0,
   86.0,  40.5, 118.5,  76.5,  82.5, 122.0, 179.5, 123.0,  71.5,  38.5, 108.5, 138.0,
   57.0,  76.5,  83.0,  47.0,  69.0, 105.5, 124.5,  64.0, 100.5])

KobeM.index = [pd.Timestamp(i,1,1) for i in range(1897, 2014)]

model = EVA(KobeM)

model.get_extremes(method="BM", block_size='365.2425D')

model.fit_model()

                           Univariate Extreme Value Analysis
========================================================================================
                                      Source Data
----------------------------------------------------------------------------------------
Data label:                          None      Size:                                 117
Start:                       January 1897      End:                         January 2013
========================================================================================
                                     Extreme Values
----------------------------------------------------------------------------------------
Count:                                116      Extraction method:                     BM
Type:                                high      Block size:             365 days 05:49:12
========================================================================================
                                         Model
----------------------------------------------------------------------------------------
Model has not been fit to the extremes
========================================================================================

R's ismev's code is this
library(ismev)
KobeM <- c(129.7,  51.4, 148.8,  76.3,  68.3,  91.8, 116.5,  97.4,  81.3,  65.8,  50.9, 100.2,
  123.2, 199.4, 137.7, 104.7,  72.6,  63.2, 116.5,  71.9, 121.6,  87.8,  89.2,  76.2,
  103.7, 112.0,  60.7,  63.2, 119.7,  75.5,  68.3,  67.6,  62.3,  51.1,  62.5,  99.4,
   81.4,  86.3, 143.8,  44.5,  58.4, 270.4, 103.5,  94.0,  68.9,  80.0, 112.5,  73.4,
  262.8,  58.1,  43.3,  59.0, 181.8, 117.1, 109.4, 115.9, 116.2, 175.8,  73.4,  83.7,
  165.6,  56.8, 123.4, 142.2, 195.2, 130.1,  64.5,  97.1, 219.4,  95.7, 319.4,  72.5,
  115.5,  53.0,  81.0, 152.0,  68.5,  83.5,  77.0,  77.5,  67.5,  91.0,  86.5,  77.0,
   57.0, 125.5, 197.0, 105.5,  75.5, 128.0,  70.0, 150.0, 121.5,  72.0,  57.0,  81.0,
   86.0,  40.5, 118.5,  76.5,  82.5, 122.0, 179.5, 123.0,  71.5,  38.5, 108.5, 138.0,
   57.0,  76.5,  83.0,  47.0,  69.0, 105.5, 124.5,  64.0, 100.5)
k000 <- gev.fit(KobeM)

results are
$conv
[1] 0
$nllh
[1] 588.2654
$mle
[1] 77.8499914 28.1150960  0.1970488
$se
[1] 2.96183720 2.35426533 0.07809392

Expected behavior
I think number of iterations are not enough for this fitting.
Also, I wonder when estimating parameters, what kind of pacakges is used for parameter optimization.,,
Desktop (please complete the following information):

OS : Linux
Python version: 3.10.4

@toshiakiasakura these are the packages used in pyextremes: https://georgebv.github.io/pyextremes/#dependencies
Regarding your question, I see that you have some sample data for which you know expected results. Can you please point me to the source of that? Before telling you more I need to better understand the data and to see what model was used so that we can compare apples to apples.

Thank you for your reply! Since I am a totally newbie in this field, if I misunderstand or misinterpret something, please tell me.
Note: Sorry, I just wrongly pasted the results for python results. I updated the results in the first comment...
Since I fetched this example from the following Japanese text book, I suppose you can not understand content... The author is Rinya Takahashi.
https://www.amazon.co.jp/極値統計学-ISMシリーズ-進化する統計数理-高橋-倫也/dp/4764905159
In this book, the R example is shown, and I just reanalyzed the data as the book told me. So I just reshowed the results in the textbook.
The dataset is made up of maximum precipitation amount for each year from 1897 to 2013 in Kobe City (one of the cities in Japan), and we are interested in when and how large extreme rainfall will occur in the future. I was only given the maximum value of precipitation amount each year, so all data points were used for estimating parameters of GEV model.
If you have any further question, I try to answer...
For optimization question, I just first imagined that parameter optimization was performed with scipy's minimize function, but I could not find minimize function call, and I just felt curious about that. However, from your code, maybe optimization is customly implemented? Am I right?

I have created a gist here: https://gist.github.com/georgebv/0329912d7a46628226f7558d124ae321
It looks like you didn't have correct number of extremes - if you look at your previous message, you have 117 points and 116 extremes. The reason for that is because you extract extremes from the data rather than setting it from extremes directly - can't blame you, it's not documented. In the gist above you can see that with all extreme values I am getting the same coefficients as in your R code.
Regarding your question about optimization, there are two models available in pyextremes: MLE and MCMC. The default one is MLE and it uses scipy:

fitting is done using the fit public method of the scipy.stats.rv_continous class: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.rv_continuous.fit.html
the fit method uses the fmin function of the scipy.stats.optimize package: https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.fmin.html

Sorry for my careless mistakes. I am very happy to see the same results.
Also, thanks for helpful comments for optimization procedures.


bracket for K

@radumereuta's suggestion doesn't work:

In kast.k line 51, there is this production:

syntax KBott     ::= "`" K "`"    [bracket]

To add parenthesis as brackets, just add (I would suggest modify and change all the current examples):

syntax KBott     ::= "(" K ")"    [bracket]

I tried the suggestion and tested against kool-untyped, but parsing failed many places (having 82 parsing errors). I guess it is due to ambiguities between an user-defined function's parenthesis with the bracket parenthesis of K.
Note that I tried both ways: either having additional bracket syntax or replacing it, but both failed.

split from #1929

solved


add info for "what is pulumi, why does it matter, why should I care?"

there was an ask that came in via community slack related to "what is pulumi, why does it matter, why should I care?"  content for folks that are new to the space and new to pulumi

@nimbinatus or @cnunciato is this something either of you would be interested in taking on?

Hm. I'm not sure I can take it on right now, but I get the value. If @cnunciato can't take it right now, we could at least get it on the radar for planning.

no urgency at all, whenev and only if yall are interested.

The main docs landing page is made up of  “What is Pulumi?” And “Why Pulumi?”  Do these not answer the question?
https://www.pulumi.com/docs/

this was a request from community slack, so id imagine that for them it didn't or they didn't know about that page. i can dm you more context.

im going to close this out, marketing folks can follow up and open a new issue if yall would like.


:arrow_up: Update from .NET 5 to .NET 6

Codecov Report

Merging #36 (1c09266) into main (41532c8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #36   +/-   ##
=======================================
  Coverage   78.03%   78.03%
=======================================
  Files          36       36
  Lines        2764     2764
  Branches      356      356
=======================================
  Hits         2157     2157
  Misses        457      457
  Partials      150      150

Continue to review full report at Codecov.

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


1325 google custom search

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

Update Google Custom Search class to support changes in remote service.

Was able to test directly with Google Service. Addressed an issue with null parameter causing an exception and another issue where no return values threw an exception.

The solution and the code look fine to me, but I'm seeing...
  GradleException: There were failing tests.


Error with yarn packages installation

Hi there,
I'm getting the following error on Polkadash:
λ yarn
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=14.0.0". Got "12.5.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I am on Windows 10 Home.

All sorted. The issue was with my IDE not pointing to the latest Nodejs version.


proposal: rocksdb: sharding for avoiding stall

Proposal Details
Background:
In practice, it is common to limit the size of a single instance of rocksdb to TB to avoid significant performance degradation.
Reference：

TiDB:
It is recommended to keep the size of TiKV hard disk within 4 TB if you are using PCIe SSDs or within 1.5 TB if you are using regular SSDs

after exec 130k transactions, I found:
sudo perf record -g -e lock:contention_begin -p <rooch_pid>
I saw significant cost of lock call by rocksdb internal process: PosixWritableFile,

Need to keep track of the distribution of overhead when rocksdb takes up less space, and more respectively.
almost empty: start execution from empty:

1TB

2TB


Getting the "Saving failed! Someone else is editing this post." error but no-one else is editing.

Issue Summary
Since upgrading to Ghost 2.x everytime I am writing a post have had the editor open for over 30mins I start to get the above error message. I then have to copy everything I have written and navigate back to the Stories list and then back to my blog post and re-paste my work.
The dev tools in chrome show the following error:
Failed to load resource: the server responded with a status of 409 ()

When I click on the link attached to the error I get the following JSON:
{"errors":[{"message":"Access denied.","context":"Client credentials were not provided","errorType":"UnauthorizedError"}]}

To Reproduce
Seems to happen whenever I'm in the post editor for greater than 30 minutes.
Technical details:

Ghost Version: 2.0.3 (docker image)
Browser/OS: Chrome 68.0.3440.106 / macOS High Sierra
Database: Sqlite 3

I am closing this issue. It's 3 months old.
Feel free to re-open or leave a comment here if it's still a problem.

Ghost 5.1.0, SQLite 3 on Debian 10, having this problem too. Open a post for too long, and you can't save anymore. Restarting Ghost doesn't fix, only way around this is to copy-paste the content in a notepad, refresh, and paste. Really annoying.

The logic that determines this is the case, is if the post on the server has a newer updated_at timestamp than your local copy. So if you opened a new tab and edited a detail of the post, or if someone else has edited the post and closed it, then this error will occur.
The reason it happens is to prevent your save from overwriting the changes. You're correct that the only solution is to open a fresh tab with the latest copy of post, and copy across your changes.
Please note: as of Ghost 5.0 sqlite3 is no longer a supported DB in production.

The logic is sound, however it doesn't handle the (rare, but possible) case where the server timeouts on the update request. What happens in my case is that the update is indeed saved, but the requests timeouts for the client, so the client doesn't get the updated timestamp. If this happens (and it happens), all the changes after the initial request (which, since it timed out, can be tens of seconds or even minutes in the past) are lost. The new fix I found is to simply replay the request with CURL, and manually changing the timestamp to match the server's.


PhpUnitTestCaseIndicator - Check if PHPUnit-test class extends anothe…

…r class
closes https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6016

Coverage decreased (-0.009%) to 93.172% when pulling 2c45c1ca77f6ae521d42e5fe109d21061f41099a on SpacePossum:master_PhpUnitTestCaseIndicator into 51c8146236ef4911a216b03d729d39d26cdf4a6a on FriendsOfPHP:master.


mkvtoolnix v86 “Winter” released

Idea
https://mkvtoolnix.download/doc/NEWS.md
Version 86.0 "Winter" 2024-07-13
New features and enhancements

mkvmerge: Matroska reader: track statistics tags are included in the JSON
identification output just like other tags had already been included: as
part of the track properties, prefixed with tag_. Implements #3714.
mkvmerge: MPEG TS reader: mkvmerge will now detect teletext subtitle tracks
even if they're not listed in the PMT as long as it can find teletext pages
flagged as subtitles in the header within the probed ranged of the
file. Implements #3650.
MKVToolNix GUI: multiplexer: the default mode for escaping the arguments in
the "Show command line" dialog can now be set in the preferences. Partially
implements #3709.
MKVToolNix GUI: multiplexer: the "Show command line" dialog now includes the
command lines for all currently open multiplex settings, switchable with a
combo box. Partially implements #3709.
MKVToolNix GUI: multiplexer: some users add the option
--regenerate-track-uids to the "additional options", even though
--regenerate-track-uids is a file-specific option, and you can only use
global options in the "additional options". However, the GUI currently
doesn't have an option for specifying additional file-specific options. The
GUI now detects the use of this option in the "additional options" & adds it
for each of the source files instead. Implements #3707.
MKVToolNix GUI: multiplexer: the option --regenerate-track-uids has been
added to the "additional command line options" dialog. See #3703.
translations: added a Norwegian Bokmål translation of the man pages by Roger
Knutsen (see AUTHORS).

Bug fixes

mkvmerge: when using timestamp files for subtitle tracks, mkvmerge will no
longer set a default duration for the track. Partially fixes #3711.
mkvmerge: when using timestamp files for subtitle tracks, mkvmerge will no
longer queue frames longer than necessary, which resulted in the frames
sometimes being written much later than they should have been according to
their timestamps. Partially fixes #3711.
mkvmerge: when using timestamp files for subtitle tracks, mkvmerge will now
write the packets' duration properly. Partially fixes #3711.
MKVToolNix GUI: job queue: the shortcut from the "Job queue" menu are now
enabled correctly whenever the number of jobs in the queue changes (e.g. by
adding new jobs). Fixes #3720.

Thanks for reporting, I will update the Docker image.


Update Swift 4.2 snapshot

Codecov Report

Merging #1288 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1288   +/-   ##
=======================================
  Coverage   83.57%   83.57%
=======================================
  Files          41       41
  Lines        3385     3385
=======================================
  Hits         2829     2829
  Misses        556      556

Flag
Coverage Δ

#Kitura
83.57% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[Docs] Revise text and layout in local-cluster-generate-kubeconfig.md

Fix indentations for bulleted lines
Improve consistency
Revise some text

Good job. Thanks very much.
LGTM


Emojis are not displayed in PDF export of page

Describe the Bug
On exporting a page as PDF emojis are not displayed correctly.
Steps to Reproduce

Create a page
Add text and emoji to content
Export as PDF
Emoji is not displayed

Expected Behaviour
Emoji is correctly displayed.
Screenshots or Additional Context
Bookstack page

PDF export

Browser Details
No response
Exact BookStack Version
v23.05
PHP Version
8.0
Hosting Environment
Ubuntu 22.04 VPS, nginx 1.23.4, PHP 8.0

hi, do you have any updates on this ? i saw there was a problem too with emoji

Hi @ssddanbrown Please tell me if you have found a solution to the problem with Unicode characters not being displayed when exporting PDF? in #719 and #148 i didn't see a solution of this problem.


Stop suggesting depending on wheel in PEP 518 config

wheel was never necessary, as old setuptools is auto-injecting it as a dep for wheel builds (but not sdist). And the modern one vendors it (wheel moved into setuptools during the PyCon 2024 sprint days). setuptools' docs used to mistakenly imply that it was needed but I fixed those docs examples a few years ago. Let's correct this mistake in the Cython docs too.

@da-woods @scoder this doesn't have conflicts and is an easy merge.


Add options to make first names and surnames be adjacent

Add an optional parameter to the FirstName filter that requires a Surname immediately after.
Likewise, add an optional parameter to the Surname filter that requires a FirstName immediately preceding it.
Both options can be set independently, and both should default to false.
When either option is set to true, that filter should only report a span when it is preceded/followed by a span from the other filter.

There should likely be a related previouslySeen option in FirstName filter that overrides the proposed option if the first name has been previously seen. For example, the combination John Smith as the first name surname, but instances of just John should also be redacted if the previouslySeen option is set.


"linking with cc failed" when using cargo install

I can not install the program by entering
cargo install lock_box
I get a long error related to missing C libraries.
If I, however, clone the repo and run
cargo install --path=.
the program installs just fine.
This problem appears on Ubuntu and Arch,
but cargo install lock_box works fine on Fedora.
I am not entirely sure that the problem is caused by lockbox,
but I thought I should share this anyway, just in case.

Hey @JanNeuendorf. Thankyou for creating the issue. Can you perhaps share the long error message that you're seeing when you try to install lockbox directly from cargo?

Sure, here is the error message.
Compiling lock_box v0.1.1
error: linking with cc failed: exit status: 1
= note: LC_ALL="C" PATH="/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/jan/tectonic/tectonic:/usr/lib64/mpich/lib:/usr/lib64/mpich/bin:/home/jan/.wasmtime/bin:/home/jan/Dropbox/scripts:/home/jan/.cargo/bin:/home/jan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/jan/Dropbox/scripts" VSLANG="1033" "cc" "-m64" "/tmp/rustc54rtIl/symbols.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.lockbox.c900226f5b48af1f-cgu.0.rcgu.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.lockbox.c900226f5b48af1f-cgu.1.rcgu.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.lockbox.c900226f5b48af1f-cgu.2.rcgu.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.lockbox.c900226f5b48af1f-cgu.3.rcgu.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.lockbox.c900226f5b48af1f-cgu.4.rcgu.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.lockbox.c900226f5b48af1f-cgu.5.rcgu.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.lockbox.c900226f5b48af1f-cgu.6.rcgu.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.lockbox.c900226f5b48af1f-cgu.7.rcgu.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.lockbox.c900226f5b48af1f-cgu.8.rcgu.o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388.59v0ar1a1873y3ya.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install8JkQof/release/deps" "-L" "/tmp/cargo-install8JkQof/release/build/ring-07c3ff7d0be53886/out" "-L" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-install8JkQof/release/deps/liblock_box-5c564c8ddcdf6c39.rlib" "/tmp/cargo-install8JkQof/release/deps/libserde_json-73b9e13067d10a58.rlib" "/tmp/cargo-install8JkQof/release/deps/libryu-0877fee6a683ae09.rlib" "/tmp/cargo-install8JkQof/release/deps/libitoa-77bfe198ba25d978.rlib" "/tmp/cargo-install8JkQof/release/deps/librpassword-969fe2fa07d52c0d.rlib" "/tmp/cargo-install8JkQof/release/deps/librtoolbox-00ca6c31dd56e29f.rlib" "/tmp/cargo-install8JkQof/release/deps/libserde-61dae5b7483c5fa0.rlib" "/tmp/cargo-install8JkQof/release/deps/libring-191c0101cbe8331b.rlib" "/tmp/cargo-install8JkQof/release/deps/libspin-6a9cfda09888b81c.rlib" "/tmp/cargo-install8JkQof/release/deps/libuntrusted-b60881ce429c3013.rlib" "/tmp/cargo-install8JkQof/release/deps/libonce_cell-80c0790d8ff436c6.rlib" "/tmp/cargo-install8JkQof/release/deps/libaes_gcm-0d28a225b9df6c3f.rlib" "/tmp/cargo-install8JkQof/release/deps/libctr-a111deb5eb6bf37d.rlib" "/tmp/cargo-install8JkQof/release/deps/libghash-dd7507611d82944d.rlib" "/tmp/cargo-install8JkQof/release/deps/libpolyval-7e033c6402572832.rlib" "/tmp/cargo-install8JkQof/release/deps/libopaque_debug-e0a52d52b5e5eb13.rlib" "/tmp/cargo-install8JkQof/release/deps/libuniversal_hash-67ab81b43ca87ee1.rlib" "/tmp/cargo-install8JkQof/release/deps/libsubtle-f02029a3d904654a.rlib" "/tmp/cargo-install8JkQof/release/deps/libaes-bca3265304ced623.rlib" "/tmp/cargo-install8JkQof/release/deps/libcpufeatures-7bf634e3f47d7b87.rlib" "/tmp/cargo-install8JkQof/release/deps/libcipher-5af44d97a19a685c.rlib" "/tmp/cargo-install8JkQof/release/deps/libinout-993c595015658fcb.rlib" "/tmp/cargo-install8JkQof/release/deps/libaead-68858601915a7412.rlib" "/tmp/cargo-install8JkQof/release/deps/libcrypto_common-856b10e08f3ca59a.rlib" "/tmp/cargo-install8JkQof/release/deps/libgeneric_array-7d1bd49329407f6b.rlib" "/tmp/cargo-install8JkQof/release/deps/libtypenum-d30a3e4cef509948.rlib" "/tmp/cargo-install8JkQof/release/deps/libpasswords-f73bbe985ecf343d.rlib" "/tmp/cargo-install8JkQof/release/deps/librandom_pick-2259966dd7401471.rlib" "/tmp/cargo-install8JkQof/release/deps/librandom_number-697094ddfcbb1f88.rlib" "/tmp/cargo-install8JkQof/release/deps/librand-cca258a2c4a0bd08.rlib" "/tmp/cargo-install8JkQof/release/deps/librand_chacha-539fa79a447ac94d.rlib" "/tmp/cargo-install8JkQof/release/deps/libppv_lite86-dcb073098ff0b7d6.rlib" "/tmp/cargo-install8JkQof/release/deps/librand_core-9588746f4df96d15.rlib" "/tmp/cargo-install8JkQof/release/deps/libgetrandom-d84806229385682e.rlib" "/tmp/cargo-install8JkQof/release/deps/libcfg_if-89637bf5efe449ff.rlib" "/tmp/cargo-install8JkQof/release/deps/libclipboard-e6205d0f5e3329b0.rlib" "/tmp/cargo-install8JkQof/release/deps/libx11_clipboard-e1c3aa3c18a307a4.rlib" "/tmp/cargo-install8JkQof/release/deps/libxcb-1d7fe1900a23aa0e.rlib" "/tmp/cargo-install8JkQof/release/deps/liblog-423e8759622cfd0d.rlib" "/tmp/cargo-install8JkQof/release/deps/libanyhow-5ed48ede9b354587.rlib" "/tmp/cargo-install8JkQof/release/deps/libterminal_size-bbab91cbc2acbd4b.rlib" "/tmp/cargo-install8JkQof/release/deps/librustix-9cf5ee9bc1a64309.rlib" "/tmp/cargo-install8JkQof/release/deps/libio_lifetimes-cc549f6ec84a30bf.rlib" "/tmp/cargo-install8JkQof/release/deps/liblibc-7d3d06959f24d71d.rlib" "/tmp/cargo-install8JkQof/release/deps/libbitflags-6d1ff9b57fbaff72.rlib" "/tmp/cargo-install8JkQof/release/deps/liblinux_raw_sys-5365d5def54aba08.rlib" "/tmp/cargo-install8JkQof/release/deps/libcolored-22395c16d213a5c5.rlib" "/tmp/cargo-install8JkQof/release/deps/liblazy_static-afd5eb1d3a601861.rlib" "/tmp/cargo-install8JkQof/release/deps/libis_terminal-a7af8e36b8f8a103.rlib" "/tmp/cargo-install8JkQof/release/deps/librustix-ee5cc4a0fb0304d2.rlib" "/tmp/cargo-install8JkQof/release/deps/libbitflags-63042f40ffa9ce00.rlib" "/tmp/cargo-install8JkQof/release/deps/liblinux_raw_sys-3512b048a770ad9d.rlib" "/tmp/cargo-install8JkQof/release/deps/libclap-f1a456c65d6cf4a1.rlib" "/tmp/cargo-install8JkQof/release/deps/libclap_builder-a0964cf098086f3e.rlib" "/tmp/cargo-install8JkQof/release/deps/libstrsim-4e5e04806465da48.rlib" "/tmp/cargo-install8JkQof/release/deps/libanstream-b219982ff1fb2ac2.rlib" "/tmp/cargo-install8JkQof/release/deps/libanstyle_query-6b4d53dbd37662ba.rlib" "/tmp/cargo-install8JkQof/release/deps/libcolorchoice-f7a3e89c3f715522.rlib" "/tmp/cargo-install8JkQof/release/deps/libanstyle_parse-9fbb70ebfe3462ca.rlib" "/tmp/cargo-install8JkQof/release/deps/libutf8parse-dfc971e5e2d20e8c.rlib" "/tmp/cargo-install8JkQof/release/deps/libclap_lex-3f12e14928565820.rlib" "/tmp/cargo-install8JkQof/release/deps/libanstyle-cb7883d1c6d3142a.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-fcf70ff533b679b2.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-0c444f82ff6357fe.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1c489496724861fb.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d78ac6160f3d6c83.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-809f163ce43a1738.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-175dcc30aa334793.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-cd8ec97f4bc5bb94.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ee389c47b08d0950.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-cb31e582b020f933.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-9ec867386c5b7a05.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-fadf2e6707443620.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-f89fab2dfdbb31f7.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-6b9f3014e302f71b.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-43dc09dbe07dbc55.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-90b35e743da38af2.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e7c6d1877111e953.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5532010d21dfada0.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a241e0394ca8cc1d.rlib" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-90c8d5109b409073.rlib" "-Wl,-Bdynamic" "-lxcb" "-lxcb-render" "-lxcb-shape" "-lxcb-xfixes" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/jan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install8JkQof/release/deps/lockbox-b986c0b24c96e388" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
= note: /usr/bin/ld: cannot find -lxcb-render: No such file or directory
/usr/bin/ld: cannot find -lxcb-shape: No such file or directory
/usr/bin/ld: cannot find -lxcb-xfixes: No such file or directory
collect2: error: ld returned 1 exit status
error: could not compile lock_box (bin "lockbox") due to previous error
error: failed to compile lock_box v0.1.1, intermediate artifacts can be found at /tmp/cargo-install8JkQof.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

@JanNeuendorf I think I realized why you're able to build from github but you can't from cargo. The lockbox 0.1.2 version that's on crates.io right now has a few dependencies introduced by the clipboard crate that requires linux users to install some X Window System dependencies. I have removed the need for those dependencies on the current version that's in the repo. This should be fixed with the 0.1.3 version of lockbox. Until then, if you want to directly install from cargo then you'll need to install the following dependencies on linux machines.
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev

Thankyou for the detailed explanation on the issue 😄 I think we're almost ready for the 0.1.3 release so this problem should be soon fixed for good.

Okay, that sounds good. I can confirm that the fix works on my machine. Thank you for looking into it!

Thankyou so much for raising the issue and helping make lockbox awesome! ❤ Marking this issue as resolved.


[core] Add a PartialProgress public property

When some files are marked as DoNotDownload then this property
tracks the completion rate for the files which are marked as
downloadable.
If all downloadable files have been downloaded, the state will
change to 'Seeding' without telling the tracker the download has
completed.
If files which used to be marked as 'DoNotDownload' are then marked
as downloadable, the state will change back to Downloading.

@justscribe This adds and documents the PartialProgress property which should give you the information you need. TorrentManager.State will change between Seeding and Downloading based on the PartialProgress too.

I'll assume this has no issues and if there are any further changes necessary we'll do them in another PR.


Merge pull request #1 from alibaba/master

update pom to adapt Hoxton version
Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


remove unnecessary line

Just a very tiny thing I saw while reading the code -- a line that was left behind that is not necessary.

rerun tests

rerun tests

rerun tests


Automate generating conformance results for CAPZ certification

We should upload conformance results for CAPZ self-managed k8s to https://github.com/cncf/k8s-conformance for each k8s version so it can be certified as a conformant k8s distribution.
To avoid having to do it manually each time, we should consider building a pipeline to automate running conformance and extracting logs/results.
See https://dev.azure.com/AzureContainerUpstream/Kubernetes/_git/kubernetes-tests?path=/pipelines/kubernetes.sonobuoy.yml&version=GBchuwon/add-more-tests for prior art

Having run this manually, one hurdle is going to be to handle the fact that the test itself sonobuoy run --mode=certified-conformance runs in the background for an hour or more.

We decided to not do conformance testing for CAPZ, but only for AKS.  If we get any customer requests for this, we can reconsider.

Originally this issue was added to ensure Microsoft has at least one conform results uploaded to https://github.com/cncf/k8s-conformance for each k8s version so it can be certified as a conformant k8s distribution.
@yizhang4321 Can you please confirm if AKS now has automation to ensure for each new k8s version that is released upstream, AKS generates and submits conformance results to https://github.com/cncf/k8s-conformance?

When AKS supports a new Kubernetes minor version, say 1.26, we have process in place to make sure the conformance result is uploaded. For example, for 1.26, we had this:
https://github.com/cncf/k8s-conformance/pull/2443
We currently have process in place to make sure this happens, but it's not fully automated yet.

@yizhang4321 I have created a pipeline for aks certificated. Does it meet your expectation?
It is mentioned in the email thread: "Quality assurance and checklist for releasing new k8s versions"


break gnutls -> openssl dependency

Motivation for this change
The closure of unbound daemon is increased by nettle.out, but closure of unbound.lib is decreased by openssl.out (~10x larger).  I think it's a fair tradeoff.
libgnutls_dane uses libunbound.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

/cc the other unbound maintainer: @ehmry.

I staged this already to start preparing binaries, but feel free to discuss...

Thanks a lot! :+1: Was just about to press merge myself. :beers:


APEXCORE-451 : get-app-package-operators in ApexCLI to contain "type"…

… property to indicate operator or module

Hi, @tushargosavi @PramodSSImmaneni @tweise @davidyan74  Could you please review the changes.

Incorporated review comments.

Looks good to me, @davidyan74 can you also check

looks fine


update document of oras auth provider for azure managed identity

Description
document update for msi oras auth provider after pr #424
Fixes #314
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

@binbin-li  any issues merging this?

@binbin-li any issues merging this?

synced offline with @fseldow , it lgtm now.

@fseldow could you rebase again? We can merge it in then


couldn't install

$ node -v
v8.7.0
$ npm -v
5.4.2
$ npm install
npm WARN deprecated<EMAIL_ADDRESS>Use mz or fs-extra^3.0 with Promise Support
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>No repository field.

added 163 packages in 7.251s
$ safaribooks-downloader --version
-bash: safaribooks-downloader: command not found

npm install didn't work for me either, but installing globally with npm install -g worked for me.
@necktwi you might wanna give it a try. 😄

I already tried your suggestion but strangely it worked now!

try npm safaribooks-downloader --version