added aarch64-darwin version of lmstudio + updated lmstudio to 0.2.22

Description of changes
Packaging Change

Added packaging for macOS / aarch64-darwin (no x86_64-darwin-Support present)
Moved Linux packaging into own file

Version bump
I don't have a reasonable NixOS device with a desktop environment. Would therefore much appreciate someone trying it out. @drupol do you have time for verifying functionality?
🎉 What's New in 0.2.21

New models support! 🤖 🦙

Microsoft's "Phi-3" (small & fast with impressive capabilities)
Meta's "Llama 3" (incredibly powerful open model)

LM Studio "tray" status bar menu 👾

Quickly start/stop the server, see loaded models, and more
On Mac / Linux: find the tray icon in the top right corner
On Windows: find the tray icon in the bottom right corner

Advanced Information: 🤓

llama.cpp commit b4e4b8a9351d918a56831c73cf9f25c1837b80d1
To disable the tray menu, set "disableTray": true in settings.json

What's New in 0.2.22

✨ NEW: Meet lms - LM Studio's command line interface!

With lms, you can...

Load/unload models, control the server programmatically, list models, and more, all from the command line
lms is MIT licensed! Check out the Github: https://github.com/lmstudio-ai/lmstudio-cli

🛠 How to setup lms on your machine:

On Windows, run:
cmd /c %USERPROFILE%/.cache/lm-studio/bin/lms.exe bootstrap
On Mac and Linux, run:
~/.cache/lm-studio/bin/lms bootstrap

🤓 Advanced Information:

llama.cpp commit: a8f9b076316e16aadd0791015b3bfd446fe1e904

Includes Flash Attention! Turn it on under Advanced Configuration > Model Initialization

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[x] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

The commit log message is not valid. It should be something like:
lmstudio: enable
Where needs to be replaced with the architecture you're adding.

Did so. Should I also create two commits? First adding aarch64-darwin and then updating the version?
Is there also a message for adding me as a maintainer?

There should be multiple commits:

maintainers: add eeedean
lmstudio: add new maintainer
lmstudio: enable aarch64-darwin build

Thank you very much for your patience and making it clear to me.
I split the change into 4 Commits now:

maintainers: add eeedean
lmstudio: add new maintainer
lmstudio: 0.2.20 -> 0.2.22
lmstudio: enable aarch64-darwin build

That should be compliant now, right?

Is this mergable now, @drupol ? ofborg finally did his thing, too!


Fastnlight: Watch princesspalacerecovery.com

Fastnlight requests the watch of the watch_keyword princesspalacerecovery\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

princesspalacerecovery\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Remove the action field from Policy manifests, add an OTHER match type

Closes #150
Code Changes

[x] Remove the action field from Policy manifests
[x] Rename inclusion --> matches (including the InclusionEnum --> MatchesEnum)
[x] Add an OTHER match type to MatchesEnum

Steps to Confirm

[ ] Build a test policy using matches: OTHER, and determine that evaluations pass/fail as expected

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
[x] Documentation Updated

Description Of Changes
Completely removes the action field from Policy manifests, since only REJECT was ever a valid value. Going forward, all policies will be assumed to REJECT. Also enables the OTHER match type, for privacy declarations not included in the list for the given Policy.

nice!


Update new link for devicon and add more logos

Closing as fixed in https://github.com/spotify/spotify.github.io/pull/13. Thanks for your contribution :)


Problem with 2FA+Heroku+FASTLANE_SESSION

Hi,
my AppleID has 2FA, and was following this steps https://github.com/fastlane/fastlane/blob/master/spaceship/README.md#2-step-verification
But I was not finding a way to add the FASTLANE_SESSION key on Heroku.
So i disabled the 2FA, and created the site on Heroku using the Boarding Template. It works perfectly until I active the 2FA again.
Once created the site, I could add the FASTLANE_SESSION key and use the code generated by fastlane spaceauth -u<EMAIL_ADDRESS>But it's not working, I still receiving a Sign In Request on my iPhone.
I'm doing something wrong? There's a misunderstanding from my part?
This is the log from Heroku
2017-07-07T12:27:02.394886+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=estimate-app.herokuapp.com request_id=9ce47ff3-ac6d-4db3-b793-a5f11407e532 fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https 2017-07-07T12:27:03.249389+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=estimate-app.herokuapp.com request_id=147485d1-614a-4844-8c34-65caa21d188c fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https
Thanks

@KrauseFx could you help me?

You could create a separate account with a random password that doesn't have 2 factor enabled as a workaround for now :+1:

Thanks @KrauseFx, I thought that could may have another way to use my account with 2FA.
By the way, I think you could add this tip on the Getting Started tutorial
Thanks again

@KrauseFx any updates?

I updated the docs guide, however I should probably add this to boarding also, does this help? https://github.com/fastlane/docs/pull/504

Let me know what you think

These all make sense, but there's no way to provide FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD and FASTLANE_SESSION from Heroku Buildpack.
Any way, great job as always.


Design decisions

I also have two further additions in mind that might follow within the next month. Of course I would provide them to be merged when finished. As the initiator of this project I would like to hear what design you prefer for these two features:

On one side I need the webcam information from the settings page so I could either define a new pojo structure for these settings or I could directly create a more generic approach: A Map of Strings containing every settings value as a string. Then you could access every current and future setting by SettingsCommand.getMap().get("server.diskspace.warning"). I'd prefer the generic solution, that way you can get all settings and not just those we mapped. Also all settings can be received at once (no need to call the api twice and always just parse one section).
I think some more exception handling might be nice. At least I would like to get some feedback if api key is invalid and it might also be nice to get an exception if connection to api failed for some reasons. If so, would you prefer checked or unchecked exceptions? RuntimeExceptions might not be the best design but on the other side adding checked exceptions to every method of the command clases is also not that pretty.

P.S. Github does not offer a private messaging system, does it?

No, I believe it had a PM system a while ago but has since killed it.
Thinking about the SettingsCommand class I see what you're thinking. Originally I only had need of the TempProfiles but since that API call returns all the settings it would be nice to go through them in a more generic way. Right now you can do getAllSettings() and return a JSONObject of them all. This is similar to the Map idea, that's the underlying structure anyway. Some of the settings return other objects instead of just strings so a java map structure would need to be like a Map<String,Object>. An example of the full results is in the settings.json test file.
I agree some better error handling would be nice. The REST API returns HTTP status codes. Right now the HTTP class just fails out if the expected results aren't returned. Although it would change things a bit I think a good approach could be to change the executeQuery() and executeUpdate() methods to return an object (OctoPrintHttpResponse? or similar) that contains the returned result (JSONObject) plus the http status code. Each Command class could then decide to either a) throw an exception or b) handle the error. For some commands just handling the error and returning a boolean or null value may be appropriate. For others, like the API key being invalid, it may make sense to actually throw an exception back to the caller.  For the API error (401 in docs) the executeQuery() and executeUpdate() methods could actually throw this directly since it's kind of a show-stopper. Adding some kind of logging mechanism like sl4j or similar might also help here. That way the error could be logged but not necessarily throw an exception at runtime.
If you want to work on any of this that sounds great to me. I was looking through the docs and was thinking of adding some more command classes for some of the API endpoints that don't exist yet, like the System endpoint.

Sorry, haven't found the time to care about the exceotion handling and now I am away for 4 weeks and therefore unable to work on it. I hope I can get back on it in 1-2 months!

Sounds good, thanks for letting me know. Appreciate all your additions so far.


feat: Enhanced filters for argo {watch,get,submit}

Closes #2428
Adds --hide filter to argo {watch,get,submit}. Also converts existing --status filter to allow multiple entries. Examples:
$ argo watch steps-b7qbn
...
STEP                                PODNAME                 DURATION  MESSAGE
 ● steps-b7qbn (hello-hello-hello)
 └-·-● fail (fail)                  steps-b7qbn-2800569303  7s
   ├-✔ pass (pass)                  steps-b7qbn-1804334238  4s
   └-○ skip (pass)                                                    when 'True == False' evaluated false

$ argo watch steps-b7qbn --status Succeeded --status Skipped
...
STEP                                PODNAME                 DURATION  MESSAGE
   ├-✔ pass (pass)                  steps-b7qbn-1804334238  4s
   └-○ skip (pass)                                                    when 'True == False' evaluated false

$ argo submit --watch steps.yaml --hide Failed --hide Skipped
...
STEP                                PODNAME                 DURATION  MESSAGE
   ├-✔ pass (pass)                  steps-hy3fc-1804334238  4s
...

@simster7 @sarabala1979 this appears to have been abandoned?

Thanks @alexec. I have merged and resolved conflicts. Can either of you review please? @sarabala1979

Sure, good suggestion

Sure, good suggestion

Done, ready for another review


PHP install fails

On the master branch, php install no longer works, while it was working when master was last merged. Since there has been no code change, I imagine the issue is with the PHP remi repository or one of the URLs I've included associated with that. Needs to be investigated.

There was a conflict between php-redis and php-pecl-redis not automatically superseding the former. Resolved now.

Fixed in #61


Fix duplicate repo creation during re-indexing

