Could not create Loom File depending on settings

Describe the bug
I am just starting up. I have my obsidian attachments set to go to a folder attachments subordinate to the md file in question.
If Look is set with Create New Loom in attachment folder OFF, all is fine (albeit the loom is created at the vault root which is bad).
If toggled ON I get error "Loom file could not be created"
If I set a specific Looms Folder it is OK.
Steps to reproduce
As above
Expected behavior
Does not work as expected with Attachments folders unless a specific attachment folder is set. This needs to be much clearer.
Are you using the mobile app?
No
Obsidian debug info
Not relevant
Relevant log output
Loom file could not be created

Fixed in 8.9.0.


radare2

It's strange, IMHO, you've mentioned Hopper, but not a slightest word about radare2 :(
And its iOS support is constantly improving, including debugging capabilities: http://radare.today/posts/radare-0-10-0/

@XVilka I think I've totally missed this tool. Will take a look later and get back to you if I have any questions. Thanks for the tips ;)

@XVilka Just installed radare2 and took a little peek at it, seems to be really powerful. Will take a look at it when the Chinese Spring festival comes. Can you suggest any tutorial to follow?

@iosre there are:

a book https://radare.gitbooks.io/radare2book/content/
a training https://github.com/XVilka/hacklu - see pdf in the repository
a blog http://radare.today/
and of course and embedded help - "?" and add it to any command to get some help

And last advice - since r2 is very fluent, sleek and actively developed moving target, better to use it from git.

@XVilka seems the author of radare2 wants the users to reverse right inside Terminal, and all operations are a little bit more complicated than Hopper. Anything more powerful than Hopper?

It works.

You can batch analysis and patching with r2 more easily than in a graphical application, commandline have lot of benefits compared to the GUIs, but it requires some time to get used, anyway, r2 have web interfaces that are wip but easy to improve, i personally prefer to use the shell than clicking stuff in a window.
If you have any specific need for iOS to be supported in r2 just let me know in the github issues page. Everything can be improved. ANd yes, there are native GUIs, i wrote two closed source ones, but as long as nobody cared at all ive never released them. writing guis is boring, users tend to complain about silly issues and are harder to distribute/deploy/maintain, when the real interest of the tool is in the core APIs, commandline interface and scripting.


Update split_documents.go

@ujjwall-R can you fix this PR? it has no description and linting is failing

Have you tried using the split text?
I corrected it locally then its working.

@ujjwall-R I'm going to close this due to inactivity but feel free to re-open.


.titleCase()

Why doesn’t .titleCase() just use the titlecase package?
Related to #7…

You're welcome to use the library. It just doesn't match the rest of the case conversions, so I won't be including it. Thanks for the link.


Laravel 11.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 11.x.
Before merging, you need to:

Checkout the l11-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^10.5. If you would like to also upgrade your tests, you may run the PHPUnit 10 Shift for free.

:warning: Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 11. However, you should review these changes to ensure the desired combination of versions are built for your package.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/tall-interactive.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "ralphjsmit/tall-interactive": "dev-l11-compatibility",
    }
}

Finally, run: composer update


Universal constraint sampler

This PR adds a new sampler that supports nonlinear/linear equality/inequality constraints and NChooseKConstraints as discussed in #314. This only works for continuous inputs. In principle also batch constraints (and all other constraints you can compute a jacobian for) are supported, but since the returned sample is sampled from a larger set of candidates, the batch structure is no longer respected. By adapting the sampling logic in this last step this method can be made available for batch constraints. Closes #314.

Hi @Osburg,
Thanks for the PR, I will have a look over the Christmas days. Sorry for the delay.
Best,
Johannes

is it on purpose that you inherit from the SamplerStrategy, because then you also inherit from their the handling of NChooseKs, which is totally fine for me, but I just wanted to ask ;)

Thanks for pointing this out :) This was not my intention, I did not pay attention apparently. So I guess I should let UniversalConstraintSampler inherit from Strategy instead?

Yep, I would then recommend to inherit from Strategy.


Cannot create diagnostic settings for a subscription

Describe the bug
When trying to create diagnostic settings for a subscription, the command fails. Error seem to indicate that a resource group is required, but since its a subscription this cannot be provided.
$ az monitor diagnostic-settings create --name "Event logs" --resource "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
usage: az monitor diagnostic-settings create [-h] [--verbose] [--debug] [--output {json,jsonc,table,tsv,yaml,none}] [--query JMESPATH]
                                             [--subscription _SUBSCRIPTION] --name NAME --resource RESOURCE_URI [--logs LOGS]
                                             [--metrics METRICS] [--event-hub EVENT_HUB] [--event-hub-rule EVENT_HUB_RULE]
                                             [--storage-account STORAGE_ACCOUNT] [--workspace WORKSPACE] [--resource-namespace NAMESPACE]
                                             [--resource-parent PARENT] [--resource-type RESOURCE_TYPE]
                                             [--resource-group RESOURCE_GROUP_NAME]
az monitor diagnostic-settings create: error: 'resource_group'

To Reproduce
Run the following command:
az monitor diagnostic-settings create --name "Event logs" --resource "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Additional parameters does not alter the outcome.
Expected behavior
Expected a diagnostic setting to be created for the subscription.
Environment summary
Tested on both MacOS and Windows.
MacOS:
macOS-10.15.3-x86_64-i386-64bit
Python 3.8.1
Shell: bash
azure-cli 2.0.79
Ubuntu (WSL):
Linux-4.4.0-17134-Microsoft-x86_64-with-debian-buster-sid
Python 3.6.5
Shell: bash
azure-cli 2.0.81
Additional context
Ran into the issue when trying to send activity logs from a subscription to an event hub.

hi @MyronFanQiu could you pls have a look? thanks.

Seems like it only possible to set the activity log diagnostic setting via ARM templates: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings-template

add to S167.

This seems to be what causes my issue, resource ID is expected to contain a resource group: https://github.com/Azure/azure-cli/blob/85ad0a4219c67289080d95ab26af67bd5ecd6460/src/azure-cli/azure/cli/command_modules/monitor/validators.py#L147-L149
When using az monitor diagnostic-settings list, the command uses Azure SDK instead which can fetch the resource by subscription ID: https://github.com/Azure/azure-sdk-for-python/blob/a1e731815288831c1c11750db734c6735934987c/sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2017_05_01_preview/operations/_diagnostic_settings_operations.py#L61

@larsakerlund Hello. Thanks for the investigation. Currently, resourceUri must be a resource id of a resource. CLI cannot create a diagnostic settings for a subscription.
 Note

Since you can't create a diagnostic setting for the Azure Activity log using PowerShell or CLI like diagnostic settings for other Azure resources, create a Resource Manager template for the Activity log using the information in this article and deploy the template using PowerShell or CLI.

Looks like it's the limitation of the service. I will add service attention to invite someone to help you answer the question.

This is a limitation of CLI today.  If you are trying to create a diagnostic setting for subscription to export Activity Logs, you can automate it via Azure Resource Manager (ARM) template
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings-template

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>


[Feature Request]: Upgrade stencil version

Requirements before reporting

[X] No duplicated issue reported
[X] I have checked the latest version if the feature exist there

Type of feature request
Other
What is your feature request?
Just to stay up to date on all bug fixes and feature updates.
Latest released version: https://github.com/ionic-team/stencil/releases/tag/v4.12.5
Looks like this one fixes some issues in creating standalone components for Angular, which since Angular 17 is the perfered way of creating components.
Background
Always good to be up to date on dependancies. Feels like we did a lot of work to upgrade stencil and node deps and would be a shame if we'd fall behind again.
Idea
No response
Goals and objectives
No response
Timeline
No response
Resources
No response
Contact information
No response

@mJarsater thanks for reminder!

I have created PR for this one ;)


Add a test framework - Example

It would be great if the boilerplate came loaded with a test framework setup with a example test.
I dunno if that is within the scope of this.

There's a rich conversation about this very topic over in #80

@danthareja I apologize for not seeing that sooner, i did a basic search, but must have glanced over that one.

@jamesblack - no problem! just pointing you in the right direction :)


TO API Tests: Added steering role for steering user to log in with

What does this PR (Pull Request) do?
When I made #3507, I forgot to make a role that reflects the steering (level 15) permissions.
Which Traffic Control components are affected by this PR?

Traffic Ops Tests

What is the best way to verify this PR?
Run the tests
The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary

Nothing new is added

[x] This PR includes documentation OR I have explained why documentation is unnecessary

Nothing new is added

[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary

Nothing new is added

[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

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


Override functions

I need to edit a jqtouch native function, but I would not edit jqtouch library. Can I override the function using an external and custom .js?

You could try using our extension system which gives direct access to the jQTouch object. Perhaps also say what you are trying to do-


Tx data still in Frontier offline database after Reorgs

Description
The tx data is still present in the Frontier offline database, even after a Reorg excluded this transaction from the canonical chain. Therefore, in the Frontier offline database, exist two transactions with the same from account, same nonce, but only one of them is truly valid.
The problem we found is that an RPC node with this tx in the database will return a valid Tx Receipt when it is requested, even though the transaction is not in the Substrate block. A freshly synced RPC node did not returned the invalid transaction.
Also, the tx hash of the "invalid transaction" is not shown when calling eth_getBlockByNumber.
Steps to Reproduce
It is hard to reproduce. But I can point you to a couple of transactions (one OK and one invalid) that return receipts with status: 0x1.
Tx (hash) not included in Substrate Block 525474 (Moonriver): 0xbd608b77c9610eb6de36a14ee924b16716c4e3c24824f414886eb8d73f07e40f
Tx (hash) not included in Substrate Block 525475 (Moonriver): 0x6dc3ecc51080ad9628b112027310f0d7094224520ce1667be44514f4d9472caf
Looking into the Substrate blocks via Subscan, the transaction of block 525474 is not there, contrary to that of block 525475. Same is true when requesting each block by number using the Ethereum RPC:
Block 252474:
curl https://rpc.moonriver.moonbeam.network -H "Content-Type:application/json;charset=utf-8" -d \
'{
"jsonrpc":"2.0",
"id":1,
"method":"eth_getBlockByNumber",
"params": ["0x804A2", true]
}'

Block 252475:
curl https://rpc.moonriver.moonbeam.network -H "Content-Type:application/json;charset=utf-8" -d \
'{
"jsonrpc":"2.0",
"id":1,
"method":"eth_getBlockByNumber",
"params": ["0x804A3", true]
}'

