[Bug] [Master] task_execute_type column should not be nullable column

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
when i execute a workflow, i find a task to need failover loop. not success.
i can view a log, below error info:
[ERROR] 2023-10-20 10:11:27.735 +0800 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[317] - [WorkflowInstance-3][TaskInstance-0] - State event handle error, get a unknown exception, will retry this event: TaskStateEvent(processInstanceId=3, taskInstanceId=132, taskCode=0, status=TaskExecutionStatus{code=7, desc='success'}, type=TASK_STATE_CHANGE, key=null, channel=null, context=null)
java.lang.NullPointerException: null
        at org.apache.dolphinscheduler.server.master.utils.WorkflowInstanceUtils.logTaskInstanceInDetail(WorkflowInstanceUtils.java:74)
        at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.taskFinished(WorkflowExecuteRunnable.java:440)
        at org.apache.dolphinscheduler.server.master.event.TaskStateEventHandler.handleStateEvent(TaskStateEventHandler.java:74)
        at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.handleEvents(WorkflowExecuteRunnable.java:293)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

i view table data in ds, task_execute_type column is null, cause to loop execute task.
当我在执行一个工作流时，发现工作流中的某个任务一直循环执行，该任务的所有历史实例都是需要容错。查看日志，发现如下错误：
[ERROR] 2023-10-20 10:11:27.735 +0800 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[317] - [WorkflowInstance-3][TaskInstance-0] - State event handle error, get a unknown exception, will retry this event: TaskStateEvent(processInstanceId=3, taskInstanceId=132, taskCode=0, status=TaskExecutionStatus{code=7, desc='success'}, type=TASK_STATE_CHANGE, key=null, channel=null, context=null)
java.lang.NullPointerException: null
        at org.apache.dolphinscheduler.server.master.utils.WorkflowInstanceUtils.logTaskInstanceInDetail(WorkflowInstanceUtils.java:74)
        at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.taskFinished(WorkflowExecuteRunnable.java:440)
        at org.apache.dolphinscheduler.server.master.event.TaskStateEventHandler.handleStateEvent(TaskStateEventHandler.java:74)
        at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.handleEvents(WorkflowExecuteRunnable.java:293)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

发现是因为task_execute_type字段的值为空导致的。我将task_execute_type的值设置为0，工作流中的所有任务就成功了。
What you expected to happen
if task_execute_type column should not be nullable, it be changed to not null column in ds database
如果task_execute_type列的值不能为空，那么最好将该字段设置为非NULL列。
How to reproduce
i dont' know how and why to generated task_execute_type column's value is null, but it can exists.
我忘记操作什么导致task_execute_type的值为null了。但是ds界面的确存在导致task_execute_type的值为NULL的操作。
Anything else
[ERROR] 2023-10-20 10:11:27.735 +0800 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[317] - [WorkflowInstance-3][TaskInstance-0] - State event handle error, get a unknown exception, will retry this event: TaskStateEvent(processInstanceId=3, taskInstanceId=132, taskCode=0, status=TaskExecutionStatus{code=7, desc='success'}, type=TASK_STATE_CHANGE, key=null, channel=null, context=null)
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.server.master.utils.WorkflowInstanceUtils.logTaskInstanceInDetail(WorkflowInstanceUtils.java:74)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.taskFinished(WorkflowExecuteRunnable.java:440)
at org.apache.dolphinscheduler.server.master.event.TaskStateEventHandler.handleStateEvent(TaskStateEventHandler.java:74)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.handleEvents(WorkflowExecuteRunnable.java:293)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Version
3.2.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Could you find out which interface will cause the task_execute_type is null? I am not clear if this is caused by the upgrade error, but is a good idea to set the default value of task_execute_type to 0.

sorry, i don't know which interface cause task_execute_type is null. next time i encounter this problem, i will record it.  @ruanwenjun

Had the same problem, for me I used pydolphinscheduler==4.0.4 which doesn't seem to support dolphinscheduler 3.2.0 yet

@ruanwenjun
I found a reproducing step
1：export Workflow json from version 3.1.8
2：import Workflow json at version  3.2.0
in db，task_execute_type column is null

I also have this error, but it is caused by the empty status. I have no problem in pseudo-cluster mode. This problem occurs in production cluster, could you please tell me how to solve it?
[ERROR] 2024-02-01 15:26:04.471 +0800 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[317] - [WorkflowInstance-265][TaskInstance-837] - State event handle error, get a unknown exception, will retry this event: TaskStateEvent(processInstanceId=265, taskInstanceId=837, taskCode=0, status=null, type=TASK_STATE_CHANGE, key=267-0-265-837, channel=null, context=null)
java.lang.NullPointerException: null

I also have this error, but it is caused by the empty status. I have no problem in pseudo-cluster mode. This problem occurs in production cluster, could you please tell me how to solve it?
[ERROR] 2024-02-01 15:26:04.471 +0800 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[317] - [WorkflowInstance-265][TaskInstance-837] - State event handle error, get a unknown exception, will retry this event: TaskStateEvent(processInstanceId=265, taskInstanceId=837, taskCode=0, status=null, type=TASK_STATE_CHANGE, key=267-0-265-837, channel=null, context=null) java.lang.NullPointerException: null
you can try this step
update t_ds_task_instance set task_execute_type =0 where task_execute_type is null;
update t_ds_task_definition set task_execute_type =0 where task_execute_type is null;
update t_ds_task_definition_log set task_execute_type =0 where task_execute_type is null;


updated to v4.0.1

Checklist

[x] Used a fork of the feedstock to propose changes
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Update to STIR v4.0.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

still problems with the KOSMAPOSL test on Linux. no idea why. https://github.com/UCL/STIR/issues/512


[SPARK-49609][PYTHON][TESTS][FOLLOW-UP] Skip Spark Connect tests if dependencies are not found

What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/48085 that skips the compatibility tests if Spark Connect dependencies are not installed.
Why are the changes needed?
To recover the PyPy3 build https://github.com/apache/spark/actions/runs/11016544408/job/30592416115 which does not have PyArrow installed.
Does this PR introduce any user-facing change?
No, test-only.
How was this patch tested?
Manually.
Was this patch authored or co-authored using generative AI tooling?
No

cc @itholic

Merged to master. Thanks for following up!


License

Should we change the license to match the rest of Prawn gems?

No, I think when we have totally greenfield code, MIT license is best.


Add load/store functions

This came up in zulip, so figured I'd add them.

Needs tests!

I've been thinking a little more about this PR and perhaps the correct way to read from a slice is to obtain an array from the slice (using whatever functions are available--if they aren't they should be added to std).  @workingjubilee made a good point somewhere in zulip that an array basically is a vector, the semantics are different, but from_array should just be a move instruction at worst.
I still feel like it's possible there's something we should be adding to help reading vectors from slices, but maybe it's more about arrays and not so much vectors.  Should we close this?

Yeah, I think we should revisit this later with a different approach when we are more confident there's a special desirable here. We should already be emitting vmovups and friends.


Score counter is scuffed

Describe the Bug
There are 2 issues here:

Without the personal best counter, the score counter places itself significantly lower than it should be.
Rank does not display regardless of placement.

Attach or Link Files
Config file: CountersPlus.json
Log: 2<IP_ADDRESS>.18.49.log
Probable Culprit
It's probably something specific to score counter. Dependencies are all latest (SiraUtil 1.0.2 and BSML 1.3.5 from Mod Assistant, BSIPA 4.1.0 from GitHub). Of note, minor version of Mod Assistant dependencies is higher than the release page asks for, but I would hope/assume this isn't the issue.
Screenshots or Video
Taken in FPFC, but issue occurs in normal game as well. Score counter is below multiplier
Additional context
Been seeing this issue since 2.0.0 release. Didn't have the problem in the RC. Adding the personal best counter puts the score counter in the right place but the rank still doesn't show.
Bonus bug
The miss counter is not visible through the floor in Linkin Park. Honestly it doesn't bother me enough to reproduce and file another issue but if you know an easy fix have at it.

I can confirm that something is scuffed with the score counter. It completely disappeared in my case. Will update with log file soon.

Hi all,
sorry for the long response, I'll look into this while fixing Counters+ for the next beat saber version.

This issue has been fixed as of Counters+ 2.1.0, a beta of which is available on GitHub.


fixed depricated obj reference error =& and changed functions visibility to protected

fixed depricated obj reference error =& and changed functions visibility to protected

Thanks for this. I just merged the writing capabilities and didn't have time to fix these issues.


parse_gtii?