@ggordonhall file uses a cache to identify which files have been updated since the last indexing, and will rotate those based on file paths.
Technically, we could also skip indexing a repo based on some other heuristic instead of deleting & recreating it every time. For instance, if the Repository object in the pool has a last_index_time > 0, just move on. This approach would create fewer Tantivy writes, but I don't believe in the grand scheme of things the difference would be material.


chore: bump safe-global/safe-deployments

What it solves
Bump @safe-global/safe-deployments to the latest version and update chain shortnames

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.251%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
784

Relevant Lines:
961

💛  - Coveralls


Translation is not correct

Description
[在此处输入反馈]

Page URL
https://learn.microsoft.com/zh-cn/aspnet/core/tutorials/first-web-api?view=aspnetcore-8.0&tabs=visual-studio
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/first-web-api.md
Document ID
95f2549e-29f9-e31a-b4d0-432b971643ff
Article author
@wadepickett

@tolerious, thanks very much for pointing this out.
That is very unusual.  The text that was added on the end of the instruction is not in the original en-us version it was translated from.
It translates back as:
In Solution Explorer, right-click the project. Select Add > New Folder. Name the folder Models and sign up for a free trial account.
What is interesting is that the period was deleted where the sentence should have ended in order to add this random phrase that should not be there: " and sign up for a free trial account."


'usvg' tool by Evgeniy Reizner

Evgeniy Reizner (@RazrFalcon ) is developing his ReSVG rasterizer, an MPL-licensed library written in Rust.
I've notified him about SVG Native last year, and now once again as the spec gets solidified. It seems that he's willing to support SVG Native, and perhaps might derive a more compact “ReSVG Native” version of the library.
It looks like currently, ReSVG uses its own image buffers and compositing rather than drawing to backends with contour methods (so it is, above all, a rasterizer). This may, of course, change.
One interesting aspect of the ReSVG project is his 'usvg' tool that creates a simplified SVG.
Currently, usvg uses his own Micro SVG subset of SVG which has significant overlap with SVG Native.
As SVG Native progresses, I think it’ll be wonderful to have two independent rasterizing implementations exist (the Adobe SVG Native Viewer and ReSVG), and of course a tool that is able to convert SVG to SVG Native.
If this project can lend any assistance to ReSVG, I think this would be highly beneficial for anyone interested in SVG Native.
Thanks!
Adam

Hi @twardoch. Thanks for your comment. This is the bug tracker for svg-native-viewer. I am going to close this issue as there is no issue reported with svg-native-viewer.

Yeah — I just wanted to make that connection. No reason to keep the issue open.


Configure external helpers via output formats

Hi,
The support of pandoc adds many options to possible output formats for Hugo. However, it is now limited to html output. I guess an incredible amount of flexibility would be added when external helpers, like pandoc, can be configured via the output formats configuration, e.g.
[mediaTypes]
  [mediaTypes."text/tex"]
    suffixes = ["tex"]

[outputFormats]
  [outputFormats.TeX]
    mediaType = "text/tex"
    helper = "pandoc"
    helperArgs = ["-t latex"]

This would make for a hassle-free way to generate PDF versions of web pages.
Or is this beyond the scope of Hugo?

So your general idea is great. We should definitively connect the "content renderer" (let us worry about the terms (as used in the config struct) later, but the "helper" is not great).

We currently have a one-to-many  from output format to "content renderer", using the extension to detect ad => asciidoc etc. We may need a way to express that here as well.
Currently we use always render with a layout (using the output format as one of the lookup keys); in your example I assume you don't want that. So we could add a noLayout flag, meaning just write .Content to disk.

Also, I'm not sure we can/would want to allow passing on arbitrary flags to helpers. We have no way to support everything and it has a lot of unknowns in the security department (pandoc may have a -exec flag for what I know).
@kaushalmodi @regisphilibert and gang may chime in with their view on this topic.

I'll go even though I might be missing something.
Not sure how this would work?
In the given example will Hugo load the pandoc Go Module itself? If so, how shall we install it? npm?
If so can't we already have hugo publish the file as is (template file: .Content) and let webpack handle the PDF conversion or else?

@regis Hugo already supports Pandoc.

@bep It might be an idea to use the suffix of the destination file to determine the output format for the renderer? In my example, since the destination has suffix ".tex", hugo can use pandoc as it supports TeX output. Eventually, one could specifically configure the renderer in the config file if the default doesn't suit.
Also, I think the current approach of determining the renderer based on the suffix of the content file conflicts with the idea of separating "form" and "content". Determining the renderer/output format based on the output file makes more sense, in my opinion.

Support for pandoc custom writers would be useful https://pandoc.org/MANUAL.html#custom-writers
Though this probably falls into the same realm of security concerns as

We have no way to support everything and it has a lot of unknowns in the security department (pandoc may have a -exec flag for what I know).

Worried about pandoc security? How about don't execute pandoc in the security context of hugo, then?

How about don't execute pandoc in the security context of hugo, then?

??

according to the fine manual,

If your application uses pandoc as a Haskell library (rather than shelling out to the executable), it is possible to use it in a mode that fully isolates pandoc from your file system, by running the pandoc operations in the PandocPure monad.

If your application uses pandoc as a Haskell library (rather than shelling out to the executable)

We don't use pandoc as a Haskell library. I'm guessing your next question would be "why not?"?

I suspect it's because you want to keep this an as-pure-as-possible Go project?
You could also feed the pandoc executable from stdin and take its output from stdout if you don't want it touching files directly. Perhaps even sanitize its output somehow.

I suspect it's because you want to keep this an as-pure-as-possible Go project?

That and the roads you propose all involve a lot of work + future maintainance work.

Someone might be willing to put in the work, if a reasonable design / roadmap to full asciidoc support in hugo becomes available. There seem to be quite a few asciidoc-related tickets and forum convos.
There is yet another way which involves next to zero work, by the way - put up a big warning sign HERE BE DRAGONS and just let users run asciidoc with "unsafe" settings if they so wish.


FxA: setup the doc

Doc creation
Update Readme.md
Update Summary.md

I can remove the Tips (on creating multiple email addresses). And once I hear back on the VPN requirement, we can update the section. Also the staging server link could change too.

@flodolo
1). Link could be long term but not sure. I will press to get a long term link setup if it is different from this one.
2). See if the error examples explain better this way.

@flodolo let me know if this is good to go now. Thanks for rounds of detailed input to get the doc to this stage.

I would still like to have some guarantee about the link not disappearing in a few days, without nobody noticing.

Thank you flod. I hope this has long staying power.  If this is not the one, I will try to get a permanent one and update here. That might happen when the next feature rolls out.


[Event Request] Codeunit 550 VAT Rate Change Conversion : OnBeforeStart…, OnAfterFinish…

Function: OnRun
Two publishers are required, one before the conversion is started and after it is finished.
1st publisher: OnBeforeStartConversion
2nd publisher: OnAfterFinishConversion

Parameter in both publishers:
VAR VATRateChangeSetup : Record "VAT Rate Change Setup"

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Introduce timer event.

This PR fixes issue #201.
Note: This PR needs #200.

This pullrequest is merged because the modification is handled by another Issue.


Install on ond MacOS

Hi.I hav.e a mac os 10.15.7 and i want to use this application,but minimum mac os is 11.0.Can you help me with this

Update MacOS?

Update MacOS?

I cant do that because i have an old mac

You could use Open Core Legacy Patcher to install a newer macOS version on an old mac.


Add string column num parameter when write excel file

Description
Add string column num parameter when write excel file
Type of change
Please insert 'x' one of the type of change.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[x] Refactoring, Maintenance
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Not used


Run with metasploit multi/handler

Hello,
How to set lhost and lport?I didn't find the options.

That would be something that is set when you create your shellcode.

Thank you


Add support for new iOS text content type cellular EID and cellular IMEI

Summary:
Support for new iOS text content type to autofill cellular EID or cellular IMEI:

https://developer.apple.com/documentation/uikit/uitextcontenttypecellulareid?language=objc
https://developer.apple.com/documentation/uikit/uitextcontenttypecellularimei?language=objc

Changelog:

[IOS] [ADDED] - new text content type cellular EID and cellular IMEI
Test Plan:

JavaScript Tests - yarn test [PASSED]

No errors related with the changes

Flow - yarn flow && yarn lint [PASSED]

No errors related with the changes

iOS Tests - ./scripts/objc-test.sh test [PASSED]

No errors related with the changes

Build RNTester [PASSED]

No errors related with the changes
Proof:

Note: Since the test was done using an iOS simulator the autofill suggestion won't appear for the cellularEID or cellularIMEI

@pasc0al thanks for working on this!

All the tests are failing with this error:

@pasc0al  Can you look at it and fix it?

All the tests are failing with this error:
@pasc0al Can you look at it and fix it?

Yes, I notice that the pipeline is targeting the iOS 17.0 - 17.2 and using Xcode 15.2

This feature was introduced in iOS 17.4, I believe by updating the pipeline configuration to use the latest Xcode version 15.3 and install the new iOS 17.4 SDK should work. I'm not aware the pipeline configuration file exists in the source code

Thanks for looking into that.
Updating the pipeline is not the right fix, anyway. On top of surrounding the code with:
if (@available(iOS 17.4, *)) {
 // ...
}

you should also add the #ifdef that actually excludes the code from being compiled.
This is an example of something like that
The first check is a runtime check: when the code runs, if the current os is 17.4, the code in the if branch is executed.
The second check is a compile time check. If the OS is 17.4, the code in the #ifdef is compiled. Otherwise it is stripped from the binary.