Environment
Moonriver v0.12.2
Runtime: 600
Frontier Version: https://github.com/PureStake/frontier/tree/6da65d9405cb8eac8e2b8c9397182b8fca128f88
Logs, Errors or Screenshots
To check the tx receipt:
525474 Tx (Not included in Moonriver Substrate Block): https://moonbeam-explorer.netlify.app/tx/0xbd608b77c9610eb6de36a14ee924b16716c4e3c24824f414886eb8d73f07e40f?network=Moonriver
525475 Tx (Included in Moonriver Substrate Block): https://moonbeam-explorer.netlify.app/tx/0x6dc3ecc51080ad9628b112027310f0d7094224520ce1667be44514f4d9472caf?network=Moonriver
Additional Information

According to @nanocryk the correct behavior is that the node should only return the receipt if the transaction is in the best chain. A node's view of the best chain can and does change as it syncs blocks. Therefore, it is acceptable and common behavior for a node to change its response to the same query as its view of the chain changes.
Currently in Frontier, the node will give a receipt even if the block is not canonical.
Design question for @tgmichel or @sorpaas Should this be fixed:

At the RPC level. When we find a receipt we check whether the block is canon before returning.
At the mapping sync level. When a re-org happens in Substrate, we update the frontier database accordingly.

@JoshOrndorff thank you for the reply.
I think it would be hard to handle that at the mapping level, cause it would mean to re-import blocks when they become or not canonical.


username added with color

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

What's wrong here not to pass workflow?


Multiple errors on Amass, rgf , portscan, masscan , gowitness, etc while running scan.

Hi,
First of all thanks for the wonderful tool which you have created I very impressive and really liked the web UI part
, however when I installed and ran it on my VPS server with OS running Debian 9 on 10$ digital ocean machine. I encountered multiple issues when I ran the command :
./osmedeus.py -t hackerone.com -m subdomain,portscan,vuln --report full
[*] Execute: /root/Osmedeus/plugins/go/amass enum -timeout 10 -active -max-dns-queries 10000 -include-unresolvable -dir /root/.osmedeus/workspaces/hackerone.com/subdomain/amass-hackerone.com -d hackerone.com -o /root/.osmedeus/workspaces/hackerone.com/subdomain/hackerone.com-amass.txt
flag provided but not defined: -include-unresolvable

[*] Execute: /root/Osmedeus/plugins/go/rgf -dir /root/.osmedeus/workspaces/hackerone.com/fingerprint/responses/ | tee /root/.osmedeus/workspaces/hackerone.com/fingerprint/rgf-all-hackerone.com.txt
/bin/sh: 1: /root/Osmedeus/plugins/go/rgf: not found

[*] Execute: /root/Osmedeus/lib/alias/portscan -i hackerone.com -o '/root/.osmedeus/workspaces/hackerone.com/portscan/hackerone.com' -s '/root/.osmedeus/workspaces/hackerone.com/portscan/summary.txt' -p '/root/Osmedeus/plugins'
FAIL: unknown command-line parameter "hackerone.com"
 [hint] did you want "--hackerone.com"?
[*] Execute: sudo masscan --rate 10000 -p0-65535 hackerone.com -oX /root/.osmedeus/workspaces/hackerone.com/portscan/hackerone.com.xml --wait 0
[-] No open port found

[*] Execute: /root/Osmedeus/plugins/go/gowitness file -s /root/.osmedeus/workspaces/hackerone.com/vulnscan/scheme-hackerone.com.txt -t 30 --log-level fatal --destination  /root/.osmedeus/workspaces/hackerone.com/vulnscan/screenshot/raw-gowitness/ --db /root/.osmedeus/workspaces/hackerone.com/vulnscan/screenshot/gowitness.db
Error: unknown shorthand flag: 's' in -s

[*] Execute: /root/Osmedeus/plugins/go/gowitness report generate -n /root/.osmedeus/workspaces/hackerone.com/vulnscan/screenshot/hackerone.com-raw-gowitness.html --destination /root/.osmedeus/workspaces/hackerone.com/vulnscan/screenshot/raw-gowitness/ --db /root/.osmedeus/workspaces/hackerone.com/vulnscan/screenshot/gowitness.db
Error: unknown shorthand flag: 'n' in -n_

Have also attached the log, Please let me know if you need anything.
Errors.log
I installed the tool by using the commands mentioned on the github page:
git clone https://github.com/j3ssie/Osmedeus
cd Osmedeus
./install.sh

I am also having this issue with amass.

Solved in #176 .There is also a PR for this error

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0


Line chart uses blocks instead of lines

Hi, I'm on Arch Linux and running this demo from GNOME Terminal. The Line chart font is not displaying correctly, is there a font I need to install?

Thank you for reaching out @hi019. This could be one of two things. It is either that the used font doesn't support unicode characters, or that the used terminal isn't compatible with termbox-go.
Can you try running the demo using tcell instead? The documentation for tcell is here:
https://github.com/mum4k/termdash/wiki/Tcell-API
An example of using tcell with termdash is here:
https://github.com/mum4k/termdash/blob/2a7dafa3a835dbe45d9a6eaa2f22e184666c8065/termdashdemo/termdashdemo.go#L489-L490
If this doesn't solve it, can you try it in a different terminal application and with a few different fonts to try to isolate the culprit?

Hi, sorry for my late reply. Since this is an issue on my end, I'm going to close this issue and update you if there is anything new. Thanks.

Thank you @hi019, please don't hesitate to reach out if you will have any questions.


update readme with cicd changes for after release

Added change to read me to point the example for UMD to the CICD pipeline output hosted via gh-pages.

Re-based with Main Branch to include the CICD changes.


Dependency updates

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

Project coverage is 65.71%. Comparing base (d80a7af) to head (8e52b58).

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3859    +/-   ##
========================================
  Coverage   65.71%   65.71%
========================================
  Files         515      515
  Lines        9999     9999
  Branches     2198     2357   +159
========================================
  Hits         6571     6571
+ Misses       3424     3180   -244
- Partials        4      248   +244

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


New generated project missing some files

Hi:
When I use rebar3 new rebar3_riak_core name=tanodb to generate riak_core project, the result is
huanzh@linux:~/project/riak_core$ rebar3 new rebar3_riak_core name=tanodb
===> Writing tanodb/apps/tanodb/src/tanodb.app.src
===> Writing tanodb/apps/tanodb/src/tanodb.erl
===> Writing tanodb/apps/tanodb/src/tanodb_app.erl
===> Writing tanodb/apps/tanodb/src/tanodb_sup.erl
===> Writing tanodb/apps/tanodb/src/tanodb_console.erl
===> Writing tanodb/apps/tanodb/src/tanodb_vnode.erl
===> Writing tanodb/rebar.config
===> Writing tanodb/.editorconfig
===> Writing tanodb/.gitignore
===> Writing tanodb/README.rst
===> Writing tanodb/Makefile
===> Writing tanodb/config/admin_bin
===> Writing tanodb/priv/01-tanodb.schema
===> Writing tanodb/config/advanced.config
===> Writing tanodb/config/vars.config
===> Writing tanodb/config/vars_dev1.config
===> Writing tanodb/config/vars_dev2.config
===> Writing tanodb/config/vars_dev3.config

And this is your result
===> Writing tanodb/apps/tanodb/src/tanodb.app.src
===> Writing tanodb/apps/tanodb/src/tanodb.erl
===> Writing tanodb/apps/tanodb/src/tanodb_app.erl
===> Writing tanodb/apps/tanodb/src/tanodb_sup.erl
===> Writing tanodb/apps/tanodb/src/tanodb_console.erl
===> Writing tanodb/apps/tanodb/src/tanodb_vnode.erl
===> Writing tanodb/rebar.config
===> Writing tanodb/.editorconfig
===> Writing tanodb/.gitignore
===> Writing tanodb/README.rst
===> Writing tanodb/Makefile
===> Writing tanodb/config/nodetool
===> Writing tanodb/config/extended_bin
===> Writing tanodb/config/admin_bin
===> Writing tanodb/config/config.schema
===> Writing tanodb/config/advanced.config
===> Writing tanodb/config/sys.config
===> Writing tanodb/config/vars.config
===> Writing tanodb/config/vars_dev1.config
===> Writing tanodb/config/vars_dev2.config
===> Writing tanodb/config/vars_dev3.config
===> Writing tanodb/config/vm.args
===> Writing tanodb/config/dev1_vm.args
===> Writing tanodb/config/dev2_vm.args
===> Writing tanodb/config/dev3_vm.args

my rebar3 version is
huanzh@linux:~/project/riak_core$ rebar3 -v
rebar 3.2.0 on Erlang/OTP 18 Erts 7.3

it's ok
it's because a plugin we are using takes care of all the files that are not there
thanks for reporting!
PS: if you find any issue let me know.

I meet problem the same as #9, the solution about #9 is ok, now I can start the node,
huanzh@linux:~/project/riak_core/tanodb$ make release

......

huanzh@linux:~/project/riak_core/tanodb$ make console
cd _build/default/rel/tanodb && ./bin/tanodb console
Exec: /usr/local/lib/erlang/erts-7.3/bin/erlexec -boot /home/huanzh/project/riak_core/tanodb/_build/default/rel/tanodb/releases/0.1.0/tanodb -boot_var ERTS_LIB_DIR /usr/local/lib/erlang/erts-7.3/../lib  -mode embedded  -config /home/huanzh/project/riak_core/tanodb/_build/default/rel/tanodb/generated.conf/app.2<IP_ADDRESS>.56.06.config -args_file /home/huanzh/project/riak_core/tanodb/_build/default/rel/tanodb/generated.conf/vm.2<IP_ADDRESS>.56.06.args -vm_args /home/huanzh/project/riak_core/tanodb/_build/default/rel/tanodb/generated.conf/vm.2<IP_ADDRESS>.56.06.args  -- console
Root: /home/huanzh/project/riak_core/tanodb/_build/default/rel/tanodb
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:2:2] [async-threads:64] [hipe] [kernel-poll:true]