Hello. I've been trying out amrlib, and have a question about the 2 models, parse_t5 vs. parse_gsii. I easily find the first one, but https://github.com/bjascob/amrlib/blob/master/README.md says there's the second one, too, which I can't find. I also went to the place the page says it's from (https://github.com/jcyk/AMR-gs), and can't find it there either. Any guidance you can provide?
Thanks!

The Read The Docs install page has instructions for installing both parse models (parse_T5 and parse_gsii).  See the install section on the main project page.

Added https://github.com/bjascob/amrlib/commit/1e70741b4ea07ad1b470ff6a241792d49d927d84 to make model download locations clearer in the main README page.


docs: mention configureWebpack devServer return value

Motivation
This was added in #6109, and although Configuration.devServer is already a thing, I figured that mentioning in documentation is worthwhile.
Have you read the Contributing Guidelines on pull requests?
Yes

https://github.com/facebook/docusaurus/issues/6109 ??? 🤪

Oh, oops, updated 😄


not actually available/implemented

although it's already ocltober 2021, none of described options actually available in windows server 2019

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

ID: cec334a9-609f-3f33-0aec-da9fdcd3ef3a
Version Independent ID: 40577249-582c-85e9-c7dc-e4cd6c700fa7
Content: TLS version enforcement capabilities now available per certificate binding on Windows Server 2019 - Security documentation
Content Source: security-docs/engineering/Disable-Legacy-TLS.md
Product: security
GitHub Login: @amarshal
Microsoft Alias: AMarshal

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


It is not clear why the master key is a requirement

@minnieshi This azure-docs repository deals about feedback related to particular Azure document page (like correcting doc bugs, doc enhancements, product issues related to wrong doc instructions, etc.) so if issue is intended to update / correct / enhance anything in any Azure document then please elaborate your feedback and share the Azure document URL.

I had closed the ticket two days ago, right after I created it, as I realized it was duplicated and had less info than the original one.
I am not sure why the system still assigned to you after I closed it.

@minnieshi Got it. If that's the case then please ignore this GiHub issue going forward.


merge package template from Kronos-Tools/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template
chore(devDependencies): update<EMAIL_ADDRESS>from template

Coverage remained the same at 72.222% when pulling 0ff73b9e9fb6da4d5af1c9c30b27651757180d03 on template-sync-1 into e1739752f861fdccbff5be4a23d7f9ec693391d2 on master.


Cannot Run after using Swashbuckle.ASPNETCORE 4.X

After following the steps from here:
https://docs.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-aspnet-core-ef-step-04?view=vs-2019
Run and execute produces this:

Issue was resolved:
https://stackoverflow.com/questions/62464243/getting-invalid-attempt-to-iterate-non-iterable-instance-for-springdoc-open-api

Issue was resolved:
https://stackoverflow.com/questions/62464243/getting-invalid-attempt-to-iterate-non-iterable-instance-for-springdoc-open-api


websocket response error

https://github.com/aarongarvey/binance/blob/2e50536197bc82ee99c9d06119659f46cd9c7ccd/lib/ws.js#L20
it should be eventHandler(this._beautifier.beautify(data, data.e + 'Event'));

@longbill
Have you done the pull request ?

I just saw someone already did
https://github.com/aarongarvey/binance/pull/3


feat(trace.py): removing max events per type limitation

fixing some pylints to create a commit
I made a mistake and the latest changed wasn't released due to no semantic release, so i created this PR.

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


The keyboard fails if text is multiline

Setup the system with:
import settings
settings.set("hello_name", "some\ntext")
settings.save()
import machine
machine.reset()

Navigate to the Hello app & try to enter edit mode
MicroPython afceb56-dirty on 2022-06-02; TiDAL with ESP32S3
Type "help()" for more information.
>>> Creating app hello.Hello...
Task exception wasn't retrieved
future: <Task> coro= <generator object 'check_buttons' at 3d84a510>
Traceback (most recent call last):
  File "uasyncio/core.py", line 1, in run_until_complete
  File "buttons.py", line 123, in check_buttons
  File "buttons.py", line 152, in _send_callback_for_button
  File "hello/__init__.py", line 25, in edit_name
  File "app.py", line 121, in keyboard_prompt
  File "app.py", line 107, in present_window
  File "app.py", line 97, in push_window
  File "app.py", line 135, in _activate_window
  File "keyboard.py", line 124, in redraw
  File "keyboard.py", line 150, in draw_textarea
  File "keyboard.py", line 243, in draw_cursor
IndexError: list index out of range

After that the system becomes unresponsive to the buttons (but the REPL interface still works).

Fixed in v0.5.1, now available on "Update Firmware"

Thanks! I was pulling the docker image to test it :D


feat(Icons): migrate from heroicons to lucide

🔗 Linked issue

Resolves https://github.com/nuxt/ui/issues/2539
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

@benjamincanac how many icons in the documentation ... I replaced everything, some icons are different but most are 1in1

Thanks a lot! 😊


"Help" menu + Platypus support for .help bundles (macOS HelpViewer)

I've noticed that Platypus apps don't have a "Help" Menu (which would normally contain a " Help command").
It would be great if that could be implemented. Of course the app developer would then still have to manually create a .help bundle (before or after) to include in ./Contents/Resources.
Possible?

Definitely possible, and a good idea. On the upcoming features list.

Awesome. For those interested, here's a current article on how to actually create .help bundles for modern macOS applications: https://marioaguzman.wordpress.com/2020/09/12/auth/


Added offset to the config

Added offset to the config
offset and orientation now allow optional nbt to further specify an item offset
orientation now allow optional x and y axis offset/rotation

Examples:

net.minecraft.item.HoeItem{display:{Name:'\"translation test1\"'}:0.3 matches every hoe named "translation test1" and applies the offset/roation of 0.3.
net.minecraft.item.HoeItem:.1:0:0.3 matches every hoe and applys an offset/roation of [0.1, 0, 0.3]

closes #19

Rebased onto the Crashfix branch.

Changed this PR to draft.
The last snapshot has the potential to blow all kindes of mods, serversoftware and plugins up.
I will have another look into this problem once Fabric has a stable version for 1.20.5.


Support nested structs

What is the best way to a property defined on the root level of a cassandra table be embedded inside a nested struct as defined in go?
For example
type Foo struct {
	CompanyUUID      gocql.UUID `json:"companyUUID" cql:"company_uuid"`
	Bar          *Bar   `json:"bar"`
	CreatedAt        time.Time  `cql:"created_at"`
	UpdatedAt        time.Time  `cql:"updated_at"`
}

type Bar struct {
	BazBah    bool     `json:"bazBah" cql:"baz_bah"`
}

CREATE TABLE IF NOT EXISTS {{.Keyspace}}.foo (
    company_uuid uuid,
    baz_bah boolean,
    created_at timestamp,
    updated_at timestamp,
    PRIMARY KEY (company_uuid)
);

A GetRelease on a Foo struct here fails with missing destination name "baz_bah" in *package.Foo

Nvm fixed this by reading through reflectx and adding db:"" tag to bar!

No need to close it, Bar needs to implement custom marshaling ex. https://github.com/scylladb/gocqlx/blob/master/iterx_test.go#L27


Create about page

As a uipa user, I want to seek out an about page to find more information on the background of the system.
This should be done in the uipa admin, then scripted out. Point the flatpage to help/page.html. See Flatpages docs and this commit for more information.
Acceptance:
About page should contain:

Link to history of UIPA law
People who have made this possible

Which people made UIPA.org possible? Or UIPA possible?

See pull request associated with #36

Going to close this one for now. Will create a new ticket to move the file from its current place into a fixtures folder.


Helpful material added

Adding my project "My Anime List" in Beginner Friendly Projects and Microsoft post about joining Hacktoberfest and how to win a t-shirt in Helpful Links
Related to Issue #6

Oooo great! Might actually try to do a pull request later 😃 Great work!


WA-238 - Include daily limit

## Due Diligence

[ ] Affects database
[x] Breaking change
[x] Tests [Feature, Functional, DOM or components via Storybook]
[ ] Documentation

## Description
This PR introduces the Daily Limit in all routes of the app related with safes themselves:

safelist route
open safe route
display safe route
It updates the immutable Safe record and all actions related to it, tests have been updated as well.

##Pictures

Dev Notes
For reviewing this PR I just recommend do a "lexical" review and also visit the storybook link for checking all routes.

Travis automatic deployment:
https://staging-23-pr-463-safe-react-gnosis.surge.sh
Storybook book automatic deployment:
https://storybook-staging-23-pr-463-safe-react-gnosis.surge.sh

@tschubotz I have included a fix for being able to see the complete address in the safe view. Let me know if it works for you.

Travis automatic deployment:
https://staging-23-pr-49-safe-react-gnosis.surge.sh
Storybook book automatic deployment:
https://storybook-staging-23-pr-49-safe-react-gnosis.surge.sh


Fix ServiceLoader queries using ModuleClassLoader & add related tests

The fix is just to call the package-private ModuleLayer.bindToLoader(ClassLoader) method on the parent layers when creating the ModuleClassLoader.
The rest of the PR is a complicated testing setup, to make sure that we can test with both CP-loaded and SJH-loaded source sets.

Added another test to make sure that "doubly nested" child layers can access both their parent and the boot layer.


Add safeguard when table is None

Instantiation of SpatialData does not create a table, implying that the table is optional.
A SpatialData object with just (visual) elements but no annotations can still be of interest for viewing in napari-spatialdata, however it tried to load annotations without checking whether a table exists.

Perfect thanks a lot! https://github.com/scverse/napari-spatialdata/pull/176 should fix the failing tests, gonna merge it soon.

We're currently processing your upload.  This comment will be updated when the results are available.


"No test sources found matching the given filter '*,!\obj**' " error message is shown after automated tests with Azure Test Cases

Describe the bug
Step:1
I have created the azure repo with test file, playwright.snl file, playwright.csproj and yml file. I have mentioned the yaml file below with the screenshot.
yaml file:
trigger:

Quiklyz

pool:
vmImage: windows-latest
steps:

task: UseDotNet@2
inputs:
packageType: sdk
version: '7.0.x'
displayName: 'Use .NET SDK'
script: dotnet build --configuration Release
displayName: 'Build'
script: pwsh bin/Release/net7.0/playwright.ps1 install --with-deps
displayName: 'Install Playwright browsers'
script: dotnet test --configuration Release
displayName: 'Run tests'

Step 2:
Created the pipeline and ran the yaml file.

Step 3:
Have followed the below link to create the release.
https://marcusfelling.com/blog/2020/associating-automated-tests-with-azure-test-cases/
Step 4:
Done associating the testcase using visual studio and executed the test case.

Expected behavior
Test case should fail or pass
Actual behavior
Test case is in "In progress" status.
No Test source found warning occurs after executing the test case.

Are you sure the dll is there? Running with debugging enabled https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs?view=azure-devops#configure-verbose-logs usually lists all the files. You might also list them yourself by adding a separate step into the job.
You are searching in d:\a\r1\a, please list all the files there.


Suggestion: use localForage and/or LZ-string for storing larger notes

The code makes use of localStorage() to save the raw text and the time and date of when the edit has been made.

Given that localStorage only has 5MiB available to it, you might want to use the localForage library to have a localStorage-like API for IndexedDB, with automatic localForage fallback, so that people can store even larger notes, or you could even support storing pasted images as PNG blobs.
Alternatively, you might want to either compress the text with LZ-String before storing it. (BTW, version 2.0 is currently awaiting a merge and much faster, especially if you use the "Unsafe" version)

A better option that doesn't require any external dependencies is to use the unlimitedStorage permission which just uses the same API but doesn't limit the storage. in addition the storage being used currently is the window.localStorage api that is ephemeral and will be lost when someone clears their browser history. This will make someone angry I guarantee it. The chrome.localStorage API is asynchronous though so it will require a touch of changes. if you want to use promises and async/await there is a browser polyfill that ports the firefox promise based browser webExt apis to chrome.


feat: add mappings for ledger() fields

This pull request covers changes to include new fields for ledger entry:
Left (ledger) -> right (cashctrl)

base_currency_amount -> amount * currencyRate
document -> reference

@lasuk Please review the changes and provide feedback or approval for merging.

@AlexTheWizardL wrote in slack:

I've made changes to what we discussed at the meeting - just leave mappings for the document field

Merging now. Thanks for narrowing the scope.


Cache about UrlManager

Q
A

Yii version
2.0.9

PHP version
7.0.10

Operating system
Windows

Why not add new  property like 'enableCache' to  decide whether to enable  caching。
The property named 'cache' just to select the cache object or the ID of the cache application component that is used to cache the metadata.
/**
     * @var Cache|string the cache object or the application component ID of the cache object.
     * Compiled URL rules will be cached through this cache object, if it is available.
     *
     * After the UrlManager object is created, if you want to change this property,
     * you should only assign it with a cache object.
     * Set this property to false if you do not want to cache the URL rules.
     */
    public $cache = 'cache';// line 112

This is a common way of configuring something in Yii. Answering on question why not, I can say that it's just a question of decision in the project coding style.
Sorry, but I have to reject the suggestion.


Zuul Proxy routes and service name convention

Hello,
I have a need near issue #458 but slightly different. I would like to implements some convention between route and services that are dynamically discovered :
domain-servicename-v1 (registered id in discoveryClient) --> /v1/domain/servicename/**
or
rest-service-v1 --> /v1/rest-service
After some research in spring-cloud-netflix-core I think a good place to implements this enhancement is in ProxyRouteLocator#around line 199. The way routes are currently bind is a bit static and hard to override without duplicating ProxyRouteLocator code :
String key = "/" + serviceId + "/**";

We could add some "overridable" logic here
protected LinkedHashMap<String, ZuulRoute> locateRoutes() {
...
// Need to be done after static route code
String key = "/" + serviceToPathPolicy(serviceId) + "/**"
...
}
protected String serviceToPathPolicy(serviceId) {
   return this.policy(serviceId);
}

this.policy is a custom object that transform a service id in a path
rest-service-v1 -> v1/rest-service -> /v1/rest-service/**
I could provide a pull request if I'm not too wrong in the way to do this.

I think a PR would go a long way. If it has this one implementation, plus the default, plus some tests, it is probably good to go.

Ok thanks, I'll try to provide this soon


Offboard example

Adding Offboard velocity control app.
Offboard velocity control is demonstrated using

Local NED
Body NED

@shakthi-prashanth-m can you please rebase this and push to upstream? I think Travis needs a little push

Coverage remained the same at 48.37% when pulling 6ea8c2168f29ef0212179f0f265bf7a3303a227e on shakthi-prashanth-m:offboard_example into f96c303cd6afe8f376da6f42b5abbd489624ffe3 on dronecore:develop.

@shakthi-prashanth-m Great job!

@shakthi-prashanth-m Would be good to add the calibration checks (at least) before the health check.

@hamishwillee  Thanks!
Will look into adding callbacks. Thanks for the suggestion.


Move from cStringIO.StringIO to BytesIO for more consistency.

This change only affects Python2; Python3 was already using BytesIO

Superseded by #290


feature: form builder testing helpers

This started breaking tests for me.
Using a component with multiple forms:
Previously worked, now fails with
Property [$form] not found on component
livewire(ProfileSettings::class)
        ->fillForm(['email' => $user->email])
        ->call('saveProfile')
        ->assertHasNoFormErrors(['email']);

After adjusting the test like so
livewire(ProfileSettings::class)
        ->fillForm(['email' => $user->email], 'profileForm')
        ->call('saveProfile')
        ->assertHasNoFormErrors(['email'], 'profileForm');

Property [$] not found on component

As a reminder, a failing test PR would be good

As a reminder, a failing test PR would be good

Done https://github.com/filamentphp/filament/pull/4869


DOC: add examples on how to use AnnotationDb, fixes  #1506

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.003%) to 91.541%

Files with Coverage Reduction
New Missed Lines
%

.nox/test-3-9/Lib/site-packages/cogent3/evolve/likelihood_function.py
1
96.45%

.nox/test-3-10/Lib/site-packages/cogent3/maths/scipy_optimize.py
3
84.92%

.nox/test-3-9/Lib/site-packages/cogent3/maths/scipy_optimize.py
3
84.87%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
235593

Relevant Lines:
257364

💛  - Coveralls


Support GHC 8.6

GHC 8.6 has been out for a while now, and it would be really good to have support for it.

This is still an issue. I just got hit by this a second ago:
[koz@Emi ~]$ cabal new-install -O2 -w /home/koz/ghc-86/bin/ghc project-m36
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: base-<IP_ADDRESS>/installed-4.1... (user goal)
[__1] next goal: containers (user goal)
[__1] rejecting: containers-<IP_ADDRESS>, containers-<IP_ADDRESS> (constraint from user
target requires ==<IP_ADDRESS>)
[__1] trying: containers-<IP_ADDRESS>/installed-0.6...
[__2] trying: project-m36-0.7 (user goal)
[__3] next goal: network-transport-tcp (dependency of project-m36)
[__3] rejecting: network-transport-tcp-0.6.0 (conflict:
containers==<IP_ADDRESS>/installed-0.6..., network-transport-tcp => containers>=0.4
&& <0.6)
[__3] rejecting: network-transport-tcp-0.5.1, network-transport-tcp-0.5.0,
network-transport-tcp-0.4.2, network-transport-tcp-0.4.1,
network-transport-tcp-0.4.0, network-transport-tcp-0.3.1,
network-transport-tcp-0.3.0, network-transport-tcp-<IP_ADDRESS>,
network-transport-tcp-<IP_ADDRESS>, network-transport-tcp-<IP_ADDRESS>,
network-transport-tcp-0.2.0 (conflict: project-m36 =>
network-transport-tcp>=0.6.0)
[__3] fail (backjumping, conflict set: containers, network-transport-tcp,
project-m36)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: containers, network-transport-tcp,
project-m36, base
Try running with --minimize-conflict-set to improve the error message.

This is actually a fixed cassava issue. You just need to perform a cabal new-update to get the latest.

@agentm I tried that - same problem:
[koz@Emi ~]$ cabal new-update
Downloading the latest package list from hackage.haskell.org
To revert to previous state run:
    cabal v2-update 'hackage.haskell.org,2019-09-27T18:27:53Z'
[koz@Emi ~]$ cabal new-install -O2 -w /home/koz/ghc-86/bin/ghc project-m36
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: base-<IP_ADDRESS>/installed-4.1... (user goal)
[__1] next goal: containers (user goal)
[__1] rejecting: containers-<IP_ADDRESS>, containers-<IP_ADDRESS> (constraint from user
target requires ==<IP_ADDRESS>)
[__1] trying: containers-<IP_ADDRESS>/installed-0.6...
[__2] trying: project-m36-0.7 (user goal)
[__3] next goal: network-transport-tcp (dependency of project-m36)
[__3] rejecting: network-transport-tcp-0.6.0 (conflict:
containers==<IP_ADDRESS>/installed-0.6..., network-transport-tcp => containers>=0.4
&& <0.6)
[__3] rejecting: network-transport-tcp-0.5.1, network-transport-tcp-0.5.0,
network-transport-tcp-0.4.2, network-transport-tcp-0.4.1,
network-transport-tcp-0.4.0, network-transport-tcp-0.3.1,
network-transport-tcp-0.3.0, network-transport-tcp-<IP_ADDRESS>,
network-transport-tcp-<IP_ADDRESS>, network-transport-tcp-<IP_ADDRESS>,
network-transport-tcp-0.2.0 (conflict: project-m36 =>
network-transport-tcp>=0.6.0)
[__3] fail (backjumping, conflict set: containers, network-transport-tcp,
project-m36)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: containers, network-transport-tcp,
project-m36, base
Try running with --minimize-conflict-set to improve the error message.

[koz@Emi ~]$ cabal new-install -O2 -w /home/koz/ghc-86/bin/ghc project-m36 --allow-newer
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O2
In order, the following will be built (use -v for more details):
 - Glob-0.10.0 (lib) (requires build)
 - MonadRandom-<IP_ADDRESS> (lib) (requires build)
 - blaze-markup-<IP_ADDRESS> (lib) (requires download & build)
 - cabal-doctest-1.0.8 (lib) (requires download & build)
 - cassava-<IP_ADDRESS> (lib) (requires build)
 - distributed-static-0.3.9 (lib) (requires build)
 - exceptions-0.10.3 (lib) (requires build)
 - fast-logger-3.0.0 (lib) (requires download & build)
 - http2-2.0.3 (lib) (requires build)
 - iproute-1.7.7 (lib) (requires build)
 - math-functions-<IP_ADDRESS> (lib) (requires build)
 - mmorph-1.1.3 (lib) (requires build)
 - monad-parallel-<IP_ADDRESS> (lib) (requires build)
 - mono-traversable-<IP_ADDRESS> (lib) (requires download & build)
 - network-transport-tcp-0.6.0 (lib) (requires build)
 - optparse-applicative-<IP_ADDRESS> (lib) (requires build)
 - quickcheck-instances-0.3.22 (lib) (requires build)
 - regex-posix-<IP_ADDRESS> (lib) (requires download & build)
 - rset-1.0.0 (lib) (requires build)
 - simple-sendfile-0.2.28 (lib) (requires build)
 - streaming-commons-<IP_ADDRESS> (lib) (requires build)
 - transformers-base-<IP_ADDRESS> (lib) (requires build)
 - universe-reverse-instances-1.1 (lib) (requires build)
 - uuid-1.3.13 (lib) (requires build)
 - vector-builder-0.3.8 (lib) (requires download & build)
 - random-shuffle-0.0.4 (lib:random-shuffle) (requires build)
 - blaze-html-<IP_ADDRESS> (lib) (requires download & build)
 - http-api-data-0.4.1 (lib:http-api-data) (requires build)
 - distributive-0.6.1 (lib:distributive) (requires build)
 - temporary-1.3 (lib) (requires build)
 - resourcet-1.2.2 (lib) (requires build)
 - distributed-process-0.7.4 (lib) (requires build)
 - wai-logger-2.3.6 (lib:wai-logger) (requires download & build)
 - mwc-random-<IP_ADDRESS> (lib) (requires build)
 - regex-compat-<IP_ADDRESS> (lib) (requires download & build)
 - websockets-<IP_ADDRESS> (lib) (requires build)
 - warp-3.3.3 (lib) (requires download & build)
 - monad-control-<IP_ADDRESS> (lib:monad-control) (requires build)
 - comonad-5.0.5 (lib:comonad) (requires build)
 - gnuplot-0.5.6 (lib) (requires build)
 - conduit-<IP_ADDRESS> (lib) (requires build)
 - distributed-process-extras-0.3.5 (lib) (requires build)
 - distributed-process-async-0.2.6 (lib) (requires build)
 - wai-extra-3.0.28 (lib) (requires build)
 - bifunctors-5.5.5 (lib) (requires build)
 - distributed-process-client-server-<IP_ADDRESS> (lib) (requires build)
 - scotty-0.11.5 (lib) (requires build)
 - semigroupoids-5.3.3 (lib:semigroupoids) (requires build)
 - profunctors-5.5 (lib) (requires build)
 - lattices-2.0.1 (lib) (requires build)
 - foldl-1.4.5 (lib) (requires build)
 - either-<IP_ADDRESS> (lib) (requires build)
 - data-interval-1.3.1 (lib) (requires build)
 - list-t-1.0.4 (lib) (requires download & build)
 - deferred-folds-<IP_ADDRESS> (lib) (requires build)
 - primitive-extras-0.8 (lib) (requires build)
 - stm-hamt-<IP_ADDRESS> (lib) (requires build)
 - stm-containers-<IP_ADDRESS> (lib) (requires build)
 - project-m36-0.7 (lib) (requires build)
 - project-m36-0.7 (exe:Example-CustomTupleable) (requires build)
 - project-m36-0.7 (exe:Example-Hair) (requires build)
 - project-m36-0.7 (exe:Example-OutOfTheTarpit) (requires build)
 - project-m36-0.7 (exe:tutd) (requires build)
 - project-m36-0.7 (exe:project-m36-websocket-server) (requires build)
 - project-m36-0.7 (exe:bigrel) (requires build)
 - project-m36-0.7 (exe:Example-SimpleClient) (requires build)
 - project-m36-0.7 (exe:project-m36-server) (requires build)
 - project-m36-0.7 (exe:handles) (requires build)
 - project-m36-0.7 (exe:Example-Blog) (requires build)
Downloading  vector-builder-0.3.8
Starting     MonadRandom-<IP_ADDRESS> (lib)
Starting     distributed-static-0.3.9 (lib)
Starting     exceptions-0.10.3 (lib)
Starting     cassava-<IP_ADDRESS> (lib)
Starting     Glob-0.10.0 (lib)
Downloaded   vector-builder-0.3.8
Downloading  blaze-markup-<IP_ADDRESS>
Downloaded   blaze-markup-<IP_ADDRESS>
Downloading  blaze-html-<IP_ADDRESS>
Starting     blaze-markup-<IP_ADDRESS> (lib)
Downloaded   blaze-html-<IP_ADDRESS>
Downloading  fast-logger-3.0.0
Building     exceptions-0.10.3 (lib)
Building     distributed-static-0.3.9 (lib)
Building     MonadRandom-<IP_ADDRESS> (lib)
Downloaded   fast-logger-3.0.0
Downloading  mono-traversable-<IP_ADDRESS>
Starting     fast-logger-3.0.0 (lib)
Building     cassava-<IP_ADDRESS> (lib)
Building     Glob-0.10.0 (lib)
Downloaded   mono-traversable-<IP_ADDRESS>
Downloading  regex-posix-<IP_ADDRESS>
Downloaded   regex-posix-<IP_ADDRESS>
Downloading  regex-compat-<IP_ADDRESS>
Starting     http2-2.0.3 (lib)
Downloaded   regex-compat-<IP_ADDRESS>
Downloading  warp-3.3.3
Building     blaze-markup-<IP_ADDRESS> (lib)
Downloaded   warp-3.3.3
Downloading  cabal-doctest-1.0.8
Downloaded   cabal-doctest-1.0.8
Downloading  list-t-1.0.4
Starting     cabal-doctest-1.0.8 (lib)
Downloaded   list-t-1.0.4
Downloading  wai-logger-2.3.6
Haddock      distributed-static-0.3.9 (lib)
Downloaded   wai-logger-2.3.6
Building     fast-logger-3.0.0 (lib)
Haddock      exceptions-0.10.3 (lib)
Haddock      MonadRandom-<IP_ADDRESS> (lib)
Building     http2-2.0.3 (lib)
Installing   distributed-static-0.3.9 (lib)
Haddock      Glob-0.10.0 (lib)
Building     cabal-doctest-1.0.8 (lib)
Installing   exceptions-0.10.3 (lib)
Installing   MonadRandom-<IP_ADDRESS> (lib)
Completed    distributed-static-0.3.9 (lib)
Haddock      fast-logger-3.0.0 (lib)
Installing   Glob-0.10.0 (lib)
Completed    exceptions-0.10.3 (lib)
Haddock      cabal-doctest-1.0.8 (lib)
Installing   fast-logger-3.0.0 (lib)
Completed    MonadRandom-<IP_ADDRESS> (lib)
Haddock      blaze-markup-<IP_ADDRESS> (lib)
Installing   cabal-doctest-1.0.8 (lib)
Completed    Glob-0.10.0 (lib)
Installing   blaze-markup-<IP_ADDRESS> (lib)
Completed    fast-logger-3.0.0 (lib)
Completed    cabal-doctest-1.0.8 (lib)
Completed    blaze-markup-<IP_ADDRESS> (lib)
Haddock      http2-2.0.3 (lib)
Installing   http2-2.0.3 (lib)
Completed    http2-2.0.3 (lib)

Failed to build cassava-<IP_ADDRESS>.
Build log (
/home/koz/.cabal/logs/ghc-8.6.5/cassava-<IP_ADDRESS>-9f63adb3866c2a7d0f423dc42ead43d8969a0f9012a9ebcddaa8b288087c941e.log
):
Configuring library for cassava-<IP_ADDRESS>..
Preprocessing library for cassava-<IP_ADDRESS>..
Building library for cassava-<IP_ADDRESS>..

src/Data/Csv/Conversion.hs:26:3: error:
     error: #error **INVARIANT BROKEN** Detected invalid combination of `text-short` and `bytestring` versions. Please verify the `pre-bytestring-0.10-4` flag-logic in the .cabal file wasn't elided.
       26 | # error **INVARIANT BROKEN** Detected invalid combination of `text-short` and `bytestring` versions. Please verify the `pre-bytestring-0.10-4` flag-logic in the .cabal file wasn't elided.
          |   ^~~~~
   |
26 | # error **INVARIANT BROKEN** Detected invalid combination of `text-short` and `bytestring` versions. Please verify the `pre-bytestring-0.10-4` flag-logic in the .cabal file wasn't elided.
   |   ^

src/Data/Csv/Conversion.hs:100:0: error:
     warning: "MIN_VERSION_text_short" is not defined, evaluates to 0 [-Wundef]
      100 | #if MIN_VERSION_text_short(0,1,0)
          |
    |
100 | #if MIN_VERSION_text_short(0,1,0)
    | ^

src/Data/Csv/Conversion.hs:100:0: error:
     error: missing binary operator before token "("
    |
100 | #if MIN_VERSION_text_short(0,1,0)
    | ^

src/Data/Csv/Conversion.hs:1031:0: error:
     warning: "MIN_VERSION_text_short" is not defined, evaluates to 0 [-Wundef]
     1031 | #if MIN_VERSION_text_short(0,1,0)
          |
     |
1031 | #if MIN_VERSION_text_short(0,1,0)
     | ^

src/Data/Csv/Conversion.hs:1031:0: error:
     error: missing binary operator before token "("
     |
1031 | #if MIN_VERSION_text_short(0,1,0)
     | ^
`gcc' failed in phase `C pre-processor'. (Exit code: 1)
cabal: Failed to build cassava-<IP_ADDRESS> (which is required by
exe:Example-CustomTupleable from project-m36-0.7, exe:Example-Hair from
project-m36-0.7 and others). See the build log above for details.

Try deleting your the cassava cabal source cache under .cabal/store. I suspect that the package was updated without bumping the version.
Also, try downloading and building the cassava source for <IP_ADDRESS> manually. I suspect that you will not hit the issue.


Refactor config files into separate module

The code to handle config files and auto detect configuration was spread out over a couple of files. This PR consolidates them into 1 module.
It also includes auto detected values into the initial created default configuration.
Also, 100% test coverage of new config module :sunglasses:

Coverage increased (+0.82%) to 63.2% when pulling ad016de653425efbdc6e7a4dd5b43a53ffcf3a21 on chore-improve-config into 5e6a502167d5f0584ff1ff0e6723d0de4af53732 on dev.

Definitely cleaner. I like it.


How to deal with partial resources

As far as I can see, there isn't currently a robust way to handle requests that return partial resources.
In particular, I want to do a list request where I only want to request a couple of the fields of a resource. Then I will request the complete resource when I need it. This works as expected, where the detailed resource replaces the existing partial resource. The problem is that if I reverse the order of these requests.
Say I'm at a detail page, and navigate back to the list page, if the list request is stale or not in the cache, the partial resources that are fetched will replace any complete resource that is already cached.
Are there any suggestions for how to deal with this? Or plans for improvements that will make this use case possible?

I did dome more testing, and it appears lodash merge deals with class instances differently to plain objects.
https://runkit.com/skoging/5c866ccaa0922f0014c0835e

Are you looking for more feedback, or just busy?

I've just been busy lately. I'll take another pass on this in the next
couple days.
On Wed, Mar 13, 2019 at 5:15 PM Nathaniel Tucker<EMAIL_ADDRESS>wrote:

Are you looking for more feedback, or just busy?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/coinbase/rest-hooks/issues/9#issuecomment-472493951,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFyGWSuwH00Bx9SwgMZeVdGAF_zL41EMks5vWSQ7gaJpZM4bogqb
.

Closed in https://github.com/coinbase/rest-hooks/pull/10

https://github.com/coinbase/rest-hooks/pull/10


Update Composer dependencies (2022-03-06-00-07)

Visual regression test passed!
View the visual regression test report


Clarify that --jobs doesn't affect parallelism when running the resulting binary

Addresses #1591.
I believe this issue only affects cargo bench and cargo test. If it's applicable to any of the other commands, let me know and I'll amend this.

r? @wycats
(rust_highfive has picked a reviewer for you, use r? to override)

@bors r+ 07df28e

:hourglass: Testing commit 07df28e with merge 3c45cda...

:broken_heart: Test failed - cargo-win-gnu-64

@bors: retry

:hourglass: Testing commit 07df28e with merge 00016d6...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64


Fixes #799: New "Watcher" abstraction

I've moved all (2) watchers out of their mojos and unified their goals. Now watchers are treated like generators and enrichers (although only one watcher is selected and executed, the first one that is applicable). The spring-boot watcher will be used for spring-boot projects, while the other one (called it docker-image...) will be the fallback one. The fallback one is not applicable on Openshift.
The two watchers were different in their usage. The spring-boot one forked a maven lifecycle by executing the deploy goal. The docker one required that the user typed all the goals, so I've decided to execute the deploy goal by default for all watchers.
I've removed all the code from the AbstractTailLogMojo and introduced a specific service (that is also used by one watcher). Introduced a new KubernetesClientUtil and moved there some code that were in the abstract mojo.
I need to change the docs. I'll do it as soon as this gets approved.
There are a lot of improvements that can be done on both watchers, but I'll open other issues for that. Now they just work as before (just fixed some small bugs on the spring-boot one).
Note: the parent pom depends on version 0.19-SNAPSHOT of the docker maven plugin. This PR should be merged in d-m-p and the plugin released before merging this one (I guess TravisCI won't appreciate it :D).

Awesome ! Thanks a lot @nicolaferraro, I will have a look over the weekend.

@nicolaferraro just released d-m-p v0.20.0 and updated this PR. Now it's time for review .... :)

I've made the changes. Improving logging is really useful.. you can discover that the order of watchers is wrong :)

thanks !

[merge]


ci: Allow the action to create a release

This PR add the permission contents: write to allow the action to create a release..
Please see https://github.com/Leedehai/typst-physics/pull/9#issuecomment-1712412286.

Thanks for putting efforts into this! The link https://github.com/Leedehai/typst-physics/releases/latest/download/physica-manual.pdf works.
赞 😎


Add small expression language

The language supports the arithmetic operators +-*/ as well as parentheses for grouping and == for equality testing. It should be whitespace insensitive. You can check the test files for more examples.
It also supports identifiers, although I haven't tested that much since there's no assignment so the only valid identifiers will be those that we prefill the environment with. There's also not much (anything) in terms of exposing helpful error messages.
Examples:
1 + 2 * 3 // 7
(1 + 2) * 3 // 9
1 +             5 // 6

Looks good! Though we may want to add a >, >=, etc as they make good test cases for filters? What do you all think?
Also perhaps some logical operators so we can put together complex conditions for filters. I know we don't need the full language yet but those might be nice as a proof of concept.


HELP

The plugin (at least for my version of the Bible, the VFL) does not put the verses in plain text, but instead with the verse thing. I need it to be in true plain text because I need to send it to other people. How do I fix this?

Creating plain text files that work outside Obsidian is currently not supported. I'll go ahead and add that as a feature.

I've added a pre-release with the new feature.
https://github.com/GsLogiMaker/my-bible-obsidian-plugin/releases/tag/1.1.1.prerelease.1
To use it, make sure the Build with dynamic verses settings is Off and that the Verse body format setting uses {verse_text} if isn't already.

Let me know if this helps. God bless!

EPIC THANKS


Update conditional-rendering.md

The ternary syntax using parenthesis was an unconventional prettier invention, going out of its way to format react ternaries differently from normal ternaries (if i remember correctly, because vim users had trouble re-formating without a mouse). If they made the right decision or not is one thing, but the additional noise could mislead beginners here, thinking they have to add more characters to make a simple 2-slot ternary, or that it is a "react thing".

Sure, why not. Thanks!


Spyglass Use not render for other Players on SwapSlot

Hi, Thank you for good mod.
To do this, when using the item, need to add a delay, apparently so that the server has time to read.

Yes, I remember encountering this issue when first developing the mod. In the end I decided that I'd rather have no delay, just to make the swap button feel more responsive. But I'll consider re-adding it, when I go back to playing and modding Minecraft.

Managed to figure out a good solution - spyglass is used immediately on client, but it only tells the server about it after a delay. This way it both feels snappy, and doesn't cause a boken animation.


Automatic updates for mac?

Would anyone care to explain how to make automatic updates for mac work? All information I can find is some theoretical blabla and some websites pointing at each other for more info. Nowhere any actual begin to end no-skipping-steps explanation with examples can be found (so frustrating). If I'm wrong please let me know.
I know I have to do something with auto-updater and Squirrel.mac, and npm? I did manage to make automatic updates work for Windows though, and I'd like to make it work similarly for mac.

For a real-world example, you can check how Atom uses it:
https://github.com/atom/atom/blob/master/src/browser/auto-update-manager.coffee
If you still have more questions, I suggest seeking help from the community


type mismatch when building wezterm on Raspberry 4 under Manjaro 64bit

The build of current wezterm (last time pulled from github 14.11.2021) fails due to a couple of type mismatches between
uint and in. Full build log attached.
weztermbuild.log

I believe that 2451df3 resolves this; wezterm nightly builds should pick this up within about 30 minutes

Compiles now on my Raspberry 4 / Manjaro 64bit.
On 11/14 02:46, Wez Furlong wrote:

I believe that 2451df3 resolves this; wezterm nightly builds should pick this up within about 30 minutes
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/wez/libssh-rs/issues/2#issuecomment-968378810


Move method generation to class level

Instead of generating methods in the __init__() of the class instances, generate them as class modifications immediately after the class definition. This allows better introspection and type checking.

In the interactive REPL, typing pydot.Node.<tab> will show all of the generated attribute setters and getters.
Code editors will similarly display valid completions on strings such as pydot.Node.set_ or pydot.Dot.write_.
Mypy's stubgen or pyright --createstub can generate type stubs that include the generated methods, with the correct commandline flags applied.

CI failure is an apparently-spurious layout issue in one of the macOS runners, #319 disables that test on macOS in addition to Windows.

Huh. And I just discovered that eerily-similar changes are also part of @peternowee's PR #242, tho that's unmerged after more than three years so I think calling it "stalled" would be an understatement. Perhaps making the changes in smaller increments, like with this PR, will help shepherd them through the review process.


Separate out HTML

I'm learning web development and I use your tool all the time. It's really helpful to me. One feature that would be nice would be to, in addition to extracting css from html, also be able to save the html with the styles removed. Probably not a simple feature to add, but it would certainly be useful (to me, at least).
Rob

how could i replace inline styles with the CSS file extract from the html


can't create static ipsets when starting befw-firewalld

Hi there,
I'm playing with your tool and while running through the demo I receive following error. Could you please help me with that?
agorovoy@net-hbfw01:~/go/src/github.com/wgnet/befw/demo$  befw-firewalld -noroot -debug -config befw.conf
2020/12/28 13:14:30 Opening queue
2020/12/28 13:14:30 Unbinding to selected family
2020/12/28 13:14:30 nflog_unbind_pf failed
2020/12/28 13:14:30 Binding to selected family
2020/12/28 13:14:30 Creating queue
2020/12/28 13:14:30 nflog_bind_group failed
NFLogger started, you can get information from /var/run/befw/*
[API]: Can't run local socket:  listen unix /var/run/befw/api.sock: bind: address already in use
[Consist] can't create static ipsets
[Rules] IPSet refresh error:
-------
create rules_allow hash:net
create tmp-wODtb1Rj7sOBmGq0NRTr134JX hash:net
flush tmp-wODtb1Rj7sOBmGq0NRTr134JX
swap tmp-wODtb1Rj7sOBmGq0NRTr134JX rules_allow
destroy tmp-wODtb1Rj7sOBmGq0NRTr134JX

-------
Error while creating ipset rules_allow
Can't apply state:
Error while refresh():  ; sleeping for  40  seconds
^C2020/12/28 13:14:38 Closing queue

Sure. You're running it with insufficient privileges. Any ipset stuff requires either root or net_admin cap.

Hey, thanks for prompt reply! but I can't run it with sudo
agorovoy@net-hbfw01:~/go/src/github.com/wgnet/befw/demo$ sudo befw-firewalld -debug -config befw.conf sudo: befw-firewalld: command not found
sorry if that looks stupid..

I also get this:
agorovoy@net-hbfw01:~/go/src/github.com/wgnet/befw/demo$ sudo systemctl status befw-firewalld.service
● befw-firewalld.service - Backend Firewall Service
   Loaded: loaded (/usr/lib/systemd/system/befw-firewalld.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2020-12-28 15:34:50 MSK; 1s ago
  Process: 2043 ExecStart=/usr/bin/befw-firewalld (code=exited, status=203/EXEC)
 Main PID: 2043 (code=exited, status=203/EXEC)

Dec 28 15:34:50 net-hbfw01 systemd[1]: befw-firewalld.service: Main process exited, code=exited, status=203/EXEC
Dec 28 15:34:50 net-hbfw01 systemd[1]: befw-firewalld.service: Failed with result 'exit-code'.
Dec 28 15:34:50 net-hbfw01 systemd[1]: befw-firewalld.service: Service hold-off time over, scheduling restart.
Dec 28 15:34:50 net-hbfw01 systemd[1]: befw-firewalld.service: Scheduled restart job, restart counter is at 5.
Dec 28 15:34:50 net-hbfw01 systemd[1]: Stopped Backend Firewall Service.
Dec 28 15:34:50 net-hbfw01 systemd[1]: befw-firewalld.service: Start request repeated too quickly.
Dec 28 15:34:50 net-hbfw01 systemd[1]: befw-firewalld.service: Failed with result 'exit-code'.
Dec 28 15:34:50 net-hbfw01 systemd[1]: Failed to start Backend Firewall Service.

It's a question of your PATH environment settings.

I guess I've managed to start with sufficient privillege but the error is the same
`agorovoy@net-hbfw01:~/go/src/github.com/wgnet/befw/demo$ sudo -E env "PATH=$PATH" befw-firewalld -debug -config befw.conf
2020/12/28 15:55:03 Opening queue
2020/12/28 15:55:03 Unbinding to selected family
2020/12/28 15:55:03 Binding to selected family
2020/12/28 15:55:03 Creating queue
NFLogger started, you can get information from /var/run/befw/*
2020/12/28 15:55:03 Try Run
[Consist] can't create static ipsets
[Rules] IPSet refresh error:
create rules_allow hash:net
create tmp-wODtb1Rj7sOBmGq0NRTr134JX hash:net
flush tmp-wODtb1Rj7sOBmGq0NRTr134JX
swap tmp-wODtb1Rj7sOBmGq0NRTr134JX rules_allow
destroy tmp-wODtb1Rj7sOBmGq0NRTr134JX

Error while creating ipset rules_allow
Can't apply state:
Error while refresh():  ; sleeping for  40  seconds
[Consist] can't create static ipsets
[Rules] IPSet refresh error:
`

Do you have ipset & iptables binaries in your path?
try sudo ipset list

this looks fine
agorovoy@net-hbfw01:~/go/src/github.com/wgnet/befw/demo$ env | grep "PATH"
GOPATH=/home/agorovoy/go
MANPATH=:/opt/puppetlabs/puppet/share/man
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin:/usr/local/go/bin:/home/agorovoy/go/bin
agorovoy@net-hbfw01:~/go/src/github.com/wgnet/befw/demo$ sudo ipset list
agorovoy@net-hbfw01:~/go/src/github.com/wgnet/befw/demo$

I've reinstalled everything under root user, but still got the same issue. Although I can create ipset manually, this does not help. Would be grateful for any thoughts here.
root@net-hbfw01:~/go/src/github.com/wgnet/befw/demo# /root/go/bin/befw-firewalld -debug -config befw.conf
2020/12/28 18:19:47 Opening queue
2020/12/28 18:19:47 Unbinding to selected family
2020/12/28 18:19:47 Binding to selected family
2020/12/28 18:19:47 Creating queue
[ INFO ] [befw-firewalld/befw-firewalld.go:53] NFLogger started, you can get information from /var/run/befw/*
[ WARN ] 2020/12/28 18:19:47 Try Run
[rules.go:318] [Consist] can't create static ipsets
[ WARN ] [rules.go:230] [Rules] IPSet refresh error:
[ DEBUG ] [rules.go:231] create rules_allow hash:net
create tmp-wODtb1Rj7sOBmGq0NRTr134JX hash:net
flush tmp-wODtb1Rj7sOBmGq0NRTr134JX
swap tmp-wODtb1Rj7sOBmGq0NRTr134JX rules_allow
destroy tmp-wODtb1Rj7sOBmGq0NRTr134JX

[ WARN ] [state.go:269] Error while creating ipsetrules_allow
[ WARN ] [state.go:312] Can't apply state:
[ WARN ] [run.go:53] Error while refresh():; sleeping for 40 seconds

root@net-hbfw01:~/go/src/github.com/wgnet/befw/demo# ipset list
root@net-hbfw01:~/go/src/github.com/wgnet/befw/demo#
root@net-hbfw01:~/go/src/github.com/wgnet/befw/demo# ipset create rules_allow hash:net
root@net-hbfw01:~/go/src/github.com/wgnet/befw/demo# ipset list
Name: rules_allow
Type: hash:net
Revision: 6
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 344
References: 0
Number of entries: 0
Members:

check if ipset is present at /usr/sbin/ipset. if not, create a symlink there.
I'll fix that later.

hey, mate, that workaround worked out! Similar issue with iptables-restore. Keep in mind
agorovoy@net-hbfw01:/usr/sbin$ ll | grep iptables-restore
lrwxrwxrwx  1 root root      22 Dec 28 20:52 iptables-restore -> /sbin/iptables-restore*

Fixed in ed4fcf03cb40a4ff83386357b172fcd6e228d178

Fixed in ed4fcf03cb40a4ff83386357b172fcd6e228d178


Cannot download the Skeletics 152 Dataset

Hi,
I am unable to download the Skeletics 15 dataset since it would interrupt after I download only about 10 Gb. So I wonder if there is an alternative link that I can try to download the dataset.
Best

@canbaoburen Thank you for showing interest in our work!
We have checked the link to the Skeletics-152 dataset on Zenodo ( https://zenodo.org/record/4515787 ) and it is working fine.
Unfortunately, there is no alternative link available as of now. Kindly check the network connection on your side and retry.


No option to remove flash icon

Using the latest version (5.5.1).
There are many flags to customize how this component works but found no flag to remove the flash toggle icon from the UI. Wouldn't it make sense to have that as well?
(possibly with another flag to force turn on the flash by default)

There are currently no plans to add this, but if you'd like to submit a PR to https://github.com/card-io/card.io-Android-source we can review and merge it.


Does hypercore support immutable drives?

BitTorrent torrents are immutable. It would be nice if hypercore had similar functionality, to support similar use cases.

Yep, the authentication is actually pluggable so implicitly already supported, but will make it clearer in the readme

Nice! What's the DHT key for an immutable drive? Just a hash of the content?

Hash of a hash of the content so you still have the capability


Re-organize the package structure

Following some team discussions, the packages are re-organized as such :

application contains the Facades and services, and our business logic;
infrastructure.persistence contains some abstraction for our store and auth backends;
state contains all the stateful composables, viewmodels and the HomeActivity; and
ui contains all the stateless composables.

Note : the diff indicates that more lines were deleted than inserted, because I removed the example unit and instrumented tests.


Enable Heroku Deployment

This pull-request will make it easier for people to use the software, since they don't have to care about installation anymore.
A simple click on the "Deploy to Heroku" Button and entering some info will give them an up and running netbox installation hosted on Heroku.
PS: my commits usually follow https://gitmoji.carloscuesta.me/

Thank you for the work, however I'm not a fan of storing metadata for third parties in the NetBox repository. I'd be happy to add a link to the README but the code itself will need to live elsewhere.

Ok, i'll submit a pull-request for the Readme


update : modify project structure

This was done to enable a smooth CI build process for future pull requests

Please note this PR was created to resolve project structure and set up CI-based workflow so that checks can be put in place before merging a PR to the main branch such as running a unit test or sonarCloud scan to check on coverage and overall quality of new code . Therefore, this forced merge is appropriate and can only be done once and only by the owner of the repo.


Modal Dialog - Cancel Dialog / Close Dialog Event

Hey folks,
I'm currently using the Material Theme with a dropdown menu, which opens a modal by defined dynamic action.
My modal has a close and a cancel button, but the Dialog Close event is not triggered. How can I achieve this. I want a region to be updated on "close" and I want no action to be triggered on "Cancel".
Thanks in advance,
Oliver

Any idea how to solve this issue?

Hi, we need more info. Show the js code that open a modal. What is the type of modal(on same page or another)? Do you trigger "Dialog close" event, where you listen to it?

@oliver-tr are you talking about a modal page or a modal region?

Talking about a modal page... Thanks for your help!

@minia68 : I used a classic report shown as dropdown. I also modified the template for this - so each link had it's own id. I was using this to trigger a dynamic action. The dynamic action used another plugin (but I also tried it with a link - generated with APEX_UTIL.PREPARE_URL(...)) to open a dialog.
WIthin this I used the id of the link as triggering element and the close dialog action used the same. Attached a few screenshots... And yes - the modal page is a seperate page NOT a region.
This is the dropdown menu with the id "myid1":

My attached dynamic action:

The Open Dialog plugin with the triggering element:

The modal with the defined actions:

The Close Dialog action with the triggering element:

The defined action behind "Dialog Closed"

And the actual output - there is no console output of the defined action:

@minia68 @vincentmorneau Just let me know, if you need further information on this topic... Or could you setup a sample application on some apex workspace?

You should listen to "Close dialog" event in parent page(Main page).

That"s what I do.

In two last screens "Dialog Closed" event on Test modal page (which is modal page?). On Main page from first screen threre is no "Dialog Closed" event

I changed this - it"s working in the sample page. Let me have a look at my real application.

@minia68 @vincentmorneau It's not working in my real life application - even though I re-checked everything again. Attached the pictures.
Could it be because I'm using a select inside the modal? ...And this select triggers also something...

And the console output:

Thanks in advance guys!!!

The sample triggers:

The real app does not trigger - I renamed everything, but no success:

I see that Material APEX still registers the dialogclose event from your debug log.
Can you try this:
	$(document).on("dialogclose", function (event, object) {
		console.log(event, object);
                 // do something
	});


Add Black formatter line length to pyproject.toml

Added via https://github.com/senzing-garage/template-python/pull/181


Publish new npm modules to correct dev dependencies for vscode

The dev dependency for vscode should be ^0.11.x not ^0.2.0. For extensions this is not an issue because on npm install only dependencies are taken into consideration. This is only affecting people doing dev work on the language server/client bits

Done with 1.4.0


Np 6712/validation to the phone number

preSet required for https://nanopay.atlassian.net/browse/NP-6712

messed up with foam3 repo


[WFCORE-3577] Add support for coloured output to CLI

Issue: https://issues.jboss.org/browse/WFCORE-3577
Analysis document: https://github.com/wildfly/wildfly-proposals/pull/33
EAP feature: https://issues.jboss.org/browse/EAP7-924

Core - Full Integration Build 7187 outcome was UNKNOWN using a merge of c3786b228dadf303f760acf00e1b6190c380b2fb
Summary: Canceled (Error while applying patch; cannot find commit 62da360b79741823a2fa0f665cd0767e7b01ea83 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3232/merge branch was updated and the commit selected for the ... Build time: 00:00:19

The Windows failure doesn't seem related to this PR

OK, to avoid pushing a new branch and trigger a new CI run, I will wait for a couple more issues to pile up.

Core - Full Integration Build 7239 outcome was UNKNOWN using a merge of 9a032a80aff84688d107d481bd77ee87f8f17180
Summary: Canceled (Error while applying patch; cannot find commit 58cc3402b53ba46a66c214faf510c80be2d9a080 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3232/merge branch was updated and the commit selected for the ... Build time: 00:00:14

Core - Full Integration Build 7252 outcome was UNKNOWN using a merge of a570eae503b6880e49a63ec9ff38c48cd591b1c8
Summary: Canceled (Error while applying patch; cannot find commit e5fe2fc01f6fc1ab53eb5f96dcba9cf2a6cbe859 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3232/merge branch was updated and the commit selected for the ... Build time: 00:00:09

Core - Full Integration Build 7257 outcome was UNKNOWN using a merge of dc18e8fb72838d03672e99fe23ce5e0b349d115a
Summary: Canceled (Error while applying patch; cannot find commit add6f377237045fb40760169886aeb0cdb9a684a in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3232/merge branch was updated and the commit selected for the ... Build time: 00:00:13

Core - Full Integration Build 7263 outcome was UNKNOWN using a merge of 4de53e98b415669dbc5623fe0a0eb0724777f1b8
Summary: Canceled (Error while applying patch; cannot find commit 6b916ab4563bbd8a0b1038af974b183bbfb3d6af in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3232/merge branch was updated and the commit selected for the ... Build time: 00:00:14

Core - Full Integration Build 7275 outcome was UNKNOWN using a merge of 3f59443d3689d1382e872207ce979da51cd68dbc
Summary: Canceled (Error while applying patch; cannot find commit f5d9c76181969832200db6b603d2cc7091a20601 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3232/merge branch was updated and the commit selected for the ... Build time: 00:00:12

Core - Full Integration Build 7277 outcome was FAILURE using a merge of da8eea0980ffacc4dc1fbd9258928c7a3ba50ea4
Summary: Execution timeout (new); tests passed: 4257, ignored: 139 Build time: 02:31:34

Core - Full Integration Build 7281 outcome was UNKNOWN using a merge of 71bcc614c9c86db5bdb96a44f289b86b884b20a2
Summary: Canceled (Error while applying patch; cannot find commit 7be48937131675166a5b57f8c4009984f0f09b5c in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3232/merge branch was updated and the commit selected for the ... Build time: 00:00:13

retest this please

I retested this PR as there were issues to start the CI jobs.
@wildfly/mergers-core This feature has all the requirements to be merged once the CI is green.

The failures seem related to this PR.

retest this please

I've just filled one more issue - https://issues.jboss.org/browse/WFWIP-35

Core - Full Integration Build 7319 outcome was UNKNOWN using a merge of b40cb0067ca7742a90a417fa05b988a978ae65cc
Summary: Canceled (Error while applying patch; cannot find commit 56dae9fa5564169bdd126776495297ccacff3252 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3232/merge branch was updated and the commit selected for the ... Build time: 00:00:15

This report seems wrong. When I asked for a retest, these were the CI runs associated to it:
Windows (Pull Request) - merge
Linux JDK9 (Pull Request) - merge
Linux (Pull Request) - merge
Full integration - Windows
Full integration - Linux
Only the "Full integration - Windows" run failed due to lack of disk space:
Java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException:
java.nio.file.FileSystemException: M:\buildAgent\work\37b47ae8b9c60325\full\testsuite\mixed-domain\target\test-classes\copied-master-config\domain.xml -> M:\buildAgent\work\37b47ae8b9c60325\full\testsuite\mixed-domain\target\domains\MixedDomain710TestSuite\master\configuration\testing-domain.xml:
There is not enough space on the disk.

The failing test failed due to a lack of disk space

@wildfly/mergers-core, tests are green, WFWIP issues have been fixed. This one is good to go for WF13.

I triggered Wildfly core full test suite + internal scripts test suite, they are still running. I would like to wait until they finish. I will let you know.

The tests passed. I also agree that this one is good to go for WF13.

Nice, thanks Ingo!


hugeCTR train performance question

I watched Zehuan Wang's share "HugeCTR - 端到端点击率预估训练解决方案介绍",
in this ppt, at the "PERFORMANCE" slide,  use the 8-GPU performance is only 17.8ms per iter.
only 17.8ms per iter is too fast, Is this some error?

17.8ms is the real performance, please be free to benchmark directly on HugeCTR. We support benchmark tool here.
https://github.com/NVIDIA/HugeCTR#benchmark


camera.constrainedAxis not work?

I have set the camera.constrainedAxis as Cesium.Cartesian3.UNIT_Z, but when I rotate the global, I can rotate it any axis. How can I fixed the camera axis  when I rotate the global? thanks

Hey @wangtun, please ask questions over at the Cesium Forum. Cesium's a big project, so we use GitHub for feature requests and bug tracking exclusively. Thanks!


INIT=0 of MG=parms for male found in control.ss of simple_small in r4ss

I  am curios on the MG_parms parameter set up for male of simple_small model included recently in r4ss .   MG_parms section of control file for simple_small model sets those for male as
# Sex: 2  BioPattern: 1  NatMort
 -3 3 0 0 99 0 -3 0 0 0 0 0 0 0 # NatM_uniform_Mal_GP_1
# Sex: 2  BioPattern: 1  Growth
 -3 3 0 0 99 0 -3 0 0 0 0 0 0 0 # L_at_Amin_Mal_GP_1
 -3 3 0 0 99 0 -3 0 0 0 0 0 0 0 # L_at_Amax_Mal_GP_1
 -3 3 0 0 99 0 -3 0 0 0 0 0 0 0 # VonBert_K_Mal_GP_1
 -3 3 0 0 99 0 -3 0 0 0 0 0 0 0 # CV_young_Mal_GP_1
 -3 3 0 0 99 0 -3 0 0 0 0 0 0 0 # CV_old_Mal_GP_1

So INIT (3rd colums) of NatM, L@Amin, L@Amax, VBk, CV_young and CV_old of male are 0.
In p109 of the user manual of 3.30.19, effects of INIT=0 for male Lmin, Lmax and VBK is described. But rest of them didnot mention so.
I am wondering, which male MG_parms are subject to INIT=0.
Thanks in advance

Thanks @yukio-takeuchi for the inquiry. The simple_small model uses offset option of 1
1 #_parameter_offset_approach for M, G, CV_G: ...

(link to previous line of code)
Thus, male parameters are set equal to female parameters if INIT = 0 and the phase is negative. It is my understanding that this is true for the natural mortality and growth parameters. The manual lists all parameters for which this type of offset works here.
You can go to MGparm_By_Year_after_adjustments report:7 of the Report.sso file to see what the resulting parameter values are for both males and females.
One thing that might be confusing is that this model does not use INIT = 0 for Wtlen_1_Mal_GP_1 and Wtlen_2_Mal_GP_1, instead INITs are the same as the female parameters (which means they start estimation at the same place) even though the phase is negative. All that means here is that you could change the female INIT values and only the female parameters would change. You would have to change both the female and male INITs for these weight-length relationship parameters to make them match. I tested out using INIT 0 for the male wtlen parameters and the female parameters are NOT carried forward for these 2 male parameters using this approach, which is why @iantaylor-NOAA used actual values in both male and female INITs even though the phase is negative.
Please let me know if you have any additional questions. More information about offsets can be found in the manual in the offset section of the manual.

We are working now on editing that section of the manual.
I am surprised that the male=0 approach did not work for the wtlen parameters.  The loop in which this occurs covers all MGparms

I was surprised too wrt it not working for the wtlen parameters. But, comments in the SS3 code here
https://github.com/nmfs-stock-synthesis/stock-synthesis/blob/844f5de2b4b222f18fbadb9b93625ed91b7a2958/SS_readcontrol_330.tpl#L1562
suggest that this is the intended behavior.

Right!
That's what lets lines 40-47 of SS_biofxn do the female to male assignment by using the MGparm_offset created in readcontrol.

Thanks @kellijohnson-NOAA and @Rick-Methot-NOAA,
I missed the foot note @kellijohnson-NOAA pointed out.
I have one follow up question on CV_young and CV_old.
In lines 140-159 of SS_biofxn.tpl seems that, if INIT of  CV_young (or CV_old) of a growth pattern is less than or equal to 0, corresponding INIT of  CV_young (or CV_old) of 1st growth pattern is substituted.
WRT CVs, these assignments are also happening?

Yukio,
Sorry that this final response got overlooked.  I do not think I understand the question.  The section of code you reference is where the two CV parameters (CVLmin and CVLmax) are first assigned a value.  If the value being read is not positive, then the value for gp=1  is used.


Bandit code description

Summary
On the original commit  353634f was describe the rules as following:
IDs break down as follows:
 - B1xx - misc tests
 - B2xx - application/framework miss-configuration
 - B3xx - blacklists (calls)
 - B4xx - blacklists (imports)
 - B5xx - cryptography
 - B6xx - injection
 - B7xx - XSS

I think this could be in written on the README file.
Also I think could be usesful create a CVE for known "CVE cases".
What do you thinkg about it?

The docs already describe the Bandit ID codes that map to various plugin groupings here: https://bandit.readthedocs.io/en/latest/plugins/index.html#plugin-id-groupings


Allow the user to choose the default Activity Bar view

I use Workspace Explorer (the extension) to switch between workspaces. Right now, when I switch workspaces or open one in a new window, it starts with the Explorer view active in the "Primary Side Bar". Since I use the "Go to File..." command to interact with files, I don't get much use out of hte Explorer view. And since most of my workspaces are for git repositories, I'd prefer if workspaces started with the Source Control view active. That would save me the step of manually opening the SCM view every time I switch workspaces, which is slow when a workspace is initially loading. And I guess it might generally load faster since it wouldn't need to load the whole file manager.
But I'm sure some users would prefer to keep Explorer as the default view, or some other view. So it'd be ideal if you could just right-click a view and "Set as Default View" or something like that.
Thank you!

This happens when you open the workspace for the first time. After that you can switch to SCM view and it is remembered.

Where would it be remembered? The workspace file doesn't contain any reference to a preferred view. For my part, I have a dozen workspaces, several of which I've used for years, and I switch between them on a daily basis. And every time, it opens the Explorer view.
I just tested right now to confirm, and it opens the Explorer view whether I use Workspace Explorer extension or the workbench.action.openWorkspace command. I also tried opening the SCM view and manually saving the workspace. When the workspace is opened, it does not restore the SCM view.
I'll also add that it doesn't restore the SCM view if I leave the workspace open but quit vscode and restart. It's set up to restore my previous windows, with window.restoreWindows=all, and it does correctly open the workspace and all the editors I had open. But it starts with the Explorer view active in all the restored windows, regardless of which view was active when I quit vscode.

Sorry, you are right. It is remembered only during reload. @bpasero Why is it not remembered on opening the workspace?

I can't recall the history here, but could this be done through an extension?  otherwise, a PR for a setting might be welcome (I'll leave that up to @bpasero and @sandy081).

Layout decide which view to be shown on open, hence assigning to @sbatten

@sandy081 I think remembering per workspace makes sense to me since we already do this on reload

If we added a "scope": "window" setting that controls which view container should be active in the Activity Bar when a workspace opens (default would be "explorer") and treat an explicit "" value as meaning "last active", users could decide whether they wanted a workspace to always start with a specific view container in the primary side bar (e.g. scm for #221928), or whichever was active when the workspace was closed, or explorer (the current behaviour).
Workspace storage would be used to implement the "last active" option.

I think having the option to either set a preferred view or remembering the last set view when this setting is empty would be a great new feature. In my case I would probably set it to the Source Control view.


Removed blueprint temporary fix for materialize.css that is no longer

needed with materialize.css 0.97.  Fixes issue #171

Thanks!


Remove property tserver.compaction.major.delay

The tserver no longer does compactions and those were removed in #3604, need to remove this property.

In general, are the properties (and metrics) that are being removed, are there equivalents in the new code?  We should look to provide a mapping from previous -> new so that users that may need these setting know how to map them to the new equivalent.
If it is a straight removal - then that should be noted too.
Maybe we start a section in the release notes that we update as we go along?  It may be easier than trying for identify or remember all of the changes at the end?

Closed by #3950


TOC slot for screwdriver

Given that screwdriver.cd is part of the CDF, they get a TOC slot (5/6 project slots will be filled at this point)

Seeking comment from Screwdriver team on who will be the TOC rep. also working towards #13 as related to this activity as well

Resolved


Listening to OF messages written to the switch e.g. outgoing messages

Hi folks,
in pre-1.0 versions of Floodlight it was possible for a module to listen to outgoing messages. Somehow the support for this got dropped in 1.0+. However remnants are still there, e.g. the function handleOutgoingMessage(IOFSwitch sw, OFMessage m) in IFloodlightProviderService. Is it planned to re-introduce this feature?
Currently we are working on a monitoring application to watch over incoming and outgoing OF traffic. I've re-implemented the pre-1.0 behaviour to some extend by rather crudely intercepting a OFMessage in the write() functions of OFSwitch. The only straightforward way to get the message from there to IFloodlightProvider is to provide a abstract function in the interface IOFSwitchManager.
Let me know what you think :)
Cheers,
Christian

Hi @oxisto ,
We pushed quickly to integrate OF1.3 support and it looks like this got lost in translation. It was not intentional.
As you figured out, outgoing messages are handled by the IOFSwitchService e.g. sw.write(some-OFMessage). The functionality you desire would need to be moved there, or even better, what about using the OFSwichManager (backend/implementer of IOFSwitchService)? There's a handleMessage function there around line 483 that allows the FloodlightProvider to dispatch the messages to listening modules. We would need to reference the IOFSwitchManager (included as a class variable already in OFSwitch), and then have a new function in the switch manager to handle the written message, which would then refer to the FloodlightProvider.
This would require intercepting the message in each write() function though, as you are doing now. But, I think putting the listener management in the FloodlightProvider would be better.
What are your thoughts?

Hi Ryan,
That is pretty close to how I imagined it and implemented it for myself. I have introduced a new function in IOFSwitchManager called handleOutgoingMessage() similar to the one in FloodlightProvider. I've called that function in all outgoing write()-Functions of OFSwitch.
You can have a look at the changes here: https://github.com/floodlight/floodlight/compare/master...oxisto:master (just ignore the maven and gitignore changes)
If you are interested, i can try to clean up the code a little bit and prepare a pull request.
Regards,
Christian

@oxisto
Hi Christian,
Sure, please clean up and issue a pull request. This will be a very useful (reintroduced) feature!
What you've done looks to be the cleanest way without significant changes. We arguably should refactor and include all message dispatching -- both OFMessages in and out -- in the switch manager. This would keep the composition of (via getOFFactory()), receiving of, and writing of OFMessages entirely within OFSwitch and OFSwitchManager. Reacting to and dispatching switch events is also housed here.
But, that will require more work than necessary, at least for the initial pull request. If it ain't broke, don't fix it...at least for the time being ;)
Thanks,
Ryan

@oxisto Let me know what I can do to help you out here. Thanks!

I'll prepare a pull request tomorrow!

@oxisto Thank you! =)

Merged


[Bug] make docker.all && make docker.push doesn't suitable for official release

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
I failed to run make docker.all && make docker.push according to release doc.
Successfully built 06b40b124396
Successfully tagged apache/oap:8.8.0
real    0m41.931s
user    0m0.133s
sys     0m0.273s
time (docker push apache/oap:8.8.0)
The push refers to repository [docker.io/apache/oap]
d85dbd332226: Preparing
19a181714558: Preparing
bb31b6a608c6: Preparing
c6a0b25f089f: Preparing
85fda5f3da3a: Preparing
87ec8db90003: Waiting
c728efb06d95: Waiting
fc6bae703383: Waiting
c8479b835fec: Waiting
9fbfbea66105: Waiting
e2eb06d8af82: Waiting
denied: requested access to the resource is denied
real    0m2.455s
user    0m0.032s
sys     0m0.014s
Makefile:87: recipe for target 'push.docker.oap' failed
make: *** [push.docker.oap] Error 1

The reason is the target repo incorrect. The push refers to repository [docker.io/apache/oap].
What you expected to happen
Let's keep the image names in GitHub(dev images) unchanged, but add one more command to release official version.
Recommend command

make docker.all && make docker.dockerhub.release

How to reproduce
Run The push refers to repository [docker.io/apache/oap] for a release version.(Only runnable for release manager)
Anything else
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

According to this, I will wait for a little longer to push 8.8.0 docker image.


Unable to print svg.

Bug reports:
this is codesandbox,unable to generate svg image.
description

please click Button.

If you make the following changes, it will work
row 18 html2canvas($(".visualization")[0],


Detect reindexed transactions out of order

Previously, if a transaction was reindexed after others were processed for a Safe, it could be processed out of order. So for example, if a Safe with nonce=10 was missing the transaction with nonce=5, current nonce for the Safe would be 9 and the transactions from 6 onwards will be corrupted, having an invalid nonce (this is a little different in L2 networks). Maybe with automatic reindexing the transaction with nonce 5 will appear but it will be processed as the transaction of nonce=10. With this approach all the status will be cleared so every transaction can be processed in order.

Also a flag was added to prevent checking non L2 Safes on L2 networks on check_index_problems

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

25 of 30 (83.33%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 87.818%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

safe_transaction_service/history/tasks.py
19
21
90.48%

safe_transaction_service/history/management/commands/check_index_problems.py
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

safe_transaction_service/history/management/commands/check_index_problems.py
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
5969

Relevant Lines:
6797

💛  - Coveralls


[SUB-TASK][KPIP-4] Use canonical host name for kyuubi instance

Why are the changes needed?

We have to use canonical host name as kyuubi instance, otherwise, the ip is always change after pod restart, and the kyuubi instance can not get recovered.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #2957 (59f3c0a) into master (6a9d5ff) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #2957      +/-   ##
============================================
- Coverage     62.88%   62.87%   -0.01%
  Complexity        6        6
============================================
  Files           418      418
  Lines         20252    20252
  Branches       2589     2589
============================================
- Hits          12736    12734       -2
- Misses         6282     6283       +1
- Partials       1234     1235       +1

Impacted Files
Coverage Δ

...ache/kyuubi/server/KyuubiRestFrontendService.scala
82.89% <100.00%> (ø)

...mon/src/main/scala/org/apache/kyuubi/Logging.scala
42.46% <0.00%> (-1.37%)
:arrow_down:

...ache/kyuubi/operation/KyuubiOperationManager.scala
80.82% <0.00%> (-1.37%)
:arrow_down:

.../org/apache/kyuubi/operation/KyuubiOperation.scala
68.00% <0.00%> (-1.34%)
:arrow_down:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
83.75% <0.00%> (+0.62%)
:arrow_up:

Continue to review full report at Codecov.

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

thanks @ulysses-you @pan3793 @zwangsheng @cxzl25
merging to master


Issue / Init Governance

Initialize and document our current governance model and improve it to welcome
non-contractors as well.
Tasks

[ ] ...

Additional Tasks

[ ] apply current model to administration scripts

[ ] mouseless/workreport
[ ] gcbrains/accounting

branch renamed, pre reopened @ #2


Add Token Based Support for BuildStream to REAPI servers

Currently REAPI clients such as Bazel support token based authenication to REAPI server implementations by passing this into authorisation headers that the server implementation then parses.
Adding this support to BuildStream would be very useful, which to the best of my knowledge only supports TLS certificate authentication currently.
A suggested sketch of things to add as part of this:

BuildStream backend implementation for passing authentication tokens to REAPI servers
Extending buildstream configuration for users to be able to pass authentication tokens.
Documentation of the above.

buildbox-casd already supports bearer authentication for remote servers, reading the access token from a file. However, it currently supports this only for remote servers configured on the command line, not with the dynamic configuration used by BuildStream.
Tentative list of tasks to address this issue:

buildbox-casd

Support dynamic remotes also for execution servers (requires small extension to the LocalCAS protocol)
Support access tokens (+ optional reload interval) for dynamic remotes (requires small extension to the LocalCAS protocol)
If netrc support is desired, also support access tokens sent as strings over the local protocol

BuildStream

Support configuring access tokens as paths (+ reload interval) in the auth dict of remotes (as alternative to client-key / client-cert) and pass that to buildbox-casd if specified
If netrc support is desired, add a configuration option to enable that, which then sends the password string from netrc to buildbox-casd instead of a path
Use buildbox-casd as proxy for all remote connections: At least remote execution currently doesn't use buildbox-casd as proxy

Support dynamic remotes also for execution servers (requires small extension to the LocalCAS protocol)

A draft MR for this is here https://gitlab.com/BuildGrid/buildbox/buildbox/-/merge_requests/605. The corresponding BuildStream change

Use buildbox-casd as proxy for all remote connections

is more involved.

Support access tokens (+ optional reload interval) for dynamic remotes (requires small extension to the LocalCAS protocol)

MR for this: https://gitlab.com/BuildGrid/buildbox/buildbox/-/merge_requests/616

Initial access token support has been merged in both buildbox-casd and BuildStream. The pending PR #1926 extends access token support also to remote execution.
This does not include netrc support but it's not clear to me whether we actually want that (as netrc is not actually designed for access tokens), so I think it's better to raise a follow-up issue if netrc support is needed.


How to use IPython-notebook-extensions

Hi.
Your heroku-jupyter is great!!. I love it.
However, I would like to use IPython-notebook-extensions on the heroku-jupyter.
ipython-contrib/IPython-notebook-extensions: Some extensions for Jupyter notebook
I think it makes heroku-jupyter better.
So, could you please add description about how to use IPython-notebook-extensions in README.md?
Thanks you.
Atsushi

Hi Atsushi,
sorry for late response and thanks for your feedback.
The notebook extensions look really great and I was able to test them locally. But I was not able to install the extension successfully inside heroku-jupyter.
I tried:

adding git+git://github.com/ipython-contrib/IPython-notebook-extensions.git to pip section in environment.yml
adding pip install git+git://github.com/ipython-contrib/IPython-notebook-extensions.git to start_jupyter
adding conda install -c jochym nbextensions=master to start_jupyter

Do you have an idea to get these installed?
Cheers,
Patrick

It' great!! Thanks you.


Drop support for Python 3.5

EOL Sept '20
I'm considering dropping support earlier due to low usage. The "Daily Download Proportions of websockets package - Python Minor" graph at https://pypistats.org/packages/websockets shows that Python 3.5 usage is around 4%.
If it goes below 2%, I'll seriously consider dropping Python 3.5. If it goes below 1%, I'll almost certainly do it.

Shouldn't it be "Drop support for Python <= 3.5"? It still works in 3.4. :slightly_smiling_face:
Anyhow, the only relevant usage of 3.4 I'm seeing is in Ubuntu 14.04 LTS which will be dead by Q2 2019. The same for 3.5 in Ubuntu 16.04 LTS which will likely be dead by Q2 2021. I might be wrong but I believe at least 16.04 LTS is still heavily used, so I would recommend against dropping support early.

I removed 3.4 a few minutes ago :-)

Not a big enough maintenance burden to justify removing it now :-)
It's a bit annoying because there were significant bugfixes / improvements in asyncio in 3.5.1 and again in 3.5.2. But we've worked around that with conditional code and it doesn't require much maintenance. The biggest problem is all the noise it adds to the documentation.


Bring provisioner and attacher controllers to latest version

Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

@Madhu-1 @nixpanic ptal.

AFAIK Old Snapshot won't work if you update the provision

hmmm.. CI should fail without delay then :(

AFAIK Old Snapshot won't work if you update the provision

hmmm.. CI should fail without delay then :(

In ci we have disabled snapshot testing. So it won't fail

AFAIK Old Snapshot won't work if you update the provision

hmmm.. CI should fail without delay then :(

In ci we have disabled snapshot testing. So it won't fail

Oh.. yeah..

@Madhu-1 removed the provisioner update in the PR. PTAL.

On Wed, Mar 18, 2020 at 02:43:46AM -0700, Madhu Rajanna wrote:

AFAIK Old Snapshot won't work if you update the provision

hmmm.. CI should fail without delay then :(

In ci we have disabled snapshot testing. So it won't fail

Is there an issue with the reason why it is disabled? If we want to
provide support for it, it is critical that automated tests are executed
regulary.

On Wed, Mar 18, 2020 at 02:43:46AM -0700, Madhu Rajanna wrote: > > AFAIK Old Snapshot won't work if you update the provision > > hmmm.. CI should fail without delay then :( In ci we have disabled snapshot testing. So it won't fail
Is there an issue with the reason why it is disabled? If we want to provide support for it, it is critical that automated tests are executed regulary.

we had faced some issue in Travis CI when operating on the snapshots, as I am working on the reimplementing the snapshots I will enable it again.

please update PR title and commit message

Done. PTAL @Madhu-1 @nixpanic


[Handles] Spike: Homoglyphs handling and name processing

Goals

[ ] Any standard, well vetted crates for homoglyphs or custom code using unicode normalization
[ ] Steps for name washing and cleaning (potentially some pseudo code)
[ ] Blocklisting and cannot contain the following substrings: @, #, :, ., ``` and we will expands this is v2
[ ] Make sure each option provides are url
[ ] ? define and explore unknowns (as the spike unfolds)

Output of the spike:

document options compare and contrast vetted crates

Time box:
2 days

We can use Unicode normalization (NKFD) (preferred) or Punycode.

https://unicode.org/faq/normalization.html

We need clarity around what we are trying to prevent AND how we will prevent it.
Let's say we have two user handles that are different except they are homoglyphs:
𝕊𝔸𝕄𝕄𝕐
SΑΜΜΥ
After the suffix is generated, if the suffix is the same, they remain homoglyphs.
𝕊𝔸𝕄𝕄𝕐-1234
SΑΜΜΥ-1234
However, if the suffix is different, you can distinguish one from the other so they are not strictly homoglyphs:
𝕊𝔸𝕄𝕄𝕐-1754
SΑΜΜΥ-5236

Are we trying to ensure that the handle is unique for the base+suffix or just the base?
How do we determine that a handle "looks like" another handle?  This is similar to comparing strings using a case-insensitive comparison algorithm or rather doing a query that is case-insensitive.  This may be difficult to accomplish in a blockchain.

For sure both
There where the question comes if a homoglyph detector can take the 𝕊𝔸𝕄𝕄𝕐-1234 and spit out SΑΜΜΥ-1234

But looking at two, I wonder we only case about homoglyph in ascii context ? When language is involved?

This is a problem because we would have to store a case/glyph-insensitive string (that we search against when determining availability/uniqueness) as well as the actual string (for display in the UI) which will take up more storage.  We may have to allow homoglyphs.

I think we would have to use two storages like @rlaferla outlined in order to be able to search for availability against a homoglyph cleaned string and still be able to display foreign language characters stored in original formatting.
We would probably want to prevent
John.1234
john.1234
From being two separate usernames as well

One possible solution:  We store the "normalized" string ASSUMING there is a way to convert back to the presentation string.

We convert the user's requested handle to NKFD and check it's availability.  If it's available, we store the NKFD form.  We just need to explain how to convert NKFD back to the original form for display/presentation.
From the Unicode spec:
Unicode NKFD is a normalization form that erases both canonical and compatibility differences, and produces a decomposed result: for example, the single ǆ character is converted to d + z + caron in this form.

We will move forward with a solution that takes a list of known confusable unicode characters that are converted into a BTreeMap constructor in Rust.
The BTreeMap will map each homoglyphic character (key) to its corresponding canonical form (value).
A function must then be written that takes in a string and replaces each homoglyphic characters(key) with its normalized counterpart (value) and returns a new string.
Then, we can determine if we should increase the size of the b tree to include handling diacriticals AND converting to lowercase from within the map OR if we should do some kind of post processing to handle lower case and diacriticals in a different way

use unicode_normalization::UnicodeNormalization;
fn strip_diacriticals(input: &str) -> String {
    input.nfd()
         .filter(|c| !c.is_mark())
         .collect()
}
fn main() {
    let input = "rësumé";
    let stripped = strip_diacriticals(input);
    println!("{}", stripped); // prints "resume"
}

from Robert ^
We should test removing diacryticals with the above snippet


Fix: Post request were done without Content-Type headers

It's the fix i done fixing issue  #40
It's tested on our server and was working, but beeing not a python dev, this might not be the good way to do it

Thank you for the fix