Thanks for looking into that. Updating the pipeline is not the right fix, anyway. On top of surrounding the code with:
if (@available(iOS 17.4, *)) {
 // ...
}

you should also add the #ifdef that actually excludes the code from being compiled. This is an example of something like that
The first check is a runtime check: when the code runs, if the current os is 17.4, the code in the if branch is executed. The second check is a compile time check. If the OS is 17.4, the code in the #ifdef is compiled. Otherwise it is stripped from the binary. We need both checks!

Condition added. Thanks for the tip

Thanks for looking into that. Updating the pipeline is not the right fix, anyway. On top of surrounding the code with:
if (@available(iOS 17.4, *)) {
 // ...
}

you should also add the #ifdef that actually excludes the code from being compiled. This is an example of something like that
The first check is a runtime check: when the code runs, if the current os is 17.4, the code in the if branch is executed. The second check is a compile time check. If the OS is 17.4, the code in the #ifdef is compiled. Otherwise it is stripped from the binary. We need both checks!

Condition added. Thanks for the tip

Sorry pressed the wrong button


chore: rename 'stable' -> 'main'

Changes tags with docs/discord.js/stable to docs/discord.js/main

My point still stands.

Most users will be using the main version of DJS — Most people are not aware that they'll be linked to the stable version, thus resulting in them browsing the wrong documentation version. In my opinion links that are not dedicated to the stable version should not use a less used version.
For example the install tag, which tells the user to npm install discord.js. Which will install the main version, but then the tag links them to the stable version.

To clear up some misunderstandings:

https://discord.js.org/#/docs/discord.js/stable used to be a magic short link for the latest stable release, this is no longer the case and outdated
https://discord.js.org/#/docs/discord.js/main represents the main branch in the discord.js GitHub repository, which is considered volatile and in-dev
"Most users will be using the main version of DJS"/ "Which will install the main version, but then [...]" - No, most users will be using the latest stable version installed through npm I discord.js this is not (!) main! main is the branch name of https://github.com/discordjs/discord.js 's main development branch! This branch is released every 12h as discord.js@dev to the npm registry.

The only solutions I could come up with so far is:

Sit tight and wait for the new docs site to go live
Update tag links on every stable release (I really don't like this option due to the overhead)

In any case, updating them to use the in-dev docs is not a considerable solution here, as Jiralite said:

"main" is not stable—it represents the current state of development, making this change incorrect. At the very least, one should probably use tagged versions, but that's up to @almostSouji here.


K8SPXC-1446 Add environment variables for MySQL state management in StatefulSet

CHANGE DESCRIPTION
Problem:
e2e test upgrade-consistency fails
Cause:
diff failing in one of the compare files
Solution:
Adding the NOTIFY_SOCKET and MYSQL_STATE_FILE env vars in the compare yaml files.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?
[ ] Are OpenShift compare files changed for E2E tests (compare/*-oc.yml)?

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Are all needed new/changed options added to the Helm Chart?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PXC version?
[ ] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

custom-users-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
passed

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
failure

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 42 out of 42

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1902/commits/9a16bbc9a46a8cf4f4f38ce04a9961714f0ee58f
image: perconalab/percona-xtradb-cluster-operator:PR-1902-9a16bbc9


feat(metrics): Add Fragment Level Exchange Metrics

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR implement Fragment Level Exchange metrics as shown

Must use >1 compute node to trigger this and the duplicate 2->1 shown is different compute node.
Please explain IN DETAIL what the changes are in this PR and why they are needed:
Checklist
Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)
closes #2986

Please allow more time for me to review this :) Meanwhile I'll also fix conflicts for you, don't worry about it.


Short solution needed: "Select LIKE query example with PHP PDO" (php-pdo)

Please help us write most modern and shortest code solution for this issue:
Select LIKE query example with PHP PDO (technology: php-pdo)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Select LIKE query example with PHP PDO


Extract resource-loading logic from ControllerResource into another class.

I was reading the source of ControllerResource to try to understand why an authorize_resource macro in our controller was authorizing a different resource than the one we expected. I found it quite hard to see what was going on, because all the logic for load_resource is mixed into the same class as that for authorize_resource.
This commit extracts all the loading logic into a new class called ControllerResource::Loader, and refactors some internal APIs in the process to support the interaction between Loader and ControllerResource. These refactorings include:

Extracing values that are a matter of definition (e.g. the options to before_filter and the lists of types of actions) into named constants.
Pulling some repeated expressions into their own methods, e.g. controller_action and collection_name.
Inlining some methods that are only called from one place, e.g. initial_attributes, id_param_key, resource_class_with_parent, params_methods, namespace.
Eliminate some overly long expressions, and reduce complexity of a few methods by flattening conditional blocks.
Using __send__ rather than send to avoid accidentally calling user-defined domain methods called send.

I'm not sure why all these merge commits are in this PR, I only intended for my own commit to be here.

Never mind, I rebased it on top of develop and it looks okay now.

:+1:

please rebase on feature/v2 branch

I think this was a nicely done work but we have too many conflicts with the current version.
A new refactoring of the current develop branch would be more then welcome. I'll close this PR. Thank you


Make node containers nonprivileged in iptables mode

Description

Make all the containers in calico-node run nonprivileged while running with the iptables dataplane.
For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

If this PR needs to go into v1.19 for the up coming enterprise release then once this is merged to master you'll need to cherry-pick into the release-v1.19 branch and add the Milestone of v1.19.0 to that PR.


onRedirect is required but not specified on the readme

<PayWithFlutterwave
onComplete={this.onSuccess()}
onRedirect={(params)=>this.onRedirect(params)}
  />

Hi @dammyson, thanks for pointing that out, we've made the necessary adjustments to the docs to reflect the required onRedirect prop, you also don't need the onComplete prop anymore that has been removed in favour of onRedirect.
I Will be closing this issue now as it's been resolved, thanks!


feat: add api-deployment HPA

This PR adds Horizontal Pod Autoscaling to api-deployment.

Not sure if this is needed - can reopen if it is.


Troubleshooting

Hello,
I'm having troubles with the application and making it work.  I have programmed it to AJAX POST the reported location off to a server and save it in a database.  When the app first starts up the background process it posts the data.  When I put the app into background mode, it updates once.  I then drive around 1.5 km and it sends no more updates.  I have played with the configuration but I can't seem to get it to report changes in location when in background mode.
These are my configuration options.
                desiredAccuracy: 10,
                activityType: "AutomotiveNavigation",
                debug: true

I am using an iPhone IOS7.1.  Can someone offer some insight in how I can test the background feature within my small house?  Is there additional debug info besides the noise notifications?
Thanks!

i have same issue my code is
configureBackgroundGeoLocation: function() {
// alert("configureBackgroundGeoLocation")
/**
* This would be your own callback for Ajax-requests after POSTing background geolocation to your server.
*/
// var yourAjaxCallback = function(response) {
// backgroundGeoLocation.finish();
// };
$scope.FromDate = $rootScope.getDateTime();
		/**
		   This is background-geolocation function start call
		*/
		var callbackFn = function(location) {

		var dateforinsert = $rootScope.getDateTime();
			var formData = {authToken:"aa56493sAafazxhaseafaovnappvaneioj",createdAt:$rootScope.getDateTime(),lat:location.latitude,lon:location.longitude};
				console.log(formData)

				$.ajax({
					url: "http://---IP address----/geoloc/save",
					dataType: 'json',
					type: "GET",
					crossDomain: true,
					data:formData,
					success: function(data){
						console.log(data);
						console.log(data['status'])
					},
					error: function(err){
						console.log(err);
					}
				});

				$rootScope.db.transaction(function(tx){
					tx.executeSql("INSERT INTO Tbl_BackgroundGeolocation(latitude, longitude,Created_Date) VALUES (?,?,?)",[location.latitude,location.longitude,dateforinsert],function(tx,res){

					});
				});

		};

		var failureFn = function(err) {
			// window.alert('BackgroundGeoLocation err: ' + JSON.stringify(err));
			console.log('BackgroundGeoLocation err: ' + JSON.stringify(err));
		};

		// BackgroundGeoLocation is highly configurable with location provider.
		backgroundGeoLocation.configure(callbackFn, failureFn, {
			desiredAccuracy: 10,
			stationaryRadius: 10,
			distanceFilter: 30,
			debug: true, //  enable this hear sounds for background-geolocation life-cycle.
			stopOnTerminate: false
	});

		// Turn ON the background-geolocation system.  The user will be tracked whenever they suspend the app.
		var settings = ENV.settings;

		if (settings.enabled == 'true') {
			app.startTracking();
			if (settings.aggressive == 'true') {
				backgroundGeoLocation.changePace(true);
			}
		}
	}

Please see the README of this repo for important announcement of this plugin.


Add requires function for checking module requirement

Description
fix #https://github.com/SuperDuperDB/superduperdb/issues/1651

Related Issues

Checklist

[ ] Is this code covered by new or existing unit tests or integration tests?
[ ] Did you run make unit-testing and make integration-testing successfully?
[ ] Do new classes, functions, methods and parameters all have docstrings?
[ ] Were existing docstrings updated, if necessary?
[ ] Was external documentation updated, if necessary?

Additional Notes or Comments

Codecov Report
Attention: Patch coverage is 53.57143% with 26 lines in your changes are missing coverage. Please review.

Project coverage is 66.74%. Comparing base (34830a7) to head (0686633).
 Consider uploading reports for the commit f410002 to get more accurate results

Files
Patch %
Lines

superduperdb/misc/annotations.py
50.94%
26 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1826       +/-   ##
===========================================
- Coverage   80.33%   66.74%   -13.60%
===========================================
  Files          95      125       +30
  Lines        6602     9283     +2681
===========================================
+ Hits         5304     6196      +892
- Misses       1298     3087     +1789

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


[Feature request] Only reload on request

I'm writing a sort of game engine and I would like to be able to only reload game code on request (say, when a user presses Cmd+R).
Is this currently possible with the library? I couldn't figure it out.
Thanks!

You can block reloads like it is done here: https://github.com/rksm/hot-lib-reloader-rs/blob/master/tests/lib-loader-test.rs#L48. As long as you don't drop the update_blocker token no update will happen, potentially indefinitely. The reload event example shows how you can do this in a separate async task (or with thread it work the same).
You can build a mechanism around that to block updates by default and then when a key is pressed you drop the token (if there is one) so that the update will run.


Add brand

Wouldn't this impact the existing portals? I thought you meant to fork the repo into your own account and use that one?

@forkfork  It was supposed to be pushed to brandsExclusive repo. I will fix it.


Fix linking libpcre when unused

As reported by galapagdos on the Crystal forum, crystal always links libpcre/libpcre2 even if you don not use regular expressions, and calls the function pcre2_config_8.
crystal build hello_world.cr
ldd hello_world # libpcre2 is linked even if regular expressions are not used

This occurs because begin is used in class_getter in the Regex::PCRE module (src/regex/pcre.cr).
I searched the Crystal code with grep command and could not find any other uses of begin in class_getters.
supplement
grep class_getter | grep begin

src/regex/pcre2.cr:  class_getter version_number : {Int32, Int32} = begin
src/regex/pcre.cr:  class_getter version_number : {Int32, Int32} = begin

According to crystal tool expand, the macro is expanded as below.
Before:
module Regex::PCRE2
  @@version_number : ::Tuple(Int32, Int32) = begin
    version = self.version
    dot = if __temp_98 = version.index('.')
            __temp_98
          else
            raise(RuntimeError.new("Invalid libpcre2 version"))
          end
    space = if __temp_105 = version.index(' ', dot)
              __temp_105
            else
              raise(RuntimeError.new("Invalid libpcre2 version"))
            end
    {(version.byte_slice(0, dot)).to_i, (version.byte_slice(dot + 1, (space - dot) - 1)).to_i(false)}
  end

  def self.version_number : ::Tuple(Int32, Int32)
    @@version_number
  end
end

After:
module Regex::PCRE2
  @@version_number : ::Tuple(Int32, Int32) | ::Nil

  def self.version_number : ::Tuple(Int32, Int32)
    if (value = @@version_number).nil?
      @@version_number = (begin
        version = self.version
        dot = (version.index('.')) || (raise(RuntimeError.new("Invalid libpcre2 version")))
        space = (version.index(' ', dot)) || (raise(RuntimeError.new("Invalid libpcre2 version")))
        {(version.byte_slice(0, dot)).to_i, (version.byte_slice(dot + 1, (space - dot) - 1)).to_i(strict: false)}
      end)
    else
      value
    end
  end
end

Could you please review if it's ok not to use begin here?
Thank you.

Good catch!
One difference is that instead of being allocated by the runtime when the application is starting (before concurrency & parallelism have started) it will now be lazily generated on demand. It's thus possible that it will be called from 2 threads at the same time. In this specific case, the worst that can happen is that they both generate & store the version number.
Another difference is that instead of being a Tuple(Int32, Int32) it's now a nilable type, and it must be checked every time.
Both aren't an issue for this specific case.


Support Jenkins configuration-as-code

https://github.com/jenkinsci/configuration-as-code-plugin

Not planning to add new features at this point in time


Boston FY21 Budget - ways and means comments

To<EMAIL_ADDRESS>Subject: Boston FY21 Budget, Defund police and invest in funding for public health and prevention
The City of Boston must reduce the Boston Police Department budget. The City Council needs to address a lack of investment in predominantly Black and Brown communities and an over-investment in their criminalization and surveillance including spending on the Boston Regional Intelligence Center (BRIC).
The City Council is considering a grant of $850,000 from the Executive of Public Safety to spend on the BRIC, in addition to $4 million in the City Budget and other federal funding from Trump’s Department of Homeland Security. The City Council should not authorize the grant and should cut the BRIC line item from our city budget. BRIC manages the racist gang database and invasive surveillance that disproportionately targets Black and Brown residents.
Now especially, the City Council can take a stand for racial justice by significantly defunding policing and investing in Black and Brown communities - starting with cutting the least transparent and most harmful parts of the BPD budget.
Racist police violence doesn’t just happen in other cities - it happens here in Boston too. The City Council must stop investing in targeted criminalization and surveillance, and fund what Black and Brown communities need to be safe and healthy: COVID19 relief, housing, healthcare, treatment, healing, cooperative businesses, community centers, community-led organizations and projects. I urge you to adopt the proposals of Councilmembers Wu and Campbell. The council must adopt Budge policies in line with the #8cantwait campaign and cannot stop there. You must invest invest in policies that support all of our communities, especially communities of color that have been over policed and subject to police harassment and violence.
Thank you,
[name and zip]

on it now

actually just going to edit the current Boston letter to include the city ways and means committee

also adding<EMAIL_ADDRESS>as well


can i konw Consumers consuming from this topic

i want know a topic has how many group.

how about this ? or you can share some more ideas

it could be searachable ？ how about it make a sheet like this.


go mod use latest version

Is there a way to force the latest version for dependencies.
e.g. my go.mod looks a bit like this:
replace(
    gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 => gopkg.in/yaml.v2 v2.2.7
    gopkg.in/yaml.v2 v2.0.0 => gopkg.in/yaml.v2 v2.2.7
    gopkg.in/yaml.v2 v2.1.0 => gopkg.in/yaml.v2 v2.2.7
    gopkg.in/yaml.v2 v2.2.0 => gopkg.in/yaml.v2 v2.2.7
    gopkg.in/yaml.v2 v2.2.1 => gopkg.in/yaml.v2 v2.2.7
    gopkg.in/yaml.v2 v2.2.2 => gopkg.in/yaml.v2 v2.2.7
    gopkg.in/yaml.v2 v2.2.3 => gopkg.in/yaml.v2 v2.2.7
    gopkg.in/yaml.v2 v2.2.4 => gopkg.in/yaml.v2 v2.2.7
    gopkg.in/yaml.v2 v2.2.5 => gopkg.in/yaml.v2 v2.2.7
    gopkg.in/yaml.v2 v2.2.6 => gopkg.in/yaml.v2 v2.2.7
)

can i do something like:
replace (
    gopkg.in/yaml.v2 v2.x.x => gopkg.in/yaml.v2 v2.2.7
)

My usecase is to prevent security flaws such as a  Billion Laughs Attack which is yaml.v2 is vulnerable to in <v.2.2.3

According to:
https://jfrog.com/blog/shift-left-security-with-golang-in-vs-code/
you can add this to your go.mod:
require (
    gopkg.in/yaml.v2 v2.3.0
)

But I just tried it and couldn't get it to work, so please let us know if you find a working solution.
Thanks.

@gmlewis i tried also. It does not work.

But I just tried it and couldn't get it to work, so please let us know if you find a working solution.

@gmlewis In what way did it not work? A require directive should work to ensure the mentioned version (or a later version) is selected. Maybe you had a replace directive too? Those take higher precedence.
If this issue isn't related to go-github, then some of the places listed in http://golang.org/wiki/Questions may help you get better answers.

@dmitshur - I'm away from my machine until 9/30, and I don't remember the details now.  When I return, I will try it out again and if it still fails, I'll share the details.  Thanks for the confirmation.

I apologize for the delay, but now I have investigated this once again... this time with Go version 1.15.5.
I started with this test case:
https://github.com/gmlewis/go-github/tree/master/example/newreposecret
and added this line to go.mod:
diff --git a/example/newreposecret/go.mod b/example/newreposecret/go.mod
index 5d05d95..1fa359a 100644
--- a/example/newreposecret/go.mod
+++ b/example/newreposecret/go.mod
@@ -6,4 +6,5 @@ require (
        github.com/GoKillers/libsodium-go v0.0.0-20171022220152-dd733721c3cb
        github.com/google/go-github/v33 v33.0.0
        golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
+       gopkg.in/yaml.v2 v2.3.0
 )

With Go v1.15.5, running go test ./... works fine.
However, the moment I type go mod tidy, that line is removed from go.mod, reverting to the earlier version v2.2.2 found in go.sum!  This was quite surprising, so I tried a couple of experiments:

I tried starting with the original go.sum.  Same results as above.
I tried deleting the original go.sum. Same results as above.

So it seems that this will work as long as you don't run go mod tidy!
I'll write a PR to updated this example and then close this issue.

Thanks for providing details @gmlewis. I'm able to reproduce the behavior you're seeing.
My current understanding is that it's working as intended per https://golang.org/ref/mod#go-mod-tidy. The gopkg.in/yaml.v2 module doesn't provide any relevant packages, so explicit upgrades to it are not maintained by go mod tidy. If the main module is modified to use gopkg.in/yaml.v2, then the explicit upgrade to v2.3.0 is preserved after running  go mod tidy.
I agree the behavior seems surprising in this situation where there's a reason to upgrade that module requirement due to a security concern in the otherwise selected v2.2.2 version, and it might be worth filing a cmd/go issue about it.


Deploy Twap Uniswap v3 bot on Base, Polygon, BNB Chain

Deploy Twap Uniswap v3 bot on Base, Polygon, BNB Chain with 0 Service Fee.

0xb4cA497A6b6486a2E83c37405E94824325eEbe9E - Binance Smart Chain
0x269DCa8DDDfB2B1668e9d2E9Fb55371207176dF2 - Base
0xD7bd0993950E71c9487846389633A3ef1a29dE56 - Polygon


Understanding the total time required to finish run

Thank you very much for bringing out BOLDigger2. My testing of this new version of BOLDigger with small fasta file containing 6 sequences was successful. I am, however, now trying to assign taxonomy to around 13K sequences via BOLDigger2 (command-line I used: boldigger2 identify ASVs.fa -thresholds 98) and I'm at the below step after having started the run 24 hrs back. Looking at the log below, I get the idea that the job is likely to run for 2+ days (49 hrs). I realize this is a huge query dataset and so, I don't mind the large computational time that may be required. It's just that I was hoping to get a rough estimate as to when my final results are going to be available given my current run stats (of course, I'm aware that a lot of this also depends on the Internet connection speed, BOLD server status etc.). Thank you very much in advance for your inputs.
Downloading top 100 hits: 100%|█████████████████████████████| 13147/13147 [16:05:40<00:00,  4.41s/it]
09:36:57: Species level top 100 records successfully downloaded.
09:36:57: Performing second login for requesting links from the all records database.
09:36:57: Trying to log in.
09:36:59: Login successful.
09:37:10: Starting to gather download links from the all records database.
09:40:38: Query size stays at 50.
09:44:14: Query size stays at 50.
09:47:39: Query size stays at 50.
09:50:46: Query size stays at 50.
09:55:47: BOLD did not respond. Retrying with reduced query size of 45.
10:00:48: BOLD did not respond. Retrying with reduced query size of 40.
10:05:49: BOLD did not respond. Retrying with reduced query size of 35.
10:10:50: BOLD did not respond. Retrying with reduced query size of 30.
10:15:51: BOLD did not respond. Retrying with reduced query size of 25.
10:20:52: BOLD did not respond. Retrying with reduced query size of 20.
10:25:53: BOLD did not respond. Retrying with reduced query size of 15.
10:30:18: Query size updated to 20.
10:33:22: Query size updated to 25.
10:36:22: Query size updated to 30.
10:39:32: Query size updated to 35.
Generating download links:   2%|▋                           | 290/12517 [1:02:21<49:03:51, 14.45s/it]