Setup running ...
Directories verified. Res = {[ok],[]}
Setup finished processing hooks ...
21:56:07.311 [info] Application lager started on node<EMAIL_ADDRESS>21:56:07.314 [info] Starting reporters with []
21:56:07.315 [info] Application exometer_core started on node<EMAIL_ADDRESS>21:56:07.315 [info] Application poolboy started on node<EMAIL_ADDRESS>21:56:07.316 [info] Application pbkdf2 started on node<EMAIL_ADDRESS>21:56:07.317 [info] Application eleveldb started on node<EMAIL_ADDRESS>21:56:07.326 [info] Application sasl started on node<EMAIL_ADDRESS>21:56:07.327 [info] Application basho_stats started on node<EMAIL_ADDRESS>21:56:07.333 [info] Application os_mon started on node<EMAIL_ADDRESS>21:56:07.340 [info] Application riak_sysmon started on node<EMAIL_ADDRESS>21:56:07.341 [info] Application crypto started on node<EMAIL_ADDRESS>21:56:07.398 [info] New capability: {riak_core,vnode_routing} = proxy
21:56:07.405 [info] New capability: {riak_core,staged_joins} = true
21:56:07.411 [info] New capability: {riak_core,resizable_ring} = true
21:56:07.421 [info] New capability: {riak_core,fold_req_version} = v2
21:56:07.425 [info] New capability: {riak_core,security} = true
21:56:07.429 [info] New capability: {riak_core,bucket_types} = true
21:56:07.433 [info] New capability: {riak_core,net_ticktime} = true
Eshell V7.3  (abort with ^G)
(tanodb@<IP_ADDRESS>)1>
(tanodb@<IP_ADDRESS>)1>
(tanodb@<IP_ADDRESS>)1>
(tanodb@<IP_ADDRESS>)1>
(tanodb@<IP_ADDRESS>)1>

I am reading your book "little-riak-core-book", the cmd in section 1.6 "Playing with Clustering" can't pass, and the error report
huanzh@linux:~/project/riak_core/tanodb$ make dev1-console
/home/huanzh/project/riak_core/tanodb/_build/dev1/rel/tanodb/bin/tanodb console
vm.args needs to have a -name parameter.
  -sname is not supported.
  couldn't find 'nodename' in ../tanodb_config/tanodb.conf
  $PWD is /home/huanzh/project/riak_core/tanodb

Please tell me how to solve this problem, thank you :)

I have solved above problem by using this fork
https://github.com/wudixiaotie/rebar3_template_riak_core


Fix Rosetta account creation fee reporting and improve testing

This PR fixes an issue where account creation fees were wrongfully reported in the situation where the account was created by an internal command instead of a user command.
This was both manually tested against a specific situation where the issue was initially found and by running rosetta-cli on the same network.
Additionally, this PR bundles some changes to improve the Construction API testing using rosetta-cli:

The process of broadcasting a transaction is now split in two. First, we do a dry-run with a "fake" fee, which performs exactly as a normal run except for the part where the payload is signed and submitted. Then, we generate the actual payload that is signed and submitted which is identical to the first one, except that the fee used is the suggested fee returned by the dry-run payload.
A new DSL file was added with a workflow to return all the funds distributed to the accounts created in the testing process to a predefined account. This is useful in a situation where we don't want the funds distributed to be completely lost after the test.
/network/status endpoint implementation now populates the .sync_status.synced field, which is useful for rosetta-cli testing as this is used to automatically identify whether or not the node is behind the tip.

!ci-build-me

!ci-build-me

!ci-build-me

!ci-nightly-me

!ci-build-me

!ci-nightly-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-nightly-me

https://buildkite.com/o-1-labs-2/mina-end-to-end-nightlies/builds/1196

!approved-for-mainnet


GraphMap mapping beyond the ends of reference sequences

I'm a little confused as to what's going on here. I'm trying to map contigs from a different assembly (generated from the same input nanopore reads) to the 33 longest contigs in an assembly, and getting mappings that extend past the end of the contig. Here are a couple of demonstrative images, first the assembly mapped to itself:
t3_contigs_2017-May-17.pdf
And next an assembly with slightly different assembly parameters mapped to the same contigs:
t3_2_contigs_2017-May-17.pdf
The text on each line appears at the end of the contig, so there are at least 6 mappings that extend past the end. I thought something along the lines of "okay, so it's got a good mapping to the start, and just extends the read as far as it can".  The odd thing is that there are INDELs defined past the end of the contig, which makes no sense to me.

Hi David!
Thanks for the report!
This bug has the same base as the Issue #60 which I just closed. Try doing a pull, make modules and make.
The problem was a bug introduced in the last release which caused a faulty check of reference bounds. In your case, that happened for reverse complemented sequences only. I did a synthetic check for your situation locally and managed to reproduce it, and in the version 0.5.2 it is now fixed.
Thanks again!
Best regards,
Ivan.


Don't try to open Windows PDBs on Linux

Fixes #1832

There's one more place where the library tries to load Windows modules - WindowsDeviceToVolumeMap.Initialize(), so probably there needs to be a platform check in Trace.CodeAddresss.OpenPdbForModuleFile() (TraceLog.cs:8606)

It would be helpful to understand the goal for this PR.  TraceEvent doesn't currently have any support for loading symbols when run on non-Windows systems.  I think it's reasonable to make things fail gracefully, but want to have a bit more context.


Build distributes the distribution-packages under the file structure of the code.

Build distributes the distribution-packages under the file structure of the code.
This makes is exceptionally hard to quickly build a new version of lucid-evolution and test against them by replacing lucid-evolution node-module files with ones you just created.
Am I missing something ?  maybe a script that organizes and gives you the binaries in a way you can use them immediately ?

Every package in our repository has its own package.json file, which includes build scripts. You can either run pnpm build from the root folder to build all packages, or navigate to a specific package directory, like packages/lucid, and run pnpm build there.
For quick compiled version for testing, you can use the following commands inside the packages/lucid directory:
pnpm build & pnpm pack
This will generate a compiled version that you can use to test against any project you have. Additionally, if you want to test specific functionality, you can create a test file inside the test folder. You can find the test folder here: https://github.com/Anastasia-Labs/lucid-evolution/tree/main/packages/lucid/test

pnpm pack that's the magic word I was looking for. Thank you!

@solidsnakedev  can you point me in the direction of some instructions on how to pack and load lucid-evolution from code into a npm project ( I need to test in the browser )
Ps. I would love some feed back on my q in https://github.com/Anastasia-Labs/lucid-evolution/pull/139

if you want to install the official package, you can go to https://www.npmjs.com/package/@lucid-evolution/lucid , otherwise if you want to install your own custom version, follow the instructions mentioned above

if you want to install the official package, you can go to https://www.npmjs.com/package/@lucid-evolution/lucid , otherwise if you want to install your own custom version, follow the instructions mentioned above

Yes, i pnpm pack (after some fixes to to package.json) now I have a zip file of lucid evolution. How do I then import that package into another pnpm or npm project ?
I am trying to contribute here installing the official package will not really help....

Once you have the tarball (*.tgz) file, you can copy it to the root folder of any pnpm project and specify it as a dependency like:
"dependencies": {
    "@lucid-evolution/lucid": "file:file_name.tgz",
  }

Doing a pnpm install afterwards and you are good to use it.


Formspree, Netlify forms with spam protection.

OK both forms have been tested as working. Formspree has an optional recaptcha, Netlify has an optional recaptcha and a mandatory honeypot. I corrected css around the form inputs, reinstated the animation fade in. Formspree's redirections are no more, feedback provided at the bottom of the form. All text is internationalized. Recaptcha will reflect the theme of the website, but not if the theme switcher is used while the contact form is visible - it will show the change in the next refresh.

You'll probably want to squash the changes, I had to debug on Netlify so there were a lot of piecemeal updates.

You'll probably want to squash the changes, I had to debug on Netlify so there were a lot of piecemeal updates.

@cdichiara Thanks. I'll give it a try and report  back.

@cdichiara Thanks. I'll give it a try and report  back.

I just noticed that there is an grecaptcha undefined error if no reCAPTCHA is configured. I suspect this because the variable gets dynamically created by the reCAPTCHA API.

I just noticed that there is an grecaptcha undefined error if no reCAPTCHA is configured. I suspect this because the variable gets dynamically created by the reCAPTCHA API.

@cdichiara  Unfortunately, I can't reopen this PR, as it has already been merged. Can you please open a new PR from your remote branch? Sorry for the inconvenience.

@cdichiara  Unfortunately, I can't reopen this PR, as it has already been merged. Can you please open a new PR from your remote branch? Sorry for the inconvenience.

Sure I'll do that man not a problem - thanks for cleaning my stuff up and reviewing it.

Sure I'll do that man not a problem - thanks for cleaning my stuff up and reviewing it.

Man I cannot for the life of me find the error. There should be no grecaptcha library loaded, no grecaptcha calls ... I put alerts before each JQuery that looked for '.g-recaptcha' and none of them are being triggered...

Man I cannot for the life of me find the error. There should be no grecaptcha library loaded, no grecaptcha calls ... I put alerts before each JQuery that looked for '.g-recaptcha' and none of them are being triggered...

@cdichiara  Did you try to submit? I saw the error there in the Browser Console. Let me see if I can get a screenshot of it.

@cdichiara  Did you try to submit? I saw the error there in the Browser Console. Let me see if I can get a screenshot of it.

@lxndrblz I reproduced the error just don't have the solution! 😄

@lxndrblz I reproduced the error just don't have the solution! 😄


os.Mkdir and os.MkdirAll set wrong permission bits

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
go version go1.6 linux/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/user/golang"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

What did you do?

I created a directory using os.Mkdir("foo", 0007) and got a folder with permissions ------r-x instead of ------rwx.
This behavior could not be repeated on play.golang.org.
However this program can be used to recreate similar behavior:
package main

import (
	"fmt"
	"os"
)

func main() {
	fmt.Println(os.Mkdir("foo", 0007))
	fmt.Println(os.Mkdir("bar", 0007))
	os.Chmod("bar", 0007)

	infoFoo, _ := os.Stat("foo")
	infoBar, _ := os.Stat("bar")

	fmt.Println(infoFoo.Mode())
	fmt.Println(infoBar.Mode())
}

What did you expect to see?

I expected the folders foo and bar to both have permissions ------rwx

What did you see instead?

Folder foo was created with permissions ------r-x.
os.Chmod was setting the permissions correctly, so bar ends up with permissions ------rwx
This is the output of the program above:
<nil>
<nil>
d------r-x
d------rwx

@sn-amber it seems umask is being applied when creating the file. It filter the permissions when creating a file.
You can check the umask value by running umask in a terminal and also change it before running your program to verify, e.g. calling umask 0 before running your test should make Mkdir work as you expect.

You can also set the umask for the process using syscall.Umask.

Closing, because umask is a standard Unix feature that affects programs in all languages.

What would you think about adding this information to documentation? That permissions might be affected by Umask and that you can set it with syscall.Umask?

I don't think the Go documentation is the place to discuss details of how the Unix operating system works.  If we go down that path we'll wind up documenting things like how the setgid bit of the directory affects file ownership, and the relationship between the effective user ID and file ownership, and I just don't think we should go there.  There are many text books and web pages that explain how Unix works.
That said, I could imagine documenting some of these characteristics in a Unix-specific section of the package docs, if somebody wants to work on that.  I don't know what others would think of that, though.

I should add that this is a discussion to have on the golang-dev mailing list, not on this closed issue.


Remove NewSelectionBox from logs

Currently, the console gets polluted with lots of logs for NewSelectionBox. Could you remove this log or remove when the NODE_ENV environment variable is set to production?
I can create a PR with the change if you want.

Which version do you use?

I'm using version 1.0.3-rc01.

It's still in testing stage - could you use 1.0.2?

Sure! I will give it a try :)

When installing by yarn or npm, it auto select 1.0.3 and with log. Maybe stage version shouldn't be picked automatically by npm tags, maybe it should be kept on separate branch.


Fix trivy scan failures w/ otel upgrades

PRs and CI on main are now failing due to trivy finding vulns in our engine image, due to a new GHSA around otel: https://github.com/dagger/dagger/security/dependabot/381
Unfortunately, simply bumping otel libs is never "simple". After bumping our go.mod, the engine and CLI started exiting on startup w/ error cannot merge resource due to conflicting Schema URL.
I'd be lying if I said I understood all the inner machinations of otel, but from my understanding this is due to the fact that buildkit (and other transitive dependencies) have not yet upgraded their versions of otel libs. Due to the fact that these tracers are global to the process, we end up with mismatches in some versions and these failures.
There is a PR in buildkit open already to update their versions, but it stalled because they don't want to upgrade until their dep, containerd, has: https://github.com/moby/buildkit/pull/4318
So, the solution here is to just log these errors rather than fail+exit because of them. If there's a better approach, I'm all ears 🙂

@helderco any clue why python tests would be failing consistently with this error all of a sudden? https://github.com/dagger/dagger/actions/runs/6541678095/job/17763530250?pr=5906#step:4:938
273: exec python /pipx.pyz install hatch==1.7.0 ERROR: process "python /pipx.pyz install hatch==1.7.0" did not complete successfully: exit code: 1
273: > in sdk > python > test > 3.10 > build
273: > in sdk > python > test > 3.10
273: [6.13s] upgrading shared libraries...
273: [9.60s] installing hatch from spec 'hatch==1.7.0'...
273: [11.7s] Fatal error from pip prevented installation.  If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
273: [11.7s] Error installing hatch from spec 'hatch==1.7.0'.
273: [11.7s]

Doesn't seem related to any changes here (? at least I can't see how it could be). Hoping it's just some ephemeral thing, but let me know if you think it seems legit.

the dagger-in-dagger engine tests are failing only on github-paid-runner consistently, all other tests are okay though 😕
can repro locally, ./hack/make engine:test is fine but ./hack/dev ./hack/make engine:test hangs. Will continue looking tomorrow. Entirely possible this is not something we need to care about (those tests are advisory only anyways), but would feel better if I had a clue as to how tracing dependencies could cause this.

Looking into the dagger-in-dagger engine tests failing on github-paid-runner, it seems it may be a legit problem (glad we have these tests if so!)
I saw from a combination of SIGQUIT stacks and ps output that the CLI was stuck on this line trying to connect to buildkit: https://github.com/sipsma/dagger/blob/661a886a937d3cb620ab24e41dd031a72de1ab71/engine/client/buildkit.go#L51-L51
and that it kept spawning a short lived docker exec -it dagger-engine.dev buildctl dial-stdio ... subprocess. This indicates the docker-container connhelper we pick up from buildkit is trying to connect, but can't because the subprocess keeps exiting.
Unfortunately, that actual output gets entirely hidden (I'm not sure it's even possible for us to fix that without upstream changes), but with strace I could see that it seems to be printing the same cannot merge resource due to conflicting Schema URL error that I fixed elsewhere.
So my best guess is that while I updated our code to ignore that error in the engine + cli, the buildctl binary itself is still getting it (it does do various tracing setup, so makes sense)
I haven't pieced together every strand of spaghetti to explain exactly why this would only happen with the dagger-in-dagger tests, but this feels like a likely explanation.

If the above is correct, then our options are:

Wait for upstream to fix it here.

Given they are pending containerd PRs, this isn't viable in terms of time

Ignore the otel vulns, close this PR

At first glance they don't seem especially relevant to us, but I haven't looked in enough depth to be confident in that, so this is more of a last resort

Build the buildctl binary using buildkit's upstream go.mod rather than our own

However, pretty sure this would just result in the otel vulns being found in that binary rather than dagger engine 😭

Fork buildctl and remove the tracing stuff, which I don't think we care about

Investigating how easy/hard this is now...

cc @jedevc in case you have any ideas too

Happy update: I gave a quick shot at just pulling buildctl from upstream's image rather than building it ourselves. It did indeed fix the dagger-in-dagger engine test problem, but thankfully it also seems to pass the vulnerability scanning.
I'm guessing that the deps w/ vulnerabilities only appear in the "server-side" rather than client side, so this makes sense.
I think we should just go with this for now. Cleaning up the commit w/ comments on what's going on, then will merge if everything is green still 🤞

@helderco any clue why python tests would be failing consistently with this error all of a sudden? https://github.com/dagger/dagger/actions/runs/6541678095/job/17763530250?pr=5906#step:4:938
273: exec python /pipx.pyz install hatch==1.7.0 ERROR: process "python /pipx.pyz install hatch==1.7.0" did not complete successfully: exit code: 1
273: > in sdk > python > test > 3.10 > build
273: > in sdk > python > test > 3.10
273: [6.13s] upgrading shared libraries...
273: [9.60s] installing hatch from spec 'hatch==1.7.0'...
273: [11.7s] Fatal error from pip prevented installation.  If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
273: [11.7s] Error installing hatch from spec 'hatch==1.7.0'.
273: [11.7s]

Doesn't seem related to any changes here (? at least I can't see how it could be). Hoping it's just some ephemeral thing, but let me know if you think it seems legit.

I suspect this is a conflict inside the cache volumes. We need to at least have different caches per python version.


Plugin type error "Cannot read property 'value' of undefined"

Description
I fired a query to to my GraphQL server that had a schema error, a field included an argument that did not exist.
Got
{
  "error": {
    "errors": [
      {
        "message": "Cannot read property 'value' of undefined",
        "extensions": {
          "code": "INTERNAL_SERVER_ERROR"
        }
      }
    ]
  }
}

Expected Behavior
When I remove the plugin I get:
{
  "error": {
    "errors": [
      {
        "message": "Unknown argument \"activityType\" on field \"User.commutes\".",
        "locations": [
          {
            "line": 8,
            "column": 16
          }
        ],
        "extensions": {
          "code": "GRAPHQL_VALIDATION_FAILED"
        }
      }
    ]
  }
}

Your Environment
<EMAIL_ADDRESS>& Node 14.17.0
Additional context
I found the line that causes the type error, selection.name comes through as undefined sometimes.
https://github.com/newrelic/newrelic-node-apollo-server-plugin/blob/ca870ed0bb675b77431d4a0625b237fadddaef41/lib/create-plugin.js#L357

Thank you @albertstill for submitting this bug along with the additional context. That is super helpful. We'll get this bug prioritized.

Just ran into this for the first time with a federated query. Seems like we may need to 'skip' items w/o a name when grabbing from the document/selection set.


fix: change webhook for the upstream nginx version

https://github.com/jet/kube-webhook-certgen/issues/30

Yes I test it with Kubernetes using k3s versions {"v1.18.20-k3s1", "v1.19.16-k3s1", "v1.20.15-k3s1", "v1.21.10-k3s1", "v1.22.7-k3s1", "v1.23.4-k3s1"}


[SPARK-6095] [MLLIB] Support model save/load in Python's linear models

Linear models can be stored in Python which is different from other models currently.
So we leverage pickle to implement the function of save/load for LinearModel in regression.py and all sub-class can use it.

Test build #28290 has started for   PR 4911 at commit 4379b99.

This patch merges cleanly.

Test build #28290 has finished for   PR 4911 at commit 4379b99.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28290/
Test FAILed.

Test build #28291 has started for   PR 4911 at commit 045ea02.

This patch merges cleanly.

Test build #28291 has finished for   PR 4911 at commit 045ea02.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28291/
Test PASSed.

@yanboliang The model import/export is designed to cross languages. If we save a model in Scala, it should be loadable in Python. This help us lower the maintenance cost. Could you go with this direction?

@mengxr Yes, it make sense. After look through the code, I found we have two alternatives:
1, Implement a new PythonMLLibAPI looks like this
def newGeneralizedLinearModel(
modelClass: String,
weights: Vector,
intercept: Double): GeneralizedLinearModel {
}
And at pyspark we could get corresponding java model by this api and call save/load of java model which can make the model saved in Scala loadable in Python and vice versa.
2, Implement the save/load operation in Python independently which do the same thing as in Scala.
I prefer the first one. Because in the second scenario, if we update the save/load in Scala we need to keep the save/load function in Python have the same behavior which may leads to inconsistent.
Any comments and suggestions?