Just a quick update: Query size has got updated to 50 and so, can I hope this run to be finished within the next 24 hrs (since 17 hrs is displayed in the log)?
11:00:30: Query size stays at 50.
Generating download links:   4%|█▎                          | 560/12517 [1:23:20<17:27:35,  5.26s/it]

Hi Anto,
for those large datasets  it will take multiple days to finish. At your current state I'd estimate another 24h at least, however this is hard to estimate, since it depends on a lot of things I cannot control. It will need to download all the links it generated from the 2nd round + all the additional data.

@DominikBuchner many thanks for your prompt response and I completely understand your point. Will close this issue for now.

Sorry, I'm reopening this. The run for this dataset has not finished despite running for more than 3 days and this morning, I found it terminated with the below messages. Any ideas as to what might be going on here @DominikBuchner Many thanks in advance.
P.S. I'm now attempting to resume this job by entering the same initial command-line
04:25:20: Downloaded top 100 hits of all records for ASV_5231
Downloading top 100 hits:  96%|███████████████████████████▉ | 12033/12517 [18:42:22<36:34,  4.53s/it]Traceback (most recent call last):
  File "/home/tools/conda_python3.10_env/bin/boldigger2", line 8, in <module>
    sys.exit(main())
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/boldigger2/__main__.py", line 87, in main
    id_engine_coi.main(
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/boldigger2/id_engine_coi.py", line 654, in main
    asyncio.run(
  File "/home/tools/conda_python3.10_env/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/home/tools/conda_python3.10_env/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/boldigger2/id_engine_coi.py", line 385, in as_session
    return await tqdm_asyncio.gather(*tasks, desc="Downloading top 100 hits")
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/tqdm/asyncio.py", line 79, in gather
    res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/tqdm/asyncio.py", line 79, in <listcomp>
    res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
  File "/home/tools/conda_python3.10_env/lib/python3.10/asyncio/tasks.py", line 571, in _wait_for_one
    return f.result()  # May raise f.exception().
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/tqdm/asyncio.py", line 76, in wrap_awaitable
    return i, await f
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/boldigger2/id_engine_coi.py", line 351, in limit_concurrency
    return await as_request(
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/boldigger2/id_engine_coi.py", line 226, in as_request
    response_table = pd.read_html(
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/pandas/io/html.py", line 1240, in read_html
    return _parse(
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/pandas/io/html.py", line 1003, in _parse
    raise retained
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/pandas/io/html.py", line 983, in _parse
    tables = p.parse_tables()
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/pandas/io/html.py", line 249, in parse_tables
    tables = self._parse_tables(self._build_doc(), self.match, self.attrs)
  File "/home/tools/conda_python3.10_env/lib/python3.10/site-packages/pandas/io/html.py", line 598, in _parse_tables
    raise ValueError("No tables found")
ValueError: No tables found
Downloading top 100 hits:  96%|███████████████████████████▉ | 12033/12517 [18:42:37<45:09,  5.60s/it]

Just restarting with the same command should fix it and it should continue at the point where it stopped. If this is not the case, please upload all files generated to far so I can try to reproduce this error.

Any news here, or can I close the issue?

Thanks for checking on this. The run hasn't finished yet and I'm seeing messages such as "BOLD API overloaded" and so on. I would like to wait and see if the run this ultimately finish without errors and then close this issue.

@DominikBuchner The above BOLDigger2 run for 13K sequences got terminated again with the error ```
line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='www.boldsystems.org', port=80): Max retries exceeded with url:
I've restarted it but this is really the 7th day of running. I've yet another comparatively smaller job of nearly 4K sequences and it has not finished despite now running for more than 5 days. I believe BOLDigger version 1 would have taken less than 6 hours to output the results for 4K sequences. The only reason I had to stop using version 1 is cos' it had started to give me a login-related issue (an error which popped out of the blue one day and that which wasn't there in my early days of using the version 1). Is there any way that users can go back to using version 1? If things stand as they are, I'm not sure if BOLDigger2 will ultimately end up being as useful as the version 1 and I worry that many users like me will be forced to abandon altogether the use of BOLDigger tool (which would be a real shame considering how useful the tool originally was). Apologies for the bluntness in my rant and I realize that perhaps changes at the BOLD server end might also be proving disadvantageous to your intentions.

Hi jant, I fixed the login issue for boldigger-cline which should be fully
operational again. Regarding your rant: I get your frustration however I
did serious Benchmarking to make sure boldigger2 is faster despite much
more data being downloaded. Bold recently limited their API bandwidth to 3
requests per minute from the former 40 per minute, that's why the
additional data download takes much longer now.
Would you be willing to upload your fasta here, so I can use it for another
benchmark?
Best Dominik
Jant007 @.***> schrieb am So., 30. Juni 2024, 08:16:

@DominikBuchner https://github.com/DominikBuchner The above BOLDigger2
run for 13K sequences got terminated again with the error ```
line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='
www.boldsystems.org', port=80): Max retries exceeded with url:
I've restarted it but this is really the 7th day of running. I've yet another comparatively smaller job of nearly 4K sequences and it has not finished despite now running for more than 5 days. I believe BOLDigger version 1 would have taken less than 6 hours to output the results for 4K sequences. The only reason I had to stop using version 1 is cos' it had started to give me a login-related issue (an error which popped out of the blue one day and that which wasn't there in my early days of using the version 1). Is there any way that users can go back to using version 1? If things stand as they are, I'm not sure if BOLDigger2 will ultimately end up being as useful as the version 1 and I worry that many users like me will be forced to abandon altogether the use of BOLDigger tool (which would be a real shame considering how useful the tool originally was). Apologies for the bluntness in my rant and I realize that perhaps changes at the BOLD server end might also be proving disadvantageous to your intentions.
—
Reply to this email directly, view it on GitHub
https://github.com/DominikBuchner/BOLDigger2/issues/14#issuecomment-2198449220,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJH6ILH4DGS4CGAJUN5TJV3ZJ6PFRAVCNFSM6AAAAABJZJLLSCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGQ2DSMRSGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you very much @DominikBuchner for your prompt response and I truly appreciate your bench-marking efforts. Sure, I can share with you here the smaller dataset (fasta file with .txt extension to comply with the GitHub attachment policy) out of the two (n=4689 sequences).
ASVs-no-contam-numts-final-clean.fa.txt
boldigger-cline still throws up errors for me and I wouldn't have been surprised if I have had issues since the beginning. The strange thing is errors started cropping up only a couple of months back and not anytime before. Up until that point I was successful in getting the results all the time and I've not made any changes in my conda environment either. Below is the code I used for the same fasta file as above but reformatted via seqkit (seqkit seq -w0 ASVs-no-contam-numts-final-clean.fa > 2line_ASVs-no-contam-numts-final-clean.fa)
boldigger-cline --version
2.2.1
boldigger-cline ie_coi username password 2line_ASVs-no-contam-numts-final-clean.fa boldigger1_results 50
Traceback (most recent call last):
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/util/connection.py", line 72, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/home/tools/conda_python3.9_env/lib/python3.9/socket.py", line 953, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 404, in _make_request
    self._validate_conn(conn)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1060, in _validate_conn
    conn.connect()
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connection.py", line 363, in connect
    self.sock = conn = self._new_conn()
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x15537a6857c0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='boldsystems.org', port=443): Max retries exceeded with url: /index.php/Login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x15537a6857c0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tools/conda_python3.9_env/bin/boldigger-cline", line 8, in <module>
    sys.exit(main())
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/boldigger_cline/__main__.py", line 87, in main
    boldblast_coi.main(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/boldigger_cline/boldblast_coi.py", line 14, in main
    session = login(username, password, certs)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/boldigger_cline/login.py", line 34, in login
    session.post("https://boldsystems.org/index.php/Login", data=data)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/sessions.py", line 637, in post
    return self.request("POST", url, data=data, json=json, **kwargs)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/adapters.py", line 700, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='boldsystems.org', port=443): Max retries exceeded with url: /index.php/Login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x15537a6857c0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Update: I tried running boldigger-cline without specifying the batch size and it seems to be stuck at the Requesting BOLD stage since the past 20 minutes or so.
boldigger-cline ie_coi username password 2line_ASVs-no-contam-numts-final-clean.fa boldigger1_results
Login successful.
14:38:20: Requesting BOLD. This will take a while.
Requesting BOLD:   0%|                                                        | 0/94 [00:00<?, ?it/s]

Can you try to query the specified batch via the website? My assumption is, that we have a broken record here.

Ah i already figured it. For Boldigger-cline you need it to format to 2-line fasta

Thanks again for your responnse @DominikBuchner  but sorry, I do not understand what you're saying. As I mentioned in the above post, the input fasta file was already formatted via seqkit (seqkit seq -w0 ASVs-no-contam-numts-final-clean.fa > 2line_ASVs-no-contam-numts-final-clean.fa)

Ah okay, yeah I overread this one. Let's see how it goes.

Thanks and just in case you missed, I've also attached a fasta file in one of my earlier posts for your bench-marking efforts

yes, it is already running.

My boldigger-cline (boldigger version 1) job for the same 4689 sequences that I shared with you finished in about 12 hours (I had to skip mentioning the batch size in the command-line to avoid the errors I mentioned in my previous post) while the boldigger2 task for the same set of sequences is still running into the 6th day

I see. BOLDigger2 will take ~2 days for the whole dataset, BUT it will download almost 10-fold more data. It looks like the special issue of this dataset is that the majority of sequences (>80%) don't receive a species-level assignment after the first round. Therefore, every sequence will have to be identified twice, greatly increasing the runtime. I assume this is some kind of eDNA dataset? Anyways: I believe the longer runtime is justified, since the result will most probably be more precise. I also realised that BOLD hat some downtimes recently, which I cannot change but will break a webscraper regardless of the version used.
IMHO: Greater runtime is justified if you have more accurate results. However, I'll try to keep BOLDigger and BOLDigger-cline up to date for the remainder of the year to make the transition easier.

Thank you for your feedback.Yes this is an eDNA dataset. Would you know why I get errors on BOLDigger-cline these days when I specify the batch size as 50 but not when I don't specify any batch-size. What is the default batch-size when nothing is specified? It used to run smoothly for me a couple of months back when  I used to specify batch-size as 50 for similar eDNA datasets. The below are the errors (as posted previously).
boldigger-cline --version
2.2.1
boldigger-cline ie_coi username password 2line_ASVs-no-contam-numts-final-clean.fa boldigger1_results 50
Traceback (most recent call last):
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/util/connection.py", line 72, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/home/tools/conda_python3.9_env/lib/python3.9/socket.py", line 953, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 404, in _make_request
    self._validate_conn(conn)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1060, in _validate_conn
    conn.connect()
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connection.py", line 363, in connect
    self.sock = conn = self._new_conn()
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x15537a6857c0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='boldsystems.org', port=443): Max retries exceeded with url: /index.php/Login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x15537a6857c0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tools/conda_python3.9_env/bin/boldigger-cline", line 8, in <module>
    sys.exit(main())
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/boldigger_cline/__main__.py", line 87, in main
    boldblast_coi.main(
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/boldigger_cline/boldblast_coi.py", line 14, in main
    session = login(username, password, certs)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/boldigger_cline/login.py", line 34, in login
    session.post("https://boldsystems.org/index.php/Login", data=data)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/sessions.py", line 637, in post
    return self.request("POST", url, data=data, json=json, **kwargs)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/adapters.py", line 700, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='boldsystems.org', port=443): Max retries exceeded with url: /index.php/Login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x15537a6857c0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Default batch size is 50, so this is confusing. I'll try to reproduce this,
however the error is kind of cryptic. Can you please try "pip install
--upgrade urllib3" and tell me if the error persists?
Jant007 @.***> schrieb am Di., 2. Juli 2024, 07:20:

Thank you for your feedback.Yes this is an eDNA dataset. Would you know
why I get errors on BOLDigger-cline these days when I specify the batch
size as 50 but not when I don't specify any batch-size. What is the default
batch-size when nothing is specified? It used to run smoothly for me a
couple of months back when I used to specify batch-size as 50 for similar
eDNA datasets. The below are the errors (as posted previously).
boldigger-cline --version
2.2.1
boldigger-cline ie_coi username password 2line_ASVs-no-contam-numts-final-clean.fa boldigger1_results 50
Traceback (most recent call last):
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/home/tools/conda_python3.9_env/lib/python3.9/socket.py", line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 404, in _make_request
self._validate_conn(conn)
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1060, in _validate_conn
conn.connect()
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connection.py", line 363, in connect
self.sock = conn = self._new_conn()
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x15537a6857c0>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/adapters.py", line 667, in send
resp = conn.urlopen(
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/connectionpool.py", line 801, in urlopen
retries = retries.increment(
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/urllib3/util/retry.py", line 594, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='boldsystems.org', port=443): Max retries exceeded with url: /index.php/Login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x15537a6857c0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tools/conda_python3.9_env/bin/boldigger-cline", line 8, in
sys.exit(main())
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/boldigger_cline/main.py", line 87, in main
boldblast_coi.main(
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/boldigger_cline/boldblast_coi.py", line 14, in main
session = login(username, password, certs)
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/boldigger_cline/login.py", line 34, in login
session.post("https://boldsystems.org/index.php/Login", data=data)
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/tools/conda_python3.9_env/lib/python3.9/site-packages/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='boldsystems.org', port=443): Max retries exceeded with url: /index.php/Login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x15537a6857c0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
—
Reply to this email directly, view it on GitHub
https://github.com/DominikBuchner/BOLDigger2/issues/14#issuecomment-2201957417,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJH6ILEDBC4J7AEVEWKYEWDZKI2C7AVCNFSM6AAAAABJZJLLSCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBRHE2TONBRG4
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

I retried BOLDigger-cline by specifying batch size of 50 (and without the urllib3 upgrade) but this time around, it did not give me those cryptic errors and the run was successful. Strange! There are some warnings ```
FutureWarning: Passing literal html to 'read_html' is deprecated and will be removed in a future version. To read from a literal string, wrap it in a 'StringIO' object.
tables = pd.read_html(r.text, header = 0, converters = {'Similarity (%)': float}, flavor = 'html5lib')

I realized that I messed up the error handling for the additional data download, that's why it times out so often and takes so long. Will fix this ASAP, for me your ~5k Seq dataset finished in 30h, so not too bad.

That is a welcome development. I look forward to testing BOLDigger2 again once the fix is applied. Thank you again


Cosmos GraphDb Emulator Support

Hi,
The local cosmos emulator supports the graph / gremlin interface and it would be really cool if this extension could support that too. It would be (to my knowledge) the only way to show the emulator graph locally. I am already trying to localte the neccessary changes but since im new to extensions, there are probably people who are better suited. From what i´ve seen so far, the problem is that it assumes ssl for connecting to gremlin, yet the local emulator does not support that. It has to be connected to by the https protocol but with useSSL: false. At least when connecting from C#.

The last time we looked into this, the emulator explicitly said that it does not support graphs or tables.  Is that no longer the case?

The emulator now supports graphs. There is an option to connect to a graph, but I'm unable to query the emulator graph using that option. "unexpected server response (200)"

Yes this would be great if we could disable the option that requires SSL in the extension settings so we can connect to the Cosmos DB emulator that supports running the graph/gremlin database on a non-secure port.

Is there any update on this?

Is there any update on this?

Now a year later ... still relevant XD Any updates?

Now a year later ... still relevant XD Any updates?


Issues with python builtins in CVXPY 1.0

I've been working in a virtual environment with CVXPY manually installed from source from the feature/dccp branch. Upon switching to a manual install from the 1.0 branch in order to use OSQP as my solver, I'm getting some weird errors when trying to run the below snippet (which worked fine previously):
from cvxpy import *
import numpy as np

# Generate data
k = 300
p = 300
n = 5000

np.random.seed(1)
D = np.random.rand(k, p)
# normalize D so that each column has L2 norm <= 1
for i in range(p):
    D[:, i] = D[:, i] / np.sqrt(np.sum(D[:, i]**2))

A = np.identity(min(p, n))
B = np.tile(A, int(np.ceil(n/p)))

Traceback (most recent call last):
  File "SC_test.py", line 22, in main
    A = np.identity(min(p, n))
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/atoms/min.py", line 28, in min
    return -max(-x, axis=axis)
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/atoms/max.py", line 31, in __init__
    super(max, self).__init__(x, axis=axis, keepdims=keepdims)
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/atoms/axis_atom.py", line 36, in __init__
    super(AxisAtom, self).__init__(expr)
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/atoms/atom.py", line 44, in __init__
    self.validate_arguments()
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/atoms/axis_atom.py", line 61, in validate_arguments
    raise ValueError("Invalid argument for axis.")
ValueError: Invalid argument for axis.

It essentially is throwing errors for any python builtins I'm using-- e.g. min() throws an error but np.minimum() does not, and the same for sum() but not for np.sum().
Here is my system information:
cvxpy==1.0.0
cvxopt==1.1.9
numpy==1.13.3
scipy==1.0.0
CVXcanon uninstalled (caused errors)

Any suggestions on why this might be happening?

I uninstalled CVXcanon because of this error
Traceback (most recent call last):
  File "SC_test.py", line 1, in <module>
    from cvxpy import *
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/__init__.py", line 21, in <module>
    from cvxpy.atoms import *
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/atoms/__init__.py", line 20, in <module>
    from cvxpy.atoms.geo_mean import geo_mean
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/atoms/geo_mean.py", line 23, in <module>
    from cvxpy.utilities.power_tools import (fracify, decompose, approx_error, lower_bound,
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/utilities/power_tools.py", line 21, in <module>
    from cvxpy.atoms.affine.reshape import reshape
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/atoms/affine/reshape.py", line 20, in <module>
    from cvxpy.atoms.affine.affine_atom import AffAtom
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/atoms/affine/affine_atom.py", line 25, in <module>
    from cvxpy.CVXcanon.python import canonInterface
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/CVXcanon/python/canonInterface.py", line 32, in <module>
    import cvxpy.CVXcanon.python.CVXcanon as CVXcanon
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/CVXcanon/python/CVXcanon.py", line 229, in <module>
    class LinOp(_object):
  File ".../lib/python2.7/site-packages/cvxpy-1.0.0-py2.7-linux-x86_64.egg/cvxpy/CVXcanon/python/CVXcanon.py", line 247, in LinOp
    __swig_setmethods__["data_ndim"] = _CVXcanon.LinOp_data_ndim_set
AttributeError: 'module' object has no attribute 'LinOp_data_ndim_set'

It's not installed by cvxpy 1.0 automatically as it is for other versions of cvxpy, so I thought this was fine.

Resolved. If you use import * from cvxpy, the new naming conventions in 1.0 override python builtin functions such as sum(), min(), and max(). So the options are to change the import call or otherwise not use python builtins.

This might be something worth refactoring, for ease of use.

Thanks for investigating this! I'm surprised DCCP still works with 1.0 actually. I hadn't refactored it yet. I'll update all the examples to the new import cvxpy as cv pattern.

@SteveDiamond No problem. I didn't actually use DCCP in 1.0 so I can't speak for that.


Support latest Typst version

Using current Typst master at commit typst/typst@d84a7e423b53e9b5740720270b132da60c8a3fea, the example document from https://typst.app/universe/package/ctheorems/ yields warnings:
warning: `state.display` is deprecated
    ┌─ @preview/ctheorems:1.1.2/lib.typ:167:2
    │
167 │   thm-qed-done.display()
    │   ^^^^^^^^^^^^^^^^^^^^^^
    │
    = hint: use `state.get` in a `context` expression instead

warning: `locate` with callback function is deprecated
   ┌─ @preview/ctheorems:1.1.2/lib.typ:37:15
   │
37 │         result = locate(loc => {
   │ ╭────────────────^
38 │ │         return thmcounters.update(thmpair => {
39 │ │           let counters = thmpair.at("counters")
40 │ │           // Manually update heading counter
   · │
76 │ │         })
77 │ │       })
   │ ╰────────^
   │
   = hint: use a `context` expression instead

warning: `state.display` is deprecated
   ┌─ @preview/ctheorems:1.1.2/lib.typ:79:15
   │
79 │         number = thmcounters.display(x => {
   │ ╭────────────────^
80 │ │         return global_numbering(numbering, ..x.at("latest"))
81 │ │       })
   │ ╰────────^
   │
   = hint: use `state.get` in a `context` expression instead

warning: `locate` with callback function is deprecated
    ┌─ @preview/ctheorems:1.1.2/lib.typ:203:2
    │
203 │ ╭   locate(loc => {
204 │ │     if thm-qed-done.at(loc) == false {
205 │ │       h(1fr)
206 │ │       thm-qed-show
207 │ │     }
208 │ │   })
    │ ╰────^
    │
    = hint: use a `context` expression instead

warning: calling `query` with a location is deprecated
    ┌─ @preview/ctheorems:1.1.2/lib.typ:240:15
    │
240 │     let thms = query(selector(<meta:thmenvcounter>).after(loc), loc)
    │                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    │
    = hint: try removing the location argument

Also, the text inside theorems gets centered, which is unwanted:

Hi @jeanas, I think the authors are preparing for a v2.0.0 release compatible with the current typst master. See
https://github.com/sahasatvik/typst-theorems/tree/v2.0.0

In the meantime before this is fixed, I'm gonna shamelessly advertise my new package great-theorems ;)
You can achieve basically all the same things as ctheorems, the main difference is that I separate counters and theorems strictly, and put counters into a separate package which is usable on its own. This allows you to e.g. have figures and theorems use the same counter (which can depend on the heading counter).
For the counter functionality you can use one of the two packages rich-counters or headcount.


Using with MonoMac - but which sqlite3.dll?

I'm developing a cross-platform application for .NET 4.5/Monomac. I decided to use sqlite with this great connector and under Windows it works perfectly.
But before creating my OSX bundle I need an sqlite3.dll assembly for OSX/Mono. But where? Please help me to find it.
Thank you guys

btw i'ts okay if I can use the built-in sqllite3 in osx 10.9...somehow:)

okay, I've rewrited the path to "/var/lib/sqllite3" and its okay. But in this way I have to compile one version for OSX and one for Win, so it's far not the best solution.

Hello, yes using the one built-in to the OS is best.
The nuget package sqlite-net-pcl takes care of all of this for you.


Send integrationInfo with each request

:tada: This issue has been resolved in version 0.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Leave and re-enter asciimatics mode?

Hi @peterbrittain –
Is there a way to leave and re-enter asciimatics mode? I.e., to close and reopen the Screen?
Use case: To open a pdb session at some point in my program and inspect the state, ideally with the ability to continue the program afterwards.

It is possible using the Screen.open() and Screen.close() methods, but as you can see in the docs, that means you have a new screen object after the open call and so need to plumb that through to the rest of your code.
I guess you could make use of the existing logic to resize and throw a new exception that you catch in the main loop, close the screen and invoke the debugger, but you will lose some program state.  I typically use logging rather than pdb for this reason.

That works great, thank you!


The dataset in Google Cloud Disk is empty. Where can I download the dataset used in the paper?

The dataset in Google Cloud Disk is empty. Where can I download the dataset used in the paper?

https://www.kaggle.com/datasets/ymirsky/network-attack-dataset-kitsune/
You should be able to find the attack dataset here.

This can probably be closed now too


WIP: add etcd-kubernetes-resources-count-exporter to default apps for clou…

…d director
Towards: https://github.com/giantswarm/giantswarm/issues/25482
This PR:

adds/changes/removes etc

Testing
Description on how {APP-NAME} can be tested.

[ ] fresh install works
[ ] upgrade from previous version works

Checklist

[ ] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.

Superseeded by https://github.com/giantswarm/default-apps-vsphere/pull/100


More info for implement this action Readme

Hi, thanks for providing this action 👏
I'd like to contribute by adding additional information on how to implement this action. When I was looking for a way to implement it in my project (using CocoaPods), I couldn't find clear instructions.
I tried implementing other actions, but they didn't work as expected. Then, I went back and searched in the issues to see if it could be used with CocoaPods. I found this issue, which provided a successful implementation.
That's why I'd like to contribute by adding an example of how to implement it with CocoaPods.

@LucasGinard Thanks for enhancing the documentation.
I've made some changes to your initial patch:

Removed the icon from the title

It's our company logo, not an icon specific to this action.

Removed the section describing compatibility

The compatibility for this action is simple: If you can use xcodebuild, you can use this action. I can this statement to the README, but I think it should be obvious. 😉

Removed the section describing the action input

As mentioned in the description for the action input in action.yml, this is the same as xcodebuilds action parameter. So as with all other inputs, the description for it can be found in man xcodebuild. I don't want to keep this README up to date with changes to how parameters of xcodebuild works. Also, we don't do any special input validation - we just pass it on to xcodebuild.
I did, however, add a note about man xcodebuild to the "Inputs" section.

I re-structured the "Examples" section into having three expandable details blocks: One for Swift packages, one for normal Xcode projects and one for workspaces. IMHO it's not required to have a special example for CocoaPods, since it simply uses workspaces.


Test / Verify against SLES

We would like to expand the K3s OS support matrix and include SUSE Linux Enterprise Server 15 SP2

Prioritize first testing with 1.20.x, then 1.19, then 1.18. Ideally include 1.17.

Bonus: Briefly smoke test on openSUSE Leap (latest).

Following issues were seen with apparmor enabled systems
Deletion of a pod with hostPath backend Persistent Volume hangs on Terminating state.
Warning  FailedKillPod  48s (x10 over 2m45s)  kubelet            error killing pod: [failed to "KillContainer" for "task-pv-container" with KillContainerError: "rpc error: code = Unknown desc = failed to stop container \"84d35e9c1cba07a8aa20b2754cb8c5159b0dd192413461560ac761d3a515f4e3\": unknown error after kill: runc did not terminate successfully: container_linux.go:418: signaling init process caused: permission denied\n: unknown", failed to "KillPodSandbox" for "66207d25-e2e9-4c74-aef7-cc74f089dea7" with KillPodSandboxError: "rpc error: code = Unknown desc = failed to stop container \"84d35e9c1cba07a8aa20b2754cb8c5159b0dd192413461560ac761d3a515f4e3\": failed to kill container \"84d35e9c1cba07a8aa20b2754cb8c5159b0dd192413461560ac761d3a515f4e3\": unknown error after kill: runc did not terminate successfully: container_linux.go:418: signaling init process caused: permission denied\n: unknown"]

Validated on k3s version 1.19.7+k3s1 and v1.20.2+k3s1 with apparmor disabled at boot.
Cluster config: 2 node, 1 master, 1 agent
Rancher version: v2.5.6-rc3
On v1.19.7+k3s1
Passed following validations:

Conformance test
k3s as an imported cluster
k3s as a local management cluster
Upgrade of imported cluster from v1.19.7+k3s1 to v1.20.2+k3s1 and run upgrade checks

On v1.20.2+k3s1
Passed following validations:

Conformance test
k3s as an imported cluster
Upgrade of imported cluster from v1.19.7+k3s1 to v1.20.2+k3s1 and run upgrade checks

v1.20.2 is not supported as local management cluster for rancher as of current release.
Keeping issue open to validate with apparmor fix and for now holding off on testing v1.18 and v1.17

Following issues were seen with apparmor enabled systems
Deletion of a pod with hostPath backend Persistent Volume hangs on Terminating state.
Warning  FailedKillPod  48s (x10 over 2m45s)  kubelet            error killing pod: [failed to "KillContainer" for "task-pv-container" with KillContainerError: "rpc error: code = Unknown desc = failed to stop container \"84d35e9c1cba07a8aa20b2754cb8c5159b0dd192413461560ac761d3a515f4e3\": unknown error after kill: runc did not terminate successfully: container_linux.go:418: signaling init process caused: permission denied\n: unknown", failed to "KillPodSandbox" for "66207d25-e2e9-4c74-aef7-cc74f089dea7" with KillPodSandboxError: "rpc error: code = Unknown desc = failed to stop container \"84d35e9c1cba07a8aa20b2754cb8c5159b0dd192413461560ac761d3a515f4e3\": failed to kill container \"84d35e9c1cba07a8aa20b2754cb8c5159b0dd192413461560ac761d3a515f4e3\": unknown error after kill: runc did not terminate successfully: container_linux.go:418: signaling init process caused: permission denied\n: unknown"]

Validated on k3s version 1.19.7+k3s1 and v1.20.2+k3s1 with apparmor disabled at boot.
Cluster config: 2 node, 1 master, 1 agent
Rancher version: v2.5.6-rc3
On v1.19.7+k3s1
Passed following validations:

Conformance test
k3s as an imported cluster
k3s as a local management cluster
Upgrade of imported cluster from v1.19.7+k3s1 to v1.20.2+k3s1 and run upgrade checks

On v1.20.2+k3s1
Passed following validations:

Conformance test
k3s as an imported cluster
Upgrade of imported cluster from v1.19.7+k3s1 to v1.20.2+k3s1 and run upgrade checks

v1.20.2 is not supported as local management cluster for rancher as of current release.
Keeping issue open to validate with apparmor fix and for now holding off on testing v1.18 and v1.17

Apparmor fix is in on K3s 1.18,1.19,1.20 and RKE2 1.19,1.20.

Apparmor fix is in on K3s 1.18,1.19,1.20 and RKE2 1.19,1.20.

I have validated the fixes using commits on k3s lines 1.18 (8c9608b26f07e96a7445f46eeb341a90a33b68a7), 1.19 (e34ffdba565067bce8a9da5b79d226f2aad7de4c), and 1.20 (1d85a6a30a781ba8644c8f7e3ceec3cc0d21238b). Standard regression checks and smoketests pass. Will validate conformance and upgrade checks during standard release testing, and then we can close this as validated for the support matrix.

Release testing on SLES looks good. The new releases in 1.18, 1.19, and 1.20 should be good to use from now going forward.


on Develop branch, changes for ELK integration.

Assumption for ELK integration:

Customer keep the default path of logs.
Customer keep the configured http log format.
Customer keep the default time format of server and domain logs.

Changes:
Modified in pom.xml
Increase the version number.
Modified in src/main/arm/createUiDefinition.json
Add tag for ELK integration.
Create inputs for ELK settings.
Modified in src/main/arm/mainTemplate.json
Add elk linked template deployment.
Output log index.
Modified in src/main/arm/nestedtemplates/elkNestedTemplate.json
Linked template for ELK integration.
Create vm extension to set up ELK on admin server.
Output log index.
Modified in src/main/scripts/elkIntegration.sh
Configure admin server to extend http log format.
Configure admin server to enable Redirect stdout logging enabled and Redirect stderr logging enabled
Install Logstash.
Configure Logstash to parse and weblogic logs and redirect the logs to Elastcisearch.

@edburns  I made small changes:

Create a function to ensure admin server has been shutdown before restart, as Sanjay found that the current restart function cause #164 intermittently
Add UI info element for memory requirement, need more memory when deploying from portal.


Fix ReaderHandler in WebSocket Proxy

Motivation
This is the same issue as https://github.com/apache/incubator-pulsar/pull/875

👍


Weather Sensor Doesn't Work In A Machine

When doing a recipe requiring rain (type: 1) it shows in jei requires clear weather and the item will never craft

is this going to be released as an update soon?


No longer working

Origami has recently stopped working for me. Keys don't seem to be bound, and no Origami options in command palette.
I have tried uninstall/reinstall. I have uninstalled all other packages to ensure another package isn't polluting the key mappings. No errors seen in console.

The Python plugins didn't load. You should check whether the package is in ignored_packages (even though it should not after an installation) or whether the Origami folder exists at all.

@FichteFoll that was it, listed under ignored packages (with some others)! I have no idea how that got in there, haven't ever changed that myself. Plus, as you say, would expect uninstall/reinstall to revert that.
Whatever the case, I'm happy to now have my beloved Origami back :bomb:
Sorry for clogging up the issue tracker with what amounted to a personal help request

It was likely an issue with Package Control.


Doesn't work when building multiple webpacks

TypeError: Cannot read property 'forEach' of undefined
at buildModuleMap (/my_server/node_modules/webpack-hot-middleware/middleware.js:73:10)
You can export an array of webpack configs rather than just a single one. I am currently doing this in an isomorphic app which has a normal bundle for the client and then a second bundle to do server-side rendering.
The stats returned from the webpack compiler plugin might have an array of "children" to look in rather than a top-level "modules".

I had no idea you could do that!
Happy to take a PR which fixes buildModuleMap to handle this. Unsure whether it should send all the bundle maps, or just pick the client one.

Looks like the fix is more complicated than previously thought, see https://github.com/glenjamin/webpack-hot-middleware/pull/19#issuecomment-141678411 for reference.

Fixed by #71


Improve handling of eject.

As discussed in #511
This is my initial stab at improving eject.
It removes initit as a dependency and instead manipulates the current working directory to look like the starter and uses execa, that was already a dependency, to run npm install.
Was it something like this you recommended @jxnblk ?
Fixes #511

Also I didn't really find any tests, if I missed them please point me in the right direction and I will have a look 😄

Thanks! This looks great! I don't think there were any e2e tests for this before, so no worries about testing. I think if this works with monkey-testing, that should be fine for functionality like this and since the code is fairly straightforward.
I'll try to pull this down in a bit and try it out locally before merging


Remove apache cookie manipulation for horizon

Adding the secure and httponly attributes to horizon cookies was causing CSRF validation failures when using ajax panels. These attributes can be set using django settings. With this fix, I've enabled the next gen instance panel and made the legacy panel disabled by default.

retest