@mengxr Yes, it make sense, I will try to implement the save/load operation in Python which do the same thing as in Scala.

Sorry I closed this PR accidentally, I pull another request #5016 for this issue.
I have implement save/load operation in Python for classification model and looking forward comments.
If this solution is OK, I will extend it to other linear model.


MINOR: Fix flaky test RefreshingHttpsJwksTest.testBasicScheduleRefresh

What
This test is flaky because maybeExpediteRefresh schedules a refresh in a background thread. Instead pass through a mock executor service so that the refresh is executed directly.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Given this change only affects this test and the test failures are known or unrelated, I will merge.


Python bot

A bot to play blackjack using the engine (communicating via the C api and ctypes).
This will employ various techniques: basic strategy, card counting, etc.

We now have the dynamic library with C types for this


Question about feature of amino acid descriptors

Hi! I'm going through the feature of amino acid descriptors, and I wonder where does this kind of feature come from? It seems that I have not found relevant information in the article and on the Zenodo website.
KF1,KF2,KF3,KF4,KF5,KF6,KF7,KF8,KF9,KF10:
If you could reply as soon as possible, I would be extremely grateful！

Amino acid descriptor features are sourced from main text references 49-55. For the specific features that were used in the final model, see supplement references 11-13.
This Github associated with main text reference 49 provides the tables: https://github.com/dosorio/Peptides

Thank you for your reply! I have identified and understood the sources of all features except for KF1,KF2,KF3,KF4,KF5,KF6,KF7,KF8,KF9,KF10, I am unsure are they the kideraFactors mentioned in https://github.com/dosorio/Peptides?


creates directories but doesn't move files

Hey there, i try to use this tool for moving stuff from my sdcard to my local samba server - it created the directories as expected but does not move the files over...this however also happens when i try using my local Pictures folder.
% rawsort -yfv -o '/Users/milan/Pictures/test/[year]/[day]/[filename]' /Volumes/NO\ NAME/
Dec 20 11:30:21.274 INFO testing 123

By the way, i wasn't able to figure out how [ext] is supposed to be used?

hi, try the -d flag for a dryrun, it will show you what the tool wants to do. LMK that works


SDN create IP Config for NIC problem

When using the following command
az network nic ip-config create
With required fields by documentation
az network nic ip-config create -g "IMDS_Demo" --nic-name "MyNICPortal" -n "MyIpConfig"
Subnet reference is required for ipconfiguration /subscriptions/23a27f7b-7bd9-4ef6-91f5-9bf25ea00d6a/resourceGroups/IMDS_Demo/providers/Microsoft.Network/networkInterfaces/MyNICPortal/ipConfigurations/MyIpConfig.
Unable to work around this, tested on CLI and worked fine.

cc/ @yugangw-msft. Also, the error message I'm getting is:
Subscription 0000 is not registered for feature Microsoft.Network/AllowMultipleIpConfigurationsPerNic required to carry out the requested operation.

@malopMSFT can you show the output of this command with Xplat CLI showing the creation of the second IP configuration without subnet? I can easily make subnet required, but neither Xplat nor Powershell do this.

Here is the same operation from CLI >
PS C:> azure network nic ip-config create -g "IMDS_Demo" --nic-name "MyNICPortal" -n "MyIpConfig2"
info:    Executing command network nic ip-config create

Looking up the network interface "MyNICPortal"
Updating network interface "MyNICPortal"
data:    Id                              : /subscriptions/23a27f7b-7bd9-4ef6-91f5-9bf25ea00d6a/resourceGroups/IMDS_Demo/providers/Microsoft.Network/networkInterfaces/MyNICPortal
data:    Name                            : MyNICPortal
data:    Type                            : Microsoft.Network/networkInterfaces
data:    Location                        : eastus
data:    Provisioning state              : Succeeded
data:    Internal domain name suffix     : 5hwkucijcxfudhihfhmuraxfdg.bx.internal.cloudapp.net
data:    Enable IP forwarding            : false
data:    IP configurations:
data:      Name                          : ipconfig1
data:      Primary                       : true
data:      Provisioning state            : Succeeded
data:      Private IP address            : <IP_ADDRESS>
data:      Private IP version            : IPv4
data:      Private IP allocation method  : Dynamic
data:      Subnet                        : /subscriptions/23a27f7b-7bd9-4ef6-91f5-9bf25ea00d6a/resourceGroups/DemoRG/providers/Microsoft.Network/virtualNetworks/myVNET2/subnets/subnet1
data:
data:      Name                          : MyIpConfig2
data:      Primary                       : false
data:      Provisioning state            : Succeeded
data:      Private IP address            : <IP_ADDRESS>
data:      Private IP version            : IPv4
data:      Private IP allocation method  : Dynamic
data:      Subnet                        : /subscriptions/23a27f7b-7bd9-4ef6-91f5-9bf25ea00d6a/resourceGroups/DemoRG/providers/Microsoft.Network/virtualNetworks/myVNET2/subnets/subnet1
data:
info:    network nic ip-config create command OK

Moving to Sprint 7 as the permission our subscription requires to test this is still listed as "Pending". Working with the ARM team to resolve.


Documentation

There are a few open issues that I think ought to be rolled into documentation generally: https://github.com/erm/mangum/issues/31 https://github.com/erm/mangum/issues/77.
Contributions in this regard are very much appreciated. Feel free to use this issue to post links to examples, discuss deployments, ask questions, submit doc PRs against, etc.

@iwpnd had a read of your tutorial, good work! :)
Yeah, documentation is still on the agenda, though I'm not quite sure how it should look. Mangum itself doesn't do a whole lot that needs to be specifically documented (could be wrong). I think the most useful additions would be code examples/deployment configurations, but those vary quite a bit so I'm not sure how to best include them here.
Haven't had a lot of time to think about it lately, but I'm happy to review any PRs that could improve the docs - maybe something describing the lifespan behaviour would be a good start?

It is not necessary, you're correct. I was hoping there was a more elegant way than commenting out the handler for local development. I will read up on the lifespan sub-spec for ASGI as you proposed. It's probably just something I need to wrap my head around.

What I've done is the following , i have a lambda_main.py which only does :
from mangum import Mangum

from app import main

assert main.app is not None
handler = Mangum(main.app)

so that my main.py is what is launched by uvicorn (which therefore does not see the lambda_main.py code)

@iwpnd  you tutorial was useful to me at least ! I'm deploying using terraform and gitlab-ci but it was of good help
the thing that your tutorial helped me clarify, and without I would have dismissed mangum, was the fact the .yml configuration seen in the examples was not needed (it was in these critical 5 minutes where you need to evaluate if a project is worth looking for, and at first I thought "oh damn a project with a configuration file and it's own set of command to package stuff etc." )

@iwpnd I've been revamping the documentation since I've had a bit more time as of late. If you'd still like to contribute, maybe you could start with a section that links to examples/guides. I don't know how it should look, but feel free to come up with a structure and add a link to your post and I'll review. I'm tracking this here https://github.com/erm/mangum/issues/104.


Support for async loading of mocha.

https://github.com/nathanboktae/mocha-phantomjs/pull/5 sheds a little light on my issue. Essentially using require.js, mocha won't immediately be available on the page. Using require.js mocha loads async.
https://github.com/nathanboktae/mocha-phantomjs-core/blob/fc549e6d592a874fb5e366e23b42c33e2d535fe4/mocha-phantomjs-core.js#L109
page.onLoadFinished = function(status) {
  if (status !== 'success') {
    fail('Failed to load the page. Check the url: ' + url)
  } else if (!configured) {
    fail('Failed to run any tests.')
  }
}

I wanted to submit a PR, but I am not sure what the correct solution would actually be. Setting a arbitrary timeout may solve the issue but now the tests are not tolerant of poor connections. This solution would require mocha to be available on the page once the timeout expires. Repeatedly polling forever solves the latency issue but now a client without a mocha test suite will just hang forever as it waits for mocha to land on the page.
I have a few libraries that use grunt-moch-phantomjs, which now uses mocha-phantomjs-core. It would be great to find a solution.
Thanks.

hmm I've been using require.js and mocha together for years but never used it to load my tests. Is describe, it and all those globals available in that case? just curious.

Setting a arbitrary timeout may solve the issue but now the tests are not tolerant of poor connections.

That's what we had before with the mochaPhantomJS style. It also was creating lots of bugs because some options in mocha like timeout will get duplicated per tests as the tests load, so it could not set the timeout correctly. Now that mocha-phantomjs-core monkey patches it right away, it works correctly and transparently.
One solution is mocha-phantomjs-core could expose an API to call to explicitly do it's setup that you could call right after mocha is initialized... maybe. Does every test file you have do define(['mocha', ....], function() { .... ? the order would be undeterministic. You'd have to do something like
require(['mocha'], function(mocha) {
  if ('callPhantom' in window) {
     // notify mocha-phantomjs-core to initialize
  }
  require(['test1', 'test2', .....], function() {
    mocha.run()
  })
})

or you just put mocha in the page before requirejs and add <script>define('mocha', [], mocha)</script> and be done with it.

hmm I've been using require.js and mocha together for years but never used it to load my tests. Is describe, it and all those globals available in that case? just curious.

describe and it become available after loading mocha. Almost identical to what you have shown in your example. My current setup looks like:
require(['mocha'], function(mocha) {
  require(['test1', 'test2', .....], function() {
    mocha.run()
  })
})

or you just put mocha in the page before requirejs and add  and be done with it.

Maybe the easiest way to get back up and running?

Yeah you could have this code wrap itself in an initMocha function to call if Mocha and mocha are not defined yet, then your code can call that initMocha function after it requires mocha. I believe the code in the original post would need some modification still with some timer... hmm

Maybe the easiest way to get back up and running?

Yes.

So I have resolved the core of this by allowing mocha-phantomjs-core a timeout before failing the tests due to mocha.run() not being called. (I realized this also allowed for an infinite hang without the code so it was much needed!). However, browser-shim attempts to monkey-patch mocha, and if it's loaded with require.js, the require.js callback fires first before mocha-phantomjs so it's not patched before my test case was doing it. So you'll need to load mocha.js as a direct script tag. You could call callPhantom({ configureMocha: true }) directly yourself too, however I can't guarantee the support of this going forward.
Also mocha isn't an AMD module anyways, so you don't gain anything. Moreover, I highly recommend your tests be templated in the .html file by a server-side process so that when you write a new tests, you don't run the risk of it not being included. Even without that, wrapping your tests in define calls is unnessecary boilerplate. I also found out chai registers as a named module so loading it dynamically is not possible unless you put it in your requirejs config, then you're putting test config with your production... Anyways you're bundling for production, right? You should be running tests on minified, bundled code too to catch those bugs you won't otherwise see at developing locally. I love require.js and have been using it for years but there is nothing to gain and lots to loose by using it for tests and test dependencies.


Still seeing WTS group

Hi as per title.

If you wanted more information about why this is - addons can't read the group name or description, so filtering is not as easy as searching for phrases like "wts" or "boost".
Blizz has really gutted the ability of addons to effectively filter or report spam groups while also doing very little to enforce their own ToS 🤷
So block groups using the red "X" button and you'll see less of them over time (unless they get replaced faster). You could also get the "Premade Groups Filter" addon and search for more specific groups, which often excludes spam groups with 1 player in them.


1.) Function for determining ocean cloud cover as a percentage. We can use the SR_CLOUD_QA or QA_PIXEL bitmasks here.

Covered with #4


Update MobileNavigation.jsx

Rename a typo 'disabledPaths' to 'disabledpathnames'

@anujkarn002  I appreciate the pull request but unfortunately, the changes made aren't really typos.
PascalCase is much better and readable.

@jgudo I think there is a typo in Navigation.jsx. disabledpathnames should be disabledPaths. Please review Navigation.jsx and MobileNavigation.jsx .


FSDP2 support for training

🚀 The feature, motivation and pitch
Is there any plan to add FSDP2 for training?
Alternatives
No response
Additional context
No response

I second this! There is too much boiler-plate in both torchtune and torchtitan. I would prefer something that is both feature complete, and in the nanogpt style of coding.

Hi @cailun01 yes, I am working on this now.


Parallelize ModelTuner.search() with dask

At least for RandomTuner, there's no reason evaluations of different configs need to be in series. We should be able to keep the single-threaded and multi-threaded versions very similar by wrapping the init/train/eval block in a method than can be parallelized using dask.delayed or dask.future.

Are you thinking of parallelizing using multiple CPU cores?
Shouldn't the model training (using Pytorch I assume) already saturate the CPU cores with MKL?

Hypothetically, yes? But I've observed that at least on our cluster, the CPUs aren't fully utilized when there's only one job running. This probably isn't a top priority though. I'll go ahead and close this for now.


Fixes "Could not create SSL/TLS secure channel."

Hello!
I am having an issue with the PowerShell script: when run from Windows 10, because PowerShell uses by default TLS 1.0, the script will fail on the DownloadFile function

My custom translation:

Exception while calling «DownloadFile» with «2» argument(s): «The request was aborted: Could not create SSL/TLS secure channel.»

After looking a bit on the internet, I found out that this could be fixed by explicitly specifying a preference TLS order, such as in the following changes.
After the change:

Disclaimer: this is not supported on Windows XP (i tested it), but so is Expand-Archive (two lines after), so this script isnt already working on it.
Calling @FeodorFitsner for review :)

Cool, thanks !


feat: auto-load sdk on generate

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#255  👈
#254
#253
#252
#251
#250
#249
#248
main

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

Join @NathanFlurry and the rest of your teammates on  Graphite


No sidebar on Safari with nbdev_new of a blank project

Provide a minimally reproducible example

repo
docs

# git clone empty repo
$ cd empty-repo
$ nbdev_new

# update workflows to use python 3.10

$ git add .
$ git commit -m 'add everything and then update workflows for python 3.10'

$ cp nb/00_core.ipynb nb/01_another.ipynb
# update another to be a different module

$ nbdev_prepare
$ git add .; git commit -m 'add another module'; git push origin main

# update GitHub repo to allow actions to write
# update GitHub repo to use pages

additionally it would be nice to know the following:

how to specify an alternative template for nbdev_new
how to specify arguments for nbdev_conda like --build_args '-c conda-forge' in a nbdev_config file

Can you run nbdev_prepare and the push all the files as well? I see that the sidebar.yml file is missing.

Ah, I see.

Can you please check your settings insides Pages tab in the sidebar?

@deven-gqc  I see where I misclicked >.<

No worries!


Bump commitlint packages

Closes #326
Description
Auto-gneerated changes by Greenkeeper bot to bump some dev dependencies.
The bot was previously messing up and not updating package-lock.json alongside package.json, which then causes our builds to fail when they run npm ci - hence why it created issue #326. However, it seems to have resolved itself now.
Hopefully Greenkeeper will behave itself from now on.

:tada: This PR is included in version 2.2.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[nb_anacondacloud] Integration Tests on anaconda build

This needs integration tests.

[x] Get working locally
[ ] Anaconda Build?

PR here: https://github.com/Anaconda-Server/nb_anacondacloud/pull/8

Over on Anaconda-Server/nb_anacondacloud#8, I've made some progress towards actually testing the UI.
Right now, I'm getting to the login screen. I think I need to pass some more information to casper, perhaps, to pull the right location for my user credentials.

Just got the first running test (fail) on Anaconda Cloud:
http://anaconda.org/nbcio/nb_anacondacloud/builds/6/0

They can't all be winners, kid :pill:

The issue is now that I am mocking the response to various requests to the anaconda API, and the unauthenticated test path (previously the thing easiest to test!) is always coming up authenticated. I'll be addressing that presently, either by doing an "authenticated" and "unauthenticated" run, with different mocks in place, but preferably some more clever approach.

Dependency - waiting to get xvfb on build machines.
(build is working, but automted unit tests failing because of this)
IT-Help #1868: xvfb on build-binstar-continuum linux-64

@bollwyvl Is this resolved?  I see that PR #8 is merged, and that nb_anacondacloud master is building successfully on Anaconda Build.

Working on linux/mac, but not Windows. Work with Ian Henriksen to resolve.

From my understanding, this is working now... but maybe I am missing something. Can you confirm @bollwyvl?


SimpleSDMLayers incompatible with ArchGDAL 0.9 🐛

Contact Details
<EMAIL_ADDRESS>What happened?
For some reason Julia 1.8 won't let me have the latest versions of ArchGDAL and SimpleSDMLayers at the same time. I can't tell what the problem is from looking at the Project.toml's and the stack trace doesn't give many clues! Any help would be much appreciated.
(@v1.8) pkg> status --outdated
Status `C:\Users\charris\.julia\environments\v1.8\Project.toml`
⌅ [c9ce4bd3] ArchGDAL v0.7.4 (<v0.9.1): SimpleSDMLayers

Stacktrace
(@v1.8) pkg> add<EMAIL_ADDRESS>   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ArchGDAL [c9ce4bd3]:
 ArchGDAL [c9ce4bd3] log:
 ├─possible versions are: 0.1.0-0.9.1 or uninstalled
 ├─restricted to versions 0.9.1 by an explicit requirement, leaving only versions 0.9.1
 └─restricted by compatibility requirements with SimpleSDMLayers [2c645270] to versions: 0.7.0-0.7.4 — no versions left
   └─SimpleSDMLayers [2c645270] log:
     ├─possible versions are: 0.0.1-0.8.3 or uninstalled
     └─restricted to versions 0.8 by an explicit requirement, leaving only versions 0.8.0-0.8.3

That's a good point, I'll look into it!

I notice that you're working in the global environment (@1.8), and so if there are multiple versions of GDAL here, it can be an issue. If you try to work within an environment (this is now best practice), it should work:
]activate .
]add SimpleSDMLayers

The tests are running on my machine, and I have the correct ArchGDAL version (0.9.1).
Can you try that from within an environment and let me know?

Oh that's strange - I was first encountering this problem inside my EcoSISTEM environment, so I thought I'd try it in global without all the extra packages and such. But even trying it in a blank environment (here called Test), with only ArchGDAL and SimpleSDMLayers added, I still get this:
(Test) pkg> pin<EMAIL_ADDRESS>   Resolving package versions...
    Updating `D:\GIT\Test\Project.toml`
  [c9ce4bd3] ↑ ArchGDAL v0.7.4 ⇒ v0.9.1 ⚲
    Updating `D:\GIT\Test\Manifest.toml`
  [c9ce4bd3] ↑ ArchGDAL v0.7.4 ⇒ v0.9.1 ⚲
  [3c3547ce] ↑ DiskArrays v0.2.13 ⇒ v0.3.6
  [411431e0] + Extents v0.1.1
  [68eda718] ↑ GeoFormatTypes v0.3.0 ⇒ v0.4.1
  [cf35fbd7] ↑ GeoInterface v0.5.7 ⇒ v1.0.1
  [0329782f] + GeoInterfaceRecipes v1.0.0

(Test) pkg> add<EMAIL_ADDRESS>   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ArchGDAL [c9ce4bd3]:
 ArchGDAL [c9ce4bd3] log:
 ├─possible versions are: 0.1.0-0.9.1 or uninstalled
 ├─restricted to versions * by Test [ffa8e551], leaving only versions 0.1.0-0.9.1
 │ └─Test [ffa8e551] log:
 │   ├─possible versions are: 0.1.0 or uninstalled
 │   └─Test [ffa8e551] is fixed to version 0.1.0
 ├─restricted to versions 0.9.1 by an explicit requirement, leaving only versions 0.9.1
 └─restricted by compatibility requirements with SimpleSDMLayers [2c645270] to versions: 0.7.0-0.7.4 — no versions left
   └─SimpleSDMLayers [2c645270] log:
     ├─possible versions are: 0.0.1-0.8.3 or uninstalled
     └─restricted to versions 0.8.3 by an explicit requirement, leaving only versions 0.8.3

It keeps wanting to downgrade ArchGDAL to 0.7.4 whenever I add it.

That's very weird - can you send me your session info and OS?

Can you also try without the explicit version number, and see what gets installed?

Adding without the version numbers gives me:
(Test) pkg> add ArchGDAL
    Updating registry at `C:\Users\charris\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
    Updating `D:\GIT\Test\Project.toml`
  [c9ce4bd3] + ArchGDAL v0.9.1
    Updating `D:\GIT\Test\Manifest.toml`
  [621f4979] + AbstractFFTs v1.2.1
  [79e6a3ab] + Adapt v3.4.0
  [c9ce4bd3] + ArchGDAL v0.9.1
  [fa961155] + CEnum v0.4.2
  [d360d2e6] + ChainRulesCore v1.15.4
  [9e997f8a] + ChangesOfVariables v0.1.4
  [3da002f7] + ColorTypes v0.11.4
  [c3611d14] + ColorVectorSpace v0.9.9
  [5ae59095] + Colors v0.12.8
  [34da2185] + Compat v4.2.0
  [9a962f9c] + DataAPI v1.10.0
  [e2d170a0] + DataValueInterfaces v1.0.0
  [3c3547ce] + DiskArrays v0.3.6
  [ffbed154] + DocStringExtensions v0.9.1
  [411431e0] + Extents v0.1.1
  [53c48c17] + FixedPointNumbers v0.8.4
  [add2ef01] + GDAL v1.4.0
  [68eda718] + GeoFormatTypes v0.4.1
  [cf35fbd7] + GeoInterface v1.0.1
  [0329782f] + GeoInterfaceRecipes v1.0.0
  [a2bd30eb] + Graphics v1.1.2
  [a09fc81d] + ImageCore v0.9.4
  [3587e190] + InverseFunctions v0.1.7
  [92d709cd] + IrrationalConstants v0.1.1
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [692b3bcd] + JLLWrappers v1.4.1
  [2ab3a3ac] + LogExpFunctions v0.3.18
  [dbb5928d] + MappedArrays v0.4.1
  [e94cdb99] + MosaicViews v0.3.3
  [77ba4419] + NaNMath v1.0.1
  [6fe1bfb0] + OffsetArrays v1.12.7
  [bac558e1] + OrderedCollections v1.4.1
  [5432bcbf] + PaddedViews v0.5.11
  [21216c6a] + Preferences v1.3.0
  [3cdcf5f2] + RecipesBase v1.2.1
  [189a3867] + Reexport v1.2.2
  [276daf66] + SpecialFunctions v2.1.7
  [cae243ae] + StackViews v0.1.1
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.7.0
  [62fd8b95] + TensorCore v0.1.1
  [2e619515] + Expat_jll v2.4.8+0
  [a7073274] + GDAL_jll v300.500.101+0
  [d604d12d] + GEOS_jll v3.11.0+0
  [aacddb02] + JpegTurbo_jll v2.1.2+0
  [88015f11] + LERC_jll v3.0.0+1
  [89763e89] + Libtiff_jll v4.4.0+0
  [d3a379c0] + LittleCMS_jll v2.12.0+0
  [643b3616] + OpenJpeg_jll v2.4.0+0
  [efe28fd5] + OpenSpecFun_jll v0.5.5+0
  [58948b4f] + PROJ_jll v900.100.0+0
  [76ed43ae] + SQLite_jll v3.39.2+0
  [3161d3a3] + Zstd_jll v1.5.2+0
  [06c338fa] + libgeotiff_jll v100.700.100+0
  [b53b4c65] + libpng_jll v1.6.38+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.8.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [fa267f1f] + TOML v1.0.0
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v0.5.2+0
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.0+0
  [14a3606d] + MozillaCACerts_jll v2022.2.1
  [4536629a] + OpenBLAS_jll v0.3.20+0
  [05823500] + OpenLibm_jll v0.8.1+0
  [83775a58] + Zlib_jll v1.2.12+3
  [8e850b90] + libblastrampoline_jll v5.1.1+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0

(Test) pkg> add SimpleSDMLayers
   Resolving package versions...
    Updating `D:\GIT\Test\Project.toml`
⌃ [2c645270] + SimpleSDMLayers v0.2.2
    Updating `D:\GIT\Test\Manifest.toml`
⌅ [cd3eb016] + HTTP v0.8.19
  [83e8ac13] + IniFile v0.5.1
  [739be429] + MbedTLS v1.1.5
  [ae029012] + Requires v1.3.0
⌃ [2c645270] + SimpleSDMLayers v0.2.2
⌅ [a5390f91] + ZipFile v0.9.4
        Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ cannot be upgraded. To see why use `status --outdated -m`

(Test) pkg> st
Project Test v0.1.0
Status `D:\GIT\Test\Project.toml`
  [c9ce4bd3] ArchGDAL v0.9.1
⌃ [2c645270] SimpleSDMLayers v0.2.2
Info Packages marked with ⌃ have new versions available

This is very, very strange. It looks like the tests on windows are passing, do you have any of these dependencies that are pinned?

This is very, very strange. It looks like the tests on windows are passing, do you have any of these dependencies that are pinned?

I installed it on my windows tablet using 1.8 - installing SimpleSDMLayers works, although it gets a different ArchGDAL version. There's probably a dependency version conflict in one share dependency? I'll try on 1.6 and 1.7 but it might take a while to install them on my tablet...

Hi @tpoisot, sorry have been off on holiday! No I don't have any pinned dependencies, but yes I guess it must be some shared dependency blocking it - let me know if you have any breakthroughs

Can you try adding SimpleSDMLayers first? Instead of ArchGDAL?

Oh, and run status --outdated -m in pkg mode?


feat: add apache pegasus store

[Pegasus](https://github.com/apache/incubator-pegasus) targets to fill the gap between Redis and HBase, it is a distributed Key-Value storage system. it's design goal:

High scalability : Distributed horizontal expansion is achieved through hash sharding.
Strong consistency : Guaranteed by PacificA consistency agreement.
High performance : The bottom layer uses RocksDB as the storage engine.
Simple and easy to use : a good interface based on Key-Value.

benchmark data reference document
use local pegasus onebox test result:

Perfect, thank you @feiguoL!


Add possibility to set whether target should be namespaced

In very specific Kubernetes components the metrics contain the namespace label which is relabelled onto the target, which causes label collisions. As this is special to Kubernetes components it's somewhat reasonable to have special code for this in the Prometheus Operator, however, it's a very loose concept so it should rather be kept within an annotation and outside of the TPR.
Proposed annotation name on discovered services is: alpha.monitoring.coreos.com/namespaced
The resulting behavior is kept as is when the annotation is set to true, but when set to false, the namespace label will not be populated by discovery, therefore the exposed metrics of the target are free to use it.
@fabxc

That would be "set to true or unset".

Yes of course. Edited.

Actually it would be anything but false will keep the current behavior.


Crash: SDWebImageDownloaderOperation.m line 85

New Issue Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation
[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
iOS

Platform Version
iOS 8, 9, 10

SDWebImage Version
4.0.0

Integration Method
cocoapods /

Xcode Version
Xcode 8.2.1

Repro rate
only found 6 crashes during last 30 days

Repro with our demo prj
hard to reproduce

Demo project link
no

Issue Description and Steps
Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x19489bbdc objc_msgSend + 28
1  CoreFoundation                 0x182f41458 CFRelease + 524
2  CFNetwork                      0x182999f38 HTTPRequestParserClient::~HTTPRequestParserClient() + 52
3  CFNetwork                      0x182999ef4 HTTPRequestMessage::~HTTPRequestMessage() + 80
4  CoreFoundation                 0x182f41394 CFRelease + 328
5  CFNetwork                      0x18299a144 URLRequest::~URLRequest() + 152
6  CoreFoundation                 0x182f41394 CFRelease + 328
7  CFNetwork                      0x182aa9e68 -[NSURLRequestInternal dealloc] + 40
8  CFNetwork                      0x182aab124 -[NSURLRequest dealloc] + 48
9  libobjc.A.dylib                0x194886b1c object_cxxDestructFromClass(objc_object*, objc_class*) + 148
10 libobjc.A.dylib                0x194893f38 objc_destructInstance + 92
11 libobjc.A.dylib                0x194893f90 object_dispose + 28
12 Foundation                     0x183e96b14 -[NSOperation dealloc] + 104
13 ??????                         0x1008ae4fc -[SDWebImageDownloaderOperation dealloc] (SDWebImageDownloaderOperation.m:85)
14 libsystem_blocks.dylib         0x194f31910 _Block_release + 256
15 libdispatch.dylib              0x194ed9954 _dispatch_client_callout + 16
16 libdispatch.dylib              0x194ede20c _dispatch_main_queue_callback_4CF + 1608
17 CoreFoundation                 0x18301b7f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
18 CoreFoundation                 0x1830198a0 __CFRunLoopRun + 1492
19 CoreFoundation                 0x182f452d4 CFRunLoopRunSpecific + 396
20 GraphicsServices               0x18c75b6fc GSEventRunModal + 168
21 UIKit                          0x187b0afac UIApplicationMain + 1488
22 ??????                         0x100144178 main (main.m:14)
23 libdyld.dylib                  0x194f06a08 start + 4

@CodeStage mentioned this in #1821 . I think it's better to open a new one.

Same issue here,
- (void)cancelInternal {
    if (self.isFinished) return;
    [super cancel];

    if (self.dataTask) {
        [self.dataTask cancel];
        dispatch_async(dispatch_get_main_queue(), ^{
            [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self];
        });

        // As we cancelled the connection, its callback won't be called and thus won't
        // maintain the isFinished and isExecuting flags.
        if (self.isExecuting) self.executing = NO;
        if (!self.isFinished) self.finished = YES;
    }

    [self reset];
}

EXC_BAD_ACCESS on when dispatch_async stop notification

does this fix the issue?

We also met this crash SDWebImageDownloaderOperation.m:85, how to fix?

https://github.com/rs/SDWebImage/pull/1858 should fix it, we didn't use the weak/strong ref dance because the notification object is not being used anywhere.

thanks for your reply, I have modified in my app with your suggestion not passing self for notification, and then observe the crash.
Fled Zeng
------------------ Original ------------------
From:  "Billy<EMAIL_ADDRESS>Date:  Mon, Apr 17, 2017 11:14 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject:  Re: [rs/SDWebImage] Crash: SDWebImageDownloaderOperation.m line 85(#1859)
#1858 should fix it, we didn't use the weak/strong ref dance because the notification object is not being used anywhere.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

it doesn't work for changing object:self to object:nil, and SDWebImageDownloaderOperation.m:85 crashes again.

@zengql512 are you getting the same stack trace?

@billyto  yes, crash stack info is the same as before.

You are correct, the #1858 only fixes https://github.com/rs/SDWebImage/issues/1807 , both seems like both are related.

Is there any solution to fix this crash?

Hi,
Started seeing this issue after updating to SDWebImage 4.0 in the latest version of our app. Please have a look at the attached log. Also is there a fix coming soon?
crashreport.txt
Thanks,
Suraj

how to fix this crash?

I fix this by using AlamofireImage instead..
It's more effective with more possibility.
Same use as SDWebImage:
SDWebImage:
_imageView.sd_setImage(with: URL: url, placeholderImage: UIImage(named: "placeholder.png"))
AlamofireImage:
_imageView.af_setImage(withURL: url, placeholderImage: UIImage(named: "placeholder.png"))

We are also seeing this crash happening in a heavily-used application. Any thoughts on a fix for it?

@rami-ihr #1858 seems a valid one. You may want to give it a try.

(void)cancelInternal {
if (self.isFinished) return;
[super cancel];
if (self.dataTask) {
[self.dataTask cancel];
dispatch_async(dispatch_get_main_queue(), ^{
[[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self];
});
  // As we cancelled the connection, its callback won't be called and thus won't
  // maintain the isFinished and isExecuting flags.
  if (self.isExecuting) self.executing = NO;
  if (!self.isFinished) self.finished = YES;

}
[self reset];
}
EXC_BAD_ACCESS when dispatch_async stop notification

SAME ISSUE -> When can we get the update ???????

Should be fixed by #1940 - closing for now


Make the time module available when depending on time-android

Codecov Report

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

@@          Coverage Diff           @@
##           master      #9   +/-   ##
======================================
  Coverage    67.6%   67.6%
======================================
  Files           2       2
  Lines          71      71
  Branches        9       9
======================================
  Hits           48      48
  Misses         19      19
  Partials        4       4

Continue to review full report at Codecov.

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

Thank you for contributing!


ERROR: cannot load such file -- archive/tar/minitar

I'm crashing at this point : https://github.com/chef/chef-provisioning-docker/blob/168db4cc541b955fe2e8fd8d3c67cc14fb92db31/lib/chef/provisioning/docker_driver/docker_transport.rb#L3
I've also tried to install myself archive-tar-minitar-0.5.2 and minitar-0.5.4 but it doesn't help.
Not sure what is going wrong there, are you missing a dependency in your gemspec ?

I had same issue when played with test-kitchen. My VM was missing archive-tar-minitar gem. So I've added chef_gem 'archive-tar-minitar' into recipe. Anyways installing archive-tar-minitar should fix that.

I was able to fix this by installing minitar and stopping to use bundler to run the command. Bundler was forcing to use only the set of gems listed in the Gemfile.


Refactor generic code out of sqlalchemy backend implementation

Moved landing page client endpoint into base class as this is generic to all backend implementations as well as link types from sqlalchemy as they are not database specific
closes #148

@rsmith013 hope you don't mind I made some changes


elixir: 1.16 -> 1.17 update default

Description of changes

Things done

Built on platform(s)

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

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

[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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.

Perfect this looks good to me.
@NixOS/beam leaving this a few days more open in case someone sees something missing.


Keep editor tab open after a file was deleted or ask before closing the editor tab

Having a brain cramp every now and then I have accidentally deleted a file from the system.  When that even occurs VSC closes that editor tab straight away.  I would like for VSC to keep the editor tab open when this event occurs.  The icon can change to the circle indicating the file hasn't been saved.

@LordHog set  workbench.editor.closeOnFileDelete to false in your user settings and you're on the safe side.

@kieferrm Thanks.  I looked for a setting, but the keywords I used didn't show this option.  I even posted a question in gitter/vscode before making this request.  Glad to known it already exist.  Thanks.!

Still, I don't know why this is enabled by default. Good way for a user to lose their data by accident quickly.  Most other editors have this feature disabled by default.  Perhaps the vscode team might consider having this option set to false by default.

@LordHog thanks for the recommendation.


hope that the dependencies can change with dart-sass

I can't download node-sass and i haven't found any way to solve it

Hi, thanks for creating an issue. We currently recommend using https://nextjs.org/docs/basic-features/built-in-css-support as the plugins have been deprecated in favor of the built-in support.


Palindromic partitioning (HARD)(GFG)

I would like to add a Question Palindromic Partitioning
problem link https://practice.geeksforgeeks.org/problems/palindromic-patitioning4845/1/?track=md-dp&batchId=144
Problem Statement
Given a string str, a partitioning of the string is a palindrome partitioning if every sub-string of the partition is a palindrome. Determine the fewest cuts needed for palindrome partitioning of given string.
Test case:
Example 1:
Input: str = "ababbbabbababa"
Output: 3
Explaination: After 3 partitioning substrings
are "a", "babbbab", "b", "ababa".
Example 2:
Input: str = "aaabba"
Output: 1
Explaination: The substrings after 1
partitioning are "aa" and "abba".
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

@ravikr126  @Amit366  Kindly assign me this issue under LGMSOC'21.

@ravikr126 @Amit366 please assign me this under LGMSOC'21.I will like to do this task in Python and c++ both


Thunderbird CardDAV addressbook empty

I am on Thunderbird 73.3.1 (latest as of today). For it I installed TbSync + Provider for CalDAV & CardDAV.
The addons installed fine. My contacts are with mailo.com, their CardDAV URL + Port for Thunderbird is:
https://carddav.mailo.com/adbook/user.name@mailo.com/1:443
When configuring Provider for CalDAV & CardDAV, I chose manual config and entered the URL + Port exactly as shown (alongside my mailo username and password).
Provider for CalDAV & CardDAV synced fine, no messages or errors, and I get a green tick mark. The error log is empty.
Then, clicking on Thunderbird's "Address Book Button" shows the Mailo directory with the Provider for CalDAV & CardDAV icon. For that, I right-click and select "Default startup directory".
However, the directory is empty, no contacts show.

Hi @kdato
I am not sure there is the right repository to report this issue.
This repo holds a ruby implementation(ruby gem) of the CardDAV protocol and it has nothing to do with Thunderbird.
Maybe try reaching TbSync directly - https://github.com/jobisoft/TbSync

Thanks Tim, I'll report the issue on jbisoft/TbSync.
Best, kdato
On Thu, 8 Oct 2020 at 09:22, Tim Masliuchenko<EMAIL_ADDRESS>wrote:

Hi @kdato https://github.com/kdato
I am not sure there is the right repository to report this issue.
This repo holds a ruby implementation(ruby gem) of the CardDAV protocol
and it has nothing to do with Thunderbird.
Maybe try reaching TbSync directly - https://github.com/jobisoft/TbSync
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/timsly/carddav/issues/3#issuecomment-705412581, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKBEIB6CPJWCLAYANXKAJPDSJVZDHANCNFSM4SF2QHUA
.


Reference leaking inside IF scope

Godot version
v4.0.3.stable.official [5222a99f5]
System information
Window 10
Issue description
References are not unreferenced at the end of if scopes.
Steps to reproduce
Copy, paste and run the snippet below, check the results:
extends Node

func _ready() -> void:
  var ref := RefCounted.new()
  var ref_count : int

  # OK
  ref_count = ref.get_reference_count()
  print('Expected: 1, Result: %d' % ref_count)

  # OK
  if true:
    var temp := ref
    temp = null

  ref_count = ref.get_reference_count()
  print('Expected: 1, Result: %d' % ref_count)

  # FAIL
  if true:
    var temp := ref

  ref_count = ref.get_reference_count()
  print('Expected: 1, Result: %d' % ref_count)

Output example:
Expected: 1, Result: 1
Expected: 1, Result: 1
Expected: 1, Result: 2

Minimal reproduction project
N/A

Do they remain outside of function scope?

Current master at<PHONE_NUMBER>600c871f5c5473872532c68ea3268c gives this:
Expected: 1, Result: 1
Expected: 1, Result: 1
Expected: 1, Result: 2

I don't know expected this is, I'm not sure if GDScript any any official guarantees about if/else etc. scope reference lifetimes.

@dalexeev https://github.com/godotengine/godot/issues/77666#issuecomment-1572517508
Thanks, the disassembling you posted here explains why this happens.
This behavior is understandable for "Struct-like" types (int, float, string), but ends up messing an important aspect of RefCounted.


Bugfix: Catch errors in connecting to Canto Client

When removing unused Assets with ./flow media:removeunused Canto throws an error: 'Security context not initialized and client credentials use not allowed'.
Apparently Neos sends a signal to Canto via the dispatcher with 'ASSET_REMOVED'. This calls the function getAssetProxy in Canto. Here Canto tries to authenticate but then throws an error since we are in the command line. With the try catch Neos gets a correct answer and the command runs. I am not sure if this is the correct way.
I could not find out why Neos triggers the ASSET_REMOVED in readonly sources and we should perhaps change  that.

Thanks for this, I finally had a closer look. 😬
I think the fact you even saw this error is caused by the use of https://github.com/flownative/neos-canto/releases/tag/v0.3.2 – because https://github.com/flownative/neos-canto/releases/tag/v0.3.3 fixes a bug that should resolve this already, if client credentials mode is enabled. Which it should be, if working with this asset source from the CLI, TBH.
Now, digging deeper… why does this happen? The Flowpack.Media.Ui connects the assetRemoved signal (and other) to the closure to do some logging. The first thing this closure does is $assetProxy = $asset->getAssetProxy(); which in turn needs to talk to the Canto API (unless the data is cached locally.)
So, indeed it would be fine to simply ignore this in this case, as it would only lead to a missing log entry, and that log is not even fetched on a CLI call.

Closing in favor of #25 – could you check that, please, @pKallert? Thanks!